]> git.saurik.com Git - wxWidgets.git/blob - configure
apply SF patch 1252602 to remove warnings in bcc and watcom
[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.6.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.6.2'
274 PACKAGE_STRING='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG 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 dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN 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_SOVERCYGWIN_0_USE_SOVERSION_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_MSDOS_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_USE_XRC_1 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_SHARED_1_USE_XRC_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_SOVERCYGWIN_1_USE_SOVERSION_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_WINDOWS_IMPLIB_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.6.2 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.6.2:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --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-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Win32 only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects (Win32 only)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images (GIF file format)
1039 --enable-pcx use pcx images (PCX file format)
1040 --enable-iff use iff images (IFF file format)
1041 --enable-pnm use pnm images (PNM file format)
1042 --enable-xpm use xpm images (XPM file format)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets (win32 DLL only)
1045 --enable-vendor=VENDOR vendor name (win32 DLL only)
1046 --disable-largefile omit support for large files
1047 --disable-gtktest do not try to compile and run a test GTK+ program
1048 --disable-gtktest Do not try to compile and run a test GTK program
1049 --disable-sdltest Do not try to compile and run a test SDL program
1050 --enable-omf use OMF object format (OS/2)
1051 --disable-precomp-headers
1052 don't use precompiled headers even if compiler can
1053
1054 Optional Packages:
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1066 --with-x11 use X11
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1097 CPP C preprocessor
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1101
1102 Use these variables to override the choices made by `configure' or to help
1103 it to find libraries and programs with nonstandard names/locations.
1104
1105 Report bugs to <wx-dev@lists.wxwidgets.org>.
1106 _ACEOF
1107 fi
1108
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1111 ac_popdir=`pwd`
1112 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1113 test -d $ac_dir || continue
1114 ac_builddir=.
1115
1116 if test "$ac_dir" != .; then
1117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 else
1121 ac_dir_suffix= ac_top_builddir=
1122 fi
1123
1124 case $srcdir in
1125 .) # No --srcdir option. We are building in place.
1126 ac_srcdir=.
1127 if test -z "$ac_top_builddir"; then
1128 ac_top_srcdir=.
1129 else
1130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1131 fi ;;
1132 [\\/]* | ?:[\\/]* ) # Absolute path.
1133 ac_srcdir=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir=$srcdir ;;
1135 *) # Relative path.
1136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1138 esac
1139
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1142 case `pwd` in
1143 .) ac_abs_builddir="$ac_dir";;
1144 *)
1145 case "$ac_dir" in
1146 .) ac_abs_builddir=`pwd`;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1153 *)
1154 case ${ac_top_builddir}. in
1155 .) ac_abs_top_builddir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_srcdir=$ac_srcdir;;
1162 *)
1163 case $ac_srcdir in
1164 .) ac_abs_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1167 esac;;
1168 esac
1169 case $ac_abs_builddir in
1170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1171 *)
1172 case $ac_top_srcdir in
1173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1176 esac;;
1177 esac
1178
1179 cd $ac_dir
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu; then
1182 echo
1183 $SHELL $ac_srcdir/configure.gnu --help=recursive
1184 elif test -f $ac_srcdir/configure; then
1185 echo
1186 $SHELL $ac_srcdir/configure --help=recursive
1187 elif test -f $ac_srcdir/configure.ac ||
1188 test -f $ac_srcdir/configure.in; then
1189 echo
1190 $ac_configure --help
1191 else
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1193 fi
1194 cd "$ac_popdir"
1195 done
1196 fi
1197
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1200 cat <<\_ACEOF
1201 wxWidgets configure 2.6.2
1202 generated by GNU Autoconf 2.59
1203
1204 Copyright (C) 2003 Free Software Foundation, Inc.
1205 This configure script is free software; the Free Software Foundation
1206 gives unlimited permission to copy, distribute and modify it.
1207 _ACEOF
1208 exit 0
1209 fi
1210 exec 5>config.log
1211 cat >&5 <<_ACEOF
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1214
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1217
1218 $ $0 $@
1219
1220 _ACEOF
1221 {
1222 cat <<_ASUNAME
1223 ## --------- ##
1224 ## Platform. ##
1225 ## --------- ##
1226
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243
1244 _ASUNAME
1245
1246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1247 for as_dir in $PATH
1248 do
1249 IFS=$as_save_IFS
1250 test -z "$as_dir" && as_dir=.
1251 echo "PATH: $as_dir"
1252 done
1253
1254 } >&5
1255
1256 cat >&5 <<_ACEOF
1257
1258
1259 ## ----------- ##
1260 ## Core tests. ##
1261 ## ----------- ##
1262
1263 _ACEOF
1264
1265
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_configure_args=
1272 ac_configure_args0=
1273 ac_configure_args1=
1274 ac_sep=
1275 ac_must_keep_next=false
1276 for ac_pass in 1 2
1277 do
1278 for ac_arg
1279 do
1280 case $ac_arg in
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1284 continue ;;
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 esac
1288 case $ac_pass in
1289 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1290 2)
1291 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true; then
1293 ac_must_keep_next=false # Got value, back to normal.
1294 else
1295 case $ac_arg in
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1302 esac
1303 ;;
1304 -* ) ac_must_keep_next=true ;;
1305 esac
1306 fi
1307 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1309 ac_sep=" "
1310 ;;
1311 esac
1312 done
1313 done
1314 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1315 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1316
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1324 {
1325 echo
1326
1327 cat <<\_ASBOX
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1331 _ASBOX
1332 echo
1333 # The following way of writing the cache mishandles newlines in values,
1334 {
1335 (set) 2>&1 |
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1337 *ac_space=\ *)
1338 sed -n \
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 ;;
1342 *)
1343 sed -n \
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1345 ;;
1346 esac;
1347 }
1348 echo
1349
1350 cat <<\_ASBOX
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1354 _ASBOX
1355 echo
1356 for ac_var in $ac_subst_vars
1357 do
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1360 done | sort
1361 echo
1362
1363 if test -n "$ac_subst_files"; then
1364 cat <<\_ASBOX
1365 ## ------------- ##
1366 ## Output files. ##
1367 ## ------------- ##
1368 _ASBOX
1369 echo
1370 for ac_var in $ac_subst_files
1371 do
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1374 done | sort
1375 echo
1376 fi
1377
1378 if test -s confdefs.h; then
1379 cat <<\_ASBOX
1380 ## ----------- ##
1381 ## confdefs.h. ##
1382 ## ----------- ##
1383 _ASBOX
1384 echo
1385 sed "/^$/d" confdefs.h | sort
1386 echo
1387 fi
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1391 } >&5
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1394 exit $exit_status
1395 ' 0
1396 for ac_signal in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 done
1399 ac_signal=0
1400
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1404 echo >confdefs.h
1405
1406 # Predefined preprocessor variables.
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 _ACEOF
1421
1422
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 _ACEOF
1426
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 _ACEOF
1431
1432
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE; then
1437 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1438 else
1439 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1440 fi
1441 fi
1442 for ac_site_file in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1447 . "$ac_site_file"
1448 fi
1449 done
1450
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1457 case $cache_file in
1458 [\\/]* | ?:[\\/]* ) . $cache_file;;
1459 *) . ./$cache_file;;
1460 esac
1461 fi
1462 else
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1465 >$cache_file
1466 fi
1467
1468 # Check that the precious variables saved in the cache have kept the same
1469 # value.
1470 ac_cache_corrupted=false
1471 for ac_var in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1474 eval ac_new_set=\$ac_env_${ac_var}_set
1475 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1478 set,)
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted=: ;;
1482 ,set)
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted=: ;;
1486 ,);;
1487 *)
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted=:
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1509 fi
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1517 fi
1518
1519 ac_ext=c
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1552
1553
1554 ac_aux_dir=
1555 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1556 if test -f $ac_dir/install-sh; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/install-sh -c"
1559 break
1560 elif test -f $ac_dir/install.sh; then
1561 ac_aux_dir=$ac_dir
1562 ac_install_sh="$ac_aux_dir/install.sh -c"
1563 break
1564 elif test -f $ac_dir/shtool; then
1565 ac_aux_dir=$ac_dir
1566 ac_install_sh="$ac_aux_dir/shtool install -c"
1567 break
1568 fi
1569 done
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1574 fi
1575 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4 >/dev/null 2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590 ac_cv_build_alias=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1601
1602 fi
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1605 build=$ac_cv_build
1606 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
1610
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 ac_cv_host_alias=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias=$ac_cv_build_alias
1619 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1623
1624 fi
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1627 host=$ac_cv_host
1628 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631
1632
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 else
1638 ac_cv_target_alias=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias=$ac_cv_host_alias
1641 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1645
1646 fi
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target=$ac_cv_target
1650 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1653
1654
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1659 NONENONEs,x,x, &&
1660 program_prefix=${target_alias}-
1661
1662
1663
1664 wx_major_version_number=2
1665 wx_minor_version_number=6
1666 wx_release_number=2
1667 wx_subrelease_number=1
1668
1669 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1670 WX_VERSION=$WX_RELEASE.$wx_release_number
1671 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1672
1673 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1674
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 DEFAULT_STD_FLAG=yes
1728
1729 case "${host}" in
1730 *-hp-hpux* )
1731 USE_HPUX=1
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 SO_SUFFIX=sl
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __HPUX__ 1
1737 _ACEOF
1738
1739 ;;
1740 *-*-linux* )
1741 USE_LINUX=1
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __LINUX__ 1
1744 _ACEOF
1745
1746 TMP=`uname -m`
1747 if test "x$TMP" = "xalpha"; then
1748 USE_ALPHA=1
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __ALPHA__ 1
1751 _ACEOF
1752
1753 fi
1754 DEFAULT_DEFAULT_wxUSE_GTK=1
1755 ;;
1756 *-*-gnu* | *-*-k*bsd*-gnu )
1757 USE_GNU=1
1758 TMP=`uname -m`
1759 if test "x$TMP" = "xalpha"; then
1760 USE_ALPHA=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __ALPHA__ 1
1763 _ACEOF
1764
1765 fi
1766 DEFAULT_DEFAULT_wxUSE_GTK=1
1767 ;;
1768 *-*-irix5* | *-*-irix6* )
1769 USE_SGI=1
1770 USE_SVR4=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __SGI__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __SVR4__ 1
1777 _ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1780 ;;
1781 *-*-solaris2* )
1782 USE_SUN=1
1783 USE_SOLARIS=1
1784 USE_SVR4=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SUN__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SOLARIS__ 1
1791 _ACEOF
1792
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SVR4__ 1
1795 _ACEOF
1796
1797 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1799 ;;
1800 *-*-sunos4* )
1801 USE_SUN=1
1802 USE_SUNOS=1
1803 USE_BSD=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __SUN__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __SUNOS__ 1
1810 _ACEOF
1811
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __BSD__ 1
1814 _ACEOF
1815
1816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1817 ;;
1818 *-*-freebsd*)
1819 USE_BSD=1
1820 USE_FREEBSD=1
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __FREEBSD__ 1
1823 _ACEOF
1824
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __BSD__ 1
1827 _ACEOF
1828
1829 DEFAULT_DEFAULT_wxUSE_GTK=1
1830 ;;
1831 *-*-openbsd*)
1832 USE_BSD=1
1833 USE_OPENBSD=1
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __OPENBSD__ 1
1836 _ACEOF
1837
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __BSD__ 1
1840 _ACEOF
1841
1842 DEFAULT_DEFAULT_wxUSE_GTK=1
1843 ;;
1844 *-*-netbsd*)
1845 USE_BSD=1
1846 USE_NETBSD=1
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __NETBSD__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __BSD__ 1
1853 _ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_GTK=1
1856 ;;
1857 *-*-osf* )
1858 USE_ALPHA=1
1859 USE_OSF=1
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __ALPHA__ 1
1862 _ACEOF
1863
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __OSF__ 1
1866 _ACEOF
1867
1868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1870 ;;
1871 *-*-dgux5* )
1872 USE_ALPHA=1
1873 USE_SVR4=1
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __ALPHA__ 1
1876 _ACEOF
1877
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __SVR4__ 1
1880 _ACEOF
1881
1882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1883 ;;
1884 *-*-sysv5* )
1885 USE_SYSV=1
1886 USE_SVR4=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __SYSV__ 1
1889 _ACEOF
1890
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __SVR4__ 1
1893 _ACEOF
1894
1895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1896 ;;
1897 *-*-aix* )
1898 USE_AIX=1
1899 USE_SYSV=1
1900 USE_SVR4=1
1901 SO_SUFFIX=a
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __AIX__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SYSV__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SVR4__ 1
1912 _ACEOF
1913
1914 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1915 ;;
1916
1917 *-*-*UnixWare*)
1918 USE_SYSV=1
1919 USE_SVR4=1
1920 USE_UNIXWARE=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __UNIXWARE__ 1
1923 _ACEOF
1924
1925 ;;
1926
1927 *-*-cygwin* | *-*-mingw32* )
1928 SO_SUFFIX=dll
1929 PROGRAM_EXT=".exe"
1930 RESCOMP=windres
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1932 DEFAULT_STD_FLAG=no
1933 ;;
1934
1935 *-pc-msdosdjgpp )
1936 USE_UNIX=0
1937 USE_DOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __DOS__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1944 ;;
1945
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __EMX__ 1
1949 _ACEOF
1950
1951 USE_OS2=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __OS2__ 1
1954 _ACEOF
1955
1956 PROGRAM_EXT=".exe"
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1958 CXX=gcc
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1962 ac_save_IFS="$IFS"
1963 IFS='\\'
1964 ac_TEMP_PATH=
1965 for ac_dir in $PATH; do
1966 IFS=$ac_save_IFS
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1969 else
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1971 fi
1972 done
1973 export PATH="$ac_TEMP_PATH"
1974 unset ac_TEMP_PATH
1975 DEFAULT_STD_FLAG=no
1976 ;;
1977
1978 powerpc-*-darwin* )
1979 USE_BSD=1
1980 USE_DARWIN=1
1981 SO_SUFFIX=dylib
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __BSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1995 DEFAULT_STD_FLAG=no
1996 ;;
1997 powerpc-apple-macos* )
1998 USE_UNIX=0
1999 ac_cv_c_bigendian=yes
2000 SO_SUFFIX=shlib
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2002 DEFAULT_STD_FLAG=no
2003 ;;
2004
2005 *-*-beos* )
2006 USE_BEOS=1
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __BEOS__ 1
2009 _ACEOF
2010
2011 ;;
2012
2013 *)
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2017 esac
2018
2019
2020
2021
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2027
2028
2029 DEBUG_CONFIGURE=0
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2033
2034 DEFAULT_wxUSE_NANOX=no
2035
2036 DEFAULT_wxUSE_THREADS=yes
2037
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2053
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2059
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2062
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2076
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2107
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2111
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2118
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2123
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2139
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2154
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2167
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2209
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2213
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2223
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2227 else
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2230
2231 DEFAULT_wxUSE_NANOX=no
2232
2233 DEFAULT_wxUSE_THREADS=yes
2234
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2250
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2256
2257 DEFAULT_wxUSE_GUI=yes
2258
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2272
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2303
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2307
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2314
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2319
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2335
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2350
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2363
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2405
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2409
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2419
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2423
2424 DEFAULT_wxUSE_GTK2=yes
2425 fi
2426
2427
2428
2429
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2436
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2440 fi
2441 fi
2442 done
2443
2444
2445
2446 enablestring=
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 no_cache=0
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2453
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI=yes'
2456 else
2457 ac_cv_use_gui='wxUSE_GUI=no'
2458 fi
2459
2460 else
2461
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2465 else
2466 no_cache=1
2467 fi
2468
2469 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2470
2471 fi;
2472
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2476 fi
2477
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2481 else
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2484 fi
2485
2486
2487 enablestring=
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 no_cache=0
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2494
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2497 else
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2499 fi
2500
2501 else
2502
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2506 else
2507 no_cache=1
2508 fi
2509
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2511
2512 fi;
2513
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2517 fi
2518
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2522 else
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2525 fi
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2538 else
2539 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2552
2553 fi;
2554
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569 if test "$wxUSE_GUI" = "yes"; then
2570
2571
2572 enablestring=
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 no_cache=0
2576 # Check whether --enable-universal or --disable-universal was given.
2577 if test "${enable_universal+set}" = set; then
2578 enableval="$enable_universal"
2579
2580 if test "$enableval" = yes; then
2581 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2582 else
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2584 fi
2585
2586 else
2587
2588 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2596
2597 fi;
2598
2599 eval "$ac_cv_use_universal"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2602 fi
2603
2604 if test "$wxUSE_UNIVERSAL" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2607 else
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2610 fi
2611
2612
2613 # Check whether --with-gtk or --without-gtk was given.
2614 if test "${with_gtk+set}" = set; then
2615 withval="$with_gtk"
2616 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2617 fi;
2618
2619 # Check whether --with-motif or --without-motif was given.
2620 if test "${with_motif+set}" = set; then
2621 withval="$with_motif"
2622 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2623 fi;
2624
2625 # Check whether --with-mac or --without-mac was given.
2626 if test "${with_mac+set}" = set; then
2627 withval="$with_mac"
2628 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-cocoa or --without-cocoa was given.
2632 if test "${with_cocoa+set}" = set; then
2633 withval="$with_cocoa"
2634 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-wine or --without-wine was given.
2638 if test "${with_wine+set}" = set; then
2639 withval="$with_wine"
2640 wxUSE_WINE="$withval" CACHE_WINE=1
2641 fi;
2642
2643 # Check whether --with-msw or --without-msw was given.
2644 if test "${with_msw+set}" = set; then
2645 withval="$with_msw"
2646 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 # Check whether --with-pm or --without-pm was given.
2650 if test "${with_pm+set}" = set; then
2651 withval="$with_pm"
2652 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2653 fi;
2654
2655 # Check whether --with-mgl or --without-mgl was given.
2656 if test "${with_mgl+set}" = set; then
2657 withval="$with_mgl"
2658 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2659 fi;
2660
2661 # Check whether --with-microwin or --without-microwin was given.
2662 if test "${with_microwin+set}" = set; then
2663 withval="$with_microwin"
2664 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2665 fi;
2666
2667 # Check whether --with-x11 or --without-x11 was given.
2668 if test "${with_x11+set}" = set; then
2669 withval="$with_x11"
2670 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2671 fi;
2672
2673 enablestring=
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 no_cache=0
2677 # Check whether --enable-nanox or --disable-nanox was given.
2678 if test "${enable_nanox+set}" = set; then
2679 enableval="$enable_nanox"
2680
2681 if test "$enableval" = yes; then
2682 ac_cv_use_nanox='wxUSE_NANOX=yes'
2683 else
2684 ac_cv_use_nanox='wxUSE_NANOX=no'
2685 fi
2686
2687 else
2688
2689 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2692 else
2693 no_cache=1
2694 fi
2695
2696 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2697
2698 fi;
2699
2700 eval "$ac_cv_use_nanox"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2703 fi
2704
2705 if test "$wxUSE_NANOX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 else
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2711 fi
2712
2713
2714 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2715 if test "${enable_gtk2+set}" = set; then
2716 enableval="$enable_gtk2"
2717 wxUSE_GTK2="$enableval"
2718 fi;
2719
2720 enablestring=
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 no_cache=0
2724 # Check whether --enable-gpe or --disable-gpe was given.
2725 if test "${enable_gpe+set}" = set; then
2726 enableval="$enable_gpe"
2727
2728 if test "$enableval" = yes; then
2729 ac_cv_use_gpe='wxUSE_GPE=yes'
2730 else
2731 ac_cv_use_gpe='wxUSE_GPE=no'
2732 fi
2733
2734 else
2735
2736 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x ; then
2738 eval "DEFAULT_$LINE"
2739 else
2740 no_cache=1
2741 fi
2742
2743 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2744
2745 fi;
2746
2747 eval "$ac_cv_use_gpe"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2750 fi
2751
2752 if test "$wxUSE_GPE" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2755 else
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2758 fi
2759
2760
2761
2762 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2763 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2764 no_cache=0
2765
2766 # Check whether --with-libpng or --without-libpng was given.
2767 if test "${with_libpng+set}" = set; then
2768 withval="$with_libpng"
2769
2770 if test "$withval" = yes; then
2771 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2772 elif test "$withval" = no; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2774 elif test "$withval" = sys; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2776 elif test "$withval" = builtin; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2778 else
2779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2781 { (exit 1); exit 1; }; }
2782 fi
2783
2784 else
2785
2786 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x ; then
2788 eval "DEFAULT_$LINE"
2789 else
2790 no_cache=1
2791 fi
2792
2793 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2794
2795 fi;
2796
2797 eval "$ac_cv_use_libpng"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2800 fi
2801
2802 if test "$wxUSE_LIBPNG" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 elif test "$wxUSE_LIBPNG" = no; then
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 elif test "$wxUSE_LIBPNG" = sys; then
2809 echo "$as_me:$LINENO: result: system version" >&5
2810 echo "${ECHO_T}system version" >&6
2811 elif test "$wxUSE_LIBPNG" = builtin; then
2812 echo "$as_me:$LINENO: result: builtin version" >&5
2813 echo "${ECHO_T}builtin version" >&6
2814 else
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2818 fi
2819
2820
2821 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2822 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2823 no_cache=0
2824
2825 # Check whether --with-libjpeg or --without-libjpeg was given.
2826 if test "${with_libjpeg+set}" = set; then
2827 withval="$with_libjpeg"
2828
2829 if test "$withval" = yes; then
2830 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2831 elif test "$withval" = no; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2833 elif test "$withval" = sys; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2835 elif test "$withval" = builtin; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843 else
2844
2845 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x ; then
2847 eval "DEFAULT_$LINE"
2848 else
2849 no_cache=1
2850 fi
2851
2852 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2853
2854 fi;
2855
2856 eval "$ac_cv_use_libjpeg"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2859 fi
2860
2861 if test "$wxUSE_LIBJPEG" = yes; then
2862 echo "$as_me:$LINENO: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2864 elif test "$wxUSE_LIBJPEG" = no; then
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2867 elif test "$wxUSE_LIBJPEG" = sys; then
2868 echo "$as_me:$LINENO: result: system version" >&5
2869 echo "${ECHO_T}system version" >&6
2870 elif test "$wxUSE_LIBJPEG" = builtin; then
2871 echo "$as_me:$LINENO: result: builtin version" >&5
2872 echo "${ECHO_T}builtin version" >&6
2873 else
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2877 fi
2878
2879
2880 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2881 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2882 no_cache=0
2883
2884 # Check whether --with-libtiff or --without-libtiff was given.
2885 if test "${with_libtiff+set}" = set; then
2886 withval="$with_libtiff"
2887
2888 if test "$withval" = yes; then
2889 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2890 elif test "$withval" = no; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2892 elif test "$withval" = sys; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2894 elif test "$withval" = builtin; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902 else
2903
2904 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x ; then
2906 eval "DEFAULT_$LINE"
2907 else
2908 no_cache=1
2909 fi
2910
2911 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2912
2913 fi;
2914
2915 eval "$ac_cv_use_libtiff"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2918 fi
2919
2920 if test "$wxUSE_LIBTIFF" = yes; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2923 elif test "$wxUSE_LIBTIFF" = no; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 elif test "$wxUSE_LIBTIFF" = sys; then
2927 echo "$as_me:$LINENO: result: system version" >&5
2928 echo "${ECHO_T}system version" >&6
2929 elif test "$wxUSE_LIBTIFF" = builtin; then
2930 echo "$as_me:$LINENO: result: builtin version" >&5
2931 echo "${ECHO_T}builtin version" >&6
2932 else
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2936 fi
2937
2938
2939 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2940 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2941 no_cache=0
2942
2943 # Check whether --with-libxpm or --without-libxpm was given.
2944 if test "${with_libxpm+set}" = set; then
2945 withval="$with_libxpm"
2946
2947 if test "$withval" = yes; then
2948 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2949 elif test "$withval" = no; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2951 elif test "$withval" = sys; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2953 elif test "$withval" = builtin; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961 else
2962
2963 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x ; then
2965 eval "DEFAULT_$LINE"
2966 else
2967 no_cache=1
2968 fi
2969
2970 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2971
2972 fi;
2973
2974 eval "$ac_cv_use_libxpm"
2975 if test "$no_cache" != 1; then
2976 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2977 fi
2978
2979 if test "$wxUSE_LIBXPM" = yes; then
2980 echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6
2982 elif test "$wxUSE_LIBXPM" = no; then
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 elif test "$wxUSE_LIBXPM" = sys; then
2986 echo "$as_me:$LINENO: result: system version" >&5
2987 echo "${ECHO_T}system version" >&6
2988 elif test "$wxUSE_LIBXPM" = builtin; then
2989 echo "$as_me:$LINENO: result: builtin version" >&5
2990 echo "${ECHO_T}builtin version" >&6
2991 else
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2995 fi
2996
2997
2998 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2999 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3000 no_cache=0
3001
3002 # Check whether --with-libmspack or --without-libmspack was given.
3003 if test "${with_libmspack+set}" = set; then
3004 withval="$with_libmspack"
3005
3006 if test "$withval" = yes; then
3007 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3008 else
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3010 fi
3011
3012 else
3013
3014 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x ; then
3016 eval "DEFAULT_$LINE"
3017 else
3018 no_cache=1
3019 fi
3020
3021 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3022
3023 fi;
3024
3025 eval "$ac_cv_use_libmspack"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3028 fi
3029
3030 if test "$wxUSE_LIBMSPACK" = yes; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3033 else
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3036 fi
3037
3038
3039 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3040 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3041 no_cache=0
3042
3043 # Check whether --with-sdl or --without-sdl was given.
3044 if test "${with_sdl+set}" = set; then
3045 withval="$with_sdl"
3046
3047 if test "$withval" = yes; then
3048 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3049 else
3050 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3051 fi
3052
3053 else
3054
3055 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 else
3059 no_cache=1
3060 fi
3061
3062 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3063
3064 fi;
3065
3066 eval "$ac_cv_use_sdl"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3069 fi
3070
3071 if test "$wxUSE_LIBSDL" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3074 else
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3077 fi
3078
3079
3080 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3081 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3082 no_cache=0
3083
3084 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3085 if test "${with_gnomeprint+set}" = set; then
3086 withval="$with_gnomeprint"
3087
3088 if test "$withval" = yes; then
3089 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3090 else
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3092 fi
3093
3094 else
3095
3096 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x ; then
3098 eval "DEFAULT_$LINE"
3099 else
3100 no_cache=1
3101 fi
3102
3103 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3104
3105 fi;
3106
3107 eval "$ac_cv_use_gnomeprint"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3110 fi
3111
3112 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3115 else
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3118 fi
3119
3120
3121 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3122 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3123 no_cache=0
3124
3125 # Check whether --with-opengl or --without-opengl was given.
3126 if test "${with_opengl+set}" = set; then
3127 withval="$with_opengl"
3128
3129 if test "$withval" = yes; then
3130 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3131 else
3132 ac_cv_use_opengl='wxUSE_OPENGL=no'
3133 fi
3134
3135 else
3136
3137 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3145
3146 fi;
3147
3148 eval "$ac_cv_use_opengl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3151 fi
3152
3153 if test "$wxUSE_OPENGL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 else
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 fi
3160
3161
3162 fi
3163
3164
3165 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3166 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3167 no_cache=0
3168
3169 # Check whether --with-dmalloc or --without-dmalloc was given.
3170 if test "${with_dmalloc+set}" = set; then
3171 withval="$with_dmalloc"
3172
3173 if test "$withval" = yes; then
3174 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3175 else
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3177 fi
3178
3179 else
3180
3181 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x ; then
3183 eval "DEFAULT_$LINE"
3184 else
3185 no_cache=1
3186 fi
3187
3188 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3189
3190 fi;
3191
3192 eval "$ac_cv_use_dmalloc"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3195 fi
3196
3197 if test "$wxUSE_DMALLOC" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3200 else
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3203 fi
3204
3205
3206 echo "$as_me:$LINENO: checking for --with-regex" >&5
3207 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3208 no_cache=0
3209
3210 # Check whether --with-regex or --without-regex was given.
3211 if test "${with_regex+set}" = set; then
3212 withval="$with_regex"
3213
3214 if test "$withval" = yes; then
3215 ac_cv_use_regex='wxUSE_REGEX=yes'
3216 elif test "$withval" = no; then
3217 ac_cv_use_regex='wxUSE_REGEX=no'
3218 elif test "$withval" = sys; then
3219 ac_cv_use_regex='wxUSE_REGEX=sys'
3220 elif test "$withval" = builtin; then
3221 ac_cv_use_regex='wxUSE_REGEX=builtin'
3222 else
3223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3225 { (exit 1); exit 1; }; }
3226 fi
3227
3228 else
3229
3230 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x ; then
3232 eval "DEFAULT_$LINE"
3233 else
3234 no_cache=1
3235 fi
3236
3237 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3238
3239 fi;
3240
3241 eval "$ac_cv_use_regex"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3244 fi
3245
3246 if test "$wxUSE_REGEX" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 elif test "$wxUSE_REGEX" = no; then
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 elif test "$wxUSE_REGEX" = sys; then
3253 echo "$as_me:$LINENO: result: system version" >&5
3254 echo "${ECHO_T}system version" >&6
3255 elif test "$wxUSE_REGEX" = builtin; then
3256 echo "$as_me:$LINENO: result: builtin version" >&5
3257 echo "${ECHO_T}builtin version" >&6
3258 else
3259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3261 { (exit 1); exit 1; }; }
3262 fi
3263
3264
3265 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3266 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3267 no_cache=0
3268
3269 # Check whether --with-zlib or --without-zlib was given.
3270 if test "${with_zlib+set}" = set; then
3271 withval="$with_zlib"
3272
3273 if test "$withval" = yes; then
3274 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3275 elif test "$withval" = no; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=no'
3277 elif test "$withval" = sys; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3279 elif test "$withval" = builtin; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287 else
3288
3289 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x ; then
3291 eval "DEFAULT_$LINE"
3292 else
3293 no_cache=1
3294 fi
3295
3296 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3297
3298 fi;
3299
3300 eval "$ac_cv_use_zlib"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3303 fi
3304
3305 if test "$wxUSE_ZLIB" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 elif test "$wxUSE_ZLIB" = no; then
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 elif test "$wxUSE_ZLIB" = sys; then
3312 echo "$as_me:$LINENO: result: system version" >&5
3313 echo "${ECHO_T}system version" >&6
3314 elif test "$wxUSE_ZLIB" = builtin; then
3315 echo "$as_me:$LINENO: result: builtin version" >&5
3316 echo "${ECHO_T}builtin version" >&6
3317 else
3318 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3319 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3320 { (exit 1); exit 1; }; }
3321 fi
3322
3323
3324 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3325 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3326 no_cache=0
3327
3328 # Check whether --with-odbc or --without-odbc was given.
3329 if test "${with_odbc+set}" = set; then
3330 withval="$with_odbc"
3331
3332 if test "$withval" = yes; then
3333 ac_cv_use_odbc='wxUSE_ODBC=yes'
3334 elif test "$withval" = no; then
3335 ac_cv_use_odbc='wxUSE_ODBC=no'
3336 elif test "$withval" = sys; then
3337 ac_cv_use_odbc='wxUSE_ODBC=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346 else
3347
3348 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 else
3352 no_cache=1
3353 fi
3354
3355 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3356
3357 fi;
3358
3359 eval "$ac_cv_use_odbc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3362 fi
3363
3364 if test "$wxUSE_ODBC" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_ODBC" = no; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_ODBC" = sys; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_ODBC" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3376 else
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3380 fi
3381
3382
3383 echo "$as_me:$LINENO: checking for --with-expat" >&5
3384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3385 no_cache=0
3386
3387 # Check whether --with-expat or --without-expat was given.
3388 if test "${with_expat+set}" = set; then
3389 withval="$with_expat"
3390
3391 if test "$withval" = yes; then
3392 ac_cv_use_expat='wxUSE_EXPAT=yes'
3393 elif test "$withval" = no; then
3394 ac_cv_use_expat='wxUSE_EXPAT=no'
3395 elif test "$withval" = sys; then
3396 ac_cv_use_expat='wxUSE_EXPAT=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405 else
3406
3407 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3410 else
3411 no_cache=1
3412 fi
3413
3414 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3415
3416 fi;
3417
3418 eval "$ac_cv_use_expat"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3421 fi
3422
3423 if test "$wxUSE_EXPAT" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_EXPAT" = no; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_EXPAT" = sys; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_EXPAT" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3435 else
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3439 fi
3440
3441
3442
3443
3444 enablestring=
3445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 no_cache=0
3448 # Check whether --enable-shared or --disable-shared was given.
3449 if test "${enable_shared+set}" = set; then
3450 enableval="$enable_shared"
3451
3452 if test "$enableval" = yes; then
3453 ac_cv_use_shared='wxUSE_SHARED=yes'
3454 else
3455 ac_cv_use_shared='wxUSE_SHARED=no'
3456 fi
3457
3458 else
3459
3460 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3463 else
3464 no_cache=1
3465 fi
3466
3467 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3468
3469 fi;
3470
3471 eval "$ac_cv_use_shared"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_SHARED" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3479 else
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 fi
3483
3484
3485 enablestring=
3486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3487 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 no_cache=0
3489 # Check whether --enable-optimise or --disable-optimise was given.
3490 if test "${enable_optimise+set}" = set; then
3491 enableval="$enable_optimise"
3492
3493 if test "$enableval" = yes; then
3494 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3495 else
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3497 fi
3498
3499 else
3500
3501 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3504 else
3505 no_cache=1
3506 fi
3507
3508 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3509
3510 fi;
3511
3512 eval "$ac_cv_use_optimise"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3515 fi
3516
3517 if test "$wxUSE_OPTIMISE" = yes; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3520 else
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3523 fi
3524
3525
3526 enablestring=
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 no_cache=0
3530 # Check whether --enable-debug or --disable-debug was given.
3531 if test "${enable_debug+set}" = set; then
3532 enableval="$enable_debug"
3533
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug='wxUSE_DEBUG=yes'
3536 else
3537 ac_cv_use_debug='wxUSE_DEBUG=no'
3538 fi
3539
3540 else
3541
3542 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3545 else
3546 no_cache=1
3547 fi
3548
3549 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3550
3551 fi;
3552
3553 eval "$ac_cv_use_debug"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3556 fi
3557
3558 if test "$wxUSE_DEBUG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3561 else
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3564 fi
3565
3566
3567 enablestring=
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 no_cache=0
3571 # Check whether --enable-stl or --disable-stl was given.
3572 if test "${enable_stl+set}" = set; then
3573 enableval="$enable_stl"
3574
3575 if test "$enableval" = yes; then
3576 ac_cv_use_stl='wxUSE_STL=yes'
3577 else
3578 ac_cv_use_stl='wxUSE_STL=no'
3579 fi
3580
3581 else
3582
3583 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x ; then
3585 eval "DEFAULT_$LINE"
3586 else
3587 no_cache=1
3588 fi
3589
3590 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3591
3592 fi;
3593
3594 eval "$ac_cv_use_stl"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3597 fi
3598
3599 if test "$wxUSE_STL" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3602 else
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3605 fi
3606
3607 if test "$USE_OS2" = "1"; then
3608 DEFAULT_wxUSE_OMF=no
3609
3610 enablestring=
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 no_cache=0
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval="$enable_omf"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf='wxUSE_OMF=yes'
3620 else
3621 ac_cv_use_omf='wxUSE_OMF=no'
3622 fi
3623
3624 else
3625
3626 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3634
3635 fi;
3636
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 fi
3649
3650 fi
3651
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG=yes
3654 DEFAULT_wxUSE_DEBUG_INFO=yes
3655 BUILD=debug
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG=no
3658 DEFAULT_wxUSE_DEBUG_INFO=no
3659 BUILD=release
3660 fi
3661
3662
3663 enablestring=
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 no_cache=0
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval="$enable_debug_flag"
3670
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3673 else
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3675 fi
3676
3677 else
3678
3679 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x ; then
3681 eval "DEFAULT_$LINE"
3682 else
3683 no_cache=1
3684 fi
3685
3686 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3687
3688 fi;
3689
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3693 fi
3694
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3698 else
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3701 fi
3702
3703
3704 enablestring=
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 no_cache=0
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval="$enable_debug_info"
3711
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3714 else
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3716 fi
3717
3718 else
3719
3720 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x ; then
3722 eval "DEFAULT_$LINE"
3723 else
3724 no_cache=1
3725 fi
3726
3727 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3728
3729 fi;
3730
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3734 fi
3735
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3739 else
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3742 fi
3743
3744
3745 enablestring=
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 no_cache=0
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval="$enable_debug_gdb"
3752
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3755 else
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3757 fi
3758
3759 else
3760
3761 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3769
3770 fi;
3771
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3780 else
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3783 fi
3784
3785
3786 enablestring=
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 no_cache=0
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval="$enable_debug_cntxt"
3793
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3796 else
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3798 fi
3799
3800 else
3801
3802 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x ; then
3804 eval "DEFAULT_$LINE"
3805 else
3806 no_cache=1
3807 fi
3808
3809 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3810
3811 fi;
3812
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3821 else
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3824 fi
3825
3826
3827 enablestring=
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 no_cache=0
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval="$enable_mem_tracing"
3834
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3837 else
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3839 fi
3840
3841 else
3842
3843 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x ; then
3845 eval "DEFAULT_$LINE"
3846 else
3847 no_cache=1
3848 fi
3849
3850 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3851
3852 fi;
3853
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3857 fi
3858
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3862 else
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3865 fi
3866
3867
3868 enablestring=
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 no_cache=0
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval="$enable_profile"
3875
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile='wxUSE_PROFILE=yes'
3878 else
3879 ac_cv_use_profile='wxUSE_PROFILE=no'
3880 fi
3881
3882 else
3883
3884 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x ; then
3886 eval "DEFAULT_$LINE"
3887 else
3888 no_cache=1
3889 fi
3890
3891 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3892
3893 fi;
3894
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3898 fi
3899
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3903 else
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3906 fi
3907
3908
3909 enablestring=
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 no_cache=0
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval="$enable_no_rtti"
3916
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3919 else
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3921 fi
3922
3923 else
3924
3925 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3928 else
3929 no_cache=1
3930 fi
3931
3932 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3933
3934 fi;
3935
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3939 fi
3940
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3944 else
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3947 fi
3948
3949
3950 enablestring=
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 no_cache=0
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval="$enable_no_exceptions"
3957
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3960 else
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3962 fi
3963
3964 else
3965
3966 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x ; then
3968 eval "DEFAULT_$LINE"
3969 else
3970 no_cache=1
3971 fi
3972
3973 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3974
3975 fi;
3976
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3985 else
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3988 fi
3989
3990
3991 enablestring=
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 no_cache=0
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval="$enable_permissive"
3998
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4001 else
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4003 fi
4004
4005 else
4006
4007 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x ; then
4009 eval "DEFAULT_$LINE"
4010 else
4011 no_cache=1
4012 fi
4013
4014 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4015
4016 fi;
4017
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4021 fi
4022
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4026 else
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4029 fi
4030
4031
4032 enablestring=
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 no_cache=0
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval="$enable_no_deps"
4039
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4042 else
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4044 fi
4045
4046 else
4047
4048 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x ; then
4050 eval "DEFAULT_$LINE"
4051 else
4052 no_cache=1
4053 fi
4054
4055 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4056
4057 fi;
4058
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4062 fi
4063
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4067 else
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4070 fi
4071
4072
4073
4074 enablestring=
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 no_cache=0
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval="$enable_compat22"
4081
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4084 else
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4086 fi
4087
4088 else
4089
4090 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4093 else
4094 no_cache=1
4095 fi
4096
4097 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4098
4099 fi;
4100
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4104 fi
4105
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4109 else
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4112 fi
4113
4114
4115 enablestring=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 no_cache=0
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval="$enable_compat24"
4122
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4125 else
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4127 fi
4128
4129 else
4130
4131 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x ; then
4133 eval "DEFAULT_$LINE"
4134 else
4135 no_cache=1
4136 fi
4137
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4139
4140 fi;
4141
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4145 fi
4146
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4150 else
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4153 fi
4154
4155
4156
4157 enablestring=
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval="$enable_rpath"
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath='wxUSE_RPATH=yes'
4167 else
4168 ac_cv_use_rpath='wxUSE_RPATH=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4181
4182 fi;
4183
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197
4198
4199
4200
4201 enablestring=
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 no_cache=0
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval="$enable_intl"
4208
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl='wxUSE_INTL=yes'
4211 else
4212 ac_cv_use_intl='wxUSE_INTL=no'
4213 fi
4214
4215 else
4216
4217 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x ; then
4219 eval "DEFAULT_$LINE"
4220 else
4221 no_cache=1
4222 fi
4223
4224 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4225
4226 fi;
4227
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4231 fi
4232
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4236 else
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4239 fi
4240
4241
4242 enablestring=
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 no_cache=0
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval="$enable_config"
4249
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config='wxUSE_CONFIG=yes'
4252 else
4253 ac_cv_use_config='wxUSE_CONFIG=no'
4254 fi
4255
4256 else
4257
4258 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4266
4267 fi;
4268
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4272 fi
4273
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4277 else
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4280 fi
4281
4282
4283
4284 enablestring=
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 no_cache=0
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval="$enable_protocols"
4291
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4294 else
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4296 fi
4297
4298 else
4299
4300 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4303 else
4304 no_cache=1
4305 fi
4306
4307 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4308
4309 fi;
4310
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4314 fi
4315
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4319 else
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4322 fi
4323
4324
4325 enablestring=
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 no_cache=0
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval="$enable_ftp"
4332
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4335 else
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4337 fi
4338
4339 else
4340
4341 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x ; then
4343 eval "DEFAULT_$LINE"
4344 else
4345 no_cache=1
4346 fi
4347
4348 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4349
4350 fi;
4351
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4355 fi
4356
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4360 else
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4363 fi
4364
4365
4366 enablestring=
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 no_cache=0
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval="$enable_http"
4373
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4376 else
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4378 fi
4379
4380 else
4381
4382 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x ; then
4384 eval "DEFAULT_$LINE"
4385 else
4386 no_cache=1
4387 fi
4388
4389 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4390
4391 fi;
4392
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4396 fi
4397
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4401 else
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4404 fi
4405
4406
4407 enablestring=
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 no_cache=0
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval="$enable_fileproto"
4414
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4417 else
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4419 fi
4420
4421 else
4422
4423 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x ; then
4425 eval "DEFAULT_$LINE"
4426 else
4427 no_cache=1
4428 fi
4429
4430 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4431
4432 fi;
4433
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4437 fi
4438
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4442 else
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4445 fi
4446
4447
4448 enablestring=
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 no_cache=0
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval="$enable_sockets"
4455
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4458 else
4459 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4460 fi
4461
4462 else
4463
4464 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x ; then
4466 eval "DEFAULT_$LINE"
4467 else
4468 no_cache=1
4469 fi
4470
4471 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4472
4473 fi;
4474
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4478 fi
4479
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4483 else
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4486 fi
4487
4488
4489 enablestring=
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 no_cache=0
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval="$enable_ole"
4496
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole='wxUSE_OLE=yes'
4499 else
4500 ac_cv_use_ole='wxUSE_OLE=no'
4501 fi
4502
4503 else
4504
4505 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x ; then
4507 eval "DEFAULT_$LINE"
4508 else
4509 no_cache=1
4510 fi
4511
4512 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4513
4514 fi;
4515
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4519 fi
4520
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4524 else
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4527 fi
4528
4529
4530 enablestring=
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 no_cache=0
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval="$enable_dataobj"
4537
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4540 else
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4542 fi
4543
4544 else
4545
4546 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x ; then
4548 eval "DEFAULT_$LINE"
4549 else
4550 no_cache=1
4551 fi
4552
4553 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4554
4555 fi;
4556
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4560 fi
4561
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4565 else
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4568 fi
4569
4570
4571
4572 enablestring=
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 no_cache=0
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval="$enable_ipc"
4579
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc='wxUSE_IPC=yes'
4582 else
4583 ac_cv_use_ipc='wxUSE_IPC=no'
4584 fi
4585
4586 else
4587
4588 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x ; then
4590 eval "DEFAULT_$LINE"
4591 else
4592 no_cache=1
4593 fi
4594
4595 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4596
4597 fi;
4598
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4602 fi
4603
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4607 else
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4610 fi
4611
4612
4613
4614 enablestring=
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 no_cache=0
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval="$enable_apple_ieee"
4621
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4624 else
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4626 fi
4627
4628 else
4629
4630 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4638
4639 fi;
4640
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4644 fi
4645
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4649 else
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4652 fi
4653
4654
4655 enablestring=
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 no_cache=0
4659 # Check whether --enable-arcstream or --disable-arcstream was given.
4660 if test "${enable_arcstream+set}" = set; then
4661 enableval="$enable_arcstream"
4662
4663 if test "$enableval" = yes; then
4664 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4665 else
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4667 fi
4668
4669 else
4670
4671 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x ; then
4673 eval "DEFAULT_$LINE"
4674 else
4675 no_cache=1
4676 fi
4677
4678 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4679
4680 fi;
4681
4682 eval "$ac_cv_use_arcstream"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4685 fi
4686
4687 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4690 else
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4693 fi
4694
4695
4696 enablestring=
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 no_cache=0
4700 # Check whether --enable-backtrace or --disable-backtrace was given.
4701 if test "${enable_backtrace+set}" = set; then
4702 enableval="$enable_backtrace"
4703
4704 if test "$enableval" = yes; then
4705 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4706 else
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4708 fi
4709
4710 else
4711
4712 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x ; then
4714 eval "DEFAULT_$LINE"
4715 else
4716 no_cache=1
4717 fi
4718
4719 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4720
4721 fi;
4722
4723 eval "$ac_cv_use_backtrace"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4726 fi
4727
4728 if test "$wxUSE_STACKWALKER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4731 else
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4734 fi
4735
4736
4737 enablestring=
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 no_cache=0
4741 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4742 if test "${enable_catch_segvs+set}" = set; then
4743 enableval="$enable_catch_segvs"
4744
4745 if test "$enableval" = yes; then
4746 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 else
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4749 fi
4750
4751 else
4752
4753 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x ; then
4755 eval "DEFAULT_$LINE"
4756 else
4757 no_cache=1
4758 fi
4759
4760 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4761
4762 fi;
4763
4764 eval "$ac_cv_use_catch_segvs"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4767 fi
4768
4769 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4772 else
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4775 fi
4776
4777
4778 enablestring=
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 no_cache=0
4782 # Check whether --enable-cmdline or --disable-cmdline was given.
4783 if test "${enable_cmdline+set}" = set; then
4784 enableval="$enable_cmdline"
4785
4786 if test "$enableval" = yes; then
4787 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4788 else
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4790 fi
4791
4792 else
4793
4794 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x ; then
4796 eval "DEFAULT_$LINE"
4797 else
4798 no_cache=1
4799 fi
4800
4801 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4802
4803 fi;
4804
4805 eval "$ac_cv_use_cmdline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4808 fi
4809
4810 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4813 else
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4816 fi
4817
4818
4819 enablestring=
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 no_cache=0
4823 # Check whether --enable-datetime or --disable-datetime was given.
4824 if test "${enable_datetime+set}" = set; then
4825 enableval="$enable_datetime"
4826
4827 if test "$enableval" = yes; then
4828 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4829 else
4830 ac_cv_use_datetime='wxUSE_DATETIME=no'
4831 fi
4832
4833 else
4834
4835 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x ; then
4837 eval "DEFAULT_$LINE"
4838 else
4839 no_cache=1
4840 fi
4841
4842 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4843
4844 fi;
4845
4846 eval "$ac_cv_use_datetime"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4849 fi
4850
4851 if test "$wxUSE_DATETIME" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4857 fi
4858
4859
4860 enablestring=
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 no_cache=0
4864 # Check whether --enable-debugreport or --disable-debugreport was given.
4865 if test "${enable_debugreport+set}" = set; then
4866 enableval="$enable_debugreport"
4867
4868 if test "$enableval" = yes; then
4869 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4870 else
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4872 fi
4873
4874 else
4875
4876 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x ; then
4878 eval "DEFAULT_$LINE"
4879 else
4880 no_cache=1
4881 fi
4882
4883 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4884
4885 fi;
4886
4887 eval "$ac_cv_use_debugreport"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 if test "$wxUSE_DEBUGREPORT" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4895 else
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4898 fi
4899
4900
4901 enablestring=
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 no_cache=0
4905 # Check whether --enable-dialupman or --disable-dialupman was given.
4906 if test "${enable_dialupman+set}" = set; then
4907 enableval="$enable_dialupman"
4908
4909 if test "$enableval" = yes; then
4910 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4911 else
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4913 fi
4914
4915 else
4916
4917 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 else
4921 no_cache=1
4922 fi
4923
4924 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4925
4926 fi;
4927
4928 eval "$ac_cv_use_dialupman"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4931 fi
4932
4933 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4936 else
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4939 fi
4940
4941
4942 enablestring=
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 no_cache=0
4946 # Check whether --enable-dynlib or --disable-dynlib was given.
4947 if test "${enable_dynlib+set}" = set; then
4948 enableval="$enable_dynlib"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4952 else
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4954 fi
4955
4956 else
4957
4958 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4966
4967 fi;
4968
4969 eval "$ac_cv_use_dynlib"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4980 fi
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4988 if test "${enable_dynamicloader+set}" = set; then
4989 enableval="$enable_dynamicloader"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4993 else
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4995 fi
4996
4997 else
4998
4999 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x ; then
5001 eval "DEFAULT_$LINE"
5002 else
5003 no_cache=1
5004 fi
5005
5006 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5007
5008 fi;
5009
5010 eval "$ac_cv_use_dynamicloader"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5018 else
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5021 fi
5022
5023
5024 enablestring=
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-exceptions or --disable-exceptions was given.
5029 if test "${enable_exceptions+set}" = set; then
5030 enableval="$enable_exceptions"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5034 else
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5048
5049 fi;
5050
5051 eval "$ac_cv_use_exceptions"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_EXCEPTIONS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5062 fi
5063
5064
5065 enablestring=
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-ffile or --disable-ffile was given.
5070 if test "${enable_ffile+set}" = set; then
5071 enableval="$enable_ffile"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_ffile='wxUSE_FFILE=yes'
5075 else
5076 ac_cv_use_ffile='wxUSE_FFILE=no'
5077 fi
5078
5079 else
5080
5081 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 else
5085 no_cache=1
5086 fi
5087
5088 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5089
5090 fi;
5091
5092 eval "$ac_cv_use_ffile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_FFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5103 fi
5104
5105
5106 enablestring=
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-file or --disable-file was given.
5111 if test "${enable_file+set}" = set; then
5112 enableval="$enable_file"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_file='wxUSE_FILE=yes'
5116 else
5117 ac_cv_use_file='wxUSE_FILE=no'
5118 fi
5119
5120 else
5121
5122 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 else
5126 no_cache=1
5127 fi
5128
5129 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5130
5131 fi;
5132
5133 eval "$ac_cv_use_file"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_FILE" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5141 else
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5144 fi
5145
5146
5147 enablestring=
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-filesystem or --disable-filesystem was given.
5152 if test "${enable_filesystem+set}" = set; then
5153 enableval="$enable_filesystem"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5157 else
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5171
5172 fi;
5173
5174 eval "$ac_cv_use_filesystem"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_FILESYSTEM" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5182 else
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5185 fi
5186
5187
5188 enablestring=
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-fontmap or --disable-fontmap was given.
5193 if test "${enable_fontmap+set}" = set; then
5194 enableval="$enable_fontmap"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5198 else
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5200 fi
5201
5202 else
5203
5204 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x ; then
5206 eval "DEFAULT_$LINE"
5207 else
5208 no_cache=1
5209 fi
5210
5211 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5212
5213 fi;
5214
5215 eval "$ac_cv_use_fontmap"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_FONTMAP" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5223 else
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5226 fi
5227
5228
5229 enablestring=
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5234 if test "${enable_fs_inet+set}" = set; then
5235 enableval="$enable_fs_inet"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5239 else
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5241 fi
5242
5243 else
5244
5245 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x ; then
5247 eval "DEFAULT_$LINE"
5248 else
5249 no_cache=1
5250 fi
5251
5252 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5253
5254 fi;
5255
5256 eval "$ac_cv_use_fs_inet"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_FS_INET" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5264 else
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5267 fi
5268
5269
5270 enablestring=
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5275 if test "${enable_fs_zip+set}" = set; then
5276 enableval="$enable_fs_zip"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5280 else
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5282 fi
5283
5284 else
5285
5286 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x ; then
5288 eval "DEFAULT_$LINE"
5289 else
5290 no_cache=1
5291 fi
5292
5293 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5294
5295 fi;
5296
5297 eval "$ac_cv_use_fs_zip"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_FS_ZIP" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5305 else
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5308 fi
5309
5310
5311 enablestring=
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-geometry or --disable-geometry was given.
5316 if test "${enable_geometry+set}" = set; then
5317 enableval="$enable_geometry"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5321 else
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5323 fi
5324
5325 else
5326
5327 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x ; then
5329 eval "DEFAULT_$LINE"
5330 else
5331 no_cache=1
5332 fi
5333
5334 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5335
5336 fi;
5337
5338 eval "$ac_cv_use_geometry"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_GEOMETRY" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5346 else
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5349 fi
5350
5351
5352 enablestring=
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-log or --disable-log was given.
5357 if test "${enable_log+set}" = set; then
5358 enableval="$enable_log"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_log='wxUSE_LOG=yes'
5362 else
5363 ac_cv_use_log='wxUSE_LOG=no'
5364 fi
5365
5366 else
5367
5368 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x ; then
5370 eval "DEFAULT_$LINE"
5371 else
5372 no_cache=1
5373 fi
5374
5375 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5376
5377 fi;
5378
5379 eval "$ac_cv_use_log"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_LOG" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5387 else
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5390 fi
5391
5392
5393 enablestring=
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-longlong or --disable-longlong was given.
5398 if test "${enable_longlong+set}" = set; then
5399 enableval="$enable_longlong"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5403 else
5404 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5417
5418 fi;
5419
5420 eval "$ac_cv_use_longlong"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_LONGLONG" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5431 fi
5432
5433
5434 enablestring=
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-mimetype or --disable-mimetype was given.
5439 if test "${enable_mimetype+set}" = set; then
5440 enableval="$enable_mimetype"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5444 else
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5458
5459 fi;
5460
5461 eval "$ac_cv_use_mimetype"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_MIMETYPE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5469 else
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5472 fi
5473
5474
5475 enablestring=
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-mslu or --disable-mslu was given.
5480 if test "${enable_mslu+set}" = set; then
5481 enableval="$enable_mslu"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5485 else
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5499
5500 fi;
5501
5502 eval "$ac_cv_use_mslu"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_UNICODE_MSLU" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5510 else
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5513 fi
5514
5515
5516 enablestring=
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-snglinst or --disable-snglinst was given.
5521 if test "${enable_snglinst+set}" = set; then
5522 enableval="$enable_snglinst"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5526 else
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5540
5541 fi;
5542
5543 eval "$ac_cv_use_snglinst"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5551 else
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5554 fi
5555
5556
5557 enablestring=
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5562 if test "${enable_std_iostreams+set}" = set; then
5563 enableval="$enable_std_iostreams"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5567 else
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5581
5582 fi;
5583
5584 eval "$ac_cv_use_std_iostreams"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_STD_IOSTREAM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5592 else
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5595 fi
5596
5597
5598 enablestring=
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-std_string or --disable-std_string was given.
5603 if test "${enable_std_string+set}" = set; then
5604 enableval="$enable_std_string"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5608 else
5609 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5622
5623 fi;
5624
5625 eval "$ac_cv_use_std_string"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_STD_STRING" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5633 else
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5636 fi
5637
5638
5639 enablestring=
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5644 if test "${enable_stdpaths+set}" = set; then
5645 enableval="$enable_stdpaths"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5649 else
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5663
5664 fi;
5665
5666 eval "$ac_cv_use_stdpaths"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_STDPATHS" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5674 else
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5677 fi
5678
5679
5680 enablestring=
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5685 if test "${enable_stopwatch+set}" = set; then
5686 enableval="$enable_stopwatch"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5690 else
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5704
5705 fi;
5706
5707 eval "$ac_cv_use_stopwatch"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_STOPWATCH" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 fi
5719
5720
5721 enablestring=
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-streams or --disable-streams was given.
5726 if test "${enable_streams+set}" = set; then
5727 enableval="$enable_streams"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_streams='wxUSE_STREAMS=yes'
5731 else
5732 ac_cv_use_streams='wxUSE_STREAMS=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5745
5746 fi;
5747
5748 eval "$ac_cv_use_streams"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_STREAMS" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5756 else
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5759 fi
5760
5761
5762 enablestring=
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-system_options or --disable-system_options was given.
5767 if test "${enable_system_options+set}" = set; then
5768 enableval="$enable_system_options"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5772 else
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5786
5787 fi;
5788
5789 eval "$ac_cv_use_system_options"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5797 else
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5800 fi
5801
5802
5803 enablestring=
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-textbuf or --disable-textbuf was given.
5808 if test "${enable_textbuf+set}" = set; then
5809 enableval="$enable_textbuf"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5813 else
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5815 fi
5816
5817 else
5818
5819 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x ; then
5821 eval "DEFAULT_$LINE"
5822 else
5823 no_cache=1
5824 fi
5825
5826 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5827
5828 fi;
5829
5830 eval "$ac_cv_use_textbuf"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_TEXTBUFFER" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5838 else
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5841 fi
5842
5843
5844 enablestring=
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-textfile or --disable-textfile was given.
5849 if test "${enable_textfile+set}" = set; then
5850 enableval="$enable_textfile"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5854 else
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5856 fi
5857
5858 else
5859
5860 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 else
5864 no_cache=1
5865 fi
5866
5867 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5868
5869 fi;
5870
5871 eval "$ac_cv_use_textfile"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_TEXTFILE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5879 else
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5882 fi
5883
5884
5885 enablestring=
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 no_cache=0
5889 # Check whether --enable-timer or --disable-timer was given.
5890 if test "${enable_timer+set}" = set; then
5891 enableval="$enable_timer"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_timer='wxUSE_TIMER=yes'
5895 else
5896 ac_cv_use_timer='wxUSE_TIMER=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5909
5910 fi;
5911
5912 eval "$ac_cv_use_timer"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5915 fi
5916
5917 if test "$wxUSE_TIMER" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5920 else
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5923 fi
5924
5925
5926 enablestring=
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 no_cache=0
5930 # Check whether --enable-unicode or --disable-unicode was given.
5931 if test "${enable_unicode+set}" = set; then
5932 enableval="$enable_unicode"
5933
5934 if test "$enableval" = yes; then
5935 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5936 else
5937 ac_cv_use_unicode='wxUSE_UNICODE=no'
5938 fi
5939
5940 else
5941
5942 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x ; then
5944 eval "DEFAULT_$LINE"
5945 else
5946 no_cache=1
5947 fi
5948
5949 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5950
5951 fi;
5952
5953 eval "$ac_cv_use_unicode"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5956 fi
5957
5958 if test "$wxUSE_UNICODE" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5961 else
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5964 fi
5965
5966
5967 enablestring=
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 no_cache=0
5971 # Check whether --enable-sound or --disable-sound was given.
5972 if test "${enable_sound+set}" = set; then
5973 enableval="$enable_sound"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_sound='wxUSE_SOUND=yes'
5977 else
5978 ac_cv_use_sound='wxUSE_SOUND=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x ; then
5985 eval "DEFAULT_$LINE"
5986 else
5987 no_cache=1
5988 fi
5989
5990 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5991
5992 fi;
5993
5994 eval "$ac_cv_use_sound"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_SOUND" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007
6008 enablestring=
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 no_cache=0
6012 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6013 if test "${enable_mediactrl+set}" = set; then
6014 enableval="$enable_mediactrl"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6018 else
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6032
6033 fi;
6034
6035 eval "$ac_cv_use_mediactrl"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test "$wxUSE_MEDIACTRL" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6043 else
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048
6049 enablestring=
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6054 if test "${enable_wxprintfv+set}" = set; then
6055 enableval="$enable_wxprintfv"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 else
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 else
6069 no_cache=1
6070 fi
6071
6072 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6073
6074 fi;
6075
6076 eval "$ac_cv_use_wxprintfv"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6087 fi
6088
6089
6090 enablestring=
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-zipstream or --disable-zipstream was given.
6095 if test "${enable_zipstream+set}" = set; then
6096 enableval="$enable_zipstream"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6100 else
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6114
6115 fi;
6116
6117 eval "$ac_cv_use_zipstream"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_ZIPSTREAM" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6125 else
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130
6131
6132 enablestring=
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 no_cache=0
6136 # Check whether --enable-url or --disable-url was given.
6137 if test "${enable_url+set}" = set; then
6138 enableval="$enable_url"
6139
6140 if test "$enableval" = yes; then
6141 ac_cv_use_url='wxUSE_URL=yes'
6142 else
6143 ac_cv_use_url='wxUSE_URL=no'
6144 fi
6145
6146 else
6147
6148 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6151 else
6152 no_cache=1
6153 fi
6154
6155 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6156
6157 fi;
6158
6159 eval "$ac_cv_use_url"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6162 fi
6163
6164 if test "$wxUSE_URL" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6167 else
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6170 fi
6171
6172
6173 enablestring=
6174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 no_cache=0
6177 # Check whether --enable-protocol or --disable-protocol was given.
6178 if test "${enable_protocol+set}" = set; then
6179 enableval="$enable_protocol"
6180
6181 if test "$enableval" = yes; then
6182 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6183 else
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6185 fi
6186
6187 else
6188
6189 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 else
6193 no_cache=1
6194 fi
6195
6196 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6197
6198 fi;
6199
6200 eval "$ac_cv_use_protocol"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6203 fi
6204
6205 if test "$wxUSE_PROTOCOL" = yes; then
6206 echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6
6208 else
6209 echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6
6211 fi
6212
6213
6214 enablestring=
6215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 no_cache=0
6218 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6219 if test "${enable_protocol_http+set}" = set; then
6220 enableval="$enable_protocol_http"
6221
6222 if test "$enableval" = yes; then
6223 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6224 else
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6226 fi
6227
6228 else
6229
6230 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x ; then
6232 eval "DEFAULT_$LINE"
6233 else
6234 no_cache=1
6235 fi
6236
6237 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6238
6239 fi;
6240
6241 eval "$ac_cv_use_protocol_http"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6244 fi
6245
6246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6247 echo "$as_me:$LINENO: result: yes" >&5
6248 echo "${ECHO_T}yes" >&6
6249 else
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6252 fi
6253
6254
6255 enablestring=
6256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 no_cache=0
6259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6260 if test "${enable_protocol_ftp+set}" = set; then
6261 enableval="$enable_protocol_ftp"
6262
6263 if test "$enableval" = yes; then
6264 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6265 else
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6267 fi
6268
6269 else
6270
6271 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x ; then
6273 eval "DEFAULT_$LINE"
6274 else
6275 no_cache=1
6276 fi
6277
6278 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6279
6280 fi;
6281
6282 eval "$ac_cv_use_protocol_ftp"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6285 fi
6286
6287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6288 echo "$as_me:$LINENO: result: yes" >&5
6289 echo "${ECHO_T}yes" >&6
6290 else
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6293 fi
6294
6295
6296 enablestring=
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 no_cache=0
6300 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6301 if test "${enable_protocol_file+set}" = set; then
6302 enableval="$enable_protocol_file"
6303
6304 if test "$enableval" = yes; then
6305 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6306 else
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6308 fi
6309
6310 else
6311
6312 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 else
6316 no_cache=1
6317 fi
6318
6319 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6320
6321 fi;
6322
6323 eval "$ac_cv_use_protocol_file"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6326 fi
6327
6328 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6331 else
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6334 fi
6335
6336
6337
6338
6339
6340 enablestring=
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 no_cache=0
6344 # Check whether --enable-threads or --disable-threads was given.
6345 if test "${enable_threads+set}" = set; then
6346 enableval="$enable_threads"
6347
6348 if test "$enableval" = yes; then
6349 ac_cv_use_threads='wxUSE_THREADS=yes'
6350 else
6351 ac_cv_use_threads='wxUSE_THREADS=no'
6352 fi
6353
6354 else
6355
6356 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6359 else
6360 no_cache=1
6361 fi
6362
6363 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6364
6365 fi;
6366
6367 eval "$ac_cv_use_threads"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6370 fi
6371
6372 if test "$wxUSE_THREADS" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6375 else
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381 if test "$wxUSE_GUI" = "yes"; then
6382
6383
6384
6385 enablestring=
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 no_cache=0
6389 # Check whether --enable-docview or --disable-docview was given.
6390 if test "${enable_docview+set}" = set; then
6391 enableval="$enable_docview"
6392
6393 if test "$enableval" = yes; then
6394 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 else
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6409
6410 fi;
6411
6412 eval "$ac_cv_use_docview"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6415 fi
6416
6417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6420 else
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6423 fi
6424
6425
6426 enablestring=
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 no_cache=0
6430 # Check whether --enable-help or --disable-help was given.
6431 if test "${enable_help+set}" = set; then
6432 enableval="$enable_help"
6433
6434 if test "$enableval" = yes; then
6435 ac_cv_use_help='wxUSE_HELP=yes'
6436 else
6437 ac_cv_use_help='wxUSE_HELP=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6450
6451 fi;
6452
6453 eval "$ac_cv_use_help"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6456 fi
6457
6458 if test "$wxUSE_HELP" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6461 else
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6464 fi
6465
6466
6467 enablestring=
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 no_cache=0
6471 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6472 if test "${enable_mshtmlhelp+set}" = set; then
6473 enableval="$enable_mshtmlhelp"
6474
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6477 else
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6491
6492 fi;
6493
6494 eval "$ac_cv_use_mshtmlhelp"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6497 fi
6498
6499 if test "$wxUSE_MS_HTML_HELP" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6502 else
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6505 fi
6506
6507
6508 enablestring=
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 no_cache=0
6512 # Check whether --enable-html or --disable-html was given.
6513 if test "${enable_html+set}" = set; then
6514 enableval="$enable_html"
6515
6516 if test "$enableval" = yes; then
6517 ac_cv_use_html='wxUSE_HTML=yes'
6518 else
6519 ac_cv_use_html='wxUSE_HTML=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6532
6533 fi;
6534
6535 eval "$ac_cv_use_html"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6538 fi
6539
6540 if test "$wxUSE_HTML" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6543 else
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6546 fi
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6554 if test "${enable_htmlhelp+set}" = set; then
6555 enableval="$enable_htmlhelp"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6559 else
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6573
6574 fi;
6575
6576 eval "$ac_cv_use_htmlhelp"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_WXHTML_HELP" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-xrc or --disable-xrc was given.
6595 if test "${enable_xrc+set}" = set; then
6596 enableval="$enable_xrc"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_xrc='wxUSE_XRC=yes'
6600 else
6601 ac_cv_use_xrc='wxUSE_XRC=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6614
6615 fi;
6616
6617 eval "$ac_cv_use_xrc"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_XRC" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631 enablestring=
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 no_cache=0
6635 # Check whether --enable-constraints or --disable-constraints was given.
6636 if test "${enable_constraints+set}" = set; then
6637 enableval="$enable_constraints"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6641 else
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6655
6656 fi;
6657
6658 eval "$ac_cv_use_constraints"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6661 fi
6662
6663 if test "$wxUSE_CONSTRAINTS" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6666 else
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6669 fi
6670
6671
6672 enablestring=
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 no_cache=0
6676 # Check whether --enable-printarch or --disable-printarch was given.
6677 if test "${enable_printarch+set}" = set; then
6678 enableval="$enable_printarch"
6679
6680 if test "$enableval" = yes; then
6681 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 else
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6696
6697 fi;
6698
6699 eval "$ac_cv_use_printarch"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6702 fi
6703
6704 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6707 else
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6710 fi
6711
6712
6713 enablestring=
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 no_cache=0
6717 # Check whether --enable-mdi or --disable-mdi was given.
6718 if test "${enable_mdi+set}" = set; then
6719 enableval="$enable_mdi"
6720
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mdi='wxUSE_MDI=yes'
6723 else
6724 ac_cv_use_mdi='wxUSE_MDI=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6737
6738 fi;
6739
6740 eval "$ac_cv_use_mdi"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6743 fi
6744
6745 if test "$wxUSE_MDI" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6748 else
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6751 fi
6752
6753
6754 enablestring=
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 no_cache=0
6758 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6759 if test "${enable_mdidoc+set}" = set; then
6760 enableval="$enable_mdidoc"
6761
6762 if test "$enableval" = yes; then
6763 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6764 else
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6766 fi
6767
6768 else
6769
6770 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x ; then
6772 eval "DEFAULT_$LINE"
6773 else
6774 no_cache=1
6775 fi
6776
6777 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6778
6779 fi;
6780
6781 eval "$ac_cv_use_mdidoc"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6789 else
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6792 fi
6793
6794
6795 enablestring=
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 no_cache=0
6799 # Check whether --enable-loggui or --disable-loggui was given.
6800 if test "${enable_loggui+set}" = set; then
6801 enableval="$enable_loggui"
6802
6803 if test "$enableval" = yes; then
6804 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6805 else
6806 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6807 fi
6808
6809 else
6810
6811 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 else
6815 no_cache=1
6816 fi
6817
6818 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6819
6820 fi;
6821
6822 eval "$ac_cv_use_loggui"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 if test "$wxUSE_LOGGUI" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6830 else
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6833 fi
6834
6835
6836 enablestring=
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 no_cache=0
6840 # Check whether --enable-logwin or --disable-logwin was given.
6841 if test "${enable_logwin+set}" = set; then
6842 enableval="$enable_logwin"
6843
6844 if test "$enableval" = yes; then
6845 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6846 else
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6848 fi
6849
6850 else
6851
6852 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x ; then
6854 eval "DEFAULT_$LINE"
6855 else
6856 no_cache=1
6857 fi
6858
6859 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6860
6861 fi;
6862
6863 eval "$ac_cv_use_logwin"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6866 fi
6867
6868 if test "$wxUSE_LOGWINDOW" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6871 else
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6874 fi
6875
6876
6877 enablestring=
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 no_cache=0
6881 # Check whether --enable-logdialog or --disable-logdialog was given.
6882 if test "${enable_logdialog+set}" = set; then
6883 enableval="$enable_logdialog"
6884
6885 if test "$enableval" = yes; then
6886 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6887 else
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6889 fi
6890
6891 else
6892
6893 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x ; then
6895 eval "DEFAULT_$LINE"
6896 else
6897 no_cache=1
6898 fi
6899
6900 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6901
6902 fi;
6903
6904 eval "$ac_cv_use_logdialog"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test "$wxUSE_LOGDIALOG" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6912 else
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6915 fi
6916
6917
6918 enablestring=
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 no_cache=0
6922 # Check whether --enable-webkit or --disable-webkit was given.
6923 if test "${enable_webkit+set}" = set; then
6924 enableval="$enable_webkit"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6928 else
6929 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x ; then
6936 eval "DEFAULT_$LINE"
6937 else
6938 no_cache=1
6939 fi
6940
6941 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6942
6943 fi;
6944
6945 eval "$ac_cv_use_webkit"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test "$wxUSE_WEBKIT" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6953 else
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6956 fi
6957
6958
6959
6960 enablestring=
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 no_cache=0
6964 # Check whether --enable-postscript or --disable-postscript was given.
6965 if test "${enable_postscript+set}" = set; then
6966 enableval="$enable_postscript"
6967
6968 if test "$enableval" = yes; then
6969 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6970 else
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6972 fi
6973
6974 else
6975
6976 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6979 else
6980 no_cache=1
6981 fi
6982
6983 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6984
6985 fi;
6986
6987 eval "$ac_cv_use_postscript"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6990 fi
6991
6992 if test "$wxUSE_POSTSCRIPT" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6995 else
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
6998 fi
6999
7000
7001
7002
7003
7004 enablestring=
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 no_cache=0
7008 # Check whether --enable-prologio or --disable-prologio was given.
7009 if test "${enable_prologio+set}" = set; then
7010 enableval="$enable_prologio"
7011
7012 if test "$enableval" = yes; then
7013 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7014 else
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7016 fi
7017
7018 else
7019
7020 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x ; then
7022 eval "DEFAULT_$LINE"
7023 else
7024 no_cache=1
7025 fi
7026
7027 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7028
7029 fi;
7030
7031 eval "$ac_cv_use_prologio"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7034 fi
7035
7036 if test "$wxUSE_PROLOGIO" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7039 else
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7042 fi
7043
7044
7045 enablestring=
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 no_cache=0
7049 # Check whether --enable-resources or --disable-resources was given.
7050 if test "${enable_resources+set}" = set; then
7051 enableval="$enable_resources"
7052
7053 if test "$enableval" = yes; then
7054 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7055 else
7056 ac_cv_use_resources='wxUSE_RESOURCES=no'
7057 fi
7058
7059 else
7060
7061 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x ; then
7063 eval "DEFAULT_$LINE"
7064 else
7065 no_cache=1
7066 fi
7067
7068 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7069
7070 fi;
7071
7072 eval "$ac_cv_use_resources"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7075 fi
7076
7077 if test "$wxUSE_RESOURCES" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7080 else
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7083 fi
7084
7085
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-clipboard or --disable-clipboard was given.
7093 if test "${enable_clipboard+set}" = set; then
7094 enableval="$enable_clipboard"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7098 else
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7112
7113 fi;
7114
7115 eval "$ac_cv_use_clipboard"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_CLIPBOARD" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-dnd or --disable-dnd was given.
7134 if test "${enable_dnd+set}" = set; then
7135 enableval="$enable_dnd"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7139 else
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7153
7154 fi;
7155
7156 eval "$ac_cv_use_dnd"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-metafile or --disable-metafile was given.
7175 if test "${enable_metafile+set}" = set; then
7176 enableval="$enable_metafile"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7180 else
7181 ac_cv_use_metafile='wxUSE_METAFILE=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7194
7195 fi;
7196
7197 eval "$ac_cv_use_metafile"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_METAFILE" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211
7212
7213
7214 enablestring=
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 no_cache=0
7218 # Check whether --enable-controls or --disable-controls was given.
7219 if test "${enable_controls+set}" = set; then
7220 enableval="$enable_controls"
7221
7222 if test "$enableval" = yes; then
7223 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7224 else
7225 ac_cv_use_controls='wxUSE_CONTROLS=no'
7226 fi
7227
7228 else
7229
7230 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x ; then
7232 eval "DEFAULT_$LINE"
7233 else
7234 no_cache=1
7235 fi
7236
7237 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7238
7239 fi;
7240
7241 eval "$ac_cv_use_controls"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_CONTROLS" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7249 else
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7252 fi
7253
7254
7255 if test "$wxUSE_CONTROLS" = "yes"; then
7256 DEFAULT_wxUSE_ACCEL=yes
7257 DEFAULT_wxUSE_BMPBUTTON=yes
7258 DEFAULT_wxUSE_BUTTON=yes
7259 DEFAULT_wxUSE_CALCTRL=yes
7260 DEFAULT_wxUSE_CARET=yes
7261 DEFAULT_wxUSE_COMBOBOX=yes
7262 DEFAULT_wxUSE_CHECKBOX=yes
7263 DEFAULT_wxUSE_CHECKLISTBOX=yes
7264 DEFAULT_wxUSE_CHOICE=yes
7265 DEFAULT_wxUSE_CHOICEBOOK=yes
7266 DEFAULT_wxUSE_DATEPICKCTRL=yes
7267 DEFAULT_wxUSE_GAUGE=yes
7268 DEFAULT_wxUSE_GRID=yes
7269 DEFAULT_wxUSE_IMAGLIST=yes
7270 DEFAULT_wxUSE_LISTBOOK=yes
7271 DEFAULT_wxUSE_LISTBOX=yes
7272 DEFAULT_wxUSE_LISTCTRL=yes
7273 DEFAULT_wxUSE_NOTEBOOK=yes
7274 DEFAULT_wxUSE_RADIOBOX=yes
7275 DEFAULT_wxUSE_RADIOBTN=yes
7276 DEFAULT_wxUSE_SASH=yes
7277 DEFAULT_wxUSE_SCROLLBAR=yes
7278 DEFAULT_wxUSE_SLIDER=yes
7279 DEFAULT_wxUSE_SPINBTN=yes
7280 DEFAULT_wxUSE_SPINCTRL=yes
7281 DEFAULT_wxUSE_SPLITTER=yes
7282 DEFAULT_wxUSE_STATBMP=yes
7283 DEFAULT_wxUSE_STATBOX=yes
7284 DEFAULT_wxUSE_STATLINE=yes
7285 DEFAULT_wxUSE_STATUSBAR=yes
7286 DEFAULT_wxUSE_TAB_DIALOG=yes
7287 DEFAULT_wxUSE_TOGGLEBTN=yes
7288 DEFAULT_wxUSE_TOOLBAR=yes
7289 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7290 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7291 DEFAULT_wxUSE_TOOLTIPS=yes
7292 DEFAULT_wxUSE_TREECTRL=yes
7293 DEFAULT_wxUSE_POPUPWIN=yes
7294 DEFAULT_wxUSE_TIPWINDOW=yes
7295 elif test "$wxUSE_CONTROLS" = "no"; then
7296 DEFAULT_wxUSE_ACCEL=no
7297 DEFAULT_wxUSE_BMPBUTTON=no
7298 DEFAULT_wxUSE_BUTTON=no
7299 DEFAULT_wxUSE_CALCTRL=no
7300 DEFAULT_wxUSE_CARET=no
7301 DEFAULT_wxUSE_COMBOBOX=no
7302 DEFAULT_wxUSE_CHECKBOX=no
7303 DEFAULT_wxUSE_CHECKLISTBOX=no
7304 DEFAULT_wxUSE_CHOICE=no
7305 DEFAULT_wxUSE_CHOICEBOOK=no
7306 DEFAULT_wxUSE_DATEPICKCTRL=no
7307 DEFAULT_wxUSE_GAUGE=no
7308 DEFAULT_wxUSE_GRID=no
7309 DEFAULT_wxUSE_IMAGLIST=no
7310 DEFAULT_wxUSE_LISTBOOK=no
7311 DEFAULT_wxUSE_LISTBOX=no
7312 DEFAULT_wxUSE_LISTCTRL=no
7313 DEFAULT_wxUSE_NOTEBOOK=no
7314 DEFAULT_wxUSE_RADIOBOX=no
7315 DEFAULT_wxUSE_RADIOBTN=no
7316 DEFAULT_wxUSE_SASH=no
7317 DEFAULT_wxUSE_SCROLLBAR=no
7318 DEFAULT_wxUSE_SLIDER=no
7319 DEFAULT_wxUSE_SPINBTN=no
7320 DEFAULT_wxUSE_SPINCTRL=no
7321 DEFAULT_wxUSE_SPLITTER=no
7322 DEFAULT_wxUSE_STATBMP=no
7323 DEFAULT_wxUSE_STATBOX=no
7324 DEFAULT_wxUSE_STATLINE=no
7325 DEFAULT_wxUSE_STATUSBAR=no
7326 DEFAULT_wxUSE_TAB_DIALOG=no
7327 DEFAULT_wxUSE_TOGGLEBTN=no
7328 DEFAULT_wxUSE_TOOLBAR=no
7329 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7330 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7331 DEFAULT_wxUSE_TOOLTIPS=no
7332 DEFAULT_wxUSE_TREECTRL=no
7333 DEFAULT_wxUSE_POPUPWIN=no
7334 DEFAULT_wxUSE_TIPWINDOW=no
7335 fi
7336
7337
7338 enablestring=
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 no_cache=0
7342 # Check whether --enable-accel or --disable-accel was given.
7343 if test "${enable_accel+set}" = set; then
7344 enableval="$enable_accel"
7345
7346 if test "$enableval" = yes; then
7347 ac_cv_use_accel='wxUSE_ACCEL=yes'
7348 else
7349 ac_cv_use_accel='wxUSE_ACCEL=no'
7350 fi
7351
7352 else
7353
7354 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x ; then
7356 eval "DEFAULT_$LINE"
7357 else
7358 no_cache=1
7359 fi
7360
7361 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7362
7363 fi;
7364
7365 eval "$ac_cv_use_accel"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7368 fi
7369
7370 if test "$wxUSE_ACCEL" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7373 else
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7376 fi
7377
7378
7379 enablestring=
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 no_cache=0
7383 # Check whether --enable-button or --disable-button was given.
7384 if test "${enable_button+set}" = set; then
7385 enableval="$enable_button"
7386
7387 if test "$enableval" = yes; then
7388 ac_cv_use_button='wxUSE_BUTTON=yes'
7389 else
7390 ac_cv_use_button='wxUSE_BUTTON=no'
7391 fi
7392
7393 else
7394
7395 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7398 else
7399 no_cache=1
7400 fi
7401
7402 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7403
7404 fi;
7405
7406 eval "$ac_cv_use_button"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7409 fi
7410
7411 if test "$wxUSE_BUTTON" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7414 else
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7417 fi
7418
7419
7420 enablestring=
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 no_cache=0
7424 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7425 if test "${enable_bmpbutton+set}" = set; then
7426 enableval="$enable_bmpbutton"
7427
7428 if test "$enableval" = yes; then
7429 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7430 else
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7432 fi
7433
7434 else
7435
7436 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 else
7440 no_cache=1
7441 fi
7442
7443 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7444
7445 fi;
7446
7447 eval "$ac_cv_use_bmpbutton"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7450 fi
7451
7452 if test "$wxUSE_BMPBUTTON" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7455 else
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7458 fi
7459
7460
7461 enablestring=
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 no_cache=0
7465 # Check whether --enable-calendar or --disable-calendar was given.
7466 if test "${enable_calendar+set}" = set; then
7467 enableval="$enable_calendar"
7468
7469 if test "$enableval" = yes; then
7470 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7471 else
7472 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7473 fi
7474
7475 else
7476
7477 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x ; then
7479 eval "DEFAULT_$LINE"
7480 else
7481 no_cache=1
7482 fi
7483
7484 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7485
7486 fi;
7487
7488 eval "$ac_cv_use_calendar"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7491 fi
7492
7493 if test "$wxUSE_CALCTRL" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7496 else
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7499 fi
7500
7501
7502 enablestring=
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 no_cache=0
7506 # Check whether --enable-caret or --disable-caret was given.
7507 if test "${enable_caret+set}" = set; then
7508 enableval="$enable_caret"
7509
7510 if test "$enableval" = yes; then
7511 ac_cv_use_caret='wxUSE_CARET=yes'
7512 else
7513 ac_cv_use_caret='wxUSE_CARET=no'
7514 fi
7515
7516 else
7517
7518 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x ; then
7520 eval "DEFAULT_$LINE"
7521 else
7522 no_cache=1
7523 fi
7524
7525 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7526
7527 fi;
7528
7529 eval "$ac_cv_use_caret"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7532 fi
7533
7534 if test "$wxUSE_CARET" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7537 else
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7540 fi
7541
7542
7543 enablestring=
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 no_cache=0
7547 # Check whether --enable-checkbox or --disable-checkbox was given.
7548 if test "${enable_checkbox+set}" = set; then
7549 enableval="$enable_checkbox"
7550
7551 if test "$enableval" = yes; then
7552 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7553 else
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7555 fi
7556
7557 else
7558
7559 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x ; then
7561 eval "DEFAULT_$LINE"
7562 else
7563 no_cache=1
7564 fi
7565
7566 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7567
7568 fi;
7569
7570 eval "$ac_cv_use_checkbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7573 fi
7574
7575 if test "$wxUSE_CHECKBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7578 else
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7581 fi
7582
7583
7584 enablestring=
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 no_cache=0
7588 # Check whether --enable-checklst or --disable-checklst was given.
7589 if test "${enable_checklst+set}" = set; then
7590 enableval="$enable_checklst"
7591
7592 if test "$enableval" = yes; then
7593 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7594 else
7595 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7596 fi
7597
7598 else
7599
7600 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x ; then
7602 eval "DEFAULT_$LINE"
7603 else
7604 no_cache=1
7605 fi
7606
7607 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7608
7609 fi;
7610
7611 eval "$ac_cv_use_checklst"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7614 fi
7615
7616 if test "$wxUSE_CHECKLST" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7619 else
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7622 fi
7623
7624
7625 enablestring=
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 no_cache=0
7629 # Check whether --enable-choice or --disable-choice was given.
7630 if test "${enable_choice+set}" = set; then
7631 enableval="$enable_choice"
7632
7633 if test "$enableval" = yes; then
7634 ac_cv_use_choice='wxUSE_CHOICE=yes'
7635 else
7636 ac_cv_use_choice='wxUSE_CHOICE=no'
7637 fi
7638
7639 else
7640
7641 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x ; then
7643 eval "DEFAULT_$LINE"
7644 else
7645 no_cache=1
7646 fi
7647
7648 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7649
7650 fi;
7651
7652 eval "$ac_cv_use_choice"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7655 fi
7656
7657 if test "$wxUSE_CHOICE" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7660 else
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7663 fi
7664
7665
7666 enablestring=
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 no_cache=0
7670 # Check whether --enable-choicebook or --disable-choicebook was given.
7671 if test "${enable_choicebook+set}" = set; then
7672 enableval="$enable_choicebook"
7673
7674 if test "$enableval" = yes; then
7675 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7676 else
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7678 fi
7679
7680 else
7681
7682 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x ; then
7684 eval "DEFAULT_$LINE"
7685 else
7686 no_cache=1
7687 fi
7688
7689 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7690
7691 fi;
7692
7693 eval "$ac_cv_use_choicebook"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7696 fi
7697
7698 if test "$wxUSE_CHOICEBOOK" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7701 else
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7704 fi
7705
7706
7707 enablestring=
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 no_cache=0
7711 # Check whether --enable-combobox or --disable-combobox was given.
7712 if test "${enable_combobox+set}" = set; then
7713 enableval="$enable_combobox"
7714
7715 if test "$enableval" = yes; then
7716 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7717 else
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7719 fi
7720
7721 else
7722
7723 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7726 else
7727 no_cache=1
7728 fi
7729
7730 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7731
7732 fi;
7733
7734 eval "$ac_cv_use_combobox"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7737 fi
7738
7739 if test "$wxUSE_COMBOBOX" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7742 else
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7745 fi
7746
7747
7748 enablestring=
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 no_cache=0
7752 # Check whether --enable-datepick or --disable-datepick was given.
7753 if test "${enable_datepick+set}" = set; then
7754 enableval="$enable_datepick"
7755
7756 if test "$enableval" = yes; then
7757 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7758 else
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7772
7773 fi;
7774
7775 eval "$ac_cv_use_datepick"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7778 fi
7779
7780 if test "$wxUSE_DATEPICKCTRL" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7783 else
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7786 fi
7787
7788
7789 enablestring=
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 no_cache=0
7793 # Check whether --enable-display or --disable-display was given.
7794 if test "${enable_display+set}" = set; then
7795 enableval="$enable_display"
7796
7797 if test "$enableval" = yes; then
7798 ac_cv_use_display='wxUSE_DISPLAY=yes'
7799 else
7800 ac_cv_use_display='wxUSE_DISPLAY=no'
7801 fi
7802
7803 else
7804
7805 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7808 else
7809 no_cache=1
7810 fi
7811
7812 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7813
7814 fi;
7815
7816 eval "$ac_cv_use_display"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7819 fi
7820
7821 if test "$wxUSE_DISPLAY" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7824 else
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7827 fi
7828
7829
7830 enablestring=
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 no_cache=0
7834 # Check whether --enable-gauge or --disable-gauge was given.
7835 if test "${enable_gauge+set}" = set; then
7836 enableval="$enable_gauge"
7837
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7840 else
7841 ac_cv_use_gauge='wxUSE_GAUGE=no'
7842 fi
7843
7844 else
7845
7846 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x ; then
7848 eval "DEFAULT_$LINE"
7849 else
7850 no_cache=1
7851 fi
7852
7853 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7854
7855 fi;
7856
7857 eval "$ac_cv_use_gauge"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7860 fi
7861
7862 if test "$wxUSE_GAUGE" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7865 else
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7868 fi
7869
7870
7871 enablestring=
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 no_cache=0
7875 # Check whether --enable-grid or --disable-grid was given.
7876 if test "${enable_grid+set}" = set; then
7877 enableval="$enable_grid"
7878
7879 if test "$enableval" = yes; then
7880 ac_cv_use_grid='wxUSE_GRID=yes'
7881 else
7882 ac_cv_use_grid='wxUSE_GRID=no'
7883 fi
7884
7885 else
7886
7887 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7890 else
7891 no_cache=1
7892 fi
7893
7894 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7895
7896 fi;
7897
7898 eval "$ac_cv_use_grid"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7901 fi
7902
7903 if test "$wxUSE_GRID" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7906 else
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7909 fi
7910
7911
7912 enablestring=
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 no_cache=0
7916 # Check whether --enable-imaglist or --disable-imaglist was given.
7917 if test "${enable_imaglist+set}" = set; then
7918 enableval="$enable_imaglist"
7919
7920 if test "$enableval" = yes; then
7921 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7922 else
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7924 fi
7925
7926 else
7927
7928 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x ; then
7930 eval "DEFAULT_$LINE"
7931 else
7932 no_cache=1
7933 fi
7934
7935 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7936
7937 fi;
7938
7939 eval "$ac_cv_use_imaglist"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7942 fi
7943
7944 if test "$wxUSE_IMAGLIST" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7947 else
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7950 fi
7951
7952
7953 enablestring=
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 no_cache=0
7957 # Check whether --enable-listbook or --disable-listbook was given.
7958 if test "${enable_listbook+set}" = set; then
7959 enableval="$enable_listbook"
7960
7961 if test "$enableval" = yes; then
7962 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7963 else
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7965 fi
7966
7967 else
7968
7969 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x ; then
7971 eval "DEFAULT_$LINE"
7972 else
7973 no_cache=1
7974 fi
7975
7976 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7977
7978 fi;
7979
7980 eval "$ac_cv_use_listbook"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7983 fi
7984
7985 if test "$wxUSE_LISTBOOK" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7988 else
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7991 fi
7992
7993
7994 enablestring=
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 no_cache=0
7998 # Check whether --enable-listbox or --disable-listbox was given.
7999 if test "${enable_listbox+set}" = set; then
8000 enableval="$enable_listbox"
8001
8002 if test "$enableval" = yes; then
8003 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8004 else
8005 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8006 fi
8007
8008 else
8009
8010 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x ; then
8012 eval "DEFAULT_$LINE"
8013 else
8014 no_cache=1
8015 fi
8016
8017 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8018
8019 fi;
8020
8021 eval "$ac_cv_use_listbox"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8024 fi
8025
8026 if test "$wxUSE_LISTBOX" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8029 else
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8032 fi
8033
8034
8035 enablestring=
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 no_cache=0
8039 # Check whether --enable-listctrl or --disable-listctrl was given.
8040 if test "${enable_listctrl+set}" = set; then
8041 enableval="$enable_listctrl"
8042
8043 if test "$enableval" = yes; then
8044 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8045 else
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8047 fi
8048
8049 else
8050
8051 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8054 else
8055 no_cache=1
8056 fi
8057
8058 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8059
8060 fi;
8061
8062 eval "$ac_cv_use_listctrl"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8065 fi
8066
8067 if test "$wxUSE_LISTCTRL" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8070 else
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8073 fi
8074
8075
8076 enablestring=
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 no_cache=0
8080 # Check whether --enable-notebook or --disable-notebook was given.
8081 if test "${enable_notebook+set}" = set; then
8082 enableval="$enable_notebook"
8083
8084 if test "$enableval" = yes; then
8085 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8086 else
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8088 fi
8089
8090 else
8091
8092 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8095 else
8096 no_cache=1
8097 fi
8098
8099 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8100
8101 fi;
8102
8103 eval "$ac_cv_use_notebook"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8106 fi
8107
8108 if test "$wxUSE_NOTEBOOK" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8111 else
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8114 fi
8115
8116
8117 enablestring=
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 no_cache=0
8121 # Check whether --enable-radiobox or --disable-radiobox was given.
8122 if test "${enable_radiobox+set}" = set; then
8123 enableval="$enable_radiobox"
8124
8125 if test "$enableval" = yes; then
8126 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8127 else
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8129 fi
8130
8131 else
8132
8133 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8136 else
8137 no_cache=1
8138 fi
8139
8140 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8141
8142 fi;
8143
8144 eval "$ac_cv_use_radiobox"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8147 fi
8148
8149 if test "$wxUSE_RADIOBOX" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8152 else
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8155 fi
8156
8157
8158 enablestring=
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 no_cache=0
8162 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8163 if test "${enable_radiobtn+set}" = set; then
8164 enableval="$enable_radiobtn"
8165
8166 if test "$enableval" = yes; then
8167 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8168 else
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8170 fi
8171
8172 else
8173
8174 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8177 else
8178 no_cache=1
8179 fi
8180
8181 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8182
8183 fi;
8184
8185 eval "$ac_cv_use_radiobtn"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8188 fi
8189
8190 if test "$wxUSE_RADIOBTN" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8193 else
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8196 fi
8197
8198
8199 enablestring=
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 no_cache=0
8203 # Check whether --enable-sash or --disable-sash was given.
8204 if test "${enable_sash+set}" = set; then
8205 enableval="$enable_sash"
8206
8207 if test "$enableval" = yes; then
8208 ac_cv_use_sash='wxUSE_SASH=yes'
8209 else
8210 ac_cv_use_sash='wxUSE_SASH=no'
8211 fi
8212
8213 else
8214
8215 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8218 else
8219 no_cache=1
8220 fi
8221
8222 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8223
8224 fi;
8225
8226 eval "$ac_cv_use_sash"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8229 fi
8230
8231 if test "$wxUSE_SASH" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8234 else
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8237 fi
8238
8239
8240 enablestring=
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 no_cache=0
8244 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8245 if test "${enable_scrollbar+set}" = set; then
8246 enableval="$enable_scrollbar"
8247
8248 if test "$enableval" = yes; then
8249 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8250 else
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8252 fi
8253
8254 else
8255
8256 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8259 else
8260 no_cache=1
8261 fi
8262
8263 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8264
8265 fi;
8266
8267 eval "$ac_cv_use_scrollbar"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8270 fi
8271
8272 if test "$wxUSE_SCROLLBAR" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8275 else
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8278 fi
8279
8280
8281 enablestring=
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 no_cache=0
8285 # Check whether --enable-slider or --disable-slider was given.
8286 if test "${enable_slider+set}" = set; then
8287 enableval="$enable_slider"
8288
8289 if test "$enableval" = yes; then
8290 ac_cv_use_slider='wxUSE_SLIDER=yes'
8291 else
8292 ac_cv_use_slider='wxUSE_SLIDER=no'
8293 fi
8294
8295 else
8296
8297 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8300 else
8301 no_cache=1
8302 fi
8303
8304 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8305
8306 fi;
8307
8308 eval "$ac_cv_use_slider"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test "$wxUSE_SLIDER" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8316 else
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8319 fi
8320
8321
8322 enablestring=
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 no_cache=0
8326 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8327 if test "${enable_spinbtn+set}" = set; then
8328 enableval="$enable_spinbtn"
8329
8330 if test "$enableval" = yes; then
8331 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8332 else
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8334 fi
8335
8336 else
8337
8338 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8341 else
8342 no_cache=1
8343 fi
8344
8345 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8346
8347 fi;
8348
8349 eval "$ac_cv_use_spinbtn"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8352 fi
8353
8354 if test "$wxUSE_SPINBTN" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8357 else
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8360 fi
8361
8362
8363 enablestring=
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 no_cache=0
8367 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8368 if test "${enable_spinctrl+set}" = set; then
8369 enableval="$enable_spinctrl"
8370
8371 if test "$enableval" = yes; then
8372 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8373 else
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8375 fi
8376
8377 else
8378
8379 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x ; then
8381 eval "DEFAULT_$LINE"
8382 else
8383 no_cache=1
8384 fi
8385
8386 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8387
8388 fi;
8389
8390 eval "$ac_cv_use_spinctrl"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test "$wxUSE_SPINCTRL" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8398 else
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8401 fi
8402
8403
8404 enablestring=
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 no_cache=0
8408 # Check whether --enable-splitter or --disable-splitter was given.
8409 if test "${enable_splitter+set}" = set; then
8410 enableval="$enable_splitter"
8411
8412 if test "$enableval" = yes; then
8413 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8414 else
8415 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8416 fi
8417
8418 else
8419
8420 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x ; then
8422 eval "DEFAULT_$LINE"
8423 else
8424 no_cache=1
8425 fi
8426
8427 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8428
8429 fi;
8430
8431 eval "$ac_cv_use_splitter"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8434 fi
8435
8436 if test "$wxUSE_SPLITTER" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8439 else
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8442 fi
8443
8444
8445 enablestring=
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 no_cache=0
8449 # Check whether --enable-statbmp or --disable-statbmp was given.
8450 if test "${enable_statbmp+set}" = set; then
8451 enableval="$enable_statbmp"
8452
8453 if test "$enableval" = yes; then
8454 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8455 else
8456 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8457 fi
8458
8459 else
8460
8461 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8464 else
8465 no_cache=1
8466 fi
8467
8468 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8469
8470 fi;
8471
8472 eval "$ac_cv_use_statbmp"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8475 fi
8476
8477 if test "$wxUSE_STATBMP" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8480 else
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8483 fi
8484
8485
8486 enablestring=
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 no_cache=0
8490 # Check whether --enable-statbox or --disable-statbox was given.
8491 if test "${enable_statbox+set}" = set; then
8492 enableval="$enable_statbox"
8493
8494 if test "$enableval" = yes; then
8495 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8496 else
8497 ac_cv_use_statbox='wxUSE_STATBOX=no'
8498 fi
8499
8500 else
8501
8502 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x ; then
8504 eval "DEFAULT_$LINE"
8505 else
8506 no_cache=1
8507 fi
8508
8509 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8510
8511 fi;
8512
8513 eval "$ac_cv_use_statbox"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8516 fi
8517
8518 if test "$wxUSE_STATBOX" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8521 else
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8524 fi
8525
8526
8527 enablestring=
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 no_cache=0
8531 # Check whether --enable-statline or --disable-statline was given.
8532 if test "${enable_statline+set}" = set; then
8533 enableval="$enable_statline"
8534
8535 if test "$enableval" = yes; then
8536 ac_cv_use_statline='wxUSE_STATLINE=yes'
8537 else
8538 ac_cv_use_statline='wxUSE_STATLINE=no'
8539 fi
8540
8541 else
8542
8543 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x ; then
8545 eval "DEFAULT_$LINE"
8546 else
8547 no_cache=1
8548 fi
8549
8550 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8551
8552 fi;
8553
8554 eval "$ac_cv_use_statline"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8557 fi
8558
8559 if test "$wxUSE_STATLINE" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8562 else
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8565 fi
8566
8567
8568 enablestring=
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 no_cache=0
8572 # Check whether --enable-stattext or --disable-stattext was given.
8573 if test "${enable_stattext+set}" = set; then
8574 enableval="$enable_stattext"
8575
8576 if test "$enableval" = yes; then
8577 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8578 else
8579 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8580 fi
8581
8582 else
8583
8584 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x ; then
8586 eval "DEFAULT_$LINE"
8587 else
8588 no_cache=1
8589 fi
8590
8591 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8592
8593 fi;
8594
8595 eval "$ac_cv_use_stattext"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8598 fi
8599
8600 if test "$wxUSE_STATTEXT" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8603 else
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8606 fi
8607
8608
8609 enablestring=
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 no_cache=0
8613 # Check whether --enable-statusbar or --disable-statusbar was given.
8614 if test "${enable_statusbar+set}" = set; then
8615 enableval="$enable_statusbar"
8616
8617 if test "$enableval" = yes; then
8618 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8619 else
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8621 fi
8622
8623 else
8624
8625 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x ; then
8627 eval "DEFAULT_$LINE"
8628 else
8629 no_cache=1
8630 fi
8631
8632 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8633
8634 fi;
8635
8636 eval "$ac_cv_use_statusbar"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8639 fi
8640
8641 if test "$wxUSE_STATUSBAR" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8644 else
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8647 fi
8648
8649
8650 enablestring=
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 no_cache=0
8654 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8655 if test "${enable_tabdialog+set}" = set; then
8656 enableval="$enable_tabdialog"
8657
8658 if test "$enableval" = yes; then
8659 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8660 else
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8662 fi
8663
8664 else
8665
8666 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x ; then
8668 eval "DEFAULT_$LINE"
8669 else
8670 no_cache=1
8671 fi
8672
8673 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8674
8675 fi;
8676
8677 eval "$ac_cv_use_tabdialog"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8680 fi
8681
8682 if test "$wxUSE_TABDIALOG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8685 else
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8688 fi
8689
8690
8691 enablestring=
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 no_cache=0
8695 # Check whether --enable-textctrl or --disable-textctrl was given.
8696 if test "${enable_textctrl+set}" = set; then
8697 enableval="$enable_textctrl"
8698
8699 if test "$enableval" = yes; then
8700 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8701 else
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8703 fi
8704
8705 else
8706
8707 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 else
8711 no_cache=1
8712 fi
8713
8714 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8715
8716 fi;
8717
8718 eval "$ac_cv_use_textctrl"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_TEXTCTRL" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8726 else
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8729 fi
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8737 if test "${enable_togglebtn+set}" = set; then
8738 enableval="$enable_togglebtn"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8742 else
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8744 fi
8745
8746 else
8747
8748 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8756
8757 fi;
8758
8759 eval "$ac_cv_use_togglebtn"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_TOGGLEBTN" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-toolbar or --disable-toolbar was given.
8778 if test "${enable_toolbar+set}" = set; then
8779 enableval="$enable_toolbar"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8783 else
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8785 fi
8786
8787 else
8788
8789 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8797
8798 fi;
8799
8800 eval "$ac_cv_use_toolbar"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_TOOLBAR" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8819 if test "${enable_tbarnative+set}" = set; then
8820 enableval="$enable_tbarnative"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8824 else
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8826 fi
8827
8828 else
8829
8830 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8838
8839 fi;
8840
8841 eval "$ac_cv_use_tbarnative"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8860 if test "${enable_tbarsmpl+set}" = set; then
8861 enableval="$enable_tbarsmpl"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8865 else
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8867 fi
8868
8869 else
8870
8871 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8879
8880 fi;
8881
8882 eval "$ac_cv_use_tbarsmpl"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-treectrl or --disable-treectrl was given.
8901 if test "${enable_treectrl+set}" = set; then
8902 enableval="$enable_treectrl"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8906 else
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8908 fi
8909
8910 else
8911
8912 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8920
8921 fi;
8922
8923 eval "$ac_cv_use_treectrl"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_TREECTRL" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8942 if test "${enable_tipwindow+set}" = set; then
8943 enableval="$enable_tipwindow"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8947 else
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8949 fi
8950
8951 else
8952
8953 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8961
8962 fi;
8963
8964 eval "$ac_cv_use_tipwindow"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_TIPWINDOW" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-popupwin or --disable-popupwin was given.
8983 if test "${enable_popupwin+set}" = set; then
8984 enableval="$enable_popupwin"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8988 else
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8990 fi
8991
8992 else
8993
8994 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9002
9003 fi;
9004
9005 eval "$ac_cv_use_popupwin"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_POPUPWIN" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019
9020
9021 enablestring=
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 no_cache=0
9025 # Check whether --enable-commondlg or --disable-commondlg was given.
9026 if test "${enable_commondlg+set}" = set; then
9027 enableval="$enable_commondlg"
9028
9029 if test "$enableval" = yes; then
9030 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9031 else
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9045
9046 fi;
9047
9048 eval "$ac_cv_use_commondlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9051 fi
9052
9053 if test "$wxUSE_COMMONDLGS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9056 else
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9059 fi
9060
9061
9062 enablestring=
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 no_cache=0
9066 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9067 if test "${enable_choicedlg+set}" = set; then
9068 enableval="$enable_choicedlg"
9069
9070 if test "$enableval" = yes; then
9071 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9072 else
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9074 fi
9075
9076 else
9077
9078 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9081 else
9082 no_cache=1
9083 fi
9084
9085 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9086
9087 fi;
9088
9089 eval "$ac_cv_use_choicedlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9092 fi
9093
9094 if test "$wxUSE_CHOICEDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9097 else
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9100 fi
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-coldlg or --disable-coldlg was given.
9108 if test "${enable_coldlg+set}" = set; then
9109 enableval="$enable_coldlg"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9113 else
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9115 fi
9116
9117 else
9118
9119 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9127
9128 fi;
9129
9130 eval "$ac_cv_use_coldlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_COLOURDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-filedlg or --disable-filedlg was given.
9149 if test "${enable_filedlg+set}" = set; then
9150 enableval="$enable_filedlg"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9154 else
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9168
9169 fi;
9170
9171 eval "$ac_cv_use_filedlg"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_FILEDLG" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-finddlg or --disable-finddlg was given.
9190 if test "${enable_finddlg+set}" = set; then
9191 enableval="$enable_finddlg"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9195 else
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9209
9210 fi;
9211
9212 eval "$ac_cv_use_finddlg"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_FINDREPLDLG" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9231 if test "${enable_fontdlg+set}" = set; then
9232 enableval="$enable_fontdlg"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9236 else
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9250
9251 fi;
9252
9253 eval "$ac_cv_use_fontdlg"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_FONTDLG" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9272 if test "${enable_dirdlg+set}" = set; then
9273 enableval="$enable_dirdlg"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9277 else
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9291
9292 fi;
9293
9294 eval "$ac_cv_use_dirdlg"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_DIRDLG" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9313 if test "${enable_msgdlg+set}" = set; then
9314 enableval="$enable_msgdlg"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9318 else
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9332
9333 fi;
9334
9335 eval "$ac_cv_use_msgdlg"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_MSGDLG" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9354 if test "${enable_numberdlg+set}" = set; then
9355 enableval="$enable_numberdlg"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9359 else
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9373
9374 fi;
9375
9376 eval "$ac_cv_use_numberdlg"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_NUMBERDLG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-splash or --disable-splash was given.
9395 if test "${enable_splash+set}" = set; then
9396 enableval="$enable_splash"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_splash='wxUSE_SPLASH=yes'
9400 else
9401 ac_cv_use_splash='wxUSE_SPLASH=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9414
9415 fi;
9416
9417 eval "$ac_cv_use_splash"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_SPLASH" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-textdlg or --disable-textdlg was given.
9436 if test "${enable_textdlg+set}" = set; then
9437 enableval="$enable_textdlg"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9441 else
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9443 fi
9444
9445 else
9446
9447 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9455
9456 fi;
9457
9458 eval "$ac_cv_use_textdlg"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_TEXTDLG" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9477 if test "${enable_tipdlg+set}" = set; then
9478 enableval="$enable_tipdlg"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9482 else
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9484 fi
9485
9486 else
9487
9488 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9496
9497 fi;
9498
9499 eval "$ac_cv_use_tipdlg"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_STARTUP_TIPS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9518 if test "${enable_progressdlg+set}" = set; then
9519 enableval="$enable_progressdlg"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9523 else
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9537
9538 fi;
9539
9540 eval "$ac_cv_use_progressdlg"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_PROGRESSDLG" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9559 if test "${enable_wizarddlg+set}" = set; then
9560 enableval="$enable_wizarddlg"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9564 else
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9566 fi
9567
9568 else
9569
9570 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9578
9579 fi;
9580
9581 eval "$ac_cv_use_wizarddlg"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_WIZARDDLG" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595
9596
9597 enablestring=
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 no_cache=0
9601 # Check whether --enable-menus or --disable-menus was given.
9602 if test "${enable_menus+set}" = set; then
9603 enableval="$enable_menus"
9604
9605 if test "$enableval" = yes; then
9606 ac_cv_use_menus='wxUSE_MENUS=yes'
9607 else
9608 ac_cv_use_menus='wxUSE_MENUS=no'
9609 fi
9610
9611 else
9612
9613 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x ; then
9615 eval "DEFAULT_$LINE"
9616 else
9617 no_cache=1
9618 fi
9619
9620 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9621
9622 fi;
9623
9624 eval "$ac_cv_use_menus"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9627 fi
9628
9629 if test "$wxUSE_MENUS" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9632 else
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9635 fi
9636
9637
9638 enablestring=
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 no_cache=0
9642 # Check whether --enable-miniframe or --disable-miniframe was given.
9643 if test "${enable_miniframe+set}" = set; then
9644 enableval="$enable_miniframe"
9645
9646 if test "$enableval" = yes; then
9647 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9648 else
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9650 fi
9651
9652 else
9653
9654 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9657 else
9658 no_cache=1
9659 fi
9660
9661 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9662
9663 fi;
9664
9665 eval "$ac_cv_use_miniframe"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9668 fi
9669
9670 if test "$wxUSE_MINIFRAME" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9673 else
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9676 fi
9677
9678
9679 enablestring=
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 no_cache=0
9683 # Check whether --enable-tooltips or --disable-tooltips was given.
9684 if test "${enable_tooltips+set}" = set; then
9685 enableval="$enable_tooltips"
9686
9687 if test "$enableval" = yes; then
9688 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9689 else
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9691 fi
9692
9693 else
9694
9695 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x ; then
9697 eval "DEFAULT_$LINE"
9698 else
9699 no_cache=1
9700 fi
9701
9702 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9703
9704 fi;
9705
9706 eval "$ac_cv_use_tooltips"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9709 fi
9710
9711 if test "$wxUSE_TOOLTIPS" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9714 else
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9717 fi
9718
9719
9720 enablestring=
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 no_cache=0
9724 # Check whether --enable-splines or --disable-splines was given.
9725 if test "${enable_splines+set}" = set; then
9726 enableval="$enable_splines"
9727
9728 if test "$enableval" = yes; then
9729 ac_cv_use_splines='wxUSE_SPLINES=yes'
9730 else
9731 ac_cv_use_splines='wxUSE_SPLINES=no'
9732 fi
9733
9734 else
9735
9736 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x ; then
9738 eval "DEFAULT_$LINE"
9739 else
9740 no_cache=1
9741 fi
9742
9743 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9744
9745 fi;
9746
9747 eval "$ac_cv_use_splines"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9750 fi
9751
9752 if test "$wxUSE_SPLINES" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9755 else
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9758 fi
9759
9760
9761 enablestring=
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 no_cache=0
9765 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9766 if test "${enable_mousewheel+set}" = set; then
9767 enableval="$enable_mousewheel"
9768
9769 if test "$enableval" = yes; then
9770 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9771 else
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9773 fi
9774
9775 else
9776
9777 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x ; then
9779 eval "DEFAULT_$LINE"
9780 else
9781 no_cache=1
9782 fi
9783
9784 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9785
9786 fi;
9787
9788 eval "$ac_cv_use_mousewheel"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9791 fi
9792
9793 if test "$wxUSE_MOUSEWHEEL" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9799 fi
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-validators or --disable-validators was given.
9807 if test "${enable_validators+set}" = set; then
9808 enableval="$enable_validators"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9812 else
9813 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9826
9827 fi;
9828
9829 eval "$ac_cv_use_validators"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_VALIDATORS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9848 if test "${enable_busyinfo+set}" = set; then
9849 enableval="$enable_busyinfo"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9853 else
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9855 fi
9856
9857 else
9858
9859 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9867
9868 fi;
9869
9870 eval "$ac_cv_use_busyinfo"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_BUSYINFO" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 enablestring=
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 no_cache=0
9888 # Check whether --enable-joystick or --disable-joystick was given.
9889 if test "${enable_joystick+set}" = set; then
9890 enableval="$enable_joystick"
9891
9892 if test "$enableval" = yes; then
9893 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9894 else
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9896 fi
9897
9898 else
9899
9900 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 else
9904 no_cache=1
9905 fi
9906
9907 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9908
9909 fi;
9910
9911 eval "$ac_cv_use_joystick"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test "$wxUSE_JOYSTICK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9919 else
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9922 fi
9923
9924
9925 enablestring=
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 no_cache=0
9929 # Check whether --enable-metafile or --disable-metafile was given.
9930 if test "${enable_metafile+set}" = set; then
9931 enableval="$enable_metafile"
9932
9933 if test "$enableval" = yes; then
9934 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9935 else
9936 ac_cv_use_metafile='wxUSE_METAFILE=no'
9937 fi
9938
9939 else
9940
9941 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x ; then
9943 eval "DEFAULT_$LINE"
9944 else
9945 no_cache=1
9946 fi
9947
9948 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9949
9950 fi;
9951
9952 eval "$ac_cv_use_metafile"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test "$wxUSE_METAFILE" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965
9966 enablestring=
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 no_cache=0
9970 # Check whether --enable-dragimage or --disable-dragimage was given.
9971 if test "${enable_dragimage+set}" = set; then
9972 enableval="$enable_dragimage"
9973
9974 if test "$enableval" = yes; then
9975 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9976 else
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9978 fi
9979
9980 else
9981
9982 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x ; then
9984 eval "DEFAULT_$LINE"
9985 else
9986 no_cache=1
9987 fi
9988
9989 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9990
9991 fi;
9992
9993 eval "$ac_cv_use_dragimage"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9996 fi
9997
9998 if test "$wxUSE_DRAGIMAGE" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10004 fi
10005
10006
10007 enablestring=
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 no_cache=0
10011 # Check whether --enable-accessibility or --disable-accessibility was given.
10012 if test "${enable_accessibility+set}" = set; then
10013 enableval="$enable_accessibility"
10014
10015 if test "$enableval" = yes; then
10016 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10017 else
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10019 fi
10020
10021 else
10022
10023 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x ; then
10025 eval "DEFAULT_$LINE"
10026 else
10027 no_cache=1
10028 fi
10029
10030 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10031
10032 fi;
10033
10034 eval "$ac_cv_use_accessibility"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10037 fi
10038
10039 if test "$wxUSE_ACCESSIBILITY" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10042 else
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10045 fi
10046
10047
10048 if test "$wxUSE_MSW" = "1"; then
10049
10050 enablestring=
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10053 no_cache=0
10054 # Check whether --enable-dccache or --disable-dccache was given.
10055 if test "${enable_dccache+set}" = set; then
10056 enableval="$enable_dccache"
10057
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10060 else
10061 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10062 fi
10063
10064 else
10065
10066 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10069 else
10070 no_cache=1
10071 fi
10072
10073 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10074
10075 fi;
10076
10077 eval "$ac_cv_use_dccache"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test "$wxUSE_DC_CACHEING" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090 fi
10091
10092
10093
10094 enablestring=
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10097 no_cache=0
10098 # Check whether --enable-palette or --disable-palette was given.
10099 if test "${enable_palette+set}" = set; then
10100 enableval="$enable_palette"
10101
10102 if test "$enableval" = yes; then
10103 ac_cv_use_palette='wxUSE_PALETTE=yes'
10104 else
10105 ac_cv_use_palette='wxUSE_PALETTE=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10118
10119 fi;
10120
10121 eval "$ac_cv_use_palette"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10124 fi
10125
10126 if test "$wxUSE_PALETTE" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10129 else
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10132 fi
10133
10134
10135 enablestring=
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10138 no_cache=0
10139 # Check whether --enable-image or --disable-image was given.
10140 if test "${enable_image+set}" = set; then
10141 enableval="$enable_image"
10142
10143 if test "$enableval" = yes; then
10144 ac_cv_use_image='wxUSE_IMAGE=yes'
10145 else
10146 ac_cv_use_image='wxUSE_IMAGE=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10159
10160 fi;
10161
10162 eval "$ac_cv_use_image"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10165 fi
10166
10167 if test "$wxUSE_IMAGE" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175
10176 enablestring=
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10179 no_cache=0
10180 # Check whether --enable-gif or --disable-gif was given.
10181 if test "${enable_gif+set}" = set; then
10182 enableval="$enable_gif"
10183
10184 if test "$enableval" = yes; then
10185 ac_cv_use_gif='wxUSE_GIF=yes'
10186 else
10187 ac_cv_use_gif='wxUSE_GIF=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10200
10201 fi;
10202
10203 eval "$ac_cv_use_gif"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10206 fi
10207
10208 if test "$wxUSE_GIF" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10211 else
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10214 fi
10215
10216
10217 enablestring=
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10220 no_cache=0
10221 # Check whether --enable-pcx or --disable-pcx was given.
10222 if test "${enable_pcx+set}" = set; then
10223 enableval="$enable_pcx"
10224
10225 if test "$enableval" = yes; then
10226 ac_cv_use_pcx='wxUSE_PCX=yes'
10227 else
10228 ac_cv_use_pcx='wxUSE_PCX=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10241
10242 fi;
10243
10244 eval "$ac_cv_use_pcx"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10247 fi
10248
10249 if test "$wxUSE_PCX" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10252 else
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10255 fi
10256
10257
10258 enablestring=
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10261 no_cache=0
10262 # Check whether --enable-iff or --disable-iff was given.
10263 if test "${enable_iff+set}" = set; then
10264 enableval="$enable_iff"
10265
10266 if test "$enableval" = yes; then
10267 ac_cv_use_iff='wxUSE_IFF=yes'
10268 else
10269 ac_cv_use_iff='wxUSE_IFF=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10282
10283 fi;
10284
10285 eval "$ac_cv_use_iff"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10288 fi
10289
10290 if test "$wxUSE_IFF" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10293 else
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10296 fi
10297
10298
10299 enablestring=
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10302 no_cache=0
10303 # Check whether --enable-pnm or --disable-pnm was given.
10304 if test "${enable_pnm+set}" = set; then
10305 enableval="$enable_pnm"
10306
10307 if test "$enableval" = yes; then
10308 ac_cv_use_pnm='wxUSE_PNM=yes'
10309 else
10310 ac_cv_use_pnm='wxUSE_PNM=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10323
10324 fi;
10325
10326 eval "$ac_cv_use_pnm"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10329 fi
10330
10331 if test "$wxUSE_PNM" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10334 else
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10337 fi
10338
10339
10340 enablestring=
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10343 no_cache=0
10344 # Check whether --enable-xpm or --disable-xpm was given.
10345 if test "${enable_xpm+set}" = set; then
10346 enableval="$enable_xpm"
10347
10348 if test "$enableval" = yes; then
10349 ac_cv_use_xpm='wxUSE_XPM=yes'
10350 else
10351 ac_cv_use_xpm='wxUSE_XPM=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10364
10365 fi;
10366
10367 eval "$ac_cv_use_xpm"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test "$wxUSE_XPM" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10375 else
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10378 fi
10379
10380
10381 enablestring=
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10384 no_cache=0
10385 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10386 if test "${enable_ico_cur+set}" = set; then
10387 enableval="$enable_ico_cur"
10388
10389 if test "$enableval" = yes; then
10390 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10391 else
10392 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10405
10406 fi;
10407
10408 eval "$ac_cv_use_ico_cur"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10411 fi
10412
10413 if test "$wxUSE_ICO_CUR" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10416 else
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10419 fi
10420
10421
10422 fi
10423
10424
10425
10426 # Check whether --with-flavour or --without-flavour was given.
10427 if test "${with_flavour+set}" = set; then
10428 withval="$with_flavour"
10429 WX_FLAVOUR="$withval"
10430 fi;
10431
10432
10433
10434 enablestring=
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10437 no_cache=0
10438 # Check whether --enable-official_build or --disable-official_build was given.
10439 if test "${enable_official_build+set}" = set; then
10440 enableval="$enable_official_build"
10441
10442 if test "$enableval" = yes; then
10443 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10444 else
10445 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10446 fi
10447
10448 else
10449
10450 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x ; then
10452 eval "DEFAULT_$LINE"
10453 else
10454 no_cache=1
10455 fi
10456
10457 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10458
10459 fi;
10460
10461 eval "$ac_cv_use_official_build"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10464 fi
10465
10466 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10469 else
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10472 fi
10473
10474 # Check whether --enable-vendor or --disable-vendor was given.
10475 if test "${enable_vendor+set}" = set; then
10476 enableval="$enable_vendor"
10477 VENDOR="$enableval"
10478 fi;
10479 if test "x$VENDOR" = "x"; then
10480 VENDOR="custom"
10481 fi
10482
10483
10484
10485
10486 echo "saving argument cache $wx_arg_cache_file"
10487 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10488
10489
10490
10491 echo "$as_me:$LINENO: checking for toolkit" >&5
10492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10493
10494 # In Wine, we need to default to MSW, not GTK or MOTIF
10495 if test "$wxUSE_WINE" = "yes"; then
10496 DEFAULT_DEFAULT_wxUSE_GTK=0
10497 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10498 DEFAULT_DEFAULT_wxUSE_MSW=1
10499 wxUSE_SHARED=no
10500 fi
10501
10502
10503 if test "$wxUSE_GUI" = "yes"; then
10504
10505 if test "$USE_BEOS" = 1; then
10506 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10507 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10508 { (exit 1); exit 1; }; }
10509 fi
10510
10511 if test "$TOOLKIT_GIVEN" = 1; then
10512 for toolkit in `echo $ALL_TOOLKITS`; do
10513 var=wxUSE_$toolkit
10514 eval "value=\$${var}"
10515 if test "x$value" = "xno"; then
10516 eval "$var=0"
10517 elif test "x$value" != "x"; then
10518 eval "$var=1"
10519 fi
10520
10521 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10522 eval "wx${toolkit}_VERSION=$value"
10523 fi
10524 done
10525 else
10526 for toolkit in `echo $ALL_TOOLKITS`; do
10527 if test "$has_toolkit_in_cache" != 1; then
10528 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10529 else
10530 var=DEFAULT_wxUSE_$toolkit
10531
10532 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10533 if test "x$version" != "x"; then
10534 eval "wx${toolkit}_VERSION=$version"
10535 fi
10536 fi
10537 eval "wxUSE_$toolkit=\$${var}"
10538 done
10539 fi
10540
10541 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10542 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10543 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10544
10545 case "${host}" in
10546 *-pc-os2_emx | *-pc-os2-emx )
10547 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10548 esac
10549
10550 case "$NUM_TOOLKITS" in
10551 1)
10552 ;;
10553 0)
10554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10556 { (exit 1); exit 1; }; }
10557 ;;
10558 *)
10559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10560 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10561 { (exit 1); exit 1; }; }
10562 esac
10563
10564 # to be removed when --disable-gtk2 isn't needed
10565 if test "x$wxUSE_GTK2" = "xyes"; then
10566 wxGTK_VERSION=2
10567 elif test "x$wxUSE_GTK2" = "xno"; then
10568 wxGTK_VERSION=1
10569 fi
10570
10571 for toolkit in `echo $ALL_TOOLKITS`; do
10572 var=wxUSE_$toolkit
10573 eval "value=\$${var}"
10574 if test "x$value" != x; then
10575 cache_var=CACHE_$toolkit
10576 eval "cache=\$${cache_var}"
10577 if test "$cache" = 1; then
10578 echo "$var=$value" >> ${wx_arg_cache_file}
10579 eval "version=\$wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10582 fi
10583 fi
10584 if test "$value" = 1; then
10585 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10586 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10587 echo "${ECHO_T}$toolkit_echo" >&6
10588 fi
10589 fi
10590 done
10591 else
10592 if test "x$host_alias" != "x"; then
10593 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10594 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10595 else
10596 echo "$as_me:$LINENO: result: base only" >&5
10597 echo "${ECHO_T}base only" >&6
10598 fi
10599 fi
10600
10601 wants_win32=0
10602 doesnt_want_win32=0
10603 case "${host}" in
10604 *-*-cygwin*)
10605 if test "$wxUSE_MSW" = 1 ; then
10606 wants_win32=1
10607 BAKEFILE_FORCE_PLATFORM=win32
10608 else
10609 doesnt_want_win32=1
10610 fi
10611 ;;
10612 *-*-mingw*)
10613 wants_win32=1
10614 ;;
10615 esac
10616
10617 if test "$wxUSE_WINE" = "yes"; then
10618 wants_win32=1
10619 CC=winegcc
10620 CXX=wineg++
10621 RESCOMP=wrc
10622 LDFLAGS_GUI="-mwindows"
10623 fi
10624
10625 if test "$wants_win32" = 1 ; then
10626 USE_UNIX=0
10627 USE_WIN32=1
10628 cat >>confdefs.h <<\_ACEOF
10629 #define __WIN32__ 1
10630 _ACEOF
10631
10632 cat >>confdefs.h <<\_ACEOF
10633 #define __WIN95__ 1
10634 _ACEOF
10635
10636 cat >>confdefs.h <<\_ACEOF
10637 #define __WINDOWS__ 1
10638 _ACEOF
10639
10640 cat >>confdefs.h <<\_ACEOF
10641 #define __GNUWIN32__ 1
10642 _ACEOF
10643
10644 cat >>confdefs.h <<\_ACEOF
10645 #define STRICT 1
10646 _ACEOF
10647
10648 cat >>confdefs.h <<\_ACEOF
10649 #define WINVER 0x0400
10650 _ACEOF
10651
10652 fi
10653 if test "$doesnt_want_win32" = 1 ; then
10654 USE_UNIX=1
10655 USE_WIN32=0
10656 fi
10657
10658 if test "$USE_UNIX" = 1 ; then
10659 wxUSE_UNIX=yes
10660 cat >>confdefs.h <<\_ACEOF
10661 #define __UNIX__ 1
10662 _ACEOF
10663
10664 fi
10665
10666
10667 cat >confcache <<\_ACEOF
10668 # This file is a shell script that caches the results of configure
10669 # tests run on this system so they can be shared between configure
10670 # scripts and configure runs, see configure's option --config-cache.
10671 # It is not useful on other systems. If it contains results you don't
10672 # want to keep, you may remove or edit it.
10673 #
10674 # config.status only pays attention to the cache file if you give it
10675 # the --recheck option to rerun configure.
10676 #
10677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10679 # following values.
10680
10681 _ACEOF
10682
10683 # The following way of writing the cache mishandles newlines in values,
10684 # but we know of no workaround that is simple, portable, and efficient.
10685 # So, don't put newlines in cache variables' values.
10686 # Ultrix sh set writes to stderr and can't be redirected directly,
10687 # and sets the high bit in the cache file unless we assign to the vars.
10688 {
10689 (set) 2>&1 |
10690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10691 *ac_space=\ *)
10692 # `set' does not quote correctly, so add quotes (double-quote
10693 # substitution turns \\\\ into \\, and sed turns \\ into \).
10694 sed -n \
10695 "s/'/'\\\\''/g;
10696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10697 ;;
10698 *)
10699 # `set' quotes correctly as required by POSIX, so do not add quotes.
10700 sed -n \
10701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10702 ;;
10703 esac;
10704 } |
10705 sed '
10706 t clear
10707 : clear
10708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10709 t end
10710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10711 : end' >>confcache
10712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10713 if test -w $cache_file; then
10714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10715 cat confcache >$cache_file
10716 else
10717 echo "not updating unwritable cache $cache_file"
10718 fi
10719 fi
10720 rm -f confcache
10721
10722 if test "$build" != "$host" ; then
10723 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10724 CC=$host_alias-gcc
10725 CXX=$host_alias-c++
10726 AR=$host_alias-ar
10727 RANLIB=$host_alias-ranlib
10728 DLLTOOL=$host_alias-dlltool
10729 RESCOMP=$host_alias-windres
10730 STRIP=$host_alias-strip
10731 elif test "x$CC" '!=' "x"; then
10732 echo "You set CC, I assume you know what you are doing."
10733 else
10734 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10735 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10736 { (exit 1); exit 1; }; }
10737 fi
10738 fi
10739
10740 CFLAGS=${CFLAGS:=}
10741
10742
10743 ac_ext=c
10744 ac_cpp='$CPP $CPPFLAGS'
10745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10748 if test -n "$ac_tool_prefix"; then
10749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10750 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10751 echo "$as_me:$LINENO: checking for $ac_word" >&5
10752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10753 if test "${ac_cv_prog_CC+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 else
10756 if test -n "$CC"; then
10757 ac_cv_prog_CC="$CC" # Let the user override the test.
10758 else
10759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10760 for as_dir in $PATH
10761 do
10762 IFS=$as_save_IFS
10763 test -z "$as_dir" && as_dir=.
10764 for ac_exec_ext in '' $ac_executable_extensions; do
10765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10768 break 2
10769 fi
10770 done
10771 done
10772
10773 fi
10774 fi
10775 CC=$ac_cv_prog_CC
10776 if test -n "$CC"; then
10777 echo "$as_me:$LINENO: result: $CC" >&5
10778 echo "${ECHO_T}$CC" >&6
10779 else
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10782 fi
10783
10784 fi
10785 if test -z "$ac_cv_prog_CC"; then
10786 ac_ct_CC=$CC
10787 # Extract the first word of "gcc", so it can be a program name with args.
10788 set dummy gcc; ac_word=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 if test -n "$ac_ct_CC"; then
10795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10796 else
10797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10798 for as_dir in $PATH
10799 do
10800 IFS=$as_save_IFS
10801 test -z "$as_dir" && as_dir=.
10802 for ac_exec_ext in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_ac_ct_CC="gcc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10806 break 2
10807 fi
10808 done
10809 done
10810
10811 fi
10812 fi
10813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10814 if test -n "$ac_ct_CC"; then
10815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10816 echo "${ECHO_T}$ac_ct_CC" >&6
10817 else
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10820 fi
10821
10822 CC=$ac_ct_CC
10823 else
10824 CC="$ac_cv_prog_CC"
10825 fi
10826
10827 if test -z "$CC"; then
10828 if test -n "$ac_tool_prefix"; then
10829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10830 set dummy ${ac_tool_prefix}cc; ac_word=$2
10831 echo "$as_me:$LINENO: checking for $ac_word" >&5
10832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10833 if test "${ac_cv_prog_CC+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 else
10836 if test -n "$CC"; then
10837 ac_cv_prog_CC="$CC" # Let the user override the test.
10838 else
10839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10840 for as_dir in $PATH
10841 do
10842 IFS=$as_save_IFS
10843 test -z "$as_dir" && as_dir=.
10844 for ac_exec_ext in '' $ac_executable_extensions; do
10845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10846 ac_cv_prog_CC="${ac_tool_prefix}cc"
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10848 break 2
10849 fi
10850 done
10851 done
10852
10853 fi
10854 fi
10855 CC=$ac_cv_prog_CC
10856 if test -n "$CC"; then
10857 echo "$as_me:$LINENO: result: $CC" >&5
10858 echo "${ECHO_T}$CC" >&6
10859 else
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10862 fi
10863
10864 fi
10865 if test -z "$ac_cv_prog_CC"; then
10866 ac_ct_CC=$CC
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc; ac_word=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 else
10874 if test -n "$ac_ct_CC"; then
10875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10876 else
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10879 do
10880 IFS=$as_save_IFS
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CC="cc"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10886 break 2
10887 fi
10888 done
10889 done
10890
10891 fi
10892 fi
10893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10894 if test -n "$ac_ct_CC"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10896 echo "${ECHO_T}$ac_ct_CC" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902 CC=$ac_ct_CC
10903 else
10904 CC="$ac_cv_prog_CC"
10905 fi
10906
10907 fi
10908 if test -z "$CC"; then
10909 # Extract the first word of "cc", so it can be a program name with args.
10910 set dummy cc; ac_word=$2
10911 echo "$as_me:$LINENO: checking for $ac_word" >&5
10912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10913 if test "${ac_cv_prog_CC+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 else
10916 if test -n "$CC"; then
10917 ac_cv_prog_CC="$CC" # Let the user override the test.
10918 else
10919 ac_prog_rejected=no
10920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10921 for as_dir in $PATH
10922 do
10923 IFS=$as_save_IFS
10924 test -z "$as_dir" && as_dir=.
10925 for ac_exec_ext in '' $ac_executable_extensions; do
10926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10928 ac_prog_rejected=yes
10929 continue
10930 fi
10931 ac_cv_prog_CC="cc"
10932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10933 break 2
10934 fi
10935 done
10936 done
10937
10938 if test $ac_prog_rejected = yes; then
10939 # We found a bogon in the path, so make sure we never use it.
10940 set dummy $ac_cv_prog_CC
10941 shift
10942 if test $# != 0; then
10943 # We chose a different compiler from the bogus one.
10944 # However, it has the same basename, so the bogon will be chosen
10945 # first if we set CC to just the basename; use the full file name.
10946 shift
10947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10948 fi
10949 fi
10950 fi
10951 fi
10952 CC=$ac_cv_prog_CC
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10956 else
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10959 fi
10960
10961 fi
10962 if test -z "$CC"; then
10963 if test -n "$ac_tool_prefix"; then
10964 for ac_prog in cl
10965 do
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 else
10973 if test -n "$CC"; then
10974 ac_cv_prog_CC="$CC" # Let the user override the test.
10975 else
10976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977 for as_dir in $PATH
10978 do
10979 IFS=$as_save_IFS
10980 test -z "$as_dir" && as_dir=.
10981 for ac_exec_ext in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 break 2
10986 fi
10987 done
10988 done
10989
10990 fi
10991 fi
10992 CC=$ac_cv_prog_CC
10993 if test -n "$CC"; then
10994 echo "$as_me:$LINENO: result: $CC" >&5
10995 echo "${ECHO_T}$CC" >&6
10996 else
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
10999 fi
11000
11001 test -n "$CC" && break
11002 done
11003 fi
11004 if test -z "$CC"; then
11005 ac_ct_CC=$CC
11006 for ac_prog in cl
11007 do
11008 # Extract the first word of "$ac_prog", so it can be a program name with args.
11009 set dummy $ac_prog; ac_word=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 if test -n "$ac_ct_CC"; then
11016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11017 else
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11020 do
11021 IFS=$as_save_IFS
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_ac_ct_CC="$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 break 2
11028 fi
11029 done
11030 done
11031
11032 fi
11033 fi
11034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11035 if test -n "$ac_ct_CC"; then
11036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11037 echo "${ECHO_T}$ac_ct_CC" >&6
11038 else
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11041 fi
11042
11043 test -n "$ac_ct_CC" && break
11044 done
11045
11046 CC=$ac_ct_CC
11047 fi
11048
11049 fi
11050
11051
11052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11053 See \`config.log' for more details." >&5
11054 echo "$as_me: error: no acceptable C compiler found in \$PATH
11055 See \`config.log' for more details." >&2;}
11056 { (exit 1); exit 1; }; }
11057
11058 # Provide some information about the compiler.
11059 echo "$as_me:$LINENO:" \
11060 "checking for C compiler version" >&5
11061 ac_compiler=`set X $ac_compile; echo $2`
11062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11063 (eval $ac_compiler --version </dev/null >&5) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }
11067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11068 (eval $ac_compiler -v </dev/null >&5) 2>&5
11069 ac_status=$?
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11073 (eval $ac_compiler -V </dev/null >&5) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11077
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084
11085 int
11086 main ()
11087 {
11088
11089 ;
11090 return 0;
11091 }
11092 _ACEOF
11093 ac_clean_files_save=$ac_clean_files
11094 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11095 # Try to create an executable without -o first, disregard a.out.
11096 # It will help us diagnose broken compilers, and finding out an intuition
11097 # of exeext.
11098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11102 (eval $ac_link_default) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; then
11106 # Find the output, starting from the most likely. This scheme is
11107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11108 # resort.
11109
11110 # Be careful to initialize this variable, since it used to be cached.
11111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11112 ac_cv_exeext=
11113 # b.out is created by i960 compilers.
11114 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11115 do
11116 test -f "$ac_file" || continue
11117 case $ac_file in
11118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11119 ;;
11120 conftest.$ac_ext )
11121 # This is the source file.
11122 ;;
11123 [ab].out )
11124 # We found the default executable, but exeext='' is most
11125 # certainly right.
11126 break;;
11127 *.* )
11128 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11129 # FIXME: I believe we export ac_cv_exeext for Libtool,
11130 # but it would be cool to find out if it's true. Does anybody
11131 # maintain Libtool? --akim.
11132 export ac_cv_exeext
11133 break;;
11134 * )
11135 break;;
11136 esac
11137 done
11138 else
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.$ac_ext >&5
11141
11142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11143 See \`config.log' for more details." >&5
11144 echo "$as_me: error: C compiler cannot create executables
11145 See \`config.log' for more details." >&2;}
11146 { (exit 77); exit 77; }; }
11147 fi
11148
11149 ac_exeext=$ac_cv_exeext
11150 echo "$as_me:$LINENO: result: $ac_file" >&5
11151 echo "${ECHO_T}$ac_file" >&6
11152
11153 # Check the compiler produces executables we can run. If not, either
11154 # the compiler is broken, or we cross compile.
11155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11158 # If not cross compiling, check that we can run a simple program.
11159 if test "$cross_compiling" != yes; then
11160 if { ac_try='./$ac_file'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11163 ac_status=$?
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11166 cross_compiling=no
11167 else
11168 if test "$cross_compiling" = maybe; then
11169 cross_compiling=yes
11170 else
11171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11172 If you meant to cross compile, use \`--host'.
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot run C compiled programs.
11175 If you meant to cross compile, use \`--host'.
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11178 fi
11179 fi
11180 fi
11181 echo "$as_me:$LINENO: result: yes" >&5
11182 echo "${ECHO_T}yes" >&6
11183
11184 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11185 ac_clean_files=$ac_clean_files_save
11186 # Check the compiler produces executables we can run. If not, either
11187 # the compiler is broken, or we cross compile.
11188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11191 echo "${ECHO_T}$cross_compiling" >&6
11192
11193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; then
11200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11202 # work properly (i.e., refer to `conftest.exe'), while it won't with
11203 # `rm'.
11204 for ac_file in conftest.exe conftest conftest.*; do
11205 test -f "$ac_file" || continue
11206 case $ac_file in
11207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11209 export ac_cv_exeext
11210 break;;
11211 * ) break;;
11212 esac
11213 done
11214 else
11215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11216 See \`config.log' for more details." >&5
11217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11218 See \`config.log' for more details." >&2;}
11219 { (exit 1); exit 1; }; }
11220 fi
11221
11222 rm -f conftest$ac_cv_exeext
11223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11224 echo "${ECHO_T}$ac_cv_exeext" >&6
11225
11226 rm -f conftest.$ac_ext
11227 EXEEXT=$ac_cv_exeext
11228 ac_exeext=$EXEEXT
11229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11231 if test "${ac_cv_objext+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 else
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240
11241 int
11242 main ()
11243 {
11244
11245 ;
11246 return 0;
11247 }
11248 _ACEOF
11249 rm -f conftest.o conftest.obj
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>&5
11252 ac_status=$?
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; then
11255 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11256 case $ac_file in
11257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11259 break;;
11260 esac
11261 done
11262 else
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.$ac_ext >&5
11265
11266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11267 See \`config.log' for more details." >&5
11268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11269 See \`config.log' for more details." >&2;}
11270 { (exit 1); exit 1; }; }
11271 fi
11272
11273 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11274 fi
11275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11276 echo "${ECHO_T}$ac_cv_objext" >&6
11277 OBJEXT=$ac_cv_objext
11278 ac_objext=$OBJEXT
11279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 else
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
11291 int
11292 main ()
11293 {
11294 #ifndef __GNUC__
11295 choke me
11296 #endif
11297
11298 ;
11299 return 0;
11300 }
11301 _ACEOF
11302 rm -f conftest.$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11305 ac_status=$?
11306 grep -v '^ *+' conftest.er1 >conftest.err
11307 rm -f conftest.er1
11308 cat conftest.err >&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11314 ac_status=$?
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try='test -s conftest.$ac_objext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_compiler_gnu=yes
11324 else
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11327
11328 ac_compiler_gnu=no
11329 fi
11330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11332
11333 fi
11334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11336 GCC=`test $ac_compiler_gnu = yes && echo yes`
11337 ac_test_CFLAGS=${CFLAGS+set}
11338 ac_save_CFLAGS=$CFLAGS
11339 CFLAGS="-g"
11340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11342 if test "${ac_cv_prog_cc_g+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 else
11345 cat >conftest.$ac_ext <<_ACEOF
11346 /* confdefs.h. */
11347 _ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11351
11352 int
11353 main ()
11354 {
11355
11356 ;
11357 return 0;
11358 }
11359 _ACEOF
11360 rm -f conftest.$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11363 ac_status=$?
11364 grep -v '^ *+' conftest.er1 >conftest.err
11365 rm -f conftest.er1
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11372 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11378 ac_status=$?
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_prog_cc_g=yes
11382 else
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11385
11386 ac_cv_prog_cc_g=no
11387 fi
11388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11389 fi
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11392 if test "$ac_test_CFLAGS" = set; then
11393 CFLAGS=$ac_save_CFLAGS
11394 elif test $ac_cv_prog_cc_g = yes; then
11395 if test "$GCC" = yes; then
11396 CFLAGS="-g -O2"
11397 else
11398 CFLAGS="-g"
11399 fi
11400 else
11401 if test "$GCC" = yes; then
11402 CFLAGS="-O2"
11403 else
11404 CFLAGS=
11405 fi
11406 fi
11407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 ac_cv_prog_cc_stdc=no
11413 ac_save_CC=$CC
11414 cat >conftest.$ac_ext <<_ACEOF
11415 /* confdefs.h. */
11416 _ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <stdarg.h>
11421 #include <stdio.h>
11422 #include <sys/types.h>
11423 #include <sys/stat.h>
11424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11425 struct buf { int x; };
11426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11427 static char *e (p, i)
11428 char **p;
11429 int i;
11430 {
11431 return p[i];
11432 }
11433 static char *f (char * (*g) (char **, int), char **p, ...)
11434 {
11435 char *s;
11436 va_list v;
11437 va_start (v,p);
11438 s = g (p, va_arg (v,int));
11439 va_end (v);
11440 return s;
11441 }
11442
11443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11444 function prototypes and stuff, but not '\xHH' hex character constants.
11445 These don't provoke an error unfortunately, instead are silently treated
11446 as 'x'. The following induces an error, until -std1 is added to get
11447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11448 array size at least. It's necessary to write '\x00'==0 to get something
11449 that's true only with -std1. */
11450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11451
11452 int test (int i, double x);
11453 struct s1 {int (*f) (int a);};
11454 struct s2 {int (*f) (double a);};
11455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11456 int argc;
11457 char **argv;
11458 int
11459 main ()
11460 {
11461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11462 ;
11463 return 0;
11464 }
11465 _ACEOF
11466 # Don't try gcc -ansi; that turns off useful extensions and
11467 # breaks some systems' header files.
11468 # AIX -qlanglvl=ansi
11469 # Ultrix and OSF/1 -std1
11470 # HP-UX 10.20 and later -Ae
11471 # HP-UX older versions -Aa -D_HPUX_SOURCE
11472 # SVR4 -Xc -D__EXTENSIONS__
11473 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11474 do
11475 CC="$ac_save_CC $ac_arg"
11476 rm -f conftest.$ac_objext
11477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11478 (eval $ac_compile) 2>conftest.er1
11479 ac_status=$?
11480 grep -v '^ *+' conftest.er1 >conftest.err
11481 rm -f conftest.er1
11482 cat conftest.err >&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11488 ac_status=$?
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try='test -s conftest.$ac_objext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11494 ac_status=$?
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_prog_cc_stdc=$ac_arg
11498 break
11499 else
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11502
11503 fi
11504 rm -f conftest.err conftest.$ac_objext
11505 done
11506 rm -f conftest.$ac_ext conftest.$ac_objext
11507 CC=$ac_save_CC
11508
11509 fi
11510
11511 case "x$ac_cv_prog_cc_stdc" in
11512 x|xno)
11513 echo "$as_me:$LINENO: result: none needed" >&5
11514 echo "${ECHO_T}none needed" >&6 ;;
11515 *)
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11518 CC="$CC $ac_cv_prog_cc_stdc" ;;
11519 esac
11520
11521 # Some people use a C++ compiler to compile C. Since we use `exit',
11522 # in C++ we need to declare it. In case someone uses the same compiler
11523 # for both compiling C and C++ we need to have the C++ compiler decide
11524 # the declaration of exit, since it's the most demanding environment.
11525 cat >conftest.$ac_ext <<_ACEOF
11526 #ifndef __cplusplus
11527 choke me
11528 #endif
11529 _ACEOF
11530 rm -f conftest.$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11533 ac_status=$?
11534 grep -v '^ *+' conftest.er1 >conftest.err
11535 rm -f conftest.er1
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11542 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 for ac_declaration in \
11552 '' \
11553 'extern "C" void std::exit (int) throw (); using std::exit;' \
11554 'extern "C" void std::exit (int); using std::exit;' \
11555 'extern "C" void exit (int) throw ();' \
11556 'extern "C" void exit (int);' \
11557 'void exit (int);'
11558 do
11559 cat >conftest.$ac_ext <<_ACEOF
11560 /* confdefs.h. */
11561 _ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 $ac_declaration
11566 #include <stdlib.h>
11567 int
11568 main ()
11569 {
11570 exit (42);
11571 ;
11572 return 0;
11573 }
11574 _ACEOF
11575 rm -f conftest.$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11578 ac_status=$?
11579 grep -v '^ *+' conftest.er1 >conftest.err
11580 rm -f conftest.er1
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11587 ac_status=$?
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11593 ac_status=$?
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 :
11597 else
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11600
11601 continue
11602 fi
11603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11604 cat >conftest.$ac_ext <<_ACEOF
11605 /* confdefs.h. */
11606 _ACEOF
11607 cat confdefs.h >>conftest.$ac_ext
11608 cat >>conftest.$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11610 $ac_declaration
11611 int
11612 main ()
11613 {
11614 exit (42);
11615 ;
11616 return 0;
11617 }
11618 _ACEOF
11619 rm -f conftest.$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11622 ac_status=$?
11623 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11631 ac_status=$?
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11637 ac_status=$?
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 break
11641 else
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.$ac_ext >&5
11644
11645 fi
11646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11647 done
11648 rm -f conftest*
11649 if test -n "$ac_declaration"; then
11650 echo '#ifdef __cplusplus' >>confdefs.h
11651 echo $ac_declaration >>confdefs.h
11652 echo '#endif' >>confdefs.h
11653 fi
11654
11655 else
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.$ac_ext >&5
11658
11659 fi
11660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11661 ac_ext=c
11662 ac_cpp='$CPP $CPPFLAGS'
11663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11666
11667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11669 if test "${wx_cv_c_exto+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 else
11672 cat >conftest.$ac_ext <<_ACEOF
11673 /* confdefs.h. */
11674 _ACEOF
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678
11679 int
11680 main ()
11681 {
11682
11683 ;
11684 return 0;
11685 }
11686 _ACEOF
11687 rm -f conftest.$ac_objext conftest.$ac_ext.o
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; then
11693 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11694 case $ac_file in
11695 conftest.$ac_ext.o)
11696 wx_cv_c_exto="-ext o"
11697 ;;
11698 *)
11699 ;;
11700 esac
11701 done
11702 else
11703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11706 See \`config.log' for more details." >&2;}
11707 { (exit 1); exit 1; }; }
11708
11709 fi
11710
11711 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11712
11713 fi
11714 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11715 echo "${ECHO_T}$wx_cv_c_exto" >&6
11716 if test "x$wx_cv_c_exto" '!=' "x"; then
11717 if test "c" = "c"; then
11718 CFLAGS="$wx_cv_c_exto $CFLAGS"
11719 fi
11720 if test "c" = "cxx"; then
11721 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11722 fi
11723 fi
11724
11725 if test "x$wx_cv_c_exto" '!=' "x"; then
11726 unset ac_cv_prog_cc_g
11727 ac_test_CFLAGS=${CFLAGS+set}
11728 ac_save_CFLAGS=$CFLAGS
11729 CFLAGS="-g"
11730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11732 if test "${ac_cv_prog_cc_g+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 else
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741
11742 int
11743 main ()
11744 {
11745
11746 ;
11747 return 0;
11748 }
11749 _ACEOF
11750 rm -f conftest.$ac_objext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11752 (eval $ac_compile) 2>conftest.er1
11753 ac_status=$?
11754 grep -v '^ *+' conftest.er1 >conftest.err
11755 rm -f conftest.er1
11756 cat conftest.err >&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_prog_cc_g=yes
11772 else
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.$ac_ext >&5
11775
11776 ac_cv_prog_cc_g=no
11777 fi
11778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779 fi
11780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11782 if test "$ac_test_CFLAGS" = set; then
11783 CFLAGS=$ac_save_CFLAGS
11784 elif test $ac_cv_prog_cc_g = yes; then
11785 if test "$GCC" = yes; then
11786 CFLAGS="-g -O2"
11787 else
11788 CFLAGS="-g"
11789 fi
11790 else
11791 if test "$GCC" = yes; then
11792 CFLAGS="-O2"
11793 else
11794 CFLAGS=
11795 fi
11796 fi
11797 fi
11798 ac_ext=c
11799 ac_cpp='$CPP $CPPFLAGS'
11800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11803
11804 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11805 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11806 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 cat >conftest.$ac_ext <<_ACEOF
11810 /* confdefs.h. */
11811 _ACEOF
11812 cat confdefs.h >>conftest.$ac_ext
11813 cat >>conftest.$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11815
11816 int
11817 main ()
11818 {
11819 #ifndef __MWERKS__
11820 choke me
11821 #endif
11822
11823 ;
11824 return 0;
11825 }
11826 _ACEOF
11827 rm -f conftest.$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11830 ac_status=$?
11831 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_compiler_mwerks=yes
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11852
11853 bakefile_compiler_mwerks=no
11854 fi
11855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11856 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11857
11858 fi
11859 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11860 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11861
11862 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11863 ac_ext=c
11864 ac_cpp='$CPP $CPPFLAGS'
11865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11868
11869
11870 ac_ext=c
11871 ac_cpp='$CPP $CPPFLAGS'
11872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11875
11876 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11877 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11878 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887
11888 int
11889 main ()
11890 {
11891 #ifndef __xlC__
11892 choke me
11893 #endif
11894
11895 ;
11896 return 0;
11897 }
11898 _ACEOF
11899 rm -f conftest.$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11902 ac_status=$?
11903 grep -v '^ *+' conftest.er1 >conftest.err
11904 rm -f conftest.er1
11905 cat conftest.err >&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; } &&
11914 { ac_try='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 wx_compiler_xlc=yes
11921 else
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.$ac_ext >&5
11924
11925 wx_compiler_xlc=no
11926 fi
11927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11928 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11929
11930 fi
11931 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11932 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11933
11934 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11935 ac_ext=c
11936 ac_cpp='$CPP $CPPFLAGS'
11937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11940
11941
11942
11943
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
11950 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 else
11955 cat >conftest.$ac_ext <<_ACEOF
11956 /* confdefs.h. */
11957 _ACEOF
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961
11962 int
11963 main ()
11964 {
11965
11966 #ifndef __SUNPRO_C
11967 choke me
11968 #endif
11969
11970 ;
11971 return 0;
11972 }
11973 _ACEOF
11974 rm -f conftest.$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>conftest.er1
11977 ac_status=$?
11978 grep -v '^ *+' conftest.er1 >conftest.err
11979 rm -f conftest.er1
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 bakefile_cv_c_compiler___SUNPRO_C=yes
11996 else
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
11999
12000 bakefile_cv_c_compiler___SUNPRO_C=no
12001
12002 fi
12003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12004
12005
12006 fi
12007 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12008 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12009 ac_ext=c
12010 ac_cpp='$CPP $CPPFLAGS'
12011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12014
12015 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12016 :; SUNCC=yes
12017 else
12018 :;
12019 fi
12020
12021
12022
12023
12024 ac_ext=c
12025 ac_cpp='$CPP $CPPFLAGS'
12026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12029 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12030 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12031 # On Suns, sometimes $CPP names a directory.
12032 if test -n "$CPP" && test -d "$CPP"; then
12033 CPP=
12034 fi
12035 if test -z "$CPP"; then
12036 if test "${ac_cv_prog_CPP+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 else
12039 # Double quotes because CPP needs to be expanded
12040 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12041 do
12042 ac_preproc_ok=false
12043 for ac_c_preproc_warn_flag in '' yes
12044 do
12045 # Use a header file that comes with gcc, so configuring glibc
12046 # with a fresh cross-compiler works.
12047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048 # <limits.h> exists even on freestanding compilers.
12049 # On the NeXT, cc -E runs the code through the compiler's parser,
12050 # not just through cpp. "Syntax error" is here to catch this case.
12051 cat >conftest.$ac_ext <<_ACEOF
12052 /* confdefs.h. */
12053 _ACEOF
12054 cat confdefs.h >>conftest.$ac_ext
12055 cat >>conftest.$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 #ifdef __STDC__
12058 # include <limits.h>
12059 #else
12060 # include <assert.h>
12061 #endif
12062 Syntax error
12063 _ACEOF
12064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12066 ac_status=$?
12067 grep -v '^ *+' conftest.er1 >conftest.err
12068 rm -f conftest.er1
12069 cat conftest.err >&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } >/dev/null; then
12072 if test -s conftest.err; then
12073 ac_cpp_err=$ac_c_preproc_warn_flag
12074 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12075 else
12076 ac_cpp_err=
12077 fi
12078 else
12079 ac_cpp_err=yes
12080 fi
12081 if test -z "$ac_cpp_err"; then
12082 :
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 # Broken: fails on valid input.
12088 continue
12089 fi
12090 rm -f conftest.err conftest.$ac_ext
12091
12092 # OK, works on sane cases. Now check whether non-existent headers
12093 # can be detected and how.
12094 cat >conftest.$ac_ext <<_ACEOF
12095 /* confdefs.h. */
12096 _ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12101 _ACEOF
12102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12104 ac_status=$?
12105 grep -v '^ *+' conftest.er1 >conftest.err
12106 rm -f conftest.er1
12107 cat conftest.err >&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev/null; then
12110 if test -s conftest.err; then
12111 ac_cpp_err=$ac_c_preproc_warn_flag
12112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12113 else
12114 ac_cpp_err=
12115 fi
12116 else
12117 ac_cpp_err=yes
12118 fi
12119 if test -z "$ac_cpp_err"; then
12120 # Broken: success on invalid input.
12121 continue
12122 else
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12125
12126 # Passes both tests.
12127 ac_preproc_ok=:
12128 break
12129 fi
12130 rm -f conftest.err conftest.$ac_ext
12131
12132 done
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.err conftest.$ac_ext
12135 if $ac_preproc_ok; then
12136 break
12137 fi
12138
12139 done
12140 ac_cv_prog_CPP=$CPP
12141
12142 fi
12143 CPP=$ac_cv_prog_CPP
12144 else
12145 ac_cv_prog_CPP=$CPP
12146 fi
12147 echo "$as_me:$LINENO: result: $CPP" >&5
12148 echo "${ECHO_T}$CPP" >&6
12149 ac_preproc_ok=false
12150 for ac_c_preproc_warn_flag in '' yes
12151 do
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #ifdef __STDC__
12165 # include <limits.h>
12166 #else
12167 # include <assert.h>
12168 #endif
12169 Syntax error
12170 _ACEOF
12171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12173 ac_status=$?
12174 grep -v '^ *+' conftest.er1 >conftest.err
12175 rm -f conftest.er1
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } >/dev/null; then
12179 if test -s conftest.err; then
12180 ac_cpp_err=$ac_c_preproc_warn_flag
12181 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12182 else
12183 ac_cpp_err=
12184 fi
12185 else
12186 ac_cpp_err=yes
12187 fi
12188 if test -z "$ac_cpp_err"; then
12189 :
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12193
12194 # Broken: fails on valid input.
12195 continue
12196 fi
12197 rm -f conftest.err conftest.$ac_ext
12198
12199 # OK, works on sane cases. Now check whether non-existent headers
12200 # can be detected and how.
12201 cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <ac_nonexistent.h>
12208 _ACEOF
12209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12211 ac_status=$?
12212 grep -v '^ *+' conftest.er1 >conftest.err
12213 rm -f conftest.er1
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev/null; then
12217 if test -s conftest.err; then
12218 ac_cpp_err=$ac_c_preproc_warn_flag
12219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12220 else
12221 ac_cpp_err=
12222 fi
12223 else
12224 ac_cpp_err=yes
12225 fi
12226 if test -z "$ac_cpp_err"; then
12227 # Broken: success on invalid input.
12228 continue
12229 else
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.$ac_ext >&5
12232
12233 # Passes both tests.
12234 ac_preproc_ok=:
12235 break
12236 fi
12237 rm -f conftest.err conftest.$ac_ext
12238
12239 done
12240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12241 rm -f conftest.err conftest.$ac_ext
12242 if $ac_preproc_ok; then
12243 :
12244 else
12245 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12246 See \`config.log' for more details." >&5
12247 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12248 See \`config.log' for more details." >&2;}
12249 { (exit 1); exit 1; }; }
12250 fi
12251
12252 ac_ext=c
12253 ac_cpp='$CPP $CPPFLAGS'
12254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12257
12258
12259 echo "$as_me:$LINENO: checking for egrep" >&5
12260 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12261 if test "${ac_cv_prog_egrep+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 else
12264 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12265 then ac_cv_prog_egrep='grep -E'
12266 else ac_cv_prog_egrep='egrep'
12267 fi
12268 fi
12269 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12270 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12271 EGREP=$ac_cv_prog_egrep
12272
12273
12274 if test $ac_cv_c_compiler_gnu = yes; then
12275 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12276 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12277 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 else
12280 ac_pattern="Autoconf.*'x'"
12281 cat >conftest.$ac_ext <<_ACEOF
12282 /* confdefs.h. */
12283 _ACEOF
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 #include <sgtty.h>
12288 Autoconf TIOCGETP
12289 _ACEOF
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12292 ac_cv_prog_gcc_traditional=yes
12293 else
12294 ac_cv_prog_gcc_traditional=no
12295 fi
12296 rm -f conftest*
12297
12298
12299 if test $ac_cv_prog_gcc_traditional = no; then
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <termio.h>
12307 Autoconf TCGETA
12308 _ACEOF
12309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12310 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12311 ac_cv_prog_gcc_traditional=yes
12312 fi
12313 rm -f conftest*
12314
12315 fi
12316 fi
12317 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12318 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12319 if test $ac_cv_prog_gcc_traditional = yes; then
12320 CC="$CC -traditional"
12321 fi
12322 fi
12323
12324
12325
12326
12327 ac_ext=cc
12328 ac_cpp='$CXXCPP $CPPFLAGS'
12329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12332
12333
12334 CXXFLAGS=${CXXFLAGS:=}
12335
12336
12337 ac_ext=cc
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12342 if test -n "$ac_tool_prefix"; then
12343 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12344 do
12345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12347 echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12349 if test "${ac_cv_prog_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 else
12352 if test -n "$CXX"; then
12353 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12354 else
12355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12356 for as_dir in $PATH
12357 do
12358 IFS=$as_save_IFS
12359 test -z "$as_dir" && as_dir=.
12360 for ac_exec_ext in '' $ac_executable_extensions; do
12361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12364 break 2
12365 fi
12366 done
12367 done
12368
12369 fi
12370 fi
12371 CXX=$ac_cv_prog_CXX
12372 if test -n "$CXX"; then
12373 echo "$as_me:$LINENO: result: $CXX" >&5
12374 echo "${ECHO_T}$CXX" >&6
12375 else
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12378 fi
12379
12380 test -n "$CXX" && break
12381 done
12382 fi
12383 if test -z "$CXX"; then
12384 ac_ct_CXX=$CXX
12385 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12386 do
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy $ac_prog; ac_word=$2
12389 echo "$as_me:$LINENO: checking for $ac_word" >&5
12390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 else
12394 if test -n "$ac_ct_CXX"; then
12395 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12396 else
12397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12398 for as_dir in $PATH
12399 do
12400 IFS=$as_save_IFS
12401 test -z "$as_dir" && as_dir=.
12402 for ac_exec_ext in '' $ac_executable_extensions; do
12403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CXX="$ac_prog"
12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 break 2
12407 fi
12408 done
12409 done
12410
12411 fi
12412 fi
12413 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12414 if test -n "$ac_ct_CXX"; then
12415 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12416 echo "${ECHO_T}$ac_ct_CXX" >&6
12417 else
12418 echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6
12420 fi
12421
12422 test -n "$ac_ct_CXX" && break
12423 done
12424 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12425
12426 CXX=$ac_ct_CXX
12427 fi
12428
12429
12430 # Provide some information about the compiler.
12431 echo "$as_me:$LINENO:" \
12432 "checking for C++ compiler version" >&5
12433 ac_compiler=`set X $ac_compile; echo $2`
12434 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12435 (eval $ac_compiler --version </dev/null >&5) 2>&5
12436 ac_status=$?
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }
12439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12440 (eval $ac_compiler -v </dev/null >&5) 2>&5
12441 ac_status=$?
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }
12444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12445 (eval $ac_compiler -V </dev/null >&5) 2>&5
12446 ac_status=$?
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }
12449
12450 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12451 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12452 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 cat >conftest.$ac_ext <<_ACEOF
12456 /* confdefs.h. */
12457 _ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461
12462 int
12463 main ()
12464 {
12465 #ifndef __GNUC__
12466 choke me
12467 #endif
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12476 ac_status=$?
12477 grep -v '^ *+' conftest.er1 >conftest.err
12478 rm -f conftest.er1
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12485 ac_status=$?
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12491 ac_status=$?
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_compiler_gnu=yes
12495 else
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12498
12499 ac_compiler_gnu=no
12500 fi
12501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12502 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12503
12504 fi
12505 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12506 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12507 GXX=`test $ac_compiler_gnu = yes && echo yes`
12508 ac_test_CXXFLAGS=${CXXFLAGS+set}
12509 ac_save_CXXFLAGS=$CXXFLAGS
12510 CXXFLAGS="-g"
12511 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12513 if test "${ac_cv_prog_cxx_g+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516 cat >conftest.$ac_ext <<_ACEOF
12517 /* confdefs.h. */
12518 _ACEOF
12519 cat confdefs.h >>conftest.$ac_ext
12520 cat >>conftest.$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522
12523 int
12524 main ()
12525 {
12526
12527 ;
12528 return 0;
12529 }
12530 _ACEOF
12531 rm -f conftest.$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12534 ac_status=$?
12535 grep -v '^ *+' conftest.er1 >conftest.err
12536 rm -f conftest.er1
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cxx_g=yes
12553 else
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.$ac_ext >&5
12556
12557 ac_cv_prog_cxx_g=no
12558 fi
12559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12560 fi
12561 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12563 if test "$ac_test_CXXFLAGS" = set; then
12564 CXXFLAGS=$ac_save_CXXFLAGS
12565 elif test $ac_cv_prog_cxx_g = yes; then
12566 if test "$GXX" = yes; then
12567 CXXFLAGS="-g -O2"
12568 else
12569 CXXFLAGS="-g"
12570 fi
12571 else
12572 if test "$GXX" = yes; then
12573 CXXFLAGS="-O2"
12574 else
12575 CXXFLAGS=
12576 fi
12577 fi
12578 for ac_declaration in \
12579 '' \
12580 'extern "C" void std::exit (int) throw (); using std::exit;' \
12581 'extern "C" void std::exit (int); using std::exit;' \
12582 'extern "C" void exit (int) throw ();' \
12583 'extern "C" void exit (int);' \
12584 'void exit (int);'
12585 do
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_declaration
12593 #include <stdlib.h>
12594 int
12595 main ()
12596 {
12597 exit (42);
12598 ;
12599 return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12605 ac_status=$?
12606 grep -v '^ *+' conftest.er1 >conftest.err
12607 rm -f conftest.er1
12608 cat conftest.err >&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12620 ac_status=$?
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 :
12624 else
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.$ac_ext >&5
12627
12628 continue
12629 fi
12630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 $ac_declaration
12638 int
12639 main ()
12640 {
12641 exit (42);
12642 ;
12643 return 0;
12644 }
12645 _ACEOF
12646 rm -f conftest.$ac_objext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12648 (eval $ac_compile) 2>conftest.er1
12649 ac_status=$?
12650 grep -v '^ *+' conftest.er1 >conftest.err
12651 rm -f conftest.er1
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12658 ac_status=$?
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 break
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12671
12672 fi
12673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12674 done
12675 rm -f conftest*
12676 if test -n "$ac_declaration"; then
12677 echo '#ifdef __cplusplus' >>confdefs.h
12678 echo $ac_declaration >>confdefs.h
12679 echo '#endif' >>confdefs.h
12680 fi
12681
12682 ac_ext=cc
12683 ac_cpp='$CXXCPP $CPPFLAGS'
12684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12687
12688 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12689 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_exto+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 else
12693 cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h. */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699
12700 int
12701 main ()
12702 {
12703
12704 ;
12705 return 0;
12706 }
12707 _ACEOF
12708 rm -f conftest.$ac_objext conftest.$ac_ext.o
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12711 ac_status=$?
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; then
12714 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12715 case $ac_file in
12716 conftest.$ac_ext.o)
12717 wx_cv_cxx_exto="-ext o"
12718 ;;
12719 *)
12720 ;;
12721 esac
12722 done
12723 else
12724 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12725 See \`config.log' for more details." >&5
12726 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12727 See \`config.log' for more details." >&2;}
12728 { (exit 1); exit 1; }; }
12729
12730 fi
12731
12732 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12733
12734 fi
12735 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12736 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12737 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12738 if test "cxx" = "c"; then
12739 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12740 fi
12741 if test "cxx" = "cxx"; then
12742 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12743 fi
12744 fi
12745
12746 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12747 unset ac_cv_prog_cxx_g
12748 ac_test_CXXFLAGS=${CXXFLAGS+set}
12749 ac_save_CXXFLAGS=$CXXFLAGS
12750 CXXFLAGS="-g"
12751 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12752 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12753 if test "${ac_cv_prog_cxx_g+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12755 else
12756 cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h. */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12762
12763 int
12764 main ()
12765 {
12766
12767 ;
12768 return 0;
12769 }
12770 _ACEOF
12771 rm -f conftest.$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12783 ac_status=$?
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_prog_cxx_g=yes
12793 else
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12796
12797 ac_cv_prog_cxx_g=no
12798 fi
12799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12800 fi
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12803 if test "$ac_test_CXXFLAGS" = set; then
12804 CXXFLAGS=$ac_save_CXXFLAGS
12805 elif test $ac_cv_prog_cxx_g = yes; then
12806 if test "$GXX" = yes; then
12807 CXXFLAGS="-g -O2"
12808 else
12809 CXXFLAGS="-g"
12810 fi
12811 else
12812 if test "$GXX" = yes; then
12813 CXXFLAGS="-O2"
12814 else
12815 CXXFLAGS=
12816 fi
12817 fi
12818 fi
12819 ac_ext=cc
12820 ac_cpp='$CXXCPP $CPPFLAGS'
12821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12824
12825 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12826 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12827 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12829 else
12830 cat >conftest.$ac_ext <<_ACEOF
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836
12837 int
12838 main ()
12839 {
12840 #ifndef __MWERKS__
12841 choke me
12842 #endif
12843
12844 ;
12845 return 0;
12846 }
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12851 ac_status=$?
12852 grep -v '^ *+' conftest.er1 >conftest.err
12853 rm -f conftest.er1
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12860 ac_status=$?
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12866 ac_status=$?
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bakefile_compiler_mwerks=yes
12870 else
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.$ac_ext >&5
12873
12874 bakefile_compiler_mwerks=no
12875 fi
12876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12877 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12878
12879 fi
12880 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12881 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12882
12883 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12884 ac_ext=cc
12885 ac_cpp='$CXXCPP $CPPFLAGS'
12886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12889
12890
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12896
12897 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12899 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902 cat >conftest.$ac_ext <<_ACEOF
12903 /* confdefs.h. */
12904 _ACEOF
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12908
12909 int
12910 main ()
12911 {
12912 #ifndef __xlC__
12913 choke me
12914 #endif
12915
12916 ;
12917 return 0;
12918 }
12919 _ACEOF
12920 rm -f conftest.$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12938 ac_status=$?
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 wx_compiler_xlc=yes
12942 else
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.$ac_ext >&5
12945
12946 wx_compiler_xlc=no
12947 fi
12948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12949 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12950
12951 fi
12952 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12953 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12954
12955 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12956 ac_ext=cc
12957 ac_cpp='$CXXCPP $CPPFLAGS'
12958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12961
12962
12963
12964
12965 ac_ext=cc
12966 ac_cpp='$CXXCPP $CPPFLAGS'
12967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12970
12971 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 else
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982
12983 int
12984 main ()
12985 {
12986
12987 #ifndef __SUNPRO_CC
12988 choke me
12989 #endif
12990
12991 ;
12992 return 0;
12993 }
12994 _ACEOF
12995 rm -f conftest.$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>conftest.er1
12998 ac_status=$?
12999 grep -v '^ *+' conftest.er1 >conftest.err
13000 rm -f conftest.er1
13001 cat conftest.err >&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13007 ac_status=$?
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try='test -s conftest.$ac_objext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13013 ac_status=$?
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13017 else
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.$ac_ext >&5
13020
13021 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13022
13023 fi
13024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13025
13026
13027 fi
13028 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13030 ac_ext=cc
13031 ac_cpp='$CXXCPP $CPPFLAGS'
13032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13035
13036 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13037 :; SUNCXX=yes
13038 else
13039 :;
13040 fi
13041
13042
13043
13044
13045 ac_ext=c
13046 ac_cpp='$CPP $CPPFLAGS'
13047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13050
13051
13052 if test -n "$ac_tool_prefix"; then
13053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_RANLIB+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060 if test -n "$RANLIB"; then
13061 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13062 else
13063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $PATH
13065 do
13066 IFS=$as_save_IFS
13067 test -z "$as_dir" && as_dir=.
13068 for ac_exec_ext in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13072 break 2
13073 fi
13074 done
13075 done
13076
13077 fi
13078 fi
13079 RANLIB=$ac_cv_prog_RANLIB
13080 if test -n "$RANLIB"; then
13081 echo "$as_me:$LINENO: result: $RANLIB" >&5
13082 echo "${ECHO_T}$RANLIB" >&6
13083 else
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13086 fi
13087
13088 fi
13089 if test -z "$ac_cv_prog_RANLIB"; then
13090 ac_ct_RANLIB=$RANLIB
13091 # Extract the first word of "ranlib", so it can be a program name with args.
13092 set dummy ranlib; ac_word=$2
13093 echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13095 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098 if test -n "$ac_ct_RANLIB"; then
13099 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13100 else
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13103 do
13104 IFS=$as_save_IFS
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_prog_ac_ct_RANLIB="ranlib"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 break 2
13111 fi
13112 done
13113 done
13114
13115 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13116 fi
13117 fi
13118 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13119 if test -n "$ac_ct_RANLIB"; then
13120 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13121 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13122 else
13123 echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6
13125 fi
13126
13127 RANLIB=$ac_ct_RANLIB
13128 else
13129 RANLIB="$ac_cv_prog_RANLIB"
13130 fi
13131
13132
13133 # Extract the first word of "ar", so it can be a program name with args.
13134 set dummy ar; ac_word=$2
13135 echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 if test "${ac_cv_prog_AR+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13139 else
13140 if test -n "$AR"; then
13141 ac_cv_prog_AR="$AR" # Let the user override the test.
13142 else
13143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13144 for as_dir in $PATH
13145 do
13146 IFS=$as_save_IFS
13147 test -z "$as_dir" && as_dir=.
13148 for ac_exec_ext in '' $ac_executable_extensions; do
13149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13150 ac_cv_prog_AR="ar"
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13152 break 2
13153 fi
13154 done
13155 done
13156
13157 fi
13158 fi
13159 AR=$ac_cv_prog_AR
13160 if test -n "$AR"; then
13161 echo "$as_me:$LINENO: result: $AR" >&5
13162 echo "${ECHO_T}$AR" >&6
13163 else
13164 echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6
13166 fi
13167
13168 if test "x$AR" = "x" ; then
13169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13171 { (exit 1); exit 1; }; }
13172 fi
13173
13174 # Find a good install program. We prefer a C program (faster),
13175 # so one script is as good as another. But avoid the broken or
13176 # incompatible versions:
13177 # SysV /etc/install, /usr/sbin/install
13178 # SunOS /usr/etc/install
13179 # IRIX /sbin/install
13180 # AIX /bin/install
13181 # AmigaOS /C/install, which installs bootblocks on floppy discs
13182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13185 # OS/2's system install, which has a completely different semantic
13186 # ./install, which can be erroneously created by make from ./install.sh.
13187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13189 if test -z "$INSTALL"; then
13190 if test "${ac_cv_path_install+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13194 for as_dir in $PATH
13195 do
13196 IFS=$as_save_IFS
13197 test -z "$as_dir" && as_dir=.
13198 # Account for people who put trailing slashes in PATH elements.
13199 case $as_dir/ in
13200 ./ | .// | /cC/* | \
13201 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13202 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13203 /usr/ucb/* ) ;;
13204 *)
13205 # OSF1 and SCO ODT 3.0 have their own names for install.
13206 # Don't use installbsd from OSF since it installs stuff as root
13207 # by default.
13208 for ac_prog in ginstall scoinst install; do
13209 for ac_exec_ext in '' $ac_executable_extensions; do
13210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13211 if test $ac_prog = install &&
13212 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13213 # AIX install. It has an incompatible calling convention.
13214 :
13215 elif test $ac_prog = install &&
13216 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13217 # program-specific install script used by HP pwplus--don't use.
13218 :
13219 else
13220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13221 break 3
13222 fi
13223 fi
13224 done
13225 done
13226 ;;
13227 esac
13228 done
13229
13230
13231 fi
13232 if test "${ac_cv_path_install+set}" = set; then
13233 INSTALL=$ac_cv_path_install
13234 else
13235 # As a last resort, use the slow shell script. We don't cache a
13236 # path for INSTALL within a source directory, because that will
13237 # break other packages using the cache if that directory is
13238 # removed, or if the path is relative.
13239 INSTALL=$ac_install_sh
13240 fi
13241 fi
13242 echo "$as_me:$LINENO: result: $INSTALL" >&5
13243 echo "${ECHO_T}$INSTALL" >&6
13244
13245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13246 # It thinks the first close brace ends the variable substitution.
13247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13248
13249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13250
13251 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13252
13253
13254 case ${INSTALL} in
13255 /* ) # Absolute
13256 ;;
13257 ?:* ) # Drive letter, considered as absolute.
13258 ;;
13259 *)
13260 INSTALL=`pwd`/${INSTALL} ;;
13261 esac
13262
13263
13264 case "${host}" in
13265
13266 powerpc-*-darwin* )
13267 INSTALL_PROGRAM="cp -fp"
13268 INSTALL_DATA="cp -fp"
13269 ;;
13270 *)
13271 ;;
13272 esac
13273
13274 # Extract the first word of "strip", so it can be a program name with args.
13275 set dummy strip; ac_word=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_STRIP+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13280 else
13281 if test -n "$STRIP"; then
13282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13283 else
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13286 do
13287 IFS=$as_save_IFS
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_STRIP="strip"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13293 break 2
13294 fi
13295 done
13296 done
13297
13298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13299 fi
13300 fi
13301 STRIP=$ac_cv_prog_STRIP
13302 if test -n "$STRIP"; then
13303 echo "$as_me:$LINENO: result: $STRIP" >&5
13304 echo "${ECHO_T}$STRIP" >&6
13305 else
13306 echo "$as_me:$LINENO: result: no" >&5
13307 echo "${ECHO_T}no" >&6
13308 fi
13309
13310
13311 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13312 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13313 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 else
13316
13317 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13318 egrep -s GNU > /dev/null); then
13319 wx_cv_prog_makeisgnu="yes"
13320 else
13321 wx_cv_prog_makeisgnu="no"
13322 fi
13323
13324 fi
13325 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13326 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13327
13328 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13329 IF_GNU_MAKE=""
13330 else
13331 IF_GNU_MAKE="#"
13332 fi
13333
13334
13335
13336 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13337 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13338 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13339 if test "${wx_cv_prog_makevpath+set}" = set; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 else
13342
13343 cat - << EOF > confMake
13344 check : file
13345 cp \$? \$@
13346 cp \$? final_file
13347 EOF
13348
13349 if test ! -d sub ; then
13350 mkdir sub
13351 fi
13352 echo dummy > sub/file
13353 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13354 RESULT=$?
13355 rm -f sub/file check final_file confMake
13356 rmdir sub
13357 if test "$RESULT" = 0; then
13358 wx_cv_prog_makevpath="yes"
13359 else
13360 wx_cv_prog_makevpath="no"
13361 fi
13362
13363 fi
13364 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13365 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13366
13367 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13368 { { echo "$as_me:$LINENO: error:
13369 You need a make-utility that is able to use the variable
13370 VPATH correctly.
13371 If your version of make does not support VPATH correctly,
13372 please install GNU-make (possibly as gmake), and start
13373 configure with the following command:
13374 export MAKE=gmake; ./configure for sh-type shells
13375 setenv MAKE gmake; ./configure for csh-type shells
13376 Also please do remember to use gmake in this case every time
13377 you are trying to compile.
13378 " >&5
13379 echo "$as_me: error:
13380 You need a make-utility that is able to use the variable
13381 VPATH correctly.
13382 If your version of make does not support VPATH correctly,
13383 please install GNU-make (possibly as gmake), and start
13384 configure with the following command:
13385 export MAKE=gmake; ./configure for sh-type shells
13386 setenv MAKE gmake; ./configure for csh-type shells
13387 Also please do remember to use gmake in this case every time
13388 you are trying to compile.
13389 " >&2;}
13390 { (exit 1); exit 1; }; }
13391 fi fi
13392 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13394 LN_S=$as_ln_s
13395 if test "$LN_S" = "ln -s"; then
13396 echo "$as_me:$LINENO: result: yes" >&5
13397 echo "${ECHO_T}yes" >&6
13398 else
13399 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13400 echo "${ECHO_T}no, using $LN_S" >&6
13401 fi
13402
13403
13404
13405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13406 CXXFLAGS="$CXXFLAGS -qunique"
13407 fi
13408
13409
13410 case "${host}" in
13411 powerpc-*-darwin* )
13412 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13413 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13420
13421 int
13422 main ()
13423 {
13424 #ifndef __POWERPC__
13425 choke me for lack of PowerPC
13426 #endif
13427
13428 ;
13429 return 0;
13430 }
13431 _ACEOF
13432 rm -f conftest.$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13435 ac_status=$?
13436 grep -v '^ *+' conftest.er1 >conftest.err
13437 rm -f conftest.er1
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13444 ac_status=$?
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 echo "$as_me:$LINENO: result: yes" >&5
13454 echo "${ECHO_T}yes" >&6
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13461 cat >>confdefs.h <<\_ACEOF
13462 #define __POWERPC__ 1
13463 _ACEOF
13464
13465
13466 fi
13467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13468 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13469 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13470 cat >conftest.$ac_ext <<_ACEOF
13471 /* confdefs.h. */
13472 _ACEOF
13473 cat confdefs.h >>conftest.$ac_ext
13474 cat >>conftest.$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 #include <CoreFoundation/CFBase.h>
13477
13478 int
13479 main ()
13480 {
13481
13482 ;
13483 return 0;
13484 }
13485 _ACEOF
13486 rm -f conftest.$ac_objext
13487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13488 (eval $ac_compile) 2>conftest.er1
13489 ac_status=$?
13490 grep -v '^ *+' conftest.er1 >conftest.err
13491 rm -f conftest.er1
13492 cat conftest.err >&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13498 ac_status=$?
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; } &&
13501 { ac_try='test -s conftest.$ac_objext'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13504 ac_status=$?
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; }; then
13507 echo "$as_me:$LINENO: result: yes" >&5
13508 echo "${ECHO_T}yes" >&6
13509 else
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13512
13513 echo "$as_me:$LINENO: result: no" >&5
13514 echo "${ECHO_T}no" >&6
13515 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13516 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13517 cat >conftest.$ac_ext <<_ACEOF
13518 /* confdefs.h. */
13519 _ACEOF
13520 cat confdefs.h >>conftest.$ac_ext
13521 cat >>conftest.$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 #define __CF_USE_FRAMEWORK_INCLUDES__
13524 #include <CoreFoundation/CFBase.h>
13525
13526 int
13527 main ()
13528 {
13529
13530 ;
13531 return 0;
13532 }
13533 _ACEOF
13534 rm -f conftest.$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13537 ac_status=$?
13538 grep -v '^ *+' conftest.er1 >conftest.err
13539 rm -f conftest.er1
13540 cat conftest.err >&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13552 ac_status=$?
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 echo "$as_me:$LINENO: result: yes" >&5
13556 echo "${ECHO_T}yes" >&6
13557 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13558 else
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.$ac_ext >&5
13561
13562 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13563 See \`config.log' for more details." >&5
13564 echo "$as_me: error: no. CoreFoundation not available.
13565 See \`config.log' for more details." >&2;}
13566 { (exit 1); exit 1; }; }
13567
13568 fi
13569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13570
13571
13572 fi
13573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13574 ;;
13575 esac
13576
13577 case "${host}" in
13578 *-pc-os2_emx | *-pc-os2-emx )
13579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13580 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13581 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13582 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 else
13585 ac_check_lib_save_LIBS=$LIBS
13586 LIBS="-lcExt $LIBS"
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h. */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13593
13594 /* Override any gcc2 internal prototype to avoid an error. */
13595 #ifdef __cplusplus
13596 extern "C"
13597 #endif
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13600 char drand48 ();
13601 int
13602 main ()
13603 {
13604 drand48 ();
13605 ;
13606 return 0;
13607 }
13608 _ACEOF
13609 rm -f conftest.$ac_objext conftest$ac_exeext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13611 (eval $ac_link) 2>conftest.er1
13612 ac_status=$?
13613 grep -v '^ *+' conftest.er1 >conftest.err
13614 rm -f conftest.er1
13615 cat conftest.err >&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } &&
13618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try='test -s conftest$ac_exeext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_lib_cExt_drand48=yes
13631 else
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13634
13635 ac_cv_lib_cExt_drand48=no
13636 fi
13637 rm -f conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 LIBS=$ac_check_lib_save_LIBS
13640 fi
13641 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13642 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13643 if test $ac_cv_lib_cExt_drand48 = yes; then
13644 LIBS="$LIBS -lcExt"
13645 fi
13646
13647 else
13648 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13649 fi
13650 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13651 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13652 if test "${wx_cv_gccversion+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 else
13655
13656 if test "$cross_compiling" = yes; then
13657 wx_cv_gccversion="EMX2"
13658
13659 else
13660 cat >conftest.$ac_ext <<_ACEOF
13661 /* confdefs.h. */
13662 _ACEOF
13663 cat confdefs.h >>conftest.$ac_ext
13664 cat >>conftest.$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13666
13667 #include <stdio.h>
13668
13669 int main()
13670 {
13671 FILE *f=fopen("conftestval", "w");
13672 if (!f) exit(1);
13673 fprintf(f,
13674 #if (__GNUC__ < 3)
13675 "EMX2"
13676 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13677 "EMX3"
13678 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13679 "Innotek5"
13680 #else
13681 "Innotek6"
13682 #endif
13683 );
13684 exit(0);
13685 }
13686
13687 _ACEOF
13688 rm -f conftest$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>&5
13691 ac_status=$?
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13696 ac_status=$?
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 wx_cv_gccversion=`cat conftestval`
13700 else
13701 echo "$as_me: program exited with status $ac_status" >&5
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13704
13705 ( exit $ac_status )
13706 wx_cv_gccversion="EMX2"
13707 fi
13708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13709 fi
13710
13711 fi
13712 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13713 echo "${ECHO_T}$wx_cv_gccversion" >&6
13714 if test "$wx_cv_gccversion" = "EMX2"; then
13715 LIBS="$LIBS -lstdcpp"
13716 LDFLAGS="$LDFLAGS -Zsysv-signals"
13717 else
13718 if test "$wx_cv_gccversion" = "EMX3"; then
13719 LIBS="$LIBS -lstdcxx -lgcc"
13720 LDFLAGS="$LDFLAGS -Zsysv-signals"
13721 else
13722 LIBS="$LIBS -lstdc++"
13723 fi
13724 fi
13725 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13726 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13727 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13728 wxUSE_OMF=yes
13729 enable_omf=yes
13730 fi
13731 ;;
13732 *)
13733
13734
13735
13736 ac_ext=cc
13737 ac_cpp='$CXXCPP $CPPFLAGS'
13738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13741
13742
13743 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13744 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13745 if test "${ac_cv_string_strcasecmp+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748
13749 cat >conftest.$ac_ext <<_ACEOF
13750 /* confdefs.h. */
13751 _ACEOF
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755
13756 #include <string.h>
13757
13758 int
13759 main ()
13760 {
13761
13762 strcasecmp("foo", "bar");
13763
13764 ;
13765 return 0;
13766 }
13767 _ACEOF
13768 rm -f conftest.$ac_objext conftest$ac_exeext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13770 (eval $ac_link) 2>conftest.er1
13771 ac_status=$?
13772 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779 (eval $ac_try) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }; } &&
13783 { ac_try='test -s conftest$ac_exeext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_cv_string_strcasecmp=yes
13790 else
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.$ac_ext >&5
13793
13794 ac_cv_string_strcasecmp=no
13795
13796 fi
13797 rm -f conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799
13800 fi
13801 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13802 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13803
13804 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13805 cat >>confdefs.h <<\_ACEOF
13806 #define HAVE_STRCASECMP_IN_STRING_H 1
13807 _ACEOF
13808
13809 else
13810 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13811 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13812 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 else
13815
13816 cat >conftest.$ac_ext <<_ACEOF
13817 /* confdefs.h. */
13818 _ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822
13823 #include <strings.h>
13824
13825 int
13826 main ()
13827 {
13828
13829 strcasecmp("foo", "bar");
13830
13831 ;
13832 return 0;
13833 }
13834 _ACEOF
13835 rm -f conftest.$ac_objext conftest$ac_exeext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>conftest.er1
13838 ac_status=$?
13839 grep -v '^ *+' conftest.er1 >conftest.err
13840 rm -f conftest.er1
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try='test -s conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_strings_strcasecmp=yes
13857 else
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13860
13861 ac_cv_strings_strcasecmp=no
13862
13863 fi
13864 rm -f conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866
13867 fi
13868 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13869 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13870
13871 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13872 cat >>confdefs.h <<\_ACEOF
13873 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13874 _ACEOF
13875
13876 else
13877 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13878 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13879 { (exit 1); exit 1; }; }
13880 fi
13881 fi
13882
13883 ac_ext=c
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13888
13889 ;;
13890 esac
13891
13892
13893 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13894 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13895 if test "${ac_cv_header_stdc+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 else
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <stdlib.h>
13905 #include <stdarg.h>
13906 #include <string.h>
13907 #include <float.h>
13908
13909 int
13910 main ()
13911 {
13912
13913 ;
13914 return 0;
13915 }
13916 _ACEOF
13917 rm -f conftest.$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13920 ac_status=$?
13921 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1
13923 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try='test -s conftest.$ac_objext'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_cv_header_stdc=yes
13939 else
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13942
13943 ac_cv_header_stdc=no
13944 fi
13945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13946
13947 if test $ac_cv_header_stdc = yes; then
13948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13949 cat >conftest.$ac_ext <<_ACEOF
13950 /* confdefs.h. */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 #include <string.h>
13956
13957 _ACEOF
13958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13959 $EGREP "memchr" >/dev/null 2>&1; then
13960 :
13961 else
13962 ac_cv_header_stdc=no
13963 fi
13964 rm -f conftest*
13965
13966 fi
13967
13968 if test $ac_cv_header_stdc = yes; then
13969 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13970 cat >conftest.$ac_ext <<_ACEOF
13971 /* confdefs.h. */
13972 _ACEOF
13973 cat confdefs.h >>conftest.$ac_ext
13974 cat >>conftest.$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13976 #include <stdlib.h>
13977
13978 _ACEOF
13979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13980 $EGREP "free" >/dev/null 2>&1; then
13981 :
13982 else
13983 ac_cv_header_stdc=no
13984 fi
13985 rm -f conftest*
13986
13987 fi
13988
13989 if test $ac_cv_header_stdc = yes; then
13990 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13991 if test "$cross_compiling" = yes; then
13992 :
13993 else
13994 cat >conftest.$ac_ext <<_ACEOF
13995 /* confdefs.h. */
13996 _ACEOF
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14000 #include <ctype.h>
14001 #if ((' ' & 0x0FF) == 0x020)
14002 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14003 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14004 #else
14005 # define ISLOWER(c) \
14006 (('a' <= (c) && (c) <= 'i') \
14007 || ('j' <= (c) && (c) <= 'r') \
14008 || ('s' <= (c) && (c) <= 'z'))
14009 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14010 #endif
14011
14012 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14013 int
14014 main ()
14015 {
14016 int i;
14017 for (i = 0; i < 256; i++)
14018 if (XOR (islower (i), ISLOWER (i))
14019 || toupper (i) != TOUPPER (i))
14020 exit(2);
14021 exit (0);
14022 }
14023 _ACEOF
14024 rm -f conftest$ac_exeext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14026 (eval $ac_link) 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14035 :
14036 else
14037 echo "$as_me: program exited with status $ac_status" >&5
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.$ac_ext >&5
14040
14041 ( exit $ac_status )
14042 ac_cv_header_stdc=no
14043 fi
14044 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14045 fi
14046 fi
14047 fi
14048 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14049 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14050 if test $ac_cv_header_stdc = yes; then
14051
14052 cat >>confdefs.h <<\_ACEOF
14053 #define STDC_HEADERS 1
14054 _ACEOF
14055
14056 fi
14057
14058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14069 inttypes.h stdint.h unistd.h
14070 do
14071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14072 echo "$as_me:$LINENO: checking for $ac_header" >&5
14073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 cat >conftest.$ac_ext <<_ACEOF
14078 /* confdefs.h. */
14079 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14083 $ac_includes_default
14084
14085 #include <$ac_header>
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest.$ac_objext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14105 ac_status=$?
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14108 eval "$as_ac_Header=yes"
14109 else
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14112
14113 eval "$as_ac_Header=no"
14114 fi
14115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14116 fi
14117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14120 cat >>confdefs.h <<_ACEOF
14121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14122 _ACEOF
14123
14124 fi
14125
14126 done
14127
14128
14129
14130 for ac_header in stdlib.h
14131 do
14132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14134 echo "$as_me:$LINENO: checking for $ac_header" >&5
14135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 fi
14139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14141 else
14142 # Is the header compilable?
14143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14145 cat >conftest.$ac_ext <<_ACEOF
14146 /* confdefs.h. */
14147 _ACEOF
14148 cat confdefs.h >>conftest.$ac_ext
14149 cat >>conftest.$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 $ac_includes_default
14152 #include <$ac_header>
14153 _ACEOF
14154 rm -f conftest.$ac_objext
14155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 (eval $ac_compile) 2>conftest.er1
14157 ac_status=$?
14158 grep -v '^ *+' conftest.er1 >conftest.err
14159 rm -f conftest.er1
14160 cat conftest.err >&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_header_compiler=yes
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 ac_header_compiler=no
14181 fi
14182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14184 echo "${ECHO_T}$ac_header_compiler" >&6
14185
14186 # Is the header present?
14187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14189 cat >conftest.$ac_ext <<_ACEOF
14190 /* confdefs.h. */
14191 _ACEOF
14192 cat confdefs.h >>conftest.$ac_ext
14193 cat >>conftest.$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14195 #include <$ac_header>
14196 _ACEOF
14197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14199 ac_status=$?
14200 grep -v '^ *+' conftest.er1 >conftest.err
14201 rm -f conftest.er1
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } >/dev/null; then
14205 if test -s conftest.err; then
14206 ac_cpp_err=$ac_c_preproc_warn_flag
14207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14208 else
14209 ac_cpp_err=
14210 fi
14211 else
14212 ac_cpp_err=yes
14213 fi
14214 if test -z "$ac_cpp_err"; then
14215 ac_header_preproc=yes
14216 else
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.$ac_ext >&5
14219
14220 ac_header_preproc=no
14221 fi
14222 rm -f conftest.err conftest.$ac_ext
14223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14224 echo "${ECHO_T}$ac_header_preproc" >&6
14225
14226 # So? What about this header?
14227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14228 yes:no: )
14229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14233 ac_header_preproc=yes
14234 ;;
14235 no:yes:* )
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14248 (
14249 cat <<\_ASBOX
14250 ## ----------------------------------------- ##
14251 ## Report this to wx-dev@lists.wxwidgets.org ##
14252 ## ----------------------------------------- ##
14253 _ASBOX
14254 ) |
14255 sed "s/^/$as_me: WARNING: /" >&2
14256 ;;
14257 esac
14258 echo "$as_me:$LINENO: checking for $ac_header" >&5
14259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 eval "$as_ac_Header=\$ac_header_preproc"
14264 fi
14265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14267
14268 fi
14269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14270 cat >>confdefs.h <<_ACEOF
14271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14272 _ACEOF
14273
14274 fi
14275
14276 done
14277
14278
14279 for ac_header in malloc.h
14280 do
14281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14283 echo "$as_me:$LINENO: checking for $ac_header" >&5
14284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 fi
14288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14290 else
14291 # Is the header compilable?
14292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14294 cat >conftest.$ac_ext <<_ACEOF
14295 /* confdefs.h. */
14296 _ACEOF
14297 cat confdefs.h >>conftest.$ac_ext
14298 cat >>conftest.$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14300 $ac_includes_default
14301 #include <$ac_header>
14302 _ACEOF
14303 rm -f conftest.$ac_objext
14304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>conftest.er1
14306 ac_status=$?
14307 grep -v '^ *+' conftest.er1 >conftest.err
14308 rm -f conftest.er1
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14321 ac_status=$?
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_header_compiler=yes
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 ac_header_compiler=no
14330 fi
14331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14333 echo "${ECHO_T}$ac_header_compiler" >&6
14334
14335 # Is the header present?
14336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 #include <$ac_header>
14345 _ACEOF
14346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14348 ac_status=$?
14349 grep -v '^ *+' conftest.er1 >conftest.err
14350 rm -f conftest.er1
14351 cat conftest.err >&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } >/dev/null; then
14354 if test -s conftest.err; then
14355 ac_cpp_err=$ac_c_preproc_warn_flag
14356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14357 else
14358 ac_cpp_err=
14359 fi
14360 else
14361 ac_cpp_err=yes
14362 fi
14363 if test -z "$ac_cpp_err"; then
14364 ac_header_preproc=yes
14365 else
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14368
14369 ac_header_preproc=no
14370 fi
14371 rm -f conftest.err conftest.$ac_ext
14372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14373 echo "${ECHO_T}$ac_header_preproc" >&6
14374
14375 # So? What about this header?
14376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14377 yes:no: )
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14382 ac_header_preproc=yes
14383 ;;
14384 no:yes:* )
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14397 (
14398 cat <<\_ASBOX
14399 ## ----------------------------------------- ##
14400 ## Report this to wx-dev@lists.wxwidgets.org ##
14401 ## ----------------------------------------- ##
14402 _ASBOX
14403 ) |
14404 sed "s/^/$as_me: WARNING: /" >&2
14405 ;;
14406 esac
14407 echo "$as_me:$LINENO: checking for $ac_header" >&5
14408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 eval "$as_ac_Header=\$ac_header_preproc"
14413 fi
14414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14416
14417 fi
14418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14419 cat >>confdefs.h <<_ACEOF
14420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14421 _ACEOF
14422
14423 fi
14424
14425 done
14426
14427
14428 for ac_header in unistd.h
14429 do
14430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14432 echo "$as_me:$LINENO: checking for $ac_header" >&5
14433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 fi
14437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14439 else
14440 # Is the header compilable?
14441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 $ac_includes_default
14450 #include <$ac_header>
14451 _ACEOF
14452 rm -f conftest.$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>conftest.er1
14455 ac_status=$?
14456 grep -v '^ *+' conftest.er1 >conftest.err
14457 rm -f conftest.er1
14458 cat conftest.err >&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } &&
14461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14464 ac_status=$?
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; } &&
14467 { ac_try='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14473 ac_header_compiler=yes
14474 else
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14477
14478 ac_header_compiler=no
14479 fi
14480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14482 echo "${ECHO_T}$ac_header_compiler" >&6
14483
14484 # Is the header present?
14485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14487 cat >conftest.$ac_ext <<_ACEOF
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 #include <$ac_header>
14494 _ACEOF
14495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14497 ac_status=$?
14498 grep -v '^ *+' conftest.er1 >conftest.err
14499 rm -f conftest.er1
14500 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } >/dev/null; then
14503 if test -s conftest.err; then
14504 ac_cpp_err=$ac_c_preproc_warn_flag
14505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14506 else
14507 ac_cpp_err=
14508 fi
14509 else
14510 ac_cpp_err=yes
14511 fi
14512 if test -z "$ac_cpp_err"; then
14513 ac_header_preproc=yes
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 ac_header_preproc=no
14519 fi
14520 rm -f conftest.err conftest.$ac_ext
14521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14522 echo "${ECHO_T}$ac_header_preproc" >&6
14523
14524 # So? What about this header?
14525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14526 yes:no: )
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14531 ac_header_preproc=yes
14532 ;;
14533 no:yes:* )
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14546 (
14547 cat <<\_ASBOX
14548 ## ----------------------------------------- ##
14549 ## Report this to wx-dev@lists.wxwidgets.org ##
14550 ## ----------------------------------------- ##
14551 _ASBOX
14552 ) |
14553 sed "s/^/$as_me: WARNING: /" >&2
14554 ;;
14555 esac
14556 echo "$as_me:$LINENO: checking for $ac_header" >&5
14557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 else
14561 eval "$as_ac_Header=\$ac_header_preproc"
14562 fi
14563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14565
14566 fi
14567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14568 cat >>confdefs.h <<_ACEOF
14569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14570 _ACEOF
14571
14572 fi
14573
14574 done
14575
14576
14577 for ac_header in wchar.h
14578 do
14579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14581 echo "$as_me:$LINENO: checking for $ac_header" >&5
14582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14585 fi
14586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14588 else
14589 # Is the header compilable?
14590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14592 cat >conftest.$ac_ext <<_ACEOF
14593 /* confdefs.h. */
14594 _ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 $ac_includes_default
14599 #include <$ac_header>
14600 _ACEOF
14601 rm -f conftest.$ac_objext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14603 (eval $ac_compile) 2>conftest.er1
14604 ac_status=$?
14605 grep -v '^ *+' conftest.er1 >conftest.err
14606 rm -f conftest.er1
14607 cat conftest.err >&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14613 ac_status=$?
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; } &&
14616 { ac_try='test -s conftest.$ac_objext'
14617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618 (eval $ac_try) 2>&5
14619 ac_status=$?
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14622 ac_header_compiler=yes
14623 else
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14626
14627 ac_header_compiler=no
14628 fi
14629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14631 echo "${ECHO_T}$ac_header_compiler" >&6
14632
14633 # Is the header present?
14634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14636 cat >conftest.$ac_ext <<_ACEOF
14637 /* confdefs.h. */
14638 _ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 #include <$ac_header>
14643 _ACEOF
14644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } >/dev/null; then
14652 if test -s conftest.err; then
14653 ac_cpp_err=$ac_c_preproc_warn_flag
14654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14655 else
14656 ac_cpp_err=
14657 fi
14658 else
14659 ac_cpp_err=yes
14660 fi
14661 if test -z "$ac_cpp_err"; then
14662 ac_header_preproc=yes
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14666
14667 ac_header_preproc=no
14668 fi
14669 rm -f conftest.err conftest.$ac_ext
14670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14671 echo "${ECHO_T}$ac_header_preproc" >&6
14672
14673 # So? What about this header?
14674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14675 yes:no: )
14676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14680 ac_header_preproc=yes
14681 ;;
14682 no:yes:* )
14683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14695 (
14696 cat <<\_ASBOX
14697 ## ----------------------------------------- ##
14698 ## Report this to wx-dev@lists.wxwidgets.org ##
14699 ## ----------------------------------------- ##
14700 _ASBOX
14701 ) |
14702 sed "s/^/$as_me: WARNING: /" >&2
14703 ;;
14704 esac
14705 echo "$as_me:$LINENO: checking for $ac_header" >&5
14706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 eval "$as_ac_Header=\$ac_header_preproc"
14711 fi
14712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14714
14715 fi
14716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14717 cat >>confdefs.h <<_ACEOF
14718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14719 _ACEOF
14720
14721 fi
14722
14723 done
14724
14725
14726 if test "$ac_cv_header_wchar_h" != "yes"; then
14727
14728 for ac_header in wcstr.h
14729 do
14730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14732 echo "$as_me:$LINENO: checking for $ac_header" >&5
14733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14736 fi
14737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14739 else
14740 # Is the header compilable?
14741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14743 cat >conftest.$ac_ext <<_ACEOF
14744 /* confdefs.h. */
14745 _ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14750 #include <$ac_header>
14751 _ACEOF
14752 rm -f conftest.$ac_objext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14754 (eval $ac_compile) 2>conftest.er1
14755 ac_status=$?
14756 grep -v '^ *+' conftest.er1 >conftest.err
14757 rm -f conftest.er1
14758 cat conftest.err >&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; } &&
14767 { ac_try='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 ac_header_compiler=yes
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14777
14778 ac_header_compiler=no
14779 fi
14780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14782 echo "${ECHO_T}$ac_header_compiler" >&6
14783
14784 # Is the header present?
14785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #include <$ac_header>
14794 _ACEOF
14795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14797 ac_status=$?
14798 grep -v '^ *+' conftest.er1 >conftest.err
14799 rm -f conftest.er1
14800 cat conftest.err >&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } >/dev/null; then
14803 if test -s conftest.err; then
14804 ac_cpp_err=$ac_c_preproc_warn_flag
14805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14806 else
14807 ac_cpp_err=
14808 fi
14809 else
14810 ac_cpp_err=yes
14811 fi
14812 if test -z "$ac_cpp_err"; then
14813 ac_header_preproc=yes
14814 else
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14817
14818 ac_header_preproc=no
14819 fi
14820 rm -f conftest.err conftest.$ac_ext
14821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14822 echo "${ECHO_T}$ac_header_preproc" >&6
14823
14824 # So? What about this header?
14825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14826 yes:no: )
14827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14831 ac_header_preproc=yes
14832 ;;
14833 no:yes:* )
14834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14846 (
14847 cat <<\_ASBOX
14848 ## ----------------------------------------- ##
14849 ## Report this to wx-dev@lists.wxwidgets.org ##
14850 ## ----------------------------------------- ##
14851 _ASBOX
14852 ) |
14853 sed "s/^/$as_me: WARNING: /" >&2
14854 ;;
14855 esac
14856 echo "$as_me:$LINENO: checking for $ac_header" >&5
14857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14859 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 else
14861 eval "$as_ac_Header=\$ac_header_preproc"
14862 fi
14863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14865
14866 fi
14867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14868 cat >>confdefs.h <<_ACEOF
14869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14870 _ACEOF
14871
14872 fi
14873
14874 done
14875
14876 fi
14877
14878
14879 for ac_header in fnmatch.h
14880 do
14881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14883 echo "$as_me:$LINENO: checking for $ac_header" >&5
14884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 fi
14888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14890 else
14891 # Is the header compilable?
14892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14901 #include <$ac_header>
14902 _ACEOF
14903 rm -f conftest.$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14915 ac_status=$?
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14921 ac_status=$?
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_header_compiler=yes
14925 else
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14928
14929 ac_header_compiler=no
14930 fi
14931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14933 echo "${ECHO_T}$ac_header_compiler" >&6
14934
14935 # Is the header present?
14936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14938 cat >conftest.$ac_ext <<_ACEOF
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 #include <$ac_header>
14945 _ACEOF
14946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14948 ac_status=$?
14949 grep -v '^ *+' conftest.er1 >conftest.err
14950 rm -f conftest.er1
14951 cat conftest.err >&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } >/dev/null; then
14954 if test -s conftest.err; then
14955 ac_cpp_err=$ac_c_preproc_warn_flag
14956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14957 else
14958 ac_cpp_err=
14959 fi
14960 else
14961 ac_cpp_err=yes
14962 fi
14963 if test -z "$ac_cpp_err"; then
14964 ac_header_preproc=yes
14965 else
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.$ac_ext >&5
14968
14969 ac_header_preproc=no
14970 fi
14971 rm -f conftest.err conftest.$ac_ext
14972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14973 echo "${ECHO_T}$ac_header_preproc" >&6
14974
14975 # So? What about this header?
14976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14977 yes:no: )
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14982 ac_header_preproc=yes
14983 ;;
14984 no:yes:* )
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14997 (
14998 cat <<\_ASBOX
14999 ## ----------------------------------------- ##
15000 ## Report this to wx-dev@lists.wxwidgets.org ##
15001 ## ----------------------------------------- ##
15002 _ASBOX
15003 ) |
15004 sed "s/^/$as_me: WARNING: /" >&2
15005 ;;
15006 esac
15007 echo "$as_me:$LINENO: checking for $ac_header" >&5
15008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012 eval "$as_ac_Header=\$ac_header_preproc"
15013 fi
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15016
15017 fi
15018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15019 cat >>confdefs.h <<_ACEOF
15020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15021 _ACEOF
15022
15023 fi
15024
15025 done
15026
15027
15028
15029 for ac_header in langinfo.h
15030 do
15031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15033 echo "$as_me:$LINENO: checking for $ac_header" >&5
15034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 fi
15038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15040 else
15041 # Is the header compilable?
15042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15044 cat >conftest.$ac_ext <<_ACEOF
15045 /* confdefs.h. */
15046 _ACEOF
15047 cat confdefs.h >>conftest.$ac_ext
15048 cat >>conftest.$ac_ext <<_ACEOF
15049 /* end confdefs.h. */
15050 $ac_includes_default
15051 #include <$ac_header>
15052 _ACEOF
15053 rm -f conftest.$ac_objext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15055 (eval $ac_compile) 2>conftest.er1
15056 ac_status=$?
15057 grep -v '^ *+' conftest.er1 >conftest.err
15058 rm -f conftest.er1
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15065 ac_status=$?
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; } &&
15068 { ac_try='test -s conftest.$ac_objext'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15071 ac_status=$?
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; }; then
15074 ac_header_compiler=yes
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15078
15079 ac_header_compiler=no
15080 fi
15081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15083 echo "${ECHO_T}$ac_header_compiler" >&6
15084
15085 # Is the header present?
15086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 #include <$ac_header>
15095 _ACEOF
15096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15098 ac_status=$?
15099 grep -v '^ *+' conftest.er1 >conftest.err
15100 rm -f conftest.er1
15101 cat conftest.err >&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } >/dev/null; then
15104 if test -s conftest.err; then
15105 ac_cpp_err=$ac_c_preproc_warn_flag
15106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15107 else
15108 ac_cpp_err=
15109 fi
15110 else
15111 ac_cpp_err=yes
15112 fi
15113 if test -z "$ac_cpp_err"; then
15114 ac_header_preproc=yes
15115 else
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.$ac_ext >&5
15118
15119 ac_header_preproc=no
15120 fi
15121 rm -f conftest.err conftest.$ac_ext
15122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15123 echo "${ECHO_T}$ac_header_preproc" >&6
15124
15125 # So? What about this header?
15126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15127 yes:no: )
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15132 ac_header_preproc=yes
15133 ;;
15134 no:yes:* )
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15147 (
15148 cat <<\_ASBOX
15149 ## ----------------------------------------- ##
15150 ## Report this to wx-dev@lists.wxwidgets.org ##
15151 ## ----------------------------------------- ##
15152 _ASBOX
15153 ) |
15154 sed "s/^/$as_me: WARNING: /" >&2
15155 ;;
15156 esac
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15161 else
15162 eval "$as_ac_Header=\$ac_header_preproc"
15163 fi
15164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15166
15167 fi
15168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15169 cat >>confdefs.h <<_ACEOF
15170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15171 _ACEOF
15172
15173 fi
15174
15175 done
15176
15177
15178 case "${host}" in
15179 *-pc-os2_emx | *-pc-os2-emx )
15180 if test $ac_cv_header_langinfo_h = "yes" \
15181 -a \( "$wx_cv_gccversion" = "EMX2" \
15182 -o "$wx_cv_gccversion" = "EMX3" \
15183 -o "$wx_cv_gccversion" = "Innotek5" \); then
15184 LIBS="$LIBS -lintl"
15185 fi
15186 ;;
15187 esac
15188
15189 if test "$wxUSE_GUI" = "yes"; then
15190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15191
15192 for ac_header in X11/Xlib.h
15193 do
15194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15196 echo "$as_me:$LINENO: checking for $ac_header" >&5
15197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 fi
15201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15203 else
15204 # Is the header compilable?
15205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15207 cat >conftest.$ac_ext <<_ACEOF
15208 /* confdefs.h. */
15209 _ACEOF
15210 cat confdefs.h >>conftest.$ac_ext
15211 cat >>conftest.$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213 $ac_includes_default
15214 #include <$ac_header>
15215 _ACEOF
15216 rm -f conftest.$ac_objext
15217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15218 (eval $ac_compile) 2>conftest.er1
15219 ac_status=$?
15220 grep -v '^ *+' conftest.er1 >conftest.err
15221 rm -f conftest.er1
15222 cat conftest.err >&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } &&
15225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; } &&
15231 { ac_try='test -s conftest.$ac_objext'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15234 ac_status=$?
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; }; then
15237 ac_header_compiler=yes
15238 else
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15241
15242 ac_header_compiler=no
15243 fi
15244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15246 echo "${ECHO_T}$ac_header_compiler" >&6
15247
15248 # Is the header present?
15249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15251 cat >conftest.$ac_ext <<_ACEOF
15252 /* confdefs.h. */
15253 _ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15257 #include <$ac_header>
15258 _ACEOF
15259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15261 ac_status=$?
15262 grep -v '^ *+' conftest.er1 >conftest.err
15263 rm -f conftest.er1
15264 cat conftest.err >&5
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); } >/dev/null; then
15267 if test -s conftest.err; then
15268 ac_cpp_err=$ac_c_preproc_warn_flag
15269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15270 else
15271 ac_cpp_err=
15272 fi
15273 else
15274 ac_cpp_err=yes
15275 fi
15276 if test -z "$ac_cpp_err"; then
15277 ac_header_preproc=yes
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282 ac_header_preproc=no
15283 fi
15284 rm -f conftest.err conftest.$ac_ext
15285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15286 echo "${ECHO_T}$ac_header_preproc" >&6
15287
15288 # So? What about this header?
15289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15290 yes:no: )
15291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15295 ac_header_preproc=yes
15296 ;;
15297 no:yes:* )
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15310 (
15311 cat <<\_ASBOX
15312 ## ----------------------------------------- ##
15313 ## Report this to wx-dev@lists.wxwidgets.org ##
15314 ## ----------------------------------------- ##
15315 _ASBOX
15316 ) |
15317 sed "s/^/$as_me: WARNING: /" >&2
15318 ;;
15319 esac
15320 echo "$as_me:$LINENO: checking for $ac_header" >&5
15321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325 eval "$as_ac_Header=\$ac_header_preproc"
15326 fi
15327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15329
15330 fi
15331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15332 cat >>confdefs.h <<_ACEOF
15333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15334 _ACEOF
15335
15336 fi
15337
15338 done
15339
15340
15341 for ac_header in X11/XKBlib.h
15342 do
15343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15344 echo "$as_me:$LINENO: checking for $ac_header" >&5
15345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 else
15349 cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h. */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355
15356 #if HAVE_X11_XLIB_H
15357 #include <X11/Xlib.h>
15358 #endif
15359
15360
15361 #include <$ac_header>
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15366 ac_status=$?
15367 grep -v '^ *+' conftest.er1 >conftest.err
15368 rm -f conftest.er1
15369 cat conftest.err >&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try='test -s conftest.$ac_objext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 eval "$as_ac_Header=yes"
15385 else
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.$ac_ext >&5
15388
15389 eval "$as_ac_Header=no"
15390 fi
15391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15392 fi
15393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15396 cat >>confdefs.h <<_ACEOF
15397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15398 _ACEOF
15399
15400 fi
15401
15402 done
15403
15404 fi
15405 fi
15406
15407
15408 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15410 if test "${ac_cv_c_const+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423 /* FIXME: Include the comments suggested by Paul. */
15424 #ifndef __cplusplus
15425 /* Ultrix mips cc rejects this. */
15426 typedef int charset[2];
15427 const charset x;
15428 /* SunOS 4.1.1 cc rejects this. */
15429 char const *const *ccp;
15430 char **p;
15431 /* NEC SVR4.0.2 mips cc rejects this. */
15432 struct point {int x, y;};
15433 static struct point const zero = {0,0};
15434 /* AIX XL C 1.02.0.0 rejects this.
15435 It does not let you subtract one const X* pointer from another in
15436 an arm of an if-expression whose if-part is not a constant
15437 expression */
15438 const char *g = "string";
15439 ccp = &g + (g ? g-g : 0);
15440 /* HPUX 7.0 cc rejects these. */
15441 ++ccp;
15442 p = (char**) ccp;
15443 ccp = (char const *const *) p;
15444 { /* SCO 3.2v4 cc rejects this. */
15445 char *t;
15446 char const *s = 0 ? (char *) 0 : (char const *) 0;
15447
15448 *t++ = 0;
15449 }
15450 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15451 int x[] = {25, 17};
15452 const int *foo = &x[0];
15453 ++foo;
15454 }
15455 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15456 typedef const int *iptr;
15457 iptr p = 0;
15458 ++p;
15459 }
15460 { /* AIX XL C 1.02.0.0 rejects this saying
15461 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15462 struct s { int j; const int *ap[3]; };
15463 struct s *b; b->j = 5;
15464 }
15465 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15466 const int foo = 10;
15467 }
15468 #endif
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_cv_c_const=yes
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 ac_cv_c_const=no
15501 fi
15502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15503 fi
15504 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15505 echo "${ECHO_T}$ac_cv_c_const" >&6
15506 if test $ac_cv_c_const = no; then
15507
15508 cat >>confdefs.h <<\_ACEOF
15509 #define const
15510 _ACEOF
15511
15512 fi
15513
15514 echo "$as_me:$LINENO: checking for inline" >&5
15515 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15516 if test "${ac_cv_c_inline+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15518 else
15519 ac_cv_c_inline=no
15520 for ac_kw in inline __inline__ __inline; do
15521 cat >conftest.$ac_ext <<_ACEOF
15522 /* confdefs.h. */
15523 _ACEOF
15524 cat confdefs.h >>conftest.$ac_ext
15525 cat >>conftest.$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15527 #ifndef __cplusplus
15528 typedef int foo_t;
15529 static $ac_kw foo_t static_foo () {return 0; }
15530 $ac_kw foo_t foo () {return 0; }
15531 #endif
15532
15533 _ACEOF
15534 rm -f conftest.$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>conftest.er1
15537 ac_status=$?
15538 grep -v '^ *+' conftest.er1 >conftest.err
15539 rm -f conftest.er1
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15546 ac_status=$?
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest.$ac_objext'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15552 ac_status=$?
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15555 ac_cv_c_inline=$ac_kw; break
15556 else
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.$ac_ext >&5
15559
15560 fi
15561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15562 done
15563
15564 fi
15565 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15566 echo "${ECHO_T}$ac_cv_c_inline" >&6
15567
15568
15569 case $ac_cv_c_inline in
15570 inline | yes) ;;
15571 *)
15572 case $ac_cv_c_inline in
15573 no) ac_val=;;
15574 *) ac_val=$ac_cv_c_inline;;
15575 esac
15576 cat >>confdefs.h <<_ACEOF
15577 #ifndef __cplusplus
15578 #define inline $ac_val
15579 #endif
15580 _ACEOF
15581 ;;
15582 esac
15583
15584
15585 echo "$as_me:$LINENO: checking for char" >&5
15586 echo $ECHO_N "checking for char... $ECHO_C" >&6
15587 if test "${ac_cv_type_char+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15589 else
15590 cat >conftest.$ac_ext <<_ACEOF
15591 /* confdefs.h. */
15592 _ACEOF
15593 cat confdefs.h >>conftest.$ac_ext
15594 cat >>conftest.$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15596 $ac_includes_default
15597 int
15598 main ()
15599 {
15600 if ((char *) 0)
15601 return 0;
15602 if (sizeof (char))
15603 return 0;
15604 ;
15605 return 0;
15606 }
15607 _ACEOF
15608 rm -f conftest.$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15611 ac_status=$?
15612 grep -v '^ *+' conftest.er1 >conftest.err
15613 rm -f conftest.er1
15614 cat conftest.err >&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; } &&
15623 { ac_try='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_cv_type_char=yes
15630 else
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.$ac_ext >&5
15633
15634 ac_cv_type_char=no
15635 fi
15636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15637 fi
15638 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15639 echo "${ECHO_T}$ac_cv_type_char" >&6
15640
15641 echo "$as_me:$LINENO: checking size of char" >&5
15642 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15643 if test "${ac_cv_sizeof_char+set}" = set; then
15644 echo $ECHO_N "(cached) $ECHO_C" >&6
15645 else
15646 if test "$ac_cv_type_char" = yes; then
15647 # The cast to unsigned long works around a bug in the HP C Compiler
15648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15650 # This bug is HP SR number 8606223364.
15651 if test "$cross_compiling" = yes; then
15652 # Depending upon the size, compute the lo and hi bounds.
15653 cat >conftest.$ac_ext <<_ACEOF
15654 /* confdefs.h. */
15655 _ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 $ac_includes_default
15660 int
15661 main ()
15662 {
15663 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15664 test_array [0] = 0
15665
15666 ;
15667 return 0;
15668 }
15669 _ACEOF
15670 rm -f conftest.$ac_objext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>conftest.er1
15673 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1
15676 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_lo=0 ac_mid=0
15692 while :; do
15693 cat >conftest.$ac_ext <<_ACEOF
15694 /* confdefs.h. */
15695 _ACEOF
15696 cat confdefs.h >>conftest.$ac_ext
15697 cat >>conftest.$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699 $ac_includes_default
15700 int
15701 main ()
15702 {
15703 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15704 test_array [0] = 0
15705
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>conftest.er1
15713 ac_status=$?
15714 grep -v '^ *+' conftest.er1 >conftest.err
15715 rm -f conftest.er1
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_hi=$ac_mid; break
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 ac_lo=`expr $ac_mid + 1`
15737 if test $ac_lo -le $ac_mid; then
15738 ac_lo= ac_hi=
15739 break
15740 fi
15741 ac_mid=`expr 2 '*' $ac_mid + 1`
15742 fi
15743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15744 done
15745 else
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15756 int
15757 main ()
15758 {
15759 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15760 test_array [0] = 0
15761
15762 ;
15763 return 0;
15764 }
15765 _ACEOF
15766 rm -f conftest.$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } &&
15781 { ac_try='test -s conftest.$ac_objext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15787 ac_hi=-1 ac_mid=-1
15788 while :; do
15789 cat >conftest.$ac_ext <<_ACEOF
15790 /* confdefs.h. */
15791 _ACEOF
15792 cat confdefs.h >>conftest.$ac_ext
15793 cat >>conftest.$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795 $ac_includes_default
15796 int
15797 main ()
15798 {
15799 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15800 test_array [0] = 0
15801
15802 ;
15803 return 0;
15804 }
15805 _ACEOF
15806 rm -f conftest.$ac_objext
15807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15808 (eval $ac_compile) 2>conftest.er1
15809 ac_status=$?
15810 grep -v '^ *+' conftest.er1 >conftest.err
15811 rm -f conftest.er1
15812 cat conftest.err >&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); } &&
15815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_lo=$ac_mid; break
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15831
15832 ac_hi=`expr '(' $ac_mid ')' - 1`
15833 if test $ac_mid -le $ac_hi; then
15834 ac_lo= ac_hi=
15835 break
15836 fi
15837 ac_mid=`expr 2 '*' $ac_mid`
15838 fi
15839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15840 done
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845 ac_lo= ac_hi=
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848 fi
15849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15850 # Binary search between lo and hi bounds.
15851 while test "x$ac_lo" != "x$ac_hi"; do
15852 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 $ac_includes_default
15860 int
15861 main ()
15862 {
15863 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15864 test_array [0] = 0
15865
15866 ;
15867 return 0;
15868 }
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15872 (eval $ac_compile) 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15882 ac_status=$?
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 ac_hi=$ac_mid
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 ac_lo=`expr '(' $ac_mid ')' + 1`
15897 fi
15898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15899 done
15900 case $ac_lo in
15901 ?*) ac_cv_sizeof_char=$ac_lo;;
15902 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: cannot compute sizeof (char), 77
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; } ;;
15907 esac
15908 else
15909 if test "$cross_compiling" = yes; then
15910 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15911 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15912 { (exit 1); exit 1; }; }
15913 else
15914 cat >conftest.$ac_ext <<_ACEOF
15915 /* confdefs.h. */
15916 _ACEOF
15917 cat confdefs.h >>conftest.$ac_ext
15918 cat >>conftest.$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 long longval () { return (long) (sizeof (char)); }
15922 unsigned long ulongval () { return (long) (sizeof (char)); }
15923 #include <stdio.h>
15924 #include <stdlib.h>
15925 int
15926 main ()
15927 {
15928
15929 FILE *f = fopen ("conftest.val", "w");
15930 if (! f)
15931 exit (1);
15932 if (((long) (sizeof (char))) < 0)
15933 {
15934 long i = longval ();
15935 if (i != ((long) (sizeof (char))))
15936 exit (1);
15937 fprintf (f, "%ld\n", i);
15938 }
15939 else
15940 {
15941 unsigned long i = ulongval ();
15942 if (i != ((long) (sizeof (char))))
15943 exit (1);
15944 fprintf (f, "%lu\n", i);
15945 }
15946 exit (ferror (f) || fclose (f) != 0);
15947
15948 ;
15949 return 0;
15950 }
15951 _ACEOF
15952 rm -f conftest$ac_exeext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15954 (eval $ac_link) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; }; then
15963 ac_cv_sizeof_char=`cat conftest.val`
15964 else
15965 echo "$as_me: program exited with status $ac_status" >&5
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.$ac_ext >&5
15968
15969 ( exit $ac_status )
15970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15971 See \`config.log' for more details." >&5
15972 echo "$as_me: error: cannot compute sizeof (char), 77
15973 See \`config.log' for more details." >&2;}
15974 { (exit 1); exit 1; }; }
15975 fi
15976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15977 fi
15978 fi
15979 rm -f conftest.val
15980 else
15981 ac_cv_sizeof_char=0
15982 fi
15983 fi
15984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15985 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15986 cat >>confdefs.h <<_ACEOF
15987 #define SIZEOF_CHAR $ac_cv_sizeof_char
15988 _ACEOF
15989
15990
15991 echo "$as_me:$LINENO: checking for short" >&5
15992 echo $ECHO_N "checking for short... $ECHO_C" >&6
15993 if test "${ac_cv_type_short+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 else
15996 cat >conftest.$ac_ext <<_ACEOF
15997 /* confdefs.h. */
15998 _ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 $ac_includes_default
16003 int
16004 main ()
16005 {
16006 if ((short *) 0)
16007 return 0;
16008 if (sizeof (short))
16009 return 0;
16010 ;
16011 return 0;
16012 }
16013 _ACEOF
16014 rm -f conftest.$ac_objext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16016 (eval $ac_compile) 2>conftest.er1
16017 ac_status=$?
16018 grep -v '^ *+' conftest.er1 >conftest.err
16019 rm -f conftest.er1
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_type_short=yes
16036 else
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16039
16040 ac_cv_type_short=no
16041 fi
16042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16043 fi
16044 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16045 echo "${ECHO_T}$ac_cv_type_short" >&6
16046
16047 echo "$as_me:$LINENO: checking size of short" >&5
16048 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16049 if test "${ac_cv_sizeof_short+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16051 else
16052 if test "$ac_cv_type_short" = yes; then
16053 # The cast to unsigned long works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 if test "$cross_compiling" = yes; then
16058 # Depending upon the size, compute the lo and hi bounds.
16059 cat >conftest.$ac_ext <<_ACEOF
16060 /* confdefs.h. */
16061 _ACEOF
16062 cat confdefs.h >>conftest.$ac_ext
16063 cat >>conftest.$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 $ac_includes_default
16066 int
16067 main ()
16068 {
16069 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16070 test_array [0] = 0
16071
16072 ;
16073 return 0;
16074 }
16075 _ACEOF
16076 rm -f conftest.$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16079 ac_status=$?
16080 grep -v '^ *+' conftest.er1 >conftest.err
16081 rm -f conftest.er1
16082 cat conftest.err >&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_lo=0 ac_mid=0
16098 while :; do
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16106 int
16107 main ()
16108 {
16109 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16110 test_array [0] = 0
16111
16112 ;
16113 return 0;
16114 }
16115 _ACEOF
16116 rm -f conftest.$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16128 ac_status=$?
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try='test -s conftest.$ac_objext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16134 ac_status=$?
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_hi=$ac_mid; break
16138 else
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16141
16142 ac_lo=`expr $ac_mid + 1`
16143 if test $ac_lo -le $ac_mid; then
16144 ac_lo= ac_hi=
16145 break
16146 fi
16147 ac_mid=`expr 2 '*' $ac_mid + 1`
16148 fi
16149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16150 done
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 cat >conftest.$ac_ext <<_ACEOF
16156 /* confdefs.h. */
16157 _ACEOF
16158 cat confdefs.h >>conftest.$ac_ext
16159 cat >>conftest.$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 $ac_includes_default
16162 int
16163 main ()
16164 {
16165 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16166 test_array [0] = 0
16167
16168 ;
16169 return 0;
16170 }
16171 _ACEOF
16172 rm -f conftest.$ac_objext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16174 (eval $ac_compile) 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; } &&
16187 { ac_try='test -s conftest.$ac_objext'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; }; then
16193 ac_hi=-1 ac_mid=-1
16194 while :; do
16195 cat >conftest.$ac_ext <<_ACEOF
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16202 int
16203 main ()
16204 {
16205 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16206 test_array [0] = 0
16207
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16224 ac_status=$?
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; } &&
16227 { ac_try='test -s conftest.$ac_objext'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16230 ac_status=$?
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; }; then
16233 ac_lo=$ac_mid; break
16234 else
16235 echo "$as_me: failed program was:" >&5
16236 sed 's/^/| /' conftest.$ac_ext >&5
16237
16238 ac_hi=`expr '(' $ac_mid ')' - 1`
16239 if test $ac_mid -le $ac_hi; then
16240 ac_lo= ac_hi=
16241 break
16242 fi
16243 ac_mid=`expr 2 '*' $ac_mid`
16244 fi
16245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16246 done
16247 else
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16250
16251 ac_lo= ac_hi=
16252 fi
16253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16254 fi
16255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16256 # Binary search between lo and hi bounds.
16257 while test "x$ac_lo" != "x$ac_hi"; do
16258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16259 cat >conftest.$ac_ext <<_ACEOF
16260 /* confdefs.h. */
16261 _ACEOF
16262 cat confdefs.h >>conftest.$ac_ext
16263 cat >>conftest.$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 $ac_includes_default
16266 int
16267 main ()
16268 {
16269 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16270 test_array [0] = 0
16271
16272 ;
16273 return 0;
16274 }
16275 _ACEOF
16276 rm -f conftest.$ac_objext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16278 (eval $ac_compile) 2>conftest.er1
16279 ac_status=$?
16280 grep -v '^ *+' conftest.er1 >conftest.err
16281 rm -f conftest.er1
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } &&
16285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; } &&
16291 { ac_try='test -s conftest.$ac_objext'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16294 ac_status=$?
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; }; then
16297 ac_hi=$ac_mid
16298 else
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.$ac_ext >&5
16301
16302 ac_lo=`expr '(' $ac_mid ')' + 1`
16303 fi
16304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16305 done
16306 case $ac_lo in
16307 ?*) ac_cv_sizeof_short=$ac_lo;;
16308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: cannot compute sizeof (short), 77
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; } ;;
16313 esac
16314 else
16315 if test "$cross_compiling" = yes; then
16316 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16317 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16318 { (exit 1); exit 1; }; }
16319 else
16320 cat >conftest.$ac_ext <<_ACEOF
16321 /* confdefs.h. */
16322 _ACEOF
16323 cat confdefs.h >>conftest.$ac_ext
16324 cat >>conftest.$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16327 long longval () { return (long) (sizeof (short)); }
16328 unsigned long ulongval () { return (long) (sizeof (short)); }
16329 #include <stdio.h>
16330 #include <stdlib.h>
16331 int
16332 main ()
16333 {
16334
16335 FILE *f = fopen ("conftest.val", "w");
16336 if (! f)
16337 exit (1);
16338 if (((long) (sizeof (short))) < 0)
16339 {
16340 long i = longval ();
16341 if (i != ((long) (sizeof (short))))
16342 exit (1);
16343 fprintf (f, "%ld\n", i);
16344 }
16345 else
16346 {
16347 unsigned long i = ulongval ();
16348 if (i != ((long) (sizeof (short))))
16349 exit (1);
16350 fprintf (f, "%lu\n", i);
16351 }
16352 exit (ferror (f) || fclose (f) != 0);
16353
16354 ;
16355 return 0;
16356 }
16357 _ACEOF
16358 rm -f conftest$ac_exeext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16360 (eval $ac_link) 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16366 ac_status=$?
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 ac_cv_sizeof_short=`cat conftest.val`
16370 else
16371 echo "$as_me: program exited with status $ac_status" >&5
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16374
16375 ( exit $ac_status )
16376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16377 See \`config.log' for more details." >&5
16378 echo "$as_me: error: cannot compute sizeof (short), 77
16379 See \`config.log' for more details." >&2;}
16380 { (exit 1); exit 1; }; }
16381 fi
16382 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16383 fi
16384 fi
16385 rm -f conftest.val
16386 else
16387 ac_cv_sizeof_short=0
16388 fi
16389 fi
16390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16392 cat >>confdefs.h <<_ACEOF
16393 #define SIZEOF_SHORT $ac_cv_sizeof_short
16394 _ACEOF
16395
16396
16397 echo "$as_me:$LINENO: checking for void *" >&5
16398 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16399 if test "${ac_cv_type_void_p+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 $ac_includes_default
16409 int
16410 main ()
16411 {
16412 if ((void * *) 0)
16413 return 0;
16414 if (sizeof (void *))
16415 return 0;
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16432 ac_status=$?
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; } &&
16435 { ac_try='test -s conftest.$ac_objext'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
16441 ac_cv_type_void_p=yes
16442 else
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16445
16446 ac_cv_type_void_p=no
16447 fi
16448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16449 fi
16450 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16451 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16452
16453 echo "$as_me:$LINENO: checking size of void *" >&5
16454 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16455 if test "${ac_cv_sizeof_void_p+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 else
16458 if test "$ac_cv_type_void_p" = yes; then
16459 # The cast to unsigned long works around a bug in the HP C Compiler
16460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16462 # This bug is HP SR number 8606223364.
16463 if test "$cross_compiling" = yes; then
16464 # Depending upon the size, compute the lo and hi bounds.
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 $ac_includes_default
16472 int
16473 main ()
16474 {
16475 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16476 test_array [0] = 0
16477
16478 ;
16479 return 0;
16480 }
16481 _ACEOF
16482 rm -f conftest.$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16485 ac_status=$?
16486 grep -v '^ *+' conftest.er1 >conftest.err
16487 rm -f conftest.er1
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16500 ac_status=$?
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 ac_lo=0 ac_mid=0
16504 while :; do
16505 cat >conftest.$ac_ext <<_ACEOF
16506 /* confdefs.h. */
16507 _ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511 $ac_includes_default
16512 int
16513 main ()
16514 {
16515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16516 test_array [0] = 0
16517
16518 ;
16519 return 0;
16520 }
16521 _ACEOF
16522 rm -f conftest.$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16534 ac_status=$?
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16540 ac_status=$?
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_hi=$ac_mid; break
16544 else
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16547
16548 ac_lo=`expr $ac_mid + 1`
16549 if test $ac_lo -le $ac_mid; then
16550 ac_lo= ac_hi=
16551 break
16552 fi
16553 ac_mid=`expr 2 '*' $ac_mid + 1`
16554 fi
16555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16556 done
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16560
16561 cat >conftest.$ac_ext <<_ACEOF
16562 /* confdefs.h. */
16563 _ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 $ac_includes_default
16568 int
16569 main ()
16570 {
16571 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16572 test_array [0] = 0
16573
16574 ;
16575 return 0;
16576 }
16577 _ACEOF
16578 rm -f conftest.$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16581 ac_status=$?
16582 grep -v '^ *+' conftest.er1 >conftest.err
16583 rm -f conftest.er1
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16596 ac_status=$?
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16599 ac_hi=-1 ac_mid=-1
16600 while :; do
16601 cat >conftest.$ac_ext <<_ACEOF
16602 /* confdefs.h. */
16603 _ACEOF
16604 cat confdefs.h >>conftest.$ac_ext
16605 cat >>conftest.$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16608 int
16609 main ()
16610 {
16611 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16612 test_array [0] = 0
16613
16614 ;
16615 return 0;
16616 }
16617 _ACEOF
16618 rm -f conftest.$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>conftest.er1
16621 ac_status=$?
16622 grep -v '^ *+' conftest.er1 >conftest.err
16623 rm -f conftest.er1
16624 cat conftest.err >&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } &&
16627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_lo=$ac_mid; break
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16643
16644 ac_hi=`expr '(' $ac_mid ')' - 1`
16645 if test $ac_mid -le $ac_hi; then
16646 ac_lo= ac_hi=
16647 break
16648 fi
16649 ac_mid=`expr 2 '*' $ac_mid`
16650 fi
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652 done
16653 else
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16656
16657 ac_lo= ac_hi=
16658 fi
16659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16660 fi
16661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16662 # Binary search between lo and hi bounds.
16663 while test "x$ac_lo" != "x$ac_hi"; do
16664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h. */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16672 int
16673 main ()
16674 {
16675 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16676 test_array [0] = 0
16677
16678 ;
16679 return 0;
16680 }
16681 _ACEOF
16682 rm -f conftest.$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16685 ac_status=$?
16686 grep -v '^ *+' conftest.er1 >conftest.err
16687 rm -f conftest.er1
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_hi=$ac_mid
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16707
16708 ac_lo=`expr '(' $ac_mid ')' + 1`
16709 fi
16710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16711 done
16712 case $ac_lo in
16713 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16714 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16715 See \`config.log' for more details." >&5
16716 echo "$as_me: error: cannot compute sizeof (void *), 77
16717 See \`config.log' for more details." >&2;}
16718 { (exit 1); exit 1; }; } ;;
16719 esac
16720 else
16721 if test "$cross_compiling" = yes; then
16722 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16723 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16724 { (exit 1); exit 1; }; }
16725 else
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 long longval () { return (long) (sizeof (void *)); }
16734 unsigned long ulongval () { return (long) (sizeof (void *)); }
16735 #include <stdio.h>
16736 #include <stdlib.h>
16737 int
16738 main ()
16739 {
16740
16741 FILE *f = fopen ("conftest.val", "w");
16742 if (! f)
16743 exit (1);
16744 if (((long) (sizeof (void *))) < 0)
16745 {
16746 long i = longval ();
16747 if (i != ((long) (sizeof (void *))))
16748 exit (1);
16749 fprintf (f, "%ld\n", i);
16750 }
16751 else
16752 {
16753 unsigned long i = ulongval ();
16754 if (i != ((long) (sizeof (void *))))
16755 exit (1);
16756 fprintf (f, "%lu\n", i);
16757 }
16758 exit (ferror (f) || fclose (f) != 0);
16759
16760 ;
16761 return 0;
16762 }
16763 _ACEOF
16764 rm -f conftest$ac_exeext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16766 (eval $ac_link) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_cv_sizeof_void_p=`cat conftest.val`
16776 else
16777 echo "$as_me: program exited with status $ac_status" >&5
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 ( exit $ac_status )
16782 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16783 See \`config.log' for more details." >&5
16784 echo "$as_me: error: cannot compute sizeof (void *), 77
16785 See \`config.log' for more details." >&2;}
16786 { (exit 1); exit 1; }; }
16787 fi
16788 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16789 fi
16790 fi
16791 rm -f conftest.val
16792 else
16793 ac_cv_sizeof_void_p=0
16794 fi
16795 fi
16796 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16797 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16798 cat >>confdefs.h <<_ACEOF
16799 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16800 _ACEOF
16801
16802
16803 echo "$as_me:$LINENO: checking for int" >&5
16804 echo $ECHO_N "checking for int... $ECHO_C" >&6
16805 if test "${ac_cv_type_int+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 else
16808 cat >conftest.$ac_ext <<_ACEOF
16809 /* confdefs.h. */
16810 _ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16814 $ac_includes_default
16815 int
16816 main ()
16817 {
16818 if ((int *) 0)
16819 return 0;
16820 if (sizeof (int))
16821 return 0;
16822 ;
16823 return 0;
16824 }
16825 _ACEOF
16826 rm -f conftest.$ac_objext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16828 (eval $ac_compile) 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837 (eval $ac_try) 2>&5
16838 ac_status=$?
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; } &&
16841 { ac_try='test -s conftest.$ac_objext'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 ac_cv_type_int=yes
16848 else
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16851
16852 ac_cv_type_int=no
16853 fi
16854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16855 fi
16856 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16857 echo "${ECHO_T}$ac_cv_type_int" >&6
16858
16859 echo "$as_me:$LINENO: checking size of int" >&5
16860 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16861 if test "${ac_cv_sizeof_int+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 else
16864 if test "$ac_cv_type_int" = yes; then
16865 # The cast to unsigned long works around a bug in the HP C Compiler
16866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16868 # This bug is HP SR number 8606223364.
16869 if test "$cross_compiling" = yes; then
16870 # Depending upon the size, compute the lo and hi bounds.
16871 cat >conftest.$ac_ext <<_ACEOF
16872 /* confdefs.h. */
16873 _ACEOF
16874 cat confdefs.h >>conftest.$ac_ext
16875 cat >>conftest.$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 $ac_includes_default
16878 int
16879 main ()
16880 {
16881 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16882 test_array [0] = 0
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16906 ac_status=$?
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_lo=0 ac_mid=0
16910 while :; do
16911 cat >conftest.$ac_ext <<_ACEOF
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16918 int
16919 main ()
16920 {
16921 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16922 test_array [0] = 0
16923
16924 ;
16925 return 0;
16926 }
16927 _ACEOF
16928 rm -f conftest.$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16931 ac_status=$?
16932 grep -v '^ *+' conftest.er1 >conftest.err
16933 rm -f conftest.er1
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 ac_hi=$ac_mid; break
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 ac_lo=`expr $ac_mid + 1`
16955 if test $ac_lo -le $ac_mid; then
16956 ac_lo= ac_hi=
16957 break
16958 fi
16959 ac_mid=`expr 2 '*' $ac_mid + 1`
16960 fi
16961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16962 done
16963 else
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.$ac_ext >&5
16966
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 $ac_includes_default
16974 int
16975 main ()
16976 {
16977 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16978 test_array [0] = 0
16979
16980 ;
16981 return 0;
16982 }
16983 _ACEOF
16984 rm -f conftest.$ac_objext
16985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16986 (eval $ac_compile) 2>conftest.er1
16987 ac_status=$?
16988 grep -v '^ *+' conftest.er1 >conftest.err
16989 rm -f conftest.er1
16990 cat conftest.err >&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } &&
16993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_hi=-1 ac_mid=-1
17006 while :; do
17007 cat >conftest.$ac_ext <<_ACEOF
17008 /* confdefs.h. */
17009 _ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 int
17015 main ()
17016 {
17017 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17018 test_array [0] = 0
17019
17020 ;
17021 return 0;
17022 }
17023 _ACEOF
17024 rm -f conftest.$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17036 ac_status=$?
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17042 ac_status=$?
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_lo=$ac_mid; break
17046 else
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17049
17050 ac_hi=`expr '(' $ac_mid ')' - 1`
17051 if test $ac_mid -le $ac_hi; then
17052 ac_lo= ac_hi=
17053 break
17054 fi
17055 ac_mid=`expr 2 '*' $ac_mid`
17056 fi
17057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17058 done
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 ac_lo= ac_hi=
17064 fi
17065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17066 fi
17067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17068 # Binary search between lo and hi bounds.
17069 while test "x$ac_lo" != "x$ac_hi"; do
17070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17078 int
17079 main ()
17080 {
17081 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17082 test_array [0] = 0
17083
17084 ;
17085 return 0;
17086 }
17087 _ACEOF
17088 rm -f conftest.$ac_objext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17090 (eval $ac_compile) 2>conftest.er1
17091 ac_status=$?
17092 grep -v '^ *+' conftest.er1 >conftest.err
17093 rm -f conftest.er1
17094 cat conftest.err >&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } &&
17097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17100 ac_status=$?
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try='test -s conftest.$ac_objext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_hi=$ac_mid
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 ac_lo=`expr '(' $ac_mid ')' + 1`
17115 fi
17116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17117 done
17118 case $ac_lo in
17119 ?*) ac_cv_sizeof_int=$ac_lo;;
17120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17121 See \`config.log' for more details." >&5
17122 echo "$as_me: error: cannot compute sizeof (int), 77
17123 See \`config.log' for more details." >&2;}
17124 { (exit 1); exit 1; }; } ;;
17125 esac
17126 else
17127 if test "$cross_compiling" = yes; then
17128 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17129 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17130 { (exit 1); exit 1; }; }
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17139 long longval () { return (long) (sizeof (int)); }
17140 unsigned long ulongval () { return (long) (sizeof (int)); }
17141 #include <stdio.h>
17142 #include <stdlib.h>
17143 int
17144 main ()
17145 {
17146
17147 FILE *f = fopen ("conftest.val", "w");
17148 if (! f)
17149 exit (1);
17150 if (((long) (sizeof (int))) < 0)
17151 {
17152 long i = longval ();
17153 if (i != ((long) (sizeof (int))))
17154 exit (1);
17155 fprintf (f, "%ld\n", i);
17156 }
17157 else
17158 {
17159 unsigned long i = ulongval ();
17160 if (i != ((long) (sizeof (int))))
17161 exit (1);
17162 fprintf (f, "%lu\n", i);
17163 }
17164 exit (ferror (f) || fclose (f) != 0);
17165
17166 ;
17167 return 0;
17168 }
17169 _ACEOF
17170 rm -f conftest$ac_exeext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17172 (eval $ac_link) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_cv_sizeof_int=`cat conftest.val`
17182 else
17183 echo "$as_me: program exited with status $ac_status" >&5
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 ( exit $ac_status )
17188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17189 See \`config.log' for more details." >&5
17190 echo "$as_me: error: cannot compute sizeof (int), 77
17191 See \`config.log' for more details." >&2;}
17192 { (exit 1); exit 1; }; }
17193 fi
17194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17195 fi
17196 fi
17197 rm -f conftest.val
17198 else
17199 ac_cv_sizeof_int=0
17200 fi
17201 fi
17202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17203 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17204 cat >>confdefs.h <<_ACEOF
17205 #define SIZEOF_INT $ac_cv_sizeof_int
17206 _ACEOF
17207
17208
17209 echo "$as_me:$LINENO: checking for long" >&5
17210 echo $ECHO_N "checking for long... $ECHO_C" >&6
17211 if test "${ac_cv_type_long+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17221 int
17222 main ()
17223 {
17224 if ((long *) 0)
17225 return 0;
17226 if (sizeof (long))
17227 return 0;
17228 ;
17229 return 0;
17230 }
17231 _ACEOF
17232 rm -f conftest.$ac_objext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234 (eval $ac_compile) 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } &&
17241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17244 ac_status=$?
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17250 ac_status=$?
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_cv_type_long=yes
17254 else
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17257
17258 ac_cv_type_long=no
17259 fi
17260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17261 fi
17262 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17263 echo "${ECHO_T}$ac_cv_type_long" >&6
17264
17265 echo "$as_me:$LINENO: checking size of long" >&5
17266 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17267 if test "${ac_cv_sizeof_long+set}" = set; then
17268 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 else
17270 if test "$ac_cv_type_long" = yes; then
17271 # The cast to unsigned long works around a bug in the HP C Compiler
17272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17274 # This bug is HP SR number 8606223364.
17275 if test "$cross_compiling" = yes; then
17276 # Depending upon the size, compute the lo and hi bounds.
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17284 int
17285 main ()
17286 {
17287 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17288 test_array [0] = 0
17289
17290 ;
17291 return 0;
17292 }
17293 _ACEOF
17294 rm -f conftest.$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>conftest.er1
17297 ac_status=$?
17298 grep -v '^ *+' conftest.er1 >conftest.err
17299 rm -f conftest.er1
17300 cat conftest.err >&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); } &&
17303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17306 ac_status=$?
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17315 ac_lo=0 ac_mid=0
17316 while :; do
17317 cat >conftest.$ac_ext <<_ACEOF
17318 /* confdefs.h. */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17324 int
17325 main ()
17326 {
17327 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17328 test_array [0] = 0
17329
17330 ;
17331 return 0;
17332 }
17333 _ACEOF
17334 rm -f conftest.$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17337 ac_status=$?
17338 grep -v '^ *+' conftest.er1 >conftest.err
17339 rm -f conftest.er1
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; } &&
17349 { ac_try='test -s conftest.$ac_objext'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17352 ac_status=$?
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17355 ac_hi=$ac_mid; break
17356 else
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17359
17360 ac_lo=`expr $ac_mid + 1`
17361 if test $ac_lo -le $ac_mid; then
17362 ac_lo= ac_hi=
17363 break
17364 fi
17365 ac_mid=`expr 2 '*' $ac_mid + 1`
17366 fi
17367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17368 done
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 $ac_includes_default
17380 int
17381 main ()
17382 {
17383 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17384 test_array [0] = 0
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>conftest.er1
17393 ac_status=$?
17394 grep -v '^ *+' conftest.er1 >conftest.err
17395 rm -f conftest.er1
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17402 ac_status=$?
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; } &&
17405 { ac_try='test -s conftest.$ac_objext'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17408 ac_status=$?
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; }; then
17411 ac_hi=-1 ac_mid=-1
17412 while :; do
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17420 int
17421 main ()
17422 {
17423 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17424 test_array [0] = 0
17425
17426 ;
17427 return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_lo=$ac_mid; break
17452 else
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17455
17456 ac_hi=`expr '(' $ac_mid ')' - 1`
17457 if test $ac_mid -le $ac_hi; then
17458 ac_lo= ac_hi=
17459 break
17460 fi
17461 ac_mid=`expr 2 '*' $ac_mid`
17462 fi
17463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17464 done
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 ac_lo= ac_hi=
17470 fi
17471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17472 fi
17473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17474 # Binary search between lo and hi bounds.
17475 while test "x$ac_lo" != "x$ac_hi"; do
17476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 $ac_includes_default
17484 int
17485 main ()
17486 {
17487 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17488 test_array [0] = 0
17489
17490 ;
17491 return 0;
17492 }
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_hi=$ac_mid
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17519
17520 ac_lo=`expr '(' $ac_mid ')' + 1`
17521 fi
17522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17523 done
17524 case $ac_lo in
17525 ?*) ac_cv_sizeof_long=$ac_lo;;
17526 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (long), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; } ;;
17531 esac
17532 else
17533 if test "$cross_compiling" = yes; then
17534 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17535 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17536 { (exit 1); exit 1; }; }
17537 else
17538 cat >conftest.$ac_ext <<_ACEOF
17539 /* confdefs.h. */
17540 _ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17545 long longval () { return (long) (sizeof (long)); }
17546 unsigned long ulongval () { return (long) (sizeof (long)); }
17547 #include <stdio.h>
17548 #include <stdlib.h>
17549 int
17550 main ()
17551 {
17552
17553 FILE *f = fopen ("conftest.val", "w");
17554 if (! f)
17555 exit (1);
17556 if (((long) (sizeof (long))) < 0)
17557 {
17558 long i = longval ();
17559 if (i != ((long) (sizeof (long))))
17560 exit (1);
17561 fprintf (f, "%ld\n", i);
17562 }
17563 else
17564 {
17565 unsigned long i = ulongval ();
17566 if (i != ((long) (sizeof (long))))
17567 exit (1);
17568 fprintf (f, "%lu\n", i);
17569 }
17570 exit (ferror (f) || fclose (f) != 0);
17571
17572 ;
17573 return 0;
17574 }
17575 _ACEOF
17576 rm -f conftest$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_sizeof_long=`cat conftest.val`
17588 else
17589 echo "$as_me: program exited with status $ac_status" >&5
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 ( exit $ac_status )
17594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17595 See \`config.log' for more details." >&5
17596 echo "$as_me: error: cannot compute sizeof (long), 77
17597 See \`config.log' for more details." >&2;}
17598 { (exit 1); exit 1; }; }
17599 fi
17600 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17601 fi
17602 fi
17603 rm -f conftest.val
17604 else
17605 ac_cv_sizeof_long=0
17606 fi
17607 fi
17608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17609 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17610 cat >>confdefs.h <<_ACEOF
17611 #define SIZEOF_LONG $ac_cv_sizeof_long
17612 _ACEOF
17613
17614
17615 echo "$as_me:$LINENO: checking for size_t" >&5
17616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17617 if test "${ac_cv_type_size_t+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 else
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17627 int
17628 main ()
17629 {
17630 if ((size_t *) 0)
17631 return 0;
17632 if (sizeof (size_t))
17633 return 0;
17634 ;
17635 return 0;
17636 }
17637 _ACEOF
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } &&
17647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_cv_type_size_t=yes
17660 else
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17663
17664 ac_cv_type_size_t=no
17665 fi
17666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17667 fi
17668 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17669 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17670
17671 echo "$as_me:$LINENO: checking size of size_t" >&5
17672 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17673 if test "${ac_cv_sizeof_size_t+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 else
17676 if test "$ac_cv_type_size_t" = yes; then
17677 # The cast to unsigned long works around a bug in the HP C Compiler
17678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17680 # This bug is HP SR number 8606223364.
17681 if test "$cross_compiling" = yes; then
17682 # Depending upon the size, compute the lo and hi bounds.
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17694 test_array [0] = 0
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 ac_lo=0 ac_mid=0
17722 while :; do
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17730 int
17731 main ()
17732 {
17733 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17734 test_array [0] = 0
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_hi=$ac_mid; break
17762 else
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 ac_lo=`expr $ac_mid + 1`
17767 if test $ac_lo -le $ac_mid; then
17768 ac_lo= ac_hi=
17769 break
17770 fi
17771 ac_mid=`expr 2 '*' $ac_mid + 1`
17772 fi
17773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17774 done
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17778
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17786 int
17787 main ()
17788 {
17789 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17790 test_array [0] = 0
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17799 ac_status=$?
17800 grep -v '^ *+' conftest.er1 >conftest.err
17801 rm -f conftest.er1
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817 ac_hi=-1 ac_mid=-1
17818 while :; do
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826 int
17827 main ()
17828 {
17829 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17830 test_array [0] = 0
17831
17832 ;
17833 return 0;
17834 }
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17838 (eval $ac_compile) 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 ac_lo=$ac_mid; break
17858 else
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17861
17862 ac_hi=`expr '(' $ac_mid ')' - 1`
17863 if test $ac_mid -le $ac_hi; then
17864 ac_lo= ac_hi=
17865 break
17866 fi
17867 ac_mid=`expr 2 '*' $ac_mid`
17868 fi
17869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17870 done
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 ac_lo= ac_hi=
17876 fi
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 fi
17879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17880 # Binary search between lo and hi bounds.
17881 while test "x$ac_lo" != "x$ac_hi"; do
17882 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890 int
17891 main ()
17892 {
17893 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17894 test_array [0] = 0
17895
17896 ;
17897 return 0;
17898 }
17899 _ACEOF
17900 rm -f conftest.$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17903 ac_status=$?
17904 grep -v '^ *+' conftest.er1 >conftest.err
17905 rm -f conftest.er1
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try='test -s conftest.$ac_objext'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17918 ac_status=$?
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; }; then
17921 ac_hi=$ac_mid
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 ac_lo=`expr '(' $ac_mid ')' + 1`
17927 fi
17928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17929 done
17930 case $ac_lo in
17931 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17932 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17933 See \`config.log' for more details." >&5
17934 echo "$as_me: error: cannot compute sizeof (size_t), 77
17935 See \`config.log' for more details." >&2;}
17936 { (exit 1); exit 1; }; } ;;
17937 esac
17938 else
17939 if test "$cross_compiling" = yes; then
17940 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17941 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17942 { (exit 1); exit 1; }; }
17943 else
17944 cat >conftest.$ac_ext <<_ACEOF
17945 /* confdefs.h. */
17946 _ACEOF
17947 cat confdefs.h >>conftest.$ac_ext
17948 cat >>conftest.$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 $ac_includes_default
17951 long longval () { return (long) (sizeof (size_t)); }
17952 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17953 #include <stdio.h>
17954 #include <stdlib.h>
17955 int
17956 main ()
17957 {
17958
17959 FILE *f = fopen ("conftest.val", "w");
17960 if (! f)
17961 exit (1);
17962 if (((long) (sizeof (size_t))) < 0)
17963 {
17964 long i = longval ();
17965 if (i != ((long) (sizeof (size_t))))
17966 exit (1);
17967 fprintf (f, "%ld\n", i);
17968 }
17969 else
17970 {
17971 unsigned long i = ulongval ();
17972 if (i != ((long) (sizeof (size_t))))
17973 exit (1);
17974 fprintf (f, "%lu\n", i);
17975 }
17976 exit (ferror (f) || fclose (f) != 0);
17977
17978 ;
17979 return 0;
17980 }
17981 _ACEOF
17982 rm -f conftest$ac_exeext
17983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17984 (eval $ac_link) 2>&5
17985 ac_status=$?
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17990 ac_status=$?
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 ac_cv_sizeof_size_t=`cat conftest.val`
17994 else
17995 echo "$as_me: program exited with status $ac_status" >&5
17996 echo "$as_me: failed program was:" >&5
17997 sed 's/^/| /' conftest.$ac_ext >&5
17998
17999 ( exit $ac_status )
18000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18001 See \`config.log' for more details." >&5
18002 echo "$as_me: error: cannot compute sizeof (size_t), 77
18003 See \`config.log' for more details." >&2;}
18004 { (exit 1); exit 1; }; }
18005 fi
18006 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18007 fi
18008 fi
18009 rm -f conftest.val
18010 else
18011 ac_cv_sizeof_size_t=0
18012 fi
18013 fi
18014 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18015 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18016 cat >>confdefs.h <<_ACEOF
18017 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18018 _ACEOF
18019
18020
18021
18022 case "${host}" in
18023 arm-*-linux* )
18024 echo "$as_me:$LINENO: checking for long long" >&5
18025 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18026 if test "${ac_cv_type_long_long+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18028 else
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 $ac_includes_default
18036 int
18037 main ()
18038 {
18039 if ((long long *) 0)
18040 return 0;
18041 if (sizeof (long long))
18042 return 0;
18043 ;
18044 return 0;
18045 }
18046 _ACEOF
18047 rm -f conftest.$ac_objext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18049 (eval $ac_compile) 2>conftest.er1
18050 ac_status=$?
18051 grep -v '^ *+' conftest.er1 >conftest.err
18052 rm -f conftest.er1
18053 cat conftest.err >&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } &&
18056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18058 (eval $ac_try) 2>&5
18059 ac_status=$?
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try='test -s conftest.$ac_objext'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18065 ac_status=$?
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; }; then
18068 ac_cv_type_long_long=yes
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18072
18073 ac_cv_type_long_long=no
18074 fi
18075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18076 fi
18077 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18078 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18079
18080 echo "$as_me:$LINENO: checking size of long long" >&5
18081 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18082 if test "${ac_cv_sizeof_long_long+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 if test "$ac_cv_type_long_long" = yes; then
18086 # The cast to unsigned long works around a bug in the HP C Compiler
18087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18089 # This bug is HP SR number 8606223364.
18090 if test "$cross_compiling" = yes; then
18091 # Depending upon the size, compute the lo and hi bounds.
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18099 int
18100 main ()
18101 {
18102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18103 test_array [0] = 0
18104
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18121 ac_status=$?
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try='test -s conftest.$ac_objext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18127 ac_status=$?
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 ac_lo=0 ac_mid=0
18131 while :; do
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18139 int
18140 main ()
18141 {
18142 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18143 test_array [0] = 0
18144
18145 ;
18146 return 0;
18147 }
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18167 ac_status=$?
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 ac_hi=$ac_mid; break
18171 else
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.$ac_ext >&5
18174
18175 ac_lo=`expr $ac_mid + 1`
18176 if test $ac_lo -le $ac_mid; then
18177 ac_lo= ac_hi=
18178 break
18179 fi
18180 ac_mid=`expr 2 '*' $ac_mid + 1`
18181 fi
18182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18183 done
18184 else
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.$ac_ext >&5
18187
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18195 int
18196 main ()
18197 {
18198 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18199 test_array [0] = 0
18200
18201 ;
18202 return 0;
18203 }
18204 _ACEOF
18205 rm -f conftest.$ac_objext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18207 (eval $ac_compile) 2>conftest.er1
18208 ac_status=$?
18209 grep -v '^ *+' conftest.er1 >conftest.err
18210 rm -f conftest.er1
18211 cat conftest.err >&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } &&
18214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; } &&
18220 { ac_try='test -s conftest.$ac_objext'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18223 ac_status=$?
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; }; then
18226 ac_hi=-1 ac_mid=-1
18227 while :; do
18228 cat >conftest.$ac_ext <<_ACEOF
18229 /* confdefs.h. */
18230 _ACEOF
18231 cat confdefs.h >>conftest.$ac_ext
18232 cat >>conftest.$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18234 $ac_includes_default
18235 int
18236 main ()
18237 {
18238 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18239 test_array [0] = 0
18240
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try='test -s conftest.$ac_objext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18263 ac_status=$?
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18266 ac_lo=$ac_mid; break
18267 else
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271 ac_hi=`expr '(' $ac_mid ')' - 1`
18272 if test $ac_mid -le $ac_hi; then
18273 ac_lo= ac_hi=
18274 break
18275 fi
18276 ac_mid=`expr 2 '*' $ac_mid`
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 done
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18283
18284 ac_lo= ac_hi=
18285 fi
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18287 fi
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 # Binary search between lo and hi bounds.
18290 while test "x$ac_lo" != "x$ac_hi"; do
18291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18292 cat >conftest.$ac_ext <<_ACEOF
18293 /* confdefs.h. */
18294 _ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18299 int
18300 main ()
18301 {
18302 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18303 test_array [0] = 0
18304
18305 ;
18306 return 0;
18307 }
18308 _ACEOF
18309 rm -f conftest.$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18312 ac_status=$?
18313 grep -v '^ *+' conftest.er1 >conftest.err
18314 rm -f conftest.er1
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_hi=$ac_mid
18331 else
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18334
18335 ac_lo=`expr '(' $ac_mid ')' + 1`
18336 fi
18337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18338 done
18339 case $ac_lo in
18340 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18342 See \`config.log' for more details." >&5
18343 echo "$as_me: error: cannot compute sizeof (long long), 77
18344 See \`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; } ;;
18346 esac
18347 else
18348 if test "$cross_compiling" = yes; then
18349 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18350 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18351 { (exit 1); exit 1; }; }
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 long longval () { return (long) (sizeof (long long)); }
18361 unsigned long ulongval () { return (long) (sizeof (long long)); }
18362 #include <stdio.h>
18363 #include <stdlib.h>
18364 int
18365 main ()
18366 {
18367
18368 FILE *f = fopen ("conftest.val", "w");
18369 if (! f)
18370 exit (1);
18371 if (((long) (sizeof (long long))) < 0)
18372 {
18373 long i = longval ();
18374 if (i != ((long) (sizeof (long long))))
18375 exit (1);
18376 fprintf (f, "%ld\n", i);
18377 }
18378 else
18379 {
18380 unsigned long i = ulongval ();
18381 if (i != ((long) (sizeof (long long))))
18382 exit (1);
18383 fprintf (f, "%lu\n", i);
18384 }
18385 exit (ferror (f) || fclose (f) != 0);
18386
18387 ;
18388 return 0;
18389 }
18390 _ACEOF
18391 rm -f conftest$ac_exeext
18392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18393 (eval $ac_link) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18399 ac_status=$?
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; }; then
18402 ac_cv_sizeof_long_long=`cat conftest.val`
18403 else
18404 echo "$as_me: program exited with status $ac_status" >&5
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.$ac_ext >&5
18407
18408 ( exit $ac_status )
18409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18410 See \`config.log' for more details." >&5
18411 echo "$as_me: error: cannot compute sizeof (long long), 77
18412 See \`config.log' for more details." >&2;}
18413 { (exit 1); exit 1; }; }
18414 fi
18415 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18416 fi
18417 fi
18418 rm -f conftest.val
18419 else
18420 ac_cv_sizeof_long_long=0
18421 fi
18422 fi
18423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18424 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18425 cat >>confdefs.h <<_ACEOF
18426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18427 _ACEOF
18428
18429
18430 ;;
18431 *-hp-hpux* )
18432 echo "$as_me:$LINENO: checking for long long" >&5
18433 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18434 if test "${ac_cv_type_long_long+set}" = set; then
18435 echo $ECHO_N "(cached) $ECHO_C" >&6
18436 else
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 $ac_includes_default
18444 int
18445 main ()
18446 {
18447 if ((long long *) 0)
18448 return 0;
18449 if (sizeof (long long))
18450 return 0;
18451 ;
18452 return 0;
18453 }
18454 _ACEOF
18455 rm -f conftest.$ac_objext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18457 (eval $ac_compile) 2>conftest.er1
18458 ac_status=$?
18459 grep -v '^ *+' conftest.er1 >conftest.err
18460 rm -f conftest.er1
18461 cat conftest.err >&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_type_long_long=yes
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 ac_cv_type_long_long=no
18482 fi
18483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18484 fi
18485 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18486 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18487
18488 echo "$as_me:$LINENO: checking size of long long" >&5
18489 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18490 if test "${ac_cv_sizeof_long_long+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 else
18493 if test "$ac_cv_type_long_long" = yes; then
18494 # The cast to unsigned long works around a bug in the HP C Compiler
18495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18497 # This bug is HP SR number 8606223364.
18498 if test "$cross_compiling" = yes; then
18499 # Depending upon the size, compute the lo and hi bounds.
18500 cat >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18507 int
18508 main ()
18509 {
18510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18511 test_array [0] = 0
18512
18513 ;
18514 return 0;
18515 }
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18529 ac_status=$?
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18535 ac_status=$?
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_lo=0 ac_mid=0
18539 while :; do
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 int
18548 main ()
18549 {
18550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18551 test_array [0] = 0
18552
18553 ;
18554 return 0;
18555 }
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_hi=$ac_mid; break
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 ac_lo=`expr $ac_mid + 1`
18584 if test $ac_lo -le $ac_mid; then
18585 ac_lo= ac_hi=
18586 break
18587 fi
18588 ac_mid=`expr 2 '*' $ac_mid + 1`
18589 fi
18590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18591 done
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 $ac_includes_default
18603 int
18604 main ()
18605 {
18606 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18607 test_array [0] = 0
18608
18609 ;
18610 return 0;
18611 }
18612 _ACEOF
18613 rm -f conftest.$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; } &&
18628 { ac_try='test -s conftest.$ac_objext'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; }; then
18634 ac_hi=-1 ac_mid=-1
18635 while :; do
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 $ac_includes_default
18643 int
18644 main ()
18645 {
18646 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18647 test_array [0] = 0
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18665 ac_status=$?
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18671 ac_status=$?
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_lo=$ac_mid; break
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ac_hi=`expr '(' $ac_mid ')' - 1`
18680 if test $ac_mid -le $ac_hi; then
18681 ac_lo= ac_hi=
18682 break
18683 fi
18684 ac_mid=`expr 2 '*' $ac_mid`
18685 fi
18686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18687 done
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 ac_lo= ac_hi=
18693 fi
18694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 fi
18696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18697 # Binary search between lo and hi bounds.
18698 while test "x$ac_lo" != "x$ac_hi"; do
18699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18707 int
18708 main ()
18709 {
18710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18711 test_array [0] = 0
18712
18713 ;
18714 return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18729 ac_status=$?
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; } &&
18732 { ac_try='test -s conftest.$ac_objext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18735 ac_status=$?
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18738 ac_hi=$ac_mid
18739 else
18740 echo "$as_me: failed program was:" >&5
18741 sed 's/^/| /' conftest.$ac_ext >&5
18742
18743 ac_lo=`expr '(' $ac_mid ')' + 1`
18744 fi
18745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18746 done
18747 case $ac_lo in
18748 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18750 See \`config.log' for more details." >&5
18751 echo "$as_me: error: cannot compute sizeof (long long), 77
18752 See \`config.log' for more details." >&2;}
18753 { (exit 1); exit 1; }; } ;;
18754 esac
18755 else
18756 if test "$cross_compiling" = yes; then
18757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18759 { (exit 1); exit 1; }; }
18760 else
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18768 long longval () { return (long) (sizeof (long long)); }
18769 unsigned long ulongval () { return (long) (sizeof (long long)); }
18770 #include <stdio.h>
18771 #include <stdlib.h>
18772 int
18773 main ()
18774 {
18775
18776 FILE *f = fopen ("conftest.val", "w");
18777 if (! f)
18778 exit (1);
18779 if (((long) (sizeof (long long))) < 0)
18780 {
18781 long i = longval ();
18782 if (i != ((long) (sizeof (long long))))
18783 exit (1);
18784 fprintf (f, "%ld\n", i);
18785 }
18786 else
18787 {
18788 unsigned long i = ulongval ();
18789 if (i != ((long) (sizeof (long long))))
18790 exit (1);
18791 fprintf (f, "%lu\n", i);
18792 }
18793 exit (ferror (f) || fclose (f) != 0);
18794
18795 ;
18796 return 0;
18797 }
18798 _ACEOF
18799 rm -f conftest$ac_exeext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>&5
18802 ac_status=$?
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_sizeof_long_long=`cat conftest.val`
18811 else
18812 echo "$as_me: program exited with status $ac_status" >&5
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 ( exit $ac_status )
18817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot compute sizeof (long long), 77
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; }
18822 fi
18823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18824 fi
18825 fi
18826 rm -f conftest.val
18827 else
18828 ac_cv_sizeof_long_long=0
18829 fi
18830 fi
18831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18832 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18833 cat >>confdefs.h <<_ACEOF
18834 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18835 _ACEOF
18836
18837
18838 if test "$ac_cv_sizeof_long_long" != "0"; then
18839 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18840 fi
18841 ;;
18842 * )
18843 echo "$as_me:$LINENO: checking for long long" >&5
18844 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18845 if test "${ac_cv_type_long_long+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18847 else
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18855 int
18856 main ()
18857 {
18858 if ((long long *) 0)
18859 return 0;
18860 if (sizeof (long long))
18861 return 0;
18862 ;
18863 return 0;
18864 }
18865 _ACEOF
18866 rm -f conftest.$ac_objext
18867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18868 (eval $ac_compile) 2>conftest.er1
18869 ac_status=$?
18870 grep -v '^ *+' conftest.er1 >conftest.err
18871 rm -f conftest.er1
18872 cat conftest.err >&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18878 ac_status=$?
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; } &&
18881 { ac_try='test -s conftest.$ac_objext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18884 ac_status=$?
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_type_long_long=yes
18888 else
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.$ac_ext >&5
18891
18892 ac_cv_type_long_long=no
18893 fi
18894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18895 fi
18896 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18897 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18898
18899 echo "$as_me:$LINENO: checking size of long long" >&5
18900 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18901 if test "${ac_cv_sizeof_long_long+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 else
18904 if test "$ac_cv_type_long_long" = yes; then
18905 # The cast to unsigned long works around a bug in the HP C Compiler
18906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18908 # This bug is HP SR number 8606223364.
18909 if test "$cross_compiling" = yes; then
18910 # Depending upon the size, compute the lo and hi bounds.
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18918 int
18919 main ()
18920 {
18921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18922 test_array [0] = 0
18923
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_lo=0 ac_mid=0
18950 while :; do
18951 cat >conftest.$ac_ext <<_ACEOF
18952 /* confdefs.h. */
18953 _ACEOF
18954 cat confdefs.h >>conftest.$ac_ext
18955 cat >>conftest.$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 $ac_includes_default
18958 int
18959 main ()
18960 {
18961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18962 test_array [0] = 0
18963
18964 ;
18965 return 0;
18966 }
18967 _ACEOF
18968 rm -f conftest.$ac_objext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18970 (eval $ac_compile) 2>conftest.er1
18971 ac_status=$?
18972 grep -v '^ *+' conftest.er1 >conftest.err
18973 rm -f conftest.er1
18974 cat conftest.err >&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try='test -s conftest.$ac_objext'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18989 ac_hi=$ac_mid; break
18990 else
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18993
18994 ac_lo=`expr $ac_mid + 1`
18995 if test $ac_lo -le $ac_mid; then
18996 ac_lo= ac_hi=
18997 break
18998 fi
18999 ac_mid=`expr 2 '*' $ac_mid + 1`
19000 fi
19001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19002 done
19003 else
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 cat >conftest.$ac_ext <<_ACEOF
19008 /* confdefs.h. */
19009 _ACEOF
19010 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 $ac_includes_default
19014 int
19015 main ()
19016 {
19017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19018 test_array [0] = 0
19019
19020 ;
19021 return 0;
19022 }
19023 _ACEOF
19024 rm -f conftest.$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19027 ac_status=$?
19028 grep -v '^ *+' conftest.er1 >conftest.err
19029 rm -f conftest.er1
19030 cat conftest.err >&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_hi=-1 ac_mid=-1
19046 while :; do
19047 cat >conftest.$ac_ext <<_ACEOF
19048 /* confdefs.h. */
19049 _ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19054 int
19055 main ()
19056 {
19057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19058 test_array [0] = 0
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest.$ac_objext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066 (eval $ac_compile) 2>conftest.er1
19067 ac_status=$?
19068 grep -v '^ *+' conftest.er1 >conftest.err
19069 rm -f conftest.er1
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try='test -s conftest.$ac_objext'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; }; then
19085 ac_lo=$ac_mid; break
19086 else
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19089
19090 ac_hi=`expr '(' $ac_mid ')' - 1`
19091 if test $ac_mid -le $ac_hi; then
19092 ac_lo= ac_hi=
19093 break
19094 fi
19095 ac_mid=`expr 2 '*' $ac_mid`
19096 fi
19097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19098 done
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_lo= ac_hi=
19104 fi
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106 fi
19107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19108 # Binary search between lo and hi bounds.
19109 while test "x$ac_lo" != "x$ac_hi"; do
19110 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19111 cat >conftest.$ac_ext <<_ACEOF
19112 /* confdefs.h. */
19113 _ACEOF
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19117 $ac_includes_default
19118 int
19119 main ()
19120 {
19121 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19122 test_array [0] = 0
19123
19124 ;
19125 return 0;
19126 }
19127 _ACEOF
19128 rm -f conftest.$ac_objext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19130 (eval $ac_compile) 2>conftest.er1
19131 ac_status=$?
19132 grep -v '^ *+' conftest.er1 >conftest.err
19133 rm -f conftest.er1
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19140 ac_status=$?
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; } &&
19143 { ac_try='test -s conftest.$ac_objext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19149 ac_hi=$ac_mid
19150 else
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.$ac_ext >&5
19153
19154 ac_lo=`expr '(' $ac_mid ')' + 1`
19155 fi
19156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19157 done
19158 case $ac_lo in
19159 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19160 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19161 See \`config.log' for more details." >&5
19162 echo "$as_me: error: cannot compute sizeof (long long), 77
19163 See \`config.log' for more details." >&2;}
19164 { (exit 1); exit 1; }; } ;;
19165 esac
19166 else
19167 if test "$cross_compiling" = yes; then
19168 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19169 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19170 { (exit 1); exit 1; }; }
19171 else
19172 cat >conftest.$ac_ext <<_ACEOF
19173 /* confdefs.h. */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19179 long longval () { return (long) (sizeof (long long)); }
19180 unsigned long ulongval () { return (long) (sizeof (long long)); }
19181 #include <stdio.h>
19182 #include <stdlib.h>
19183 int
19184 main ()
19185 {
19186
19187 FILE *f = fopen ("conftest.val", "w");
19188 if (! f)
19189 exit (1);
19190 if (((long) (sizeof (long long))) < 0)
19191 {
19192 long i = longval ();
19193 if (i != ((long) (sizeof (long long))))
19194 exit (1);
19195 fprintf (f, "%ld\n", i);
19196 }
19197 else
19198 {
19199 unsigned long i = ulongval ();
19200 if (i != ((long) (sizeof (long long))))
19201 exit (1);
19202 fprintf (f, "%lu\n", i);
19203 }
19204 exit (ferror (f) || fclose (f) != 0);
19205
19206 ;
19207 return 0;
19208 }
19209 _ACEOF
19210 rm -f conftest$ac_exeext
19211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19212 (eval $ac_link) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_sizeof_long_long=`cat conftest.val`
19222 else
19223 echo "$as_me: program exited with status $ac_status" >&5
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227 ( exit $ac_status )
19228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19229 See \`config.log' for more details." >&5
19230 echo "$as_me: error: cannot compute sizeof (long long), 77
19231 See \`config.log' for more details." >&2;}
19232 { (exit 1); exit 1; }; }
19233 fi
19234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19235 fi
19236 fi
19237 rm -f conftest.val
19238 else
19239 ac_cv_sizeof_long_long=0
19240 fi
19241 fi
19242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19244 cat >>confdefs.h <<_ACEOF
19245 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19246 _ACEOF
19247
19248
19249 esac
19250
19251 echo "$as_me:$LINENO: checking for wchar_t" >&5
19252 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19253 if test "${ac_cv_type_wchar_t+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 else
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262
19263 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19264 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19265 # error "fake wchar_t"
19266 #endif
19267 #ifdef HAVE_WCHAR_H
19268 # ifdef __CYGWIN__
19269 # include <stddef.h>
19270 # endif
19271 # include <wchar.h>
19272 #endif
19273 #ifdef HAVE_STDLIB_H
19274 # include <stdlib.h>
19275 #endif
19276 #include <stdio.h>
19277
19278
19279
19280 int
19281 main ()
19282 {
19283 if ((wchar_t *) 0)
19284 return 0;
19285 if (sizeof (wchar_t))
19286 return 0;
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19294 ac_status=$?
19295 grep -v '^ *+' conftest.er1 >conftest.err
19296 rm -f conftest.er1
19297 cat conftest.err >&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_type_wchar_t=yes
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19316
19317 ac_cv_type_wchar_t=no
19318 fi
19319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19320 fi
19321 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19322 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19323
19324 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19325 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19326 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 else
19329 if test "$ac_cv_type_wchar_t" = yes; then
19330 # The cast to unsigned long works around a bug in the HP C Compiler
19331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19333 # This bug is HP SR number 8606223364.
19334 if test "$cross_compiling" = yes; then
19335 # Depending upon the size, compute the lo and hi bounds.
19336 cat >conftest.$ac_ext <<_ACEOF
19337 /* confdefs.h. */
19338 _ACEOF
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342
19343 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19344 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19345 # error "fake wchar_t"
19346 #endif
19347 #ifdef HAVE_WCHAR_H
19348 # ifdef __CYGWIN__
19349 # include <stddef.h>
19350 # endif
19351 # include <wchar.h>
19352 #endif
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19355 #endif
19356 #include <stdio.h>
19357
19358
19359
19360 int
19361 main ()
19362 {
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19364 test_array [0] = 0
19365
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19388 ac_status=$?
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 ac_lo=0 ac_mid=0
19392 while :; do
19393 cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h. */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19399
19400 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19401 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19402 # error "fake wchar_t"
19403 #endif
19404 #ifdef HAVE_WCHAR_H
19405 # ifdef __CYGWIN__
19406 # include <stddef.h>
19407 # endif
19408 # include <wchar.h>
19409 #endif
19410 #ifdef HAVE_STDLIB_H
19411 # include <stdlib.h>
19412 #endif
19413 #include <stdio.h>
19414
19415
19416
19417 int
19418 main ()
19419 {
19420 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19421 test_array [0] = 0
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi=$ac_mid; break
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 ac_lo=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19455 ac_lo= ac_hi=
19456 break
19457 fi
19458 ac_mid=`expr 2 '*' $ac_mid + 1`
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461 done
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472
19473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19475 # error "fake wchar_t"
19476 #endif
19477 #ifdef HAVE_WCHAR_H
19478 # ifdef __CYGWIN__
19479 # include <stddef.h>
19480 # endif
19481 # include <wchar.h>
19482 #endif
19483 #ifdef HAVE_STDLIB_H
19484 # include <stdlib.h>
19485 #endif
19486 #include <stdio.h>
19487
19488
19489
19490 int
19491 main ()
19492 {
19493 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19494 test_array [0] = 0
19495
19496 ;
19497 return 0;
19498 }
19499 _ACEOF
19500 rm -f conftest.$ac_objext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502 (eval $ac_compile) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19518 ac_status=$?
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_hi=-1 ac_mid=-1
19522 while :; do
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529
19530 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19531 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19532 # error "fake wchar_t"
19533 #endif
19534 #ifdef HAVE_WCHAR_H
19535 # ifdef __CYGWIN__
19536 # include <stddef.h>
19537 # endif
19538 # include <wchar.h>
19539 #endif
19540 #ifdef HAVE_STDLIB_H
19541 # include <stdlib.h>
19542 #endif
19543 #include <stdio.h>
19544
19545
19546
19547 int
19548 main ()
19549 {
19550 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19551 test_array [0] = 0
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19559 (eval $ac_compile) 2>conftest.er1
19560 ac_status=$?
19561 grep -v '^ *+' conftest.er1 >conftest.err
19562 rm -f conftest.er1
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; } &&
19572 { ac_try='test -s conftest.$ac_objext'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19575 ac_status=$?
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_lo=$ac_mid; break
19579 else
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19582
19583 ac_hi=`expr '(' $ac_mid ')' - 1`
19584 if test $ac_mid -le $ac_hi; then
19585 ac_lo= ac_hi=
19586 break
19587 fi
19588 ac_mid=`expr 2 '*' $ac_mid`
19589 fi
19590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19591 done
19592 else
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19595
19596 ac_lo= ac_hi=
19597 fi
19598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19599 fi
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19601 # Binary search between lo and hi bounds.
19602 while test "x$ac_lo" != "x$ac_hi"; do
19603 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19604 cat >conftest.$ac_ext <<_ACEOF
19605 /* confdefs.h. */
19606 _ACEOF
19607 cat confdefs.h >>conftest.$ac_ext
19608 cat >>conftest.$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610
19611 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19612 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19613 # error "fake wchar_t"
19614 #endif
19615 #ifdef HAVE_WCHAR_H
19616 # ifdef __CYGWIN__
19617 # include <stddef.h>
19618 # endif
19619 # include <wchar.h>
19620 #endif
19621 #ifdef HAVE_STDLIB_H
19622 # include <stdlib.h>
19623 #endif
19624 #include <stdio.h>
19625
19626
19627
19628 int
19629 main ()
19630 {
19631 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19632 test_array [0] = 0
19633
19634 ;
19635 return 0;
19636 }
19637 _ACEOF
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19650 ac_status=$?
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19656 ac_status=$?
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 ac_hi=$ac_mid
19660 else
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19663
19664 ac_lo=`expr '(' $ac_mid ')' + 1`
19665 fi
19666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19667 done
19668 case $ac_lo in
19669 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19670 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19671 See \`config.log' for more details." >&5
19672 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19673 See \`config.log' for more details." >&2;}
19674 { (exit 1); exit 1; }; } ;;
19675 esac
19676 else
19677 if test "$cross_compiling" = yes; then
19678 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19679 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19680 { (exit 1); exit 1; }; }
19681 else
19682 cat >conftest.$ac_ext <<_ACEOF
19683 /* confdefs.h. */
19684 _ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688
19689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19691 # error "fake wchar_t"
19692 #endif
19693 #ifdef HAVE_WCHAR_H
19694 # ifdef __CYGWIN__
19695 # include <stddef.h>
19696 # endif
19697 # include <wchar.h>
19698 #endif
19699 #ifdef HAVE_STDLIB_H
19700 # include <stdlib.h>
19701 #endif
19702 #include <stdio.h>
19703
19704
19705
19706 long longval () { return (long) (sizeof (wchar_t)); }
19707 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19708 #include <stdio.h>
19709 #include <stdlib.h>
19710 int
19711 main ()
19712 {
19713
19714 FILE *f = fopen ("conftest.val", "w");
19715 if (! f)
19716 exit (1);
19717 if (((long) (sizeof (wchar_t))) < 0)
19718 {
19719 long i = longval ();
19720 if (i != ((long) (sizeof (wchar_t))))
19721 exit (1);
19722 fprintf (f, "%ld\n", i);
19723 }
19724 else
19725 {
19726 unsigned long i = ulongval ();
19727 if (i != ((long) (sizeof (wchar_t))))
19728 exit (1);
19729 fprintf (f, "%lu\n", i);
19730 }
19731 exit (ferror (f) || fclose (f) != 0);
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 rm -f conftest$ac_exeext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19739 (eval $ac_link) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_sizeof_wchar_t=`cat conftest.val`
19749 else
19750 echo "$as_me: program exited with status $ac_status" >&5
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19753
19754 ( exit $ac_status )
19755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19756 See \`config.log' for more details." >&5
19757 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19758 See \`config.log' for more details." >&2;}
19759 { (exit 1); exit 1; }; }
19760 fi
19761 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19762 fi
19763 fi
19764 rm -f conftest.val
19765 else
19766 ac_cv_sizeof_wchar_t=0
19767 fi
19768 fi
19769 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19770 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19771 cat >>confdefs.h <<_ACEOF
19772 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19773 _ACEOF
19774
19775
19776 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19777 wxUSE_WCHAR_T=yes
19778 else
19779 wxUSE_WCHAR_T=no
19780 fi
19781
19782 echo "$as_me:$LINENO: checking for va_copy" >&5
19783 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19784 if test "${wx_cv_func_va_copy+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787
19788 cat >conftest.$ac_ext <<_ACEOF
19789
19790 #include <stdarg.h>
19791 void foo(char *f, ...)
19792 {
19793 va_list ap1, ap2;
19794 va_start(ap1, f);
19795 va_copy(ap2, ap1);
19796 va_end(ap2);
19797 va_end(ap1);
19798 }
19799 int main()
19800 {
19801 foo("hi", 17);
19802 return 0;
19803 }
19804 _ACEOF
19805 rm -f conftest.$ac_objext conftest$ac_exeext
19806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19807 (eval $ac_link) 2>conftest.er1
19808 ac_status=$?
19809 grep -v '^ *+' conftest.er1 >conftest.err
19810 rm -f conftest.er1
19811 cat conftest.err >&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); } &&
19814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19817 ac_status=$?
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; } &&
19820 { ac_try='test -s conftest$ac_exeext'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19823 ac_status=$?
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 wx_cv_func_va_copy=yes
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 wx_cv_func_va_copy=no
19832
19833 fi
19834 rm -f conftest.err conftest.$ac_objext \
19835 conftest$ac_exeext conftest.$ac_ext
19836
19837
19838 fi
19839 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19840 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19841
19842 if test $wx_cv_func_va_copy = "yes"; then
19843 cat >>confdefs.h <<\_ACEOF
19844 #define HAVE_VA_COPY 1
19845 _ACEOF
19846
19847 else
19848 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19849 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19850 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853
19854 if test "$cross_compiling" = yes; then
19855 wx_cv_type_va_list_lvalue=yes
19856
19857 else
19858 cat >conftest.$ac_ext <<_ACEOF
19859
19860 #include <stdarg.h>
19861 int foo(char *f, ...)
19862 {
19863 va_list ap1, ap2;
19864 va_start(ap1, f);
19865 ap2 = ap1;
19866 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19867 return 1;
19868 va_end(ap2);
19869 va_end(ap1);
19870 return 0;
19871 }
19872 int main()
19873 {
19874 return foo("hi", 17);
19875 }
19876 _ACEOF
19877 rm -f conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 wx_cv_type_va_list_lvalue=yes
19889 else
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894 ( exit $ac_status )
19895 wx_cv_type_va_list_lvalue=no
19896 fi
19897 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19898 fi
19899
19900
19901 fi
19902 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19903 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19904
19905 if test $wx_cv_type_va_list_lvalue != "yes"; then
19906 cat >>confdefs.h <<\_ACEOF
19907 #define VA_LIST_IS_ARRAY 1
19908 _ACEOF
19909
19910 fi
19911 fi
19912
19913 # Check whether --enable-largefile or --disable-largefile was given.
19914 if test "${enable_largefile+set}" = set; then
19915 enableval="$enable_largefile"
19916
19917 fi;
19918 if test "$enable_largefile" != no; then
19919 wx_largefile=no
19920
19921 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19922 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19923 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 else
19926
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #define _FILE_OFFSET_BITS 64
19934 #include <sys/types.h>
19935 int
19936 main ()
19937 {
19938 typedef struct {
19939 unsigned int field: sizeof(off_t) == 8;
19940 } wxlf;
19941
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 rm -f conftest.$ac_objext
19947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19948 (eval $ac_compile) 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } &&
19955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19958 ac_status=$?
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try='test -s conftest.$ac_objext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19964 ac_status=$?
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19967 ac_cv_sys_file_offset_bits=64
19968 else
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.$ac_ext >&5
19971
19972 ac_cv_sys_file_offset_bits=no
19973 fi
19974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19975
19976
19977 fi
19978 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19979 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19980
19981 if test "$ac_cv_sys_file_offset_bits" != no; then
19982 wx_largefile=yes
19983 cat >>confdefs.h <<_ACEOF
19984 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19985 _ACEOF
19986
19987 fi
19988
19989 if test "x$wx_largefile" != "xyes"; then
19990
19991 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19992 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19993 if test "${ac_cv_sys_large_files+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 else
19996
19997 cat >conftest.$ac_ext <<_ACEOF
19998 /* confdefs.h. */
19999 _ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #define _LARGE_FILES 1
20004 #include <sys/types.h>
20005 int
20006 main ()
20007 {
20008 typedef struct {
20009 unsigned int field: sizeof(off_t) == 8;
20010 } wxlf;
20011
20012 ;
20013 return 0;
20014 }
20015 _ACEOF
20016 rm -f conftest.$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20019 ac_status=$?
20020 grep -v '^ *+' conftest.er1 >conftest.err
20021 rm -f conftest.er1
20022 cat conftest.err >&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_sys_large_files=1
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20041
20042 ac_cv_sys_large_files=no
20043 fi
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045
20046
20047 fi
20048 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20049 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20050
20051 if test "$ac_cv_sys_large_files" != no; then
20052 wx_largefile=yes
20053 cat >>confdefs.h <<_ACEOF
20054 #define _LARGE_FILES $ac_cv_sys_large_files
20055 _ACEOF
20056
20057 fi
20058
20059 fi
20060
20061 echo "$as_me:$LINENO: checking if large file support is available" >&5
20062 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20063 if test "x$wx_largefile" = "xyes"; then
20064 cat >>confdefs.h <<\_ACEOF
20065 #define HAVE_LARGEFILE_SUPPORT 1
20066 _ACEOF
20067
20068 fi
20069 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20070 echo "${ECHO_T}$wx_largefile" >&6
20071 fi
20072
20073
20074 if test "x$wx_largefile" = "xyes"; then
20075 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20076 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20077 else
20078 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20079 fi
20080 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20081 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20082 if test "${ac_cv_sys_largefile_source+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20084 else
20085 while :; do
20086 ac_cv_sys_largefile_source=no
20087 cat >conftest.$ac_ext <<_ACEOF
20088 /* confdefs.h. */
20089 _ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 #include <stdio.h>
20094 int
20095 main ()
20096 {
20097 return !fseeko;
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>conftest.er1
20105 ac_status=$?
20106 grep -v '^ *+' conftest.er1 >conftest.err
20107 rm -f conftest.er1
20108 cat conftest.err >&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20117 { ac_try='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20123 break
20124 else
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 fi
20129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20130 cat >conftest.$ac_ext <<_ACEOF
20131 /* confdefs.h. */
20132 _ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #define _LARGEFILE_SOURCE 1
20137 #include <stdio.h>
20138 int
20139 main ()
20140 {
20141 return !fseeko;
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>conftest.er1
20149 ac_status=$?
20150 grep -v '^ *+' conftest.er1 >conftest.err
20151 rm -f conftest.er1
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_sys_largefile_source=1; break
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 fi
20173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20174 break
20175 done
20176 fi
20177 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20178 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20179 if test "$ac_cv_sys_largefile_source" != no; then
20180
20181 cat >>confdefs.h <<_ACEOF
20182 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20183 _ACEOF
20184
20185 fi
20186 rm -f conftest*
20187
20188 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20189 # in glibc 2.1.3, but that breaks too many other things.
20190 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20191 echo "$as_me:$LINENO: checking for fseeko" >&5
20192 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20193 if test "${ac_cv_func_fseeko+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #include <stdio.h>
20203 int
20204 main ()
20205 {
20206 return fseeko && fseeko (stdin, 0, 0);
20207 ;
20208 return 0;
20209 }
20210 _ACEOF
20211 rm -f conftest.$ac_objext conftest$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>conftest.er1
20214 ac_status=$?
20215 grep -v '^ *+' conftest.er1 >conftest.err
20216 rm -f conftest.er1
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } &&
20220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20223 ac_status=$?
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; } &&
20226 { ac_try='test -s conftest$ac_exeext'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; }; then
20232 ac_cv_func_fseeko=yes
20233 else
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20236
20237 ac_cv_func_fseeko=no
20238 fi
20239 rm -f conftest.err conftest.$ac_objext \
20240 conftest$ac_exeext conftest.$ac_ext
20241 fi
20242 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20243 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20244 if test $ac_cv_func_fseeko = yes; then
20245
20246 cat >>confdefs.h <<\_ACEOF
20247 #define HAVE_FSEEKO 1
20248 _ACEOF
20249
20250 fi
20251
20252 if test "$ac_cv_sys_largefile_source" != no; then
20253 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20254 fi
20255 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20256 fi
20257
20258 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20259 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20260 if test "${ac_cv_c_bigendian+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 else
20263 ac_cv_c_bigendian=unknown
20264 # See if sys/param.h defines the BYTE_ORDER macro.
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h. */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 #include <sys/types.h>
20272 #include <sys/param.h>
20273 int
20274 main ()
20275 {
20276
20277 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20278 bogus endian macros
20279 #endif
20280 ;
20281 return 0;
20282 }
20283 _ACEOF
20284 rm -f conftest.$ac_objext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20286 (eval $ac_compile) 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; } &&
20299 { ac_try='test -s conftest.$ac_objext'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20302 ac_status=$?
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 # It does; now see whether it defined to BIG_ENDIAN or not.
20306 cat >conftest.$ac_ext <<_ACEOF
20307 /* confdefs.h. */
20308 _ACEOF
20309 cat confdefs.h >>conftest.$ac_ext
20310 cat >>conftest.$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 #include <sys/types.h>
20313 #include <sys/param.h>
20314 int
20315 main ()
20316 {
20317
20318 #if BYTE_ORDER != BIG_ENDIAN
20319 not big endian
20320 #endif
20321 ;
20322 return 0;
20323 }
20324 _ACEOF
20325 rm -f conftest.$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; } &&
20340 { ac_try='test -s conftest.$ac_objext'
20341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342 (eval $ac_try) 2>&5
20343 ac_status=$?
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; }; then
20346 ac_cv_c_bigendian=yes
20347 else
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20350
20351 ac_cv_c_bigendian=no
20352 fi
20353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20357
20358 fi
20359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20360 if test $ac_cv_c_bigendian = unknown; then
20361 if test "$cross_compiling" = yes; then
20362 ac_cv_c_bigendian=unknown
20363 else
20364 cat >conftest.$ac_ext <<_ACEOF
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 main () {
20371 /* Are we little or big endian? From Harbison&Steele. */
20372 union
20373 {
20374 long l;
20375 char c[sizeof (long)];
20376 } u;
20377 u.l = 1;
20378 exit (u.c[sizeof (long) - 1] == 1);
20379 }
20380 _ACEOF
20381 rm -f conftest$ac_exeext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20383 (eval $ac_link) 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_c_bigendian=no
20393 else
20394 echo "$as_me: program exited with status $ac_status" >&5
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.$ac_ext >&5
20397
20398 ( exit $ac_status )
20399 ac_cv_c_bigendian=yes
20400 fi
20401 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20402 fi
20403 fi
20404 fi
20405 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20406 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20407 if test $ac_cv_c_bigendian = unknown; then
20408 { 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
20409 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;}
20410 fi
20411 if test $ac_cv_c_bigendian = yes; then
20412 cat >>confdefs.h <<\_ACEOF
20413 #define WORDS_BIGENDIAN 1
20414 _ACEOF
20415
20416 fi
20417
20418
20419 ac_ext=cc
20420 ac_cpp='$CXXCPP $CPPFLAGS'
20421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20424 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20425 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20426 if test -z "$CXXCPP"; then
20427 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20429 else
20430 # Double quotes because CXXCPP needs to be expanded
20431 for CXXCPP in "$CXX -E" "/lib/cpp"
20432 do
20433 ac_preproc_ok=false
20434 for ac_cxx_preproc_warn_flag in '' yes
20435 do
20436 # Use a header file that comes with gcc, so configuring glibc
20437 # with a fresh cross-compiler works.
20438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20439 # <limits.h> exists even on freestanding compilers.
20440 # On the NeXT, cc -E runs the code through the compiler's parser,
20441 # not just through cpp. "Syntax error" is here to catch this case.
20442 cat >conftest.$ac_ext <<_ACEOF
20443 /* confdefs.h. */
20444 _ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 #ifdef __STDC__
20449 # include <limits.h>
20450 #else
20451 # include <assert.h>
20452 #endif
20453 Syntax error
20454 _ACEOF
20455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } >/dev/null; then
20463 if test -s conftest.err; then
20464 ac_cpp_err=$ac_cxx_preproc_warn_flag
20465 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20466 else
20467 ac_cpp_err=
20468 fi
20469 else
20470 ac_cpp_err=yes
20471 fi
20472 if test -z "$ac_cpp_err"; then
20473 :
20474 else
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.$ac_ext >&5
20477
20478 # Broken: fails on valid input.
20479 continue
20480 fi
20481 rm -f conftest.err conftest.$ac_ext
20482
20483 # OK, works on sane cases. Now check whether non-existent headers
20484 # can be detected and how.
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #include <ac_nonexistent.h>
20492 _ACEOF
20493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20495 ac_status=$?
20496 grep -v '^ *+' conftest.er1 >conftest.err
20497 rm -f conftest.er1
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } >/dev/null; then
20501 if test -s conftest.err; then
20502 ac_cpp_err=$ac_cxx_preproc_warn_flag
20503 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20504 else
20505 ac_cpp_err=
20506 fi
20507 else
20508 ac_cpp_err=yes
20509 fi
20510 if test -z "$ac_cpp_err"; then
20511 # Broken: success on invalid input.
20512 continue
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 # Passes both tests.
20518 ac_preproc_ok=:
20519 break
20520 fi
20521 rm -f conftest.err conftest.$ac_ext
20522
20523 done
20524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20525 rm -f conftest.err conftest.$ac_ext
20526 if $ac_preproc_ok; then
20527 break
20528 fi
20529
20530 done
20531 ac_cv_prog_CXXCPP=$CXXCPP
20532
20533 fi
20534 CXXCPP=$ac_cv_prog_CXXCPP
20535 else
20536 ac_cv_prog_CXXCPP=$CXXCPP
20537 fi
20538 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20539 echo "${ECHO_T}$CXXCPP" >&6
20540 ac_preproc_ok=false
20541 for ac_cxx_preproc_warn_flag in '' yes
20542 do
20543 # Use a header file that comes with gcc, so configuring glibc
20544 # with a fresh cross-compiler works.
20545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20546 # <limits.h> exists even on freestanding compilers.
20547 # On the NeXT, cc -E runs the code through the compiler's parser,
20548 # not just through cpp. "Syntax error" is here to catch this case.
20549 cat >conftest.$ac_ext <<_ACEOF
20550 /* confdefs.h. */
20551 _ACEOF
20552 cat confdefs.h >>conftest.$ac_ext
20553 cat >>conftest.$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555 #ifdef __STDC__
20556 # include <limits.h>
20557 #else
20558 # include <assert.h>
20559 #endif
20560 Syntax error
20561 _ACEOF
20562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20563 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20564 ac_status=$?
20565 grep -v '^ *+' conftest.er1 >conftest.err
20566 rm -f conftest.er1
20567 cat conftest.err >&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); } >/dev/null; then
20570 if test -s conftest.err; then
20571 ac_cpp_err=$ac_cxx_preproc_warn_flag
20572 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20573 else
20574 ac_cpp_err=
20575 fi
20576 else
20577 ac_cpp_err=yes
20578 fi
20579 if test -z "$ac_cpp_err"; then
20580 :
20581 else
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20584
20585 # Broken: fails on valid input.
20586 continue
20587 fi
20588 rm -f conftest.err conftest.$ac_ext
20589
20590 # OK, works on sane cases. Now check whether non-existent headers
20591 # can be detected and how.
20592 cat >conftest.$ac_ext <<_ACEOF
20593 /* confdefs.h. */
20594 _ACEOF
20595 cat confdefs.h >>conftest.$ac_ext
20596 cat >>conftest.$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20598 #include <ac_nonexistent.h>
20599 _ACEOF
20600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } >/dev/null; then
20608 if test -s conftest.err; then
20609 ac_cpp_err=$ac_cxx_preproc_warn_flag
20610 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20611 else
20612 ac_cpp_err=
20613 fi
20614 else
20615 ac_cpp_err=yes
20616 fi
20617 if test -z "$ac_cpp_err"; then
20618 # Broken: success on invalid input.
20619 continue
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 # Passes both tests.
20625 ac_preproc_ok=:
20626 break
20627 fi
20628 rm -f conftest.err conftest.$ac_ext
20629
20630 done
20631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20632 rm -f conftest.err conftest.$ac_ext
20633 if $ac_preproc_ok; then
20634 :
20635 else
20636 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20637 See \`config.log' for more details." >&5
20638 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20639 See \`config.log' for more details." >&2;}
20640 { (exit 1); exit 1; }; }
20641 fi
20642
20643 ac_ext=cc
20644 ac_cpp='$CXXCPP $CPPFLAGS'
20645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20648
20649
20650
20651
20652
20653 ac_ext=cc
20654 ac_cpp='$CXXCPP $CPPFLAGS'
20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20658
20659
20660
20661 for ac_header in iostream
20662 do
20663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20665 echo "$as_me:$LINENO: checking for $ac_header" >&5
20666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 fi
20670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20672 else
20673 # Is the header compilable?
20674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20676 cat >conftest.$ac_ext <<_ACEOF
20677 /* confdefs.h. */
20678 _ACEOF
20679 cat confdefs.h >>conftest.$ac_ext
20680 cat >>conftest.$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 $ac_includes_default
20683 #include <$ac_header>
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 (eval $ac_compile) 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try='test -s conftest.$ac_objext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20706 ac_header_compiler=yes
20707 else
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20710
20711 ac_header_compiler=no
20712 fi
20713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20715 echo "${ECHO_T}$ac_header_compiler" >&6
20716
20717 # Is the header present?
20718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20720 cat >conftest.$ac_ext <<_ACEOF
20721 /* confdefs.h. */
20722 _ACEOF
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #include <$ac_header>
20727 _ACEOF
20728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20730 ac_status=$?
20731 grep -v '^ *+' conftest.er1 >conftest.err
20732 rm -f conftest.er1
20733 cat conftest.err >&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } >/dev/null; then
20736 if test -s conftest.err; then
20737 ac_cpp_err=$ac_cxx_preproc_warn_flag
20738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20739 else
20740 ac_cpp_err=
20741 fi
20742 else
20743 ac_cpp_err=yes
20744 fi
20745 if test -z "$ac_cpp_err"; then
20746 ac_header_preproc=yes
20747 else
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 ac_header_preproc=no
20752 fi
20753 rm -f conftest.err conftest.$ac_ext
20754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20755 echo "${ECHO_T}$ac_header_preproc" >&6
20756
20757 # So? What about this header?
20758 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20759 yes:no: )
20760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20764 ac_header_preproc=yes
20765 ;;
20766 no:yes:* )
20767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20779 (
20780 cat <<\_ASBOX
20781 ## ----------------------------------------- ##
20782 ## Report this to wx-dev@lists.wxwidgets.org ##
20783 ## ----------------------------------------- ##
20784 _ASBOX
20785 ) |
20786 sed "s/^/$as_me: WARNING: /" >&2
20787 ;;
20788 esac
20789 echo "$as_me:$LINENO: checking for $ac_header" >&5
20790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 else
20794 eval "$as_ac_Header=\$ac_header_preproc"
20795 fi
20796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20798
20799 fi
20800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20801 cat >>confdefs.h <<_ACEOF
20802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20803 _ACEOF
20804
20805 fi
20806
20807 done
20808
20809
20810 if test "$ac_cv_header_iostream" = "yes" ; then
20811 :
20812 else
20813 cat >>confdefs.h <<\_ACEOF
20814 #define wxUSE_IOSTREAMH 1
20815 _ACEOF
20816
20817 fi
20818
20819 ac_ext=c
20820 ac_cpp='$CPP $CPPFLAGS'
20821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20824
20825
20826
20827
20828 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20829 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20830 if test "${wx_cv_cpp_bool+set}" = set; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20832 else
20833
20834
20835
20836 ac_ext=cc
20837 ac_cpp='$CXXCPP $CPPFLAGS'
20838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20841
20842
20843 cat >conftest.$ac_ext <<_ACEOF
20844 /* confdefs.h. */
20845 _ACEOF
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849
20850
20851 int
20852 main ()
20853 {
20854
20855 bool b = true;
20856
20857 return 0;
20858
20859 ;
20860 return 0;
20861 }
20862 _ACEOF
20863 rm -f conftest.$ac_objext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20865 (eval $ac_compile) 2>conftest.er1
20866 ac_status=$?
20867 grep -v '^ *+' conftest.er1 >conftest.err
20868 rm -f conftest.er1
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } &&
20872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884
20885 wx_cv_cpp_bool=yes
20886
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891
20892 wx_cv_cpp_bool=no
20893
20894
20895 fi
20896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20897
20898 ac_ext=c
20899 ac_cpp='$CPP $CPPFLAGS'
20900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20903
20904
20905 fi
20906 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20907 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20908
20909 if test "$wx_cv_cpp_bool" = "yes"; then
20910 cat >>confdefs.h <<\_ACEOF
20911 #define HAVE_BOOL 1
20912 _ACEOF
20913
20914 fi
20915
20916
20917
20918 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20919 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20920 if test "${wx_cv_explicit+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 else
20923
20924
20925
20926 ac_ext=cc
20927 ac_cpp='$CXXCPP $CPPFLAGS'
20928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20931
20932
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939
20940 class Foo { public: explicit Foo(int) {} };
20941
20942 int
20943 main ()
20944 {
20945
20946 return 0;
20947
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest.$ac_objext
20953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20954 (eval $ac_compile) 2>conftest.er1
20955 ac_status=$?
20956 grep -v '^ *+' conftest.er1 >conftest.err
20957 rm -f conftest.er1
20958 cat conftest.err >&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20970 ac_status=$?
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980
20981 class Foo { public: explicit Foo(int) {} };
20982 static void TakeFoo(const Foo& foo) { }
20983
20984 int
20985 main ()
20986 {
20987
20988 TakeFoo(17);
20989 return 0;
20990
20991 ;
20992 return 0;
20993 }
20994 _ACEOF
20995 rm -f conftest.$ac_objext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20997 (eval $ac_compile) 2>conftest.er1
20998 ac_status=$?
20999 grep -v '^ *+' conftest.er1 >conftest.err
21000 rm -f conftest.er1
21001 cat conftest.err >&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } &&
21004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21007 ac_status=$?
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try='test -s conftest.$ac_objext'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21016 wx_cv_explicit=no
21017 else
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21020
21021 wx_cv_explicit=yes
21022
21023 fi
21024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21025
21026 else
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21029
21030 wx_cv_explicit=no
21031
21032 fi
21033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21034
21035 ac_ext=c
21036 ac_cpp='$CPP $CPPFLAGS'
21037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21040
21041
21042 fi
21043 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21044 echo "${ECHO_T}$wx_cv_explicit" >&6
21045
21046 if test "$wx_cv_explicit" = "yes"; then
21047 cat >>confdefs.h <<\_ACEOF
21048 #define HAVE_EXPLICIT 1
21049 _ACEOF
21050
21051 fi
21052
21053
21054 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21055 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21056 if test "${ac_cv_cxx_const_cast+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21058 else
21059
21060
21061 ac_ext=cc
21062 ac_cpp='$CXXCPP $CPPFLAGS'
21063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073
21074 int
21075 main ()
21076 {
21077 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21078 ;
21079 return 0;
21080 }
21081 _ACEOF
21082 rm -f conftest.$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>conftest.er1
21085 ac_status=$?
21086 grep -v '^ *+' conftest.er1 >conftest.err
21087 rm -f conftest.er1
21088 cat conftest.err >&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 ac_cv_cxx_const_cast=yes
21104 else
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 ac_cv_cxx_const_cast=no
21109 fi
21110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21111 ac_ext=c
21112 ac_cpp='$CPP $CPPFLAGS'
21113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21116
21117
21118 fi
21119 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21120 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21121 if test "$ac_cv_cxx_const_cast" = yes; then
21122
21123 cat >>confdefs.h <<\_ACEOF
21124 #define HAVE_CONST_CAST
21125 _ACEOF
21126
21127 fi
21128
21129 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21130 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21131 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21132 echo $ECHO_N "(cached) $ECHO_C" >&6
21133 else
21134
21135
21136 ac_ext=cc
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21141
21142 cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h. */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 #include <typeinfo>
21149 class Base { public : Base () {} virtual void f () = 0;};
21150 class Derived : public Base { public : Derived () {} virtual void f () {} };
21151 class Unrelated { public : Unrelated () {} };
21152 int g (Unrelated&) { return 0; }
21153 int
21154 main ()
21155 {
21156
21157 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21158 ;
21159 return 0;
21160 }
21161 _ACEOF
21162 rm -f conftest.$ac_objext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21164 (eval $ac_compile) 2>conftest.er1
21165 ac_status=$?
21166 grep -v '^ *+' conftest.er1 >conftest.err
21167 rm -f conftest.er1
21168 cat conftest.err >&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; } &&
21177 { ac_try='test -s conftest.$ac_objext'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21180 ac_status=$?
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 ac_cv_cxx_reinterpret_cast=yes
21184 else
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21187
21188 ac_cv_cxx_reinterpret_cast=no
21189 fi
21190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21191 ac_ext=c
21192 ac_cpp='$CPP $CPPFLAGS'
21193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196
21197
21198 fi
21199 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21200 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21201 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21202
21203 cat >>confdefs.h <<\_ACEOF
21204 #define HAVE_REINTERPRET_CAST
21205 _ACEOF
21206
21207 fi
21208
21209 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21210 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21211 if test "${ac_cv_cxx_static_cast+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 else
21214
21215
21216 ac_ext=cc
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21221
21222 cat >conftest.$ac_ext <<_ACEOF
21223 /* confdefs.h. */
21224 _ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 #include <typeinfo>
21229 class Base { public : Base () {} virtual void f () = 0; };
21230 class Derived : public Base { public : Derived () {} virtual void f () {} };
21231 int g (Derived&) { return 0; }
21232 int
21233 main ()
21234 {
21235
21236 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_cv_cxx_static_cast=yes
21263 else
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21266
21267 ac_cv_cxx_static_cast=no
21268 fi
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21275
21276
21277 fi
21278 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21279 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21280 if test "$ac_cv_cxx_static_cast" = yes; then
21281
21282 cat >>confdefs.h <<\_ACEOF
21283 #define HAVE_STATIC_CAST
21284 _ACEOF
21285
21286 fi
21287
21288
21289 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21290 ac_ext=cc
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21295
21296
21297 if test "$wxUSE_UNICODE" = "yes"; then
21298 std_string="std::wstring"
21299 char_type="wchar_t"
21300 else
21301 std_string="std::string"
21302 char_type="char"
21303 fi
21304
21305 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21306 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21307 cat >conftest.$ac_ext <<_ACEOF
21308 /* confdefs.h. */
21309 _ACEOF
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21313 #include <string>
21314 int
21315 main ()
21316 {
21317 $std_string foo;
21318 ;
21319 return 0;
21320 }
21321 _ACEOF
21322 rm -f conftest.$ac_objext
21323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21324 (eval $ac_compile) 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } &&
21331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21333 (eval $ac_try) 2>&5
21334 ac_status=$?
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); }; } &&
21337 { ac_try='test -s conftest.$ac_objext'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; }; then
21343 echo "$as_me:$LINENO: result: yes" >&5
21344 echo "${ECHO_T}yes" >&6
21345 cat >>confdefs.h <<\_ACEOF
21346 #define HAVE_STD_WSTRING 1
21347 _ACEOF
21348
21349 else
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21352
21353 echo "$as_me:$LINENO: result: no" >&5
21354 echo "${ECHO_T}no" >&6
21355 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21356 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363
21364 #ifdef HAVE_WCHAR_H
21365 # ifdef __CYGWIN__
21366 # include <stddef.h>
21367 # endif
21368 # include <wchar.h>
21369 #endif
21370 #ifdef HAVE_STDLIB_H
21371 # include <stdlib.h>
21372 #endif
21373 #include <stdio.h>
21374 #include <string>
21375
21376 int
21377 main ()
21378 {
21379 std::basic_string<$char_type> foo;
21380 const $char_type* dummy = foo.c_str();
21381 ;
21382 return 0;
21383 }
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21387 (eval $ac_compile) 2>conftest.er1
21388 ac_status=$?
21389 grep -v '^ *+' conftest.er1 >conftest.err
21390 rm -f conftest.er1
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest.$ac_objext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 echo "$as_me:$LINENO: result: yes" >&5
21407 echo "${ECHO_T}yes" >&6
21408 else
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.$ac_ext >&5
21411
21412 echo "$as_me:$LINENO: result: no" >&5
21413 echo "${ECHO_T}no" >&6
21414 if test "$wxUSE_STL" = "yes"; then
21415 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21416 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21417 { (exit 1); exit 1; }; }
21418 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21419 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21420 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21421 { (exit 1); exit 1; }; }
21422 else
21423 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21424 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21425 wxUSE_STD_STRING=no
21426 fi
21427
21428
21429 fi
21430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21431
21432 fi
21433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21434
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440
21441 fi
21442
21443 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21444 ac_ext=cc
21445 ac_cpp='$CXXCPP $CPPFLAGS'
21446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449
21450
21451 echo "$as_me:$LINENO: checking for std::istream" >&5
21452 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21453 if test "${ac_cv_type_std__istream+set}" = set; then
21454 echo $ECHO_N "(cached) $ECHO_C" >&6
21455 else
21456 cat >conftest.$ac_ext <<_ACEOF
21457 /* confdefs.h. */
21458 _ACEOF
21459 cat confdefs.h >>conftest.$ac_ext
21460 cat >>conftest.$ac_ext <<_ACEOF
21461 /* end confdefs.h. */
21462 #include <iostream>
21463
21464 int
21465 main ()
21466 {
21467 if ((std::istream *) 0)
21468 return 0;
21469 if (sizeof (std::istream))
21470 return 0;
21471 ;
21472 return 0;
21473 }
21474 _ACEOF
21475 rm -f conftest.$ac_objext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21477 (eval $ac_compile) 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_type_std__istream=yes
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 ac_cv_type_std__istream=no
21502 fi
21503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21504 fi
21505 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21506 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21507 if test $ac_cv_type_std__istream = yes; then
21508
21509 cat >>confdefs.h <<_ACEOF
21510 #define HAVE_STD__ISTREAM 1
21511 _ACEOF
21512
21513
21514 else
21515 wxUSE_STD_IOSTREAM=no
21516 fi
21517 echo "$as_me:$LINENO: checking for std::ostream" >&5
21518 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21519 if test "${ac_cv_type_std__ostream+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 else
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h. */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 #include <iostream>
21529
21530 int
21531 main ()
21532 {
21533 if ((std::ostream *) 0)
21534 return 0;
21535 if (sizeof (std::ostream))
21536 return 0;
21537 ;
21538 return 0;
21539 }
21540 _ACEOF
21541 rm -f conftest.$ac_objext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21543 (eval $ac_compile) 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; } &&
21556 { ac_try='test -s conftest.$ac_objext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_type_std__ostream=yes
21563 else
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21566
21567 ac_cv_type_std__ostream=no
21568 fi
21569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21570 fi
21571 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21572 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21573 if test $ac_cv_type_std__ostream = yes; then
21574
21575 cat >>confdefs.h <<_ACEOF
21576 #define HAVE_STD__OSTREAM 1
21577 _ACEOF
21578
21579
21580 else
21581 wxUSE_STD_IOSTREAM=no
21582 fi
21583
21584
21585 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21586 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21587 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21588 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21589 { (exit 1); exit 1; }; }
21590 else
21591 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21592 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21593 fi
21594 fi
21595
21596 ac_ext=c
21597 ac_cpp='$CPP $CPPFLAGS'
21598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21601
21602 fi
21603
21604 if test "$wxUSE_STL" = "yes"; then
21605 ac_ext=cc
21606 ac_cpp='$CXXCPP $CPPFLAGS'
21607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21610
21611
21612 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21613 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #include <string>
21621 #include <functional>
21622 #include <algorithm>
21623 #include <vector>
21624 #include <list>
21625 int
21626 main ()
21627 {
21628 std::vector<int> moo;
21629 std::list<int> foo;
21630 std::vector<int>::iterator it =
21631 std::find_if(moo.begin(), moo.end(),
21632 std::bind2nd(std::less<int>(), 3));
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 else
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21663
21664 echo "$as_me:$LINENO: result: no" >&5
21665 echo "${ECHO_T}no" >&6
21666 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21667 echo "$as_me: error: Basic STL functionality missing" >&2;}
21668 { (exit 1); exit 1; }; }
21669 fi
21670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21671
21672 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21673 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21674 cat >conftest.$ac_ext <<_ACEOF
21675 /* confdefs.h. */
21676 _ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 #include <string>
21681 int
21682 main ()
21683 {
21684 std::string foo, bar;
21685 foo.compare(bar);
21686 foo.compare(1, 1, bar);
21687 foo.compare(1, 1, bar, 1, 1);
21688 foo.compare("");
21689 foo.compare(1, 1, "");
21690 foo.compare(1, 1, "", 2);
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21697 (eval $ac_compile) 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21707 ac_status=$?
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try='test -s conftest.$ac_objext'
21711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 (eval $ac_try) 2>&5
21713 ac_status=$?
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; }; then
21716 echo "$as_me:$LINENO: result: yes" >&5
21717 echo "${ECHO_T}yes" >&6
21718 cat >>confdefs.h <<\_ACEOF
21719 #define HAVE_STD_STRING_COMPARE 1
21720 _ACEOF
21721
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21725
21726 echo "$as_me:$LINENO: result: no" >&5
21727 echo "${ECHO_T}no" >&6
21728 fi
21729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21730
21731 if test "${ac_cv_header_hash_map+set}" = set; then
21732 echo "$as_me:$LINENO: checking for hash_map" >&5
21733 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21734 if test "${ac_cv_header_hash_map+set}" = set; then
21735 echo $ECHO_N "(cached) $ECHO_C" >&6
21736 fi
21737 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21738 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21739 else
21740 # Is the header compilable?
21741 echo "$as_me:$LINENO: checking hash_map usability" >&5
21742 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 #include <hash_map>
21751 _ACEOF
21752 rm -f conftest.$ac_objext
21753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21754 (eval $ac_compile) 2>conftest.er1
21755 ac_status=$?
21756 grep -v '^ *+' conftest.er1 >conftest.err
21757 rm -f conftest.er1
21758 cat conftest.err >&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } &&
21761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; } &&
21767 { ac_try='test -s conftest.$ac_objext'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21770 ac_status=$?
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; }; then
21773 ac_header_compiler=yes
21774 else
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21777
21778 ac_header_compiler=no
21779 fi
21780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21782 echo "${ECHO_T}$ac_header_compiler" >&6
21783
21784 # Is the header present?
21785 echo "$as_me:$LINENO: checking hash_map presence" >&5
21786 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21787 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */
21789 _ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 #include <hash_map>
21794 _ACEOF
21795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21797 ac_status=$?
21798 grep -v '^ *+' conftest.er1 >conftest.err
21799 rm -f conftest.er1
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } >/dev/null; then
21803 if test -s conftest.err; then
21804 ac_cpp_err=$ac_cxx_preproc_warn_flag
21805 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21806 else
21807 ac_cpp_err=
21808 fi
21809 else
21810 ac_cpp_err=yes
21811 fi
21812 if test -z "$ac_cpp_err"; then
21813 ac_header_preproc=yes
21814 else
21815 echo "$as_me: failed program was:" >&5
21816 sed 's/^/| /' conftest.$ac_ext >&5
21817
21818 ac_header_preproc=no
21819 fi
21820 rm -f conftest.err conftest.$ac_ext
21821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21822 echo "${ECHO_T}$ac_header_preproc" >&6
21823
21824 # So? What about this header?
21825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21826 yes:no: )
21827 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21828 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21829 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21830 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21831 ac_header_preproc=yes
21832 ;;
21833 no:yes:* )
21834 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21835 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21837 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21839 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21841 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21843 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21844 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21845 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21846 (
21847 cat <<\_ASBOX
21848 ## ----------------------------------------- ##
21849 ## Report this to wx-dev@lists.wxwidgets.org ##
21850 ## ----------------------------------------- ##
21851 _ASBOX
21852 ) |
21853 sed "s/^/$as_me: WARNING: /" >&2
21854 ;;
21855 esac
21856 echo "$as_me:$LINENO: checking for hash_map" >&5
21857 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21858 if test "${ac_cv_header_hash_map+set}" = set; then
21859 echo $ECHO_N "(cached) $ECHO_C" >&6
21860 else
21861 ac_cv_header_hash_map=$ac_header_preproc
21862 fi
21863 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21864 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21865
21866 fi
21867 if test $ac_cv_header_hash_map = yes; then
21868 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21869 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21870 cat >conftest.$ac_ext <<_ACEOF
21871 /* confdefs.h. */
21872 _ACEOF
21873 cat confdefs.h >>conftest.$ac_ext
21874 cat >>conftest.$ac_ext <<_ACEOF
21875 /* end confdefs.h. */
21876 #include <hash_map>
21877 #include <hash_set>
21878 int
21879 main ()
21880 {
21881 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21882 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21883 ;
21884 return 0;
21885 }
21886 _ACEOF
21887 rm -f conftest.$ac_objext
21888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21889 (eval $ac_compile) 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21898 (eval $ac_try) 2>&5
21899 ac_status=$?
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); }; } &&
21902 { ac_try='test -s conftest.$ac_objext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 echo "$as_me:$LINENO: result: yes" >&5
21909 echo "${ECHO_T}yes" >&6
21910 cat >>confdefs.h <<\_ACEOF
21911 #define HAVE_HASH_MAP 1
21912 _ACEOF
21913
21914 cat >>confdefs.h <<\_ACEOF
21915 #define HAVE_STD_HASH_MAP 1
21916 _ACEOF
21917
21918 else
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21921
21922 echo "$as_me:$LINENO: result: no" >&5
21923 echo "${ECHO_T}no" >&6
21924 fi
21925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21926
21927 fi
21928
21929
21930
21931 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21932 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21933 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21934 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21935 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 fi
21937 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21938 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21939 else
21940 # Is the header compilable?
21941 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21942 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21943 cat >conftest.$ac_ext <<_ACEOF
21944 /* confdefs.h. */
21945 _ACEOF
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21949 $ac_includes_default
21950 #include <ext/hash_map>
21951 _ACEOF
21952 rm -f conftest.$ac_objext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21954 (eval $ac_compile) 2>conftest.er1
21955 ac_status=$?
21956 grep -v '^ *+' conftest.er1 >conftest.err
21957 rm -f conftest.er1
21958 cat conftest.err >&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try='test -s conftest.$ac_objext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21970 ac_status=$?
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 ac_header_compiler=yes
21974 else
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 ac_header_compiler=no
21979 fi
21980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21982 echo "${ECHO_T}$ac_header_compiler" >&6
21983
21984 # Is the header present?
21985 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21986 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 #include <ext/hash_map>
21994 _ACEOF
21995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } >/dev/null; then
22003 if test -s conftest.err; then
22004 ac_cpp_err=$ac_cxx_preproc_warn_flag
22005 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22006 else
22007 ac_cpp_err=
22008 fi
22009 else
22010 ac_cpp_err=yes
22011 fi
22012 if test -z "$ac_cpp_err"; then
22013 ac_header_preproc=yes
22014 else
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22017
22018 ac_header_preproc=no
22019 fi
22020 rm -f conftest.err conftest.$ac_ext
22021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22022 echo "${ECHO_T}$ac_header_preproc" >&6
22023
22024 # So? What about this header?
22025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22026 yes:no: )
22027 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22028 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22029 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22030 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22031 ac_header_preproc=yes
22032 ;;
22033 no:yes:* )
22034 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22035 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22036 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22037 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22038 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22039 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22041 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22043 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22045 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22046 (
22047 cat <<\_ASBOX
22048 ## ----------------------------------------- ##
22049 ## Report this to wx-dev@lists.wxwidgets.org ##
22050 ## ----------------------------------------- ##
22051 _ASBOX
22052 ) |
22053 sed "s/^/$as_me: WARNING: /" >&2
22054 ;;
22055 esac
22056 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22057 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22058 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22060 else
22061 ac_cv_header_ext_hash_map=$ac_header_preproc
22062 fi
22063 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22064 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22065
22066 fi
22067 if test $ac_cv_header_ext_hash_map = yes; then
22068 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22069 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 #include <ext/hash_map>
22077 #include <ext/hash_set>
22078 int
22079 main ()
22080 {
22081 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22082 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22083 ;
22084 return 0;
22085 }
22086 _ACEOF
22087 rm -f conftest.$ac_objext
22088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22089 (eval $ac_compile) 2>conftest.er1
22090 ac_status=$?
22091 grep -v '^ *+' conftest.er1 >conftest.err
22092 rm -f conftest.er1
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } &&
22096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; } &&
22102 { ac_try='test -s conftest.$ac_objext'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; }; then
22108 echo "$as_me:$LINENO: result: yes" >&5
22109 echo "${ECHO_T}yes" >&6
22110 cat >>confdefs.h <<\_ACEOF
22111 #define HAVE_EXT_HASH_MAP 1
22112 _ACEOF
22113
22114 cat >>confdefs.h <<\_ACEOF
22115 #define HAVE_GNU_CXX_HASH_MAP 1
22116 _ACEOF
22117
22118 else
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22121
22122 echo "$as_me:$LINENO: result: no" >&5
22123 echo "${ECHO_T}no" >&6
22124 fi
22125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22126
22127 fi
22128
22129
22130
22131 ac_ext=c
22132 ac_cpp='$CPP $CPPFLAGS'
22133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136
22137 fi
22138
22139
22140 SEARCH_INCLUDE="\
22141 /usr/local/include \
22142 \
22143 /usr/Motif-2.1/include \
22144 /usr/Motif-1.2/include \
22145 /usr/include/Motif1.2 \
22146 /opt/xpm/include/X11 \
22147 /opt/GBxpm/include/ \
22148 /opt/GBxpm/X11/include/ \
22149 \
22150 /usr/dt/include \
22151 /usr/openwin/include \
22152 \
22153 /usr/include/Xm \
22154 \
22155 /usr/X11R6/include \
22156 /usr/X11R6.4/include \
22157 /usr/X11R5/include \
22158 /usr/X11R4/include \
22159 \
22160 /usr/include/X11R6 \
22161 /usr/include/X11R5 \
22162 /usr/include/X11R4 \
22163 \
22164 /usr/local/X11R6/include \
22165 /usr/local/X11R5/include \
22166 /usr/local/X11R4/include \
22167 \
22168 /usr/local/include/X11R6 \
22169 /usr/local/include/X11R5 \
22170 /usr/local/include/X11R4 \
22171 \
22172 /usr/X11/include \
22173 /usr/include/X11 \
22174 /usr/local/X11/include \
22175 /usr/local/include/X11 \
22176 \
22177 /usr/X386/include \
22178 /usr/x386/include \
22179 /usr/XFree86/include/X11 \
22180 \
22181 X:/XFree86/include \
22182 X:/XFree86/include/X11 \
22183 \
22184 /usr/include/gtk \
22185 /usr/local/include/gtk \
22186 /usr/include/glib \
22187 /usr/local/include/glib \
22188 \
22189 /usr/include/qt \
22190 /usr/local/include/qt \
22191 \
22192 /usr/local/arm/3.3.2/include \
22193 \
22194 /usr/include/windows \
22195 /usr/include/wine \
22196 /usr/local/include/wine \
22197 \
22198 /usr/unsupported/include \
22199 /usr/athena/include \
22200 /usr/local/x11r5/include \
22201 /usr/lpp/Xamples/include \
22202 \
22203 /usr/openwin/share/include"
22204
22205 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22206
22207 if test "$build" != "$host" -a "$GCC" = yes; then
22208 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
22209 cross_root=`dirname $cross_root`
22210 cross_root=`dirname $cross_root`
22211
22212 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22213 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22214
22215 if test -z "$PKG_CONFIG_PATH"; then
22216 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22217 export PKG_CONFIG_PATH
22218 fi
22219
22220 if test -z "$x_includes" -o "$x_includes" = NONE; then
22221
22222 ac_find_includes=
22223 for ac_dir in $SEARCH_INCLUDE /usr/include;
22224 do
22225 if test -f "$ac_dir/X11/Intrinsic.h"; then
22226 ac_find_includes=$ac_dir
22227 break
22228 fi
22229 done
22230
22231 x_includes=$ac_find_includes
22232 fi
22233 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22234
22235 ac_find_libraries=
22236 for ac_dir in $SEARCH_LIB /usr/lib;
22237 do
22238 for ac_extension in a so sl dylib dll.a; do
22239 if test -f "$ac_dir/libXt.$ac_extension"; then
22240 ac_find_libraries=$ac_dir
22241 break 2
22242 fi
22243 done
22244 done
22245
22246 x_libraries=$ac_find_libraries
22247 fi
22248 fi
22249 fi
22250
22251
22252 cat >confcache <<\_ACEOF
22253 # This file is a shell script that caches the results of configure
22254 # tests run on this system so they can be shared between configure
22255 # scripts and configure runs, see configure's option --config-cache.
22256 # It is not useful on other systems. If it contains results you don't
22257 # want to keep, you may remove or edit it.
22258 #
22259 # config.status only pays attention to the cache file if you give it
22260 # the --recheck option to rerun configure.
22261 #
22262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22264 # following values.
22265
22266 _ACEOF
22267
22268 # The following way of writing the cache mishandles newlines in values,
22269 # but we know of no workaround that is simple, portable, and efficient.
22270 # So, don't put newlines in cache variables' values.
22271 # Ultrix sh set writes to stderr and can't be redirected directly,
22272 # and sets the high bit in the cache file unless we assign to the vars.
22273 {
22274 (set) 2>&1 |
22275 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22276 *ac_space=\ *)
22277 # `set' does not quote correctly, so add quotes (double-quote
22278 # substitution turns \\\\ into \\, and sed turns \\ into \).
22279 sed -n \
22280 "s/'/'\\\\''/g;
22281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22282 ;;
22283 *)
22284 # `set' quotes correctly as required by POSIX, so do not add quotes.
22285 sed -n \
22286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22287 ;;
22288 esac;
22289 } |
22290 sed '
22291 t clear
22292 : clear
22293 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22294 t end
22295 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22296 : end' >>confcache
22297 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22298 if test -w $cache_file; then
22299 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22300 cat confcache >$cache_file
22301 else
22302 echo "not updating unwritable cache $cache_file"
22303 fi
22304 fi
22305 rm -f confcache
22306
22307 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22308 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22309 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22310 if test "${wx_cv_lib_glibc21+set}" = set; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22312 else
22313
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h. */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 #include <features.h>
22321 int
22322 main ()
22323 {
22324
22325 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22326 #error not glibc2.1
22327 #endif
22328
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 rm -f conftest.$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>conftest.er1
22336 ac_status=$?
22337 grep -v '^ *+' conftest.er1 >conftest.err
22338 rm -f conftest.er1
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22345 ac_status=$?
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; } &&
22348 { ac_try='test -s conftest.$ac_objext'
22349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22350 (eval $ac_try) 2>&5
22351 ac_status=$?
22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 (exit $ac_status); }; }; then
22354
22355 wx_cv_lib_glibc21=yes
22356
22357 else
22358 echo "$as_me: failed program was:" >&5
22359 sed 's/^/| /' conftest.$ac_ext >&5
22360
22361
22362 wx_cv_lib_glibc21=no
22363
22364
22365 fi
22366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22367
22368 fi
22369 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22370 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22371 if test "$wx_cv_lib_glibc21" = "yes"; then
22372 cat >>confdefs.h <<\_ACEOF
22373 #define wxHAVE_GLIBC2 1
22374 _ACEOF
22375
22376 fi
22377 fi
22378
22379 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22380 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22381 cat >>confdefs.h <<\_ACEOF
22382 #define _GNU_SOURCE 1
22383 _ACEOF
22384
22385 fi
22386 fi
22387
22388
22389
22390 if test "$wxUSE_REGEX" != "no"; then
22391 cat >>confdefs.h <<\_ACEOF
22392 #define wxUSE_REGEX 1
22393 _ACEOF
22394
22395
22396 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22397 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22398 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22399 wxUSE_REGEX=builtin
22400 fi
22401
22402 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22403 if test "${ac_cv_header_regex_h+set}" = set; then
22404 echo "$as_me:$LINENO: checking for regex.h" >&5
22405 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22406 if test "${ac_cv_header_regex_h+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 fi
22409 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22410 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22411 else
22412 # Is the header compilable?
22413 echo "$as_me:$LINENO: checking regex.h usability" >&5
22414 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 #include <regex.h>
22423 _ACEOF
22424 rm -f conftest.$ac_objext
22425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22426 (eval $ac_compile) 2>conftest.er1
22427 ac_status=$?
22428 grep -v '^ *+' conftest.er1 >conftest.err
22429 rm -f conftest.er1
22430 cat conftest.err >&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } &&
22433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22436 ac_status=$?
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; } &&
22439 { ac_try='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22442 ac_status=$?
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445 ac_header_compiler=yes
22446 else
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22449
22450 ac_header_compiler=no
22451 fi
22452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22454 echo "${ECHO_T}$ac_header_compiler" >&6
22455
22456 # Is the header present?
22457 echo "$as_me:$LINENO: checking regex.h presence" >&5
22458 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22459 cat >conftest.$ac_ext <<_ACEOF
22460 /* confdefs.h. */
22461 _ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 #include <regex.h>
22466 _ACEOF
22467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22469 ac_status=$?
22470 grep -v '^ *+' conftest.er1 >conftest.err
22471 rm -f conftest.er1
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } >/dev/null; then
22475 if test -s conftest.err; then
22476 ac_cpp_err=$ac_c_preproc_warn_flag
22477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22478 else
22479 ac_cpp_err=
22480 fi
22481 else
22482 ac_cpp_err=yes
22483 fi
22484 if test -z "$ac_cpp_err"; then
22485 ac_header_preproc=yes
22486 else
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.$ac_ext >&5
22489
22490 ac_header_preproc=no
22491 fi
22492 rm -f conftest.err conftest.$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22494 echo "${ECHO_T}$ac_header_preproc" >&6
22495
22496 # So? What about this header?
22497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22498 yes:no: )
22499 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22500 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22501 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22502 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22503 ac_header_preproc=yes
22504 ;;
22505 no:yes:* )
22506 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22507 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22508 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22509 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22510 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22511 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22513 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22515 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22517 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22518 (
22519 cat <<\_ASBOX
22520 ## ----------------------------------------- ##
22521 ## Report this to wx-dev@lists.wxwidgets.org ##
22522 ## ----------------------------------------- ##
22523 _ASBOX
22524 ) |
22525 sed "s/^/$as_me: WARNING: /" >&2
22526 ;;
22527 esac
22528 echo "$as_me:$LINENO: checking for regex.h" >&5
22529 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22530 if test "${ac_cv_header_regex_h+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22532 else
22533 ac_cv_header_regex_h=$ac_header_preproc
22534 fi
22535 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22536 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22537
22538 fi
22539 if test $ac_cv_header_regex_h = yes; then
22540
22541 for ac_func in regcomp
22542 do
22543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22544 echo "$as_me:$LINENO: checking for $ac_func" >&5
22545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22546 if eval "test \"\${$as_ac_var+set}\" = set"; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 else
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22558
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22563
22564 #ifdef __STDC__
22565 # include <limits.h>
22566 #else
22567 # include <assert.h>
22568 #endif
22569
22570 #undef $ac_func
22571
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22575 {
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char $ac_func ();
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22584 choke me
22585 #else
22586 char (*f) () = $ac_func;
22587 #endif
22588 #ifdef __cplusplus
22589 }
22590 #endif
22591
22592 int
22593 main ()
22594 {
22595 return f != $ac_func;
22596 ;
22597 return 0;
22598 }
22599 _ACEOF
22600 rm -f conftest.$ac_objext conftest$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611 (eval $ac_try) 2>&5
22612 ac_status=$?
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); }; } &&
22615 { ac_try='test -s conftest$ac_exeext'
22616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617 (eval $ac_try) 2>&5
22618 ac_status=$?
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; }; then
22621 eval "$as_ac_var=yes"
22622 else
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 eval "$as_ac_var=no"
22627 fi
22628 rm -f conftest.err conftest.$ac_objext \
22629 conftest$ac_exeext conftest.$ac_ext
22630 fi
22631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22633 if test `eval echo '${'$as_ac_var'}'` = yes; then
22634 cat >>confdefs.h <<_ACEOF
22635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22636 _ACEOF
22637
22638 fi
22639 done
22640
22641 fi
22642
22643
22644
22645 if test "x$ac_cv_func_regcomp" != "xyes"; then
22646 if test "$wxUSE_REGEX" = "sys" ; then
22647 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22648 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22649 { (exit 1); exit 1; }; }
22650 else
22651 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22652 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22653 wxUSE_REGEX=builtin
22654 fi
22655 else
22656 wxUSE_REGEX=sys
22657 cat >>confdefs.h <<\_ACEOF
22658 #define WX_NO_REGEX_ADVANCED 1
22659 _ACEOF
22660
22661 fi
22662 fi
22663 fi
22664
22665
22666 ZLIB_LINK=
22667 if test "$wxUSE_ZLIB" != "no" ; then
22668 cat >>confdefs.h <<\_ACEOF
22669 #define wxUSE_ZLIB 1
22670 _ACEOF
22671
22672
22673 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22674 if test "$USE_DARWIN" = 1; then
22675 system_zlib_h_ok="yes"
22676 else
22677 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22678 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22679 if test "${ac_cv_header_zlib_h+set}" = set; then
22680 echo $ECHO_N "(cached) $ECHO_C" >&6
22681 else
22682 if test "$cross_compiling" = yes; then
22683 unset ac_cv_header_zlib_h
22684
22685 else
22686 cat >conftest.$ac_ext <<_ACEOF
22687 /* confdefs.h. */
22688 _ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692
22693 #include <zlib.h>
22694 #include <stdio.h>
22695
22696 int main()
22697 {
22698 FILE *f=fopen("conftestval", "w");
22699 if (!f) exit(1);
22700 fprintf(f, "%s",
22701 ZLIB_VERSION[0] == '1' &&
22702 (ZLIB_VERSION[2] > '1' ||
22703 (ZLIB_VERSION[2] == '1' &&
22704 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22705 exit(0);
22706 }
22707
22708 _ACEOF
22709 rm -f conftest$ac_exeext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22711 (eval $ac_link) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; }; then
22720 ac_cv_header_zlib_h=`cat conftestval`
22721 else
22722 echo "$as_me: program exited with status $ac_status" >&5
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ( exit $ac_status )
22727 ac_cv_header_zlib_h=no
22728 fi
22729 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22730 fi
22731
22732 fi
22733 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22734 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22735 if test "${ac_cv_header_zlib_h+set}" = set; then
22736 echo "$as_me:$LINENO: checking for zlib.h" >&5
22737 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22738 if test "${ac_cv_header_zlib_h+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 fi
22741 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22742 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22743 else
22744 # Is the header compilable?
22745 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22746 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22747 cat >conftest.$ac_ext <<_ACEOF
22748 /* confdefs.h. */
22749 _ACEOF
22750 cat confdefs.h >>conftest.$ac_ext
22751 cat >>conftest.$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22753 $ac_includes_default
22754 #include <zlib.h>
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22759 ac_status=$?
22760 grep -v '^ *+' conftest.er1 >conftest.err
22761 rm -f conftest.er1
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22777 ac_header_compiler=yes
22778 else
22779 echo "$as_me: failed program was:" >&5
22780 sed 's/^/| /' conftest.$ac_ext >&5
22781
22782 ac_header_compiler=no
22783 fi
22784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22786 echo "${ECHO_T}$ac_header_compiler" >&6
22787
22788 # Is the header present?
22789 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22790 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 #include <zlib.h>
22798 _ACEOF
22799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22801 ac_status=$?
22802 grep -v '^ *+' conftest.er1 >conftest.err
22803 rm -f conftest.er1
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } >/dev/null; then
22807 if test -s conftest.err; then
22808 ac_cpp_err=$ac_c_preproc_warn_flag
22809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22810 else
22811 ac_cpp_err=
22812 fi
22813 else
22814 ac_cpp_err=yes
22815 fi
22816 if test -z "$ac_cpp_err"; then
22817 ac_header_preproc=yes
22818 else
22819 echo "$as_me: failed program was:" >&5
22820 sed 's/^/| /' conftest.$ac_ext >&5
22821
22822 ac_header_preproc=no
22823 fi
22824 rm -f conftest.err conftest.$ac_ext
22825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22826 echo "${ECHO_T}$ac_header_preproc" >&6
22827
22828 # So? What about this header?
22829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22830 yes:no: )
22831 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22832 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22833 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22834 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22835 ac_header_preproc=yes
22836 ;;
22837 no:yes:* )
22838 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22839 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22840 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22841 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22842 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22843 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22845 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22847 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22849 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22850 (
22851 cat <<\_ASBOX
22852 ## ----------------------------------------- ##
22853 ## Report this to wx-dev@lists.wxwidgets.org ##
22854 ## ----------------------------------------- ##
22855 _ASBOX
22856 ) |
22857 sed "s/^/$as_me: WARNING: /" >&2
22858 ;;
22859 esac
22860 echo "$as_me:$LINENO: checking for zlib.h" >&5
22861 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22862 if test "${ac_cv_header_zlib_h+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 else
22865 ac_cv_header_zlib_h=$ac_header_preproc
22866 fi
22867 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22868 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22869
22870 fi
22871
22872
22873
22874 system_zlib_h_ok=$ac_cv_header_zlib_h
22875 fi
22876
22877 if test "$system_zlib_h_ok" = "yes"; then
22878 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22879 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22880 if test "${ac_cv_lib_z_deflate+set}" = set; then
22881 echo $ECHO_N "(cached) $ECHO_C" >&6
22882 else
22883 ac_check_lib_save_LIBS=$LIBS
22884 LIBS="-lz $LIBS"
22885 cat >conftest.$ac_ext <<_ACEOF
22886 /* confdefs.h. */
22887 _ACEOF
22888 cat confdefs.h >>conftest.$ac_ext
22889 cat >>conftest.$ac_ext <<_ACEOF
22890 /* end confdefs.h. */
22891
22892 /* Override any gcc2 internal prototype to avoid an error. */
22893 #ifdef __cplusplus
22894 extern "C"
22895 #endif
22896 /* We use char because int might match the return type of a gcc2
22897 builtin and then its argument prototype would still apply. */
22898 char deflate ();
22899 int
22900 main ()
22901 {
22902 deflate ();
22903 ;
22904 return 0;
22905 }
22906 _ACEOF
22907 rm -f conftest.$ac_objext conftest$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>conftest.er1
22910 ac_status=$?
22911 grep -v '^ *+' conftest.er1 >conftest.err
22912 rm -f conftest.er1
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } &&
22916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918 (eval $ac_try) 2>&5
22919 ac_status=$?
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); }; } &&
22922 { ac_try='test -s conftest$ac_exeext'
22923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22924 (eval $ac_try) 2>&5
22925 ac_status=$?
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; }; then
22928 ac_cv_lib_z_deflate=yes
22929 else
22930 echo "$as_me: failed program was:" >&5
22931 sed 's/^/| /' conftest.$ac_ext >&5
22932
22933 ac_cv_lib_z_deflate=no
22934 fi
22935 rm -f conftest.err conftest.$ac_objext \
22936 conftest$ac_exeext conftest.$ac_ext
22937 LIBS=$ac_check_lib_save_LIBS
22938 fi
22939 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22940 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22941 if test $ac_cv_lib_z_deflate = yes; then
22942 ZLIB_LINK=" -lz"
22943 fi
22944
22945 fi
22946
22947 if test "x$ZLIB_LINK" = "x" ; then
22948 if test "$wxUSE_ZLIB" = "sys" ; then
22949 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22950 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22951 { (exit 1); exit 1; }; }
22952 else
22953 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22954 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22955 wxUSE_ZLIB=builtin
22956 fi
22957 else
22958 wxUSE_ZLIB=sys
22959 fi
22960 fi
22961 fi
22962
22963
22964 PNG_LINK=
22965 if test "$wxUSE_LIBPNG" != "no" ; then
22966 cat >>confdefs.h <<\_ACEOF
22967 #define wxUSE_LIBPNG 1
22968 _ACEOF
22969
22970
22971 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22972 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22973 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22974 wxUSE_LIBPNG=sys
22975 fi
22976
22977 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22978 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22979 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22980 wxUSE_LIBPNG=builtin
22981 fi
22982
22983 if test "$wxUSE_MGL" != 1 ; then
22984 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22985 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22986 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22987 if test "${ac_cv_header_png_h+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 else
22990 if test "$cross_compiling" = yes; then
22991 unset ac_cv_header_png_h
22992
22993 else
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h. */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000
23001 #include <png.h>
23002 #include <stdio.h>
23003
23004 int main()
23005 {
23006 FILE *f=fopen("conftestval", "w");
23007 if (!f) exit(1);
23008 fprintf(f, "%s",
23009 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23010 exit(0);
23011 }
23012
23013 _ACEOF
23014 rm -f conftest$ac_exeext
23015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23016 (eval $ac_link) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_cv_header_png_h=`cat conftestval`
23026 else
23027 echo "$as_me: program exited with status $ac_status" >&5
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23030
23031 ( exit $ac_status )
23032 ac_cv_header_png_h=no
23033 fi
23034 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23035 fi
23036
23037 fi
23038 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23039 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23040 if test "${ac_cv_header_png_h+set}" = set; then
23041 echo "$as_me:$LINENO: checking for png.h" >&5
23042 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23043 if test "${ac_cv_header_png_h+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 fi
23046 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23047 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23048 else
23049 # Is the header compilable?
23050 echo "$as_me:$LINENO: checking png.h usability" >&5
23051 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 #include <png.h>
23060 _ACEOF
23061 rm -f conftest.$ac_objext
23062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23063 (eval $ac_compile) 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; } &&
23076 { ac_try='test -s conftest.$ac_objext'
23077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23078 (eval $ac_try) 2>&5
23079 ac_status=$?
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); }; }; then
23082 ac_header_compiler=yes
23083 else
23084 echo "$as_me: failed program was:" >&5
23085 sed 's/^/| /' conftest.$ac_ext >&5
23086
23087 ac_header_compiler=no
23088 fi
23089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23091 echo "${ECHO_T}$ac_header_compiler" >&6
23092
23093 # Is the header present?
23094 echo "$as_me:$LINENO: checking png.h presence" >&5
23095 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23096 cat >conftest.$ac_ext <<_ACEOF
23097 /* confdefs.h. */
23098 _ACEOF
23099 cat confdefs.h >>conftest.$ac_ext
23100 cat >>conftest.$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23102 #include <png.h>
23103 _ACEOF
23104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23106 ac_status=$?
23107 grep -v '^ *+' conftest.er1 >conftest.err
23108 rm -f conftest.er1
23109 cat conftest.err >&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } >/dev/null; then
23112 if test -s conftest.err; then
23113 ac_cpp_err=$ac_c_preproc_warn_flag
23114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23115 else
23116 ac_cpp_err=
23117 fi
23118 else
23119 ac_cpp_err=yes
23120 fi
23121 if test -z "$ac_cpp_err"; then
23122 ac_header_preproc=yes
23123 else
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.$ac_ext >&5
23126
23127 ac_header_preproc=no
23128 fi
23129 rm -f conftest.err conftest.$ac_ext
23130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23131 echo "${ECHO_T}$ac_header_preproc" >&6
23132
23133 # So? What about this header?
23134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23135 yes:no: )
23136 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23137 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23138 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23139 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23140 ac_header_preproc=yes
23141 ;;
23142 no:yes:* )
23143 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23144 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23145 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23146 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23147 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23148 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23149 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23150 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23152 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23154 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23155 (
23156 cat <<\_ASBOX
23157 ## ----------------------------------------- ##
23158 ## Report this to wx-dev@lists.wxwidgets.org ##
23159 ## ----------------------------------------- ##
23160 _ASBOX
23161 ) |
23162 sed "s/^/$as_me: WARNING: /" >&2
23163 ;;
23164 esac
23165 echo "$as_me:$LINENO: checking for png.h" >&5
23166 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23167 if test "${ac_cv_header_png_h+set}" = set; then
23168 echo $ECHO_N "(cached) $ECHO_C" >&6
23169 else
23170 ac_cv_header_png_h=$ac_header_preproc
23171 fi
23172 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23173 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23174
23175 fi
23176
23177
23178
23179 if test "$ac_cv_header_png_h" = "yes"; then
23180 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23181 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23182 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23183 echo $ECHO_N "(cached) $ECHO_C" >&6
23184 else
23185 ac_check_lib_save_LIBS=$LIBS
23186 LIBS="-lpng -lz -lm $LIBS"
23187 cat >conftest.$ac_ext <<_ACEOF
23188 /* confdefs.h. */
23189 _ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193
23194 /* Override any gcc2 internal prototype to avoid an error. */
23195 #ifdef __cplusplus
23196 extern "C"
23197 #endif
23198 /* We use char because int might match the return type of a gcc2
23199 builtin and then its argument prototype would still apply. */
23200 char png_check_sig ();
23201 int
23202 main ()
23203 {
23204 png_check_sig ();
23205 ;
23206 return 0;
23207 }
23208 _ACEOF
23209 rm -f conftest.$ac_objext conftest$ac_exeext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>conftest.er1
23212 ac_status=$?
23213 grep -v '^ *+' conftest.er1 >conftest.err
23214 rm -f conftest.er1
23215 cat conftest.err >&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 ac_cv_lib_png_png_check_sig=yes
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23234
23235 ac_cv_lib_png_png_check_sig=no
23236 fi
23237 rm -f conftest.err conftest.$ac_objext \
23238 conftest$ac_exeext conftest.$ac_ext
23239 LIBS=$ac_check_lib_save_LIBS
23240 fi
23241 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23242 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23243 if test $ac_cv_lib_png_png_check_sig = yes; then
23244 PNG_LINK=" -lpng -lz"
23245 fi
23246
23247 fi
23248
23249 if test "x$PNG_LINK" = "x" ; then
23250 if test "$wxUSE_LIBPNG" = "sys" ; then
23251 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23252 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23253 { (exit 1); exit 1; }; }
23254 else
23255 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23256 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23257 wxUSE_LIBPNG=builtin
23258 fi
23259 else
23260 wxUSE_LIBPNG=sys
23261 fi
23262 fi
23263 fi
23264
23265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23266 fi
23267
23268
23269 JPEG_LINK=
23270 if test "$wxUSE_LIBJPEG" != "no" ; then
23271 cat >>confdefs.h <<\_ACEOF
23272 #define wxUSE_LIBJPEG 1
23273 _ACEOF
23274
23275
23276 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23277 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23278 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23279 wxUSE_LIBJPEG=sys
23280 fi
23281
23282 if test "$wxUSE_MGL" != 1 ; then
23283 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23284 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23285 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23286 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23287 echo $ECHO_N "(cached) $ECHO_C" >&6
23288 else
23289 cat >conftest.$ac_ext <<_ACEOF
23290 /* confdefs.h. */
23291 _ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295
23296 #undef HAVE_STDLIB_H
23297 #include <stdio.h>
23298 #include <jpeglib.h>
23299
23300 int
23301 main ()
23302 {
23303
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23311 (eval $ac_compile) 2>conftest.er1
23312 ac_status=$?
23313 grep -v '^ *+' conftest.er1 >conftest.err
23314 rm -f conftest.er1
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } &&
23318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23320 (eval $ac_try) 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; } &&
23324 { ac_try='test -s conftest.$ac_objext'
23325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326 (eval $ac_try) 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; }; then
23330 ac_cv_header_jpeglib_h=yes
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335 ac_cv_header_jpeglib_h=no
23336
23337 fi
23338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23339
23340 fi
23341
23342 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23343 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23344
23345 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23346 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23347 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23348 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 else
23351 ac_check_lib_save_LIBS=$LIBS
23352 LIBS="-ljpeg $LIBS"
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359
23360 /* Override any gcc2 internal prototype to avoid an error. */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 /* We use char because int might match the return type of a gcc2
23365 builtin and then its argument prototype would still apply. */
23366 char jpeg_read_header ();
23367 int
23368 main ()
23369 {
23370 jpeg_read_header ();
23371 ;
23372 return 0;
23373 }
23374 _ACEOF
23375 rm -f conftest.$ac_objext conftest$ac_exeext
23376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23377 (eval $ac_link) 2>conftest.er1
23378 ac_status=$?
23379 grep -v '^ *+' conftest.er1 >conftest.err
23380 rm -f conftest.er1
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23387 ac_status=$?
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try='test -s conftest$ac_exeext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23396 ac_cv_lib_jpeg_jpeg_read_header=yes
23397 else
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23400
23401 ac_cv_lib_jpeg_jpeg_read_header=no
23402 fi
23403 rm -f conftest.err conftest.$ac_objext \
23404 conftest$ac_exeext conftest.$ac_ext
23405 LIBS=$ac_check_lib_save_LIBS
23406 fi
23407 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23408 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23409 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23410 JPEG_LINK=" -ljpeg"
23411 fi
23412
23413 fi
23414
23415 if test "x$JPEG_LINK" = "x" ; then
23416 if test "$wxUSE_LIBJPEG" = "sys" ; then
23417 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23418 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23419 { (exit 1); exit 1; }; }
23420 else
23421 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23422 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23423 wxUSE_LIBJPEG=builtin
23424 fi
23425 else
23426 wxUSE_LIBJPEG=sys
23427 fi
23428 fi
23429 fi
23430 fi
23431
23432
23433 TIFF_LINK=
23434 TIFF_PREREQ_LINKS=-lm
23435 if test "$wxUSE_LIBTIFF" != "no" ; then
23436 cat >>confdefs.h <<\_ACEOF
23437 #define wxUSE_LIBTIFF 1
23438 _ACEOF
23439
23440
23441 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23442 if test "$wxUSE_LIBJPEG" = "sys"; then
23443 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23444 fi
23445 if test "$wxUSE_ZLIB" = "sys"; then
23446 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23447 fi
23448 if test "${ac_cv_header_tiffio_h+set}" = set; then
23449 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23450 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23451 if test "${ac_cv_header_tiffio_h+set}" = set; then
23452 echo $ECHO_N "(cached) $ECHO_C" >&6
23453 fi
23454 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23455 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23456 else
23457 # Is the header compilable?
23458 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23459 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 $ac_includes_default
23467 #include <tiffio.h>
23468 _ACEOF
23469 rm -f conftest.$ac_objext
23470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23471 (eval $ac_compile) 2>conftest.er1
23472 ac_status=$?
23473 grep -v '^ *+' conftest.er1 >conftest.err
23474 rm -f conftest.er1
23475 cat conftest.err >&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); } &&
23478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23480 (eval $ac_try) 2>&5
23481 ac_status=$?
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; } &&
23484 { ac_try='test -s conftest.$ac_objext'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23487 ac_status=$?
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; }; then
23490 ac_header_compiler=yes
23491 else
23492 echo "$as_me: failed program was:" >&5
23493 sed 's/^/| /' conftest.$ac_ext >&5
23494
23495 ac_header_compiler=no
23496 fi
23497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23499 echo "${ECHO_T}$ac_header_compiler" >&6
23500
23501 # Is the header present?
23502 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23503 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23504 cat >conftest.$ac_ext <<_ACEOF
23505 /* confdefs.h. */
23506 _ACEOF
23507 cat confdefs.h >>conftest.$ac_ext
23508 cat >>conftest.$ac_ext <<_ACEOF
23509 /* end confdefs.h. */
23510 #include <tiffio.h>
23511 _ACEOF
23512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23514 ac_status=$?
23515 grep -v '^ *+' conftest.er1 >conftest.err
23516 rm -f conftest.er1
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } >/dev/null; then
23520 if test -s conftest.err; then
23521 ac_cpp_err=$ac_c_preproc_warn_flag
23522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23523 else
23524 ac_cpp_err=
23525 fi
23526 else
23527 ac_cpp_err=yes
23528 fi
23529 if test -z "$ac_cpp_err"; then
23530 ac_header_preproc=yes
23531 else
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.$ac_ext >&5
23534
23535 ac_header_preproc=no
23536 fi
23537 rm -f conftest.err conftest.$ac_ext
23538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23539 echo "${ECHO_T}$ac_header_preproc" >&6
23540
23541 # So? What about this header?
23542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23543 yes:no: )
23544 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23545 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23546 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23547 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23548 ac_header_preproc=yes
23549 ;;
23550 no:yes:* )
23551 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23552 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23553 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23554 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23555 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23556 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23557 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23558 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23559 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23560 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23562 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23563 (
23564 cat <<\_ASBOX
23565 ## ----------------------------------------- ##
23566 ## Report this to wx-dev@lists.wxwidgets.org ##
23567 ## ----------------------------------------- ##
23568 _ASBOX
23569 ) |
23570 sed "s/^/$as_me: WARNING: /" >&2
23571 ;;
23572 esac
23573 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23574 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23575 if test "${ac_cv_header_tiffio_h+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23577 else
23578 ac_cv_header_tiffio_h=$ac_header_preproc
23579 fi
23580 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23581 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23582
23583 fi
23584 if test $ac_cv_header_tiffio_h = yes; then
23585
23586 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23587 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23588 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591 ac_check_lib_save_LIBS=$LIBS
23592 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23593 cat >conftest.$ac_ext <<_ACEOF
23594 /* confdefs.h. */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599
23600 /* Override any gcc2 internal prototype to avoid an error. */
23601 #ifdef __cplusplus
23602 extern "C"
23603 #endif
23604 /* We use char because int might match the return type of a gcc2
23605 builtin and then its argument prototype would still apply. */
23606 char TIFFError ();
23607 int
23608 main ()
23609 {
23610 TIFFError ();
23611 ;
23612 return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext conftest$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617 (eval $ac_link) 2>conftest.er1
23618 ac_status=$?
23619 grep -v '^ *+' conftest.er1 >conftest.err
23620 rm -f conftest.er1
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } &&
23624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626 (eval $ac_try) 2>&5
23627 ac_status=$?
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); }; } &&
23630 { ac_try='test -s conftest$ac_exeext'
23631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632 (eval $ac_try) 2>&5
23633 ac_status=$?
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); }; }; then
23636 ac_cv_lib_tiff_TIFFError=yes
23637 else
23638 echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23640
23641 ac_cv_lib_tiff_TIFFError=no
23642 fi
23643 rm -f conftest.err conftest.$ac_objext \
23644 conftest$ac_exeext conftest.$ac_ext
23645 LIBS=$ac_check_lib_save_LIBS
23646 fi
23647 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23648 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23649 if test $ac_cv_lib_tiff_TIFFError = yes; then
23650 TIFF_LINK=" -ltiff"
23651 fi
23652
23653
23654
23655 fi
23656
23657
23658
23659 if test "x$TIFF_LINK" = "x" ; then
23660 if test "$wxUSE_LIBTIFF" = "sys" ; then
23661 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23662 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23663 { (exit 1); exit 1; }; }
23664 else
23665 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23666 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23667 wxUSE_LIBTIFF=builtin
23668 fi
23669 else
23670 wxUSE_LIBTIFF=sys
23671 fi
23672 fi
23673 fi
23674
23675
23676 if test "$wxUSE_WCHAR_T" != "yes"; then
23677 if test "$wxUSE_EXPAT" != "no"; then
23678 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23679 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23680 wxUSE_EXPAT=no
23681 fi
23682 if test "$wxUSE_XML" != "no"; then
23683 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23684 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23685 wxUSE_XML=no
23686 fi
23687 fi
23688
23689 if test "$wxUSE_EXPAT" != "no"; then
23690 wxUSE_XML=yes
23691 cat >>confdefs.h <<\_ACEOF
23692 #define wxUSE_EXPAT 1
23693 _ACEOF
23694
23695 cat >>confdefs.h <<\_ACEOF
23696 #define wxUSE_XML 1
23697 _ACEOF
23698
23699
23700 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23701 if test "${ac_cv_header_expat_h+set}" = set; then
23702 echo "$as_me:$LINENO: checking for expat.h" >&5
23703 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23704 if test "${ac_cv_header_expat_h+set}" = set; then
23705 echo $ECHO_N "(cached) $ECHO_C" >&6
23706 fi
23707 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23708 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23709 else
23710 # Is the header compilable?
23711 echo "$as_me:$LINENO: checking expat.h usability" >&5
23712 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23713 cat >conftest.$ac_ext <<_ACEOF
23714 /* confdefs.h. */
23715 _ACEOF
23716 cat confdefs.h >>conftest.$ac_ext
23717 cat >>conftest.$ac_ext <<_ACEOF
23718 /* end confdefs.h. */
23719 $ac_includes_default
23720 #include <expat.h>
23721 _ACEOF
23722 rm -f conftest.$ac_objext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23724 (eval $ac_compile) 2>conftest.er1
23725 ac_status=$?
23726 grep -v '^ *+' conftest.er1 >conftest.err
23727 rm -f conftest.er1
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23734 ac_status=$?
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try='test -s conftest.$ac_objext'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_header_compiler=yes
23744 else
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ac_header_compiler=no
23749 fi
23750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23752 echo "${ECHO_T}$ac_header_compiler" >&6
23753
23754 # Is the header present?
23755 echo "$as_me:$LINENO: checking expat.h presence" >&5
23756 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 #include <expat.h>
23764 _ACEOF
23765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23767 ac_status=$?
23768 grep -v '^ *+' conftest.er1 >conftest.err
23769 rm -f conftest.er1
23770 cat conftest.err >&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } >/dev/null; then
23773 if test -s conftest.err; then
23774 ac_cpp_err=$ac_c_preproc_warn_flag
23775 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23776 else
23777 ac_cpp_err=
23778 fi
23779 else
23780 ac_cpp_err=yes
23781 fi
23782 if test -z "$ac_cpp_err"; then
23783 ac_header_preproc=yes
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788 ac_header_preproc=no
23789 fi
23790 rm -f conftest.err conftest.$ac_ext
23791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23792 echo "${ECHO_T}$ac_header_preproc" >&6
23793
23794 # So? What about this header?
23795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23796 yes:no: )
23797 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23798 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23799 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23800 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23801 ac_header_preproc=yes
23802 ;;
23803 no:yes:* )
23804 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23805 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23806 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23807 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23808 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23809 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23810 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23811 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23812 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23813 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23814 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23815 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23816 (
23817 cat <<\_ASBOX
23818 ## ----------------------------------------- ##
23819 ## Report this to wx-dev@lists.wxwidgets.org ##
23820 ## ----------------------------------------- ##
23821 _ASBOX
23822 ) |
23823 sed "s/^/$as_me: WARNING: /" >&2
23824 ;;
23825 esac
23826 echo "$as_me:$LINENO: checking for expat.h" >&5
23827 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23828 if test "${ac_cv_header_expat_h+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 else
23831 ac_cv_header_expat_h=$ac_header_preproc
23832 fi
23833 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23834 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23835
23836 fi
23837 if test $ac_cv_header_expat_h = yes; then
23838 found_expat_h=1
23839 fi
23840
23841
23842 if test "x$found_expat_h" = "x1"; then
23843 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23844 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23845 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 else
23848
23849
23850
23851 ac_ext=cc
23852 ac_cpp='$CXXCPP $CPPFLAGS'
23853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23856
23857 cat >conftest.$ac_ext <<_ACEOF
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863 #include <expat.h>
23864 int
23865 main ()
23866 {
23867
23868 ;
23869 return 0;
23870 }
23871 _ACEOF
23872 rm -f conftest.$ac_objext
23873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23874 (eval $ac_compile) 2>conftest.er1
23875 ac_status=$?
23876 grep -v '^ *+' conftest.er1 >conftest.err
23877 rm -f conftest.er1
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } &&
23881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest.$ac_objext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 wx_cv_expat_is_not_broken=yes
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23897
23898 wx_cv_expat_is_not_broken=no
23899
23900 fi
23901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23902 ac_ext=c
23903 ac_cpp='$CPP $CPPFLAGS'
23904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907
23908
23909
23910 fi
23911 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23912 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23913 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23914 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23915 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23916 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 else
23919 ac_check_lib_save_LIBS=$LIBS
23920 LIBS="-lexpat $LIBS"
23921 cat >conftest.$ac_ext <<_ACEOF
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927
23928 /* Override any gcc2 internal prototype to avoid an error. */
23929 #ifdef __cplusplus
23930 extern "C"
23931 #endif
23932 /* We use char because int might match the return type of a gcc2
23933 builtin and then its argument prototype would still apply. */
23934 char XML_ParserCreate ();
23935 int
23936 main ()
23937 {
23938 XML_ParserCreate ();
23939 ;
23940 return 0;
23941 }
23942 _ACEOF
23943 rm -f conftest.$ac_objext conftest$ac_exeext
23944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23945 (eval $ac_link) 2>conftest.er1
23946 ac_status=$?
23947 grep -v '^ *+' conftest.er1 >conftest.err
23948 rm -f conftest.er1
23949 cat conftest.err >&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } &&
23952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23955 ac_status=$?
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; } &&
23958 { ac_try='test -s conftest$ac_exeext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23961 ac_status=$?
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964 ac_cv_lib_expat_XML_ParserCreate=yes
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23968
23969 ac_cv_lib_expat_XML_ParserCreate=no
23970 fi
23971 rm -f conftest.err conftest.$ac_objext \
23972 conftest$ac_exeext conftest.$ac_ext
23973 LIBS=$ac_check_lib_save_LIBS
23974 fi
23975 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23976 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23977 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23978 EXPAT_LINK=" -lexpat"
23979 fi
23980
23981 fi
23982 fi
23983 if test "x$EXPAT_LINK" = "x" ; then
23984 if test "$wxUSE_EXPAT" = "sys" ; then
23985 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23986 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23987 { (exit 1); exit 1; }; }
23988 else
23989 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23990 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23991 wxUSE_EXPAT=builtin
23992 fi
23993 else
23994 wxUSE_EXPAT=sys
23995 fi
23996 fi
23997 if test "$wxUSE_EXPAT" = "builtin" ; then
23998
23999
24000 subdirs="$subdirs src/expat"
24001
24002 fi
24003 fi
24004
24005
24006
24007 if test "$wxUSE_LIBMSPACK" != "no"; then
24008 if test "${ac_cv_header_mspack_h+set}" = set; then
24009 echo "$as_me:$LINENO: checking for mspack.h" >&5
24010 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24011 if test "${ac_cv_header_mspack_h+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 fi
24014 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24015 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24016 else
24017 # Is the header compilable?
24018 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24019 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24020 cat >conftest.$ac_ext <<_ACEOF
24021 /* confdefs.h. */
24022 _ACEOF
24023 cat confdefs.h >>conftest.$ac_ext
24024 cat >>conftest.$ac_ext <<_ACEOF
24025 /* end confdefs.h. */
24026 $ac_includes_default
24027 #include <mspack.h>
24028 _ACEOF
24029 rm -f conftest.$ac_objext
24030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24031 (eval $ac_compile) 2>conftest.er1
24032 ac_status=$?
24033 grep -v '^ *+' conftest.er1 >conftest.err
24034 rm -f conftest.er1
24035 cat conftest.err >&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); } &&
24038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; } &&
24044 { ac_try='test -s conftest.$ac_objext'
24045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24046 (eval $ac_try) 2>&5
24047 ac_status=$?
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); }; }; then
24050 ac_header_compiler=yes
24051 else
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.$ac_ext >&5
24054
24055 ac_header_compiler=no
24056 fi
24057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24059 echo "${ECHO_T}$ac_header_compiler" >&6
24060
24061 # Is the header present?
24062 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24063 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24064 cat >conftest.$ac_ext <<_ACEOF
24065 /* confdefs.h. */
24066 _ACEOF
24067 cat confdefs.h >>conftest.$ac_ext
24068 cat >>conftest.$ac_ext <<_ACEOF
24069 /* end confdefs.h. */
24070 #include <mspack.h>
24071 _ACEOF
24072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24074 ac_status=$?
24075 grep -v '^ *+' conftest.er1 >conftest.err
24076 rm -f conftest.er1
24077 cat conftest.err >&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); } >/dev/null; then
24080 if test -s conftest.err; then
24081 ac_cpp_err=$ac_c_preproc_warn_flag
24082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24083 else
24084 ac_cpp_err=
24085 fi
24086 else
24087 ac_cpp_err=yes
24088 fi
24089 if test -z "$ac_cpp_err"; then
24090 ac_header_preproc=yes
24091 else
24092 echo "$as_me: failed program was:" >&5
24093 sed 's/^/| /' conftest.$ac_ext >&5
24094
24095 ac_header_preproc=no
24096 fi
24097 rm -f conftest.err conftest.$ac_ext
24098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24099 echo "${ECHO_T}$ac_header_preproc" >&6
24100
24101 # So? What about this header?
24102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24103 yes:no: )
24104 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24105 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24106 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24107 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24108 ac_header_preproc=yes
24109 ;;
24110 no:yes:* )
24111 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24112 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24113 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24114 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24115 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24116 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24117 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24118 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24119 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24120 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24122 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24123 (
24124 cat <<\_ASBOX
24125 ## ----------------------------------------- ##
24126 ## Report this to wx-dev@lists.wxwidgets.org ##
24127 ## ----------------------------------------- ##
24128 _ASBOX
24129 ) |
24130 sed "s/^/$as_me: WARNING: /" >&2
24131 ;;
24132 esac
24133 echo "$as_me:$LINENO: checking for mspack.h" >&5
24134 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24135 if test "${ac_cv_header_mspack_h+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138 ac_cv_header_mspack_h=$ac_header_preproc
24139 fi
24140 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24141 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24142
24143 fi
24144 if test $ac_cv_header_mspack_h = yes; then
24145 found_mspack_h=1
24146 fi
24147
24148
24149 if test "x$found_mspack_h" = "x1"; then
24150 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24151 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24152 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 else
24155 ac_check_lib_save_LIBS=$LIBS
24156 LIBS="-lmspack $LIBS"
24157 cat >conftest.$ac_ext <<_ACEOF
24158 /* confdefs.h. */
24159 _ACEOF
24160 cat confdefs.h >>conftest.$ac_ext
24161 cat >>conftest.$ac_ext <<_ACEOF
24162 /* end confdefs.h. */
24163
24164 /* Override any gcc2 internal prototype to avoid an error. */
24165 #ifdef __cplusplus
24166 extern "C"
24167 #endif
24168 /* We use char because int might match the return type of a gcc2
24169 builtin and then its argument prototype would still apply. */
24170 char mspack_create_chm_decompressor ();
24171 int
24172 main ()
24173 {
24174 mspack_create_chm_decompressor ();
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 rm -f conftest.$ac_objext conftest$ac_exeext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24181 (eval $ac_link) 2>conftest.er1
24182 ac_status=$?
24183 grep -v '^ *+' conftest.er1 >conftest.err
24184 rm -f conftest.er1
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } &&
24188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; } &&
24194 { ac_try='test -s conftest$ac_exeext'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; }; then
24200 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24201 else
24202 echo "$as_me: failed program was:" >&5
24203 sed 's/^/| /' conftest.$ac_ext >&5
24204
24205 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24206 fi
24207 rm -f conftest.err conftest.$ac_objext \
24208 conftest$ac_exeext conftest.$ac_ext
24209 LIBS=$ac_check_lib_save_LIBS
24210 fi
24211 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24212 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24213 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24214 MSPACK_LINK=" -lmspack"
24215 fi
24216
24217 fi
24218 if test "x$MSPACK_LINK" = "x" ; then
24219 wxUSE_LIBMSPACK=no
24220 fi
24221 fi
24222
24223 if test "$wxUSE_LIBMSPACK" != "no"; then
24224 cat >>confdefs.h <<\_ACEOF
24225 #define wxUSE_LIBMSPACK 1
24226 _ACEOF
24227
24228 fi
24229
24230
24231
24232 AFMINSTALL=
24233 WIN32INSTALL=
24234
24235 TOOLKIT=
24236 TOOLKIT_INCLUDE=
24237 WIDGET_SET=
24238
24239 if test "$USE_WIN32" = 1 ; then
24240
24241 for ac_header in w32api.h
24242 do
24243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24245 echo "$as_me:$LINENO: checking for $ac_header" >&5
24246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 fi
24250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24252 else
24253 # Is the header compilable?
24254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24256 cat >conftest.$ac_ext <<_ACEOF
24257 /* confdefs.h. */
24258 _ACEOF
24259 cat confdefs.h >>conftest.$ac_ext
24260 cat >>conftest.$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24262 $ac_includes_default
24263 #include <$ac_header>
24264 _ACEOF
24265 rm -f conftest.$ac_objext
24266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24267 (eval $ac_compile) 2>conftest.er1
24268 ac_status=$?
24269 grep -v '^ *+' conftest.er1 >conftest.err
24270 rm -f conftest.er1
24271 cat conftest.err >&5
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); } &&
24274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24276 (eval $ac_try) 2>&5
24277 ac_status=$?
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); }; } &&
24280 { ac_try='test -s conftest.$ac_objext'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; }; then
24286 ac_header_compiler=yes
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 ac_header_compiler=no
24292 fi
24293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24295 echo "${ECHO_T}$ac_header_compiler" >&6
24296
24297 # Is the header present?
24298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h. */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24306 #include <$ac_header>
24307 _ACEOF
24308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } >/dev/null; then
24316 if test -s conftest.err; then
24317 ac_cpp_err=$ac_c_preproc_warn_flag
24318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24319 else
24320 ac_cpp_err=
24321 fi
24322 else
24323 ac_cpp_err=yes
24324 fi
24325 if test -z "$ac_cpp_err"; then
24326 ac_header_preproc=yes
24327 else
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 ac_header_preproc=no
24332 fi
24333 rm -f conftest.err conftest.$ac_ext
24334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24335 echo "${ECHO_T}$ac_header_preproc" >&6
24336
24337 # So? What about this header?
24338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24339 yes:no: )
24340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24344 ac_header_preproc=yes
24345 ;;
24346 no:yes:* )
24347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24359 (
24360 cat <<\_ASBOX
24361 ## ----------------------------------------- ##
24362 ## Report this to wx-dev@lists.wxwidgets.org ##
24363 ## ----------------------------------------- ##
24364 _ASBOX
24365 ) |
24366 sed "s/^/$as_me: WARNING: /" >&2
24367 ;;
24368 esac
24369 echo "$as_me:$LINENO: checking for $ac_header" >&5
24370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24373 else
24374 eval "$as_ac_Header=\$ac_header_preproc"
24375 fi
24376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24378
24379 fi
24380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24381 cat >>confdefs.h <<_ACEOF
24382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24383 _ACEOF
24384
24385 fi
24386
24387 done
24388
24389 if test "${ac_cv_header_windows_h+set}" = set; then
24390 echo "$as_me:$LINENO: checking for windows.h" >&5
24391 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24392 if test "${ac_cv_header_windows_h+set}" = set; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 fi
24395 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24396 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24397 else
24398 # Is the header compilable?
24399 echo "$as_me:$LINENO: checking windows.h usability" >&5
24400 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24401 cat >conftest.$ac_ext <<_ACEOF
24402 /* confdefs.h. */
24403 _ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 $ac_includes_default
24408 #include <windows.h>
24409 _ACEOF
24410 rm -f conftest.$ac_objext
24411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24412 (eval $ac_compile) 2>conftest.er1
24413 ac_status=$?
24414 grep -v '^ *+' conftest.er1 >conftest.err
24415 rm -f conftest.er1
24416 cat conftest.err >&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } &&
24419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24421 (eval $ac_try) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); }; } &&
24425 { ac_try='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 ac_header_compiler=yes
24432 else
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 ac_header_compiler=no
24437 fi
24438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24440 echo "${ECHO_T}$ac_header_compiler" >&6
24441
24442 # Is the header present?
24443 echo "$as_me:$LINENO: checking windows.h presence" >&5
24444 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24445 cat >conftest.$ac_ext <<_ACEOF
24446 /* confdefs.h. */
24447 _ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451 #include <windows.h>
24452 _ACEOF
24453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24455 ac_status=$?
24456 grep -v '^ *+' conftest.er1 >conftest.err
24457 rm -f conftest.er1
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } >/dev/null; then
24461 if test -s conftest.err; then
24462 ac_cpp_err=$ac_c_preproc_warn_flag
24463 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24464 else
24465 ac_cpp_err=
24466 fi
24467 else
24468 ac_cpp_err=yes
24469 fi
24470 if test -z "$ac_cpp_err"; then
24471 ac_header_preproc=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ac_header_preproc=no
24477 fi
24478 rm -f conftest.err conftest.$ac_ext
24479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24480 echo "${ECHO_T}$ac_header_preproc" >&6
24481
24482 # So? What about this header?
24483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24484 yes:no: )
24485 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24486 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24487 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24488 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24489 ac_header_preproc=yes
24490 ;;
24491 no:yes:* )
24492 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24493 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24494 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24495 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24496 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24497 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24498 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24499 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24500 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24501 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24502 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24503 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24504 (
24505 cat <<\_ASBOX
24506 ## ----------------------------------------- ##
24507 ## Report this to wx-dev@lists.wxwidgets.org ##
24508 ## ----------------------------------------- ##
24509 _ASBOX
24510 ) |
24511 sed "s/^/$as_me: WARNING: /" >&2
24512 ;;
24513 esac
24514 echo "$as_me:$LINENO: checking for windows.h" >&5
24515 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24516 if test "${ac_cv_header_windows_h+set}" = set; then
24517 echo $ECHO_N "(cached) $ECHO_C" >&6
24518 else
24519 ac_cv_header_windows_h=$ac_header_preproc
24520 fi
24521 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24522 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24523
24524 fi
24525 if test $ac_cv_header_windows_h = yes; then
24526 :
24527 else
24528
24529 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24530 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24531 { (exit 1); exit 1; }; }
24532
24533 fi
24534
24535
24536
24537 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24538
24539 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24540 LIBS="$LIBS -loleacc"
24541 fi
24542
24543 case "${host}" in
24544 *-*-cygwin* )
24545 LIBS="$LIBS -lkernel32 -luser32"
24546 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24547 esac
24548
24549 if test "$wxUSE_ODBC" = "sys" ; then
24550 wxUSE_ODBC = "yes"
24551 fi
24552 if test "$wxUSE_ODBC" = "yes" ; then
24553 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24554 cat >>confdefs.h <<\_ACEOF
24555 #define wxUSE_ODBC 1
24556 _ACEOF
24557
24558 fi
24559
24560 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24561 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24562
24563 WIN32INSTALL=win32install
24564 fi
24565
24566 if test "$wxUSE_GUI" = "yes"; then
24567 USE_GUI=1
24568
24569 GUI_TK_LIBRARY=
24570
24571 WXGTK12=
24572 WXGTK127=
24573 WXGTK20=
24574 WXGPE=
24575
24576 if test "$wxUSE_COCOA" = 1 ; then
24577 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24578 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24579 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24580 wxUSE_PRINTING_ARCHITECTURE=no
24581 fi
24582 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24583 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24584 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24585 wxUSE_DRAG_AND_DROP=no
24586 fi
24587 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24588 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24589 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24590 wxUSE_DRAGIMAGE=no
24591 fi
24592 fi
24593
24594 if test "$wxUSE_MSW" = 1 ; then
24595 TOOLKIT=MSW
24596 GUIDIST=MSW_DIST
24597
24598 case "${host}" in
24599 *-*-mingw32* )
24600 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24601 esac
24602 fi
24603
24604 if test "$wxUSE_GTK" = 1; then
24605 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24606 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24607
24608 gtk_version_cached=1
24609 if test "${wx_cv_lib_gtk+set}" = set; then
24610 echo $ECHO_N "(cached) $ECHO_C" >&6
24611 else
24612
24613 gtk_version_cached=0
24614 echo "$as_me:$LINENO: result: " >&5
24615 echo "${ECHO_T}" >&6
24616
24617 GTK_MODULES=
24618 if test "$wxUSE_THREADS" = "yes"; then
24619 GTK_MODULES=gthread
24620 fi
24621
24622 wx_cv_lib_gtk=
24623 if test "x$wxGTK_VERSION" != "x1"; then
24624 # Check whether --enable-gtktest or --disable-gtktest was given.
24625 if test "${enable_gtktest+set}" = set; then
24626 enableval="$enable_gtktest"
24627
24628 else
24629 enable_gtktest=yes
24630 fi;
24631
24632 pkg_config_args=gtk+-2.0
24633 for module in . $GTK_MODULES
24634 do
24635 case "$module" in
24636 gthread)
24637 pkg_config_args="$pkg_config_args gthread-2.0"
24638 ;;
24639 esac
24640 done
24641
24642 no_gtk=""
24643
24644 # Extract the first word of "pkg-config", so it can be a program name with args.
24645 set dummy pkg-config; ac_word=$2
24646 echo "$as_me:$LINENO: checking for $ac_word" >&5
24647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24650 else
24651 case $PKG_CONFIG in
24652 [\\/]* | ?:[\\/]*)
24653 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24654 ;;
24655 *)
24656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24657 for as_dir in $PATH
24658 do
24659 IFS=$as_save_IFS
24660 test -z "$as_dir" && as_dir=.
24661 for ac_exec_ext in '' $ac_executable_extensions; do
24662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24663 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24665 break 2
24666 fi
24667 done
24668 done
24669
24670 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24671 ;;
24672 esac
24673 fi
24674 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24675
24676 if test -n "$PKG_CONFIG"; then
24677 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24678 echo "${ECHO_T}$PKG_CONFIG" >&6
24679 else
24680 echo "$as_me:$LINENO: result: no" >&5
24681 echo "${ECHO_T}no" >&6
24682 fi
24683
24684
24685 if test x$PKG_CONFIG != xno ; then
24686 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24687 :
24688 else
24689 echo "*** pkg-config too old; version 0.7 or better required."
24690 no_gtk=yes
24691 PKG_CONFIG=no
24692 fi
24693 else
24694 no_gtk=yes
24695 fi
24696
24697 min_gtk_version=2.0.0
24698 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24699 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24700
24701 if test x$PKG_CONFIG != xno ; then
24702 ## don't try to run the test against uninstalled libtool libs
24703 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24704 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24705 enable_gtktest=no
24706 fi
24707
24708 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24709 :
24710 else
24711 no_gtk=yes
24712 fi
24713 fi
24714
24715 if test x"$no_gtk" = x ; then
24716 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24717 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24718 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24720 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24722 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24724 if test "x$enable_gtktest" = "xyes" ; then
24725 ac_save_CFLAGS="$CFLAGS"
24726 ac_save_LIBS="$LIBS"
24727 CFLAGS="$CFLAGS $GTK_CFLAGS"
24728 LIBS="$GTK_LIBS $LIBS"
24729 rm -f conf.gtktest
24730 if test "$cross_compiling" = yes; then
24731 echo $ac_n "cross compiling; assumed OK... $ac_c"
24732 else
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739
24740 #include <gtk/gtk.h>
24741 #include <stdio.h>
24742 #include <stdlib.h>
24743
24744 int
24745 main ()
24746 {
24747 int major, minor, micro;
24748 char *tmp_version;
24749
24750 system ("touch conf.gtktest");
24751
24752 /* HP/UX 9 (%@#!) writes to sscanf strings */
24753 tmp_version = g_strdup("$min_gtk_version");
24754 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24755 printf("%s, bad version string\n", "$min_gtk_version");
24756 exit(1);
24757 }
24758
24759 if ((gtk_major_version != $gtk_config_major_version) ||
24760 (gtk_minor_version != $gtk_config_minor_version) ||
24761 (gtk_micro_version != $gtk_config_micro_version))
24762 {
24763 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24764 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24765 gtk_major_version, gtk_minor_version, gtk_micro_version);
24766 printf ("*** was found! If pkg-config was correct, then it is best\n");
24767 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24768 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24769 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24770 printf("*** required on your system.\n");
24771 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24772 printf("*** to point to the correct configuration files\n");
24773 }
24774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24775 (gtk_minor_version != GTK_MINOR_VERSION) ||
24776 (gtk_micro_version != GTK_MICRO_VERSION))
24777 {
24778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24780 printf("*** library (version %d.%d.%d)\n",
24781 gtk_major_version, gtk_minor_version, gtk_micro_version);
24782 }
24783 else
24784 {
24785 if ((gtk_major_version > major) ||
24786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24788 {
24789 return 0;
24790 }
24791 else
24792 {
24793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24794 gtk_major_version, gtk_minor_version, gtk_micro_version);
24795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24796 major, minor, micro);
24797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24798 printf("***\n");
24799 printf("*** If you have already installed a sufficiently new version, this error\n");
24800 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24802 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24803 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24805 printf("*** so that the correct libraries are found at run-time))\n");
24806 }
24807 }
24808 return 1;
24809 }
24810
24811 _ACEOF
24812 rm -f conftest$ac_exeext
24813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24814 (eval $ac_link) 2>&5
24815 ac_status=$?
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24820 ac_status=$?
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; }; then
24823 :
24824 else
24825 echo "$as_me: program exited with status $ac_status" >&5
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 ( exit $ac_status )
24830 no_gtk=yes
24831 fi
24832 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24833 fi
24834 CFLAGS="$ac_save_CFLAGS"
24835 LIBS="$ac_save_LIBS"
24836 fi
24837 fi
24838 if test "x$no_gtk" = x ; then
24839 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24840 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24841 wx_cv_lib_gtk=2.0
24842 else
24843 echo "$as_me:$LINENO: result: no" >&5
24844 echo "${ECHO_T}no" >&6
24845 if test "$PKG_CONFIG" = "no" ; then
24846 echo "*** A new enough version of pkg-config was not found."
24847 echo "*** See http://pkgconfig.sourceforge.net"
24848 else
24849 if test -f conf.gtktest ; then
24850 :
24851 else
24852 echo "*** Could not run GTK+ test program, checking why..."
24853 ac_save_CFLAGS="$CFLAGS"
24854 ac_save_LIBS="$LIBS"
24855 CFLAGS="$CFLAGS $GTK_CFLAGS"
24856 LIBS="$LIBS $GTK_LIBS"
24857 cat >conftest.$ac_ext <<_ACEOF
24858 /* confdefs.h. */
24859 _ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863
24864 #include <gtk/gtk.h>
24865 #include <stdio.h>
24866
24867 int
24868 main ()
24869 {
24870 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24871 ;
24872 return 0;
24873 }
24874 _ACEOF
24875 rm -f conftest.$ac_objext conftest$ac_exeext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24877 (eval $ac_link) 2>conftest.er1
24878 ac_status=$?
24879 grep -v '^ *+' conftest.er1 >conftest.err
24880 rm -f conftest.er1
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24886 (eval $ac_try) 2>&5
24887 ac_status=$?
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); }; } &&
24890 { ac_try='test -s conftest$ac_exeext'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; }; then
24896 echo "*** The test program compiled, but did not run. This usually means"
24897 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24898 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24899 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24900 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24901 echo "*** is required on your system"
24902 echo "***"
24903 echo "*** If you have an old version installed, it is best to remove it, although"
24904 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24905 else
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24908
24909 echo "*** The test program failed to compile or link. See the file config.log for the"
24910 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24911 fi
24912 rm -f conftest.err conftest.$ac_objext \
24913 conftest$ac_exeext conftest.$ac_ext
24914 CFLAGS="$ac_save_CFLAGS"
24915 LIBS="$ac_save_LIBS"
24916 fi
24917 fi
24918 GTK_CFLAGS=""
24919 GTK_LIBS=""
24920 :
24921 fi
24922
24923
24924 rm -f conf.gtktest
24925
24926 fi
24927
24928 if test -z "$wx_cv_lib_gtk"; then
24929 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24930
24931 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24932 if test "${with_gtk_prefix+set}" = set; then
24933 withval="$with_gtk_prefix"
24934 gtk_config_prefix="$withval"
24935 else
24936 gtk_config_prefix=""
24937 fi;
24938
24939 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24940 if test "${with_gtk_exec_prefix+set}" = set; then
24941 withval="$with_gtk_exec_prefix"
24942 gtk_config_exec_prefix="$withval"
24943 else
24944 gtk_config_exec_prefix=""
24945 fi;
24946 # Check whether --enable-gtktest or --disable-gtktest was given.
24947 if test "${enable_gtktest+set}" = set; then
24948 enableval="$enable_gtktest"
24949
24950 else
24951 enable_gtktest=yes
24952 fi;
24953
24954 for module in . $GTK_MODULES
24955 do
24956 case "$module" in
24957 gthread)
24958 gtk_config_args="$gtk_config_args gthread"
24959 ;;
24960 esac
24961 done
24962
24963 if test x$gtk_config_exec_prefix != x ; then
24964 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24965 if test x${GTK_CONFIG+set} != xset ; then
24966 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24967 fi
24968 fi
24969 if test x$gtk_config_prefix != x ; then
24970 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24971 if test x${GTK_CONFIG+set} != xset ; then
24972 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24973 fi
24974 fi
24975
24976 # Extract the first word of "gtk-config", so it can be a program name with args.
24977 set dummy gtk-config; ac_word=$2
24978 echo "$as_me:$LINENO: checking for $ac_word" >&5
24979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24980 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24981 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 else
24983 case $GTK_CONFIG in
24984 [\\/]* | ?:[\\/]*)
24985 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24986 ;;
24987 *)
24988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24989 for as_dir in $PATH
24990 do
24991 IFS=$as_save_IFS
24992 test -z "$as_dir" && as_dir=.
24993 for ac_exec_ext in '' $ac_executable_extensions; do
24994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24995 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24997 break 2
24998 fi
24999 done
25000 done
25001
25002 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25003 ;;
25004 esac
25005 fi
25006 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25007
25008 if test -n "$GTK_CONFIG"; then
25009 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25010 echo "${ECHO_T}$GTK_CONFIG" >&6
25011 else
25012 echo "$as_me:$LINENO: result: no" >&5
25013 echo "${ECHO_T}no" >&6
25014 fi
25015
25016 min_gtk_version=1.2.7
25017 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25018 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25019 no_gtk=""
25020 if test "$GTK_CONFIG" = "no" ; then
25021 no_gtk=yes
25022 else
25023 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25024 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25025 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25027 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25029 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25031 if test "x$enable_gtktest" = "xyes" ; then
25032 ac_save_CFLAGS="$CFLAGS"
25033 ac_save_LIBS="$LIBS"
25034 CFLAGS="$CFLAGS $GTK_CFLAGS"
25035 LIBS="$GTK_LIBS $LIBS"
25036 rm -f conf.gtktest
25037 if test "$cross_compiling" = yes; then
25038 echo $ac_n "cross compiling; assumed OK... $ac_c"
25039 else
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h. */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046
25047 #include <gtk/gtk.h>
25048 #include <stdio.h>
25049 #include <stdlib.h>
25050
25051 int
25052 main ()
25053 {
25054 int major, minor, micro;
25055 char *tmp_version;
25056
25057 system ("touch conf.gtktest");
25058
25059 /* HP/UX 9 (%@#!) writes to sscanf strings */
25060 tmp_version = g_strdup("$min_gtk_version");
25061 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25062 printf("%s, bad version string\n", "$min_gtk_version");
25063 exit(1);
25064 }
25065
25066 if ((gtk_major_version != $gtk_config_major_version) ||
25067 (gtk_minor_version != $gtk_config_minor_version) ||
25068 (gtk_micro_version != $gtk_config_micro_version))
25069 {
25070 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25071 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25072 gtk_major_version, gtk_minor_version, gtk_micro_version);
25073 printf ("*** was found! If gtk-config was correct, then it is best\n");
25074 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25075 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25076 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25077 printf("*** required on your system.\n");
25078 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25079 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25080 printf("*** before re-running configure\n");
25081 }
25082 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25083 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25084 (gtk_minor_version != GTK_MINOR_VERSION) ||
25085 (gtk_micro_version != GTK_MICRO_VERSION))
25086 {
25087 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25088 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25089 printf("*** library (version %d.%d.%d)\n",
25090 gtk_major_version, gtk_minor_version, gtk_micro_version);
25091 }
25092 #endif /* defined (GTK_MAJOR_VERSION) ... */
25093 else
25094 {
25095 if ((gtk_major_version > major) ||
25096 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25097 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25098 {
25099 return 0;
25100 }
25101 else
25102 {
25103 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25104 gtk_major_version, gtk_minor_version, gtk_micro_version);
25105 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25106 major, minor, micro);
25107 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25108 printf("***\n");
25109 printf("*** If you have already installed a sufficiently new version, this error\n");
25110 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25111 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25112 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25113 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25114 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25115 printf("*** so that the correct libraries are found at run-time))\n");
25116 }
25117 }
25118 return 1;
25119 }
25120
25121 _ACEOF
25122 rm -f conftest$ac_exeext
25123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25124 (eval $ac_link) 2>&5
25125 ac_status=$?
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; }; then
25133 :
25134 else
25135 echo "$as_me: program exited with status $ac_status" >&5
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25138
25139 ( exit $ac_status )
25140 no_gtk=yes
25141 fi
25142 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25143 fi
25144 CFLAGS="$ac_save_CFLAGS"
25145 LIBS="$ac_save_LIBS"
25146 fi
25147 fi
25148 if test "x$no_gtk" = x ; then
25149 echo "$as_me:$LINENO: result: yes" >&5
25150 echo "${ECHO_T}yes" >&6
25151 wx_cv_lib_gtk=1.2.7
25152 else
25153 echo "$as_me:$LINENO: result: no" >&5
25154 echo "${ECHO_T}no" >&6
25155 if test "$GTK_CONFIG" = "no" ; then
25156 echo "*** The gtk-config script installed by GTK could not be found"
25157 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25158 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25159 echo "*** full path to gtk-config."
25160 else
25161 if test -f conf.gtktest ; then
25162 :
25163 else
25164 echo "*** Could not run GTK test program, checking why..."
25165 CFLAGS="$CFLAGS $GTK_CFLAGS"
25166 LIBS="$LIBS $GTK_LIBS"
25167 cat >conftest.$ac_ext <<_ACEOF
25168 /* confdefs.h. */
25169 _ACEOF
25170 cat confdefs.h >>conftest.$ac_ext
25171 cat >>conftest.$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25173
25174 #include <gtk/gtk.h>
25175 #include <stdio.h>
25176
25177 int
25178 main ()
25179 {
25180 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25181 ;
25182 return 0;
25183 }
25184 _ACEOF
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187 (eval $ac_link) 2>conftest.er1
25188 ac_status=$?
25189 grep -v '^ *+' conftest.er1 >conftest.err
25190 rm -f conftest.er1
25191 cat conftest.err >&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25196 (eval $ac_try) 2>&5
25197 ac_status=$?
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; } &&
25200 { ac_try='test -s conftest$ac_exeext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25203 ac_status=$?
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 echo "*** The test program compiled, but did not run. This usually means"
25207 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25208 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25209 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25210 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25211 echo "*** is required on your system"
25212 echo "***"
25213 echo "*** If you have an old version installed, it is best to remove it, although"
25214 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25215 echo "***"
25216 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25217 echo "*** came with the system with the command"
25218 echo "***"
25219 echo "*** rpm --erase --nodeps gtk gtk-devel"
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25223
25224 echo "*** The test program failed to compile or link. See the file config.log for the"
25225 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25226 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25227 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25228 fi
25229 rm -f conftest.err conftest.$ac_objext \
25230 conftest$ac_exeext conftest.$ac_ext
25231 CFLAGS="$ac_save_CFLAGS"
25232 LIBS="$ac_save_LIBS"
25233 fi
25234 fi
25235 GTK_CFLAGS=""
25236 GTK_LIBS=""
25237 :
25238 fi
25239
25240
25241 rm -f conf.gtktest
25242
25243
25244 if test -z "$wx_cv_lib_gtk"; then
25245
25246 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25247 if test "${with_gtk_prefix+set}" = set; then
25248 withval="$with_gtk_prefix"
25249 gtk_config_prefix="$withval"
25250 else
25251 gtk_config_prefix=""
25252 fi;
25253
25254 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25255 if test "${with_gtk_exec_prefix+set}" = set; then
25256 withval="$with_gtk_exec_prefix"
25257 gtk_config_exec_prefix="$withval"
25258 else
25259 gtk_config_exec_prefix=""
25260 fi;
25261 # Check whether --enable-gtktest or --disable-gtktest was given.
25262 if test "${enable_gtktest+set}" = set; then
25263 enableval="$enable_gtktest"
25264
25265 else
25266 enable_gtktest=yes
25267 fi;
25268
25269 for module in . $GTK_MODULES
25270 do
25271 case "$module" in
25272 gthread)
25273 gtk_config_args="$gtk_config_args gthread"
25274 ;;
25275 esac
25276 done
25277
25278 if test x$gtk_config_exec_prefix != x ; then
25279 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25280 if test x${GTK_CONFIG+set} != xset ; then
25281 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25282 fi
25283 fi
25284 if test x$gtk_config_prefix != x ; then
25285 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25286 if test x${GTK_CONFIG+set} != xset ; then
25287 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25288 fi
25289 fi
25290
25291 # Extract the first word of "gtk-config", so it can be a program name with args.
25292 set dummy gtk-config; ac_word=$2
25293 echo "$as_me:$LINENO: checking for $ac_word" >&5
25294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25295 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 else
25298 case $GTK_CONFIG in
25299 [\\/]* | ?:[\\/]*)
25300 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25301 ;;
25302 *)
25303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25304 for as_dir in $PATH
25305 do
25306 IFS=$as_save_IFS
25307 test -z "$as_dir" && as_dir=.
25308 for ac_exec_ext in '' $ac_executable_extensions; do
25309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25310 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25312 break 2
25313 fi
25314 done
25315 done
25316
25317 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25318 ;;
25319 esac
25320 fi
25321 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25322
25323 if test -n "$GTK_CONFIG"; then
25324 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25325 echo "${ECHO_T}$GTK_CONFIG" >&6
25326 else
25327 echo "$as_me:$LINENO: result: no" >&5
25328 echo "${ECHO_T}no" >&6
25329 fi
25330
25331 min_gtk_version=1.2.3
25332 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25333 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25334 no_gtk=""
25335 if test "$GTK_CONFIG" = "no" ; then
25336 no_gtk=yes
25337 else
25338 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25339 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25340 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25341 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25342 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25344 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25346 if test "x$enable_gtktest" = "xyes" ; then
25347 ac_save_CFLAGS="$CFLAGS"
25348 ac_save_LIBS="$LIBS"
25349 CFLAGS="$CFLAGS $GTK_CFLAGS"
25350 LIBS="$GTK_LIBS $LIBS"
25351 rm -f conf.gtktest
25352 if test "$cross_compiling" = yes; then
25353 echo $ac_n "cross compiling; assumed OK... $ac_c"
25354 else
25355 cat >conftest.$ac_ext <<_ACEOF
25356 /* confdefs.h. */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25361
25362 #include <gtk/gtk.h>
25363 #include <stdio.h>
25364 #include <stdlib.h>
25365
25366 int
25367 main ()
25368 {
25369 int major, minor, micro;
25370 char *tmp_version;
25371
25372 system ("touch conf.gtktest");
25373
25374 /* HP/UX 9 (%@#!) writes to sscanf strings */
25375 tmp_version = g_strdup("$min_gtk_version");
25376 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25377 printf("%s, bad version string\n", "$min_gtk_version");
25378 exit(1);
25379 }
25380
25381 if ((gtk_major_version != $gtk_config_major_version) ||
25382 (gtk_minor_version != $gtk_config_minor_version) ||
25383 (gtk_micro_version != $gtk_config_micro_version))
25384 {
25385 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25386 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25387 gtk_major_version, gtk_minor_version, gtk_micro_version);
25388 printf ("*** was found! If gtk-config was correct, then it is best\n");
25389 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25390 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25391 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25392 printf("*** required on your system.\n");
25393 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25394 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25395 printf("*** before re-running configure\n");
25396 }
25397 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25398 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25399 (gtk_minor_version != GTK_MINOR_VERSION) ||
25400 (gtk_micro_version != GTK_MICRO_VERSION))
25401 {
25402 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25403 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25404 printf("*** library (version %d.%d.%d)\n",
25405 gtk_major_version, gtk_minor_version, gtk_micro_version);
25406 }
25407 #endif /* defined (GTK_MAJOR_VERSION) ... */
25408 else
25409 {
25410 if ((gtk_major_version > major) ||
25411 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25412 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25413 {
25414 return 0;
25415 }
25416 else
25417 {
25418 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25419 gtk_major_version, gtk_minor_version, gtk_micro_version);
25420 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25421 major, minor, micro);
25422 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25423 printf("***\n");
25424 printf("*** If you have already installed a sufficiently new version, this error\n");
25425 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25426 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25427 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25428 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25429 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25430 printf("*** so that the correct libraries are found at run-time))\n");
25431 }
25432 }
25433 return 1;
25434 }
25435
25436 _ACEOF
25437 rm -f conftest$ac_exeext
25438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25439 (eval $ac_link) 2>&5
25440 ac_status=$?
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25444 (eval $ac_try) 2>&5
25445 ac_status=$?
25446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25447 (exit $ac_status); }; }; then
25448 :
25449 else
25450 echo "$as_me: program exited with status $ac_status" >&5
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 ( exit $ac_status )
25455 no_gtk=yes
25456 fi
25457 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25458 fi
25459 CFLAGS="$ac_save_CFLAGS"
25460 LIBS="$ac_save_LIBS"
25461 fi
25462 fi
25463 if test "x$no_gtk" = x ; then
25464 echo "$as_me:$LINENO: result: yes" >&5
25465 echo "${ECHO_T}yes" >&6
25466 wx_cv_lib_gtk=1.2.3
25467 else
25468 echo "$as_me:$LINENO: result: no" >&5
25469 echo "${ECHO_T}no" >&6
25470 if test "$GTK_CONFIG" = "no" ; then
25471 echo "*** The gtk-config script installed by GTK could not be found"
25472 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25473 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25474 echo "*** full path to gtk-config."
25475 else
25476 if test -f conf.gtktest ; then
25477 :
25478 else
25479 echo "*** Could not run GTK test program, checking why..."
25480 CFLAGS="$CFLAGS $GTK_CFLAGS"
25481 LIBS="$LIBS $GTK_LIBS"
25482 cat >conftest.$ac_ext <<_ACEOF
25483 /* confdefs.h. */
25484 _ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25488
25489 #include <gtk/gtk.h>
25490 #include <stdio.h>
25491
25492 int
25493 main ()
25494 {
25495 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25496 ;
25497 return 0;
25498 }
25499 _ACEOF
25500 rm -f conftest.$ac_objext conftest$ac_exeext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25502 (eval $ac_link) 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try='test -s conftest$ac_exeext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25518 ac_status=$?
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 echo "*** The test program compiled, but did not run. This usually means"
25522 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25523 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25524 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25525 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25526 echo "*** is required on your system"
25527 echo "***"
25528 echo "*** If you have an old version installed, it is best to remove it, although"
25529 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25530 echo "***"
25531 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25532 echo "*** came with the system with the command"
25533 echo "***"
25534 echo "*** rpm --erase --nodeps gtk gtk-devel"
25535 else
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.$ac_ext >&5
25538
25539 echo "*** The test program failed to compile or link. See the file config.log for the"
25540 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25541 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25542 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25543 fi
25544 rm -f conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25546 CFLAGS="$ac_save_CFLAGS"
25547 LIBS="$ac_save_LIBS"
25548 fi
25549 fi
25550 GTK_CFLAGS=""
25551 GTK_LIBS=""
25552 :
25553 fi
25554
25555
25556 rm -f conf.gtktest
25557
25558 fi
25559 fi
25560 fi
25561
25562 if test -z "$wx_cv_lib_gtk"; then
25563 wx_cv_lib_gtk=none
25564 else
25565 wx_cv_cflags_gtk=$GTK_CFLAGS
25566 wx_cv_libs_gtk=$GTK_LIBS
25567 fi
25568
25569
25570 fi
25571
25572
25573 if test "$gtk_version_cached" = 1; then
25574 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25575 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25576 fi
25577
25578 case "$wx_cv_lib_gtk" in
25579 2.0) WXGTK20=1
25580 TOOLKIT_VERSION=2
25581 ;;
25582 1.2.7) WXGTK127=1
25583 WXGTK12=1
25584 ;;
25585 1.2.3) WXGTK12=1
25586 ;;
25587 *) { { echo "$as_me:$LINENO: error:
25588 The development files for GTK+ were not found. For GTK+ 2, please
25589 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25590 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25591 and that the version is 1.2.3 or above. Also check that the
25592 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25593 --libs' are in the LD_LIBRARY_PATH or equivalent.
25594 " >&5
25595 echo "$as_me: error:
25596 The development files for GTK+ were not found. For GTK+ 2, please
25597 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25598 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25599 and that the version is 1.2.3 or above. Also check that the
25600 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25601 --libs' are in the LD_LIBRARY_PATH or equivalent.
25602 " >&2;}
25603 { (exit 1); exit 1; }; }
25604 ;;
25605 esac
25606
25607 if test "$WXGTK20" = 1; then
25608 save_CFLAGS="$CFLAGS"
25609 save_LIBS="$LIBS"
25610 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25611 LIBS="$LIBS $wx_cv_libs_gtk"
25612
25613
25614 for ac_func in pango_font_family_is_monospace
25615 do
25616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25617 echo "$as_me:$LINENO: checking for $ac_func" >&5
25618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25619 if eval "test \"\${$as_ac_var+set}\" = set"; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 else
25622 cat >conftest.$ac_ext <<_ACEOF
25623 /* confdefs.h. */
25624 _ACEOF
25625 cat confdefs.h >>conftest.$ac_ext
25626 cat >>conftest.$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25630 #define $ac_func innocuous_$ac_func
25631
25632 /* System header to define __stub macros and hopefully few prototypes,
25633 which can conflict with char $ac_func (); below.
25634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25635 <limits.h> exists even on freestanding compilers. */
25636
25637 #ifdef __STDC__
25638 # include <limits.h>
25639 #else
25640 # include <assert.h>
25641 #endif
25642
25643 #undef $ac_func
25644
25645 /* Override any gcc2 internal prototype to avoid an error. */
25646 #ifdef __cplusplus
25647 extern "C"
25648 {
25649 #endif
25650 /* We use char because int might match the return type of a gcc2
25651 builtin and then its argument prototype would still apply. */
25652 char $ac_func ();
25653 /* The GNU C library defines this for functions which it implements
25654 to always fail with ENOSYS. Some functions are actually named
25655 something starting with __ and the normal name is an alias. */
25656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25657 choke me
25658 #else
25659 char (*f) () = $ac_func;
25660 #endif
25661 #ifdef __cplusplus
25662 }
25663 #endif
25664
25665 int
25666 main ()
25667 {
25668 return f != $ac_func;
25669 ;
25670 return 0;
25671 }
25672 _ACEOF
25673 rm -f conftest.$ac_objext conftest$ac_exeext
25674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25675 (eval $ac_link) 2>conftest.er1
25676 ac_status=$?
25677 grep -v '^ *+' conftest.er1 >conftest.err
25678 rm -f conftest.er1
25679 cat conftest.err >&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25685 ac_status=$?
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; } &&
25688 { ac_try='test -s conftest$ac_exeext'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25691 ac_status=$?
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; }; then
25694 eval "$as_ac_var=yes"
25695 else
25696 echo "$as_me: failed program was:" >&5
25697 sed 's/^/| /' conftest.$ac_ext >&5
25698
25699 eval "$as_ac_var=no"
25700 fi
25701 rm -f conftest.err conftest.$ac_objext \
25702 conftest$ac_exeext conftest.$ac_ext
25703 fi
25704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25706 if test `eval echo '${'$as_ac_var'}'` = yes; then
25707 cat >>confdefs.h <<_ACEOF
25708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25709 _ACEOF
25710
25711 fi
25712 done
25713
25714
25715 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25716 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25717 cat >conftest.$ac_ext <<_ACEOF
25718 /* confdefs.h. */
25719 _ACEOF
25720 cat confdefs.h >>conftest.$ac_ext
25721 cat >>conftest.$ac_ext <<_ACEOF
25722 /* end confdefs.h. */
25723
25724 #include <gtk/gtk.h>
25725
25726 int
25727 main ()
25728 {
25729
25730 void *f = gtk_icon_size_lookup;
25731
25732 ;
25733 return 0;
25734 }
25735 _ACEOF
25736 rm -f conftest.$ac_objext
25737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25738 (eval $ac_compile) 2>conftest.er1
25739 ac_status=$?
25740 grep -v '^ *+' conftest.er1 >conftest.err
25741 rm -f conftest.er1
25742 cat conftest.err >&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } &&
25745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try='test -s conftest.$ac_objext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757
25758 echo "$as_me:$LINENO: result: no" >&5
25759 echo "${ECHO_T}no" >&6
25760
25761 else
25762 echo "$as_me: failed program was:" >&5
25763 sed 's/^/| /' conftest.$ac_ext >&5
25764
25765
25766 cat >>confdefs.h <<\_ACEOF
25767 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25768 _ACEOF
25769
25770 echo "$as_me:$LINENO: result: yes" >&5
25771 echo "${ECHO_T}yes" >&6
25772
25773 fi
25774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25775
25776 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25777 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25778 cat >conftest.$ac_ext <<_ACEOF
25779 /* confdefs.h. */
25780 _ACEOF
25781 cat confdefs.h >>conftest.$ac_ext
25782 cat >>conftest.$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784
25785 #include <gtk/gtk.h>
25786
25787 int
25788 main ()
25789 {
25790
25791 #if !GTK_CHECK_VERSION(2,4,0)
25792 #error "Not GTK+ 2.4"
25793 #endif
25794
25795 ;
25796 return 0;
25797 }
25798 _ACEOF
25799 rm -f conftest.$ac_objext
25800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25801 (eval $ac_compile) 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } &&
25808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; } &&
25814 { ac_try='test -s conftest.$ac_objext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25817 ac_status=$?
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820
25821 cat >>confdefs.h <<\_ACEOF
25822 #define __WXGTK24__ 1
25823 _ACEOF
25824
25825 echo "$as_me:$LINENO: result: yes" >&5
25826 echo "${ECHO_T}yes" >&6
25827
25828 else
25829 echo "$as_me: failed program was:" >&5
25830 sed 's/^/| /' conftest.$ac_ext >&5
25831
25832
25833 echo "$as_me:$LINENO: result: no" >&5
25834 echo "${ECHO_T}no" >&6
25835
25836 fi
25837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25838
25839 CFLAGS="$save_CFLAGS"
25840 LIBS="$save_LIBS"
25841 else
25842 if test "$wxUSE_UNICODE" = "yes"; then
25843 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25844 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25845 wxUSE_UNICODE=no
25846 fi
25847 fi
25848
25849 if test "$USE_DARWIN" != 1; then
25850
25851 for ac_func in poll
25852 do
25853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25854 echo "$as_me:$LINENO: checking for $ac_func" >&5
25855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25856 if eval "test \"\${$as_ac_var+set}\" = set"; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 else
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25867 #define $ac_func innocuous_$ac_func
25868
25869 /* System header to define __stub macros and hopefully few prototypes,
25870 which can conflict with char $ac_func (); below.
25871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 <limits.h> exists even on freestanding compilers. */
25873
25874 #ifdef __STDC__
25875 # include <limits.h>
25876 #else
25877 # include <assert.h>
25878 #endif
25879
25880 #undef $ac_func
25881
25882 /* Override any gcc2 internal prototype to avoid an error. */
25883 #ifdef __cplusplus
25884 extern "C"
25885 {
25886 #endif
25887 /* We use char because int might match the return type of a gcc2
25888 builtin and then its argument prototype would still apply. */
25889 char $ac_func ();
25890 /* The GNU C library defines this for functions which it implements
25891 to always fail with ENOSYS. Some functions are actually named
25892 something starting with __ and the normal name is an alias. */
25893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25894 choke me
25895 #else
25896 char (*f) () = $ac_func;
25897 #endif
25898 #ifdef __cplusplus
25899 }
25900 #endif
25901
25902 int
25903 main ()
25904 {
25905 return f != $ac_func;
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 rm -f conftest.$ac_objext conftest$ac_exeext
25911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25912 (eval $ac_link) 2>conftest.er1
25913 ac_status=$?
25914 grep -v '^ *+' conftest.er1 >conftest.err
25915 rm -f conftest.er1
25916 cat conftest.err >&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } &&
25919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; } &&
25925 { ac_try='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25928 ac_status=$?
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 eval "$as_ac_var=yes"
25932 else
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 eval "$as_ac_var=no"
25937 fi
25938 rm -f conftest.err conftest.$ac_objext \
25939 conftest$ac_exeext conftest.$ac_ext
25940 fi
25941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25943 if test `eval echo '${'$as_ac_var'}'` = yes; then
25944 cat >>confdefs.h <<_ACEOF
25945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25946 _ACEOF
25947
25948 fi
25949 done
25950
25951 fi
25952
25953 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25954 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25955
25956 AFMINSTALL=afminstall
25957 TOOLKIT=GTK
25958 GUIDIST=GTK_DIST
25959
25960 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25961 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25962 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25965 ac_check_lib_save_LIBS=$LIBS
25966 LIBS="-lgdk $LIBS"
25967 cat >conftest.$ac_ext <<_ACEOF
25968 /* confdefs.h. */
25969 _ACEOF
25970 cat confdefs.h >>conftest.$ac_ext
25971 cat >>conftest.$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973
25974 /* Override any gcc2 internal prototype to avoid an error. */
25975 #ifdef __cplusplus
25976 extern "C"
25977 #endif
25978 /* We use char because int might match the return type of a gcc2
25979 builtin and then its argument prototype would still apply. */
25980 char gdk_im_open ();
25981 int
25982 main ()
25983 {
25984 gdk_im_open ();
25985 ;
25986 return 0;
25987 }
25988 _ACEOF
25989 rm -f conftest.$ac_objext conftest$ac_exeext
25990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25991 (eval $ac_link) 2>conftest.er1
25992 ac_status=$?
25993 grep -v '^ *+' conftest.er1 >conftest.err
25994 rm -f conftest.er1
25995 cat conftest.err >&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } &&
25998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26001 ac_status=$?
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; } &&
26004 { ac_try='test -s conftest$ac_exeext'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26007 ac_status=$?
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; }; then
26010 ac_cv_lib_gdk_gdk_im_open=yes
26011 else
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.$ac_ext >&5
26014
26015 ac_cv_lib_gdk_gdk_im_open=no
26016 fi
26017 rm -f conftest.err conftest.$ac_objext \
26018 conftest$ac_exeext conftest.$ac_ext
26019 LIBS=$ac_check_lib_save_LIBS
26020 fi
26021 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26022 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26023 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26024 cat >>confdefs.h <<\_ACEOF
26025 #define HAVE_XIM 1
26026 _ACEOF
26027
26028 fi
26029
26030
26031
26032 if test "$wxUSE_GPE" = "yes"; then
26033 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26034 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26035
26036 ac_find_libraries=
26037 for ac_dir in $SEARCH_LIB /usr/lib;
26038 do
26039 for ac_extension in a so sl dylib dll.a; do
26040 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26041 ac_find_libraries=$ac_dir
26042 break 2
26043 fi
26044 done
26045 done
26046
26047 if test "$ac_find_libraries" != "" ; then
26048
26049 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26050 result=$?
26051 if test $result = 0; then
26052 ac_path_to_link=""
26053 else
26054 ac_path_to_link=" -L$ac_find_libraries"
26055 fi
26056
26057 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26058 WXGPE=1
26059 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26060 echo "${ECHO_T}found at $ac_find_libraries" >&6
26061 else
26062 echo "$as_me:$LINENO: result: not found" >&5
26063 echo "${ECHO_T}not found" >&6
26064 fi
26065
26066 fi
26067 fi
26068
26069 if test "$wxUSE_MGL" = 1; then
26070 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26071 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26072 if test "x$MGL_ROOT" = x ; then
26073 echo "$as_me:$LINENO: result: not found" >&5
26074 echo "${ECHO_T}not found" >&6
26075 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26076 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26077 { (exit 1); exit 1; }; }
26078 else
26079 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26080 echo "${ECHO_T}$MGL_ROOT" >&6
26081 fi
26082
26083 echo "$as_me:$LINENO: checking for libmgl location" >&5
26084 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26085 case "${host}" in
26086 *-*-linux* )
26087 if test "x$wxUSE_SHARED" = xyes ; then
26088 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26089 else
26090 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26091 fi
26092 ;;
26093 *-pc-msdosdjgpp )
26094 mgl_os_candidates="dos32/dj2"
26095 ;;
26096 *)
26097 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26098 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26099 { (exit 1); exit 1; }; }
26100 esac
26101
26102 mgl_lib_type=""
26103 mgl_os=""
26104
26105 for mgl_os_i in $mgl_os_candidates ; do
26106 if test "x$mgl_os" = x ; then
26107 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26108 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26109 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26110 mgl_lib_type=debug
26111 mgl_os=$mgl_os_i
26112 fi
26113 fi
26114 if test "x$mgl_lib_type" = x ; then
26115 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26116 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26117 mgl_lib_type=release
26118 mgl_os=$mgl_os_i
26119 fi
26120 fi
26121 fi
26122 done
26123
26124 if test "x$mgl_os" = x ; then
26125 echo "$as_me:$LINENO: result: not found" >&5
26126 echo "${ECHO_T}not found" >&6
26127 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26128 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26129 { (exit 1); exit 1; }; }
26130 fi
26131 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26132 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26133
26134 wxUSE_UNIVERSAL="yes"
26135
26136 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26137 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26138
26139 AFMINSTALL=afminstall
26140 TOOLKIT=MGL
26141 GUIDIST=MGL_DIST
26142 fi
26143
26144 if test "$wxUSE_MICROWIN" = 1; then
26145 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26146 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26147 if test "x$MICROWINDOWS" = x ; then
26148 echo "$as_me:$LINENO: result: not found" >&5
26149 echo "${ECHO_T}not found" >&6
26150 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26151 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26152 { (exit 1); exit 1; }; }
26153 else
26154 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26155 echo "${ECHO_T}$MICROWINDOWS" >&6
26156 fi
26157
26158 if test -f $MICROWINDOWS/lib/libmwin.a; then
26159 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26160 echo "${ECHO_T}MicroWindows' libraries found." >&6
26161 else
26162 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26163 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26164 { (exit 1); exit 1; }; }
26165 fi
26166
26167 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26168 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26169
26170 wxUSE_UNIVERSAL="yes"
26171
26172 AFMINSTALL=afminstall
26173 TOOLKIT=MICROWIN
26174 GUIDIST=MICROWIN_DIST
26175
26176 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26177 fi
26178
26179 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26180
26181 if test "x$ac_path_x_has_been_run" != xyes; then
26182 echo "$as_me:$LINENO: checking for X" >&5
26183 echo $ECHO_N "checking for X... $ECHO_C" >&6
26184
26185 ac_path_x_has_been_run=yes
26186
26187 # Check whether --with-x or --without-x was given.
26188 if test "${with_x+set}" = set; then
26189 withval="$with_x"
26190
26191 fi;
26192 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26193 if test "x$with_x" = xno; then
26194 # The user explicitly disabled X.
26195 have_x=disabled
26196 else
26197 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26198 # Both variables are already set.
26199 have_x=yes
26200 else
26201 if test "${ac_cv_have_x+set}" = set; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204 # One or both of the vars are not set, and there is no cached value.
26205 ac_x_includes=no ac_x_libraries=no
26206 rm -fr conftest.dir
26207 if mkdir conftest.dir; then
26208 cd conftest.dir
26209 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26210 cat >Imakefile <<'_ACEOF'
26211 acfindx:
26212 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26213 _ACEOF
26214 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26216 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26217 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26218 for ac_extension in a so sl; do
26219 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26220 test -f $ac_im_libdir/libX11.$ac_extension; then
26221 ac_im_usrlibdir=$ac_im_libdir; break
26222 fi
26223 done
26224 # Screen out bogus values from the imake configuration. They are
26225 # bogus both because they are the default anyway, and because
26226 # using them would break gcc on systems where it needs fixed includes.
26227 case $ac_im_incroot in
26228 /usr/include) ;;
26229 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26230 esac
26231 case $ac_im_usrlibdir in
26232 /usr/lib | /lib) ;;
26233 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26234 esac
26235 fi
26236 cd ..
26237 rm -fr conftest.dir
26238 fi
26239
26240 # Standard set of common directories for X headers.
26241 # Check X11 before X11Rn because it is often a symlink to the current release.
26242 ac_x_header_dirs='
26243 /usr/X11/include
26244 /usr/X11R6/include
26245 /usr/X11R5/include
26246 /usr/X11R4/include
26247
26248 /usr/include/X11
26249 /usr/include/X11R6
26250 /usr/include/X11R5
26251 /usr/include/X11R4
26252
26253 /usr/local/X11/include
26254 /usr/local/X11R6/include
26255 /usr/local/X11R5/include
26256 /usr/local/X11R4/include
26257
26258 /usr/local/include/X11
26259 /usr/local/include/X11R6
26260 /usr/local/include/X11R5
26261 /usr/local/include/X11R4
26262
26263 /usr/X386/include
26264 /usr/x386/include
26265 /usr/XFree86/include/X11
26266
26267 /usr/include
26268 /usr/local/include
26269 /usr/unsupported/include
26270 /usr/athena/include
26271 /usr/local/x11r5/include
26272 /usr/lpp/Xamples/include
26273
26274 /usr/openwin/include
26275 /usr/openwin/share/include'
26276
26277 if test "$ac_x_includes" = no; then
26278 # Guess where to find include files, by looking for a specified header file.
26279 # First, try using that file with no special directory specified.
26280 cat >conftest.$ac_ext <<_ACEOF
26281 /* confdefs.h. */
26282 _ACEOF
26283 cat confdefs.h >>conftest.$ac_ext
26284 cat >>conftest.$ac_ext <<_ACEOF
26285 /* end confdefs.h. */
26286 #include <X11/Intrinsic.h>
26287 _ACEOF
26288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26290 ac_status=$?
26291 grep -v '^ *+' conftest.er1 >conftest.err
26292 rm -f conftest.er1
26293 cat conftest.err >&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); } >/dev/null; then
26296 if test -s conftest.err; then
26297 ac_cpp_err=$ac_c_preproc_warn_flag
26298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26299 else
26300 ac_cpp_err=
26301 fi
26302 else
26303 ac_cpp_err=yes
26304 fi
26305 if test -z "$ac_cpp_err"; then
26306 # We can compile using X headers with no special include directory.
26307 ac_x_includes=
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26311
26312 for ac_dir in $ac_x_header_dirs; do
26313 if test -r "$ac_dir/X11/Intrinsic.h"; then
26314 ac_x_includes=$ac_dir
26315 break
26316 fi
26317 done
26318 fi
26319 rm -f conftest.err conftest.$ac_ext
26320 fi # $ac_x_includes = no
26321
26322 if test "$ac_x_libraries" = no; then
26323 # Check for the libraries.
26324 # See if we find them without any special options.
26325 # Don't add to $LIBS permanently.
26326 ac_save_LIBS=$LIBS
26327 LIBS="-lXt $LIBS"
26328 cat >conftest.$ac_ext <<_ACEOF
26329 /* confdefs.h. */
26330 _ACEOF
26331 cat confdefs.h >>conftest.$ac_ext
26332 cat >>conftest.$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26334 #include <X11/Intrinsic.h>
26335 int
26336 main ()
26337 {
26338 XtMalloc (0)
26339 ;
26340 return 0;
26341 }
26342 _ACEOF
26343 rm -f conftest.$ac_objext conftest$ac_exeext
26344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26345 (eval $ac_link) 2>conftest.er1
26346 ac_status=$?
26347 grep -v '^ *+' conftest.er1 >conftest.err
26348 rm -f conftest.er1
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } &&
26352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26354 (eval $ac_try) 2>&5
26355 ac_status=$?
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); }; } &&
26358 { ac_try='test -s conftest$ac_exeext'
26359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26360 (eval $ac_try) 2>&5
26361 ac_status=$?
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); }; }; then
26364 LIBS=$ac_save_LIBS
26365 # We can link X programs with no special library path.
26366 ac_x_libraries=
26367 else
26368 echo "$as_me: failed program was:" >&5
26369 sed 's/^/| /' conftest.$ac_ext >&5
26370
26371 LIBS=$ac_save_LIBS
26372 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26373 do
26374 # Don't even attempt the hair of trying to link an X program!
26375 for ac_extension in a so sl; do
26376 if test -r $ac_dir/libXt.$ac_extension; then
26377 ac_x_libraries=$ac_dir
26378 break 2
26379 fi
26380 done
26381 done
26382 fi
26383 rm -f conftest.err conftest.$ac_objext \
26384 conftest$ac_exeext conftest.$ac_ext
26385 fi # $ac_x_libraries = no
26386
26387 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26388 # Didn't find X anywhere. Cache the known absence of X.
26389 ac_cv_have_x="have_x=no"
26390 else
26391 # Record where we found X for the cache.
26392 ac_cv_have_x="have_x=yes \
26393 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26394 fi
26395 fi
26396
26397 fi
26398 eval "$ac_cv_have_x"
26399 fi # $with_x != no
26400
26401 if test "$have_x" != yes; then
26402 echo "$as_me:$LINENO: result: $have_x" >&5
26403 echo "${ECHO_T}$have_x" >&6
26404 no_x=yes
26405 else
26406 # If each of the values was on the command line, it overrides each guess.
26407 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26408 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26409 # Update the cache value to reflect the command line values.
26410 ac_cv_have_x="have_x=yes \
26411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26412 # It might be that x_includes is empty (headers are found in the
26413 # standard search path. Then output the corresponding message
26414 ac_out_x_includes=$x_includes
26415 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
26416 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26417 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26418 fi
26419
26420 fi
26421 if test "$no_x" = yes; then
26422 # Not all programs may use this symbol, but it does not hurt to define it.
26423
26424 cat >>confdefs.h <<\_ACEOF
26425 #define X_DISPLAY_MISSING 1
26426 _ACEOF
26427
26428 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26429 else
26430 if test -n "$x_includes"; then
26431 X_CFLAGS="$X_CFLAGS -I$x_includes"
26432 fi
26433
26434 # It would also be nice to do this for all -L options, not just this one.
26435 if test -n "$x_libraries"; then
26436 X_LIBS="$X_LIBS -L$x_libraries"
26437 # For Solaris; some versions of Sun CC require a space after -R and
26438 # others require no space. Words are not sufficient . . . .
26439 case `(uname -sr) 2>/dev/null` in
26440 "SunOS 5"*)
26441 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26442 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26443 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h. */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26450
26451 int
26452 main ()
26453 {
26454
26455 ;
26456 return 0;
26457 }
26458 _ACEOF
26459 rm -f conftest.$ac_objext conftest$ac_exeext
26460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26461 (eval $ac_link) 2>conftest.er1
26462 ac_status=$?
26463 grep -v '^ *+' conftest.er1 >conftest.err
26464 rm -f conftest.er1
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } &&
26468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470 (eval $ac_try) 2>&5
26471 ac_status=$?
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); }; } &&
26474 { ac_try='test -s conftest$ac_exeext'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; }; then
26480 ac_R_nospace=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 ac_R_nospace=no
26486 fi
26487 rm -f conftest.err conftest.$ac_objext \
26488 conftest$ac_exeext conftest.$ac_ext
26489 if test $ac_R_nospace = yes; then
26490 echo "$as_me:$LINENO: result: no" >&5
26491 echo "${ECHO_T}no" >&6
26492 X_LIBS="$X_LIBS -R$x_libraries"
26493 else
26494 LIBS="$ac_xsave_LIBS -R $x_libraries"
26495 cat >conftest.$ac_ext <<_ACEOF
26496 /* confdefs.h. */
26497 _ACEOF
26498 cat confdefs.h >>conftest.$ac_ext
26499 cat >>conftest.$ac_ext <<_ACEOF
26500 /* end confdefs.h. */
26501
26502 int
26503 main ()
26504 {
26505
26506 ;
26507 return 0;
26508 }
26509 _ACEOF
26510 rm -f conftest.$ac_objext conftest$ac_exeext
26511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26512 (eval $ac_link) 2>conftest.er1
26513 ac_status=$?
26514 grep -v '^ *+' conftest.er1 >conftest.err
26515 rm -f conftest.er1
26516 cat conftest.err >&5
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); } &&
26519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest$ac_exeext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 ac_R_space=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26535
26536 ac_R_space=no
26537 fi
26538 rm -f conftest.err conftest.$ac_objext \
26539 conftest$ac_exeext conftest.$ac_ext
26540 if test $ac_R_space = yes; then
26541 echo "$as_me:$LINENO: result: yes" >&5
26542 echo "${ECHO_T}yes" >&6
26543 X_LIBS="$X_LIBS -R $x_libraries"
26544 else
26545 echo "$as_me:$LINENO: result: neither works" >&5
26546 echo "${ECHO_T}neither works" >&6
26547 fi
26548 fi
26549 LIBS=$ac_xsave_LIBS
26550 esac
26551 fi
26552
26553 # Check for system-dependent libraries X programs must link with.
26554 # Do this before checking for the system-independent R6 libraries
26555 # (-lICE), since we may need -lsocket or whatever for X linking.
26556
26557 if test "$ISC" = yes; then
26558 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26559 else
26560 # Martyn Johnson says this is needed for Ultrix, if the X
26561 # libraries were built with DECnet support. And Karl Berry says
26562 # the Alpha needs dnet_stub (dnet does not exist).
26563 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26564 cat >conftest.$ac_ext <<_ACEOF
26565 /* confdefs.h. */
26566 _ACEOF
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26570
26571 /* Override any gcc2 internal prototype to avoid an error. */
26572 #ifdef __cplusplus
26573 extern "C"
26574 #endif
26575 /* We use char because int might match the return type of a gcc2
26576 builtin and then its argument prototype would still apply. */
26577 char XOpenDisplay ();
26578 int
26579 main ()
26580 {
26581 XOpenDisplay ();
26582 ;
26583 return 0;
26584 }
26585 _ACEOF
26586 rm -f conftest.$ac_objext conftest$ac_exeext
26587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26588 (eval $ac_link) 2>conftest.er1
26589 ac_status=$?
26590 grep -v '^ *+' conftest.er1 >conftest.err
26591 rm -f conftest.er1
26592 cat conftest.err >&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); } &&
26595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; } &&
26601 { ac_try='test -s conftest$ac_exeext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 :
26608 else
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.$ac_ext >&5
26611
26612 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26613 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26614 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26616 else
26617 ac_check_lib_save_LIBS=$LIBS
26618 LIBS="-ldnet $LIBS"
26619 cat >conftest.$ac_ext <<_ACEOF
26620 /* confdefs.h. */
26621 _ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26625
26626 /* Override any gcc2 internal prototype to avoid an error. */
26627 #ifdef __cplusplus
26628 extern "C"
26629 #endif
26630 /* We use char because int might match the return type of a gcc2
26631 builtin and then its argument prototype would still apply. */
26632 char dnet_ntoa ();
26633 int
26634 main ()
26635 {
26636 dnet_ntoa ();
26637 ;
26638 return 0;
26639 }
26640 _ACEOF
26641 rm -f conftest.$ac_objext conftest$ac_exeext
26642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26643 (eval $ac_link) 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } &&
26650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652 (eval $ac_try) 2>&5
26653 ac_status=$?
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); }; } &&
26656 { ac_try='test -s conftest$ac_exeext'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26659 ac_status=$?
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; }; then
26662 ac_cv_lib_dnet_dnet_ntoa=yes
26663 else
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667 ac_cv_lib_dnet_dnet_ntoa=no
26668 fi
26669 rm -f conftest.err conftest.$ac_objext \
26670 conftest$ac_exeext conftest.$ac_ext
26671 LIBS=$ac_check_lib_save_LIBS
26672 fi
26673 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26674 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26675 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26676 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26677 fi
26678
26679 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26680 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26681 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26682 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26683 echo $ECHO_N "(cached) $ECHO_C" >&6
26684 else
26685 ac_check_lib_save_LIBS=$LIBS
26686 LIBS="-ldnet_stub $LIBS"
26687 cat >conftest.$ac_ext <<_ACEOF
26688 /* confdefs.h. */
26689 _ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26693
26694 /* Override any gcc2 internal prototype to avoid an error. */
26695 #ifdef __cplusplus
26696 extern "C"
26697 #endif
26698 /* We use char because int might match the return type of a gcc2
26699 builtin and then its argument prototype would still apply. */
26700 char dnet_ntoa ();
26701 int
26702 main ()
26703 {
26704 dnet_ntoa ();
26705 ;
26706 return 0;
26707 }
26708 _ACEOF
26709 rm -f conftest.$ac_objext conftest$ac_exeext
26710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26711 (eval $ac_link) 2>conftest.er1
26712 ac_status=$?
26713 grep -v '^ *+' conftest.er1 >conftest.err
26714 rm -f conftest.er1
26715 cat conftest.err >&5
26716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717 (exit $ac_status); } &&
26718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26721 ac_status=$?
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); }; } &&
26724 { ac_try='test -s conftest$ac_exeext'
26725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26727 ac_status=$?
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); }; }; then
26730 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26731 else
26732 echo "$as_me: failed program was:" >&5
26733 sed 's/^/| /' conftest.$ac_ext >&5
26734
26735 ac_cv_lib_dnet_stub_dnet_ntoa=no
26736 fi
26737 rm -f conftest.err conftest.$ac_objext \
26738 conftest$ac_exeext conftest.$ac_ext
26739 LIBS=$ac_check_lib_save_LIBS
26740 fi
26741 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26742 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26743 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26744 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26745 fi
26746
26747 fi
26748 fi
26749 rm -f conftest.err conftest.$ac_objext \
26750 conftest$ac_exeext conftest.$ac_ext
26751 LIBS="$ac_xsave_LIBS"
26752
26753 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26754 # to get the SysV transport functions.
26755 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26756 # needs -lnsl.
26757 # The nsl library prevents programs from opening the X display
26758 # on Irix 5.2, according to T.E. Dickey.
26759 # The functions gethostbyname, getservbyname, and inet_addr are
26760 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26761 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26762 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26763 if test "${ac_cv_func_gethostbyname+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 else
26766 cat >conftest.$ac_ext <<_ACEOF
26767 /* confdefs.h. */
26768 _ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26774 #define gethostbyname innocuous_gethostbyname
26775
26776 /* System header to define __stub macros and hopefully few prototypes,
26777 which can conflict with char gethostbyname (); below.
26778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26779 <limits.h> exists even on freestanding compilers. */
26780
26781 #ifdef __STDC__
26782 # include <limits.h>
26783 #else
26784 # include <assert.h>
26785 #endif
26786
26787 #undef gethostbyname
26788
26789 /* Override any gcc2 internal prototype to avoid an error. */
26790 #ifdef __cplusplus
26791 extern "C"
26792 {
26793 #endif
26794 /* We use char because int might match the return type of a gcc2
26795 builtin and then its argument prototype would still apply. */
26796 char gethostbyname ();
26797 /* The GNU C library defines this for functions which it implements
26798 to always fail with ENOSYS. Some functions are actually named
26799 something starting with __ and the normal name is an alias. */
26800 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26801 choke me
26802 #else
26803 char (*f) () = gethostbyname;
26804 #endif
26805 #ifdef __cplusplus
26806 }
26807 #endif
26808
26809 int
26810 main ()
26811 {
26812 return f != gethostbyname;
26813 ;
26814 return 0;
26815 }
26816 _ACEOF
26817 rm -f conftest.$ac_objext conftest$ac_exeext
26818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26819 (eval $ac_link) 2>conftest.er1
26820 ac_status=$?
26821 grep -v '^ *+' conftest.er1 >conftest.err
26822 rm -f conftest.er1
26823 cat conftest.err >&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); } &&
26826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26829 ac_status=$?
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; } &&
26832 { ac_try='test -s conftest$ac_exeext'
26833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26834 (eval $ac_try) 2>&5
26835 ac_status=$?
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); }; }; then
26838 ac_cv_func_gethostbyname=yes
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_cv_func_gethostbyname=no
26844 fi
26845 rm -f conftest.err conftest.$ac_objext \
26846 conftest$ac_exeext conftest.$ac_ext
26847 fi
26848 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26849 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26850
26851 if test $ac_cv_func_gethostbyname = no; then
26852 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26853 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26854 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26857 ac_check_lib_save_LIBS=$LIBS
26858 LIBS="-lnsl $LIBS"
26859 cat >conftest.$ac_ext <<_ACEOF
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865
26866 /* Override any gcc2 internal prototype to avoid an error. */
26867 #ifdef __cplusplus
26868 extern "C"
26869 #endif
26870 /* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26872 char gethostbyname ();
26873 int
26874 main ()
26875 {
26876 gethostbyname ();
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 rm -f conftest.$ac_objext conftest$ac_exeext
26882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26883 (eval $ac_link) 2>conftest.er1
26884 ac_status=$?
26885 grep -v '^ *+' conftest.er1 >conftest.err
26886 rm -f conftest.er1
26887 cat conftest.err >&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } &&
26890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try='test -s conftest$ac_exeext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 ac_cv_lib_nsl_gethostbyname=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26906
26907 ac_cv_lib_nsl_gethostbyname=no
26908 fi
26909 rm -f conftest.err conftest.$ac_objext \
26910 conftest$ac_exeext conftest.$ac_ext
26911 LIBS=$ac_check_lib_save_LIBS
26912 fi
26913 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26914 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26915 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26917 fi
26918
26919 if test $ac_cv_lib_nsl_gethostbyname = no; then
26920 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26921 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26922 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26925 ac_check_lib_save_LIBS=$LIBS
26926 LIBS="-lbsd $LIBS"
26927 cat >conftest.$ac_ext <<_ACEOF
26928 /* confdefs.h. */
26929 _ACEOF
26930 cat confdefs.h >>conftest.$ac_ext
26931 cat >>conftest.$ac_ext <<_ACEOF
26932 /* end confdefs.h. */
26933
26934 /* Override any gcc2 internal prototype to avoid an error. */
26935 #ifdef __cplusplus
26936 extern "C"
26937 #endif
26938 /* We use char because int might match the return type of a gcc2
26939 builtin and then its argument prototype would still apply. */
26940 char gethostbyname ();
26941 int
26942 main ()
26943 {
26944 gethostbyname ();
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext conftest$ac_exeext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26951 (eval $ac_link) 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26960 (eval $ac_try) 2>&5
26961 ac_status=$?
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); }; } &&
26964 { ac_try='test -s conftest$ac_exeext'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; }; then
26970 ac_cv_lib_bsd_gethostbyname=yes
26971 else
26972 echo "$as_me: failed program was:" >&5
26973 sed 's/^/| /' conftest.$ac_ext >&5
26974
26975 ac_cv_lib_bsd_gethostbyname=no
26976 fi
26977 rm -f conftest.err conftest.$ac_objext \
26978 conftest$ac_exeext conftest.$ac_ext
26979 LIBS=$ac_check_lib_save_LIBS
26980 fi
26981 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26982 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26983 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26984 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26985 fi
26986
26987 fi
26988 fi
26989
26990 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26991 # socket/setsockopt and other routines are undefined under SCO ODT
26992 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26993 # on later versions), says Simon Leinen: it contains gethostby*
26994 # variants that don't use the name server (or something). -lsocket
26995 # must be given before -lnsl if both are needed. We assume that
26996 # if connect needs -lnsl, so does gethostbyname.
26997 echo "$as_me:$LINENO: checking for connect" >&5
26998 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26999 if test "${ac_cv_func_connect+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002 cat >conftest.$ac_ext <<_ACEOF
27003 /* confdefs.h. */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27010 #define connect innocuous_connect
27011
27012 /* System header to define __stub macros and hopefully few prototypes,
27013 which can conflict with char connect (); below.
27014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27015 <limits.h> exists even on freestanding compilers. */
27016
27017 #ifdef __STDC__
27018 # include <limits.h>
27019 #else
27020 # include <assert.h>
27021 #endif
27022
27023 #undef connect
27024
27025 /* Override any gcc2 internal prototype to avoid an error. */
27026 #ifdef __cplusplus
27027 extern "C"
27028 {
27029 #endif
27030 /* We use char because int might match the return type of a gcc2
27031 builtin and then its argument prototype would still apply. */
27032 char connect ();
27033 /* The GNU C library defines this for functions which it implements
27034 to always fail with ENOSYS. Some functions are actually named
27035 something starting with __ and the normal name is an alias. */
27036 #if defined (__stub_connect) || defined (__stub___connect)
27037 choke me
27038 #else
27039 char (*f) () = connect;
27040 #endif
27041 #ifdef __cplusplus
27042 }
27043 #endif
27044
27045 int
27046 main ()
27047 {
27048 return f != connect;
27049 ;
27050 return 0;
27051 }
27052 _ACEOF
27053 rm -f conftest.$ac_objext conftest$ac_exeext
27054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27055 (eval $ac_link) 2>conftest.er1
27056 ac_status=$?
27057 grep -v '^ *+' conftest.er1 >conftest.err
27058 rm -f conftest.er1
27059 cat conftest.err >&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } &&
27062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; } &&
27068 { ac_try='test -s conftest$ac_exeext'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27071 ac_status=$?
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; }; then
27074 ac_cv_func_connect=yes
27075 else
27076 echo "$as_me: failed program was:" >&5
27077 sed 's/^/| /' conftest.$ac_ext >&5
27078
27079 ac_cv_func_connect=no
27080 fi
27081 rm -f conftest.err conftest.$ac_objext \
27082 conftest$ac_exeext conftest.$ac_ext
27083 fi
27084 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27085 echo "${ECHO_T}$ac_cv_func_connect" >&6
27086
27087 if test $ac_cv_func_connect = no; then
27088 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27089 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27090 if test "${ac_cv_lib_socket_connect+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093 ac_check_lib_save_LIBS=$LIBS
27094 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101
27102 /* Override any gcc2 internal prototype to avoid an error. */
27103 #ifdef __cplusplus
27104 extern "C"
27105 #endif
27106 /* We use char because int might match the return type of a gcc2
27107 builtin and then its argument prototype would still apply. */
27108 char connect ();
27109 int
27110 main ()
27111 {
27112 connect ();
27113 ;
27114 return 0;
27115 }
27116 _ACEOF
27117 rm -f conftest.$ac_objext conftest$ac_exeext
27118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27119 (eval $ac_link) 2>conftest.er1
27120 ac_status=$?
27121 grep -v '^ *+' conftest.er1 >conftest.err
27122 rm -f conftest.er1
27123 cat conftest.err >&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); } &&
27126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; } &&
27132 { ac_try='test -s conftest$ac_exeext'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; }; then
27138 ac_cv_lib_socket_connect=yes
27139 else
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27142
27143 ac_cv_lib_socket_connect=no
27144 fi
27145 rm -f conftest.err conftest.$ac_objext \
27146 conftest$ac_exeext conftest.$ac_ext
27147 LIBS=$ac_check_lib_save_LIBS
27148 fi
27149 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27150 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27151 if test $ac_cv_lib_socket_connect = yes; then
27152 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27153 fi
27154
27155 fi
27156
27157 # Guillermo Gomez says -lposix is necessary on A/UX.
27158 echo "$as_me:$LINENO: checking for remove" >&5
27159 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27160 if test "${ac_cv_func_remove+set}" = set; then
27161 echo $ECHO_N "(cached) $ECHO_C" >&6
27162 else
27163 cat >conftest.$ac_ext <<_ACEOF
27164 /* confdefs.h. */
27165 _ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27171 #define remove innocuous_remove
27172
27173 /* System header to define __stub macros and hopefully few prototypes,
27174 which can conflict with char remove (); below.
27175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27176 <limits.h> exists even on freestanding compilers. */
27177
27178 #ifdef __STDC__
27179 # include <limits.h>
27180 #else
27181 # include <assert.h>
27182 #endif
27183
27184 #undef remove
27185
27186 /* Override any gcc2 internal prototype to avoid an error. */
27187 #ifdef __cplusplus
27188 extern "C"
27189 {
27190 #endif
27191 /* We use char because int might match the return type of a gcc2
27192 builtin and then its argument prototype would still apply. */
27193 char remove ();
27194 /* The GNU C library defines this for functions which it implements
27195 to always fail with ENOSYS. Some functions are actually named
27196 something starting with __ and the normal name is an alias. */
27197 #if defined (__stub_remove) || defined (__stub___remove)
27198 choke me
27199 #else
27200 char (*f) () = remove;
27201 #endif
27202 #ifdef __cplusplus
27203 }
27204 #endif
27205
27206 int
27207 main ()
27208 {
27209 return f != remove;
27210 ;
27211 return 0;
27212 }
27213 _ACEOF
27214 rm -f conftest.$ac_objext conftest$ac_exeext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27216 (eval $ac_link) 2>conftest.er1
27217 ac_status=$?
27218 grep -v '^ *+' conftest.er1 >conftest.err
27219 rm -f conftest.er1
27220 cat conftest.err >&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } &&
27223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27225 (eval $ac_try) 2>&5
27226 ac_status=$?
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); }; } &&
27229 { ac_try='test -s conftest$ac_exeext'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27232 ac_status=$?
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; }; then
27235 ac_cv_func_remove=yes
27236 else
27237 echo "$as_me: failed program was:" >&5
27238 sed 's/^/| /' conftest.$ac_ext >&5
27239
27240 ac_cv_func_remove=no
27241 fi
27242 rm -f conftest.err conftest.$ac_objext \
27243 conftest$ac_exeext conftest.$ac_ext
27244 fi
27245 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27246 echo "${ECHO_T}$ac_cv_func_remove" >&6
27247
27248 if test $ac_cv_func_remove = no; then
27249 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27250 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27251 if test "${ac_cv_lib_posix_remove+set}" = set; then
27252 echo $ECHO_N "(cached) $ECHO_C" >&6
27253 else
27254 ac_check_lib_save_LIBS=$LIBS
27255 LIBS="-lposix $LIBS"
27256 cat >conftest.$ac_ext <<_ACEOF
27257 /* confdefs.h. */
27258 _ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262
27263 /* Override any gcc2 internal prototype to avoid an error. */
27264 #ifdef __cplusplus
27265 extern "C"
27266 #endif
27267 /* We use char because int might match the return type of a gcc2
27268 builtin and then its argument prototype would still apply. */
27269 char remove ();
27270 int
27271 main ()
27272 {
27273 remove ();
27274 ;
27275 return 0;
27276 }
27277 _ACEOF
27278 rm -f conftest.$ac_objext conftest$ac_exeext
27279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27280 (eval $ac_link) 2>conftest.er1
27281 ac_status=$?
27282 grep -v '^ *+' conftest.er1 >conftest.err
27283 rm -f conftest.er1
27284 cat conftest.err >&5
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); } &&
27287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27290 ac_status=$?
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; } &&
27293 { ac_try='test -s conftest$ac_exeext'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27296 ac_status=$?
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_lib_posix_remove=yes
27300 else
27301 echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.$ac_ext >&5
27303
27304 ac_cv_lib_posix_remove=no
27305 fi
27306 rm -f conftest.err conftest.$ac_objext \
27307 conftest$ac_exeext conftest.$ac_ext
27308 LIBS=$ac_check_lib_save_LIBS
27309 fi
27310 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27311 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27312 if test $ac_cv_lib_posix_remove = yes; then
27313 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27314 fi
27315
27316 fi
27317
27318 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27319 echo "$as_me:$LINENO: checking for shmat" >&5
27320 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27321 if test "${ac_cv_func_shmat+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 else
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27332 #define shmat innocuous_shmat
27333
27334 /* System header to define __stub macros and hopefully few prototypes,
27335 which can conflict with char shmat (); below.
27336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27337 <limits.h> exists even on freestanding compilers. */
27338
27339 #ifdef __STDC__
27340 # include <limits.h>
27341 #else
27342 # include <assert.h>
27343 #endif
27344
27345 #undef shmat
27346
27347 /* Override any gcc2 internal prototype to avoid an error. */
27348 #ifdef __cplusplus
27349 extern "C"
27350 {
27351 #endif
27352 /* We use char because int might match the return type of a gcc2
27353 builtin and then its argument prototype would still apply. */
27354 char shmat ();
27355 /* The GNU C library defines this for functions which it implements
27356 to always fail with ENOSYS. Some functions are actually named
27357 something starting with __ and the normal name is an alias. */
27358 #if defined (__stub_shmat) || defined (__stub___shmat)
27359 choke me
27360 #else
27361 char (*f) () = shmat;
27362 #endif
27363 #ifdef __cplusplus
27364 }
27365 #endif
27366
27367 int
27368 main ()
27369 {
27370 return f != shmat;
27371 ;
27372 return 0;
27373 }
27374 _ACEOF
27375 rm -f conftest.$ac_objext conftest$ac_exeext
27376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27377 (eval $ac_link) 2>conftest.er1
27378 ac_status=$?
27379 grep -v '^ *+' conftest.er1 >conftest.err
27380 rm -f conftest.er1
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); } &&
27384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; } &&
27390 { ac_try='test -s conftest$ac_exeext'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27393 ac_status=$?
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; }; then
27396 ac_cv_func_shmat=yes
27397 else
27398 echo "$as_me: failed program was:" >&5
27399 sed 's/^/| /' conftest.$ac_ext >&5
27400
27401 ac_cv_func_shmat=no
27402 fi
27403 rm -f conftest.err conftest.$ac_objext \
27404 conftest$ac_exeext conftest.$ac_ext
27405 fi
27406 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27407 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27408
27409 if test $ac_cv_func_shmat = no; then
27410 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27411 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27412 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27413 echo $ECHO_N "(cached) $ECHO_C" >&6
27414 else
27415 ac_check_lib_save_LIBS=$LIBS
27416 LIBS="-lipc $LIBS"
27417 cat >conftest.$ac_ext <<_ACEOF
27418 /* confdefs.h. */
27419 _ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423
27424 /* Override any gcc2 internal prototype to avoid an error. */
27425 #ifdef __cplusplus
27426 extern "C"
27427 #endif
27428 /* We use char because int might match the return type of a gcc2
27429 builtin and then its argument prototype would still apply. */
27430 char shmat ();
27431 int
27432 main ()
27433 {
27434 shmat ();
27435 ;
27436 return 0;
27437 }
27438 _ACEOF
27439 rm -f conftest.$ac_objext conftest$ac_exeext
27440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27441 (eval $ac_link) 2>conftest.er1
27442 ac_status=$?
27443 grep -v '^ *+' conftest.er1 >conftest.err
27444 rm -f conftest.er1
27445 cat conftest.err >&5
27446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27447 (exit $ac_status); } &&
27448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27450 (eval $ac_try) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; } &&
27454 { ac_try='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 ac_cv_lib_ipc_shmat=yes
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465 ac_cv_lib_ipc_shmat=no
27466 fi
27467 rm -f conftest.err conftest.$ac_objext \
27468 conftest$ac_exeext conftest.$ac_ext
27469 LIBS=$ac_check_lib_save_LIBS
27470 fi
27471 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27472 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27473 if test $ac_cv_lib_ipc_shmat = yes; then
27474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27475 fi
27476
27477 fi
27478 fi
27479
27480 # Check for libraries that X11R6 Xt/Xaw programs need.
27481 ac_save_LDFLAGS=$LDFLAGS
27482 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27483 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27484 # check for ICE first), but we must link in the order -lSM -lICE or
27485 # we get undefined symbols. So assume we have SM if we have ICE.
27486 # These have to be linked with before -lX11, unlike the other
27487 # libraries we check for below, so use a different variable.
27488 # John Interrante, Karl Berry
27489 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27490 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27491 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 else
27494 ac_check_lib_save_LIBS=$LIBS
27495 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27496 cat >conftest.$ac_ext <<_ACEOF
27497 /* confdefs.h. */
27498 _ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502
27503 /* Override any gcc2 internal prototype to avoid an error. */
27504 #ifdef __cplusplus
27505 extern "C"
27506 #endif
27507 /* We use char because int might match the return type of a gcc2
27508 builtin and then its argument prototype would still apply. */
27509 char IceConnectionNumber ();
27510 int
27511 main ()
27512 {
27513 IceConnectionNumber ();
27514 ;
27515 return 0;
27516 }
27517 _ACEOF
27518 rm -f conftest.$ac_objext conftest$ac_exeext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27520 (eval $ac_link) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27530 ac_status=$?
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try='test -s conftest$ac_exeext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_cv_lib_ICE_IceConnectionNumber=yes
27540 else
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27543
27544 ac_cv_lib_ICE_IceConnectionNumber=no
27545 fi
27546 rm -f conftest.err conftest.$ac_objext \
27547 conftest$ac_exeext conftest.$ac_ext
27548 LIBS=$ac_check_lib_save_LIBS
27549 fi
27550 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27551 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27552 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27553 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27554 fi
27555
27556 LDFLAGS=$ac_save_LDFLAGS
27557
27558 fi
27559
27560
27561 if test "$no_x" = "yes"; then
27562 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27563 echo "$as_me: error: X11 not found" >&2;}
27564 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27565 fi
27566
27567 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27568 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27569 AFMINSTALL=afminstall
27570 COMPILED_X_PROGRAM=0
27571
27572 fi
27573
27574 if test "$wxUSE_X11" = 1; then
27575 if test "$wxUSE_NANOX" = "yes"; then
27576 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27577 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27578 if test "x$MICROWIN" = x ; then
27579 echo "$as_me:$LINENO: result: not found" >&5
27580 echo "${ECHO_T}not found" >&6
27581 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27582 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27583 { (exit 1); exit 1; }; }
27584 else
27585 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27586 echo "${ECHO_T}$MICROWIN" >&6
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_NANOX 1
27589 _ACEOF
27590
27591 fi
27592 fi
27593
27594 if test "$wxUSE_UNICODE" = "yes"; then
27595
27596 succeeded=no
27597
27598 if test -z "$PKG_CONFIG"; then
27599 # Extract the first word of "pkg-config", so it can be a program name with args.
27600 set dummy pkg-config; ac_word=$2
27601 echo "$as_me:$LINENO: checking for $ac_word" >&5
27602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27603 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27604 echo $ECHO_N "(cached) $ECHO_C" >&6
27605 else
27606 case $PKG_CONFIG in
27607 [\\/]* | ?:[\\/]*)
27608 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27609 ;;
27610 *)
27611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27612 for as_dir in $PATH
27613 do
27614 IFS=$as_save_IFS
27615 test -z "$as_dir" && as_dir=.
27616 for ac_exec_ext in '' $ac_executable_extensions; do
27617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27618 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27620 break 2
27621 fi
27622 done
27623 done
27624
27625 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27626 ;;
27627 esac
27628 fi
27629 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27630
27631 if test -n "$PKG_CONFIG"; then
27632 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27633 echo "${ECHO_T}$PKG_CONFIG" >&6
27634 else
27635 echo "$as_me:$LINENO: result: no" >&5
27636 echo "${ECHO_T}no" >&6
27637 fi
27638
27639 fi
27640
27641 if test "$PKG_CONFIG" = "no" ; then
27642 echo "*** The pkg-config script could not be found. Make sure it is"
27643 echo "*** in your path, or set the PKG_CONFIG environment variable"
27644 echo "*** to the full path to pkg-config."
27645 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27646 else
27647 PKG_CONFIG_MIN_VERSION=0.9.0
27648 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27649 echo "$as_me:$LINENO: checking for pangox" >&5
27650 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27651
27652 if $PKG_CONFIG --exists "pangox" ; then
27653 echo "$as_me:$LINENO: result: yes" >&5
27654 echo "${ECHO_T}yes" >&6
27655 succeeded=yes
27656
27657 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27658 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27659 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27660 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27661 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27662
27663 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27664 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27665 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27666 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27667 echo "${ECHO_T}$PANGOX_LIBS" >&6
27668 else
27669 PANGOX_CFLAGS=""
27670 PANGOX_LIBS=""
27671 ## If we have a custom action on failure, don't print errors, but
27672 ## do set a variable so people can do so.
27673 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27674
27675 fi
27676
27677
27678
27679 else
27680 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27681 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27682 fi
27683 fi
27684
27685 if test $succeeded = yes; then
27686
27687 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27689
27690 else
27691
27692 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27693 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27694 { (exit 1); exit 1; }; }
27695
27696
27697 fi
27698
27699
27700 succeeded=no
27701
27702 if test -z "$PKG_CONFIG"; then
27703 # Extract the first word of "pkg-config", so it can be a program name with args.
27704 set dummy pkg-config; ac_word=$2
27705 echo "$as_me:$LINENO: checking for $ac_word" >&5
27706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27707 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27709 else
27710 case $PKG_CONFIG in
27711 [\\/]* | ?:[\\/]*)
27712 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27713 ;;
27714 *)
27715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27716 for as_dir in $PATH
27717 do
27718 IFS=$as_save_IFS
27719 test -z "$as_dir" && as_dir=.
27720 for ac_exec_ext in '' $ac_executable_extensions; do
27721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27722 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27724 break 2
27725 fi
27726 done
27727 done
27728
27729 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27730 ;;
27731 esac
27732 fi
27733 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27734
27735 if test -n "$PKG_CONFIG"; then
27736 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27737 echo "${ECHO_T}$PKG_CONFIG" >&6
27738 else
27739 echo "$as_me:$LINENO: result: no" >&5
27740 echo "${ECHO_T}no" >&6
27741 fi
27742
27743 fi
27744
27745 if test "$PKG_CONFIG" = "no" ; then
27746 echo "*** The pkg-config script could not be found. Make sure it is"
27747 echo "*** in your path, or set the PKG_CONFIG environment variable"
27748 echo "*** to the full path to pkg-config."
27749 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27750 else
27751 PKG_CONFIG_MIN_VERSION=0.9.0
27752 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27753 echo "$as_me:$LINENO: checking for pangoft2" >&5
27754 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27755
27756 if $PKG_CONFIG --exists "pangoft2" ; then
27757 echo "$as_me:$LINENO: result: yes" >&5
27758 echo "${ECHO_T}yes" >&6
27759 succeeded=yes
27760
27761 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27762 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27763 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27764 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27765 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27766
27767 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27768 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27769 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27770 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27771 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27772 else
27773 PANGOFT2_CFLAGS=""
27774 PANGOFT2_LIBS=""
27775 ## If we have a custom action on failure, don't print errors, but
27776 ## do set a variable so people can do so.
27777 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27778
27779 fi
27780
27781
27782
27783 else
27784 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27785 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27786 fi
27787 fi
27788
27789 if test $succeeded = yes; then
27790
27791 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27792 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27793
27794 else
27795
27796 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27797 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27798 wxUSE_PRINTING_ARCHITECTURE="no"
27799
27800
27801 fi
27802
27803
27804 succeeded=no
27805
27806 if test -z "$PKG_CONFIG"; then
27807 # Extract the first word of "pkg-config", so it can be a program name with args.
27808 set dummy pkg-config; ac_word=$2
27809 echo "$as_me:$LINENO: checking for $ac_word" >&5
27810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 case $PKG_CONFIG in
27815 [\\/]* | ?:[\\/]*)
27816 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27817 ;;
27818 *)
27819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27820 for as_dir in $PATH
27821 do
27822 IFS=$as_save_IFS
27823 test -z "$as_dir" && as_dir=.
27824 for ac_exec_ext in '' $ac_executable_extensions; do
27825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27826 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27828 break 2
27829 fi
27830 done
27831 done
27832
27833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27834 ;;
27835 esac
27836 fi
27837 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27838
27839 if test -n "$PKG_CONFIG"; then
27840 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27841 echo "${ECHO_T}$PKG_CONFIG" >&6
27842 else
27843 echo "$as_me:$LINENO: result: no" >&5
27844 echo "${ECHO_T}no" >&6
27845 fi
27846
27847 fi
27848
27849 if test "$PKG_CONFIG" = "no" ; then
27850 echo "*** The pkg-config script could not be found. Make sure it is"
27851 echo "*** in your path, or set the PKG_CONFIG environment variable"
27852 echo "*** to the full path to pkg-config."
27853 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27854 else
27855 PKG_CONFIG_MIN_VERSION=0.9.0
27856 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27857 echo "$as_me:$LINENO: checking for pangoxft" >&5
27858 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27859
27860 if $PKG_CONFIG --exists "pangoxft" ; then
27861 echo "$as_me:$LINENO: result: yes" >&5
27862 echo "${ECHO_T}yes" >&6
27863 succeeded=yes
27864
27865 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27866 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27867 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27868 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27869 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27870
27871 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27872 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27873 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27874 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27875 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27876 else
27877 PANGOXFT_CFLAGS=""
27878 PANGOXFT_LIBS=""
27879 ## If we have a custom action on failure, don't print errors, but
27880 ## do set a variable so people can do so.
27881 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27882
27883 fi
27884
27885
27886
27887 else
27888 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27889 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27890 fi
27891 fi
27892
27893 if test $succeeded = yes; then
27894
27895 cat >>confdefs.h <<\_ACEOF
27896 #define HAVE_PANGO_XFT 1
27897 _ACEOF
27898
27899 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27900 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27901
27902 else
27903
27904 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27905 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27906
27907
27908 fi
27909
27910 save_CFLAGS="$CFLAGS"
27911 save_LIBS="$LIBS"
27912 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27913 LIBS="$LIBS $PANGOX_LIBS"
27914
27915 for ac_func in pango_font_family_is_monospace
27916 do
27917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27918 echo "$as_me:$LINENO: checking for $ac_func" >&5
27919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27920 if eval "test \"\${$as_ac_var+set}\" = set"; then
27921 echo $ECHO_N "(cached) $ECHO_C" >&6
27922 else
27923 cat >conftest.$ac_ext <<_ACEOF
27924 /* confdefs.h. */
27925 _ACEOF
27926 cat confdefs.h >>conftest.$ac_ext
27927 cat >>conftest.$ac_ext <<_ACEOF
27928 /* end confdefs.h. */
27929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27931 #define $ac_func innocuous_$ac_func
27932
27933 /* System header to define __stub macros and hopefully few prototypes,
27934 which can conflict with char $ac_func (); below.
27935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27936 <limits.h> exists even on freestanding compilers. */
27937
27938 #ifdef __STDC__
27939 # include <limits.h>
27940 #else
27941 # include <assert.h>
27942 #endif
27943
27944 #undef $ac_func
27945
27946 /* Override any gcc2 internal prototype to avoid an error. */
27947 #ifdef __cplusplus
27948 extern "C"
27949 {
27950 #endif
27951 /* We use char because int might match the return type of a gcc2
27952 builtin and then its argument prototype would still apply. */
27953 char $ac_func ();
27954 /* The GNU C library defines this for functions which it implements
27955 to always fail with ENOSYS. Some functions are actually named
27956 something starting with __ and the normal name is an alias. */
27957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27958 choke me
27959 #else
27960 char (*f) () = $ac_func;
27961 #endif
27962 #ifdef __cplusplus
27963 }
27964 #endif
27965
27966 int
27967 main ()
27968 {
27969 return f != $ac_func;
27970 ;
27971 return 0;
27972 }
27973 _ACEOF
27974 rm -f conftest.$ac_objext conftest$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>conftest.er1
27977 ac_status=$?
27978 grep -v '^ *+' conftest.er1 >conftest.err
27979 rm -f conftest.er1
27980 cat conftest.err >&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27985 (eval $ac_try) 2>&5
27986 ac_status=$?
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); }; } &&
27989 { ac_try='test -s conftest$ac_exeext'
27990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27991 (eval $ac_try) 2>&5
27992 ac_status=$?
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; }; then
27995 eval "$as_ac_var=yes"
27996 else
27997 echo "$as_me: failed program was:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
27999
28000 eval "$as_ac_var=no"
28001 fi
28002 rm -f conftest.err conftest.$ac_objext \
28003 conftest$ac_exeext conftest.$ac_ext
28004 fi
28005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28007 if test `eval echo '${'$as_ac_var'}'` = yes; then
28008 cat >>confdefs.h <<_ACEOF
28009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28010 _ACEOF
28011
28012 fi
28013 done
28014
28015 CFLAGS="$save_CFLAGS"
28016 LIBS="$save_LIBS"
28017 fi
28018
28019 wxUSE_UNIVERSAL="yes"
28020
28021 if test "$wxUSE_NANOX" = "yes"; then
28022 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28023 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"
28024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28025 else
28026 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28027 fi
28028
28029 TOOLKIT=X11
28030 GUIDIST=X11_DIST
28031 fi
28032
28033 if test "$wxUSE_MOTIF" = 1; then
28034 if test "$wxUSE_UNICODE" = "yes"; then
28035 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28036 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28037 { (exit 1); exit 1; }; }
28038 fi
28039
28040 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28041 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28042
28043 ac_find_includes=
28044 for ac_dir in $SEARCH_INCLUDE /usr/include;
28045 do
28046 if test -f "$ac_dir/Xm/Xm.h"; then
28047 ac_find_includes=$ac_dir
28048 break
28049 fi
28050 done
28051
28052 if test "$ac_find_includes" != "" ; then
28053 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28054 echo "${ECHO_T}found in $ac_find_includes" >&6
28055
28056 if test "x$ac_find_includes" = "x/usr/include"; then
28057 ac_path_to_include=""
28058 else
28059 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28060 result=$?
28061 if test $result = 0; then
28062 ac_path_to_include=""
28063 else
28064 ac_path_to_include=" -I$ac_find_includes"
28065 fi
28066 fi
28067
28068 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28069 else
28070 cat >conftest.$ac_ext <<_ACEOF
28071 /* confdefs.h. */
28072 _ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076
28077 #include <Xm/Xm.h>
28078
28079 int
28080 main ()
28081 {
28082
28083 int version;
28084 version = xmUseVersion;
28085
28086 ;
28087 return 0;
28088 }
28089 _ACEOF
28090 rm -f conftest.$ac_objext
28091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28092 (eval $ac_compile) 2>conftest.er1
28093 ac_status=$?
28094 grep -v '^ *+' conftest.er1 >conftest.err
28095 rm -f conftest.er1
28096 cat conftest.err >&5
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; } &&
28105 { ac_try='test -s conftest.$ac_objext'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28108 ac_status=$?
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111
28112 echo "$as_me:$LINENO: result: found in default search path" >&5
28113 echo "${ECHO_T}found in default search path" >&6
28114 COMPILED_X_PROGRAM=1
28115
28116 else
28117 echo "$as_me: failed program was:" >&5
28118 sed 's/^/| /' conftest.$ac_ext >&5
28119
28120
28121 echo "$as_me:$LINENO: result: no" >&5
28122 echo "${ECHO_T}no" >&6
28123 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28124 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28125 { (exit 1); exit 1; }; }
28126
28127
28128 fi
28129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28130 fi
28131
28132 if test "$COMPILED_X_PROGRAM" = 0; then
28133 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28134 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28135
28136 ac_find_libraries=
28137 for ac_dir in $SEARCH_LIB /usr/lib;
28138 do
28139 for ac_extension in a so sl dylib dll.a; do
28140 if test -f "$ac_dir/libXm.$ac_extension"; then
28141 ac_find_libraries=$ac_dir
28142 break 2
28143 fi
28144 done
28145 done
28146
28147 if test "$ac_find_libraries" != "" ; then
28148 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28149 echo "${ECHO_T}found at $ac_find_libraries" >&6
28150
28151
28152 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28153 result=$?
28154 if test $result = 0; then
28155 ac_path_to_link=""
28156 else
28157 ac_path_to_link=" -L$ac_find_libraries"
28158 fi
28159
28160 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28161 else
28162 save_CFLAGS=$CFLAGS
28163 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28164
28165 cat >conftest.$ac_ext <<_ACEOF
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171
28172 #include <Xm/Xm.h>
28173
28174 int
28175 main ()
28176 {
28177
28178 int version;
28179 version = xmUseVersion;
28180
28181 ;
28182 return 0;
28183 }
28184 _ACEOF
28185 rm -f conftest.$ac_objext
28186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28187 (eval $ac_compile) 2>conftest.er1
28188 ac_status=$?
28189 grep -v '^ *+' conftest.er1 >conftest.err
28190 rm -f conftest.er1
28191 cat conftest.err >&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } &&
28194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 (eval $ac_try) 2>&5
28197 ac_status=$?
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; } &&
28200 { ac_try='test -s conftest.$ac_objext'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; }; then
28206
28207 echo "$as_me:$LINENO: result: found in default search path" >&5
28208 echo "${ECHO_T}found in default search path" >&6
28209 COMPILED_X_PROGRAM=1
28210
28211 else
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28214
28215
28216 echo "$as_me:$LINENO: result: no" >&5
28217 echo "${ECHO_T}no" >&6
28218 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28219 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28220 { (exit 1); exit 1; }; }
28221
28222
28223 fi
28224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28225
28226 CFLAGS=$save_CFLAGS
28227 fi
28228 fi
28229
28230 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28231 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28232 libp_link=""
28233 libsm_ice_link=""
28234 libs_found=0
28235 for libp in "" " -lXp"; do
28236 if test "$libs_found" = "0"; then
28237 for libsm_ice in "" " -lSM -lICE"; do
28238 if test "$libs_found" = "0"; then
28239 save_LIBS="$LIBS"
28240 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28241 save_CFLAGS=$CFLAGS
28242 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28243
28244 cat >conftest.$ac_ext <<_ACEOF
28245 /* confdefs.h. */
28246 _ACEOF
28247 cat confdefs.h >>conftest.$ac_ext
28248 cat >>conftest.$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250
28251 #include <Xm/Xm.h>
28252 #include <Xm/List.h>
28253
28254 int
28255 main ()
28256 {
28257
28258 XmString string = NULL;
28259 Widget w = NULL;
28260 int position = 0;
28261 XmListAddItem(w, string, position);
28262
28263 ;
28264 return 0;
28265 }
28266 _ACEOF
28267 rm -f conftest.$ac_objext conftest$ac_exeext
28268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28269 (eval $ac_link) 2>conftest.er1
28270 ac_status=$?
28271 grep -v '^ *+' conftest.er1 >conftest.err
28272 rm -f conftest.er1
28273 cat conftest.err >&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } &&
28282 { ac_try='test -s conftest$ac_exeext'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28285 ac_status=$?
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; }; then
28288
28289 libp_link="$libp"
28290 libsm_ice_link="$libsm_ice"
28291 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28292 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28293 libs_found=1
28294
28295 else
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.$ac_ext >&5
28298
28299
28300
28301 fi
28302 rm -f conftest.err conftest.$ac_objext \
28303 conftest$ac_exeext conftest.$ac_ext
28304
28305 LIBS="$save_LIBS"
28306 CFLAGS=$save_CFLAGS
28307 fi
28308 done
28309 fi
28310 done
28311
28312 if test "$libs_found" = "0"; then
28313 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28314 echo "${ECHO_T}can't find the right libraries" >&6
28315 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28316 echo "$as_me: error: can't link a simple motif program" >&2;}
28317 { (exit 1); exit 1; }; }
28318 fi
28319
28320 save_CFLAGS=$CFLAGS
28321 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28322 echo "$as_me:$LINENO: checking for Motif 2" >&5
28323 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28324 cat >conftest.$ac_ext <<_ACEOF
28325 /* confdefs.h. */
28326 _ACEOF
28327 cat confdefs.h >>conftest.$ac_ext
28328 cat >>conftest.$ac_ext <<_ACEOF
28329 /* end confdefs.h. */
28330
28331 #include <Xm/Xm.h>
28332
28333 int
28334 main ()
28335 {
28336
28337 #if XmVersion < 2000
28338 #error "Not Motif 2"
28339 #endif
28340
28341 ;
28342 return 0;
28343 }
28344 _ACEOF
28345 rm -f conftest.$ac_objext
28346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28347 (eval $ac_compile) 2>conftest.er1
28348 ac_status=$?
28349 grep -v '^ *+' conftest.er1 >conftest.err
28350 rm -f conftest.er1
28351 cat conftest.err >&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); } &&
28354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28356 (eval $ac_try) 2>&5
28357 ac_status=$?
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); }; } &&
28360 { ac_try='test -s conftest.$ac_objext'
28361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28362 (eval $ac_try) 2>&5
28363 ac_status=$?
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); }; }; then
28366
28367 cat >>confdefs.h <<\_ACEOF
28368 #define __WXMOTIF20__ 1
28369 _ACEOF
28370
28371 echo "$as_me:$LINENO: result: found" >&5
28372 echo "${ECHO_T}found" >&6
28373
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378
28379 cat >>confdefs.h <<\_ACEOF
28380 #define __WXMOTIF20__ 0
28381 _ACEOF
28382
28383 echo "$as_me:$LINENO: result: not found" >&5
28384 echo "${ECHO_T}not found" >&6
28385
28386 fi
28387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28388
28389 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28390 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28391 cat >conftest.$ac_ext <<_ACEOF
28392 /* confdefs.h. */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397
28398 #include <Xm/Xm.h>
28399
28400 int
28401 main ()
28402 {
28403
28404 #if !defined(LesstifVersion) || LesstifVersion <= 0
28405 #error "Not Lesstif"
28406 #endif
28407
28408 ;
28409 return 0;
28410 }
28411 _ACEOF
28412 rm -f conftest.$ac_objext
28413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28414 (eval $ac_compile) 2>conftest.er1
28415 ac_status=$?
28416 grep -v '^ *+' conftest.er1 >conftest.err
28417 rm -f conftest.er1
28418 cat conftest.err >&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } &&
28421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28423 (eval $ac_try) 2>&5
28424 ac_status=$?
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); }; } &&
28427 { ac_try='test -s conftest.$ac_objext'
28428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28429 (eval $ac_try) 2>&5
28430 ac_status=$?
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; }; then
28433
28434 cat >>confdefs.h <<\_ACEOF
28435 #define __WXLESSTIF__ 1
28436 _ACEOF
28437
28438 echo "$as_me:$LINENO: result: yes" >&5
28439 echo "${ECHO_T}yes" >&6
28440
28441 else
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.$ac_ext >&5
28444
28445
28446 cat >>confdefs.h <<\_ACEOF
28447 #define __WXLESSTIF__ 0
28448 _ACEOF
28449
28450 echo "$as_me:$LINENO: result: no" >&5
28451 echo "${ECHO_T}no" >&6
28452
28453 fi
28454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28455 CFLAGS=$save_CFLAGS
28456
28457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28458 TOOLKIT=MOTIF
28459 GUIDIST=MOTIF_DIST
28460 fi
28461
28462 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28463 if test "$wxUSE_LIBXPM" = "sys"; then
28464 echo "$as_me:$LINENO: checking for Xpm library" >&5
28465 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28466
28467 ac_find_libraries=
28468 for ac_dir in $SEARCH_LIB /usr/lib;
28469 do
28470 for ac_extension in a so sl dylib dll.a; do
28471 if test -f "$ac_dir/libXpm.$ac_extension"; then
28472 ac_find_libraries=$ac_dir
28473 break 2
28474 fi
28475 done
28476 done
28477
28478 if test "$ac_find_libraries" != "" ; then
28479
28480 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28481 result=$?
28482 if test $result = 0; then
28483 ac_path_to_link=""
28484 else
28485 ac_path_to_link=" -L$ac_find_libraries"
28486 fi
28487
28488 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28489 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28490 echo "${ECHO_T}found at $ac_find_libraries" >&6
28491
28492 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28493 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28494 if test "${wx_cv_x11_xpm_h+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 else
28497
28498 save_CFLAGS=$CFLAGS
28499 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28500
28501 cat >conftest.$ac_ext <<_ACEOF
28502 /* confdefs.h. */
28503 _ACEOF
28504 cat confdefs.h >>conftest.$ac_ext
28505 cat >>conftest.$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507
28508 #include <X11/xpm.h>
28509
28510 int
28511 main ()
28512 {
28513
28514 int version;
28515 version = XpmLibraryVersion();
28516
28517 ;
28518 return 0;
28519 }
28520 _ACEOF
28521 rm -f conftest.$ac_objext
28522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28523 (eval $ac_compile) 2>conftest.er1
28524 ac_status=$?
28525 grep -v '^ *+' conftest.er1 >conftest.err
28526 rm -f conftest.er1
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } &&
28530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28533 ac_status=$?
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; } &&
28536 { ac_try='test -s conftest.$ac_objext'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 wx_cv_x11_xpm_h=yes
28543 else
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28546
28547 wx_cv_x11_xpm_h=no
28548
28549 fi
28550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28551
28552 CFLAGS=$save_CFLAGS
28553
28554
28555 fi
28556 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28557 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28558
28559 if test $wx_cv_x11_xpm_h = "yes"; then
28560 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28561 cat >>confdefs.h <<\_ACEOF
28562 #define wxHAVE_LIB_XPM 1
28563 _ACEOF
28564
28565 else
28566 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28567 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28568 fi
28569 fi
28570
28571 fi
28572
28573 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28574 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28575 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28576 echo $ECHO_N "(cached) $ECHO_C" >&6
28577 else
28578 ac_check_lib_save_LIBS=$LIBS
28579 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28580 cat >conftest.$ac_ext <<_ACEOF
28581 /* confdefs.h. */
28582 _ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28586
28587 /* Override any gcc2 internal prototype to avoid an error. */
28588 #ifdef __cplusplus
28589 extern "C"
28590 #endif
28591 /* We use char because int might match the return type of a gcc2
28592 builtin and then its argument prototype would still apply. */
28593 char XShapeQueryExtension ();
28594 int
28595 main ()
28596 {
28597 XShapeQueryExtension ();
28598 ;
28599 return 0;
28600 }
28601 _ACEOF
28602 rm -f conftest.$ac_objext conftest$ac_exeext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28604 (eval $ac_link) 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; } &&
28617 { ac_try='test -s conftest$ac_exeext'
28618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619 (eval $ac_try) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; }; then
28623 ac_cv_lib_Xext_XShapeQueryExtension=yes
28624 else
28625 echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.$ac_ext >&5
28627
28628 ac_cv_lib_Xext_XShapeQueryExtension=no
28629 fi
28630 rm -f conftest.err conftest.$ac_objext \
28631 conftest$ac_exeext conftest.$ac_ext
28632 LIBS=$ac_check_lib_save_LIBS
28633 fi
28634 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28635 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28636 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28637
28638 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28639 wxHAVE_XEXT_LIB=1
28640
28641 fi
28642
28643
28644 if test "$wxHAVE_XEXT_LIB" = 1; then
28645 save_CFLAGS="$CFLAGS"
28646 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28647
28648 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28649 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28650 cat >conftest.$ac_ext <<_ACEOF
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656
28657 #include <X11/Xlib.h>
28658 #include <X11/extensions/shape.h>
28659
28660 int
28661 main ()
28662 {
28663
28664 int dummy1, dummy2;
28665 XShapeQueryExtension((Display*)NULL,
28666 (int*)NULL, (int*)NULL);
28667
28668 ;
28669 return 0;
28670 }
28671 _ACEOF
28672 rm -f conftest.$ac_objext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28674 (eval $ac_compile) 2>conftest.er1
28675 ac_status=$?
28676 grep -v '^ *+' conftest.er1 >conftest.err
28677 rm -f conftest.er1
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } &&
28681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683 (eval $ac_try) 2>&5
28684 ac_status=$?
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; } &&
28687 { ac_try='test -s conftest.$ac_objext'
28688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689 (eval $ac_try) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); }; }; then
28693
28694 cat >>confdefs.h <<\_ACEOF
28695 #define HAVE_XSHAPE 1
28696 _ACEOF
28697
28698 echo "$as_me:$LINENO: result: found" >&5
28699 echo "${ECHO_T}found" >&6
28700
28701 else
28702 echo "$as_me: failed program was:" >&5
28703 sed 's/^/| /' conftest.$ac_ext >&5
28704
28705
28706 echo "$as_me:$LINENO: result: not found" >&5
28707 echo "${ECHO_T}not found" >&6
28708
28709 fi
28710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28711 CFLAGS="$save_CFLAGS"
28712
28713 fi
28714 fi
28715
28716 if test "$wxUSE_MAC" = 1; then
28717 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28718 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28719 if test "$GCC" = yes; then
28720 echo "$as_me:$LINENO: result: gcc" >&5
28721 echo "${ECHO_T}gcc" >&6
28722 CPPFLAGS_PASCAL="-fpascal-strings"
28723 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28724 echo "$as_me:$LINENO: result: xlc" >&5
28725 echo "${ECHO_T}xlc" >&6
28726 CPPFLAGS_PASCAL="-qmacpstr"
28727 else
28728 echo "$as_me:$LINENO: result: none" >&5
28729 echo "${ECHO_T}none" >&6
28730 fi
28731
28732 if test "x$wxUSE_UNIX" = "xyes"; then
28733 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28734 else
28735 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28736 fi
28737
28738 TOOLKIT=MAC
28739 GUIDIST=MACX_DIST
28740 WXBASEPORT="_carbon"
28741 fi
28742
28743 if test "$wxUSE_COCOA" = 1; then
28744 TOOLKIT=COCOA
28745 GUIDIST=COCOA_DIST
28746 fi
28747
28748 if test "$wxUSE_PM" = 1; then
28749 TOOLKIT=PM
28750 GUIDIST=PM_DIST
28751 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28752 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28753 if test "${wx_cv_spbcdata+set}" = set; then
28754 echo $ECHO_N "(cached) $ECHO_C" >&6
28755 else
28756
28757 cat >conftest.$ac_ext <<_ACEOF
28758 /* confdefs.h. */
28759 _ACEOF
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28763
28764 #define INCL_PM
28765 #include <os2.h>
28766
28767 int
28768 main ()
28769 {
28770
28771 SPBCDATA test;
28772
28773 ;
28774 return 0;
28775 }
28776 _ACEOF
28777 rm -f conftest.$ac_objext
28778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28779 (eval $ac_compile) 2>conftest.er1
28780 ac_status=$?
28781 grep -v '^ *+' conftest.er1 >conftest.err
28782 rm -f conftest.er1
28783 cat conftest.err >&5
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); } &&
28786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28788 (eval $ac_try) 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; } &&
28792 { ac_try='test -s conftest.$ac_objext'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28795 ac_status=$?
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; }; then
28798 wx_cv_spbcdata=yes
28799 else
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.$ac_ext >&5
28802
28803 wx_cv_spbcdata=no
28804
28805 fi
28806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28807
28808
28809 fi
28810 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28811 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28812
28813 if test $wx_cv_spbcdata = "yes"; then
28814 cat >>confdefs.h <<\_ACEOF
28815 #define HAVE_SPBCDATA 1
28816 _ACEOF
28817
28818 fi
28819 fi
28820
28821 if test "$TOOLKIT" = "PM" ; then
28822 TOOLKIT_DIR="os2"
28823 else
28824 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28825 fi
28826
28827 if test "$wxUSE_UNIVERSAL" = "yes"; then
28828 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28829 WIDGET_SET=univ
28830 fi
28831
28832 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28833 DISTDIR="wx\$(TOOLKIT)"
28834 else
28835 USE_GUI=0
28836
28837 TOOLKIT_DIR="base"
28838
28839 if test "$USE_WIN32" = 1 ; then
28840 TOOLKIT="MSW"
28841 fi
28842
28843 GUIDIST="BASE_DIST"
28844 DISTDIR="wxBase"
28845 fi
28846
28847
28848
28849
28850 IODBC_C_SRC=""
28851
28852
28853 if test "$TOOLKIT" != "MSW" ; then
28854
28855 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28856
28857 if test "${ac_cv_header_sql_h+set}" = set; then
28858 echo "$as_me:$LINENO: checking for sql.h" >&5
28859 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28860 if test "${ac_cv_header_sql_h+set}" = set; then
28861 echo $ECHO_N "(cached) $ECHO_C" >&6
28862 fi
28863 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28864 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28865 else
28866 # Is the header compilable?
28867 echo "$as_me:$LINENO: checking sql.h usability" >&5
28868 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h. */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 $ac_includes_default
28876 #include <sql.h>
28877 _ACEOF
28878 rm -f conftest.$ac_objext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28880 (eval $ac_compile) 2>conftest.er1
28881 ac_status=$?
28882 grep -v '^ *+' conftest.er1 >conftest.err
28883 rm -f conftest.er1
28884 cat conftest.err >&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; } &&
28893 { ac_try='test -s conftest.$ac_objext'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 ac_header_compiler=yes
28900 else
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28903
28904 ac_header_compiler=no
28905 fi
28906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28908 echo "${ECHO_T}$ac_header_compiler" >&6
28909
28910 # Is the header present?
28911 echo "$as_me:$LINENO: checking sql.h presence" >&5
28912 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919 #include <sql.h>
28920 _ACEOF
28921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28923 ac_status=$?
28924 grep -v '^ *+' conftest.er1 >conftest.err
28925 rm -f conftest.er1
28926 cat conftest.err >&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); } >/dev/null; then
28929 if test -s conftest.err; then
28930 ac_cpp_err=$ac_c_preproc_warn_flag
28931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28932 else
28933 ac_cpp_err=
28934 fi
28935 else
28936 ac_cpp_err=yes
28937 fi
28938 if test -z "$ac_cpp_err"; then
28939 ac_header_preproc=yes
28940 else
28941 echo "$as_me: failed program was:" >&5
28942 sed 's/^/| /' conftest.$ac_ext >&5
28943
28944 ac_header_preproc=no
28945 fi
28946 rm -f conftest.err conftest.$ac_ext
28947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28948 echo "${ECHO_T}$ac_header_preproc" >&6
28949
28950 # So? What about this header?
28951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28952 yes:no: )
28953 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28954 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28955 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28956 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28957 ac_header_preproc=yes
28958 ;;
28959 no:yes:* )
28960 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28961 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28962 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28963 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28964 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28965 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28966 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28967 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28968 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28969 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28970 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28971 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28972 (
28973 cat <<\_ASBOX
28974 ## ----------------------------------------- ##
28975 ## Report this to wx-dev@lists.wxwidgets.org ##
28976 ## ----------------------------------------- ##
28977 _ASBOX
28978 ) |
28979 sed "s/^/$as_me: WARNING: /" >&2
28980 ;;
28981 esac
28982 echo "$as_me:$LINENO: checking for sql.h" >&5
28983 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28984 if test "${ac_cv_header_sql_h+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28986 else
28987 ac_cv_header_sql_h=$ac_header_preproc
28988 fi
28989 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28990 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28991
28992 fi
28993 if test $ac_cv_header_sql_h = yes; then
28994 found_sql_h=1
28995 fi
28996
28997
28998 if test "x$found_sql_h" = "x1" ; then
28999 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29000 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29001 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29002 echo $ECHO_N "(cached) $ECHO_C" >&6
29003 else
29004 ac_check_lib_save_LIBS=$LIBS
29005 LIBS="-liodbc $LIBS"
29006 cat >conftest.$ac_ext <<_ACEOF
29007 /* confdefs.h. */
29008 _ACEOF
29009 cat confdefs.h >>conftest.$ac_ext
29010 cat >>conftest.$ac_ext <<_ACEOF
29011 /* end confdefs.h. */
29012
29013 /* Override any gcc2 internal prototype to avoid an error. */
29014 #ifdef __cplusplus
29015 extern "C"
29016 #endif
29017 /* We use char because int might match the return type of a gcc2
29018 builtin and then its argument prototype would still apply. */
29019 char SQLAllocEnv ();
29020 int
29021 main ()
29022 {
29023 SQLAllocEnv ();
29024 ;
29025 return 0;
29026 }
29027 _ACEOF
29028 rm -f conftest.$ac_objext conftest$ac_exeext
29029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29030 (eval $ac_link) 2>conftest.er1
29031 ac_status=$?
29032 grep -v '^ *+' conftest.er1 >conftest.err
29033 rm -f conftest.er1
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } &&
29037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29039 (eval $ac_try) 2>&5
29040 ac_status=$?
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); }; } &&
29043 { ac_try='test -s conftest$ac_exeext'
29044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29045 (eval $ac_try) 2>&5
29046 ac_status=$?
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); }; }; then
29049 ac_cv_lib_iodbc_SQLAllocEnv=yes
29050 else
29051 echo "$as_me: failed program was:" >&5
29052 sed 's/^/| /' conftest.$ac_ext >&5
29053
29054 ac_cv_lib_iodbc_SQLAllocEnv=no
29055 fi
29056 rm -f conftest.err conftest.$ac_objext \
29057 conftest$ac_exeext conftest.$ac_ext
29058 LIBS=$ac_check_lib_save_LIBS
29059 fi
29060 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29061 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29062 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29063 ODBC_LINK=" -liodbc"
29064 else
29065
29066 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29067 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29068 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29069 echo $ECHO_N "(cached) $ECHO_C" >&6
29070 else
29071 ac_check_lib_save_LIBS=$LIBS
29072 LIBS="-lunixodbc $LIBS"
29073 cat >conftest.$ac_ext <<_ACEOF
29074 /* confdefs.h. */
29075 _ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079
29080 /* Override any gcc2 internal prototype to avoid an error. */
29081 #ifdef __cplusplus
29082 extern "C"
29083 #endif
29084 /* We use char because int might match the return type of a gcc2
29085 builtin and then its argument prototype would still apply. */
29086 char SQLAllocEnv ();
29087 int
29088 main ()
29089 {
29090 SQLAllocEnv ();
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext conftest$ac_exeext
29096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29097 (eval $ac_link) 2>conftest.er1
29098 ac_status=$?
29099 grep -v '^ *+' conftest.er1 >conftest.err
29100 rm -f conftest.er1
29101 cat conftest.err >&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); } &&
29104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106 (eval $ac_try) 2>&5
29107 ac_status=$?
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; } &&
29110 { ac_try='test -s conftest$ac_exeext'
29111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29112 (eval $ac_try) 2>&5
29113 ac_status=$?
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); }; }; then
29116 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29117 else
29118 echo "$as_me: failed program was:" >&5
29119 sed 's/^/| /' conftest.$ac_ext >&5
29120
29121 ac_cv_lib_unixodbc_SQLAllocEnv=no
29122 fi
29123 rm -f conftest.err conftest.$ac_objext \
29124 conftest$ac_exeext conftest.$ac_ext
29125 LIBS=$ac_check_lib_save_LIBS
29126 fi
29127 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29128 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29129 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29130 ODBC_LINK=" -lunixodbc"
29131 else
29132
29133 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29134 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29135 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29136 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 else
29138 ac_check_lib_save_LIBS=$LIBS
29139 LIBS="-lodbc $LIBS"
29140 cat >conftest.$ac_ext <<_ACEOF
29141 /* confdefs.h. */
29142 _ACEOF
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146
29147 /* Override any gcc2 internal prototype to avoid an error. */
29148 #ifdef __cplusplus
29149 extern "C"
29150 #endif
29151 /* We use char because int might match the return type of a gcc2
29152 builtin and then its argument prototype would still apply. */
29153 char SQLAllocEnv ();
29154 int
29155 main ()
29156 {
29157 SQLAllocEnv ();
29158 ;
29159 return 0;
29160 }
29161 _ACEOF
29162 rm -f conftest.$ac_objext conftest$ac_exeext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29164 (eval $ac_link) 2>conftest.er1
29165 ac_status=$?
29166 grep -v '^ *+' conftest.er1 >conftest.err
29167 rm -f conftest.er1
29168 cat conftest.err >&5
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); } &&
29171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; } &&
29177 { ac_try='test -s conftest$ac_exeext'
29178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29179 (eval $ac_try) 2>&5
29180 ac_status=$?
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); }; }; then
29183 ac_cv_lib_odbc_SQLAllocEnv=yes
29184 else
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29187
29188 ac_cv_lib_odbc_SQLAllocEnv=no
29189 fi
29190 rm -f conftest.err conftest.$ac_objext \
29191 conftest$ac_exeext conftest.$ac_ext
29192 LIBS=$ac_check_lib_save_LIBS
29193 fi
29194 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29195 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29196 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29197 ODBC_LINK=" -lodbc"
29198 fi
29199
29200
29201 fi
29202
29203
29204 fi
29205
29206 fi
29207 if test "x$ODBC_LINK" = "x" ; then
29208 if test "$wxUSE_ODBC" = "sys" ; then
29209 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29210 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29211 { (exit 1); exit 1; }; }
29212 else
29213 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29214 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29215 wxUSE_ODBC=builtin
29216 fi
29217 else
29218 wxUSE_ODBC=sys
29219 fi
29220 fi
29221
29222 if test "$wxUSE_ODBC" = "builtin" ; then
29223 cat >>confdefs.h <<\_ACEOF
29224 #define wxUSE_BUILTIN_IODBC 1
29225 _ACEOF
29226
29227 fi
29228 fi
29229
29230 if test "$wxUSE_ODBC" != "no" ; then
29231 cat >>confdefs.h <<\_ACEOF
29232 #define wxUSE_ODBC 1
29233 _ACEOF
29234
29235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29236
29237 WXODBCFLAG="-D_IODBC_"
29238 fi
29239
29240
29241 if test "$wxUSE_DISPLAY" = "yes"; then
29242 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29243 echo "$as_me:$LINENO: checking for Xinerama" >&5
29244 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29245
29246 ac_find_libraries=
29247 for ac_dir in $SEARCH_LIB /usr/lib;
29248 do
29249 for ac_extension in a so sl dylib dll.a; do
29250 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29251 ac_find_libraries=$ac_dir
29252 break 2
29253 fi
29254 done
29255 done
29256
29257 if test "$ac_find_libraries" != "" ; then
29258
29259 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29260 result=$?
29261 if test $result = 0; then
29262 ac_path_to_link=""
29263 else
29264 ac_path_to_link=" -L$ac_find_libraries"
29265 fi
29266
29267 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29268 LDFLAGS="$LDFLAGS $ac_path_to_link"
29269 fi
29270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29271 echo "$as_me:$LINENO: result: yes" >&5
29272 echo "${ECHO_T}yes" >&6
29273
29274 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29275 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29276
29277 ac_find_libraries=
29278 for ac_dir in $SEARCH_LIB /usr/lib;
29279 do
29280 for ac_extension in a so sl dylib dll.a; do
29281 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29282 ac_find_libraries=$ac_dir
29283 break 2
29284 fi
29285 done
29286 done
29287
29288 if test "$ac_find_libraries" != "" ; then
29289 echo "$as_me:$LINENO: result: yes" >&5
29290 echo "${ECHO_T}yes" >&6
29291
29292 for ac_header in X11/extensions/xf86vmode.h
29293 do
29294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29295 echo "$as_me:$LINENO: checking for $ac_header" >&5
29296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29298 echo $ECHO_N "(cached) $ECHO_C" >&6
29299 else
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306
29307 #if HAVE_X11_XLIB_H
29308 #include <X11/Xlib.h>
29309 #endif
29310
29311
29312 #include <$ac_header>
29313 _ACEOF
29314 rm -f conftest.$ac_objext
29315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29316 (eval $ac_compile) 2>conftest.er1
29317 ac_status=$?
29318 grep -v '^ *+' conftest.er1 >conftest.err
29319 rm -f conftest.er1
29320 cat conftest.err >&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); } &&
29323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29326 ac_status=$?
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; } &&
29329 { ac_try='test -s conftest.$ac_objext'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29332 ac_status=$?
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; }; then
29335 eval "$as_ac_Header=yes"
29336 else
29337 echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.$ac_ext >&5
29339
29340 eval "$as_ac_Header=no"
29341 fi
29342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29343 fi
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29347 cat >>confdefs.h <<_ACEOF
29348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29349 _ACEOF
29350
29351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29352
29353 fi
29354
29355 done
29356
29357 else
29358 echo "$as_me:$LINENO: result: no" >&5
29359 echo "${ECHO_T}no" >&6
29360 fi
29361
29362 else
29363 echo "$as_me:$LINENO: result: no" >&5
29364 echo "${ECHO_T}no" >&6
29365 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29366 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29367 wxUSE_DISPLAY="no"
29368 fi
29369 elif test "$wxUSE_MSW" = 1; then
29370
29371
29372 for ac_header in multimon.h ddraw.h
29373 do
29374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29375 echo "$as_me:$LINENO: checking for $ac_header" >&5
29376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29379 else
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 <windows.h>
29387
29388 #include <$ac_header>
29389 _ACEOF
29390 rm -f conftest.$ac_objext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29392 (eval $ac_compile) 2>conftest.er1
29393 ac_status=$?
29394 grep -v '^ *+' conftest.er1 >conftest.err
29395 rm -f conftest.er1
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29401 (eval $ac_try) 2>&5
29402 ac_status=$?
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); }; } &&
29405 { ac_try='test -s conftest.$ac_objext'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; }; then
29411 eval "$as_ac_Header=yes"
29412 else
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29415
29416 eval "$as_ac_Header=no"
29417 fi
29418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29419 fi
29420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29423 cat >>confdefs.h <<_ACEOF
29424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29425 _ACEOF
29426
29427 else
29428
29429 wxUSE_DISPLAY="no"
29430 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29431 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29432
29433 fi
29434
29435 done
29436
29437 fi
29438 fi
29439
29440
29441 USE_OPENGL=0
29442 if test "$wxUSE_OPENGL" = "yes"; then
29443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29444 OPENGL_LIBS="-framework OpenGL -framework AGL"
29445 elif test "$wxUSE_MSW" = 1; then
29446 OPENGL_LIBS="-lopengl32 -lglu32"
29447 else
29448
29449
29450 ac_find_includes=
29451 for ac_dir in $SEARCH_INCLUDE /usr/include;
29452 do
29453 if test -f "$ac_dir/GL/gl.h"; then
29454 ac_find_includes=$ac_dir
29455 break
29456 fi
29457 done
29458
29459 if test "$ac_find_includes" != "" ; then
29460 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29461 echo "${ECHO_T}found in $ac_find_includes" >&6
29462
29463 if test "x$ac_find_includes" = "x/usr/include"; then
29464 ac_path_to_include=""
29465 else
29466 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29467 result=$?
29468 if test $result = 0; then
29469 ac_path_to_include=""
29470 else
29471 ac_path_to_include=" -I$ac_find_includes"
29472 fi
29473 fi
29474
29475 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29476 fi
29477
29478 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29479 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29480 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29481 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29482 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 fi
29484 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29485 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29486 else
29487 # Is the header compilable?
29488 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29489 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 $ac_includes_default
29497 #include <GL/gl.h>
29498 _ACEOF
29499 rm -f conftest.$ac_objext
29500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29501 (eval $ac_compile) 2>conftest.er1
29502 ac_status=$?
29503 grep -v '^ *+' conftest.er1 >conftest.err
29504 rm -f conftest.er1
29505 cat conftest.err >&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } &&
29508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29511 ac_status=$?
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; } &&
29514 { ac_try='test -s conftest.$ac_objext'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; }; then
29520 ac_header_compiler=yes
29521 else
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.$ac_ext >&5
29524
29525 ac_header_compiler=no
29526 fi
29527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29529 echo "${ECHO_T}$ac_header_compiler" >&6
29530
29531 # Is the header present?
29532 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29533 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29534 cat >conftest.$ac_ext <<_ACEOF
29535 /* confdefs.h. */
29536 _ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29540 #include <GL/gl.h>
29541 _ACEOF
29542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } >/dev/null; then
29550 if test -s conftest.err; then
29551 ac_cpp_err=$ac_c_preproc_warn_flag
29552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29553 else
29554 ac_cpp_err=
29555 fi
29556 else
29557 ac_cpp_err=yes
29558 fi
29559 if test -z "$ac_cpp_err"; then
29560 ac_header_preproc=yes
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 ac_header_preproc=no
29566 fi
29567 rm -f conftest.err conftest.$ac_ext
29568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29569 echo "${ECHO_T}$ac_header_preproc" >&6
29570
29571 # So? What about this header?
29572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29573 yes:no: )
29574 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29575 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29576 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29577 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29578 ac_header_preproc=yes
29579 ;;
29580 no:yes:* )
29581 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29582 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29583 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29584 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29585 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29586 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29587 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29588 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29590 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29592 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29593 (
29594 cat <<\_ASBOX
29595 ## ----------------------------------------- ##
29596 ## Report this to wx-dev@lists.wxwidgets.org ##
29597 ## ----------------------------------------- ##
29598 _ASBOX
29599 ) |
29600 sed "s/^/$as_me: WARNING: /" >&2
29601 ;;
29602 esac
29603 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29604 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29605 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 else
29608 ac_cv_header_GL_gl_h=$ac_header_preproc
29609 fi
29610 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29611 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29612
29613 fi
29614 if test $ac_cv_header_GL_gl_h = yes; then
29615
29616 found_gl=0
29617
29618 echo "$as_me:$LINENO: checking for -lGL" >&5
29619 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29620
29621 ac_find_libraries=
29622 for ac_dir in $SEARCH_LIB /usr/lib;
29623 do
29624 for ac_extension in a so sl dylib dll.a; do
29625 if test -f "$ac_dir/libGL.$ac_extension"; then
29626 ac_find_libraries=$ac_dir
29627 break 2
29628 fi
29629 done
29630 done
29631
29632 if test "$ac_find_libraries" != "" ; then
29633 echo "$as_me:$LINENO: result: yes" >&5
29634 echo "${ECHO_T}yes" >&6
29635
29636
29637 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29638 result=$?
29639 if test $result = 0; then
29640 ac_path_to_link=""
29641 else
29642 ac_path_to_link=" -L$ac_find_libraries"
29643 fi
29644
29645 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29646 LDFLAGS_GL="$ac_path_to_link"
29647 fi
29648
29649 echo "$as_me:$LINENO: checking for -lGLU" >&5
29650 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29651
29652 ac_find_libraries=
29653 for ac_dir in $SEARCH_LIB /usr/lib;
29654 do
29655 for ac_extension in a so sl dylib dll.a; do
29656 if test -f "$ac_dir/libGLU.$ac_extension"; then
29657 ac_find_libraries=$ac_dir
29658 break 2
29659 fi
29660 done
29661 done
29662
29663 if test "$ac_find_libraries" != "" ; then
29664
29665 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29666 result=$?
29667 if test $result = 0; then
29668 ac_path_to_link=""
29669 else
29670 ac_path_to_link=" -L$ac_find_libraries"
29671 fi
29672
29673 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29674 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29675 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29676 fi
29677
29678 found_gl=1
29679 OPENGL_LIBS="-lGL -lGLU"
29680 echo "$as_me:$LINENO: result: yes" >&5
29681 echo "${ECHO_T}yes" >&6
29682 else
29683 echo "$as_me:$LINENO: result: no" >&5
29684 echo "${ECHO_T}no" >&6
29685 fi
29686 else
29687 echo "$as_me:$LINENO: result: no" >&5
29688 echo "${ECHO_T}no" >&6
29689 fi
29690
29691 if test "$found_gl" != 1; then
29692 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29693 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29694
29695 ac_find_libraries=
29696 for ac_dir in $SEARCH_LIB /usr/lib;
29697 do
29698 for ac_extension in a so sl dylib dll.a; do
29699 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29700 ac_find_libraries=$ac_dir
29701 break 2
29702 fi
29703 done
29704 done
29705
29706 if test "$ac_find_libraries" != "" ; then
29707
29708 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29709 result=$?
29710 if test $result = 0; then
29711 ac_path_to_link=""
29712 else
29713 ac_path_to_link=" -L$ac_find_libraries"
29714 fi
29715
29716 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29717 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29718 echo "$as_me:$LINENO: result: yes" >&5
29719 echo "${ECHO_T}yes" >&6
29720 else
29721 echo "$as_me:$LINENO: result: no" >&5
29722 echo "${ECHO_T}no" >&6
29723 fi
29724 fi
29725
29726 fi
29727
29728
29729
29730 if test "x$OPENGL_LIBS" = "x"; then
29731 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29732 echo "$as_me: error: OpenGL libraries not available" >&2;}
29733 { (exit 1); exit 1; }; }
29734 fi
29735 fi
29736
29737 if test "$wxUSE_OPENGL" = "yes"; then
29738 USE_OPENGL=1
29739 cat >>confdefs.h <<\_ACEOF
29740 #define wxUSE_OPENGL 1
29741 _ACEOF
29742
29743 cat >>confdefs.h <<\_ACEOF
29744 #define wxUSE_GLCANVAS 1
29745 _ACEOF
29746
29747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29748 fi
29749 fi
29750
29751
29752 if test -n "$TOOLKIT" ; then
29753 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29754 fi
29755
29756
29757
29758 if test "$wxUSE_SHARED" = "yes"; then
29759 case "${host}" in
29760 *-pc-msdosdjgpp )
29761 wxUSE_SHARED=no
29762 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29763 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29764 ;;
29765 esac
29766 fi
29767
29768 if test "$wxUSE_SHARED" = "yes"; then
29769
29770
29771 found_versioning=no
29772
29773
29774 if test $found_versioning = no ; then
29775 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29776 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29777 if test "${wx_cv_version_script+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 else
29780
29781 echo "VER_1 { *; };" >conftest.sym
29782 echo "int main() { return 0; }" >conftest.cpp
29783
29784 if { ac_try='
29785 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29786 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29789 ac_status=$?
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; } ; then
29792 if test -s conftest.stderr ; then
29793 wx_cv_version_script=no
29794 else
29795 wx_cv_version_script=yes
29796 fi
29797 else
29798 wx_cv_version_script=no
29799 fi
29800
29801 if test $wx_cv_version_script = yes
29802 then
29803 echo "struct B { virtual ~B() { } }; \
29804 struct D : public B { }; \
29805 void F() { D d; }" > conftest.cpp
29806
29807 if { ac_try='
29808 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29809 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29812 ac_status=$?
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; } &&
29815 { ac_try='
29816 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29817 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29819 (eval $ac_try) 2>&5
29820 ac_status=$?
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); }; }
29823 then
29824 if { ac_try='
29825 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29826 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828 (eval $ac_try) 2>&5
29829 ac_status=$?
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); }; }
29832 then
29833 wx_cv_version_script=yes
29834 else
29835 wx_cv_version_script=no
29836 fi
29837 fi
29838 fi
29839
29840 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29841 rm -f conftest1.output conftest2.output conftest3.output
29842
29843 fi
29844 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29845 echo "${ECHO_T}$wx_cv_version_script" >&6
29846 if test $wx_cv_version_script = yes ; then
29847 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29848 fi
29849 fi
29850
29851
29852 case "${host}" in
29853 *-*-linux* | *-*-gnu* )
29854 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29855 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29856 ;;
29857
29858 *-*-solaris2* )
29859 if test "$GCC" = yes ; then
29860 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29861
29862 saveLdflags="$LDFLAGS"
29863 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29864 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29865 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29866 cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h. */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872
29873 int
29874 main ()
29875 {
29876
29877 ;
29878 return 0;
29879 }
29880 _ACEOF
29881 rm -f conftest.$ac_objext conftest$ac_exeext
29882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29883 (eval $ac_link) 2>conftest.er1
29884 ac_status=$?
29885 grep -v '^ *+' conftest.er1 >conftest.err
29886 rm -f conftest.er1
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try='test -s conftest$ac_exeext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902
29903 echo "$as_me:$LINENO: result: yes" >&5
29904 echo "${ECHO_T}yes" >&6
29905 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29906 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29907
29908 else
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912
29913 echo "$as_me:$LINENO: result: no" >&5
29914 echo "${ECHO_T}no" >&6
29915 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29916 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29917 LDFLAGS="$saveLdflags -Wl,-R,/"
29918 cat >conftest.$ac_ext <<_ACEOF
29919 /* confdefs.h. */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924
29925 int
29926 main ()
29927 {
29928
29929 ;
29930 return 0;
29931 }
29932 _ACEOF
29933 rm -f conftest.$ac_objext conftest$ac_exeext
29934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29935 (eval $ac_link) 2>conftest.er1
29936 ac_status=$?
29937 grep -v '^ *+' conftest.er1 >conftest.err
29938 rm -f conftest.er1
29939 cat conftest.err >&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; } &&
29948 { ac_try='test -s conftest$ac_exeext'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29951 ac_status=$?
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; }; then
29954
29955 echo "$as_me:$LINENO: result: yes" >&5
29956 echo "${ECHO_T}yes" >&6
29957 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29958 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29959
29960 else
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.$ac_ext >&5
29963
29964
29965 echo "$as_me:$LINENO: result: no" >&5
29966 echo "${ECHO_T}no" >&6
29967
29968 fi
29969 rm -f conftest.err conftest.$ac_objext \
29970 conftest$ac_exeext conftest.$ac_ext
29971
29972 fi
29973 rm -f conftest.err conftest.$ac_objext \
29974 conftest$ac_exeext conftest.$ac_ext
29975 LDFLAGS="$saveLdflags"
29976 else
29977 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29978 WXCONFIG_RPATH="-R\$libdir"
29979 fi
29980 ;;
29981
29982 powerpc-*-darwin* )
29983 install_name_tool=`which install_name_tool`
29984 if test "$install_name_tool" -a -x "$install_name_tool"; then
29985 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29986 cat <<EOF >change-install-names
29987 #!/bin/sh
29988 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29989 inst_cmd="install_name_tool "
29990 for i in \${libnames} ; do
29991 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29992 done
29993 \${inst_cmd} \${3}
29994 EOF
29995 chmod +x change-install-names
29996 fi
29997 ;;
29998
29999 *-*-cygwin* | *-*-mingw32* )
30000 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30001 ;;
30002
30003 *-*-hpux* )
30004 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
30005 WXCONFIG_RPATH="-Wl,+b,\$libdir"
30006 ;;
30007
30008 esac
30009
30010 if test $wxUSE_RPATH = "no"; then
30011 SAMPLES_RPATH_FLAG=''
30012 SAMPLES_RPATH_POSTLINK=''
30013 WXCONFIG_RPATH=''
30014 fi
30015
30016 SHARED=1
30017
30018 else
30019
30020 config_linkage_component="-static"
30021 SHARED=0
30022
30023 fi
30024
30025
30026 UNICODE=0
30027 lib_unicode_suffix=
30028 WX_CHARTYPE="ansi"
30029 if test "$wxUSE_UNICODE" = "yes"; then
30030 lib_unicode_suffix=u
30031 WX_CHARTYPE="unicode"
30032 UNICODE=1
30033 fi
30034
30035 lib_debug_suffix=
30036 WX_DEBUGTYPE="release"
30037 DEBUG_FLAG=0
30038 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30039 lib_debug_suffix=d
30040 WX_DEBUGTYPE="debug"
30041 DEBUG_FLAG=1
30042 fi
30043
30044 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30045 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30046
30047 DEBUG_INFO=0
30048 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30049 DEBUG_INFO=1
30050 fi
30051
30052 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30053
30054 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30055
30056 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30057
30058 if test "$cross_compiling" = "yes"; then
30059 HOST_SUFFIX="-$host_alias"
30060 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30061 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30062 fi
30063
30064 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30065 if test "${TOOLKIT_DIR}" = "os2"; then
30066 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30067 else
30068 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30069 fi
30070
30071
30072
30073 if test "$wxUSE_COCOA" = 1; then
30074
30075
30076 ac_ext=c
30077 ac_cpp='$CPP $CPPFLAGS'
30078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30081
30082 ac_ext=m
30083
30084 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30085 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30086 cat >conftest.$ac_ext <<_ACEOF
30087 /* confdefs.h. */
30088 _ACEOF
30089 cat confdefs.h >>conftest.$ac_ext
30090 cat >>conftest.$ac_ext <<_ACEOF
30091 /* end confdefs.h. */
30092 #include <AppKit/NSEvent.h>
30093 #include <CoreFoundation/CoreFoundation.h>
30094
30095 int
30096 main ()
30097 {
30098
30099 ;
30100 return 0;
30101 }
30102 _ACEOF
30103 rm -f conftest.$ac_objext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30105 (eval $ac_compile) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest.$ac_objext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 echo "$as_me:$LINENO: result: yes" >&5
30131 echo "${ECHO_T}yes" >&6
30132 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30133 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30134 cat >conftest.$ac_ext <<_ACEOF
30135 /* confdefs.h. */
30136 _ACEOF
30137 cat confdefs.h >>conftest.$ac_ext
30138 cat >>conftest.$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30140 #define __Point__ 1
30141 #include <AppKit/NSEvent.h>
30142 #include <CoreFoundation/CoreFoundation.h>
30143
30144 int
30145 main ()
30146 {
30147
30148 ;
30149 return 0;
30150 }
30151 _ACEOF
30152 rm -f conftest.$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154 (eval $ac_compile) 2>conftest.er1
30155 ac_status=$?
30156 grep -v '^ *+' conftest.er1 >conftest.err
30157 rm -f conftest.er1
30158 cat conftest.err >&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; } &&
30167 { ac_try='test -s conftest.$ac_objext'
30168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30169 (eval $ac_try) 2>&5
30170 ac_status=$?
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); }; }; then
30173 echo "$as_me:$LINENO: result: yes" >&5
30174 echo "${ECHO_T}yes" >&6
30175 cat >>confdefs.h <<\_ACEOF
30176 #define __Point__ 1
30177 _ACEOF
30178
30179
30180 else
30181 echo "$as_me: failed program was:" >&5
30182 sed 's/^/| /' conftest.$ac_ext >&5
30183
30184 { { echo "$as_me:$LINENO: error: no
30185 See \`config.log' for more details." >&5
30186 echo "$as_me: error: no
30187 See \`config.log' for more details." >&2;}
30188 { (exit 1); exit 1; }; }
30189
30190 fi
30191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30192
30193 fi
30194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30195 ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30200
30201 fi
30202
30203 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30204 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30205 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30206
30207 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30208
30209 # Extract the first word of "Rez", so it can be a program name with args.
30210 set dummy Rez; ac_word=$2
30211 echo "$as_me:$LINENO: checking for $ac_word" >&5
30212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30213 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30214 echo $ECHO_N "(cached) $ECHO_C" >&6
30215 else
30216 if test -n "$RESCOMP"; then
30217 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30218 else
30219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30220 for as_dir in $PATH
30221 do
30222 IFS=$as_save_IFS
30223 test -z "$as_dir" && as_dir=.
30224 for ac_exec_ext in '' $ac_executable_extensions; do
30225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30226 ac_cv_prog_RESCOMP="Rez"
30227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30228 break 2
30229 fi
30230 done
30231 done
30232
30233 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30234 fi
30235 fi
30236 RESCOMP=$ac_cv_prog_RESCOMP
30237 if test -n "$RESCOMP"; then
30238 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30239 echo "${ECHO_T}$RESCOMP" >&6
30240 else
30241 echo "$as_me:$LINENO: result: no" >&5
30242 echo "${ECHO_T}no" >&6
30243 fi
30244
30245 # Extract the first word of "DeRez", so it can be a program name with args.
30246 set dummy DeRez; ac_word=$2
30247 echo "$as_me:$LINENO: checking for $ac_word" >&5
30248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30249 if test "${ac_cv_prog_DEREZ+set}" = set; then
30250 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 else
30252 if test -n "$DEREZ"; then
30253 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30254 else
30255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30256 for as_dir in $PATH
30257 do
30258 IFS=$as_save_IFS
30259 test -z "$as_dir" && as_dir=.
30260 for ac_exec_ext in '' $ac_executable_extensions; do
30261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30262 ac_cv_prog_DEREZ="DeRez"
30263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30264 break 2
30265 fi
30266 done
30267 done
30268
30269 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30270 fi
30271 fi
30272 DEREZ=$ac_cv_prog_DEREZ
30273 if test -n "$DEREZ"; then
30274 echo "$as_me:$LINENO: result: $DEREZ" >&5
30275 echo "${ECHO_T}$DEREZ" >&6
30276 else
30277 echo "$as_me:$LINENO: result: no" >&5
30278 echo "${ECHO_T}no" >&6
30279 fi
30280
30281 # Extract the first word of "SetFile", so it can be a program name with args.
30282 set dummy SetFile; ac_word=$2
30283 echo "$as_me:$LINENO: checking for $ac_word" >&5
30284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30285 if test "${ac_cv_prog_SETFILE+set}" = set; then
30286 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 else
30288 if test -n "$SETFILE"; then
30289 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30290 else
30291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30292 for as_dir in $PATH
30293 do
30294 IFS=$as_save_IFS
30295 test -z "$as_dir" && as_dir=.
30296 for ac_exec_ext in '' $ac_executable_extensions; do
30297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30298 ac_cv_prog_SETFILE="SetFile"
30299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30300 break 2
30301 fi
30302 done
30303 done
30304
30305 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30306 fi
30307 fi
30308 SETFILE=$ac_cv_prog_SETFILE
30309 if test -n "$SETFILE"; then
30310 echo "$as_me:$LINENO: result: $SETFILE" >&5
30311 echo "${ECHO_T}$SETFILE" >&6
30312 else
30313 echo "$as_me:$LINENO: result: no" >&5
30314 echo "${ECHO_T}no" >&6
30315 fi
30316
30317
30318 MACSETFILE="\$(SETFILE)"
30319
30320 if test "$wxUSE_MAC" = 1; then
30321 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30322
30323 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30324 else
30325 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30326 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30327 fi
30328 else
30329 MACSETFILE="@true"
30330 MACRESWXCONFIG="@true"
30331
30332 if test "$wxUSE_PM" = 1; then
30333 MACRESCOMP="emxbind -ep"
30334 else
30335 MACRESCOMP="@true"
30336 fi
30337 fi
30338
30339
30340
30341 echo "$as_me:$LINENO: checking for mode_t" >&5
30342 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30343 if test "${ac_cv_type_mode_t+set}" = set; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346 cat >conftest.$ac_ext <<_ACEOF
30347 /* confdefs.h. */
30348 _ACEOF
30349 cat confdefs.h >>conftest.$ac_ext
30350 cat >>conftest.$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352 $ac_includes_default
30353 int
30354 main ()
30355 {
30356 if ((mode_t *) 0)
30357 return 0;
30358 if (sizeof (mode_t))
30359 return 0;
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 rm -f conftest.$ac_objext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30366 (eval $ac_compile) 2>conftest.er1
30367 ac_status=$?
30368 grep -v '^ *+' conftest.er1 >conftest.err
30369 rm -f conftest.er1
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; } &&
30379 { ac_try='test -s conftest.$ac_objext'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30382 ac_status=$?
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; }; then
30385 ac_cv_type_mode_t=yes
30386 else
30387 echo "$as_me: failed program was:" >&5
30388 sed 's/^/| /' conftest.$ac_ext >&5
30389
30390 ac_cv_type_mode_t=no
30391 fi
30392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30393 fi
30394 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30395 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30396 if test $ac_cv_type_mode_t = yes; then
30397 :
30398 else
30399
30400 cat >>confdefs.h <<_ACEOF
30401 #define mode_t int
30402 _ACEOF
30403
30404 fi
30405
30406 echo "$as_me:$LINENO: checking for off_t" >&5
30407 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30408 if test "${ac_cv_type_off_t+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 else
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417 $ac_includes_default
30418 int
30419 main ()
30420 {
30421 if ((off_t *) 0)
30422 return 0;
30423 if (sizeof (off_t))
30424 return 0;
30425 ;
30426 return 0;
30427 }
30428 _ACEOF
30429 rm -f conftest.$ac_objext
30430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30431 (eval $ac_compile) 2>conftest.er1
30432 ac_status=$?
30433 grep -v '^ *+' conftest.er1 >conftest.err
30434 rm -f conftest.er1
30435 cat conftest.err >&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); } &&
30438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; } &&
30444 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
30450 ac_cv_type_off_t=yes
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30454
30455 ac_cv_type_off_t=no
30456 fi
30457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30458 fi
30459 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30460 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30461 if test $ac_cv_type_off_t = yes; then
30462 :
30463 else
30464
30465 cat >>confdefs.h <<_ACEOF
30466 #define off_t long
30467 _ACEOF
30468
30469 fi
30470
30471 echo "$as_me:$LINENO: checking for pid_t" >&5
30472 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30473 if test "${ac_cv_type_pid_t+set}" = set; then
30474 echo $ECHO_N "(cached) $ECHO_C" >&6
30475 else
30476 cat >conftest.$ac_ext <<_ACEOF
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482 $ac_includes_default
30483 int
30484 main ()
30485 {
30486 if ((pid_t *) 0)
30487 return 0;
30488 if (sizeof (pid_t))
30489 return 0;
30490 ;
30491 return 0;
30492 }
30493 _ACEOF
30494 rm -f conftest.$ac_objext
30495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30496 (eval $ac_compile) 2>conftest.er1
30497 ac_status=$?
30498 grep -v '^ *+' conftest.er1 >conftest.err
30499 rm -f conftest.er1
30500 cat conftest.err >&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); } &&
30503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30506 ac_status=$?
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; } &&
30509 { ac_try='test -s conftest.$ac_objext'
30510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511 (eval $ac_try) 2>&5
30512 ac_status=$?
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; }; then
30515 ac_cv_type_pid_t=yes
30516 else
30517 echo "$as_me: failed program was:" >&5
30518 sed 's/^/| /' conftest.$ac_ext >&5
30519
30520 ac_cv_type_pid_t=no
30521 fi
30522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30523 fi
30524 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30525 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30526 if test $ac_cv_type_pid_t = yes; then
30527 :
30528 else
30529
30530 cat >>confdefs.h <<_ACEOF
30531 #define pid_t int
30532 _ACEOF
30533
30534 fi
30535
30536 echo "$as_me:$LINENO: checking for size_t" >&5
30537 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30538 if test "${ac_cv_type_size_t+set}" = set; then
30539 echo $ECHO_N "(cached) $ECHO_C" >&6
30540 else
30541 cat >conftest.$ac_ext <<_ACEOF
30542 /* confdefs.h. */
30543 _ACEOF
30544 cat confdefs.h >>conftest.$ac_ext
30545 cat >>conftest.$ac_ext <<_ACEOF
30546 /* end confdefs.h. */
30547 $ac_includes_default
30548 int
30549 main ()
30550 {
30551 if ((size_t *) 0)
30552 return 0;
30553 if (sizeof (size_t))
30554 return 0;
30555 ;
30556 return 0;
30557 }
30558 _ACEOF
30559 rm -f conftest.$ac_objext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30561 (eval $ac_compile) 2>conftest.er1
30562 ac_status=$?
30563 grep -v '^ *+' conftest.er1 >conftest.err
30564 rm -f conftest.er1
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30571 ac_status=$?
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; } &&
30574 { ac_try='test -s conftest.$ac_objext'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; }; then
30580 ac_cv_type_size_t=yes
30581 else
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.$ac_ext >&5
30584
30585 ac_cv_type_size_t=no
30586 fi
30587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30588 fi
30589 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30590 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30591 if test $ac_cv_type_size_t = yes; then
30592 :
30593 else
30594
30595 cat >>confdefs.h <<_ACEOF
30596 #define size_t unsigned
30597 _ACEOF
30598
30599 fi
30600
30601 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30602 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30603 if test "${ac_cv_type_uid_t+set}" = set; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 cat >conftest.$ac_ext <<_ACEOF
30607 /* confdefs.h. */
30608 _ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612 #include <sys/types.h>
30613
30614 _ACEOF
30615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30616 $EGREP "uid_t" >/dev/null 2>&1; then
30617 ac_cv_type_uid_t=yes
30618 else
30619 ac_cv_type_uid_t=no
30620 fi
30621 rm -f conftest*
30622
30623 fi
30624 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30625 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30626 if test $ac_cv_type_uid_t = no; then
30627
30628 cat >>confdefs.h <<\_ACEOF
30629 #define uid_t int
30630 _ACEOF
30631
30632
30633 cat >>confdefs.h <<\_ACEOF
30634 #define gid_t int
30635 _ACEOF
30636
30637 fi
30638
30639
30640 echo "$as_me:$LINENO: checking for ssize_t" >&5
30641 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30642 if test "${ac_cv_type_ssize_t+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645 cat >conftest.$ac_ext <<_ACEOF
30646 /* confdefs.h. */
30647 _ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651 $ac_includes_default
30652 int
30653 main ()
30654 {
30655 if ((ssize_t *) 0)
30656 return 0;
30657 if (sizeof (ssize_t))
30658 return 0;
30659 ;
30660 return 0;
30661 }
30662 _ACEOF
30663 rm -f conftest.$ac_objext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30665 (eval $ac_compile) 2>conftest.er1
30666 ac_status=$?
30667 grep -v '^ *+' conftest.er1 >conftest.err
30668 rm -f conftest.er1
30669 cat conftest.err >&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } &&
30672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674 (eval $ac_try) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; } &&
30678 { ac_try='test -s conftest.$ac_objext'
30679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30680 (eval $ac_try) 2>&5
30681 ac_status=$?
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); }; }; then
30684 ac_cv_type_ssize_t=yes
30685 else
30686 echo "$as_me: failed program was:" >&5
30687 sed 's/^/| /' conftest.$ac_ext >&5
30688
30689 ac_cv_type_ssize_t=no
30690 fi
30691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30692 fi
30693 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30694 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30695 if test $ac_cv_type_ssize_t = yes; then
30696
30697 cat >>confdefs.h <<_ACEOF
30698 #define HAVE_SSIZE_T 1
30699 _ACEOF
30700
30701
30702 fi
30703
30704
30705
30706
30707 ac_ext=cc
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30712
30713 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30714 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30715 if test "${wx_cv_size_t_is_uint+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718
30719 cat >conftest.$ac_ext <<_ACEOF
30720 /* confdefs.h. */
30721 _ACEOF
30722 cat confdefs.h >>conftest.$ac_ext
30723 cat >>conftest.$ac_ext <<_ACEOF
30724 /* end confdefs.h. */
30725 #include <stddef.h>
30726 int
30727 main ()
30728 {
30729
30730 return 0; }
30731
30732 struct Foo { void foo(size_t); void foo(unsigned int); };
30733
30734 int bar() {
30735
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30742 (eval $ac_compile) 2>conftest.er1
30743 ac_status=$?
30744 grep -v '^ *+' conftest.er1 >conftest.err
30745 rm -f conftest.er1
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } &&
30749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30751 (eval $ac_try) 2>&5
30752 ac_status=$?
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); }; } &&
30755 { ac_try='test -s conftest.$ac_objext'
30756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30757 (eval $ac_try) 2>&5
30758 ac_status=$?
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); }; }; then
30761 wx_cv_size_t_is_uint=no
30762 else
30763 echo "$as_me: failed program was:" >&5
30764 sed 's/^/| /' conftest.$ac_ext >&5
30765
30766 wx_cv_size_t_is_uint=yes
30767
30768 fi
30769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30770
30771
30772 fi
30773 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30774 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30775
30776 if test "$wx_cv_size_t_is_uint" = "yes"; then
30777 cat >>confdefs.h <<\_ACEOF
30778 #define wxSIZE_T_IS_UINT 1
30779 _ACEOF
30780
30781 else
30782 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30783 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30784 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30785 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 else
30787 cat >conftest.$ac_ext <<_ACEOF
30788 /* confdefs.h. */
30789 _ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 #include <stddef.h>
30794 int
30795 main ()
30796 {
30797
30798 return 0; }
30799
30800 struct Foo { void foo(size_t); void foo(unsigned long); };
30801
30802 int bar() {
30803
30804 ;
30805 return 0;
30806 }
30807 _ACEOF
30808 rm -f conftest.$ac_objext
30809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30810 (eval $ac_compile) 2>conftest.er1
30811 ac_status=$?
30812 grep -v '^ *+' conftest.er1 >conftest.err
30813 rm -f conftest.er1
30814 cat conftest.err >&5
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); } &&
30817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; } &&
30823 { ac_try='test -s conftest.$ac_objext'
30824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30825 (eval $ac_try) 2>&5
30826 ac_status=$?
30827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30828 (exit $ac_status); }; }; then
30829 wx_cv_size_t_is_ulong=no
30830 else
30831 echo "$as_me: failed program was:" >&5
30832 sed 's/^/| /' conftest.$ac_ext >&5
30833
30834 wx_cv_size_t_is_ulong=yes
30835
30836 fi
30837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30838
30839 fi
30840 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30841 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30842
30843 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30844 cat >>confdefs.h <<\_ACEOF
30845 #define wxSIZE_T_IS_ULONG 1
30846 _ACEOF
30847
30848 fi
30849 fi
30850
30851 ac_ext=c
30852 ac_cpp='$CPP $CPPFLAGS'
30853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30856
30857
30858
30859 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30860 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30861 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30863 else
30864
30865 cat >conftest.$ac_ext <<_ACEOF
30866 /* confdefs.h. */
30867 _ACEOF
30868 cat confdefs.h >>conftest.$ac_ext
30869 cat >>conftest.$ac_ext <<_ACEOF
30870 /* end confdefs.h. */
30871 #include <pwd.h>
30872 int
30873 main ()
30874 {
30875
30876 char *p;
30877 struct passwd *pw;
30878 p = pw->pw_gecos;
30879
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 rm -f conftest.$ac_objext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30886 (eval $ac_compile) 2>conftest.er1
30887 ac_status=$?
30888 grep -v '^ *+' conftest.er1 >conftest.err
30889 rm -f conftest.er1
30890 cat conftest.err >&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try='test -s conftest.$ac_objext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905
30906 wx_cv_struct_pw_gecos=yes
30907
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912
30913 wx_cv_struct_pw_gecos=no
30914
30915
30916 fi
30917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30918
30919
30920 fi
30921 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30922 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30923
30924 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30925 cat >>confdefs.h <<\_ACEOF
30926 #define HAVE_PW_GECOS 1
30927 _ACEOF
30928
30929 fi
30930
30931
30932 if test "$wxUSE_WCHAR_T" = "yes"; then
30933 cat >>confdefs.h <<\_ACEOF
30934 #define wxUSE_WCHAR_T 1
30935 _ACEOF
30936
30937
30938 WCSLEN_FOUND=0
30939 WCHAR_LINK=
30940
30941 for ac_func in wcslen
30942 do
30943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30944 echo "$as_me:$LINENO: checking for $ac_func" >&5
30945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30946 if eval "test \"\${$as_ac_var+set}\" = set"; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30948 else
30949 cat >conftest.$ac_ext <<_ACEOF
30950 /* confdefs.h. */
30951 _ACEOF
30952 cat confdefs.h >>conftest.$ac_ext
30953 cat >>conftest.$ac_ext <<_ACEOF
30954 /* end confdefs.h. */
30955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30957 #define $ac_func innocuous_$ac_func
30958
30959 /* System header to define __stub macros and hopefully few prototypes,
30960 which can conflict with char $ac_func (); below.
30961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30962 <limits.h> exists even on freestanding compilers. */
30963
30964 #ifdef __STDC__
30965 # include <limits.h>
30966 #else
30967 # include <assert.h>
30968 #endif
30969
30970 #undef $ac_func
30971
30972 /* Override any gcc2 internal prototype to avoid an error. */
30973 #ifdef __cplusplus
30974 extern "C"
30975 {
30976 #endif
30977 /* We use char because int might match the return type of a gcc2
30978 builtin and then its argument prototype would still apply. */
30979 char $ac_func ();
30980 /* The GNU C library defines this for functions which it implements
30981 to always fail with ENOSYS. Some functions are actually named
30982 something starting with __ and the normal name is an alias. */
30983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30984 choke me
30985 #else
30986 char (*f) () = $ac_func;
30987 #endif
30988 #ifdef __cplusplus
30989 }
30990 #endif
30991
30992 int
30993 main ()
30994 {
30995 return f != $ac_func;
30996 ;
30997 return 0;
30998 }
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31002 (eval $ac_link) 2>conftest.er1
31003 ac_status=$?
31004 grep -v '^ *+' conftest.er1 >conftest.err
31005 rm -f conftest.er1
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } &&
31009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } &&
31015 { ac_try='test -s conftest$ac_exeext'
31016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31017 (eval $ac_try) 2>&5
31018 ac_status=$?
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31021 eval "$as_ac_var=yes"
31022 else
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.$ac_ext >&5
31025
31026 eval "$as_ac_var=no"
31027 fi
31028 rm -f conftest.err conftest.$ac_objext \
31029 conftest$ac_exeext conftest.$ac_ext
31030 fi
31031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31033 if test `eval echo '${'$as_ac_var'}'` = yes; then
31034 cat >>confdefs.h <<_ACEOF
31035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31036 _ACEOF
31037 WCSLEN_FOUND=1
31038 fi
31039 done
31040
31041
31042 if test "$WCSLEN_FOUND" = 0; then
31043 if test "$TOOLKIT" = "MSW"; then
31044 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31045 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31046 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 else
31049 ac_check_lib_save_LIBS=$LIBS
31050 LIBS="-lmsvcrt $LIBS"
31051 cat >conftest.$ac_ext <<_ACEOF
31052 /* confdefs.h. */
31053 _ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31057
31058 /* Override any gcc2 internal prototype to avoid an error. */
31059 #ifdef __cplusplus
31060 extern "C"
31061 #endif
31062 /* We use char because int might match the return type of a gcc2
31063 builtin and then its argument prototype would still apply. */
31064 char wcslen ();
31065 int
31066 main ()
31067 {
31068 wcslen ();
31069 ;
31070 return 0;
31071 }
31072 _ACEOF
31073 rm -f conftest.$ac_objext conftest$ac_exeext
31074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31075 (eval $ac_link) 2>conftest.er1
31076 ac_status=$?
31077 grep -v '^ *+' conftest.er1 >conftest.err
31078 rm -f conftest.er1
31079 cat conftest.err >&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); } &&
31082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; } &&
31088 { ac_try='test -s conftest$ac_exeext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31091 ac_status=$?
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094 ac_cv_lib_msvcrt_wcslen=yes
31095 else
31096 echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.$ac_ext >&5
31098
31099 ac_cv_lib_msvcrt_wcslen=no
31100 fi
31101 rm -f conftest.err conftest.$ac_objext \
31102 conftest$ac_exeext conftest.$ac_ext
31103 LIBS=$ac_check_lib_save_LIBS
31104 fi
31105 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31106 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31107 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31108 WCHAR_OK=1
31109 fi
31110
31111 else
31112 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31113 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31114 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31116 else
31117 ac_check_lib_save_LIBS=$LIBS
31118 LIBS="-lw $LIBS"
31119 cat >conftest.$ac_ext <<_ACEOF
31120 /* confdefs.h. */
31121 _ACEOF
31122 cat confdefs.h >>conftest.$ac_ext
31123 cat >>conftest.$ac_ext <<_ACEOF
31124 /* end confdefs.h. */
31125
31126 /* Override any gcc2 internal prototype to avoid an error. */
31127 #ifdef __cplusplus
31128 extern "C"
31129 #endif
31130 /* We use char because int might match the return type of a gcc2
31131 builtin and then its argument prototype would still apply. */
31132 char wcslen ();
31133 int
31134 main ()
31135 {
31136 wcslen ();
31137 ;
31138 return 0;
31139 }
31140 _ACEOF
31141 rm -f conftest.$ac_objext conftest$ac_exeext
31142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31143 (eval $ac_link) 2>conftest.er1
31144 ac_status=$?
31145 grep -v '^ *+' conftest.er1 >conftest.err
31146 rm -f conftest.er1
31147 cat conftest.err >&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } &&
31150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31153 ac_status=$?
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; } &&
31156 { ac_try='test -s conftest$ac_exeext'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31159 ac_status=$?
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; }; then
31162 ac_cv_lib_w_wcslen=yes
31163 else
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.$ac_ext >&5
31166
31167 ac_cv_lib_w_wcslen=no
31168 fi
31169 rm -f conftest.err conftest.$ac_objext \
31170 conftest$ac_exeext conftest.$ac_ext
31171 LIBS=$ac_check_lib_save_LIBS
31172 fi
31173 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31174 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31175 if test $ac_cv_lib_w_wcslen = yes; then
31176
31177 WCHAR_LINK=" -lw"
31178 WCSLEN_FOUND=1
31179
31180 fi
31181
31182 fi
31183 fi
31184
31185 if test "$WCSLEN_FOUND" = 1; then
31186 cat >>confdefs.h <<\_ACEOF
31187 #define HAVE_WCSLEN 1
31188 _ACEOF
31189
31190 fi
31191
31192 if test "$USE_HPUX" = 1; then
31193 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31194 fi
31195
31196
31197 for ac_func in wcsrtombs
31198 do
31199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31200 echo "$as_me:$LINENO: checking for $ac_func" >&5
31201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31202 if eval "test \"\${$as_ac_var+set}\" = set"; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31204 else
31205 cat >conftest.$ac_ext <<_ACEOF
31206 /* confdefs.h. */
31207 _ACEOF
31208 cat confdefs.h >>conftest.$ac_ext
31209 cat >>conftest.$ac_ext <<_ACEOF
31210 /* end confdefs.h. */
31211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31213 #define $ac_func innocuous_$ac_func
31214
31215 /* System header to define __stub macros and hopefully few prototypes,
31216 which can conflict with char $ac_func (); below.
31217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31218 <limits.h> exists even on freestanding compilers. */
31219
31220 #ifdef __STDC__
31221 # include <limits.h>
31222 #else
31223 # include <assert.h>
31224 #endif
31225
31226 #undef $ac_func
31227
31228 /* Override any gcc2 internal prototype to avoid an error. */
31229 #ifdef __cplusplus
31230 extern "C"
31231 {
31232 #endif
31233 /* We use char because int might match the return type of a gcc2
31234 builtin and then its argument prototype would still apply. */
31235 char $ac_func ();
31236 /* The GNU C library defines this for functions which it implements
31237 to always fail with ENOSYS. Some functions are actually named
31238 something starting with __ and the normal name is an alias. */
31239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31240 choke me
31241 #else
31242 char (*f) () = $ac_func;
31243 #endif
31244 #ifdef __cplusplus
31245 }
31246 #endif
31247
31248 int
31249 main ()
31250 {
31251 return f != $ac_func;
31252 ;
31253 return 0;
31254 }
31255 _ACEOF
31256 rm -f conftest.$ac_objext conftest$ac_exeext
31257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31258 (eval $ac_link) 2>conftest.er1
31259 ac_status=$?
31260 grep -v '^ *+' conftest.er1 >conftest.err
31261 rm -f conftest.er1
31262 cat conftest.err >&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); } &&
31265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31267 (eval $ac_try) 2>&5
31268 ac_status=$?
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); }; } &&
31271 { ac_try='test -s conftest$ac_exeext'
31272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31273 (eval $ac_try) 2>&5
31274 ac_status=$?
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); }; }; then
31277 eval "$as_ac_var=yes"
31278 else
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31281
31282 eval "$as_ac_var=no"
31283 fi
31284 rm -f conftest.err conftest.$ac_objext \
31285 conftest$ac_exeext conftest.$ac_ext
31286 fi
31287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31289 if test `eval echo '${'$as_ac_var'}'` = yes; then
31290 cat >>confdefs.h <<_ACEOF
31291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31292 _ACEOF
31293
31294 fi
31295 done
31296
31297 else
31298 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31299 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31300 fi
31301
31302
31303
31304 ac_ext=cc
31305 ac_cpp='$CXXCPP $CPPFLAGS'
31306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31309
31310
31311
31312 for ac_func in vsnprintf
31313 do
31314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31315 echo "$as_me:$LINENO: checking for $ac_func" >&5
31316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31317 if eval "test \"\${$as_ac_var+set}\" = set"; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 else
31320 cat >conftest.$ac_ext <<_ACEOF
31321 /* confdefs.h. */
31322 _ACEOF
31323 cat confdefs.h >>conftest.$ac_ext
31324 cat >>conftest.$ac_ext <<_ACEOF
31325 /* end confdefs.h. */
31326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31328 #define $ac_func innocuous_$ac_func
31329
31330 /* System header to define __stub macros and hopefully few prototypes,
31331 which can conflict with char $ac_func (); below.
31332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31333 <limits.h> exists even on freestanding compilers. */
31334
31335 #ifdef __STDC__
31336 # include <limits.h>
31337 #else
31338 # include <assert.h>
31339 #endif
31340
31341 #undef $ac_func
31342
31343 /* Override any gcc2 internal prototype to avoid an error. */
31344 #ifdef __cplusplus
31345 extern "C"
31346 {
31347 #endif
31348 /* We use char because int might match the return type of a gcc2
31349 builtin and then its argument prototype would still apply. */
31350 char $ac_func ();
31351 /* The GNU C library defines this for functions which it implements
31352 to always fail with ENOSYS. Some functions are actually named
31353 something starting with __ and the normal name is an alias. */
31354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31355 choke me
31356 #else
31357 char (*f) () = $ac_func;
31358 #endif
31359 #ifdef __cplusplus
31360 }
31361 #endif
31362
31363 int
31364 main ()
31365 {
31366 return f != $ac_func;
31367 ;
31368 return 0;
31369 }
31370 _ACEOF
31371 rm -f conftest.$ac_objext conftest$ac_exeext
31372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31373 (eval $ac_link) 2>conftest.er1
31374 ac_status=$?
31375 grep -v '^ *+' conftest.er1 >conftest.err
31376 rm -f conftest.er1
31377 cat conftest.err >&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); } &&
31380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31383 ac_status=$?
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; } &&
31386 { ac_try='test -s conftest$ac_exeext'
31387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31388 (eval $ac_try) 2>&5
31389 ac_status=$?
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); }; }; then
31392 eval "$as_ac_var=yes"
31393 else
31394 echo "$as_me: failed program was:" >&5
31395 sed 's/^/| /' conftest.$ac_ext >&5
31396
31397 eval "$as_ac_var=no"
31398 fi
31399 rm -f conftest.err conftest.$ac_objext \
31400 conftest$ac_exeext conftest.$ac_ext
31401 fi
31402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31404 if test `eval echo '${'$as_ac_var'}'` = yes; then
31405 cat >>confdefs.h <<_ACEOF
31406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31407 _ACEOF
31408
31409 fi
31410 done
31411
31412
31413 if test "$ac_cv_func_vsnprintf" = "yes"; then
31414 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31415 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31416 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31417 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 else
31419
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h. */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h. */
31426
31427 #include <stdio.h>
31428 #include <stdarg.h>
31429
31430 int
31431 main ()
31432 {
31433
31434 char *buf;
31435 va_list ap;
31436 vsnprintf(buf, 10u, "%s", ap);
31437
31438 ;
31439 return 0;
31440 }
31441 _ACEOF
31442 rm -f conftest.$ac_objext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31444 (eval $ac_compile) 2>conftest.er1
31445 ac_status=$?
31446 grep -v '^ *+' conftest.er1 >conftest.err
31447 rm -f conftest.er1
31448 cat conftest.err >&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31460 ac_status=$?
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 wx_cv_func_vsnprintf_decl=yes
31464 else
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.$ac_ext >&5
31467
31468
31469 cat >conftest.$ac_ext <<_ACEOF
31470 /* confdefs.h. */
31471 _ACEOF
31472 cat confdefs.h >>conftest.$ac_ext
31473 cat >>conftest.$ac_ext <<_ACEOF
31474 /* end confdefs.h. */
31475
31476 #include <stdio.h>
31477 #include <stdarg.h>
31478 using namespace std;
31479
31480 int
31481 main ()
31482 {
31483
31484 char *buf;
31485 va_list ap;
31486 vsnprintf(buf, 10u, "%s", ap);
31487
31488 ;
31489 return 0;
31490 }
31491 _ACEOF
31492 rm -f conftest.$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494 (eval $ac_compile) 2>conftest.er1
31495 ac_status=$?
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31504 ac_status=$?
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; } &&
31507 { ac_try='test -s conftest.$ac_objext'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31510 ac_status=$?
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; }; then
31513 wx_cv_func_vsnprintf_decl=yes
31514 else
31515 echo "$as_me: failed program was:" >&5
31516 sed 's/^/| /' conftest.$ac_ext >&5
31517
31518 wx_cv_func_vsnprintf_decl=no
31519
31520 fi
31521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31522
31523
31524 fi
31525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31526
31527
31528 fi
31529 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31530 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31531
31532 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31533 cat >>confdefs.h <<\_ACEOF
31534 #define HAVE_VSNPRINTF_DECL 1
31535 _ACEOF
31536
31537 fi
31538 fi
31539
31540 if test "$wxUSE_UNICODE" = yes; then
31541
31542
31543
31544
31545
31546
31547 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31548 do
31549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31550 echo "$as_me:$LINENO: checking for $ac_func" >&5
31551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31552 if eval "test \"\${$as_ac_var+set}\" = set"; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31555 cat >conftest.$ac_ext <<_ACEOF
31556 /* confdefs.h. */
31557 _ACEOF
31558 cat confdefs.h >>conftest.$ac_ext
31559 cat >>conftest.$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31563 #define $ac_func innocuous_$ac_func
31564
31565 /* System header to define __stub macros and hopefully few prototypes,
31566 which can conflict with char $ac_func (); below.
31567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31568 <limits.h> exists even on freestanding compilers. */
31569
31570 #ifdef __STDC__
31571 # include <limits.h>
31572 #else
31573 # include <assert.h>
31574 #endif
31575
31576 #undef $ac_func
31577
31578 /* Override any gcc2 internal prototype to avoid an error. */
31579 #ifdef __cplusplus
31580 extern "C"
31581 {
31582 #endif
31583 /* We use char because int might match the return type of a gcc2
31584 builtin and then its argument prototype would still apply. */
31585 char $ac_func ();
31586 /* The GNU C library defines this for functions which it implements
31587 to always fail with ENOSYS. Some functions are actually named
31588 something starting with __ and the normal name is an alias. */
31589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31590 choke me
31591 #else
31592 char (*f) () = $ac_func;
31593 #endif
31594 #ifdef __cplusplus
31595 }
31596 #endif
31597
31598 int
31599 main ()
31600 {
31601 return f != $ac_func;
31602 ;
31603 return 0;
31604 }
31605 _ACEOF
31606 rm -f conftest.$ac_objext conftest$ac_exeext
31607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31608 (eval $ac_link) 2>conftest.er1
31609 ac_status=$?
31610 grep -v '^ *+' conftest.er1 >conftest.err
31611 rm -f conftest.er1
31612 cat conftest.err >&5
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); } &&
31615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31617 (eval $ac_try) 2>&5
31618 ac_status=$?
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); }; } &&
31621 { ac_try='test -s conftest$ac_exeext'
31622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31623 (eval $ac_try) 2>&5
31624 ac_status=$?
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; }; then
31627 eval "$as_ac_var=yes"
31628 else
31629 echo "$as_me: failed program was:" >&5
31630 sed 's/^/| /' conftest.$ac_ext >&5
31631
31632 eval "$as_ac_var=no"
31633 fi
31634 rm -f conftest.err conftest.$ac_objext \
31635 conftest$ac_exeext conftest.$ac_ext
31636 fi
31637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31639 if test `eval echo '${'$as_ac_var'}'` = yes; then
31640 cat >>confdefs.h <<_ACEOF
31641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31642 _ACEOF
31643
31644 fi
31645 done
31646
31647
31648 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31649 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31650 cat >conftest.$ac_ext <<_ACEOF
31651 /* confdefs.h. */
31652 _ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 #include <wchar.h>
31657 int
31658 main ()
31659 {
31660 &_vsnwprintf;
31661 ;
31662 return 0;
31663 }
31664 _ACEOF
31665 rm -f conftest.$ac_objext
31666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31667 (eval $ac_compile) 2>conftest.er1
31668 ac_status=$?
31669 grep -v '^ *+' conftest.er1 >conftest.err
31670 rm -f conftest.er1
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; } &&
31680 { ac_try='test -s conftest.$ac_objext'
31681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682 (eval $ac_try) 2>&5
31683 ac_status=$?
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); }; }; then
31686 echo "$as_me:$LINENO: result: yes" >&5
31687 echo "${ECHO_T}yes" >&6
31688 cat >>confdefs.h <<\_ACEOF
31689 #define HAVE__VSNWPRINTF 1
31690 _ACEOF
31691
31692 else
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31695
31696 echo "$as_me:$LINENO: result: no" >&5
31697 echo "${ECHO_T}no" >&6
31698 fi
31699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31700 fi
31701
31702 ac_ext=c
31703 ac_cpp='$CPP $CPPFLAGS'
31704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31707
31708
31709 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
31710
31711 for ac_func in fnmatch
31712 do
31713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31714 echo "$as_me:$LINENO: checking for $ac_func" >&5
31715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31716 if eval "test \"\${$as_ac_var+set}\" = set"; then
31717 echo $ECHO_N "(cached) $ECHO_C" >&6
31718 else
31719 cat >conftest.$ac_ext <<_ACEOF
31720 /* confdefs.h. */
31721 _ACEOF
31722 cat confdefs.h >>conftest.$ac_ext
31723 cat >>conftest.$ac_ext <<_ACEOF
31724 /* end confdefs.h. */
31725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31727 #define $ac_func innocuous_$ac_func
31728
31729 /* System header to define __stub macros and hopefully few prototypes,
31730 which can conflict with char $ac_func (); below.
31731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31732 <limits.h> exists even on freestanding compilers. */
31733
31734 #ifdef __STDC__
31735 # include <limits.h>
31736 #else
31737 # include <assert.h>
31738 #endif
31739
31740 #undef $ac_func
31741
31742 /* Override any gcc2 internal prototype to avoid an error. */
31743 #ifdef __cplusplus
31744 extern "C"
31745 {
31746 #endif
31747 /* We use char because int might match the return type of a gcc2
31748 builtin and then its argument prototype would still apply. */
31749 char $ac_func ();
31750 /* The GNU C library defines this for functions which it implements
31751 to always fail with ENOSYS. Some functions are actually named
31752 something starting with __ and the normal name is an alias. */
31753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31754 choke me
31755 #else
31756 char (*f) () = $ac_func;
31757 #endif
31758 #ifdef __cplusplus
31759 }
31760 #endif
31761
31762 int
31763 main ()
31764 {
31765 return f != $ac_func;
31766 ;
31767 return 0;
31768 }
31769 _ACEOF
31770 rm -f conftest.$ac_objext conftest$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772 (eval $ac_link) 2>conftest.er1
31773 ac_status=$?
31774 grep -v '^ *+' conftest.er1 >conftest.err
31775 rm -f conftest.er1
31776 cat conftest.err >&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31788 ac_status=$?
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31791 eval "$as_ac_var=yes"
31792 else
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31795
31796 eval "$as_ac_var=no"
31797 fi
31798 rm -f conftest.err conftest.$ac_objext \
31799 conftest$ac_exeext conftest.$ac_ext
31800 fi
31801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31803 if test `eval echo '${'$as_ac_var'}'` = yes; then
31804 cat >>confdefs.h <<_ACEOF
31805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31806 _ACEOF
31807
31808 fi
31809 done
31810
31811 fi
31812
31813 if test "$wxUSE_FILE" = "yes"; then
31814
31815 for ac_func in fsync
31816 do
31817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31818 echo "$as_me:$LINENO: checking for $ac_func" >&5
31819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31820 if eval "test \"\${$as_ac_var+set}\" = set"; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31822 else
31823 cat >conftest.$ac_ext <<_ACEOF
31824 /* confdefs.h. */
31825 _ACEOF
31826 cat confdefs.h >>conftest.$ac_ext
31827 cat >>conftest.$ac_ext <<_ACEOF
31828 /* end confdefs.h. */
31829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31831 #define $ac_func innocuous_$ac_func
31832
31833 /* System header to define __stub macros and hopefully few prototypes,
31834 which can conflict with char $ac_func (); below.
31835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31836 <limits.h> exists even on freestanding compilers. */
31837
31838 #ifdef __STDC__
31839 # include <limits.h>
31840 #else
31841 # include <assert.h>
31842 #endif
31843
31844 #undef $ac_func
31845
31846 /* Override any gcc2 internal prototype to avoid an error. */
31847 #ifdef __cplusplus
31848 extern "C"
31849 {
31850 #endif
31851 /* We use char because int might match the return type of a gcc2
31852 builtin and then its argument prototype would still apply. */
31853 char $ac_func ();
31854 /* The GNU C library defines this for functions which it implements
31855 to always fail with ENOSYS. Some functions are actually named
31856 something starting with __ and the normal name is an alias. */
31857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31858 choke me
31859 #else
31860 char (*f) () = $ac_func;
31861 #endif
31862 #ifdef __cplusplus
31863 }
31864 #endif
31865
31866 int
31867 main ()
31868 {
31869 return f != $ac_func;
31870 ;
31871 return 0;
31872 }
31873 _ACEOF
31874 rm -f conftest.$ac_objext conftest$ac_exeext
31875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31876 (eval $ac_link) 2>conftest.er1
31877 ac_status=$?
31878 grep -v '^ *+' conftest.er1 >conftest.err
31879 rm -f conftest.er1
31880 cat conftest.err >&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } &&
31883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31886 ac_status=$?
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; } &&
31889 { ac_try='test -s conftest$ac_exeext'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; }; then
31895 eval "$as_ac_var=yes"
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900 eval "$as_ac_var=no"
31901 fi
31902 rm -f conftest.err conftest.$ac_objext \
31903 conftest$ac_exeext conftest.$ac_ext
31904 fi
31905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31907 if test `eval echo '${'$as_ac_var'}'` = yes; then
31908 cat >>confdefs.h <<_ACEOF
31909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31910 _ACEOF
31911
31912 fi
31913 done
31914
31915 fi
31916
31917
31918 if test "$TOOLKIT" != "MSW"; then
31919
31920
31921
31922
31923 ac_ext=cc
31924 ac_cpp='$CXXCPP $CPPFLAGS'
31925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31928
31929
31930
31931
31932 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31933 if test "${with_libiconv_prefix+set}" = set; then
31934 withval="$with_libiconv_prefix"
31935
31936 for dir in `echo "$withval" | tr : ' '`; do
31937 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31938 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31939 done
31940
31941 fi;
31942
31943 echo "$as_me:$LINENO: checking for iconv" >&5
31944 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31945 if test "${am_cv_func_iconv+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 else
31948
31949 am_cv_func_iconv="no, consider installing GNU libiconv"
31950 am_cv_lib_iconv=no
31951 cat >conftest.$ac_ext <<_ACEOF
31952 /* confdefs.h. */
31953 _ACEOF
31954 cat confdefs.h >>conftest.$ac_ext
31955 cat >>conftest.$ac_ext <<_ACEOF
31956 /* end confdefs.h. */
31957 #include <stdlib.h>
31958 #include <iconv.h>
31959 int
31960 main ()
31961 {
31962 iconv_t cd = iconv_open("","");
31963 iconv(cd,NULL,NULL,NULL,NULL);
31964 iconv_close(cd);
31965 ;
31966 return 0;
31967 }
31968 _ACEOF
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971 (eval $ac_link) 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31981 ac_status=$?
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; } &&
31984 { ac_try='test -s conftest$ac_exeext'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31987 ac_status=$?
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 am_cv_func_iconv=yes
31991 else
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31994
31995 fi
31996 rm -f conftest.err conftest.$ac_objext \
31997 conftest$ac_exeext conftest.$ac_ext
31998 if test "$am_cv_func_iconv" != yes; then
31999 am_save_LIBS="$LIBS"
32000 LIBS="$LIBS -liconv"
32001 cat >conftest.$ac_ext <<_ACEOF
32002 /* confdefs.h. */
32003 _ACEOF
32004 cat confdefs.h >>conftest.$ac_ext
32005 cat >>conftest.$ac_ext <<_ACEOF
32006 /* end confdefs.h. */
32007 #include <stdlib.h>
32008 #include <iconv.h>
32009 int
32010 main ()
32011 {
32012 iconv_t cd = iconv_open("","");
32013 iconv(cd,NULL,NULL,NULL,NULL);
32014 iconv_close(cd);
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32022 ac_status=$?
32023 grep -v '^ *+' conftest.er1 >conftest.err
32024 rm -f conftest.er1
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32031 ac_status=$?
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 am_cv_lib_iconv=yes
32041 am_cv_func_iconv=yes
32042 else
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 fi
32047 rm -f conftest.err conftest.$ac_objext \
32048 conftest$ac_exeext conftest.$ac_ext
32049 LIBS="$am_save_LIBS"
32050 fi
32051
32052 fi
32053 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32054 echo "${ECHO_T}$am_cv_func_iconv" >&6
32055 if test "$am_cv_func_iconv" = yes; then
32056
32057 cat >>confdefs.h <<\_ACEOF
32058 #define HAVE_ICONV 1
32059 _ACEOF
32060
32061 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32062 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32063 if test "${wx_cv_func_iconv_const+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072
32073 #include <stdlib.h>
32074 #include <iconv.h>
32075 extern
32076 #ifdef __cplusplus
32077 "C"
32078 #endif
32079 #if defined(__STDC__) || defined(__cplusplus)
32080 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32081 #else
32082 size_t iconv();
32083 #endif
32084
32085 int
32086 main ()
32087 {
32088
32089 ;
32090 return 0;
32091 }
32092 _ACEOF
32093 rm -f conftest.$ac_objext
32094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32095 (eval $ac_compile) 2>conftest.er1
32096 ac_status=$?
32097 grep -v '^ *+' conftest.er1 >conftest.err
32098 rm -f conftest.er1
32099 cat conftest.err >&5
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); } &&
32102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; } &&
32108 { ac_try='test -s conftest.$ac_objext'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32111 ac_status=$?
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; }; then
32114 wx_cv_func_iconv_const="no"
32115 else
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.$ac_ext >&5
32118
32119 wx_cv_func_iconv_const="yes"
32120
32121 fi
32122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32123
32124 fi
32125 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32126 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32127
32128 iconv_const=
32129 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32130 iconv_const="const"
32131 fi
32132
32133
32134 cat >>confdefs.h <<_ACEOF
32135 #define ICONV_CONST $iconv_const
32136 _ACEOF
32137
32138 fi
32139 LIBICONV=
32140 if test "$am_cv_lib_iconv" = yes; then
32141 LIBICONV="-liconv"
32142 fi
32143
32144
32145 LIBS="$LIBICONV $LIBS"
32146 ac_ext=c
32147 ac_cpp='$CPP $CPPFLAGS'
32148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32151
32152
32153 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32154
32155 for ac_func in sigaction
32156 do
32157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32158 echo "$as_me:$LINENO: checking for $ac_func" >&5
32159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32160 if eval "test \"\${$as_ac_var+set}\" = set"; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 cat >conftest.$ac_ext <<_ACEOF
32164 /* confdefs.h. */
32165 _ACEOF
32166 cat confdefs.h >>conftest.$ac_ext
32167 cat >>conftest.$ac_ext <<_ACEOF
32168 /* end confdefs.h. */
32169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32171 #define $ac_func innocuous_$ac_func
32172
32173 /* System header to define __stub macros and hopefully few prototypes,
32174 which can conflict with char $ac_func (); below.
32175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32176 <limits.h> exists even on freestanding compilers. */
32177
32178 #ifdef __STDC__
32179 # include <limits.h>
32180 #else
32181 # include <assert.h>
32182 #endif
32183
32184 #undef $ac_func
32185
32186 /* Override any gcc2 internal prototype to avoid an error. */
32187 #ifdef __cplusplus
32188 extern "C"
32189 {
32190 #endif
32191 /* We use char because int might match the return type of a gcc2
32192 builtin and then its argument prototype would still apply. */
32193 char $ac_func ();
32194 /* The GNU C library defines this for functions which it implements
32195 to always fail with ENOSYS. Some functions are actually named
32196 something starting with __ and the normal name is an alias. */
32197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32198 choke me
32199 #else
32200 char (*f) () = $ac_func;
32201 #endif
32202 #ifdef __cplusplus
32203 }
32204 #endif
32205
32206 int
32207 main ()
32208 {
32209 return f != $ac_func;
32210 ;
32211 return 0;
32212 }
32213 _ACEOF
32214 rm -f conftest.$ac_objext conftest$ac_exeext
32215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32216 (eval $ac_link) 2>conftest.er1
32217 ac_status=$?
32218 grep -v '^ *+' conftest.er1 >conftest.err
32219 rm -f conftest.er1
32220 cat conftest.err >&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try='test -s conftest$ac_exeext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 eval "$as_ac_var=yes"
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32239
32240 eval "$as_ac_var=no"
32241 fi
32242 rm -f conftest.err conftest.$ac_objext \
32243 conftest$ac_exeext conftest.$ac_ext
32244 fi
32245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32247 if test `eval echo '${'$as_ac_var'}'` = yes; then
32248 cat >>confdefs.h <<_ACEOF
32249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32250 _ACEOF
32251
32252 fi
32253 done
32254
32255
32256 if test "$ac_cv_func_sigaction" = "no"; then
32257 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32258 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32259 wxUSE_ON_FATAL_EXCEPTION=no
32260 fi
32261
32262 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32263
32264
32265 ac_ext=cc
32266 ac_cpp='$CXXCPP $CPPFLAGS'
32267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32270
32271
32272 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32273 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32274 if test "${wx_cv_type_sa_handler+set}" = set; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 else
32277
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 #include <signal.h>
32285 int
32286 main ()
32287 {
32288
32289 extern void testSigHandler(int);
32290
32291 struct sigaction sa;
32292 sa.sa_handler = testSigHandler;
32293
32294 ;
32295 return 0;
32296 }
32297 _ACEOF
32298 rm -f conftest.$ac_objext
32299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32300 (eval $ac_compile) 2>conftest.er1
32301 ac_status=$?
32302 grep -v '^ *+' conftest.er1 >conftest.err
32303 rm -f conftest.er1
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32310 ac_status=$?
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; } &&
32313 { ac_try='test -s conftest.$ac_objext'
32314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32315 (eval $ac_try) 2>&5
32316 ac_status=$?
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); }; }; then
32319
32320 wx_cv_type_sa_handler=int
32321
32322 else
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.$ac_ext >&5
32325
32326
32327 wx_cv_type_sa_handler=void
32328
32329 fi
32330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32331
32332 fi
32333 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32334 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32335
32336 ac_ext=c
32337 ac_cpp='$CPP $CPPFLAGS'
32338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32341
32342
32343 cat >>confdefs.h <<_ACEOF
32344 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32345 _ACEOF
32346
32347 fi
32348 fi
32349
32350 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32351
32352
32353 ac_ext=cc
32354 ac_cpp='$CXXCPP $CPPFLAGS'
32355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32358
32359
32360 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32361 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32362 if test "${wx_cv_func_backtrace+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365
32366 cat >conftest.$ac_ext <<_ACEOF
32367 /* confdefs.h. */
32368 _ACEOF
32369 cat confdefs.h >>conftest.$ac_ext
32370 cat >>conftest.$ac_ext <<_ACEOF
32371 /* end confdefs.h. */
32372 #include <execinfo.h>
32373 int
32374 main ()
32375 {
32376
32377 void *trace[1];
32378 char **messages;
32379
32380 backtrace(trace, 1);
32381 messages = backtrace_symbols(trace, 1);
32382
32383 ;
32384 return 0;
32385 }
32386 _ACEOF
32387 rm -f conftest.$ac_objext
32388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32389 (eval $ac_compile) 2>conftest.er1
32390 ac_status=$?
32391 grep -v '^ *+' conftest.er1 >conftest.err
32392 rm -f conftest.er1
32393 cat conftest.err >&5
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); } &&
32396 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398 (eval $ac_try) 2>&5
32399 ac_status=$?
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); }; } &&
32402 { ac_try='test -s conftest.$ac_objext'
32403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32404 (eval $ac_try) 2>&5
32405 ac_status=$?
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); }; }; then
32408 wx_cv_func_backtrace=yes
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32412
32413 wx_cv_func_backtrace=no
32414
32415 fi
32416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32417
32418
32419 fi
32420 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32421 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32422
32423
32424 if test "$wx_cv_func_backtrace" = "no"; then
32425 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32426 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32427 wxUSE_STACKWALKER=no
32428 else
32429 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32430 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32431 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32432 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 else
32434
32435 cat >conftest.$ac_ext <<_ACEOF
32436 /* confdefs.h. */
32437 _ACEOF
32438 cat confdefs.h >>conftest.$ac_ext
32439 cat >>conftest.$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441 #include <cxxabi.h>
32442 int
32443 main ()
32444 {
32445
32446 int rc;
32447 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32448
32449 ;
32450 return 0;
32451 }
32452 _ACEOF
32453 rm -f conftest.$ac_objext conftest$ac_exeext
32454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32455 (eval $ac_link) 2>conftest.er1
32456 ac_status=$?
32457 grep -v '^ *+' conftest.er1 >conftest.err
32458 rm -f conftest.er1
32459 cat conftest.err >&5
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); } &&
32462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32464 (eval $ac_try) 2>&5
32465 ac_status=$?
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); }; } &&
32468 { ac_try='test -s conftest$ac_exeext'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; }; then
32474 wx_cv_func_cxa_demangle=yes
32475 else
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32478
32479 wx_cv_func_cxa_demangle=no
32480
32481 fi
32482 rm -f conftest.err conftest.$ac_objext \
32483 conftest$ac_exeext conftest.$ac_ext
32484
32485
32486 fi
32487 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32488 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32489
32490 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32491 cat >>confdefs.h <<\_ACEOF
32492 #define HAVE_CXA_DEMANGLE 1
32493 _ACEOF
32494
32495 fi
32496 fi
32497
32498 ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32503
32504 fi
32505
32506 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32507 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32508 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32509 wxUSE_STACKWALKER=no
32510 fi
32511
32512
32513
32514
32515 for ac_func in mkstemp mktemp
32516 do
32517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32518 echo "$as_me:$LINENO: checking for $ac_func" >&5
32519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32520 if eval "test \"\${$as_ac_var+set}\" = set"; then
32521 echo $ECHO_N "(cached) $ECHO_C" >&6
32522 else
32523 cat >conftest.$ac_ext <<_ACEOF
32524 /* confdefs.h. */
32525 _ACEOF
32526 cat confdefs.h >>conftest.$ac_ext
32527 cat >>conftest.$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32531 #define $ac_func innocuous_$ac_func
32532
32533 /* System header to define __stub macros and hopefully few prototypes,
32534 which can conflict with char $ac_func (); below.
32535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32536 <limits.h> exists even on freestanding compilers. */
32537
32538 #ifdef __STDC__
32539 # include <limits.h>
32540 #else
32541 # include <assert.h>
32542 #endif
32543
32544 #undef $ac_func
32545
32546 /* Override any gcc2 internal prototype to avoid an error. */
32547 #ifdef __cplusplus
32548 extern "C"
32549 {
32550 #endif
32551 /* We use char because int might match the return type of a gcc2
32552 builtin and then its argument prototype would still apply. */
32553 char $ac_func ();
32554 /* The GNU C library defines this for functions which it implements
32555 to always fail with ENOSYS. Some functions are actually named
32556 something starting with __ and the normal name is an alias. */
32557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32558 choke me
32559 #else
32560 char (*f) () = $ac_func;
32561 #endif
32562 #ifdef __cplusplus
32563 }
32564 #endif
32565
32566 int
32567 main ()
32568 {
32569 return f != $ac_func;
32570 ;
32571 return 0;
32572 }
32573 _ACEOF
32574 rm -f conftest.$ac_objext conftest$ac_exeext
32575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32576 (eval $ac_link) 2>conftest.er1
32577 ac_status=$?
32578 grep -v '^ *+' conftest.er1 >conftest.err
32579 rm -f conftest.er1
32580 cat conftest.err >&5
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); } &&
32583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32586 ac_status=$?
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; } &&
32589 { ac_try='test -s conftest$ac_exeext'
32590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32591 (eval $ac_try) 2>&5
32592 ac_status=$?
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); }; }; then
32595 eval "$as_ac_var=yes"
32596 else
32597 echo "$as_me: failed program was:" >&5
32598 sed 's/^/| /' conftest.$ac_ext >&5
32599
32600 eval "$as_ac_var=no"
32601 fi
32602 rm -f conftest.err conftest.$ac_objext \
32603 conftest$ac_exeext conftest.$ac_ext
32604 fi
32605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32607 if test `eval echo '${'$as_ac_var'}'` = yes; then
32608 cat >>confdefs.h <<_ACEOF
32609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32610 _ACEOF
32611 break
32612 fi
32613 done
32614
32615
32616 echo "$as_me:$LINENO: checking for statfs" >&5
32617 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32618 if test "${wx_cv_func_statfs+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 else
32621 cat >conftest.$ac_ext <<_ACEOF
32622 /* confdefs.h. */
32623 _ACEOF
32624 cat confdefs.h >>conftest.$ac_ext
32625 cat >>conftest.$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627
32628 #if defined(__BSD__)
32629 #include <sys/param.h>
32630 #include <sys/mount.h>
32631 #else
32632 #include <sys/vfs.h>
32633 #endif
32634
32635 int
32636 main ()
32637 {
32638
32639 long l;
32640 struct statfs fs;
32641 statfs("/", &fs);
32642 l = fs.f_bsize;
32643 l += fs.f_blocks;
32644 l += fs.f_bavail;
32645
32646 ;
32647 return 0;
32648 }
32649 _ACEOF
32650 rm -f conftest.$ac_objext
32651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32652 (eval $ac_compile) 2>conftest.er1
32653 ac_status=$?
32654 grep -v '^ *+' conftest.er1 >conftest.err
32655 rm -f conftest.er1
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } &&
32659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32661 (eval $ac_try) 2>&5
32662 ac_status=$?
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); }; } &&
32665 { ac_try='test -s conftest.$ac_objext'
32666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32667 (eval $ac_try) 2>&5
32668 ac_status=$?
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); }; }; then
32671
32672 wx_cv_func_statfs=yes
32673
32674 else
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32677
32678
32679 wx_cv_func_statfs=no
32680
32681
32682 fi
32683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32684
32685 fi
32686 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32687 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32688
32689 if test "$wx_cv_func_statfs" = "yes"; then
32690 wx_cv_type_statvfs_t="struct statfs"
32691 cat >>confdefs.h <<\_ACEOF
32692 #define HAVE_STATFS 1
32693 _ACEOF
32694
32695 else
32696 echo "$as_me:$LINENO: checking for statvfs" >&5
32697 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32698 if test "${wx_cv_func_statvfs+set}" = set; then
32699 echo $ECHO_N "(cached) $ECHO_C" >&6
32700 else
32701 cat >conftest.$ac_ext <<_ACEOF
32702 /* confdefs.h. */
32703 _ACEOF
32704 cat confdefs.h >>conftest.$ac_ext
32705 cat >>conftest.$ac_ext <<_ACEOF
32706 /* end confdefs.h. */
32707
32708 #include <stddef.h>
32709 #include <sys/statvfs.h>
32710
32711 int
32712 main ()
32713 {
32714
32715 statvfs("/", NULL);
32716
32717 ;
32718 return 0;
32719 }
32720 _ACEOF
32721 rm -f conftest.$ac_objext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32723 (eval $ac_compile) 2>conftest.er1
32724 ac_status=$?
32725 grep -v '^ *+' conftest.er1 >conftest.err
32726 rm -f conftest.er1
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32733 ac_status=$?
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; } &&
32736 { ac_try='test -s conftest.$ac_objext'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32739 ac_status=$?
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; }; then
32742 wx_cv_func_statvfs=yes
32743 else
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32746
32747 wx_cv_func_statvfs=no
32748
32749 fi
32750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32751
32752 fi
32753 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32754 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32755
32756 if test "$wx_cv_func_statvfs" = "yes"; then
32757
32758
32759 ac_ext=cc
32760 ac_cpp='$CXXCPP $CPPFLAGS'
32761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32764
32765
32766 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32767 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32768 if test "${wx_cv_type_statvfs_t+set}" = set; then
32769 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 else
32771 cat >conftest.$ac_ext <<_ACEOF
32772 /* confdefs.h. */
32773 _ACEOF
32774 cat confdefs.h >>conftest.$ac_ext
32775 cat >>conftest.$ac_ext <<_ACEOF
32776 /* end confdefs.h. */
32777
32778 #include <sys/statvfs.h>
32779
32780 int
32781 main ()
32782 {
32783
32784 long l;
32785 statvfs_t fs;
32786 statvfs("/", &fs);
32787 l = fs.f_bsize;
32788 l += fs.f_blocks;
32789 l += fs.f_bavail;
32790
32791 ;
32792 return 0;
32793 }
32794 _ACEOF
32795 rm -f conftest.$ac_objext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32797 (eval $ac_compile) 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } &&
32804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32807 ac_status=$?
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32810 { ac_try='test -s conftest.$ac_objext'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; }; then
32816 wx_cv_type_statvfs_t=statvfs_t
32817 else
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.$ac_ext >&5
32820
32821
32822 cat >conftest.$ac_ext <<_ACEOF
32823 /* confdefs.h. */
32824 _ACEOF
32825 cat confdefs.h >>conftest.$ac_ext
32826 cat >>conftest.$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32828
32829 #include <sys/statvfs.h>
32830
32831 int
32832 main ()
32833 {
32834
32835 long l;
32836 struct statvfs fs;
32837 statvfs("/", &fs);
32838 l = fs.f_bsize;
32839 l += fs.f_blocks;
32840 l += fs.f_bavail;
32841
32842 ;
32843 return 0;
32844 }
32845 _ACEOF
32846 rm -f conftest.$ac_objext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32848 (eval $ac_compile) 2>conftest.er1
32849 ac_status=$?
32850 grep -v '^ *+' conftest.er1 >conftest.err
32851 rm -f conftest.er1
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32857 (eval $ac_try) 2>&5
32858 ac_status=$?
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; } &&
32861 { ac_try='test -s conftest.$ac_objext'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32864 ac_status=$?
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; }; then
32867 wx_cv_type_statvfs_t="struct statvfs"
32868 else
32869 echo "$as_me: failed program was:" >&5
32870 sed 's/^/| /' conftest.$ac_ext >&5
32871
32872 wx_cv_type_statvfs_t="unknown"
32873
32874 fi
32875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32876
32877
32878 fi
32879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32880
32881 fi
32882 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32883 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32884
32885 ac_ext=c
32886 ac_cpp='$CPP $CPPFLAGS'
32887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32890
32891
32892 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32893 cat >>confdefs.h <<\_ACEOF
32894 #define HAVE_STATVFS 1
32895 _ACEOF
32896
32897 fi
32898 else
32899 wx_cv_type_statvfs_t="unknown"
32900 fi
32901 fi
32902
32903 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32904 cat >>confdefs.h <<_ACEOF
32905 #define WX_STATFS_T $wx_cv_type_statvfs_t
32906 _ACEOF
32907
32908 else
32909 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32910 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32911 fi
32912
32913 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32914
32915
32916 for ac_func in fcntl flock
32917 do
32918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32919 echo "$as_me:$LINENO: checking for $ac_func" >&5
32920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32921 if eval "test \"\${$as_ac_var+set}\" = set"; then
32922 echo $ECHO_N "(cached) $ECHO_C" >&6
32923 else
32924 cat >conftest.$ac_ext <<_ACEOF
32925 /* confdefs.h. */
32926 _ACEOF
32927 cat confdefs.h >>conftest.$ac_ext
32928 cat >>conftest.$ac_ext <<_ACEOF
32929 /* end confdefs.h. */
32930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32932 #define $ac_func innocuous_$ac_func
32933
32934 /* System header to define __stub macros and hopefully few prototypes,
32935 which can conflict with char $ac_func (); below.
32936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32937 <limits.h> exists even on freestanding compilers. */
32938
32939 #ifdef __STDC__
32940 # include <limits.h>
32941 #else
32942 # include <assert.h>
32943 #endif
32944
32945 #undef $ac_func
32946
32947 /* Override any gcc2 internal prototype to avoid an error. */
32948 #ifdef __cplusplus
32949 extern "C"
32950 {
32951 #endif
32952 /* We use char because int might match the return type of a gcc2
32953 builtin and then its argument prototype would still apply. */
32954 char $ac_func ();
32955 /* The GNU C library defines this for functions which it implements
32956 to always fail with ENOSYS. Some functions are actually named
32957 something starting with __ and the normal name is an alias. */
32958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32959 choke me
32960 #else
32961 char (*f) () = $ac_func;
32962 #endif
32963 #ifdef __cplusplus
32964 }
32965 #endif
32966
32967 int
32968 main ()
32969 {
32970 return f != $ac_func;
32971 ;
32972 return 0;
32973 }
32974 _ACEOF
32975 rm -f conftest.$ac_objext conftest$ac_exeext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32977 (eval $ac_link) 2>conftest.er1
32978 ac_status=$?
32979 grep -v '^ *+' conftest.er1 >conftest.err
32980 rm -f conftest.er1
32981 cat conftest.err >&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32987 ac_status=$?
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try='test -s conftest$ac_exeext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32993 ac_status=$?
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32996 eval "$as_ac_var=yes"
32997 else
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33000
33001 eval "$as_ac_var=no"
33002 fi
33003 rm -f conftest.err conftest.$ac_objext \
33004 conftest$ac_exeext conftest.$ac_ext
33005 fi
33006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33008 if test `eval echo '${'$as_ac_var'}'` = yes; then
33009 cat >>confdefs.h <<_ACEOF
33010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33011 _ACEOF
33012 break
33013 fi
33014 done
33015
33016
33017 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33018 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33019 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33020 wxUSE_SNGLINST_CHECKER=no
33021 fi
33022 fi
33023
33024
33025 for ac_func in timegm
33026 do
33027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33028 echo "$as_me:$LINENO: checking for $ac_func" >&5
33029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33030 if eval "test \"\${$as_ac_var+set}\" = set"; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 else
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33041 #define $ac_func innocuous_$ac_func
33042
33043 /* System header to define __stub macros and hopefully few prototypes,
33044 which can conflict with char $ac_func (); below.
33045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33046 <limits.h> exists even on freestanding compilers. */
33047
33048 #ifdef __STDC__
33049 # include <limits.h>
33050 #else
33051 # include <assert.h>
33052 #endif
33053
33054 #undef $ac_func
33055
33056 /* Override any gcc2 internal prototype to avoid an error. */
33057 #ifdef __cplusplus
33058 extern "C"
33059 {
33060 #endif
33061 /* We use char because int might match the return type of a gcc2
33062 builtin and then its argument prototype would still apply. */
33063 char $ac_func ();
33064 /* The GNU C library defines this for functions which it implements
33065 to always fail with ENOSYS. Some functions are actually named
33066 something starting with __ and the normal name is an alias. */
33067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33068 choke me
33069 #else
33070 char (*f) () = $ac_func;
33071 #endif
33072 #ifdef __cplusplus
33073 }
33074 #endif
33075
33076 int
33077 main ()
33078 {
33079 return f != $ac_func;
33080 ;
33081 return 0;
33082 }
33083 _ACEOF
33084 rm -f conftest.$ac_objext conftest$ac_exeext
33085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33086 (eval $ac_link) 2>conftest.er1
33087 ac_status=$?
33088 grep -v '^ *+' conftest.er1 >conftest.err
33089 rm -f conftest.er1
33090 cat conftest.err >&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); } &&
33093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; } &&
33099 { ac_try='test -s conftest$ac_exeext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33102 ac_status=$?
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 eval "$as_ac_var=yes"
33106 else
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.$ac_ext >&5
33109
33110 eval "$as_ac_var=no"
33111 fi
33112 rm -f conftest.err conftest.$ac_objext \
33113 conftest$ac_exeext conftest.$ac_ext
33114 fi
33115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33117 if test `eval echo '${'$as_ac_var'}'` = yes; then
33118 cat >>confdefs.h <<_ACEOF
33119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33120 _ACEOF
33121
33122 fi
33123 done
33124
33125
33126
33127
33128 for ac_func in putenv setenv
33129 do
33130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33131 echo "$as_me:$LINENO: checking for $ac_func" >&5
33132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33133 if eval "test \"\${$as_ac_var+set}\" = set"; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33136 cat >conftest.$ac_ext <<_ACEOF
33137 /* confdefs.h. */
33138 _ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33144 #define $ac_func innocuous_$ac_func
33145
33146 /* System header to define __stub macros and hopefully few prototypes,
33147 which can conflict with char $ac_func (); below.
33148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33149 <limits.h> exists even on freestanding compilers. */
33150
33151 #ifdef __STDC__
33152 # include <limits.h>
33153 #else
33154 # include <assert.h>
33155 #endif
33156
33157 #undef $ac_func
33158
33159 /* Override any gcc2 internal prototype to avoid an error. */
33160 #ifdef __cplusplus
33161 extern "C"
33162 {
33163 #endif
33164 /* We use char because int might match the return type of a gcc2
33165 builtin and then its argument prototype would still apply. */
33166 char $ac_func ();
33167 /* The GNU C library defines this for functions which it implements
33168 to always fail with ENOSYS. Some functions are actually named
33169 something starting with __ and the normal name is an alias. */
33170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33171 choke me
33172 #else
33173 char (*f) () = $ac_func;
33174 #endif
33175 #ifdef __cplusplus
33176 }
33177 #endif
33178
33179 int
33180 main ()
33181 {
33182 return f != $ac_func;
33183 ;
33184 return 0;
33185 }
33186 _ACEOF
33187 rm -f conftest.$ac_objext conftest$ac_exeext
33188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33189 (eval $ac_link) 2>conftest.er1
33190 ac_status=$?
33191 grep -v '^ *+' conftest.er1 >conftest.err
33192 rm -f conftest.er1
33193 cat conftest.err >&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); } &&
33196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33199 ac_status=$?
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; } &&
33202 { ac_try='test -s conftest$ac_exeext'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; }; then
33208 eval "$as_ac_var=yes"
33209 else
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213 eval "$as_ac_var=no"
33214 fi
33215 rm -f conftest.err conftest.$ac_objext \
33216 conftest$ac_exeext conftest.$ac_ext
33217 fi
33218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33220 if test `eval echo '${'$as_ac_var'}'` = yes; then
33221 cat >>confdefs.h <<_ACEOF
33222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33223 _ACEOF
33224 break
33225 fi
33226 done
33227
33228
33229 HAVE_SOME_SLEEP_FUNC=0
33230 if test "$USE_BEOS" = 1; then
33231 cat >>confdefs.h <<\_ACEOF
33232 #define HAVE_SLEEP 1
33233 _ACEOF
33234
33235 HAVE_SOME_SLEEP_FUNC=1
33236 fi
33237
33238 if test "$USE_DARWIN" = 1; then
33239 cat >>confdefs.h <<\_ACEOF
33240 #define HAVE_USLEEP 1
33241 _ACEOF
33242
33243 HAVE_SOME_SLEEP_FUNC=1
33244 fi
33245
33246 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33247 POSIX4_LINK=
33248
33249 for ac_func in nanosleep
33250 do
33251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33252 echo "$as_me:$LINENO: checking for $ac_func" >&5
33253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33254 if eval "test \"\${$as_ac_var+set}\" = set"; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 else
33257 cat >conftest.$ac_ext <<_ACEOF
33258 /* confdefs.h. */
33259 _ACEOF
33260 cat confdefs.h >>conftest.$ac_ext
33261 cat >>conftest.$ac_ext <<_ACEOF
33262 /* end confdefs.h. */
33263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33265 #define $ac_func innocuous_$ac_func
33266
33267 /* System header to define __stub macros and hopefully few prototypes,
33268 which can conflict with char $ac_func (); below.
33269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33270 <limits.h> exists even on freestanding compilers. */
33271
33272 #ifdef __STDC__
33273 # include <limits.h>
33274 #else
33275 # include <assert.h>
33276 #endif
33277
33278 #undef $ac_func
33279
33280 /* Override any gcc2 internal prototype to avoid an error. */
33281 #ifdef __cplusplus
33282 extern "C"
33283 {
33284 #endif
33285 /* We use char because int might match the return type of a gcc2
33286 builtin and then its argument prototype would still apply. */
33287 char $ac_func ();
33288 /* The GNU C library defines this for functions which it implements
33289 to always fail with ENOSYS. Some functions are actually named
33290 something starting with __ and the normal name is an alias. */
33291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33292 choke me
33293 #else
33294 char (*f) () = $ac_func;
33295 #endif
33296 #ifdef __cplusplus
33297 }
33298 #endif
33299
33300 int
33301 main ()
33302 {
33303 return f != $ac_func;
33304 ;
33305 return 0;
33306 }
33307 _ACEOF
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33310 (eval $ac_link) 2>conftest.er1
33311 ac_status=$?
33312 grep -v '^ *+' conftest.er1 >conftest.err
33313 rm -f conftest.er1
33314 cat conftest.err >&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); } &&
33317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33320 ac_status=$?
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; } &&
33323 { ac_try='test -s conftest$ac_exeext'
33324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33325 (eval $ac_try) 2>&5
33326 ac_status=$?
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); }; }; then
33329 eval "$as_ac_var=yes"
33330 else
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33333
33334 eval "$as_ac_var=no"
33335 fi
33336 rm -f conftest.err conftest.$ac_objext \
33337 conftest$ac_exeext conftest.$ac_ext
33338 fi
33339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33341 if test `eval echo '${'$as_ac_var'}'` = yes; then
33342 cat >>confdefs.h <<_ACEOF
33343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33344 _ACEOF
33345 cat >>confdefs.h <<\_ACEOF
33346 #define HAVE_NANOSLEEP 1
33347 _ACEOF
33348
33349 else
33350
33351 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33352 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33353 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 else
33356 ac_check_lib_save_LIBS=$LIBS
33357 LIBS="-lposix4 $LIBS"
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364
33365 /* Override any gcc2 internal prototype to avoid an error. */
33366 #ifdef __cplusplus
33367 extern "C"
33368 #endif
33369 /* We use char because int might match the return type of a gcc2
33370 builtin and then its argument prototype would still apply. */
33371 char nanosleep ();
33372 int
33373 main ()
33374 {
33375 nanosleep ();
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 rm -f conftest.$ac_objext conftest$ac_exeext
33381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33382 (eval $ac_link) 2>conftest.er1
33383 ac_status=$?
33384 grep -v '^ *+' conftest.er1 >conftest.err
33385 rm -f conftest.er1
33386 cat conftest.err >&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } &&
33389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; } &&
33395 { ac_try='test -s conftest$ac_exeext'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33398 ac_status=$?
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; }; then
33401 ac_cv_lib_posix4_nanosleep=yes
33402 else
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.$ac_ext >&5
33405
33406 ac_cv_lib_posix4_nanosleep=no
33407 fi
33408 rm -f conftest.err conftest.$ac_objext \
33409 conftest$ac_exeext conftest.$ac_ext
33410 LIBS=$ac_check_lib_save_LIBS
33411 fi
33412 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33413 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33414 if test $ac_cv_lib_posix4_nanosleep = yes; then
33415
33416 cat >>confdefs.h <<\_ACEOF
33417 #define HAVE_NANOSLEEP 1
33418 _ACEOF
33419
33420 POSIX4_LINK=" -lposix4"
33421
33422 else
33423
33424
33425 for ac_func in usleep
33426 do
33427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33428 echo "$as_me:$LINENO: checking for $ac_func" >&5
33429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33430 if eval "test \"\${$as_ac_var+set}\" = set"; then
33431 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 else
33433 cat >conftest.$ac_ext <<_ACEOF
33434 /* confdefs.h. */
33435 _ACEOF
33436 cat confdefs.h >>conftest.$ac_ext
33437 cat >>conftest.$ac_ext <<_ACEOF
33438 /* end confdefs.h. */
33439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33441 #define $ac_func innocuous_$ac_func
33442
33443 /* System header to define __stub macros and hopefully few prototypes,
33444 which can conflict with char $ac_func (); below.
33445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33446 <limits.h> exists even on freestanding compilers. */
33447
33448 #ifdef __STDC__
33449 # include <limits.h>
33450 #else
33451 # include <assert.h>
33452 #endif
33453
33454 #undef $ac_func
33455
33456 /* Override any gcc2 internal prototype to avoid an error. */
33457 #ifdef __cplusplus
33458 extern "C"
33459 {
33460 #endif
33461 /* We use char because int might match the return type of a gcc2
33462 builtin and then its argument prototype would still apply. */
33463 char $ac_func ();
33464 /* The GNU C library defines this for functions which it implements
33465 to always fail with ENOSYS. Some functions are actually named
33466 something starting with __ and the normal name is an alias. */
33467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33468 choke me
33469 #else
33470 char (*f) () = $ac_func;
33471 #endif
33472 #ifdef __cplusplus
33473 }
33474 #endif
33475
33476 int
33477 main ()
33478 {
33479 return f != $ac_func;
33480 ;
33481 return 0;
33482 }
33483 _ACEOF
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33486 (eval $ac_link) 2>conftest.er1
33487 ac_status=$?
33488 grep -v '^ *+' conftest.er1 >conftest.err
33489 rm -f conftest.er1
33490 cat conftest.err >&5
33491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 (exit $ac_status); } &&
33493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33496 ac_status=$?
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; } &&
33499 { ac_try='test -s conftest$ac_exeext'
33500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501 (eval $ac_try) 2>&5
33502 ac_status=$?
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); }; }; then
33505 eval "$as_ac_var=yes"
33506 else
33507 echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.$ac_ext >&5
33509
33510 eval "$as_ac_var=no"
33511 fi
33512 rm -f conftest.err conftest.$ac_objext \
33513 conftest$ac_exeext conftest.$ac_ext
33514 fi
33515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33517 if test `eval echo '${'$as_ac_var'}'` = yes; then
33518 cat >>confdefs.h <<_ACEOF
33519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33520 _ACEOF
33521 cat >>confdefs.h <<\_ACEOF
33522 #define HAVE_USLEEP 1
33523 _ACEOF
33524
33525 else
33526 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33527 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33528
33529 fi
33530 done
33531
33532
33533
33534 fi
33535
33536
33537
33538 fi
33539 done
33540
33541 fi
33542
33543
33544
33545 for ac_func in uname gethostname
33546 do
33547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33548 echo "$as_me:$LINENO: checking for $ac_func" >&5
33549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33550 if eval "test \"\${$as_ac_var+set}\" = set"; then
33551 echo $ECHO_N "(cached) $ECHO_C" >&6
33552 else
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33561 #define $ac_func innocuous_$ac_func
33562
33563 /* System header to define __stub macros and hopefully few prototypes,
33564 which can conflict with char $ac_func (); below.
33565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33566 <limits.h> exists even on freestanding compilers. */
33567
33568 #ifdef __STDC__
33569 # include <limits.h>
33570 #else
33571 # include <assert.h>
33572 #endif
33573
33574 #undef $ac_func
33575
33576 /* Override any gcc2 internal prototype to avoid an error. */
33577 #ifdef __cplusplus
33578 extern "C"
33579 {
33580 #endif
33581 /* We use char because int might match the return type of a gcc2
33582 builtin and then its argument prototype would still apply. */
33583 char $ac_func ();
33584 /* The GNU C library defines this for functions which it implements
33585 to always fail with ENOSYS. Some functions are actually named
33586 something starting with __ and the normal name is an alias. */
33587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33588 choke me
33589 #else
33590 char (*f) () = $ac_func;
33591 #endif
33592 #ifdef __cplusplus
33593 }
33594 #endif
33595
33596 int
33597 main ()
33598 {
33599 return f != $ac_func;
33600 ;
33601 return 0;
33602 }
33603 _ACEOF
33604 rm -f conftest.$ac_objext conftest$ac_exeext
33605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33606 (eval $ac_link) 2>conftest.er1
33607 ac_status=$?
33608 grep -v '^ *+' conftest.er1 >conftest.err
33609 rm -f conftest.er1
33610 cat conftest.err >&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); } &&
33613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33615 (eval $ac_try) 2>&5
33616 ac_status=$?
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); }; } &&
33619 { ac_try='test -s conftest$ac_exeext'
33620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33621 (eval $ac_try) 2>&5
33622 ac_status=$?
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); }; }; then
33625 eval "$as_ac_var=yes"
33626 else
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.$ac_ext >&5
33629
33630 eval "$as_ac_var=no"
33631 fi
33632 rm -f conftest.err conftest.$ac_objext \
33633 conftest$ac_exeext conftest.$ac_ext
33634 fi
33635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33637 if test `eval echo '${'$as_ac_var'}'` = yes; then
33638 cat >>confdefs.h <<_ACEOF
33639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33640 _ACEOF
33641 break
33642 fi
33643 done
33644
33645
33646
33647
33648 ac_ext=cc
33649 ac_cpp='$CXXCPP $CPPFLAGS'
33650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33653
33654
33655
33656 for ac_func in strtok_r
33657 do
33658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33659 echo "$as_me:$LINENO: checking for $ac_func" >&5
33660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33661 if eval "test \"\${$as_ac_var+set}\" = set"; then
33662 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 else
33664 cat >conftest.$ac_ext <<_ACEOF
33665 /* confdefs.h. */
33666 _ACEOF
33667 cat confdefs.h >>conftest.$ac_ext
33668 cat >>conftest.$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33672 #define $ac_func innocuous_$ac_func
33673
33674 /* System header to define __stub macros and hopefully few prototypes,
33675 which can conflict with char $ac_func (); below.
33676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33677 <limits.h> exists even on freestanding compilers. */
33678
33679 #ifdef __STDC__
33680 # include <limits.h>
33681 #else
33682 # include <assert.h>
33683 #endif
33684
33685 #undef $ac_func
33686
33687 /* Override any gcc2 internal prototype to avoid an error. */
33688 #ifdef __cplusplus
33689 extern "C"
33690 {
33691 #endif
33692 /* We use char because int might match the return type of a gcc2
33693 builtin and then its argument prototype would still apply. */
33694 char $ac_func ();
33695 /* The GNU C library defines this for functions which it implements
33696 to always fail with ENOSYS. Some functions are actually named
33697 something starting with __ and the normal name is an alias. */
33698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33699 choke me
33700 #else
33701 char (*f) () = $ac_func;
33702 #endif
33703 #ifdef __cplusplus
33704 }
33705 #endif
33706
33707 int
33708 main ()
33709 {
33710 return f != $ac_func;
33711 ;
33712 return 0;
33713 }
33714 _ACEOF
33715 rm -f conftest.$ac_objext conftest$ac_exeext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33717 (eval $ac_link) 2>conftest.er1
33718 ac_status=$?
33719 grep -v '^ *+' conftest.er1 >conftest.err
33720 rm -f conftest.er1
33721 cat conftest.err >&5
33722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33723 (exit $ac_status); } &&
33724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33727 ac_status=$?
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; } &&
33730 { ac_try='test -s conftest$ac_exeext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33733 ac_status=$?
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33736 eval "$as_ac_var=yes"
33737 else
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33740
33741 eval "$as_ac_var=no"
33742 fi
33743 rm -f conftest.err conftest.$ac_objext \
33744 conftest$ac_exeext conftest.$ac_ext
33745 fi
33746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33748 if test `eval echo '${'$as_ac_var'}'` = yes; then
33749 cat >>confdefs.h <<_ACEOF
33750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33751 _ACEOF
33752
33753 fi
33754 done
33755
33756
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763
33764 INET_LINK=
33765
33766 for ac_func in inet_addr
33767 do
33768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33769 echo "$as_me:$LINENO: checking for $ac_func" >&5
33770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33771 if eval "test \"\${$as_ac_var+set}\" = set"; then
33772 echo $ECHO_N "(cached) $ECHO_C" >&6
33773 else
33774 cat >conftest.$ac_ext <<_ACEOF
33775 /* confdefs.h. */
33776 _ACEOF
33777 cat confdefs.h >>conftest.$ac_ext
33778 cat >>conftest.$ac_ext <<_ACEOF
33779 /* end confdefs.h. */
33780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33782 #define $ac_func innocuous_$ac_func
33783
33784 /* System header to define __stub macros and hopefully few prototypes,
33785 which can conflict with char $ac_func (); below.
33786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33787 <limits.h> exists even on freestanding compilers. */
33788
33789 #ifdef __STDC__
33790 # include <limits.h>
33791 #else
33792 # include <assert.h>
33793 #endif
33794
33795 #undef $ac_func
33796
33797 /* Override any gcc2 internal prototype to avoid an error. */
33798 #ifdef __cplusplus
33799 extern "C"
33800 {
33801 #endif
33802 /* We use char because int might match the return type of a gcc2
33803 builtin and then its argument prototype would still apply. */
33804 char $ac_func ();
33805 /* The GNU C library defines this for functions which it implements
33806 to always fail with ENOSYS. Some functions are actually named
33807 something starting with __ and the normal name is an alias. */
33808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33809 choke me
33810 #else
33811 char (*f) () = $ac_func;
33812 #endif
33813 #ifdef __cplusplus
33814 }
33815 #endif
33816
33817 int
33818 main ()
33819 {
33820 return f != $ac_func;
33821 ;
33822 return 0;
33823 }
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33827 (eval $ac_link) 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } &&
33834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33837 ac_status=$?
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; } &&
33840 { ac_try='test -s conftest$ac_exeext'
33841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842 (eval $ac_try) 2>&5
33843 ac_status=$?
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); }; }; then
33846 eval "$as_ac_var=yes"
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 eval "$as_ac_var=no"
33852 fi
33853 rm -f conftest.err conftest.$ac_objext \
33854 conftest$ac_exeext conftest.$ac_ext
33855 fi
33856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33858 if test `eval echo '${'$as_ac_var'}'` = yes; then
33859 cat >>confdefs.h <<_ACEOF
33860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33861 _ACEOF
33862 cat >>confdefs.h <<\_ACEOF
33863 #define HAVE_INET_ADDR 1
33864 _ACEOF
33865
33866 else
33867
33868 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33869 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33870 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
33873 ac_check_lib_save_LIBS=$LIBS
33874 LIBS="-lnsl $LIBS"
33875 cat >conftest.$ac_ext <<_ACEOF
33876 /* confdefs.h. */
33877 _ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33881
33882 /* Override any gcc2 internal prototype to avoid an error. */
33883 #ifdef __cplusplus
33884 extern "C"
33885 #endif
33886 /* We use char because int might match the return type of a gcc2
33887 builtin and then its argument prototype would still apply. */
33888 char inet_addr ();
33889 int
33890 main ()
33891 {
33892 inet_addr ();
33893 ;
33894 return 0;
33895 }
33896 _ACEOF
33897 rm -f conftest.$ac_objext conftest$ac_exeext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33899 (eval $ac_link) 2>conftest.er1
33900 ac_status=$?
33901 grep -v '^ *+' conftest.er1 >conftest.err
33902 rm -f conftest.er1
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33909 ac_status=$?
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; } &&
33912 { ac_try='test -s conftest$ac_exeext'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33915 ac_status=$?
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; }; then
33918 ac_cv_lib_nsl_inet_addr=yes
33919 else
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.$ac_ext >&5
33922
33923 ac_cv_lib_nsl_inet_addr=no
33924 fi
33925 rm -f conftest.err conftest.$ac_objext \
33926 conftest$ac_exeext conftest.$ac_ext
33927 LIBS=$ac_check_lib_save_LIBS
33928 fi
33929 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33930 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33931 if test $ac_cv_lib_nsl_inet_addr = yes; then
33932 INET_LINK="nsl"
33933 else
33934
33935 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33936 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33937 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33938 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 else
33940 ac_check_lib_save_LIBS=$LIBS
33941 LIBS="-lresolv $LIBS"
33942 cat >conftest.$ac_ext <<_ACEOF
33943 /* confdefs.h. */
33944 _ACEOF
33945 cat confdefs.h >>conftest.$ac_ext
33946 cat >>conftest.$ac_ext <<_ACEOF
33947 /* end confdefs.h. */
33948
33949 /* Override any gcc2 internal prototype to avoid an error. */
33950 #ifdef __cplusplus
33951 extern "C"
33952 #endif
33953 /* We use char because int might match the return type of a gcc2
33954 builtin and then its argument prototype would still apply. */
33955 char inet_addr ();
33956 int
33957 main ()
33958 {
33959 inet_addr ();
33960 ;
33961 return 0;
33962 }
33963 _ACEOF
33964 rm -f conftest.$ac_objext conftest$ac_exeext
33965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33966 (eval $ac_link) 2>conftest.er1
33967 ac_status=$?
33968 grep -v '^ *+' conftest.er1 >conftest.err
33969 rm -f conftest.er1
33970 cat conftest.err >&5
33971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972 (exit $ac_status); } &&
33973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975 (eval $ac_try) 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; } &&
33979 { ac_try='test -s conftest$ac_exeext'
33980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981 (eval $ac_try) 2>&5
33982 ac_status=$?
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; }; then
33985 ac_cv_lib_resolv_inet_addr=yes
33986 else
33987 echo "$as_me: failed program was:" >&5
33988 sed 's/^/| /' conftest.$ac_ext >&5
33989
33990 ac_cv_lib_resolv_inet_addr=no
33991 fi
33992 rm -f conftest.err conftest.$ac_objext \
33993 conftest$ac_exeext conftest.$ac_ext
33994 LIBS=$ac_check_lib_save_LIBS
33995 fi
33996 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33997 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33998 if test $ac_cv_lib_resolv_inet_addr = yes; then
33999 INET_LINK="resolv"
34000 else
34001
34002 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34003 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34004 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34007 ac_check_lib_save_LIBS=$LIBS
34008 LIBS="-lsocket $LIBS"
34009 cat >conftest.$ac_ext <<_ACEOF
34010 /* confdefs.h. */
34011 _ACEOF
34012 cat confdefs.h >>conftest.$ac_ext
34013 cat >>conftest.$ac_ext <<_ACEOF
34014 /* end confdefs.h. */
34015
34016 /* Override any gcc2 internal prototype to avoid an error. */
34017 #ifdef __cplusplus
34018 extern "C"
34019 #endif
34020 /* We use char because int might match the return type of a gcc2
34021 builtin and then its argument prototype would still apply. */
34022 char inet_addr ();
34023 int
34024 main ()
34025 {
34026 inet_addr ();
34027 ;
34028 return 0;
34029 }
34030 _ACEOF
34031 rm -f conftest.$ac_objext conftest$ac_exeext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34033 (eval $ac_link) 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34042 (eval $ac_try) 2>&5
34043 ac_status=$?
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); }; } &&
34046 { ac_try='test -s conftest$ac_exeext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 ac_cv_lib_socket_inet_addr=yes
34053 else
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34056
34057 ac_cv_lib_socket_inet_addr=no
34058 fi
34059 rm -f conftest.err conftest.$ac_objext \
34060 conftest$ac_exeext conftest.$ac_ext
34061 LIBS=$ac_check_lib_save_LIBS
34062 fi
34063 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34064 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34065 if test $ac_cv_lib_socket_inet_addr = yes; then
34066 INET_LINK="socket"
34067
34068 fi
34069
34070
34071
34072 fi
34073
34074
34075
34076 fi
34077
34078
34079
34080 fi
34081 done
34082
34083
34084
34085 for ac_func in inet_aton
34086 do
34087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34088 echo "$as_me:$LINENO: checking for $ac_func" >&5
34089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34090 if eval "test \"\${$as_ac_var+set}\" = set"; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 else
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34101 #define $ac_func innocuous_$ac_func
34102
34103 /* System header to define __stub macros and hopefully few prototypes,
34104 which can conflict with char $ac_func (); below.
34105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34106 <limits.h> exists even on freestanding compilers. */
34107
34108 #ifdef __STDC__
34109 # include <limits.h>
34110 #else
34111 # include <assert.h>
34112 #endif
34113
34114 #undef $ac_func
34115
34116 /* Override any gcc2 internal prototype to avoid an error. */
34117 #ifdef __cplusplus
34118 extern "C"
34119 {
34120 #endif
34121 /* We use char because int might match the return type of a gcc2
34122 builtin and then its argument prototype would still apply. */
34123 char $ac_func ();
34124 /* The GNU C library defines this for functions which it implements
34125 to always fail with ENOSYS. Some functions are actually named
34126 something starting with __ and the normal name is an alias. */
34127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34128 choke me
34129 #else
34130 char (*f) () = $ac_func;
34131 #endif
34132 #ifdef __cplusplus
34133 }
34134 #endif
34135
34136 int
34137 main ()
34138 {
34139 return f != $ac_func;
34140 ;
34141 return 0;
34142 }
34143 _ACEOF
34144 rm -f conftest.$ac_objext conftest$ac_exeext
34145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34146 (eval $ac_link) 2>conftest.er1
34147 ac_status=$?
34148 grep -v '^ *+' conftest.er1 >conftest.err
34149 rm -f conftest.er1
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } &&
34153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34155 (eval $ac_try) 2>&5
34156 ac_status=$?
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); }; } &&
34159 { ac_try='test -s conftest$ac_exeext'
34160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34161 (eval $ac_try) 2>&5
34162 ac_status=$?
34163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34164 (exit $ac_status); }; }; then
34165 eval "$as_ac_var=yes"
34166 else
34167 echo "$as_me: failed program was:" >&5
34168 sed 's/^/| /' conftest.$ac_ext >&5
34169
34170 eval "$as_ac_var=no"
34171 fi
34172 rm -f conftest.err conftest.$ac_objext \
34173 conftest$ac_exeext conftest.$ac_ext
34174 fi
34175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34177 if test `eval echo '${'$as_ac_var'}'` = yes; then
34178 cat >>confdefs.h <<_ACEOF
34179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34180 _ACEOF
34181 cat >>confdefs.h <<\_ACEOF
34182 #define HAVE_INET_ATON 1
34183 _ACEOF
34184
34185 else
34186
34187 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34188 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34189 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34190 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34191 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 else
34193 ac_check_lib_save_LIBS=$LIBS
34194 LIBS="-l$INET_LINK $LIBS"
34195 cat >conftest.$ac_ext <<_ACEOF
34196 /* confdefs.h. */
34197 _ACEOF
34198 cat confdefs.h >>conftest.$ac_ext
34199 cat >>conftest.$ac_ext <<_ACEOF
34200 /* end confdefs.h. */
34201
34202 /* Override any gcc2 internal prototype to avoid an error. */
34203 #ifdef __cplusplus
34204 extern "C"
34205 #endif
34206 /* We use char because int might match the return type of a gcc2
34207 builtin and then its argument prototype would still apply. */
34208 char inet_aton ();
34209 int
34210 main ()
34211 {
34212 inet_aton ();
34213 ;
34214 return 0;
34215 }
34216 _ACEOF
34217 rm -f conftest.$ac_objext conftest$ac_exeext
34218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34219 (eval $ac_link) 2>conftest.er1
34220 ac_status=$?
34221 grep -v '^ *+' conftest.er1 >conftest.err
34222 rm -f conftest.er1
34223 cat conftest.err >&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); } &&
34226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; } &&
34232 { ac_try='test -s conftest$ac_exeext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 eval "$as_ac_Lib=yes"
34239 else
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.$ac_ext >&5
34242
34243 eval "$as_ac_Lib=no"
34244 fi
34245 rm -f conftest.err conftest.$ac_objext \
34246 conftest$ac_exeext conftest.$ac_ext
34247 LIBS=$ac_check_lib_save_LIBS
34248 fi
34249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34250 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34251 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34252 cat >>confdefs.h <<\_ACEOF
34253 #define HAVE_INET_ATON 1
34254 _ACEOF
34255
34256 fi
34257
34258
34259 fi
34260 done
34261
34262
34263 if test "x$INET_LINK" != "x"; then
34264 cat >>confdefs.h <<\_ACEOF
34265 #define HAVE_INET_ADDR 1
34266 _ACEOF
34267
34268 INET_LINK=" -l$INET_LINK"
34269 fi
34270
34271 fi
34272
34273
34274
34275 EXTRALIBS_ESD=
34276 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34277 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34278 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34279 echo $ECHO_N "(cached) $ECHO_C" >&6
34280 else
34281 ac_check_lib_save_LIBS=$LIBS
34282 LIBS="-lesd $LIBS"
34283 cat >conftest.$ac_ext <<_ACEOF
34284 /* confdefs.h. */
34285 _ACEOF
34286 cat confdefs.h >>conftest.$ac_ext
34287 cat >>conftest.$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289
34290 /* Override any gcc2 internal prototype to avoid an error. */
34291 #ifdef __cplusplus
34292 extern "C"
34293 #endif
34294 /* We use char because int might match the return type of a gcc2
34295 builtin and then its argument prototype would still apply. */
34296 char esd_close ();
34297 int
34298 main ()
34299 {
34300 esd_close ();
34301 ;
34302 return 0;
34303 }
34304 _ACEOF
34305 rm -f conftest.$ac_objext conftest$ac_exeext
34306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34307 (eval $ac_link) 2>conftest.er1
34308 ac_status=$?
34309 grep -v '^ *+' conftest.er1 >conftest.err
34310 rm -f conftest.er1
34311 cat conftest.err >&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); } &&
34314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34316 (eval $ac_try) 2>&5
34317 ac_status=$?
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); }; } &&
34320 { ac_try='test -s conftest$ac_exeext'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34323 ac_status=$?
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; }; then
34326 ac_cv_lib_esd_esd_close=yes
34327 else
34328 echo "$as_me: failed program was:" >&5
34329 sed 's/^/| /' conftest.$ac_ext >&5
34330
34331 ac_cv_lib_esd_esd_close=no
34332 fi
34333 rm -f conftest.err conftest.$ac_objext \
34334 conftest$ac_exeext conftest.$ac_ext
34335 LIBS=$ac_check_lib_save_LIBS
34336 fi
34337 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34338 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34339 if test $ac_cv_lib_esd_esd_close = yes; then
34340
34341
34342 for ac_header in esd.h
34343 do
34344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34346 echo "$as_me:$LINENO: checking for $ac_header" >&5
34347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 fi
34351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34353 else
34354 # Is the header compilable?
34355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34357 cat >conftest.$ac_ext <<_ACEOF
34358 /* confdefs.h. */
34359 _ACEOF
34360 cat confdefs.h >>conftest.$ac_ext
34361 cat >>conftest.$ac_ext <<_ACEOF
34362 /* end confdefs.h. */
34363 $ac_includes_default
34364 #include <$ac_header>
34365 _ACEOF
34366 rm -f conftest.$ac_objext
34367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34368 (eval $ac_compile) 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } &&
34375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34378 ac_status=$?
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; } &&
34381 { ac_try='test -s conftest.$ac_objext'
34382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34383 (eval $ac_try) 2>&5
34384 ac_status=$?
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); }; }; then
34387 ac_header_compiler=yes
34388 else
34389 echo "$as_me: failed program was:" >&5
34390 sed 's/^/| /' conftest.$ac_ext >&5
34391
34392 ac_header_compiler=no
34393 fi
34394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34396 echo "${ECHO_T}$ac_header_compiler" >&6
34397
34398 # Is the header present?
34399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34401 cat >conftest.$ac_ext <<_ACEOF
34402 /* confdefs.h. */
34403 _ACEOF
34404 cat confdefs.h >>conftest.$ac_ext
34405 cat >>conftest.$ac_ext <<_ACEOF
34406 /* end confdefs.h. */
34407 #include <$ac_header>
34408 _ACEOF
34409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } >/dev/null; then
34417 if test -s conftest.err; then
34418 ac_cpp_err=$ac_c_preproc_warn_flag
34419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34420 else
34421 ac_cpp_err=
34422 fi
34423 else
34424 ac_cpp_err=yes
34425 fi
34426 if test -z "$ac_cpp_err"; then
34427 ac_header_preproc=yes
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34431
34432 ac_header_preproc=no
34433 fi
34434 rm -f conftest.err conftest.$ac_ext
34435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34436 echo "${ECHO_T}$ac_header_preproc" >&6
34437
34438 # So? What about this header?
34439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34440 yes:no: )
34441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34445 ac_header_preproc=yes
34446 ;;
34447 no:yes:* )
34448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34460 (
34461 cat <<\_ASBOX
34462 ## ----------------------------------------- ##
34463 ## Report this to wx-dev@lists.wxwidgets.org ##
34464 ## ----------------------------------------- ##
34465 _ASBOX
34466 ) |
34467 sed "s/^/$as_me: WARNING: /" >&2
34468 ;;
34469 esac
34470 echo "$as_me:$LINENO: checking for $ac_header" >&5
34471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34473 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 else
34475 eval "$as_ac_Header=\$ac_header_preproc"
34476 fi
34477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34479
34480 fi
34481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34482 cat >>confdefs.h <<_ACEOF
34483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34484 _ACEOF
34485
34486 EXTRALIBS_ESD="-lesd"
34487
34488 fi
34489
34490 done
34491
34492
34493 fi
34494
34495
34496
34497 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34498 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34499 cat >conftest.$ac_ext <<_ACEOF
34500 /* confdefs.h. */
34501 _ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505 #ifdef __linux__
34506 #include <linux/cdrom.h>
34507 #else
34508 /* For Solaris */
34509 #include <sys/cdio.h>
34510 #endif
34511
34512 int
34513 main ()
34514 {
34515 struct cdrom_tocentry entry, old_entry;
34516 ;
34517 return 0;
34518 }
34519 _ACEOF
34520 rm -f conftest.$ac_objext
34521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34522 (eval $ac_compile) 2>conftest.er1
34523 ac_status=$?
34524 grep -v '^ *+' conftest.er1 >conftest.err
34525 rm -f conftest.er1
34526 cat conftest.err >&5
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); } &&
34529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; } &&
34535 { ac_try='test -s conftest.$ac_objext'
34536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34537 (eval $ac_try) 2>&5
34538 ac_status=$?
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); }; }; then
34541 echo "$as_me:$LINENO: result: yes" >&5
34542 echo "${ECHO_T}yes" >&6
34543 cat >>confdefs.h <<\_ACEOF
34544 #define HAVE_KNOWN_CDROM_INTERFACE 1
34545 _ACEOF
34546
34547 else
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.$ac_ext >&5
34550
34551 echo "$as_me:$LINENO: result: no" >&5
34552 echo "${ECHO_T}no" >&6
34553 fi
34554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34555
34556
34557 cat >confcache <<\_ACEOF
34558 # This file is a shell script that caches the results of configure
34559 # tests run on this system so they can be shared between configure
34560 # scripts and configure runs, see configure's option --config-cache.
34561 # It is not useful on other systems. If it contains results you don't
34562 # want to keep, you may remove or edit it.
34563 #
34564 # config.status only pays attention to the cache file if you give it
34565 # the --recheck option to rerun configure.
34566 #
34567 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34568 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34569 # following values.
34570
34571 _ACEOF
34572
34573 # The following way of writing the cache mishandles newlines in values,
34574 # but we know of no workaround that is simple, portable, and efficient.
34575 # So, don't put newlines in cache variables' values.
34576 # Ultrix sh set writes to stderr and can't be redirected directly,
34577 # and sets the high bit in the cache file unless we assign to the vars.
34578 {
34579 (set) 2>&1 |
34580 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34581 *ac_space=\ *)
34582 # `set' does not quote correctly, so add quotes (double-quote
34583 # substitution turns \\\\ into \\, and sed turns \\ into \).
34584 sed -n \
34585 "s/'/'\\\\''/g;
34586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34587 ;;
34588 *)
34589 # `set' quotes correctly as required by POSIX, so do not add quotes.
34590 sed -n \
34591 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34592 ;;
34593 esac;
34594 } |
34595 sed '
34596 t clear
34597 : clear
34598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34599 t end
34600 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34601 : end' >>confcache
34602 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34603 if test -w $cache_file; then
34604 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34605 cat confcache >$cache_file
34606 else
34607 echo "not updating unwritable cache $cache_file"
34608 fi
34609 fi
34610 rm -f confcache
34611
34612
34613 CPP_MT_FLAG=
34614 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34615
34616
34617 THREADS_LINK=
34618 THREADS_CFLAGS=
34619
34620 if test "$wxUSE_THREADS" = "yes" ; then
34621 if test "$USE_BEOS" = 1; then
34622 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34623 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34624 wxUSE_THREADS="no"
34625 fi
34626 fi
34627
34628 if test "$wxUSE_THREADS" = "yes" ; then
34629
34630
34631 THREAD_OPTS="-pthread"
34632 case "${host}" in
34633 *-*-solaris2* | *-*-sunos4* )
34634 if test "x$GCC" = "xyes"; then
34635 THREAD_OPTS="-pthreads $THREAD_OPTS"
34636 else
34637 THREAD_OPTS="-mt $THREAD_OPTS"
34638 fi
34639 ;;
34640 *-*-freebsd*)
34641 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34642 ;;
34643 *-*-darwin* | *-*-cygwin* )
34644 THREAD_OPTS=""
34645 ;;
34646 *-*-aix*)
34647 THREAD_OPTS="pthreads"
34648 ;;
34649 *-hp-hpux* )
34650 if test "x$GCC" != "xyes"; then
34651 THREAD_OPTS=""
34652 fi
34653 ;;
34654
34655 *-*-irix* )
34656 if test "x$GCC" = "xyes"; then
34657 THREAD_OPTS=""
34658 fi
34659 ;;
34660
34661 *-*-*UnixWare*)
34662 if test "x$GCC" != "xyes"; then
34663 THREAD_OPTS="-Ethread"
34664 fi
34665 ;;
34666 esac
34667
34668 THREAD_OPTS="$THREAD_OPTS pthread none"
34669
34670 THREADS_OK=no
34671 for flag in $THREAD_OPTS; do
34672 case $flag in
34673 none)
34674 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34675 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34676 ;;
34677
34678 -*)
34679 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34680 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34681 THREADS_CFLAGS="$flag"
34682 ;;
34683
34684 *)
34685 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34686 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34687 THREADS_LINK="-l$flag"
34688 ;;
34689 esac
34690
34691 save_LIBS="$LIBS"
34692 save_CFLAGS="$CFLAGS"
34693 LIBS="$THREADS_LINK $LIBS"
34694 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34695
34696 cat >conftest.$ac_ext <<_ACEOF
34697 /* confdefs.h. */
34698 _ACEOF
34699 cat confdefs.h >>conftest.$ac_ext
34700 cat >>conftest.$ac_ext <<_ACEOF
34701 /* end confdefs.h. */
34702 #include <pthread.h>
34703 int
34704 main ()
34705 {
34706 pthread_create(0,0,0,0);
34707 ;
34708 return 0;
34709 }
34710 _ACEOF
34711 rm -f conftest.$ac_objext conftest$ac_exeext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34713 (eval $ac_link) 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722 (eval $ac_try) 2>&5
34723 ac_status=$?
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; } &&
34726 { ac_try='test -s conftest$ac_exeext'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; }; then
34732 THREADS_OK=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 fi
34738 rm -f conftest.err conftest.$ac_objext \
34739 conftest$ac_exeext conftest.$ac_ext
34740
34741 LIBS="$save_LIBS"
34742 CFLAGS="$save_CFLAGS"
34743
34744 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34745 echo "${ECHO_T}$THREADS_OK" >&6
34746 if test "x$THREADS_OK" = "xyes"; then
34747 break;
34748 fi
34749
34750 THREADS_LINK=""
34751 THREADS_CFLAGS=""
34752 done
34753
34754 if test "x$THREADS_OK" != "xyes"; then
34755 wxUSE_THREADS=no
34756 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34757 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34758 else
34759 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34760 LIBS="$THREADS_LINK $LIBS"
34761
34762 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34763 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34764 flag=no
34765 case "${host}" in
34766 *-aix*)
34767 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34768 flag="-D_THREAD_SAFE"
34769 ;;
34770 *-freebsd*)
34771 flag="-D_THREAD_SAFE"
34772 ;;
34773 *-hp-hpux* )
34774 flag="-D_REENTRANT"
34775 if test "x$GCC" != "xyes"; then
34776 flag="$flag -D_RWSTD_MULTI_THREAD"
34777 fi
34778 ;;
34779 *solaris* | alpha*-osf*)
34780 flag="-D_REENTRANT"
34781 ;;
34782 esac
34783 echo "$as_me:$LINENO: result: ${flag}" >&5
34784 echo "${ECHO_T}${flag}" >&6
34785 if test "x$flag" != xno; then
34786 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34787 fi
34788
34789 if test "x$THREADS_CFLAGS" != "x"; then
34790 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34791 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34792 fi
34793 fi
34794 fi
34795
34796 if test "$wxUSE_THREADS" = "yes" ; then
34797
34798 for ac_func in thr_setconcurrency
34799 do
34800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34801 echo "$as_me:$LINENO: checking for $ac_func" >&5
34802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34803 if eval "test \"\${$as_ac_var+set}\" = set"; then
34804 echo $ECHO_N "(cached) $ECHO_C" >&6
34805 else
34806 cat >conftest.$ac_ext <<_ACEOF
34807 /* confdefs.h. */
34808 _ACEOF
34809 cat confdefs.h >>conftest.$ac_ext
34810 cat >>conftest.$ac_ext <<_ACEOF
34811 /* end confdefs.h. */
34812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34814 #define $ac_func innocuous_$ac_func
34815
34816 /* System header to define __stub macros and hopefully few prototypes,
34817 which can conflict with char $ac_func (); below.
34818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34819 <limits.h> exists even on freestanding compilers. */
34820
34821 #ifdef __STDC__
34822 # include <limits.h>
34823 #else
34824 # include <assert.h>
34825 #endif
34826
34827 #undef $ac_func
34828
34829 /* Override any gcc2 internal prototype to avoid an error. */
34830 #ifdef __cplusplus
34831 extern "C"
34832 {
34833 #endif
34834 /* We use char because int might match the return type of a gcc2
34835 builtin and then its argument prototype would still apply. */
34836 char $ac_func ();
34837 /* The GNU C library defines this for functions which it implements
34838 to always fail with ENOSYS. Some functions are actually named
34839 something starting with __ and the normal name is an alias. */
34840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34841 choke me
34842 #else
34843 char (*f) () = $ac_func;
34844 #endif
34845 #ifdef __cplusplus
34846 }
34847 #endif
34848
34849 int
34850 main ()
34851 {
34852 return f != $ac_func;
34853 ;
34854 return 0;
34855 }
34856 _ACEOF
34857 rm -f conftest.$ac_objext conftest$ac_exeext
34858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34859 (eval $ac_link) 2>conftest.er1
34860 ac_status=$?
34861 grep -v '^ *+' conftest.er1 >conftest.err
34862 rm -f conftest.er1
34863 cat conftest.err >&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); } &&
34866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34868 (eval $ac_try) 2>&5
34869 ac_status=$?
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; } &&
34872 { ac_try='test -s conftest$ac_exeext'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34875 ac_status=$?
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; }; then
34878 eval "$as_ac_var=yes"
34879 else
34880 echo "$as_me: failed program was:" >&5
34881 sed 's/^/| /' conftest.$ac_ext >&5
34882
34883 eval "$as_ac_var=no"
34884 fi
34885 rm -f conftest.err conftest.$ac_objext \
34886 conftest$ac_exeext conftest.$ac_ext
34887 fi
34888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34890 if test `eval echo '${'$as_ac_var'}'` = yes; then
34891 cat >>confdefs.h <<_ACEOF
34892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34893 _ACEOF
34894
34895 fi
34896 done
34897
34898
34899 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
34900 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
34901 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 else
34904
34905 cat >conftest.$ac_ext <<_ACEOF
34906 /* confdefs.h. */
34907 _ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34911 #include <pthread.h>
34912 void ThreadCleanupFunc(void *p);
34913
34914 int
34915 main ()
34916 {
34917
34918 void *p;
34919 pthread_cleanup_push(ThreadCleanupFunc, p);
34920 pthread_cleanup_pop(0);
34921
34922 ;
34923 return 0;
34924 }
34925 _ACEOF
34926 rm -f conftest.$ac_objext
34927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34928 (eval $ac_compile) 2>conftest.er1
34929 ac_status=$?
34930 grep -v '^ *+' conftest.er1 >conftest.err
34931 rm -f conftest.er1
34932 cat conftest.err >&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } &&
34935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34937 (eval $ac_try) 2>&5
34938 ac_status=$?
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); }; } &&
34941 { ac_try='test -s conftest.$ac_objext'
34942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34943 (eval $ac_try) 2>&5
34944 ac_status=$?
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); }; }; then
34947
34948 wx_cv_func_pthread_cleanup=yes
34949
34950 else
34951 echo "$as_me: failed program was:" >&5
34952 sed 's/^/| /' conftest.$ac_ext >&5
34953
34954
34955 wx_cv_func_pthread_cleanup=no
34956
34957
34958 fi
34959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34960
34961 fi
34962 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
34963 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
34964 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
34965 cat >>confdefs.h <<\_ACEOF
34966 #define wxHAVE_PTHREAD_CLEANUP 1
34967 _ACEOF
34968
34969 fi
34970
34971
34972 for ac_header in sched.h
34973 do
34974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34976 echo "$as_me:$LINENO: checking for $ac_header" >&5
34977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34979 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 fi
34981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34983 else
34984 # Is the header compilable?
34985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34987 cat >conftest.$ac_ext <<_ACEOF
34988 /* confdefs.h. */
34989 _ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34993 $ac_includes_default
34994 #include <$ac_header>
34995 _ACEOF
34996 rm -f conftest.$ac_objext
34997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34998 (eval $ac_compile) 2>conftest.er1
34999 ac_status=$?
35000 grep -v '^ *+' conftest.er1 >conftest.err
35001 rm -f conftest.er1
35002 cat conftest.err >&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } &&
35005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35008 ac_status=$?
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; } &&
35011 { ac_try='test -s conftest.$ac_objext'
35012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013 (eval $ac_try) 2>&5
35014 ac_status=$?
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); }; }; then
35017 ac_header_compiler=yes
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35021
35022 ac_header_compiler=no
35023 fi
35024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35026 echo "${ECHO_T}$ac_header_compiler" >&6
35027
35028 # Is the header present?
35029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35031 cat >conftest.$ac_ext <<_ACEOF
35032 /* confdefs.h. */
35033 _ACEOF
35034 cat confdefs.h >>conftest.$ac_ext
35035 cat >>conftest.$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037 #include <$ac_header>
35038 _ACEOF
35039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35041 ac_status=$?
35042 grep -v '^ *+' conftest.er1 >conftest.err
35043 rm -f conftest.er1
35044 cat conftest.err >&5
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); } >/dev/null; then
35047 if test -s conftest.err; then
35048 ac_cpp_err=$ac_c_preproc_warn_flag
35049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35050 else
35051 ac_cpp_err=
35052 fi
35053 else
35054 ac_cpp_err=yes
35055 fi
35056 if test -z "$ac_cpp_err"; then
35057 ac_header_preproc=yes
35058 else
35059 echo "$as_me: failed program was:" >&5
35060 sed 's/^/| /' conftest.$ac_ext >&5
35061
35062 ac_header_preproc=no
35063 fi
35064 rm -f conftest.err conftest.$ac_ext
35065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35066 echo "${ECHO_T}$ac_header_preproc" >&6
35067
35068 # So? What about this header?
35069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35070 yes:no: )
35071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35075 ac_header_preproc=yes
35076 ;;
35077 no:yes:* )
35078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35090 (
35091 cat <<\_ASBOX
35092 ## ----------------------------------------- ##
35093 ## Report this to wx-dev@lists.wxwidgets.org ##
35094 ## ----------------------------------------- ##
35095 _ASBOX
35096 ) |
35097 sed "s/^/$as_me: WARNING: /" >&2
35098 ;;
35099 esac
35100 echo "$as_me:$LINENO: checking for $ac_header" >&5
35101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105 eval "$as_ac_Header=\$ac_header_preproc"
35106 fi
35107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35109
35110 fi
35111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35112 cat >>confdefs.h <<_ACEOF
35113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35114 _ACEOF
35115
35116 fi
35117
35118 done
35119
35120 if test "$ac_cv_header_sched_h" = "yes"; then
35121 echo "$as_me:$LINENO: checking for sched_yield" >&5
35122 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35123 if test "${ac_cv_func_sched_yield+set}" = set; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126 cat >conftest.$ac_ext <<_ACEOF
35127 /* confdefs.h. */
35128 _ACEOF
35129 cat confdefs.h >>conftest.$ac_ext
35130 cat >>conftest.$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35132 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35134 #define sched_yield innocuous_sched_yield
35135
35136 /* System header to define __stub macros and hopefully few prototypes,
35137 which can conflict with char sched_yield (); below.
35138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35139 <limits.h> exists even on freestanding compilers. */
35140
35141 #ifdef __STDC__
35142 # include <limits.h>
35143 #else
35144 # include <assert.h>
35145 #endif
35146
35147 #undef sched_yield
35148
35149 /* Override any gcc2 internal prototype to avoid an error. */
35150 #ifdef __cplusplus
35151 extern "C"
35152 {
35153 #endif
35154 /* We use char because int might match the return type of a gcc2
35155 builtin and then its argument prototype would still apply. */
35156 char sched_yield ();
35157 /* The GNU C library defines this for functions which it implements
35158 to always fail with ENOSYS. Some functions are actually named
35159 something starting with __ and the normal name is an alias. */
35160 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35161 choke me
35162 #else
35163 char (*f) () = sched_yield;
35164 #endif
35165 #ifdef __cplusplus
35166 }
35167 #endif
35168
35169 int
35170 main ()
35171 {
35172 return f != sched_yield;
35173 ;
35174 return 0;
35175 }
35176 _ACEOF
35177 rm -f conftest.$ac_objext conftest$ac_exeext
35178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35179 (eval $ac_link) 2>conftest.er1
35180 ac_status=$?
35181 grep -v '^ *+' conftest.er1 >conftest.err
35182 rm -f conftest.er1
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } &&
35186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35189 ac_status=$?
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try='test -s conftest$ac_exeext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35195 ac_status=$?
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 ac_cv_func_sched_yield=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 ac_cv_func_sched_yield=no
35204 fi
35205 rm -f conftest.err conftest.$ac_objext \
35206 conftest$ac_exeext conftest.$ac_ext
35207 fi
35208 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35209 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35210 if test $ac_cv_func_sched_yield = yes; then
35211 cat >>confdefs.h <<\_ACEOF
35212 #define HAVE_SCHED_YIELD 1
35213 _ACEOF
35214
35215 else
35216
35217 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35218 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35219 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35221 else
35222 ac_check_lib_save_LIBS=$LIBS
35223 LIBS="-lposix4 $LIBS"
35224 cat >conftest.$ac_ext <<_ACEOF
35225 /* confdefs.h. */
35226 _ACEOF
35227 cat confdefs.h >>conftest.$ac_ext
35228 cat >>conftest.$ac_ext <<_ACEOF
35229 /* end confdefs.h. */
35230
35231 /* Override any gcc2 internal prototype to avoid an error. */
35232 #ifdef __cplusplus
35233 extern "C"
35234 #endif
35235 /* We use char because int might match the return type of a gcc2
35236 builtin and then its argument prototype would still apply. */
35237 char sched_yield ();
35238 int
35239 main ()
35240 {
35241 sched_yield ();
35242 ;
35243 return 0;
35244 }
35245 _ACEOF
35246 rm -f conftest.$ac_objext conftest$ac_exeext
35247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35248 (eval $ac_link) 2>conftest.er1
35249 ac_status=$?
35250 grep -v '^ *+' conftest.er1 >conftest.err
35251 rm -f conftest.er1
35252 cat conftest.err >&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } &&
35255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 (eval $ac_try) 2>&5
35258 ac_status=$?
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); }; } &&
35261 { ac_try='test -s conftest$ac_exeext'
35262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35263 (eval $ac_try) 2>&5
35264 ac_status=$?
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); }; }; then
35267 ac_cv_lib_posix4_sched_yield=yes
35268 else
35269 echo "$as_me: failed program was:" >&5
35270 sed 's/^/| /' conftest.$ac_ext >&5
35271
35272 ac_cv_lib_posix4_sched_yield=no
35273 fi
35274 rm -f conftest.err conftest.$ac_objext \
35275 conftest$ac_exeext conftest.$ac_ext
35276 LIBS=$ac_check_lib_save_LIBS
35277 fi
35278 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35279 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35280 if test $ac_cv_lib_posix4_sched_yield = yes; then
35281 cat >>confdefs.h <<\_ACEOF
35282 #define HAVE_SCHED_YIELD 1
35283 _ACEOF
35284 POSIX4_LINK=" -lposix4"
35285 else
35286 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35287 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35288
35289 fi
35290
35291
35292
35293 fi
35294
35295 fi
35296
35297 HAVE_PRIOR_FUNCS=0
35298 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35299 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35300 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303 cat >conftest.$ac_ext <<_ACEOF
35304 /* confdefs.h. */
35305 _ACEOF
35306 cat confdefs.h >>conftest.$ac_ext
35307 cat >>conftest.$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35311 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35312
35313 /* System header to define __stub macros and hopefully few prototypes,
35314 which can conflict with char pthread_attr_getschedpolicy (); below.
35315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35316 <limits.h> exists even on freestanding compilers. */
35317
35318 #ifdef __STDC__
35319 # include <limits.h>
35320 #else
35321 # include <assert.h>
35322 #endif
35323
35324 #undef pthread_attr_getschedpolicy
35325
35326 /* Override any gcc2 internal prototype to avoid an error. */
35327 #ifdef __cplusplus
35328 extern "C"
35329 {
35330 #endif
35331 /* We use char because int might match the return type of a gcc2
35332 builtin and then its argument prototype would still apply. */
35333 char pthread_attr_getschedpolicy ();
35334 /* The GNU C library defines this for functions which it implements
35335 to always fail with ENOSYS. Some functions are actually named
35336 something starting with __ and the normal name is an alias. */
35337 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35338 choke me
35339 #else
35340 char (*f) () = pthread_attr_getschedpolicy;
35341 #endif
35342 #ifdef __cplusplus
35343 }
35344 #endif
35345
35346 int
35347 main ()
35348 {
35349 return f != pthread_attr_getschedpolicy;
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext conftest$ac_exeext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35356 (eval $ac_link) 2>conftest.er1
35357 ac_status=$?
35358 grep -v '^ *+' conftest.er1 >conftest.err
35359 rm -f conftest.er1
35360 cat conftest.err >&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
35363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35366 ac_status=$?
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try='test -s conftest$ac_exeext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35372 ac_status=$?
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 ac_cv_func_pthread_attr_getschedpolicy=yes
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 ac_cv_func_pthread_attr_getschedpolicy=no
35381 fi
35382 rm -f conftest.err conftest.$ac_objext \
35383 conftest$ac_exeext conftest.$ac_ext
35384 fi
35385 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35386 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35387 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35388 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35389 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35390 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35401 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35402
35403 /* System header to define __stub macros and hopefully few prototypes,
35404 which can conflict with char pthread_attr_setschedparam (); below.
35405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35406 <limits.h> exists even on freestanding compilers. */
35407
35408 #ifdef __STDC__
35409 # include <limits.h>
35410 #else
35411 # include <assert.h>
35412 #endif
35413
35414 #undef pthread_attr_setschedparam
35415
35416 /* Override any gcc2 internal prototype to avoid an error. */
35417 #ifdef __cplusplus
35418 extern "C"
35419 {
35420 #endif
35421 /* We use char because int might match the return type of a gcc2
35422 builtin and then its argument prototype would still apply. */
35423 char pthread_attr_setschedparam ();
35424 /* The GNU C library defines this for functions which it implements
35425 to always fail with ENOSYS. Some functions are actually named
35426 something starting with __ and the normal name is an alias. */
35427 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35428 choke me
35429 #else
35430 char (*f) () = pthread_attr_setschedparam;
35431 #endif
35432 #ifdef __cplusplus
35433 }
35434 #endif
35435
35436 int
35437 main ()
35438 {
35439 return f != pthread_attr_setschedparam;
35440 ;
35441 return 0;
35442 }
35443 _ACEOF
35444 rm -f conftest.$ac_objext conftest$ac_exeext
35445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35446 (eval $ac_link) 2>conftest.er1
35447 ac_status=$?
35448 grep -v '^ *+' conftest.er1 >conftest.err
35449 rm -f conftest.er1
35450 cat conftest.err >&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); } &&
35453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35455 (eval $ac_try) 2>&5
35456 ac_status=$?
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); }; } &&
35459 { ac_try='test -s conftest$ac_exeext'
35460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35461 (eval $ac_try) 2>&5
35462 ac_status=$?
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); }; }; then
35465 ac_cv_func_pthread_attr_setschedparam=yes
35466 else
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.$ac_ext >&5
35469
35470 ac_cv_func_pthread_attr_setschedparam=no
35471 fi
35472 rm -f conftest.err conftest.$ac_objext \
35473 conftest$ac_exeext conftest.$ac_ext
35474 fi
35475 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35476 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35477 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35478 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35479 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35480 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 else
35483 cat >conftest.$ac_ext <<_ACEOF
35484 /* confdefs.h. */
35485 _ACEOF
35486 cat confdefs.h >>conftest.$ac_ext
35487 cat >>conftest.$ac_ext <<_ACEOF
35488 /* end confdefs.h. */
35489 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35491 #define sched_get_priority_max innocuous_sched_get_priority_max
35492
35493 /* System header to define __stub macros and hopefully few prototypes,
35494 which can conflict with char sched_get_priority_max (); below.
35495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35496 <limits.h> exists even on freestanding compilers. */
35497
35498 #ifdef __STDC__
35499 # include <limits.h>
35500 #else
35501 # include <assert.h>
35502 #endif
35503
35504 #undef sched_get_priority_max
35505
35506 /* Override any gcc2 internal prototype to avoid an error. */
35507 #ifdef __cplusplus
35508 extern "C"
35509 {
35510 #endif
35511 /* We use char because int might match the return type of a gcc2
35512 builtin and then its argument prototype would still apply. */
35513 char sched_get_priority_max ();
35514 /* The GNU C library defines this for functions which it implements
35515 to always fail with ENOSYS. Some functions are actually named
35516 something starting with __ and the normal name is an alias. */
35517 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35518 choke me
35519 #else
35520 char (*f) () = sched_get_priority_max;
35521 #endif
35522 #ifdef __cplusplus
35523 }
35524 #endif
35525
35526 int
35527 main ()
35528 {
35529 return f != sched_get_priority_max;
35530 ;
35531 return 0;
35532 }
35533 _ACEOF
35534 rm -f conftest.$ac_objext conftest$ac_exeext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35536 (eval $ac_link) 2>conftest.er1
35537 ac_status=$?
35538 grep -v '^ *+' conftest.er1 >conftest.err
35539 rm -f conftest.er1
35540 cat conftest.err >&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest$ac_exeext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35552 ac_status=$?
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 ac_cv_func_sched_get_priority_max=yes
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35559
35560 ac_cv_func_sched_get_priority_max=no
35561 fi
35562 rm -f conftest.err conftest.$ac_objext \
35563 conftest$ac_exeext conftest.$ac_ext
35564 fi
35565 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35566 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35567 if test $ac_cv_func_sched_get_priority_max = yes; then
35568 HAVE_PRIOR_FUNCS=1
35569 else
35570 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35571 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35572 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35573 echo $ECHO_N "(cached) $ECHO_C" >&6
35574 else
35575 ac_check_lib_save_LIBS=$LIBS
35576 LIBS="-lposix4 $LIBS"
35577 cat >conftest.$ac_ext <<_ACEOF
35578 /* confdefs.h. */
35579 _ACEOF
35580 cat confdefs.h >>conftest.$ac_ext
35581 cat >>conftest.$ac_ext <<_ACEOF
35582 /* end confdefs.h. */
35583
35584 /* Override any gcc2 internal prototype to avoid an error. */
35585 #ifdef __cplusplus
35586 extern "C"
35587 #endif
35588 /* We use char because int might match the return type of a gcc2
35589 builtin and then its argument prototype would still apply. */
35590 char sched_get_priority_max ();
35591 int
35592 main ()
35593 {
35594 sched_get_priority_max ();
35595 ;
35596 return 0;
35597 }
35598 _ACEOF
35599 rm -f conftest.$ac_objext conftest$ac_exeext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35601 (eval $ac_link) 2>conftest.er1
35602 ac_status=$?
35603 grep -v '^ *+' conftest.er1 >conftest.err
35604 rm -f conftest.er1
35605 cat conftest.err >&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try='test -s conftest$ac_exeext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 ac_cv_lib_posix4_sched_get_priority_max=yes
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 ac_cv_lib_posix4_sched_get_priority_max=no
35626 fi
35627 rm -f conftest.err conftest.$ac_objext \
35628 conftest$ac_exeext conftest.$ac_ext
35629 LIBS=$ac_check_lib_save_LIBS
35630 fi
35631 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35632 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35633 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35634
35635 HAVE_PRIOR_FUNCS=1
35636 POSIX4_LINK=" -lposix4"
35637
35638 fi
35639
35640
35641 fi
35642
35643
35644 fi
35645
35646
35647 fi
35648
35649
35650 if test "$HAVE_PRIOR_FUNCS" = 1; then
35651 cat >>confdefs.h <<\_ACEOF
35652 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35653 _ACEOF
35654
35655 else
35656 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35657 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35658 fi
35659
35660 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35661 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35662 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35663 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 else
35665 cat >conftest.$ac_ext <<_ACEOF
35666 /* confdefs.h. */
35667 _ACEOF
35668 cat confdefs.h >>conftest.$ac_ext
35669 cat >>conftest.$ac_ext <<_ACEOF
35670 /* end confdefs.h. */
35671 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35673 #define pthread_cancel innocuous_pthread_cancel
35674
35675 /* System header to define __stub macros and hopefully few prototypes,
35676 which can conflict with char pthread_cancel (); below.
35677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35678 <limits.h> exists even on freestanding compilers. */
35679
35680 #ifdef __STDC__
35681 # include <limits.h>
35682 #else
35683 # include <assert.h>
35684 #endif
35685
35686 #undef pthread_cancel
35687
35688 /* Override any gcc2 internal prototype to avoid an error. */
35689 #ifdef __cplusplus
35690 extern "C"
35691 {
35692 #endif
35693 /* We use char because int might match the return type of a gcc2
35694 builtin and then its argument prototype would still apply. */
35695 char pthread_cancel ();
35696 /* The GNU C library defines this for functions which it implements
35697 to always fail with ENOSYS. Some functions are actually named
35698 something starting with __ and the normal name is an alias. */
35699 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35700 choke me
35701 #else
35702 char (*f) () = pthread_cancel;
35703 #endif
35704 #ifdef __cplusplus
35705 }
35706 #endif
35707
35708 int
35709 main ()
35710 {
35711 return f != pthread_cancel;
35712 ;
35713 return 0;
35714 }
35715 _ACEOF
35716 rm -f conftest.$ac_objext conftest$ac_exeext
35717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35718 (eval $ac_link) 2>conftest.er1
35719 ac_status=$?
35720 grep -v '^ *+' conftest.er1 >conftest.err
35721 rm -f conftest.er1
35722 cat conftest.err >&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); } &&
35725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35728 ac_status=$?
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; } &&
35731 { ac_try='test -s conftest$ac_exeext'
35732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35733 (eval $ac_try) 2>&5
35734 ac_status=$?
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); }; }; then
35737 ac_cv_func_pthread_cancel=yes
35738 else
35739 echo "$as_me: failed program was:" >&5
35740 sed 's/^/| /' conftest.$ac_ext >&5
35741
35742 ac_cv_func_pthread_cancel=no
35743 fi
35744 rm -f conftest.err conftest.$ac_objext \
35745 conftest$ac_exeext conftest.$ac_ext
35746 fi
35747 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35748 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35749 if test $ac_cv_func_pthread_cancel = yes; then
35750 cat >>confdefs.h <<\_ACEOF
35751 #define HAVE_PTHREAD_CANCEL 1
35752 _ACEOF
35753
35754 else
35755 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35756 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35757 fi
35758
35759
35760 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35761 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35762 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 else
35765 cat >conftest.$ac_ext <<_ACEOF
35766 /* confdefs.h. */
35767 _ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35773 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35774
35775 /* System header to define __stub macros and hopefully few prototypes,
35776 which can conflict with char pthread_attr_setstacksize (); below.
35777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35778 <limits.h> exists even on freestanding compilers. */
35779
35780 #ifdef __STDC__
35781 # include <limits.h>
35782 #else
35783 # include <assert.h>
35784 #endif
35785
35786 #undef pthread_attr_setstacksize
35787
35788 /* Override any gcc2 internal prototype to avoid an error. */
35789 #ifdef __cplusplus
35790 extern "C"
35791 {
35792 #endif
35793 /* We use char because int might match the return type of a gcc2
35794 builtin and then its argument prototype would still apply. */
35795 char pthread_attr_setstacksize ();
35796 /* The GNU C library defines this for functions which it implements
35797 to always fail with ENOSYS. Some functions are actually named
35798 something starting with __ and the normal name is an alias. */
35799 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35800 choke me
35801 #else
35802 char (*f) () = pthread_attr_setstacksize;
35803 #endif
35804 #ifdef __cplusplus
35805 }
35806 #endif
35807
35808 int
35809 main ()
35810 {
35811 return f != pthread_attr_setstacksize;
35812 ;
35813 return 0;
35814 }
35815 _ACEOF
35816 rm -f conftest.$ac_objext conftest$ac_exeext
35817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35818 (eval $ac_link) 2>conftest.er1
35819 ac_status=$?
35820 grep -v '^ *+' conftest.er1 >conftest.err
35821 rm -f conftest.er1
35822 cat conftest.err >&5
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); } &&
35825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35827 (eval $ac_try) 2>&5
35828 ac_status=$?
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); }; } &&
35831 { ac_try='test -s conftest$ac_exeext'
35832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833 (eval $ac_try) 2>&5
35834 ac_status=$?
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); }; }; then
35837 ac_cv_func_pthread_attr_setstacksize=yes
35838 else
35839 echo "$as_me: failed program was:" >&5
35840 sed 's/^/| /' conftest.$ac_ext >&5
35841
35842 ac_cv_func_pthread_attr_setstacksize=no
35843 fi
35844 rm -f conftest.err conftest.$ac_objext \
35845 conftest$ac_exeext conftest.$ac_ext
35846 fi
35847 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35848 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35849 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35850 cat >>confdefs.h <<\_ACEOF
35851 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35852 _ACEOF
35853
35854 fi
35855
35856
35857
35858 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35859 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35860 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35861 echo $ECHO_N "(cached) $ECHO_C" >&6
35862 else
35863
35864 cat >conftest.$ac_ext <<_ACEOF
35865 /* confdefs.h. */
35866 _ACEOF
35867 cat confdefs.h >>conftest.$ac_ext
35868 cat >>conftest.$ac_ext <<_ACEOF
35869 /* end confdefs.h. */
35870 #include <pthread.h>
35871 int
35872 main ()
35873 {
35874
35875 pthread_mutexattr_t attr;
35876 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35877
35878 ;
35879 return 0;
35880 }
35881 _ACEOF
35882 rm -f conftest.$ac_objext
35883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35884 (eval $ac_compile) 2>conftest.er1
35885 ac_status=$?
35886 grep -v '^ *+' conftest.er1 >conftest.err
35887 rm -f conftest.er1
35888 cat conftest.err >&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); } &&
35891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35893 (eval $ac_try) 2>&5
35894 ac_status=$?
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); }; } &&
35897 { ac_try='test -s conftest.$ac_objext'
35898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35899 (eval $ac_try) 2>&5
35900 ac_status=$?
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); }; }; then
35903
35904 wx_cv_type_pthread_mutexattr_t=yes
35905
35906 else
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.$ac_ext >&5
35909
35910
35911 wx_cv_type_pthread_mutexattr_t=no
35912
35913
35914 fi
35915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35916
35917 fi
35918 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35919 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35920
35921 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35922 cat >>confdefs.h <<\_ACEOF
35923 #define HAVE_PTHREAD_MUTEXATTR_T 1
35924 _ACEOF
35925
35926 else
35927 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35928 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35929 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 else
35932
35933 cat >conftest.$ac_ext <<_ACEOF
35934 /* confdefs.h. */
35935 _ACEOF
35936 cat confdefs.h >>conftest.$ac_ext
35937 cat >>conftest.$ac_ext <<_ACEOF
35938 /* end confdefs.h. */
35939 #include <pthread.h>
35940 int
35941 main ()
35942 {
35943
35944 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35945
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35952 (eval $ac_compile) 2>conftest.er1
35953 ac_status=$?
35954 grep -v '^ *+' conftest.er1 >conftest.err
35955 rm -f conftest.er1
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } &&
35959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35961 (eval $ac_try) 2>&5
35962 ac_status=$?
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); }; } &&
35965 { ac_try='test -s conftest.$ac_objext'
35966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35967 (eval $ac_try) 2>&5
35968 ac_status=$?
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); }; }; then
35971
35972 wx_cv_type_pthread_rec_mutex_init=yes
35973
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978
35979 wx_cv_type_pthread_rec_mutex_init=no
35980
35981
35982 fi
35983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35984
35985 fi
35986 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35987 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35988 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35989 cat >>confdefs.h <<\_ACEOF
35990 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35991 _ACEOF
35992
35993 else
35994 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35995 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35996 fi
35997 fi
35998 fi
35999
36000 else
36001 if test "$wxUSE_THREADS" = "yes" ; then
36002 case "${host}" in
36003 *-*-mingw32* )
36004 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36005 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36006 if test "${wx_cv_cflags_mthread+set}" = set; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 else
36009
36010 CFLAGS_OLD="$CFLAGS"
36011 CFLAGS="$CFLAGS -mthreads"
36012 cat >conftest.$ac_ext <<_ACEOF
36013 /* confdefs.h. */
36014 _ACEOF
36015 cat confdefs.h >>conftest.$ac_ext
36016 cat >>conftest.$ac_ext <<_ACEOF
36017 /* end confdefs.h. */
36018
36019 int
36020 main ()
36021 {
36022
36023 ;
36024 return 0;
36025 }
36026 _ACEOF
36027 rm -f conftest.$ac_objext
36028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36029 (eval $ac_compile) 2>conftest.er1
36030 ac_status=$?
36031 grep -v '^ *+' conftest.er1 >conftest.err
36032 rm -f conftest.er1
36033 cat conftest.err >&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); } &&
36036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36039 ac_status=$?
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; } &&
36042 { ac_try='test -s conftest.$ac_objext'
36043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36044 (eval $ac_try) 2>&5
36045 ac_status=$?
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); }; }; then
36048 wx_cv_cflags_mthread=yes
36049 else
36050 echo "$as_me: failed program was:" >&5
36051 sed 's/^/| /' conftest.$ac_ext >&5
36052
36053 wx_cv_cflags_mthread=no
36054
36055 fi
36056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36057
36058
36059 fi
36060 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36061 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36062
36063 if test "$wx_cv_cflags_mthread" = "yes"; then
36064 CXXFLAGS="$CXXFLAGS -mthreads"
36065 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
36066 LDFLAGS="$LDFLAGS -mthreads"
36067 else
36068 CFLAGS="$CFLAGS_OLD"
36069 fi
36070 ;;
36071 *-pc-os2*emx )
36072 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36073 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36074 LDFLAGS="$LDFLAGS -Zmt"
36075 ;;
36076 esac
36077 fi
36078 fi
36079
36080 if test "$wxUSE_THREADS" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define wxUSE_THREADS 1
36083 _ACEOF
36084
36085
36086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
36087 else
36088 if test "$ac_cv_func_strtok_r" = "yes"; then
36089 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36090 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36091 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36092 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
36093 echo "$as_me:$LINENO: result: yes" >&5
36094 echo "${ECHO_T}yes" >&6
36095 else
36096 echo "$as_me:$LINENO: result: no" >&5
36097 echo "${ECHO_T}no" >&6
36098 fi
36099 fi
36100 fi
36101
36102 if test "$WXGTK20" = 1 ; then
36103 cat >>confdefs.h <<_ACEOF
36104 #define __WXGTK20__ $WXGTK20
36105 _ACEOF
36106
36107 WXGTK12=1
36108 fi
36109
36110 if test "$WXGTK12" = 1 ; then
36111 cat >>confdefs.h <<_ACEOF
36112 #define __WXGTK12__ $WXGTK12
36113 _ACEOF
36114
36115 fi
36116
36117 if test "$WXGTK127" = 1 ; then
36118 cat >>confdefs.h <<_ACEOF
36119 #define __WXGTK127__ $WXGTK127
36120 _ACEOF
36121
36122 fi
36123
36124 if test "$WXGPE" = 1 ; then
36125 cat >>confdefs.h <<_ACEOF
36126 #define __WXGPE__ $WXGPE
36127 _ACEOF
36128
36129 fi
36130
36131 WXDEBUG=
36132
36133 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36134 WXDEBUG="-g"
36135 wxUSE_OPTIMISE=no
36136 fi
36137
36138 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36139 wxUSE_DEBUG_INFO=yes
36140 if test "$GCC" = yes; then
36141 WXDEBUG="-ggdb"
36142 fi
36143 fi
36144
36145 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36146 cat >>confdefs.h <<\_ACEOF
36147 #define WXDEBUG 1
36148 _ACEOF
36149
36150 WXDEBUG_DEFINE="-D__WXDEBUG__"
36151 else
36152 if test "$wxUSE_GTK" = 1 ; then
36153 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
36154 fi
36155 fi
36156
36157 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36158 cat >>confdefs.h <<\_ACEOF
36159 #define wxUSE_MEMORY_TRACING 1
36160 _ACEOF
36161
36162 cat >>confdefs.h <<\_ACEOF
36163 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36164 _ACEOF
36165
36166 cat >>confdefs.h <<\_ACEOF
36167 #define wxUSE_DEBUG_NEW_ALWAYS 1
36168 _ACEOF
36169
36170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
36171 fi
36172
36173 if test "$wxUSE_DMALLOC" = "yes" ; then
36174 DMALLOC_LIBS="-ldmallocthcxx"
36175 fi
36176
36177 PROFILE=
36178 if test "$wxUSE_PROFILE" = "yes" ; then
36179 PROFILE=" -pg"
36180 fi
36181
36182 CODE_GEN_FLAGS=
36183 CODE_GEN_FLAGS_CXX=
36184 if test "$GCC" = "yes" ; then
36185 if test "$wxUSE_NO_RTTI" = "yes" ; then
36186 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
36187 fi
36188 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36189 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36190 fi
36191 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36192 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
36193 fi
36194
36195 case "${host}" in
36196 powerpc*-*-aix* )
36197 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
36198 ;;
36199 *-hppa* )
36200 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
36201 ;;
36202 esac
36203 fi
36204
36205 OPTIMISE=
36206 if test "$wxUSE_OPTIMISE" = "no" ; then
36207 if test "$GCC" = yes ; then
36208 OPTIMISE="-O0"
36209 fi
36210 else
36211 if test "$GCC" = yes ; then
36212 OPTIMISE="-O2"
36213
36214 case "${host}" in
36215 i586-*-*|i686-*-* )
36216 OPTIMISE="${OPTIMISE} "
36217 ;;
36218 esac
36219 else
36220 OPTIMISE="-O"
36221 fi
36222 fi
36223
36224
36225 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36226 cat >>confdefs.h <<\_ACEOF
36227 #define WXWIN_COMPATIBILITY_2_2 1
36228 _ACEOF
36229
36230
36231 WXWIN_COMPATIBILITY_2_4="yes"
36232 fi
36233
36234 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36235 cat >>confdefs.h <<\_ACEOF
36236 #define WXWIN_COMPATIBILITY_2_4 1
36237 _ACEOF
36238
36239 fi
36240
36241
36242 if test "$wxUSE_GUI" = "yes"; then
36243 cat >>confdefs.h <<\_ACEOF
36244 #define wxUSE_GUI 1
36245 _ACEOF
36246
36247
36248 fi
36249
36250
36251 if test "$wxUSE_UNIX" = "yes"; then
36252 cat >>confdefs.h <<\_ACEOF
36253 #define wxUSE_UNIX 1
36254 _ACEOF
36255
36256 fi
36257
36258
36259 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36260
36261 HAVE_DL_FUNCS=0
36262 HAVE_SHL_FUNCS=0
36263 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36264 if test "$USE_DARWIN" = 1; then
36265 HAVE_DL_FUNCS=1
36266 elif test "$USE_DOS" = 1; then
36267 HAVE_DL_FUNCS=0
36268 else
36269
36270 for ac_func in dlopen
36271 do
36272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36273 echo "$as_me:$LINENO: checking for $ac_func" >&5
36274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36275 if eval "test \"\${$as_ac_var+set}\" = set"; then
36276 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 else
36278 cat >conftest.$ac_ext <<_ACEOF
36279 /* confdefs.h. */
36280 _ACEOF
36281 cat confdefs.h >>conftest.$ac_ext
36282 cat >>conftest.$ac_ext <<_ACEOF
36283 /* end confdefs.h. */
36284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36286 #define $ac_func innocuous_$ac_func
36287
36288 /* System header to define __stub macros and hopefully few prototypes,
36289 which can conflict with char $ac_func (); below.
36290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36291 <limits.h> exists even on freestanding compilers. */
36292
36293 #ifdef __STDC__
36294 # include <limits.h>
36295 #else
36296 # include <assert.h>
36297 #endif
36298
36299 #undef $ac_func
36300
36301 /* Override any gcc2 internal prototype to avoid an error. */
36302 #ifdef __cplusplus
36303 extern "C"
36304 {
36305 #endif
36306 /* We use char because int might match the return type of a gcc2
36307 builtin and then its argument prototype would still apply. */
36308 char $ac_func ();
36309 /* The GNU C library defines this for functions which it implements
36310 to always fail with ENOSYS. Some functions are actually named
36311 something starting with __ and the normal name is an alias. */
36312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36313 choke me
36314 #else
36315 char (*f) () = $ac_func;
36316 #endif
36317 #ifdef __cplusplus
36318 }
36319 #endif
36320
36321 int
36322 main ()
36323 {
36324 return f != $ac_func;
36325 ;
36326 return 0;
36327 }
36328 _ACEOF
36329 rm -f conftest.$ac_objext conftest$ac_exeext
36330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36331 (eval $ac_link) 2>conftest.er1
36332 ac_status=$?
36333 grep -v '^ *+' conftest.er1 >conftest.err
36334 rm -f conftest.er1
36335 cat conftest.err >&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } &&
36338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; } &&
36344 { ac_try='test -s conftest$ac_exeext'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; }; then
36350 eval "$as_ac_var=yes"
36351 else
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.$ac_ext >&5
36354
36355 eval "$as_ac_var=no"
36356 fi
36357 rm -f conftest.err conftest.$ac_objext \
36358 conftest$ac_exeext conftest.$ac_ext
36359 fi
36360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36362 if test `eval echo '${'$as_ac_var'}'` = yes; then
36363 cat >>confdefs.h <<_ACEOF
36364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36365 _ACEOF
36366
36367 cat >>confdefs.h <<\_ACEOF
36368 #define HAVE_DLOPEN 1
36369 _ACEOF
36370
36371 HAVE_DL_FUNCS=1
36372
36373 else
36374
36375 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36376 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36377 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36380 ac_check_lib_save_LIBS=$LIBS
36381 LIBS="-ldl $LIBS"
36382 cat >conftest.$ac_ext <<_ACEOF
36383 /* confdefs.h. */
36384 _ACEOF
36385 cat confdefs.h >>conftest.$ac_ext
36386 cat >>conftest.$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388
36389 /* Override any gcc2 internal prototype to avoid an error. */
36390 #ifdef __cplusplus
36391 extern "C"
36392 #endif
36393 /* We use char because int might match the return type of a gcc2
36394 builtin and then its argument prototype would still apply. */
36395 char dlopen ();
36396 int
36397 main ()
36398 {
36399 dlopen ();
36400 ;
36401 return 0;
36402 }
36403 _ACEOF
36404 rm -f conftest.$ac_objext conftest$ac_exeext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36406 (eval $ac_link) 2>conftest.er1
36407 ac_status=$?
36408 grep -v '^ *+' conftest.er1 >conftest.err
36409 rm -f conftest.er1
36410 cat conftest.err >&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); } &&
36413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36415 (eval $ac_try) 2>&5
36416 ac_status=$?
36417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36418 (exit $ac_status); }; } &&
36419 { ac_try='test -s conftest$ac_exeext'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36422 ac_status=$?
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; }; then
36425 ac_cv_lib_dl_dlopen=yes
36426 else
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36429
36430 ac_cv_lib_dl_dlopen=no
36431 fi
36432 rm -f conftest.err conftest.$ac_objext \
36433 conftest$ac_exeext conftest.$ac_ext
36434 LIBS=$ac_check_lib_save_LIBS
36435 fi
36436 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36437 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36438 if test $ac_cv_lib_dl_dlopen = yes; then
36439
36440 cat >>confdefs.h <<\_ACEOF
36441 #define HAVE_DLOPEN 1
36442 _ACEOF
36443
36444 HAVE_DL_FUNCS=1
36445 DL_LINK=" -ldl$DL_LINK"
36446
36447 else
36448
36449
36450 for ac_func in shl_load
36451 do
36452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36453 echo "$as_me:$LINENO: checking for $ac_func" >&5
36454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36455 if eval "test \"\${$as_ac_var+set}\" = set"; then
36456 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 else
36458 cat >conftest.$ac_ext <<_ACEOF
36459 /* confdefs.h. */
36460 _ACEOF
36461 cat confdefs.h >>conftest.$ac_ext
36462 cat >>conftest.$ac_ext <<_ACEOF
36463 /* end confdefs.h. */
36464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36466 #define $ac_func innocuous_$ac_func
36467
36468 /* System header to define __stub macros and hopefully few prototypes,
36469 which can conflict with char $ac_func (); below.
36470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36471 <limits.h> exists even on freestanding compilers. */
36472
36473 #ifdef __STDC__
36474 # include <limits.h>
36475 #else
36476 # include <assert.h>
36477 #endif
36478
36479 #undef $ac_func
36480
36481 /* Override any gcc2 internal prototype to avoid an error. */
36482 #ifdef __cplusplus
36483 extern "C"
36484 {
36485 #endif
36486 /* We use char because int might match the return type of a gcc2
36487 builtin and then its argument prototype would still apply. */
36488 char $ac_func ();
36489 /* The GNU C library defines this for functions which it implements
36490 to always fail with ENOSYS. Some functions are actually named
36491 something starting with __ and the normal name is an alias. */
36492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36493 choke me
36494 #else
36495 char (*f) () = $ac_func;
36496 #endif
36497 #ifdef __cplusplus
36498 }
36499 #endif
36500
36501 int
36502 main ()
36503 {
36504 return f != $ac_func;
36505 ;
36506 return 0;
36507 }
36508 _ACEOF
36509 rm -f conftest.$ac_objext conftest$ac_exeext
36510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36511 (eval $ac_link) 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } &&
36518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36521 ac_status=$?
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; } &&
36524 { ac_try='test -s conftest$ac_exeext'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36527 ac_status=$?
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; }; then
36530 eval "$as_ac_var=yes"
36531 else
36532 echo "$as_me: failed program was:" >&5
36533 sed 's/^/| /' conftest.$ac_ext >&5
36534
36535 eval "$as_ac_var=no"
36536 fi
36537 rm -f conftest.err conftest.$ac_objext \
36538 conftest$ac_exeext conftest.$ac_ext
36539 fi
36540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36542 if test `eval echo '${'$as_ac_var'}'` = yes; then
36543 cat >>confdefs.h <<_ACEOF
36544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36545 _ACEOF
36546
36547 cat >>confdefs.h <<\_ACEOF
36548 #define HAVE_SHL_LOAD 1
36549 _ACEOF
36550
36551 HAVE_SHL_FUNCS=1
36552
36553 else
36554
36555 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36556 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36557 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36559 else
36560 ac_check_lib_save_LIBS=$LIBS
36561 LIBS="-lshl_load $LIBS"
36562 cat >conftest.$ac_ext <<_ACEOF
36563 /* confdefs.h. */
36564 _ACEOF
36565 cat confdefs.h >>conftest.$ac_ext
36566 cat >>conftest.$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36568
36569 /* Override any gcc2 internal prototype to avoid an error. */
36570 #ifdef __cplusplus
36571 extern "C"
36572 #endif
36573 /* We use char because int might match the return type of a gcc2
36574 builtin and then its argument prototype would still apply. */
36575 char dld ();
36576 int
36577 main ()
36578 {
36579 dld ();
36580 ;
36581 return 0;
36582 }
36583 _ACEOF
36584 rm -f conftest.$ac_objext conftest$ac_exeext
36585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36586 (eval $ac_link) 2>conftest.er1
36587 ac_status=$?
36588 grep -v '^ *+' conftest.er1 >conftest.err
36589 rm -f conftest.er1
36590 cat conftest.err >&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } &&
36593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595 (eval $ac_try) 2>&5
36596 ac_status=$?
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); }; } &&
36599 { ac_try='test -s conftest$ac_exeext'
36600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36601 (eval $ac_try) 2>&5
36602 ac_status=$?
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); }; }; then
36605 ac_cv_lib_shl_load_dld=yes
36606 else
36607 echo "$as_me: failed program was:" >&5
36608 sed 's/^/| /' conftest.$ac_ext >&5
36609
36610 ac_cv_lib_shl_load_dld=no
36611 fi
36612 rm -f conftest.err conftest.$ac_objext \
36613 conftest$ac_exeext conftest.$ac_ext
36614 LIBS=$ac_check_lib_save_LIBS
36615 fi
36616 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36617 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36618 if test $ac_cv_lib_shl_load_dld = yes; then
36619
36620 HAVE_SHL_FUNCS=1
36621 DL_LINK=" -ldld$DL_LINK"
36622
36623 fi
36624
36625
36626 fi
36627 done
36628
36629
36630 fi
36631
36632
36633 fi
36634 done
36635
36636
36637 if test "$HAVE_DL_FUNCS" = 1; then
36638
36639 for ac_func in dlerror
36640 do
36641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36642 echo "$as_me:$LINENO: checking for $ac_func" >&5
36643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36644 if eval "test \"\${$as_ac_var+set}\" = set"; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36646 else
36647 cat >conftest.$ac_ext <<_ACEOF
36648 /* confdefs.h. */
36649 _ACEOF
36650 cat confdefs.h >>conftest.$ac_ext
36651 cat >>conftest.$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36655 #define $ac_func innocuous_$ac_func
36656
36657 /* System header to define __stub macros and hopefully few prototypes,
36658 which can conflict with char $ac_func (); below.
36659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36660 <limits.h> exists even on freestanding compilers. */
36661
36662 #ifdef __STDC__
36663 # include <limits.h>
36664 #else
36665 # include <assert.h>
36666 #endif
36667
36668 #undef $ac_func
36669
36670 /* Override any gcc2 internal prototype to avoid an error. */
36671 #ifdef __cplusplus
36672 extern "C"
36673 {
36674 #endif
36675 /* We use char because int might match the return type of a gcc2
36676 builtin and then its argument prototype would still apply. */
36677 char $ac_func ();
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36682 choke me
36683 #else
36684 char (*f) () = $ac_func;
36685 #endif
36686 #ifdef __cplusplus
36687 }
36688 #endif
36689
36690 int
36691 main ()
36692 {
36693 return f != $ac_func;
36694 ;
36695 return 0;
36696 }
36697 _ACEOF
36698 rm -f conftest.$ac_objext conftest$ac_exeext
36699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36700 (eval $ac_link) 2>conftest.er1
36701 ac_status=$?
36702 grep -v '^ *+' conftest.er1 >conftest.err
36703 rm -f conftest.er1
36704 cat conftest.err >&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } &&
36707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; } &&
36713 { ac_try='test -s conftest$ac_exeext'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36716 ac_status=$?
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; }; then
36719 eval "$as_ac_var=yes"
36720 else
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.$ac_ext >&5
36723
36724 eval "$as_ac_var=no"
36725 fi
36726 rm -f conftest.err conftest.$ac_objext \
36727 conftest$ac_exeext conftest.$ac_ext
36728 fi
36729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36731 if test `eval echo '${'$as_ac_var'}'` = yes; then
36732 cat >>confdefs.h <<_ACEOF
36733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36734 _ACEOF
36735 cat >>confdefs.h <<\_ACEOF
36736 #define HAVE_DLERROR 1
36737 _ACEOF
36738
36739 else
36740
36741 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36742 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36743 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36744 echo $ECHO_N "(cached) $ECHO_C" >&6
36745 else
36746 ac_check_lib_save_LIBS=$LIBS
36747 LIBS="-ldl $LIBS"
36748 cat >conftest.$ac_ext <<_ACEOF
36749 /* confdefs.h. */
36750 _ACEOF
36751 cat confdefs.h >>conftest.$ac_ext
36752 cat >>conftest.$ac_ext <<_ACEOF
36753 /* end confdefs.h. */
36754
36755 /* Override any gcc2 internal prototype to avoid an error. */
36756 #ifdef __cplusplus
36757 extern "C"
36758 #endif
36759 /* We use char because int might match the return type of a gcc2
36760 builtin and then its argument prototype would still apply. */
36761 char dlerror ();
36762 int
36763 main ()
36764 {
36765 dlerror ();
36766 ;
36767 return 0;
36768 }
36769 _ACEOF
36770 rm -f conftest.$ac_objext conftest$ac_exeext
36771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36772 (eval $ac_link) 2>conftest.er1
36773 ac_status=$?
36774 grep -v '^ *+' conftest.er1 >conftest.err
36775 rm -f conftest.er1
36776 cat conftest.err >&5
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); } &&
36779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36782 ac_status=$?
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; } &&
36785 { ac_try='test -s conftest$ac_exeext'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36788 ac_status=$?
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; }; then
36791 ac_cv_lib_dl_dlerror=yes
36792 else
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.$ac_ext >&5
36795
36796 ac_cv_lib_dl_dlerror=no
36797 fi
36798 rm -f conftest.err conftest.$ac_objext \
36799 conftest$ac_exeext conftest.$ac_ext
36800 LIBS=$ac_check_lib_save_LIBS
36801 fi
36802 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36803 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36804 if test $ac_cv_lib_dl_dlerror = yes; then
36805 cat >>confdefs.h <<\_ACEOF
36806 #define HAVE_DLERROR 1
36807 _ACEOF
36808
36809 fi
36810
36811
36812
36813 fi
36814 done
36815
36816 fi
36817 fi
36818
36819 if test "$HAVE_DL_FUNCS" = 0; then
36820 if test "$HAVE_SHL_FUNCS" = 0; then
36821 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36822 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36823 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36824 wxUSE_DYNAMIC_LOADER=no
36825 wxUSE_DYNLIB_CLASS=no
36826 else
36827 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36828 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36829 fi
36830 fi
36831 fi
36832 fi
36833 fi
36834
36835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36836 cat >>confdefs.h <<\_ACEOF
36837 #define wxUSE_DYNAMIC_LOADER 1
36838 _ACEOF
36839
36840 fi
36841 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36842 cat >>confdefs.h <<\_ACEOF
36843 #define wxUSE_DYNLIB_CLASS 1
36844 _ACEOF
36845
36846 fi
36847
36848
36849
36850 if test "$wxUSE_PLUGINS" = "yes" ; then
36851 if test "$wxUSE_SHARED" = "no" ; then
36852 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36853 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36854 wxUSE_PLUGINS=no
36855 fi
36856 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36857 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36858 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36859 wxUSE_PLUGINS=no
36860 fi
36861 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36862 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36863 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36864 wxUSE_PLUGINS=no
36865 fi
36866 if test "$wxUSE_PLUGINS" = "yes" ; then
36867 cat >>confdefs.h <<\_ACEOF
36868 #define wxUSE_PLUGINS 1
36869 _ACEOF
36870
36871 fi
36872 fi
36873
36874
36875 if test "$wxUSE_STL" = "yes"; then
36876 cat >>confdefs.h <<\_ACEOF
36877 #define wxUSE_STL 1
36878 _ACEOF
36879
36880 fi
36881
36882 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define wxUSE_APPLE_IEEE 1
36885 _ACEOF
36886
36887 fi
36888
36889 if test "$wxUSE_TIMER" = "yes"; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_TIMER 1
36892 _ACEOF
36893
36894 fi
36895
36896 if test "$USE_UNIX" = "1" ; then
36897
36898 for ac_header in sys/soundcard.h
36899 do
36900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36902 echo "$as_me:$LINENO: checking for $ac_header" >&5
36903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36905 echo $ECHO_N "(cached) $ECHO_C" >&6
36906 fi
36907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36909 else
36910 # Is the header compilable?
36911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919 $ac_includes_default
36920 #include <$ac_header>
36921 _ACEOF
36922 rm -f conftest.$ac_objext
36923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36924 (eval $ac_compile) 2>conftest.er1
36925 ac_status=$?
36926 grep -v '^ *+' conftest.er1 >conftest.err
36927 rm -f conftest.er1
36928 cat conftest.err >&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } &&
36931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36934 ac_status=$?
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; } &&
36937 { ac_try='test -s conftest.$ac_objext'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36940 ac_status=$?
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; }; then
36943 ac_header_compiler=yes
36944 else
36945 echo "$as_me: failed program was:" >&5
36946 sed 's/^/| /' conftest.$ac_ext >&5
36947
36948 ac_header_compiler=no
36949 fi
36950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36952 echo "${ECHO_T}$ac_header_compiler" >&6
36953
36954 # Is the header present?
36955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36957 cat >conftest.$ac_ext <<_ACEOF
36958 /* confdefs.h. */
36959 _ACEOF
36960 cat confdefs.h >>conftest.$ac_ext
36961 cat >>conftest.$ac_ext <<_ACEOF
36962 /* end confdefs.h. */
36963 #include <$ac_header>
36964 _ACEOF
36965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } >/dev/null; then
36973 if test -s conftest.err; then
36974 ac_cpp_err=$ac_c_preproc_warn_flag
36975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36976 else
36977 ac_cpp_err=
36978 fi
36979 else
36980 ac_cpp_err=yes
36981 fi
36982 if test -z "$ac_cpp_err"; then
36983 ac_header_preproc=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 ac_header_preproc=no
36989 fi
36990 rm -f conftest.err conftest.$ac_ext
36991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36992 echo "${ECHO_T}$ac_header_preproc" >&6
36993
36994 # So? What about this header?
36995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36996 yes:no: )
36997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37001 ac_header_preproc=yes
37002 ;;
37003 no:yes:* )
37004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37008 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37010 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37011 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37016 (
37017 cat <<\_ASBOX
37018 ## ----------------------------------------- ##
37019 ## Report this to wx-dev@lists.wxwidgets.org ##
37020 ## ----------------------------------------- ##
37021 _ASBOX
37022 ) |
37023 sed "s/^/$as_me: WARNING: /" >&2
37024 ;;
37025 esac
37026 echo "$as_me:$LINENO: checking for $ac_header" >&5
37027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37030 else
37031 eval "$as_ac_Header=\$ac_header_preproc"
37032 fi
37033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37035
37036 fi
37037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37038 cat >>confdefs.h <<_ACEOF
37039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37040 _ACEOF
37041
37042 else
37043 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
37044 fi
37045
37046 done
37047
37048 fi
37049 WITH_PLUGIN_SDL=0
37050 if test "$wxUSE_SOUND" = "yes"; then
37051 if test "$USE_UNIX" = "1" ; then
37052 if test "$wxUSE_LIBSDL" != "no"; then
37053
37054 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37055 if test "${with_sdl_prefix+set}" = set; then
37056 withval="$with_sdl_prefix"
37057 sdl_prefix="$withval"
37058 else
37059 sdl_prefix=""
37060 fi;
37061
37062 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37063 if test "${with_sdl_exec_prefix+set}" = set; then
37064 withval="$with_sdl_exec_prefix"
37065 sdl_exec_prefix="$withval"
37066 else
37067 sdl_exec_prefix=""
37068 fi;
37069 # Check whether --enable-sdltest or --disable-sdltest was given.
37070 if test "${enable_sdltest+set}" = set; then
37071 enableval="$enable_sdltest"
37072
37073 else
37074 enable_sdltest=yes
37075 fi;
37076
37077 if test x$sdl_exec_prefix != x ; then
37078 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
37079 if test x${SDL_CONFIG+set} != xset ; then
37080 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
37081 fi
37082 fi
37083 if test x$sdl_prefix != x ; then
37084 sdl_args="$sdl_args --prefix=$sdl_prefix"
37085 if test x${SDL_CONFIG+set} != xset ; then
37086 SDL_CONFIG=$sdl_prefix/bin/sdl-config
37087 fi
37088 fi
37089
37090
37091 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
37092 # Extract the first word of "sdl-config", so it can be a program name with args.
37093 set dummy sdl-config; ac_word=$2
37094 echo "$as_me:$LINENO: checking for $ac_word" >&5
37095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37096 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099 case $SDL_CONFIG in
37100 [\\/]* | ?:[\\/]*)
37101 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
37102 ;;
37103 *)
37104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37105 for as_dir in $PATH
37106 do
37107 IFS=$as_save_IFS
37108 test -z "$as_dir" && as_dir=.
37109 for ac_exec_ext in '' $ac_executable_extensions; do
37110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37111 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37113 break 2
37114 fi
37115 done
37116 done
37117
37118 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
37119 ;;
37120 esac
37121 fi
37122 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
37123
37124 if test -n "$SDL_CONFIG"; then
37125 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37126 echo "${ECHO_T}$SDL_CONFIG" >&6
37127 else
37128 echo "$as_me:$LINENO: result: no" >&5
37129 echo "${ECHO_T}no" >&6
37130 fi
37131
37132 min_sdl_version=1.2.0
37133 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37134 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37135 no_sdl=""
37136 if test "$SDL_CONFIG" = "no" ; then
37137 no_sdl=yes
37138 else
37139 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
37140 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
37141
37142 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
37143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37144 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
37145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37146 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
37147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37148 if test "x$enable_sdltest" = "xyes" ; then
37149 ac_save_CFLAGS="$CFLAGS"
37150 ac_save_CXXFLAGS="$CXXFLAGS"
37151 ac_save_LIBS="$LIBS"
37152 CFLAGS="$CFLAGS $SDL_CFLAGS"
37153 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37154 LIBS="$LIBS $SDL_LIBS"
37155 rm -f conf.sdltest
37156 if test "$cross_compiling" = yes; then
37157 echo $ac_n "cross compiling; assumed OK... $ac_c"
37158 else
37159 cat >conftest.$ac_ext <<_ACEOF
37160 /* confdefs.h. */
37161 _ACEOF
37162 cat confdefs.h >>conftest.$ac_ext
37163 cat >>conftest.$ac_ext <<_ACEOF
37164 /* end confdefs.h. */
37165
37166 #include <stdio.h>
37167 #include <stdlib.h>
37168 #include <string.h>
37169 #include "SDL.h"
37170
37171 char*
37172 my_strdup (char *str)
37173 {
37174 char *new_str;
37175
37176 if (str)
37177 {
37178 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37179 strcpy (new_str, str);
37180 }
37181 else
37182 new_str = NULL;
37183
37184 return new_str;
37185 }
37186
37187 int main (int argc, char *argv[])
37188 {
37189 int major, minor, micro;
37190 char *tmp_version;
37191
37192 /* This hangs on some systems (?)
37193 system ("touch conf.sdltest");
37194 */
37195 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37196
37197 /* HP/UX 9 (%@#!) writes to sscanf strings */
37198 tmp_version = my_strdup("$min_sdl_version");
37199 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
37200 printf("%s, bad version string\n", "$min_sdl_version");
37201 exit(1);
37202 }
37203
37204 if (($sdl_major_version > major) ||
37205 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37206 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37207 {
37208 return 0;
37209 }
37210 else
37211 {
37212 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37213 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37214 printf("*** best to upgrade to the required version.\n");
37215 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37216 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37217 printf("*** config.cache before re-running configure\n");
37218 return 1;
37219 }
37220 }
37221
37222
37223 _ACEOF
37224 rm -f conftest$ac_exeext
37225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37226 (eval $ac_link) 2>&5
37227 ac_status=$?
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37231 (eval $ac_try) 2>&5
37232 ac_status=$?
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); }; }; then
37235 :
37236 else
37237 echo "$as_me: program exited with status $ac_status" >&5
37238 echo "$as_me: failed program was:" >&5
37239 sed 's/^/| /' conftest.$ac_ext >&5
37240
37241 ( exit $ac_status )
37242 no_sdl=yes
37243 fi
37244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37245 fi
37246 CFLAGS="$ac_save_CFLAGS"
37247 CXXFLAGS="$ac_save_CXXFLAGS"
37248 LIBS="$ac_save_LIBS"
37249 fi
37250 fi
37251 if test "x$no_sdl" = x ; then
37252 echo "$as_me:$LINENO: result: yes" >&5
37253 echo "${ECHO_T}yes" >&6
37254
37255 EXTRALIBS_SDL="$SDL_LIBS"
37256 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37257 cat >>confdefs.h <<\_ACEOF
37258 #define wxUSE_LIBSDL 1
37259 _ACEOF
37260
37261
37262 else
37263 echo "$as_me:$LINENO: result: no" >&5
37264 echo "${ECHO_T}no" >&6
37265 if test "$SDL_CONFIG" = "no" ; then
37266 echo "*** The sdl-config script installed by SDL could not be found"
37267 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37268 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37269 echo "*** full path to sdl-config."
37270 else
37271 if test -f conf.sdltest ; then
37272 :
37273 else
37274 echo "*** Could not run SDL test program, checking why..."
37275 CFLAGS="$CFLAGS $SDL_CFLAGS"
37276 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37277 LIBS="$LIBS $SDL_LIBS"
37278 cat >conftest.$ac_ext <<_ACEOF
37279 /* confdefs.h. */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h. */
37284
37285 #include <stdio.h>
37286 #include "SDL.h"
37287
37288 int main(int argc, char *argv[])
37289 { return 0; }
37290 #undef main
37291 #define main K_and_R_C_main
37292
37293 int
37294 main ()
37295 {
37296 return 0;
37297 ;
37298 return 0;
37299 }
37300 _ACEOF
37301 rm -f conftest.$ac_objext conftest$ac_exeext
37302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37303 (eval $ac_link) 2>conftest.er1
37304 ac_status=$?
37305 grep -v '^ *+' conftest.er1 >conftest.err
37306 rm -f conftest.er1
37307 cat conftest.err >&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } &&
37310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312 (eval $ac_try) 2>&5
37313 ac_status=$?
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); }; } &&
37316 { ac_try='test -s conftest$ac_exeext'
37317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37318 (eval $ac_try) 2>&5
37319 ac_status=$?
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); }; }; then
37322 echo "*** The test program compiled, but did not run. This usually means"
37323 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37324 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37325 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37326 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37327 echo "*** is required on your system"
37328 echo "***"
37329 echo "*** If you have an old version installed, it is best to remove it, although"
37330 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37331 else
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37334
37335 echo "*** The test program failed to compile or link. See the file config.log for the"
37336 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37337 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37338 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37339 fi
37340 rm -f conftest.err conftest.$ac_objext \
37341 conftest$ac_exeext conftest.$ac_ext
37342 CFLAGS="$ac_save_CFLAGS"
37343 CXXFLAGS="$ac_save_CXXFLAGS"
37344 LIBS="$ac_save_LIBS"
37345 fi
37346 fi
37347 SDL_CFLAGS=""
37348 SDL_LIBS=""
37349 wxUSE_LIBSDL="no"
37350 fi
37351
37352
37353 rm -f conf.sdltest
37354
37355 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37356 WITH_PLUGIN_SDL=1
37357 fi
37358 fi
37359 fi
37360
37361 cat >>confdefs.h <<\_ACEOF
37362 #define wxUSE_SOUND 1
37363 _ACEOF
37364
37365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37366 fi
37367
37368 if test "$WXGTK20" = 1; then
37369 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37370 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37371
37372
37373 succeeded=no
37374
37375 if test -z "$PKG_CONFIG"; then
37376 # Extract the first word of "pkg-config", so it can be a program name with args.
37377 set dummy pkg-config; ac_word=$2
37378 echo "$as_me:$LINENO: checking for $ac_word" >&5
37379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37380 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 else
37383 case $PKG_CONFIG in
37384 [\\/]* | ?:[\\/]*)
37385 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37386 ;;
37387 *)
37388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37389 for as_dir in $PATH
37390 do
37391 IFS=$as_save_IFS
37392 test -z "$as_dir" && as_dir=.
37393 for ac_exec_ext in '' $ac_executable_extensions; do
37394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37395 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37397 break 2
37398 fi
37399 done
37400 done
37401
37402 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37403 ;;
37404 esac
37405 fi
37406 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37407
37408 if test -n "$PKG_CONFIG"; then
37409 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37410 echo "${ECHO_T}$PKG_CONFIG" >&6
37411 else
37412 echo "$as_me:$LINENO: result: no" >&5
37413 echo "${ECHO_T}no" >&6
37414 fi
37415
37416 fi
37417
37418 if test "$PKG_CONFIG" = "no" ; then
37419 echo "*** The pkg-config script could not be found. Make sure it is"
37420 echo "*** in your path, or set the PKG_CONFIG environment variable"
37421 echo "*** to the full path to pkg-config."
37422 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37423 else
37424 PKG_CONFIG_MIN_VERSION=0.9.0
37425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37426 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37427 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37428
37429 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37430 echo "$as_me:$LINENO: result: yes" >&5
37431 echo "${ECHO_T}yes" >&6
37432 succeeded=yes
37433
37434 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37435 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37436 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37437 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37438 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37439
37440 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37441 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37442 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37443 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37444 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37445 else
37446 LIBGNOMEPRINTUI_CFLAGS=""
37447 LIBGNOMEPRINTUI_LIBS=""
37448 ## If we have a custom action on failure, don't print errors, but
37449 ## do set a variable so people can do so.
37450 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37451
37452 fi
37453
37454
37455
37456 else
37457 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37458 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37459 fi
37460 fi
37461
37462 if test $succeeded = yes; then
37463
37464 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37465 cat >>confdefs.h <<\_ACEOF
37466 #define wxUSE_LIBGNOMEPRINT 1
37467 _ACEOF
37468
37469
37470 else
37471
37472 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37473 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37474 wxUSE_LIBGNOMEPRINT="no"
37475
37476
37477 fi
37478
37479 fi
37480 fi
37481 fi
37482
37483
37484 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37485 cat >>confdefs.h <<\_ACEOF
37486 #define wxUSE_CMDLINE_PARSER 1
37487 _ACEOF
37488
37489 fi
37490
37491 if test "$wxUSE_STOPWATCH" = "yes"; then
37492 cat >>confdefs.h <<\_ACEOF
37493 #define wxUSE_STOPWATCH 1
37494 _ACEOF
37495
37496 fi
37497
37498 if test "$wxUSE_DATETIME" = "yes"; then
37499 cat >>confdefs.h <<\_ACEOF
37500 #define wxUSE_DATETIME 1
37501 _ACEOF
37502
37503 fi
37504
37505 if test "$wxUSE_FILE" = "yes"; then
37506 cat >>confdefs.h <<\_ACEOF
37507 #define wxUSE_FILE 1
37508 _ACEOF
37509
37510 fi
37511
37512 if test "$wxUSE_FFILE" = "yes"; then
37513 cat >>confdefs.h <<\_ACEOF
37514 #define wxUSE_FFILE 1
37515 _ACEOF
37516
37517 fi
37518
37519 if test "$wxUSE_FILESYSTEM" = "yes"; then
37520 cat >>confdefs.h <<\_ACEOF
37521 #define wxUSE_FILESYSTEM 1
37522 _ACEOF
37523
37524 fi
37525
37526 if test "$wxUSE_FS_ZIP" = "yes"; then
37527 cat >>confdefs.h <<\_ACEOF
37528 #define wxUSE_FS_ZIP 1
37529 _ACEOF
37530
37531 fi
37532
37533 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37534 cat >>confdefs.h <<\_ACEOF
37535 #define wxUSE_ARCHIVE_STREAMS 1
37536 _ACEOF
37537
37538 fi
37539
37540 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37541 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37542 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37543 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37544 elif test "$wxUSE_ZLIB" = "no"; then
37545 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37546 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37547 else
37548 cat >>confdefs.h <<\_ACEOF
37549 #define wxUSE_ZIPSTREAM 1
37550 _ACEOF
37551
37552 fi
37553 fi
37554
37555 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37556 if test "$USE_UNIX" != 1; then
37557 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37558 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37559 wxUSE_ON_FATAL_EXCEPTION=no
37560 else
37561 cat >>confdefs.h <<\_ACEOF
37562 #define wxUSE_ON_FATAL_EXCEPTION 1
37563 _ACEOF
37564
37565 fi
37566 fi
37567
37568 if test "$wxUSE_STACKWALKER" = "yes"; then
37569 cat >>confdefs.h <<\_ACEOF
37570 #define wxUSE_STACKWALKER 1
37571 _ACEOF
37572
37573 fi
37574
37575 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37576 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37577 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37578 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37579 wxUSE_DEBUGREPORT=no
37580 else
37581 cat >>confdefs.h <<\_ACEOF
37582 #define wxUSE_DEBUGREPORT 1
37583 _ACEOF
37584
37585 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37587 fi
37588 fi
37589 fi
37590
37591 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37592 cat >>confdefs.h <<\_ACEOF
37593 #define wxUSE_SNGLINST_CHECKER 1
37594 _ACEOF
37595
37596 fi
37597
37598 if test "$wxUSE_BUSYINFO" = "yes"; then
37599 cat >>confdefs.h <<\_ACEOF
37600 #define wxUSE_BUSYINFO 1
37601 _ACEOF
37602
37603 fi
37604
37605 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37606 cat >>confdefs.h <<\_ACEOF
37607 #define wxUSE_STD_IOSTREAM 1
37608 _ACEOF
37609
37610 fi
37611
37612 if test "$wxUSE_STD_STRING" = "yes"; then
37613 cat >>confdefs.h <<\_ACEOF
37614 #define wxUSE_STD_STRING 1
37615 _ACEOF
37616
37617 fi
37618
37619 if test "$wxUSE_STDPATHS" = "yes"; then
37620 cat >>confdefs.h <<\_ACEOF
37621 #define wxUSE_STDPATHS 1
37622 _ACEOF
37623
37624 fi
37625
37626 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37627 cat >>confdefs.h <<\_ACEOF
37628 #define wxUSE_TEXTBUFFER 1
37629 _ACEOF
37630
37631 fi
37632
37633 if test "$wxUSE_TEXTFILE" = "yes"; then
37634 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37635 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37636 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37637 else
37638 cat >>confdefs.h <<\_ACEOF
37639 #define wxUSE_TEXTFILE 1
37640 _ACEOF
37641
37642 fi
37643 fi
37644
37645 if test "$wxUSE_CONFIG" = "yes" ; then
37646 if test "$wxUSE_TEXTFILE" != "yes"; then
37647 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37648 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37649 else
37650 cat >>confdefs.h <<\_ACEOF
37651 #define wxUSE_CONFIG 1
37652 _ACEOF
37653
37654 cat >>confdefs.h <<\_ACEOF
37655 #define wxUSE_CONFIG_NATIVE 1
37656 _ACEOF
37657
37658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37659 fi
37660 fi
37661
37662 if test "$wxUSE_INTL" = "yes" ; then
37663 if test "$wxUSE_FILE" != "yes"; then
37664 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37665 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37666 else
37667 cat >>confdefs.h <<\_ACEOF
37668 #define wxUSE_INTL 1
37669 _ACEOF
37670
37671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37672 GUIDIST="$GUIDIST INTL_DIST"
37673 fi
37674 fi
37675
37676 if test "$wxUSE_LOG" = "yes"; then
37677 cat >>confdefs.h <<\_ACEOF
37678 #define wxUSE_LOG 1
37679 _ACEOF
37680
37681
37682 if test "$wxUSE_LOGGUI" = "yes"; then
37683 cat >>confdefs.h <<\_ACEOF
37684 #define wxUSE_LOGGUI 1
37685 _ACEOF
37686
37687 fi
37688
37689 if test "$wxUSE_LOGWINDOW" = "yes"; then
37690 cat >>confdefs.h <<\_ACEOF
37691 #define wxUSE_LOGWINDOW 1
37692 _ACEOF
37693
37694 fi
37695
37696 if test "$wxUSE_LOGDIALOG" = "yes"; then
37697 cat >>confdefs.h <<\_ACEOF
37698 #define wxUSE_LOG_DIALOG 1
37699 _ACEOF
37700
37701 fi
37702
37703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37704 fi
37705
37706 if test "$wxUSE_LONGLONG" = "yes"; then
37707 cat >>confdefs.h <<\_ACEOF
37708 #define wxUSE_LONGLONG 1
37709 _ACEOF
37710
37711 fi
37712
37713 if test "$wxUSE_GEOMETRY" = "yes"; then
37714 cat >>confdefs.h <<\_ACEOF
37715 #define wxUSE_GEOMETRY 1
37716 _ACEOF
37717
37718 fi
37719
37720 if test "$wxUSE_STREAMS" = "yes" ; then
37721 cat >>confdefs.h <<\_ACEOF
37722 #define wxUSE_STREAMS 1
37723 _ACEOF
37724
37725 fi
37726
37727
37728 if test "$wxUSE_DATETIME" = "yes"; then
37729
37730 for ac_func in strptime
37731 do
37732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37733 echo "$as_me:$LINENO: checking for $ac_func" >&5
37734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37735 if eval "test \"\${$as_ac_var+set}\" = set"; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h. */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37747
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37752
37753 #ifdef __STDC__
37754 # include <limits.h>
37755 #else
37756 # include <assert.h>
37757 #endif
37758
37759 #undef $ac_func
37760
37761 /* Override any gcc2 internal prototype to avoid an error. */
37762 #ifdef __cplusplus
37763 extern "C"
37764 {
37765 #endif
37766 /* We use char because int might match the return type of a gcc2
37767 builtin and then its argument prototype would still apply. */
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37773 choke me
37774 #else
37775 char (*f) () = $ac_func;
37776 #endif
37777 #ifdef __cplusplus
37778 }
37779 #endif
37780
37781 int
37782 main ()
37783 {
37784 return f != $ac_func;
37785 ;
37786 return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37791 (eval $ac_link) 2>conftest.er1
37792 ac_status=$?
37793 grep -v '^ *+' conftest.er1 >conftest.err
37794 rm -f conftest.er1
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } &&
37798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37801 ac_status=$?
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; } &&
37804 { ac_try='test -s conftest$ac_exeext'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37807 ac_status=$?
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; }; then
37810 eval "$as_ac_var=yes"
37811 else
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.$ac_ext >&5
37814
37815 eval "$as_ac_var=no"
37816 fi
37817 rm -f conftest.err conftest.$ac_objext \
37818 conftest$ac_exeext conftest.$ac_ext
37819 fi
37820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37822 if test `eval echo '${'$as_ac_var'}'` = yes; then
37823 cat >>confdefs.h <<_ACEOF
37824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37825 _ACEOF
37826
37827 fi
37828 done
37829
37830
37831 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37832 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37833 if test "${wx_cv_var_timezone+set}" = set; then
37834 echo $ECHO_N "(cached) $ECHO_C" >&6
37835 else
37836
37837 cat >conftest.$ac_ext <<_ACEOF
37838 /* confdefs.h. */
37839 _ACEOF
37840 cat confdefs.h >>conftest.$ac_ext
37841 cat >>conftest.$ac_ext <<_ACEOF
37842 /* end confdefs.h. */
37843
37844 #include <time.h>
37845
37846 int
37847 main ()
37848 {
37849
37850 int tz;
37851 tz = timezone;
37852
37853 ;
37854 return 0;
37855 }
37856 _ACEOF
37857 rm -f conftest.$ac_objext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37859 (eval $ac_compile) 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; } &&
37872 { ac_try='test -s conftest.$ac_objext'
37873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37874 (eval $ac_try) 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878
37879 wx_cv_var_timezone=timezone
37880
37881 else
37882 echo "$as_me: failed program was:" >&5
37883 sed 's/^/| /' conftest.$ac_ext >&5
37884
37885
37886 cat >conftest.$ac_ext <<_ACEOF
37887 /* confdefs.h. */
37888 _ACEOF
37889 cat confdefs.h >>conftest.$ac_ext
37890 cat >>conftest.$ac_ext <<_ACEOF
37891 /* end confdefs.h. */
37892
37893 #include <time.h>
37894
37895 int
37896 main ()
37897 {
37898
37899 int tz;
37900 tz = _timezone;
37901
37902 ;
37903 return 0;
37904 }
37905 _ACEOF
37906 rm -f conftest.$ac_objext
37907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37908 (eval $ac_compile) 2>conftest.er1
37909 ac_status=$?
37910 grep -v '^ *+' conftest.er1 >conftest.err
37911 rm -f conftest.er1
37912 cat conftest.err >&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); } &&
37915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37917 (eval $ac_try) 2>&5
37918 ac_status=$?
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); }; } &&
37921 { ac_try='test -s conftest.$ac_objext'
37922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37923 (eval $ac_try) 2>&5
37924 ac_status=$?
37925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926 (exit $ac_status); }; }; then
37927
37928 wx_cv_var_timezone=_timezone
37929
37930 else
37931 echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.$ac_ext >&5
37933
37934
37935 cat >conftest.$ac_ext <<_ACEOF
37936 /* confdefs.h. */
37937 _ACEOF
37938 cat confdefs.h >>conftest.$ac_ext
37939 cat >>conftest.$ac_ext <<_ACEOF
37940 /* end confdefs.h. */
37941
37942 #include <time.h>
37943
37944 int
37945 main ()
37946 {
37947
37948 int tz;
37949 tz = __timezone;
37950
37951 ;
37952 return 0;
37953 }
37954 _ACEOF
37955 rm -f conftest.$ac_objext
37956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37957 (eval $ac_compile) 2>conftest.er1
37958 ac_status=$?
37959 grep -v '^ *+' conftest.er1 >conftest.err
37960 rm -f conftest.er1
37961 cat conftest.err >&5
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); } &&
37964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37966 (eval $ac_try) 2>&5
37967 ac_status=$?
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; } &&
37970 { ac_try='test -s conftest.$ac_objext'
37971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37972 (eval $ac_try) 2>&5
37973 ac_status=$?
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); }; }; then
37976
37977 wx_cv_var_timezone=__timezone
37978
37979 else
37980 echo "$as_me: failed program was:" >&5
37981 sed 's/^/| /' conftest.$ac_ext >&5
37982
37983
37984 if test "$USE_DOS" = 0 ; then
37985 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37986 echo "$as_me: WARNING: no timezone variable" >&2;}
37987 fi
37988
37989
37990 fi
37991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37992
37993
37994 fi
37995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37996
37997
37998 fi
37999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38000
38001
38002 fi
38003 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38004 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38005
38006 if test "x$wx_cv_var_timezone" != x ; then
38007 cat >>confdefs.h <<_ACEOF
38008 #define WX_TIMEZONE $wx_cv_var_timezone
38009 _ACEOF
38010
38011 fi
38012
38013
38014 for ac_func in localtime
38015 do
38016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38017 echo "$as_me:$LINENO: checking for $ac_func" >&5
38018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38019 if eval "test \"\${$as_ac_var+set}\" = set"; then
38020 echo $ECHO_N "(cached) $ECHO_C" >&6
38021 else
38022 cat >conftest.$ac_ext <<_ACEOF
38023 /* confdefs.h. */
38024 _ACEOF
38025 cat confdefs.h >>conftest.$ac_ext
38026 cat >>conftest.$ac_ext <<_ACEOF
38027 /* end confdefs.h. */
38028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38030 #define $ac_func innocuous_$ac_func
38031
38032 /* System header to define __stub macros and hopefully few prototypes,
38033 which can conflict with char $ac_func (); below.
38034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38035 <limits.h> exists even on freestanding compilers. */
38036
38037 #ifdef __STDC__
38038 # include <limits.h>
38039 #else
38040 # include <assert.h>
38041 #endif
38042
38043 #undef $ac_func
38044
38045 /* Override any gcc2 internal prototype to avoid an error. */
38046 #ifdef __cplusplus
38047 extern "C"
38048 {
38049 #endif
38050 /* We use char because int might match the return type of a gcc2
38051 builtin and then its argument prototype would still apply. */
38052 char $ac_func ();
38053 /* The GNU C library defines this for functions which it implements
38054 to always fail with ENOSYS. Some functions are actually named
38055 something starting with __ and the normal name is an alias. */
38056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38057 choke me
38058 #else
38059 char (*f) () = $ac_func;
38060 #endif
38061 #ifdef __cplusplus
38062 }
38063 #endif
38064
38065 int
38066 main ()
38067 {
38068 return f != $ac_func;
38069 ;
38070 return 0;
38071 }
38072 _ACEOF
38073 rm -f conftest.$ac_objext conftest$ac_exeext
38074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38075 (eval $ac_link) 2>conftest.er1
38076 ac_status=$?
38077 grep -v '^ *+' conftest.er1 >conftest.err
38078 rm -f conftest.er1
38079 cat conftest.err >&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); } &&
38082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38084 (eval $ac_try) 2>&5
38085 ac_status=$?
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); }; } &&
38088 { ac_try='test -s conftest$ac_exeext'
38089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38090 (eval $ac_try) 2>&5
38091 ac_status=$?
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); }; }; then
38094 eval "$as_ac_var=yes"
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38098
38099 eval "$as_ac_var=no"
38100 fi
38101 rm -f conftest.err conftest.$ac_objext \
38102 conftest$ac_exeext conftest.$ac_ext
38103 fi
38104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38106 if test `eval echo '${'$as_ac_var'}'` = yes; then
38107 cat >>confdefs.h <<_ACEOF
38108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38109 _ACEOF
38110
38111 fi
38112 done
38113
38114
38115 if test "$ac_cv_func_localtime" = "yes"; then
38116 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38117 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38118 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 else
38121
38122 cat >conftest.$ac_ext <<_ACEOF
38123 /* confdefs.h. */
38124 _ACEOF
38125 cat confdefs.h >>conftest.$ac_ext
38126 cat >>conftest.$ac_ext <<_ACEOF
38127 /* end confdefs.h. */
38128
38129 #include <time.h>
38130
38131 int
38132 main ()
38133 {
38134
38135 struct tm tm;
38136 tm.tm_gmtoff++;
38137
38138 ;
38139 return 0;
38140 }
38141 _ACEOF
38142 rm -f conftest.$ac_objext
38143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38144 (eval $ac_compile) 2>conftest.er1
38145 ac_status=$?
38146 grep -v '^ *+' conftest.er1 >conftest.err
38147 rm -f conftest.er1
38148 cat conftest.err >&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } &&
38151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38153 (eval $ac_try) 2>&5
38154 ac_status=$?
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); }; } &&
38157 { ac_try='test -s conftest.$ac_objext'
38158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38159 (eval $ac_try) 2>&5
38160 ac_status=$?
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); }; }; then
38163
38164 wx_cv_struct_tm_has_gmtoff=yes
38165
38166 else
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38169
38170 wx_cv_struct_tm_has_gmtoff=no
38171
38172 fi
38173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38174
38175 fi
38176 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38177 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38178 fi
38179
38180 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38181 cat >>confdefs.h <<\_ACEOF
38182 #define WX_GMTOFF_IN_TM 1
38183 _ACEOF
38184
38185 fi
38186
38187
38188
38189 for ac_func in gettimeofday ftime
38190 do
38191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38192 echo "$as_me:$LINENO: checking for $ac_func" >&5
38193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38194 if eval "test \"\${$as_ac_var+set}\" = set"; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 else
38197 cat >conftest.$ac_ext <<_ACEOF
38198 /* confdefs.h. */
38199 _ACEOF
38200 cat confdefs.h >>conftest.$ac_ext
38201 cat >>conftest.$ac_ext <<_ACEOF
38202 /* end confdefs.h. */
38203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38205 #define $ac_func innocuous_$ac_func
38206
38207 /* System header to define __stub macros and hopefully few prototypes,
38208 which can conflict with char $ac_func (); below.
38209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38210 <limits.h> exists even on freestanding compilers. */
38211
38212 #ifdef __STDC__
38213 # include <limits.h>
38214 #else
38215 # include <assert.h>
38216 #endif
38217
38218 #undef $ac_func
38219
38220 /* Override any gcc2 internal prototype to avoid an error. */
38221 #ifdef __cplusplus
38222 extern "C"
38223 {
38224 #endif
38225 /* We use char because int might match the return type of a gcc2
38226 builtin and then its argument prototype would still apply. */
38227 char $ac_func ();
38228 /* The GNU C library defines this for functions which it implements
38229 to always fail with ENOSYS. Some functions are actually named
38230 something starting with __ and the normal name is an alias. */
38231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38232 choke me
38233 #else
38234 char (*f) () = $ac_func;
38235 #endif
38236 #ifdef __cplusplus
38237 }
38238 #endif
38239
38240 int
38241 main ()
38242 {
38243 return f != $ac_func;
38244 ;
38245 return 0;
38246 }
38247 _ACEOF
38248 rm -f conftest.$ac_objext conftest$ac_exeext
38249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38250 (eval $ac_link) 2>conftest.er1
38251 ac_status=$?
38252 grep -v '^ *+' conftest.er1 >conftest.err
38253 rm -f conftest.er1
38254 cat conftest.err >&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } &&
38257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38260 ac_status=$?
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; } &&
38263 { ac_try='test -s conftest$ac_exeext'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38266 ac_status=$?
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; }; then
38269 eval "$as_ac_var=yes"
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38273
38274 eval "$as_ac_var=no"
38275 fi
38276 rm -f conftest.err conftest.$ac_objext \
38277 conftest$ac_exeext conftest.$ac_ext
38278 fi
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282 cat >>confdefs.h <<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38284 _ACEOF
38285 break
38286 fi
38287 done
38288
38289
38290 if test "$ac_cv_func_gettimeofday" = "yes"; then
38291 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38292 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38293 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38295 else
38296
38297
38298
38299 ac_ext=cc
38300 ac_cpp='$CXXCPP $CPPFLAGS'
38301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38304
38305
38306 cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312
38313 #include <sys/time.h>
38314 #include <unistd.h>
38315
38316 int
38317 main ()
38318 {
38319
38320 struct timeval tv;
38321 gettimeofday(&tv, NULL);
38322
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38329 (eval $ac_compile) 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38339 ac_status=$?
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try='test -s conftest.$ac_objext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38345 ac_status=$?
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 wx_cv_func_gettimeofday_has_2_args=yes
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 cat >conftest.$ac_ext <<_ACEOF
38354 /* confdefs.h. */
38355 _ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359
38360 #include <sys/time.h>
38361 #include <unistd.h>
38362
38363 int
38364 main ()
38365 {
38366
38367 struct timeval tv;
38368 gettimeofday(&tv);
38369
38370 ;
38371 return 0;
38372 }
38373 _ACEOF
38374 rm -f conftest.$ac_objext
38375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38376 (eval $ac_compile) 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } &&
38383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38386 ac_status=$?
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; } &&
38389 { ac_try='test -s conftest.$ac_objext'
38390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38391 (eval $ac_try) 2>&5
38392 ac_status=$?
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); }; }; then
38395 wx_cv_func_gettimeofday_has_2_args=no
38396 else
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38399
38400
38401 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38402 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38403 wx_cv_func_gettimeofday_has_2_args=unknown
38404
38405
38406 fi
38407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38408
38409 fi
38410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38411 ac_ext=c
38412 ac_cpp='$CPP $CPPFLAGS'
38413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38416
38417
38418 fi
38419 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38420 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38421
38422 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38423 cat >>confdefs.h <<\_ACEOF
38424 #define WX_GETTIMEOFDAY_NO_TZ 1
38425 _ACEOF
38426
38427 fi
38428 fi
38429
38430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38431 fi
38432
38433
38434 if test "$wxUSE_SOCKETS" = "yes"; then
38435 if test "$wxUSE_MGL" = "1"; then
38436 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38437 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38438 wxUSE_SOCKETS="no"
38439 fi
38440 fi
38441
38442 if test "$wxUSE_SOCKETS" = "yes"; then
38443 if test "$TOOLKIT" != "MSW"; then
38444 echo "$as_me:$LINENO: checking for socket" >&5
38445 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38446 if test "${ac_cv_func_socket+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449 cat >conftest.$ac_ext <<_ACEOF
38450 /* confdefs.h. */
38451 _ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define socket innocuous_socket
38458
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char socket (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38463
38464 #ifdef __STDC__
38465 # include <limits.h>
38466 #else
38467 # include <assert.h>
38468 #endif
38469
38470 #undef socket
38471
38472 /* Override any gcc2 internal prototype to avoid an error. */
38473 #ifdef __cplusplus
38474 extern "C"
38475 {
38476 #endif
38477 /* We use char because int might match the return type of a gcc2
38478 builtin and then its argument prototype would still apply. */
38479 char socket ();
38480 /* The GNU C library defines this for functions which it implements
38481 to always fail with ENOSYS. Some functions are actually named
38482 something starting with __ and the normal name is an alias. */
38483 #if defined (__stub_socket) || defined (__stub___socket)
38484 choke me
38485 #else
38486 char (*f) () = socket;
38487 #endif
38488 #ifdef __cplusplus
38489 }
38490 #endif
38491
38492 int
38493 main ()
38494 {
38495 return f != socket;
38496 ;
38497 return 0;
38498 }
38499 _ACEOF
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38502 (eval $ac_link) 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } &&
38509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38511 (eval $ac_try) 2>&5
38512 ac_status=$?
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; } &&
38515 { ac_try='test -s conftest$ac_exeext'
38516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38517 (eval $ac_try) 2>&5
38518 ac_status=$?
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); }; }; then
38521 ac_cv_func_socket=yes
38522 else
38523 echo "$as_me: failed program was:" >&5
38524 sed 's/^/| /' conftest.$ac_ext >&5
38525
38526 ac_cv_func_socket=no
38527 fi
38528 rm -f conftest.err conftest.$ac_objext \
38529 conftest$ac_exeext conftest.$ac_ext
38530 fi
38531 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38532 echo "${ECHO_T}$ac_cv_func_socket" >&6
38533 if test $ac_cv_func_socket = yes; then
38534 :
38535 else
38536
38537 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38538 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38539 if test "${ac_cv_lib_socket_socket+set}" = set; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 else
38542 ac_check_lib_save_LIBS=$LIBS
38543 LIBS="-lsocket $LIBS"
38544 cat >conftest.$ac_ext <<_ACEOF
38545 /* confdefs.h. */
38546 _ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38550
38551 /* Override any gcc2 internal prototype to avoid an error. */
38552 #ifdef __cplusplus
38553 extern "C"
38554 #endif
38555 /* We use char because int might match the return type of a gcc2
38556 builtin and then its argument prototype would still apply. */
38557 char socket ();
38558 int
38559 main ()
38560 {
38561 socket ();
38562 ;
38563 return 0;
38564 }
38565 _ACEOF
38566 rm -f conftest.$ac_objext conftest$ac_exeext
38567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38568 (eval $ac_link) 2>conftest.er1
38569 ac_status=$?
38570 grep -v '^ *+' conftest.er1 >conftest.err
38571 rm -f conftest.er1
38572 cat conftest.err >&5
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); } &&
38575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38577 (eval $ac_try) 2>&5
38578 ac_status=$?
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); }; } &&
38581 { ac_try='test -s conftest$ac_exeext'
38582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583 (eval $ac_try) 2>&5
38584 ac_status=$?
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); }; }; then
38587 ac_cv_lib_socket_socket=yes
38588 else
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38591
38592 ac_cv_lib_socket_socket=no
38593 fi
38594 rm -f conftest.err conftest.$ac_objext \
38595 conftest$ac_exeext conftest.$ac_ext
38596 LIBS=$ac_check_lib_save_LIBS
38597 fi
38598 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38599 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38600 if test $ac_cv_lib_socket_socket = yes; then
38601 if test "$INET_LINK" != " -lsocket"; then
38602 INET_LINK="$INET_LINK -lsocket"
38603 fi
38604 else
38605
38606 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38607 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38608 wxUSE_SOCKETS=no
38609
38610
38611 fi
38612
38613
38614
38615 fi
38616
38617 fi
38618 fi
38619
38620 if test "$wxUSE_SOCKETS" = "yes" ; then
38621 if test "$TOOLKIT" != "MSW"; then
38622 ac_ext=cc
38623 ac_cpp='$CXXCPP $CPPFLAGS'
38624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627
38628 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38629 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38630 if test "${wx_cv_type_getsockname3+set}" = set; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 else
38633
38634 cat >conftest.$ac_ext <<_ACEOF
38635 /* confdefs.h. */
38636 _ACEOF
38637 cat confdefs.h >>conftest.$ac_ext
38638 cat >>conftest.$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640
38641 #include <sys/types.h>
38642 #include <sys/socket.h>
38643
38644 int
38645 main ()
38646 {
38647
38648 socklen_t len;
38649 getsockname(0, 0, &len);
38650
38651 ;
38652 return 0;
38653 }
38654 _ACEOF
38655 rm -f conftest.$ac_objext
38656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38657 (eval $ac_compile) 2>conftest.er1
38658 ac_status=$?
38659 grep -v '^ *+' conftest.er1 >conftest.err
38660 rm -f conftest.er1
38661 cat conftest.err >&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); } &&
38664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38666 (eval $ac_try) 2>&5
38667 ac_status=$?
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); }; } &&
38670 { ac_try='test -s conftest.$ac_objext'
38671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38672 (eval $ac_try) 2>&5
38673 ac_status=$?
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); }; }; then
38676 wx_cv_type_getsockname3=socklen_t
38677 else
38678 echo "$as_me: failed program was:" >&5
38679 sed 's/^/| /' conftest.$ac_ext >&5
38680
38681
38682 CFLAGS_OLD="$CFLAGS"
38683 if test "$GCC" = yes ; then
38684 CFLAGS="$CFLAGS -Werror"
38685 fi
38686
38687 cat >conftest.$ac_ext <<_ACEOF
38688 /* confdefs.h. */
38689 _ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693
38694 #include <sys/types.h>
38695 #include <sys/socket.h>
38696
38697 int
38698 main ()
38699 {
38700
38701 size_t len;
38702 getsockname(0, 0, &len);
38703
38704 ;
38705 return 0;
38706 }
38707 _ACEOF
38708 rm -f conftest.$ac_objext
38709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38710 (eval $ac_compile) 2>conftest.er1
38711 ac_status=$?
38712 grep -v '^ *+' conftest.er1 >conftest.err
38713 rm -f conftest.er1
38714 cat conftest.err >&5
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); } &&
38717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try='test -s conftest.$ac_objext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38729 wx_cv_type_getsockname3=size_t
38730 else
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.$ac_ext >&5
38733
38734 cat >conftest.$ac_ext <<_ACEOF
38735 /* confdefs.h. */
38736 _ACEOF
38737 cat confdefs.h >>conftest.$ac_ext
38738 cat >>conftest.$ac_ext <<_ACEOF
38739 /* end confdefs.h. */
38740
38741 #include <sys/types.h>
38742 #include <sys/socket.h>
38743
38744 int
38745 main ()
38746 {
38747
38748 int len;
38749 getsockname(0, 0, &len);
38750
38751 ;
38752 return 0;
38753 }
38754 _ACEOF
38755 rm -f conftest.$ac_objext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38757 (eval $ac_compile) 2>conftest.er1
38758 ac_status=$?
38759 grep -v '^ *+' conftest.er1 >conftest.err
38760 rm -f conftest.er1
38761 cat conftest.err >&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } &&
38764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38766 (eval $ac_try) 2>&5
38767 ac_status=$?
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); }; } &&
38770 { ac_try='test -s conftest.$ac_objext'
38771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38772 (eval $ac_try) 2>&5
38773 ac_status=$?
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); }; }; then
38776 wx_cv_type_getsockname3=int
38777 else
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781 wx_cv_type_getsockname3=unknown
38782
38783 fi
38784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38785
38786 fi
38787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38788
38789 CFLAGS="$CFLAGS_OLD"
38790
38791
38792 fi
38793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38794
38795 fi
38796 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38797 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38798
38799 if test "$wx_cv_type_getsockname3" = "unknown"; then
38800 wxUSE_SOCKETS=no
38801 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38802 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38803 else
38804 cat >>confdefs.h <<_ACEOF
38805 #define SOCKLEN_T $wx_cv_type_getsockname3
38806 _ACEOF
38807
38808 fi
38809 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38810 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38811 if test "${wx_cv_type_getsockopt5+set}" = set; then
38812 echo $ECHO_N "(cached) $ECHO_C" >&6
38813 else
38814
38815 cat >conftest.$ac_ext <<_ACEOF
38816 /* confdefs.h. */
38817 _ACEOF
38818 cat confdefs.h >>conftest.$ac_ext
38819 cat >>conftest.$ac_ext <<_ACEOF
38820 /* end confdefs.h. */
38821
38822 #include <sys/types.h>
38823 #include <sys/socket.h>
38824
38825 int
38826 main ()
38827 {
38828
38829 socklen_t len;
38830 getsockopt(0, 0, 0, 0, &len);
38831
38832 ;
38833 return 0;
38834 }
38835 _ACEOF
38836 rm -f conftest.$ac_objext
38837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38838 (eval $ac_compile) 2>conftest.er1
38839 ac_status=$?
38840 grep -v '^ *+' conftest.er1 >conftest.err
38841 rm -f conftest.er1
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } &&
38845 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38847 (eval $ac_try) 2>&5
38848 ac_status=$?
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); }; } &&
38851 { ac_try='test -s conftest.$ac_objext'
38852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38853 (eval $ac_try) 2>&5
38854 ac_status=$?
38855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38856 (exit $ac_status); }; }; then
38857 wx_cv_type_getsockopt5=socklen_t
38858 else
38859 echo "$as_me: failed program was:" >&5
38860 sed 's/^/| /' conftest.$ac_ext >&5
38861
38862
38863 CFLAGS_OLD="$CFLAGS"
38864 if test "$GCC" = yes ; then
38865 CFLAGS="$CFLAGS -Werror"
38866 fi
38867
38868 cat >conftest.$ac_ext <<_ACEOF
38869 /* confdefs.h. */
38870 _ACEOF
38871 cat confdefs.h >>conftest.$ac_ext
38872 cat >>conftest.$ac_ext <<_ACEOF
38873 /* end confdefs.h. */
38874
38875 #include <sys/types.h>
38876 #include <sys/socket.h>
38877
38878 int
38879 main ()
38880 {
38881
38882 size_t len;
38883 getsockopt(0, 0, 0, 0, &len);
38884
38885 ;
38886 return 0;
38887 }
38888 _ACEOF
38889 rm -f conftest.$ac_objext
38890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38891 (eval $ac_compile) 2>conftest.er1
38892 ac_status=$?
38893 grep -v '^ *+' conftest.er1 >conftest.err
38894 rm -f conftest.er1
38895 cat conftest.err >&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } &&
38898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38900 (eval $ac_try) 2>&5
38901 ac_status=$?
38902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38903 (exit $ac_status); }; } &&
38904 { ac_try='test -s conftest.$ac_objext'
38905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38906 (eval $ac_try) 2>&5
38907 ac_status=$?
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); }; }; then
38910 wx_cv_type_getsockopt5=size_t
38911 else
38912 echo "$as_me: failed program was:" >&5
38913 sed 's/^/| /' conftest.$ac_ext >&5
38914
38915 cat >conftest.$ac_ext <<_ACEOF
38916 /* confdefs.h. */
38917 _ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921
38922 #include <sys/types.h>
38923 #include <sys/socket.h>
38924
38925 int
38926 main ()
38927 {
38928
38929 int len;
38930 getsockopt(0, 0, 0, 0, &len);
38931
38932 ;
38933 return 0;
38934 }
38935 _ACEOF
38936 rm -f conftest.$ac_objext
38937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38938 (eval $ac_compile) 2>conftest.er1
38939 ac_status=$?
38940 grep -v '^ *+' conftest.er1 >conftest.err
38941 rm -f conftest.er1
38942 cat conftest.err >&5
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); } &&
38945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38948 ac_status=$?
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; } &&
38951 { ac_try='test -s conftest.$ac_objext'
38952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38953 (eval $ac_try) 2>&5
38954 ac_status=$?
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); }; }; then
38957 wx_cv_type_getsockopt5=int
38958 else
38959 echo "$as_me: failed program was:" >&5
38960 sed 's/^/| /' conftest.$ac_ext >&5
38961
38962 wx_cv_type_getsockopt5=unknown
38963
38964 fi
38965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38966
38967 fi
38968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38969
38970 CFLAGS="$CFLAGS_OLD"
38971
38972
38973 fi
38974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38975
38976 fi
38977 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38978 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38979
38980 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38981 wxUSE_SOCKETS=no
38982 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38983 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38984 else
38985 cat >>confdefs.h <<_ACEOF
38986 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38987 _ACEOF
38988
38989 fi
38990 ac_ext=c
38991 ac_cpp='$CPP $CPPFLAGS'
38992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38995
38996 fi
38997 fi
38998
38999 if test "$wxUSE_SOCKETS" = "yes" ; then
39000 cat >>confdefs.h <<\_ACEOF
39001 #define wxUSE_SOCKETS 1
39002 _ACEOF
39003
39004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
39005 fi
39006
39007 if test "$wxUSE_PROTOCOL" = "yes"; then
39008 if test "$wxUSE_SOCKETS" != "yes"; then
39009 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39010 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39011 wxUSE_PROTOCOL=no
39012 fi
39013 fi
39014
39015 if test "$wxUSE_PROTOCOL" = "yes"; then
39016 cat >>confdefs.h <<\_ACEOF
39017 #define wxUSE_PROTOCOL 1
39018 _ACEOF
39019
39020
39021 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39022 cat >>confdefs.h <<\_ACEOF
39023 #define wxUSE_PROTOCOL_HTTP 1
39024 _ACEOF
39025
39026 fi
39027 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39028 cat >>confdefs.h <<\_ACEOF
39029 #define wxUSE_PROTOCOL_FTP 1
39030 _ACEOF
39031
39032 fi
39033 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39034 cat >>confdefs.h <<\_ACEOF
39035 #define wxUSE_PROTOCOL_FILE 1
39036 _ACEOF
39037
39038 fi
39039 else
39040 if test "$wxUSE_FS_INET" = "yes"; then
39041 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39042 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39043 wxUSE_FS_INET="no"
39044 fi
39045 fi
39046
39047 if test "$wxUSE_URL" = "yes"; then
39048 if test "$wxUSE_PROTOCOL" != "yes"; then
39049 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39050 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39051 wxUSE_URL=no
39052 fi
39053 if test "$wxUSE_URL" = "yes"; then
39054 cat >>confdefs.h <<\_ACEOF
39055 #define wxUSE_URL 1
39056 _ACEOF
39057
39058 fi
39059 fi
39060
39061 if test "$wxUSE_FS_INET" = "yes"; then
39062 cat >>confdefs.h <<\_ACEOF
39063 #define wxUSE_FS_INET 1
39064 _ACEOF
39065
39066 fi
39067
39068
39069 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39070 wxUSE_JOYSTICK=no
39071
39072 if test "$TOOLKIT" = "MSW"; then
39073 wxUSE_JOYSTICK=yes
39074
39075 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39076 if test "$USE_DARWIN" = 1; then
39077 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39078 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39079 ac_ext=cc
39080 ac_cpp='$CXXCPP $CPPFLAGS'
39081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39084
39085 cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h. */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 #include <IOKit/hid/IOHIDLib.h>
39092 int
39093 main ()
39094 {
39095 IOHIDQueueInterface *qi = NULL;
39096 IOHIDCallbackFunction cb = NULL;
39097 qi->setEventCallout(NULL, cb, NULL, NULL);
39098 ;
39099 return 0;
39100 }
39101 _ACEOF
39102 rm -f conftest.$ac_objext
39103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39104 (eval $ac_compile) 2>conftest.er1
39105 ac_status=$?
39106 grep -v '^ *+' conftest.er1 >conftest.err
39107 rm -f conftest.er1
39108 cat conftest.err >&5
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); } &&
39111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39113 (eval $ac_try) 2>&5
39114 ac_status=$?
39115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39116 (exit $ac_status); }; } &&
39117 { ac_try='test -s conftest.$ac_objext'
39118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39119 (eval $ac_try) 2>&5
39120 ac_status=$?
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); }; }; then
39123 wxUSE_JOYSTICK=yes
39124
39125 else
39126 echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39128
39129 fi
39130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39131 ac_ext=c
39132 ac_cpp='$CPP $CPPFLAGS'
39133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39136
39137 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39138 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39139 fi
39140
39141 else
39142
39143 for ac_header in linux/joystick.h
39144 do
39145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39147 echo "$as_me:$LINENO: checking for $ac_header" >&5
39148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39151 fi
39152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39154 else
39155 # Is the header compilable?
39156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39158 cat >conftest.$ac_ext <<_ACEOF
39159 /* confdefs.h. */
39160 _ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39164 $ac_includes_default
39165 #include <$ac_header>
39166 _ACEOF
39167 rm -f conftest.$ac_objext
39168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39169 (eval $ac_compile) 2>conftest.er1
39170 ac_status=$?
39171 grep -v '^ *+' conftest.er1 >conftest.err
39172 rm -f conftest.er1
39173 cat conftest.err >&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } &&
39176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39178 (eval $ac_try) 2>&5
39179 ac_status=$?
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); }; } &&
39182 { ac_try='test -s conftest.$ac_objext'
39183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184 (eval $ac_try) 2>&5
39185 ac_status=$?
39186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187 (exit $ac_status); }; }; then
39188 ac_header_compiler=yes
39189 else
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.$ac_ext >&5
39192
39193 ac_header_compiler=no
39194 fi
39195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39197 echo "${ECHO_T}$ac_header_compiler" >&6
39198
39199 # Is the header present?
39200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39202 cat >conftest.$ac_ext <<_ACEOF
39203 /* confdefs.h. */
39204 _ACEOF
39205 cat confdefs.h >>conftest.$ac_ext
39206 cat >>conftest.$ac_ext <<_ACEOF
39207 /* end confdefs.h. */
39208 #include <$ac_header>
39209 _ACEOF
39210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39212 ac_status=$?
39213 grep -v '^ *+' conftest.er1 >conftest.err
39214 rm -f conftest.er1
39215 cat conftest.err >&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } >/dev/null; then
39218 if test -s conftest.err; then
39219 ac_cpp_err=$ac_c_preproc_warn_flag
39220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39221 else
39222 ac_cpp_err=
39223 fi
39224 else
39225 ac_cpp_err=yes
39226 fi
39227 if test -z "$ac_cpp_err"; then
39228 ac_header_preproc=yes
39229 else
39230 echo "$as_me: failed program was:" >&5
39231 sed 's/^/| /' conftest.$ac_ext >&5
39232
39233 ac_header_preproc=no
39234 fi
39235 rm -f conftest.err conftest.$ac_ext
39236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39237 echo "${ECHO_T}$ac_header_preproc" >&6
39238
39239 # So? What about this header?
39240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39241 yes:no: )
39242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39246 ac_header_preproc=yes
39247 ;;
39248 no:yes:* )
39249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39261 (
39262 cat <<\_ASBOX
39263 ## ----------------------------------------- ##
39264 ## Report this to wx-dev@lists.wxwidgets.org ##
39265 ## ----------------------------------------- ##
39266 _ASBOX
39267 ) |
39268 sed "s/^/$as_me: WARNING: /" >&2
39269 ;;
39270 esac
39271 echo "$as_me:$LINENO: checking for $ac_header" >&5
39272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39274 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 else
39276 eval "$as_ac_Header=\$ac_header_preproc"
39277 fi
39278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39280
39281 fi
39282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39283 cat >>confdefs.h <<_ACEOF
39284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39285 _ACEOF
39286 wxUSE_JOYSTICK=yes
39287 fi
39288
39289 done
39290
39291 fi
39292
39293 if test "$wxUSE_JOYSTICK" = "yes"; then
39294 cat >>confdefs.h <<\_ACEOF
39295 #define wxUSE_JOYSTICK 1
39296 _ACEOF
39297
39298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
39299 else
39300 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39301 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39302 fi
39303 fi
39304
39305
39306
39307 if test "$wxUSE_FONTMAP" = "yes" ; then
39308 cat >>confdefs.h <<\_ACEOF
39309 #define wxUSE_FONTMAP 1
39310 _ACEOF
39311
39312 fi
39313
39314 if test "$wxUSE_UNICODE" = "yes" ; then
39315 cat >>confdefs.h <<\_ACEOF
39316 #define wxUSE_UNICODE 1
39317 _ACEOF
39318
39319
39320 if test "$USE_WIN32" != 1; then
39321 wxUSE_UNICODE_MSLU=no
39322 fi
39323
39324 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39325 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39326 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39327 if test "${ac_cv_lib_unicows_main+set}" = set; then
39328 echo $ECHO_N "(cached) $ECHO_C" >&6
39329 else
39330 ac_check_lib_save_LIBS=$LIBS
39331 LIBS="-lunicows $LIBS"
39332 cat >conftest.$ac_ext <<_ACEOF
39333 /* confdefs.h. */
39334 _ACEOF
39335 cat confdefs.h >>conftest.$ac_ext
39336 cat >>conftest.$ac_ext <<_ACEOF
39337 /* end confdefs.h. */
39338
39339
39340 int
39341 main ()
39342 {
39343 main ();
39344 ;
39345 return 0;
39346 }
39347 _ACEOF
39348 rm -f conftest.$ac_objext conftest$ac_exeext
39349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39350 (eval $ac_link) 2>conftest.er1
39351 ac_status=$?
39352 grep -v '^ *+' conftest.er1 >conftest.err
39353 rm -f conftest.er1
39354 cat conftest.err >&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); } &&
39357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39360 ac_status=$?
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; } &&
39363 { ac_try='test -s conftest$ac_exeext'
39364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39365 (eval $ac_try) 2>&5
39366 ac_status=$?
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); }; }; then
39369 ac_cv_lib_unicows_main=yes
39370 else
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.$ac_ext >&5
39373
39374 ac_cv_lib_unicows_main=no
39375 fi
39376 rm -f conftest.err conftest.$ac_objext \
39377 conftest$ac_exeext conftest.$ac_ext
39378 LIBS=$ac_check_lib_save_LIBS
39379 fi
39380 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39381 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39382 if test $ac_cv_lib_unicows_main = yes; then
39383
39384 cat >>confdefs.h <<\_ACEOF
39385 #define wxUSE_UNICODE_MSLU 1
39386 _ACEOF
39387
39388
39389 else
39390
39391 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39392 Applications will only run on Windows NT/2000/XP!" >&5
39393 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39394 Applications will only run on Windows NT/2000/XP!" >&2;}
39395 wxUSE_UNICODE_MSLU=no
39396
39397 fi
39398
39399 fi
39400 fi
39401
39402 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39403 cat >>confdefs.h <<\_ACEOF
39404 #define wxUSE_EXPERIMENTAL_PRINTF 1
39405 _ACEOF
39406
39407 fi
39408
39409
39410 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39411 cat >>confdefs.h <<\_ACEOF
39412 #define wxUSE_POSTSCRIPT 1
39413 _ACEOF
39414
39415 fi
39416
39417 cat >>confdefs.h <<\_ACEOF
39418 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39419 _ACEOF
39420
39421
39422 cat >>confdefs.h <<\_ACEOF
39423 #define wxUSE_NORMALIZED_PS_FONTS 1
39424 _ACEOF
39425
39426
39427
39428 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39429 cat >>confdefs.h <<\_ACEOF
39430 #define wxUSE_CONSTRAINTS 1
39431 _ACEOF
39432
39433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39434 fi
39435
39436 if test "$wxUSE_MDI" = "yes"; then
39437 cat >>confdefs.h <<\_ACEOF
39438 #define wxUSE_MDI 1
39439 _ACEOF
39440
39441
39442 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39443 cat >>confdefs.h <<\_ACEOF
39444 #define wxUSE_MDI_ARCHITECTURE 1
39445 _ACEOF
39446
39447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39448 fi
39449 fi
39450
39451 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39452 cat >>confdefs.h <<\_ACEOF
39453 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39454 _ACEOF
39455
39456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39457 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39459 fi
39460 fi
39461
39462 if test "$wxUSE_HELP" = "yes"; then
39463 cat >>confdefs.h <<\_ACEOF
39464 #define wxUSE_HELP 1
39465 _ACEOF
39466
39467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39468
39469 if test "$wxUSE_MSW" = 1; then
39470 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39471 cat >>confdefs.h <<\_ACEOF
39472 #define wxUSE_MS_HTML_HELP 1
39473 _ACEOF
39474
39475 fi
39476 fi
39477
39478 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39479 if test "$wxUSE_HTML" = "yes"; then
39480 cat >>confdefs.h <<\_ACEOF
39481 #define wxUSE_WXHTML_HELP 1
39482 _ACEOF
39483
39484 else
39485 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39486 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39487 wxUSE_WXHTML_HELP=no
39488 fi
39489 fi
39490 fi
39491
39492 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39493 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39494 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39495 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39496 else
39497 cat >>confdefs.h <<\_ACEOF
39498 #define wxUSE_PRINTING_ARCHITECTURE 1
39499 _ACEOF
39500
39501 fi
39502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39503 fi
39504
39505 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39506 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39507 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39508 { (exit 1); exit 1; }; }
39509 fi
39510
39511
39512 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39513 -o "$wxUSE_CLIPBOARD" = "yes" \
39514 -o "$wxUSE_OLE" = "yes" \
39515 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39516
39517 for ac_header in ole2.h
39518 do
39519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39521 echo "$as_me:$LINENO: checking for $ac_header" >&5
39522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 fi
39526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39528 else
39529 # Is the header compilable?
39530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39532 cat >conftest.$ac_ext <<_ACEOF
39533 /* confdefs.h. */
39534 _ACEOF
39535 cat confdefs.h >>conftest.$ac_ext
39536 cat >>conftest.$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39538 $ac_includes_default
39539 #include <$ac_header>
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39543 (eval $ac_compile) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39552 (eval $ac_try) 2>&5
39553 ac_status=$?
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); }; } &&
39556 { ac_try='test -s conftest.$ac_objext'
39557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39558 (eval $ac_try) 2>&5
39559 ac_status=$?
39560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39561 (exit $ac_status); }; }; then
39562 ac_header_compiler=yes
39563 else
39564 echo "$as_me: failed program was:" >&5
39565 sed 's/^/| /' conftest.$ac_ext >&5
39566
39567 ac_header_compiler=no
39568 fi
39569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39571 echo "${ECHO_T}$ac_header_compiler" >&6
39572
39573 # Is the header present?
39574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39576 cat >conftest.$ac_ext <<_ACEOF
39577 /* confdefs.h. */
39578 _ACEOF
39579 cat confdefs.h >>conftest.$ac_ext
39580 cat >>conftest.$ac_ext <<_ACEOF
39581 /* end confdefs.h. */
39582 #include <$ac_header>
39583 _ACEOF
39584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39586 ac_status=$?
39587 grep -v '^ *+' conftest.er1 >conftest.err
39588 rm -f conftest.er1
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } >/dev/null; then
39592 if test -s conftest.err; then
39593 ac_cpp_err=$ac_c_preproc_warn_flag
39594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39595 else
39596 ac_cpp_err=
39597 fi
39598 else
39599 ac_cpp_err=yes
39600 fi
39601 if test -z "$ac_cpp_err"; then
39602 ac_header_preproc=yes
39603 else
39604 echo "$as_me: failed program was:" >&5
39605 sed 's/^/| /' conftest.$ac_ext >&5
39606
39607 ac_header_preproc=no
39608 fi
39609 rm -f conftest.err conftest.$ac_ext
39610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39611 echo "${ECHO_T}$ac_header_preproc" >&6
39612
39613 # So? What about this header?
39614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39615 yes:no: )
39616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39620 ac_header_preproc=yes
39621 ;;
39622 no:yes:* )
39623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39635 (
39636 cat <<\_ASBOX
39637 ## ----------------------------------------- ##
39638 ## Report this to wx-dev@lists.wxwidgets.org ##
39639 ## ----------------------------------------- ##
39640 _ASBOX
39641 ) |
39642 sed "s/^/$as_me: WARNING: /" >&2
39643 ;;
39644 esac
39645 echo "$as_me:$LINENO: checking for $ac_header" >&5
39646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39648 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 else
39650 eval "$as_ac_Header=\$ac_header_preproc"
39651 fi
39652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39654
39655 fi
39656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39657 cat >>confdefs.h <<_ACEOF
39658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39659 _ACEOF
39660
39661 fi
39662
39663 done
39664
39665
39666 if test "$ac_cv_header_ole2_h" = "yes" ; then
39667 if test "$GCC" = yes ; then
39668
39669
39670 ac_ext=cc
39671 ac_cpp='$CXXCPP $CPPFLAGS'
39672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39675
39676
39677 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39678 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 #include <windows.h>
39686 #include <ole2.h>
39687 int
39688 main ()
39689 {
39690
39691 ;
39692 return 0;
39693 }
39694 _ACEOF
39695 rm -f conftest.$ac_objext
39696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39697 (eval $ac_compile) 2>conftest.er1
39698 ac_status=$?
39699 grep -v '^ *+' conftest.er1 >conftest.err
39700 rm -f conftest.er1
39701 cat conftest.err >&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } &&
39704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39707 ac_status=$?
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; } &&
39710 { ac_try='test -s conftest.$ac_objext'
39711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39712 (eval $ac_try) 2>&5
39713 ac_status=$?
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); }; }; then
39716 echo "$as_me:$LINENO: result: no" >&5
39717 echo "${ECHO_T}no" >&6
39718 else
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.$ac_ext >&5
39721
39722 echo "$as_me:$LINENO: result: yes" >&5
39723 echo "${ECHO_T}yes" >&6
39724 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39725 fi
39726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39727 ac_ext=c
39728 ac_cpp='$CPP $CPPFLAGS'
39729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39732
39733 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39734 if test "$wxUSE_OLE" = "yes" ; then
39735 cat >>confdefs.h <<\_ACEOF
39736 #define wxUSE_OLE 1
39737 _ACEOF
39738
39739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39740 fi
39741 fi
39742
39743 if test "$wxUSE_DATAOBJ" = "yes" ; then
39744 cat >>confdefs.h <<\_ACEOF
39745 #define wxUSE_DATAOBJ 1
39746 _ACEOF
39747
39748 fi
39749 else
39750 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39751 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39752
39753 wxUSE_CLIPBOARD=no
39754 wxUSE_DRAG_AND_DROP=no
39755 wxUSE_DATAOBJ=no
39756 wxUSE_OLE=no
39757 fi
39758
39759 if test "$wxUSE_METAFILE" = "yes"; then
39760 cat >>confdefs.h <<\_ACEOF
39761 #define wxUSE_METAFILE 1
39762 _ACEOF
39763
39764
39765 cat >>confdefs.h <<\_ACEOF
39766 #define wxUSE_ENH_METAFILE 1
39767 _ACEOF
39768
39769 fi
39770 fi
39771
39772 if test "$wxUSE_IPC" = "yes"; then
39773 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39774 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39775 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39776 wxUSE_IPC=no
39777 fi
39778
39779 if test "$wxUSE_IPC" = "yes"; then
39780 cat >>confdefs.h <<\_ACEOF
39781 #define wxUSE_IPC 1
39782 _ACEOF
39783
39784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39785 fi
39786 fi
39787
39788 if test "$wxUSE_DATAOBJ" = "yes"; then
39789 if test "$wxUSE_MGL" = 1; then
39790 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
39791 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
39792 wxUSE_DATAOBJ=no
39793 else
39794 cat >>confdefs.h <<\_ACEOF
39795 #define wxUSE_DATAOBJ 1
39796 _ACEOF
39797
39798 fi
39799 else
39800 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39801 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39802 wxUSE_CLIPBOARD=no
39803 wxUSE_DRAG_AND_DROP=no
39804 fi
39805
39806 if test "$wxUSE_CLIPBOARD" = "yes"; then
39807 if test "$wxUSE_MGL" = 1; then
39808 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39809 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39810 wxUSE_CLIPBOARD=no
39811 fi
39812
39813 if test "$wxUSE_CLIPBOARD" = "yes"; then
39814 cat >>confdefs.h <<\_ACEOF
39815 #define wxUSE_CLIPBOARD 1
39816 _ACEOF
39817
39818 fi
39819 fi
39820
39821 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39822 if test "$wxUSE_GTK" = 1; then
39823 if test "$WXGTK12" != 1; then
39824 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39825 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39826 wxUSE_DRAG_AND_DROP=no
39827 fi
39828 fi
39829
39830 if test "$wxUSE_MOTIF" = 1; then
39831 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39832 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39833 wxUSE_DRAG_AND_DROP=no
39834 fi
39835
39836 if test "$wxUSE_X11" = 1; then
39837 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39838 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39839 wxUSE_DRAG_AND_DROP=no
39840 fi
39841
39842 if test "$wxUSE_MGL" = 1; then
39843 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39844 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39845 wxUSE_DRAG_AND_DROP=no
39846 fi
39847
39848 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39849 cat >>confdefs.h <<\_ACEOF
39850 #define wxUSE_DRAG_AND_DROP 1
39851 _ACEOF
39852
39853 fi
39854
39855 fi
39856
39857 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39859 fi
39860
39861 if test "$wxUSE_SPLINES" = "yes" ; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define wxUSE_SPLINES 1
39864 _ACEOF
39865
39866 fi
39867
39868 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39869 cat >>confdefs.h <<\_ACEOF
39870 #define wxUSE_MOUSEWHEEL 1
39871 _ACEOF
39872
39873 fi
39874
39875
39876 USES_CONTROLS=0
39877 if test "$wxUSE_CONTROLS" = "yes"; then
39878 USES_CONTROLS=1
39879 fi
39880
39881 if test "$wxUSE_ACCEL" = "yes"; then
39882 cat >>confdefs.h <<\_ACEOF
39883 #define wxUSE_ACCEL 1
39884 _ACEOF
39885
39886 USES_CONTROLS=1
39887 fi
39888
39889 if test "$wxUSE_BUTTON" = "yes"; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define wxUSE_BUTTON 1
39892 _ACEOF
39893
39894 USES_CONTROLS=1
39895 fi
39896
39897 if test "$wxUSE_BMPBUTTON" = "yes"; then
39898 cat >>confdefs.h <<\_ACEOF
39899 #define wxUSE_BMPBUTTON 1
39900 _ACEOF
39901
39902 USES_CONTROLS=1
39903 fi
39904
39905 if test "$wxUSE_CALCTRL" = "yes"; then
39906 cat >>confdefs.h <<\_ACEOF
39907 #define wxUSE_CALENDARCTRL 1
39908 _ACEOF
39909
39910 USES_CONTROLS=1
39911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39912 fi
39913
39914 if test "$wxUSE_CARET" = "yes"; then
39915 cat >>confdefs.h <<\_ACEOF
39916 #define wxUSE_CARET 1
39917 _ACEOF
39918
39919 USES_CONTROLS=1
39920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39921 fi
39922
39923 if test "$wxUSE_COMBOBOX" = "yes"; then
39924 cat >>confdefs.h <<\_ACEOF
39925 #define wxUSE_COMBOBOX 1
39926 _ACEOF
39927
39928 USES_CONTROLS=1
39929 fi
39930
39931 if test "$wxUSE_CHOICE" = "yes"; then
39932 cat >>confdefs.h <<\_ACEOF
39933 #define wxUSE_CHOICE 1
39934 _ACEOF
39935
39936 USES_CONTROLS=1
39937 fi
39938
39939 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39940 cat >>confdefs.h <<\_ACEOF
39941 #define wxUSE_CHOICEBOOK 1
39942 _ACEOF
39943
39944 USES_CONTROLS=1
39945 fi
39946
39947 if test "$wxUSE_CHECKBOX" = "yes"; then
39948 cat >>confdefs.h <<\_ACEOF
39949 #define wxUSE_CHECKBOX 1
39950 _ACEOF
39951
39952 USES_CONTROLS=1
39953 fi
39954
39955 if test "$wxUSE_CHECKLST" = "yes"; then
39956 cat >>confdefs.h <<\_ACEOF
39957 #define wxUSE_CHECKLISTBOX 1
39958 _ACEOF
39959
39960 USES_CONTROLS=1
39961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39962 fi
39963
39964 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39965 cat >>confdefs.h <<\_ACEOF
39966 #define wxUSE_DATEPICKCTRL 1
39967 _ACEOF
39968
39969 USES_CONTROLS=1
39970 fi
39971
39972 if test "$wxUSE_DISPLAY" = "yes"; then
39973 cat >>confdefs.h <<\_ACEOF
39974 #define wxUSE_DISPLAY 1
39975 _ACEOF
39976
39977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39978 fi
39979
39980 if test "$wxUSE_GAUGE" = "yes"; then
39981 cat >>confdefs.h <<\_ACEOF
39982 #define wxUSE_GAUGE 1
39983 _ACEOF
39984
39985 USES_CONTROLS=1
39986 fi
39987
39988 if test "$wxUSE_GRID" = "yes"; then
39989 cat >>confdefs.h <<\_ACEOF
39990 #define wxUSE_GRID 1
39991 _ACEOF
39992
39993 USES_CONTROLS=1
39994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39995 fi
39996
39997 if test "$wxUSE_IMAGLIST" = "yes"; then
39998 cat >>confdefs.h <<\_ACEOF
39999 #define wxUSE_IMAGLIST 1
40000 _ACEOF
40001
40002 fi
40003
40004 if test "$wxUSE_LISTBOOK" = "yes"; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define wxUSE_LISTBOOK 1
40007 _ACEOF
40008
40009 USES_CONTROLS=1
40010 fi
40011
40012 if test "$wxUSE_LISTBOX" = "yes"; then
40013 cat >>confdefs.h <<\_ACEOF
40014 #define wxUSE_LISTBOX 1
40015 _ACEOF
40016
40017 USES_CONTROLS=1
40018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
40019 fi
40020
40021 if test "$wxUSE_LISTCTRL" = "yes"; then
40022 if test "$wxUSE_IMAGLIST" = "yes"; then
40023 cat >>confdefs.h <<\_ACEOF
40024 #define wxUSE_LISTCTRL 1
40025 _ACEOF
40026
40027 USES_CONTROLS=1
40028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
40029 else
40030 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40031 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40032 fi
40033 fi
40034
40035 if test "$wxUSE_NOTEBOOK" = "yes"; then
40036 cat >>confdefs.h <<\_ACEOF
40037 #define wxUSE_NOTEBOOK 1
40038 _ACEOF
40039
40040 USES_CONTROLS=1
40041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
40042 fi
40043
40044
40045 if test "$wxUSE_RADIOBOX" = "yes"; then
40046 cat >>confdefs.h <<\_ACEOF
40047 #define wxUSE_RADIOBOX 1
40048 _ACEOF
40049
40050 USES_CONTROLS=1
40051 fi
40052
40053 if test "$wxUSE_RADIOBTN" = "yes"; then
40054 cat >>confdefs.h <<\_ACEOF
40055 #define wxUSE_RADIOBTN 1
40056 _ACEOF
40057
40058 USES_CONTROLS=1
40059 fi
40060
40061 if test "$wxUSE_SASH" = "yes"; then
40062 cat >>confdefs.h <<\_ACEOF
40063 #define wxUSE_SASH 1
40064 _ACEOF
40065
40066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
40067 fi
40068
40069 if test "$wxUSE_SCROLLBAR" = "yes"; then
40070 cat >>confdefs.h <<\_ACEOF
40071 #define wxUSE_SCROLLBAR 1
40072 _ACEOF
40073
40074 USES_CONTROLS=1
40075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
40076 fi
40077
40078 if test "$wxUSE_SLIDER" = "yes"; then
40079 cat >>confdefs.h <<\_ACEOF
40080 #define wxUSE_SLIDER 1
40081 _ACEOF
40082
40083 USES_CONTROLS=1
40084 fi
40085
40086 if test "$wxUSE_SPINBTN" = "yes"; then
40087 cat >>confdefs.h <<\_ACEOF
40088 #define wxUSE_SPINBTN 1
40089 _ACEOF
40090
40091 USES_CONTROLS=1
40092 fi
40093
40094 if test "$wxUSE_SPINCTRL" = "yes"; then
40095 cat >>confdefs.h <<\_ACEOF
40096 #define wxUSE_SPINCTRL 1
40097 _ACEOF
40098
40099 USES_CONTROLS=1
40100 fi
40101
40102 if test "$wxUSE_SPLITTER" = "yes"; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define wxUSE_SPLITTER 1
40105 _ACEOF
40106
40107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
40108 fi
40109
40110 if test "$wxUSE_STATBMP" = "yes"; then
40111 cat >>confdefs.h <<\_ACEOF
40112 #define wxUSE_STATBMP 1
40113 _ACEOF
40114
40115 USES_CONTROLS=1
40116 fi
40117
40118 if test "$wxUSE_STATBOX" = "yes"; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define wxUSE_STATBOX 1
40121 _ACEOF
40122
40123 USES_CONTROLS=1
40124 fi
40125
40126 if test "$wxUSE_STATTEXT" = "yes"; then
40127 cat >>confdefs.h <<\_ACEOF
40128 #define wxUSE_STATTEXT 1
40129 _ACEOF
40130
40131 USES_CONTROLS=1
40132 fi
40133
40134 if test "$wxUSE_STATLINE" = "yes"; then
40135 cat >>confdefs.h <<\_ACEOF
40136 #define wxUSE_STATLINE 1
40137 _ACEOF
40138
40139 USES_CONTROLS=1
40140 fi
40141
40142 if test "$wxUSE_STATUSBAR" = "yes"; then
40143 cat >>confdefs.h <<\_ACEOF
40144 #define wxUSE_NATIVE_STATUSBAR 1
40145 _ACEOF
40146
40147 cat >>confdefs.h <<\_ACEOF
40148 #define wxUSE_STATUSBAR 1
40149 _ACEOF
40150
40151 USES_CONTROLS=1
40152
40153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
40154 fi
40155
40156 if test "$wxUSE_TABDIALOG" = "yes"; then
40157 cat >>confdefs.h <<\_ACEOF
40158 #define wxUSE_TAB_DIALOG 1
40159 _ACEOF
40160
40161 fi
40162
40163 if test "$wxUSE_TEXTCTRL" = "yes"; then
40164 cat >>confdefs.h <<\_ACEOF
40165 #define wxUSE_TEXTCTRL 1
40166 _ACEOF
40167
40168 USES_CONTROLS=1
40169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
40170 fi
40171
40172 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40173 if test "$wxUSE_COCOA" = 1 ; then
40174 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40175 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40176 wxUSE_TOGGLEBTN=no
40177 fi
40178 if test "$wxUSE_UNIVERSAL" = "yes"; then
40179 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40180 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40181 wxUSE_TOGGLEBTN=no
40182 fi
40183
40184 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40185 cat >>confdefs.h <<\_ACEOF
40186 #define wxUSE_TOGGLEBTN 1
40187 _ACEOF
40188
40189 USES_CONTROLS=1
40190 fi
40191 fi
40192
40193 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40194 cat >>confdefs.h <<\_ACEOF
40195 #define wxUSE_TOOLBAR_SIMPLE 1
40196 _ACEOF
40197
40198 wxUSE_TOOLBAR="yes"
40199 USES_CONTROLS=1
40200 fi
40201
40202 if test "$wxUSE_TOOLBAR" = "yes"; then
40203 cat >>confdefs.h <<\_ACEOF
40204 #define wxUSE_TOOLBAR 1
40205 _ACEOF
40206
40207 USES_CONTROLS=1
40208
40209 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40210 wxUSE_TOOLBAR_NATIVE="yes"
40211 fi
40212
40213 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define wxUSE_TOOLBAR_NATIVE 1
40216 _ACEOF
40217
40218 USES_CONTROLS=1
40219 fi
40220
40221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
40222 fi
40223
40224 if test "$wxUSE_TOOLTIPS" = "yes"; then
40225 if test "$wxUSE_MOTIF" = 1; then
40226 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40227 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40228 else
40229 if test "$wxUSE_UNIVERSAL" = "yes"; then
40230 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40231 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40232 else
40233 cat >>confdefs.h <<\_ACEOF
40234 #define wxUSE_TOOLTIPS 1
40235 _ACEOF
40236
40237 fi
40238 fi
40239 fi
40240
40241 if test "$wxUSE_TREECTRL" = "yes"; then
40242 if test "$wxUSE_IMAGLIST" = "yes"; then
40243 cat >>confdefs.h <<\_ACEOF
40244 #define wxUSE_TREECTRL 1
40245 _ACEOF
40246
40247 USES_CONTROLS=1
40248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
40249 else
40250 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40251 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40252 fi
40253 fi
40254
40255 if test "$wxUSE_POPUPWIN" = "yes"; then
40256 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40257 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40258 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40259 else
40260 if test "$wxUSE_PM" = 1; then
40261 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40262 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40263 else
40264 cat >>confdefs.h <<\_ACEOF
40265 #define wxUSE_POPUPWIN 1
40266 _ACEOF
40267
40268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
40269
40270 USES_CONTROLS=1
40271 fi
40272 fi
40273 fi
40274
40275 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40276 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40277 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40278 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40279 else
40280 cat >>confdefs.h <<\_ACEOF
40281 #define wxUSE_DIALUP_MANAGER 1
40282 _ACEOF
40283
40284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
40285 fi
40286 fi
40287
40288 if test "$wxUSE_TIPWINDOW" = "yes"; then
40289 if test "$wxUSE_PM" = 1; then
40290 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40291 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40292 else
40293 cat >>confdefs.h <<\_ACEOF
40294 #define wxUSE_TIPWINDOW 1
40295 _ACEOF
40296
40297 fi
40298 fi
40299
40300 if test "$USES_CONTROLS" = 1; then
40301 cat >>confdefs.h <<\_ACEOF
40302 #define wxUSE_CONTROLS 1
40303 _ACEOF
40304
40305 fi
40306
40307
40308 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40309 cat >>confdefs.h <<\_ACEOF
40310 #define wxUSE_ACCESSIBILITY 1
40311 _ACEOF
40312
40313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
40314 fi
40315
40316 if test "$wxUSE_DC_CACHEING" = "yes"; then
40317 cat >>confdefs.h <<\_ACEOF
40318 #define wxUSE_DC_CACHEING 1
40319 _ACEOF
40320
40321 fi
40322
40323 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define wxUSE_DRAGIMAGE 1
40326 _ACEOF
40327
40328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
40329 fi
40330
40331 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40332 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40333 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40334 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40335 else
40336 cat >>confdefs.h <<\_ACEOF
40337 #define wxUSE_EXCEPTIONS 1
40338 _ACEOF
40339
40340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
40341 fi
40342 fi
40343
40344 USE_HTML=0
40345 if test "$wxUSE_HTML" = "yes"; then
40346 cat >>confdefs.h <<\_ACEOF
40347 #define wxUSE_HTML 1
40348 _ACEOF
40349
40350 USE_HTML=1
40351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40352 if test "$wxUSE_MAC" = 1; then
40353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40354 fi
40355 fi
40356 if test "$wxUSE_WEBKIT" = "yes"; then
40357 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40358 old_CPPFLAGS="$CPPFLAGS"
40359 CPPFLAGS="$CPPFLAGS -x objective-c++"
40360 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40361 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40362 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365 cat >conftest.$ac_ext <<_ACEOF
40366 /* confdefs.h. */
40367 _ACEOF
40368 cat confdefs.h >>conftest.$ac_ext
40369 cat >>conftest.$ac_ext <<_ACEOF
40370 /* end confdefs.h. */
40371 #include <Carbon/Carbon.h>
40372
40373 #include <WebKit/HIWebView.h>
40374 _ACEOF
40375 rm -f conftest.$ac_objext
40376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40377 (eval $ac_compile) 2>conftest.er1
40378 ac_status=$?
40379 grep -v '^ *+' conftest.er1 >conftest.err
40380 rm -f conftest.er1
40381 cat conftest.err >&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); } &&
40384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40386 (eval $ac_try) 2>&5
40387 ac_status=$?
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); }; } &&
40390 { ac_try='test -s conftest.$ac_objext'
40391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40392 (eval $ac_try) 2>&5
40393 ac_status=$?
40394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40395 (exit $ac_status); }; }; then
40396 ac_cv_header_WebKit_HIWebView_h=yes
40397 else
40398 echo "$as_me: failed program was:" >&5
40399 sed 's/^/| /' conftest.$ac_ext >&5
40400
40401 ac_cv_header_WebKit_HIWebView_h=no
40402 fi
40403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40404 fi
40405 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40406 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40407 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40408
40409 cat >>confdefs.h <<\_ACEOF
40410 #define wxUSE_WEBKIT 1
40411 _ACEOF
40412
40413 WEBKIT_LINK="-framework WebKit"
40414
40415 else
40416
40417 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40418 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40419 wxUSE_WEBKIT=no
40420
40421 fi
40422
40423
40424 CPPFLAGS="$old_CPPFLAGS"
40425 elif test "$wxUSE_COCOA" = 1; then
40426 cat >>confdefs.h <<\_ACEOF
40427 #define wxUSE_WEBKIT 1
40428 _ACEOF
40429
40430 else
40431 wxUSE_WEBKIT=no
40432 fi
40433 fi
40434
40435 USE_XRC=0
40436 if test "$wxUSE_XRC" = "yes"; then
40437 if test "$wxUSE_XML" != "yes"; then
40438 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40439 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40440 wxUSE_XRC=no
40441 else
40442 cat >>confdefs.h <<\_ACEOF
40443 #define wxUSE_XRC 1
40444 _ACEOF
40445
40446 USE_XRC=1
40447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40448 fi
40449 fi
40450
40451 if test "$wxUSE_MENUS" = "yes"; then
40452 cat >>confdefs.h <<\_ACEOF
40453 #define wxUSE_MENUS 1
40454 _ACEOF
40455
40456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40457 fi
40458
40459 if test "$wxUSE_METAFILE" = "yes"; then
40460 cat >>confdefs.h <<\_ACEOF
40461 #define wxUSE_METAFILE 1
40462 _ACEOF
40463
40464 fi
40465
40466 if test "$wxUSE_MIMETYPE" = "yes"; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define wxUSE_MIMETYPE 1
40469 _ACEOF
40470
40471 fi
40472
40473 if test "$wxUSE_MINIFRAME" = "yes"; then
40474 cat >>confdefs.h <<\_ACEOF
40475 #define wxUSE_MINIFRAME 1
40476 _ACEOF
40477
40478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40479 fi
40480
40481 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40482 cat >>confdefs.h <<\_ACEOF
40483 #define wxUSE_SYSTEM_OPTIONS 1
40484 _ACEOF
40485
40486 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40487 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40489 fi
40490 fi
40491
40492
40493 if test "$wxUSE_VALIDATORS" = "yes"; then
40494 cat >>confdefs.h <<\_ACEOF
40495 #define wxUSE_VALIDATORS 1
40496 _ACEOF
40497
40498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40499 fi
40500
40501 if test "$wxUSE_PALETTE" = "yes" ; then
40502 cat >>confdefs.h <<\_ACEOF
40503 #define wxUSE_PALETTE 1
40504 _ACEOF
40505
40506 fi
40507
40508 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40509 LIBS=" -lunicows $LIBS"
40510 fi
40511
40512
40513 if test "$wxUSE_IMAGE" = "yes" ; then
40514 cat >>confdefs.h <<\_ACEOF
40515 #define wxUSE_IMAGE 1
40516 _ACEOF
40517
40518
40519 if test "$wxUSE_GIF" = "yes" ; then
40520 cat >>confdefs.h <<\_ACEOF
40521 #define wxUSE_GIF 1
40522 _ACEOF
40523
40524 fi
40525
40526 if test "$wxUSE_PCX" = "yes" ; then
40527 cat >>confdefs.h <<\_ACEOF
40528 #define wxUSE_PCX 1
40529 _ACEOF
40530
40531 fi
40532
40533 if test "$wxUSE_IFF" = "yes" ; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define wxUSE_IFF 1
40536 _ACEOF
40537
40538 fi
40539
40540 if test "$wxUSE_PNM" = "yes" ; then
40541 cat >>confdefs.h <<\_ACEOF
40542 #define wxUSE_PNM 1
40543 _ACEOF
40544
40545 fi
40546
40547 if test "$wxUSE_XPM" = "yes" ; then
40548 cat >>confdefs.h <<\_ACEOF
40549 #define wxUSE_XPM 1
40550 _ACEOF
40551
40552 fi
40553
40554 if test "$wxUSE_ICO_CUR" = "yes" ; then
40555 cat >>confdefs.h <<\_ACEOF
40556 #define wxUSE_ICO_CUR 1
40557 _ACEOF
40558
40559 fi
40560 fi
40561
40562
40563 if test "$wxUSE_CHOICEDLG" = "yes"; then
40564 cat >>confdefs.h <<\_ACEOF
40565 #define wxUSE_CHOICEDLG 1
40566 _ACEOF
40567
40568 fi
40569
40570 if test "$wxUSE_COLOURDLG" = "yes"; then
40571 cat >>confdefs.h <<\_ACEOF
40572 #define wxUSE_COLOURDLG 1
40573 _ACEOF
40574
40575 fi
40576
40577 if test "$wxUSE_FILEDLG" = "yes"; then
40578 cat >>confdefs.h <<\_ACEOF
40579 #define wxUSE_FILEDLG 1
40580 _ACEOF
40581
40582 fi
40583
40584 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40585 cat >>confdefs.h <<\_ACEOF
40586 #define wxUSE_FINDREPLDLG 1
40587 _ACEOF
40588
40589 fi
40590
40591 if test "$wxUSE_FONTDLG" = "yes"; then
40592 cat >>confdefs.h <<\_ACEOF
40593 #define wxUSE_FONTDLG 1
40594 _ACEOF
40595
40596 fi
40597
40598 if test "$wxUSE_DIRDLG" = "yes"; then
40599 if test "$wxUSE_TREECTRL" != "yes"; then
40600 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40601 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40602 else
40603 cat >>confdefs.h <<\_ACEOF
40604 #define wxUSE_DIRDLG 1
40605 _ACEOF
40606
40607 fi
40608 fi
40609
40610 if test "$wxUSE_MSGDLG" = "yes"; then
40611 cat >>confdefs.h <<\_ACEOF
40612 #define wxUSE_MSGDLG 1
40613 _ACEOF
40614
40615 fi
40616
40617 if test "$wxUSE_NUMBERDLG" = "yes"; then
40618 cat >>confdefs.h <<\_ACEOF
40619 #define wxUSE_NUMBERDLG 1
40620 _ACEOF
40621
40622 fi
40623
40624 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40625 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40626 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40627 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40628 else
40629 cat >>confdefs.h <<\_ACEOF
40630 #define wxUSE_PROGRESSDLG 1
40631 _ACEOF
40632
40633 fi
40634 fi
40635
40636 if test "$wxUSE_SPLASH" = "yes"; then
40637 cat >>confdefs.h <<\_ACEOF
40638 #define wxUSE_SPLASH 1
40639 _ACEOF
40640
40641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40642 fi
40643
40644 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40645 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40646 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40647 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40648 else
40649 cat >>confdefs.h <<\_ACEOF
40650 #define wxUSE_STARTUP_TIPS 1
40651 _ACEOF
40652
40653 fi
40654 fi
40655
40656 if test "$wxUSE_TEXTDLG" = "yes"; then
40657 cat >>confdefs.h <<\_ACEOF
40658 #define wxUSE_TEXTDLG 1
40659 _ACEOF
40660
40661 fi
40662
40663 if test "$wxUSE_WIZARDDLG" = "yes"; then
40664 cat >>confdefs.h <<\_ACEOF
40665 #define wxUSE_WIZARDDLG 1
40666 _ACEOF
40667
40668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40669 fi
40670
40671
40672 if test "$wxUSE_MEDIACTRL" = "yes"; then
40673 if test "$wxUSE_GTK" = 1; then
40674 wxUSE_GSTREAMER="yes"
40675
40676
40677 succeeded=no
40678
40679 if test -z "$PKG_CONFIG"; then
40680 # Extract the first word of "pkg-config", so it can be a program name with args.
40681 set dummy pkg-config; ac_word=$2
40682 echo "$as_me:$LINENO: checking for $ac_word" >&5
40683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40684 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40685 echo $ECHO_N "(cached) $ECHO_C" >&6
40686 else
40687 case $PKG_CONFIG in
40688 [\\/]* | ?:[\\/]*)
40689 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40690 ;;
40691 *)
40692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40693 for as_dir in $PATH
40694 do
40695 IFS=$as_save_IFS
40696 test -z "$as_dir" && as_dir=.
40697 for ac_exec_ext in '' $ac_executable_extensions; do
40698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40699 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40701 break 2
40702 fi
40703 done
40704 done
40705
40706 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40707 ;;
40708 esac
40709 fi
40710 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40711
40712 if test -n "$PKG_CONFIG"; then
40713 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40714 echo "${ECHO_T}$PKG_CONFIG" >&6
40715 else
40716 echo "$as_me:$LINENO: result: no" >&5
40717 echo "${ECHO_T}no" >&6
40718 fi
40719
40720 fi
40721
40722 if test "$PKG_CONFIG" = "no" ; then
40723 echo "*** The pkg-config script could not be found. Make sure it is"
40724 echo "*** in your path, or set the PKG_CONFIG environment variable"
40725 echo "*** to the full path to pkg-config."
40726 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40727 else
40728 PKG_CONFIG_MIN_VERSION=0.9.0
40729 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40730 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40731 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40732
40733 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40734 echo "$as_me:$LINENO: result: yes" >&5
40735 echo "${ECHO_T}yes" >&6
40736 succeeded=yes
40737
40738 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40739 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40740 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40741 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40742 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40743
40744 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40745 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40746 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40747 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40748 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40749 else
40750 GSTREAMER_CFLAGS=""
40751 GSTREAMER_LIBS=""
40752 ## If we have a custom action on failure, don't print errors, but
40753 ## do set a variable so people can do so.
40754 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40755
40756 fi
40757
40758
40759
40760 else
40761 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40762 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40763 fi
40764 fi
40765
40766 if test $succeeded = yes; then
40767
40768 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40769 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40770
40771 else
40772
40773 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40774 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40775 wxUSE_GSTREAMER="no"
40776
40777 fi
40778
40779
40780
40781
40782
40783 if test "x$GST_INSPECT" == "x"; then
40784 # Extract the first word of "gst-inspect", so it can be a program name with args.
40785 set dummy gst-inspect; ac_word=$2
40786 echo "$as_me:$LINENO: checking for $ac_word" >&5
40787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40788 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 else
40791 if test -n "$GST_INSPECT"; then
40792 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40793 else
40794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40795 for as_dir in $PATH
40796 do
40797 IFS=$as_save_IFS
40798 test -z "$as_dir" && as_dir=.
40799 for ac_exec_ext in '' $ac_executable_extensions; do
40800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40801 ac_cv_prog_GST_INSPECT="gst-inspect"
40802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40803 break 2
40804 fi
40805 done
40806 done
40807
40808 fi
40809 fi
40810 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40811 if test -n "$GST_INSPECT"; then
40812 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40813 echo "${ECHO_T}$GST_INSPECT" >&6
40814 else
40815 echo "$as_me:$LINENO: result: no" >&5
40816 echo "${ECHO_T}no" >&6
40817 fi
40818
40819 fi
40820
40821 if test "x$GST_INSPECT" != "x"; then
40822 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40823 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40824 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40825 echo "$as_me:$LINENO: result: found." >&5
40826 echo "${ECHO_T}found." >&6
40827
40828 else
40829 echo "$as_me:$LINENO: result: not found." >&5
40830 echo "${ECHO_T}not found." >&6
40831
40832 wxUSE_GSTREAMER="no"
40833 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40834 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40835
40836 fi
40837 fi
40838
40839
40840 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40841 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40842 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40843 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 else
40845 cat >conftest.$ac_ext <<_ACEOF
40846 /* confdefs.h. */
40847 _ACEOF
40848 cat confdefs.h >>conftest.$ac_ext
40849 cat >>conftest.$ac_ext <<_ACEOF
40850 /* end confdefs.h. */
40851 #include <gst/gst.h>
40852
40853 #include <gst/xoverlay/xoverlay.h>
40854 _ACEOF
40855 rm -f conftest.$ac_objext
40856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40857 (eval $ac_compile) 2>conftest.er1
40858 ac_status=$?
40859 grep -v '^ *+' conftest.er1 >conftest.err
40860 rm -f conftest.er1
40861 cat conftest.err >&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } &&
40864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40867 ac_status=$?
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try='test -s conftest.$ac_objext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40877 else
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40880
40881 ac_cv_header_gst_xoverlay_xoverlay_h=no
40882 fi
40883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40884 fi
40885 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40886 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40887 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40888 :
40889 else
40890
40891 wxUSE_GSTREAMER="no"
40892 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40893 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40894
40895 fi
40896
40897
40898
40899 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40900 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40901
40902 ac_find_libraries=
40903 for ac_dir in $SEARCH_LIB /usr/lib;
40904 do
40905 for ac_extension in a so sl dylib dll.a; do
40906 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40907 ac_find_libraries=$ac_dir
40908 break 2
40909 fi
40910 done
40911 done
40912
40913
40914 if test "$ac_find_libraries" = "" ; then
40915 echo "$as_me:$LINENO: result: no" >&5
40916 echo "${ECHO_T}no" >&6
40917 wxUSE_GSTREAMER="no"
40918 else
40919 echo "$as_me:$LINENO: result: yes" >&5
40920 echo "${ECHO_T}yes" >&6
40921 fi
40922
40923 if test "$wxUSE_GSTREAMER" = "yes"; then
40924 cat >>confdefs.h <<\_ACEOF
40925 #define wxUSE_GSTREAMER 1
40926 _ACEOF
40927
40928 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40929 echo "${ECHO_T}GStreamer detection successful" >&6
40930 fi
40931 fi
40932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40933 cat >>confdefs.h <<\_ACEOF
40934 #define wxUSE_MEDIACTRL 1
40935 _ACEOF
40936
40937 fi
40938
40939
40940 if test "$cross_compiling" = "yes"; then
40941 OSINFO="\"$host\""
40942 else
40943 OSINFO=`uname -s -r -m`
40944 OSINFO="\"$OSINFO\""
40945 fi
40946
40947 cat >>confdefs.h <<_ACEOF
40948 #define WXWIN_OS_DESCRIPTION $OSINFO
40949 _ACEOF
40950
40951
40952
40953 if test "x$prefix" != "xNONE"; then
40954 wxPREFIX=$prefix
40955 else
40956 wxPREFIX=$ac_default_prefix
40957 fi
40958
40959 cat >>confdefs.h <<_ACEOF
40960 #define wxINSTALL_PREFIX "$wxPREFIX"
40961 _ACEOF
40962
40963
40964
40965
40966 CORE_BASE_LIBS="net base"
40967 CORE_GUI_LIBS="adv core"
40968
40969 if test "$wxUSE_XML" = "yes" ; then
40970 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40971 fi
40972 if test "$wxUSE_ODBC" != "no" ; then
40973 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40974 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40975 fi
40976 if test "$wxUSE_HTML" = "yes" ; then
40977 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40978 fi
40979 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40980 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40981 fi
40982 if test "$wxUSE_XRC" = "yes" ; then
40983 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40984 fi
40985
40986 if test "$wxUSE_GUI" != "yes"; then
40987 CORE_GUI_LIBS=""
40988 fi
40989
40990
40991
40992
40993
40994
40995
40996
40997 if test "$wxUSE_MAC" = 1 ; then
40998 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40999 if test "$USE_DARWIN" = 1; then
41000 LDFLAGS="$LDFLAGS -framework QuickTime"
41001 else
41002 LDFLAGS="$LDFLAGS -lQuickTimeLib"
41003 fi
41004 fi
41005 if test "$USE_DARWIN" = 1; then
41006 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41007 else
41008 LDFLAGS="$LDFLAGS -lCarbonLib"
41009 fi
41010 fi
41011 if test "$wxUSE_COCOA" = 1 ; then
41012 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
41013 if test "$wxUSE_MEDIACTRL" = "yes"; then
41014 LDFLAGS="$LDFLAGS -framework QuickTime"
41015 fi
41016 fi
41017 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41018 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41019 fi
41020
41021
41022 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41023
41024 have_cos=0
41025 have_floor=0
41026
41027 for ac_func in cos
41028 do
41029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41030 echo "$as_me:$LINENO: checking for $ac_func" >&5
41031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41032 if eval "test \"\${$as_ac_var+set}\" = set"; then
41033 echo $ECHO_N "(cached) $ECHO_C" >&6
41034 else
41035 cat >conftest.$ac_ext <<_ACEOF
41036 /* confdefs.h. */
41037 _ACEOF
41038 cat confdefs.h >>conftest.$ac_ext
41039 cat >>conftest.$ac_ext <<_ACEOF
41040 /* end confdefs.h. */
41041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41043 #define $ac_func innocuous_$ac_func
41044
41045 /* System header to define __stub macros and hopefully few prototypes,
41046 which can conflict with char $ac_func (); below.
41047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41048 <limits.h> exists even on freestanding compilers. */
41049
41050 #ifdef __STDC__
41051 # include <limits.h>
41052 #else
41053 # include <assert.h>
41054 #endif
41055
41056 #undef $ac_func
41057
41058 /* Override any gcc2 internal prototype to avoid an error. */
41059 #ifdef __cplusplus
41060 extern "C"
41061 {
41062 #endif
41063 /* We use char because int might match the return type of a gcc2
41064 builtin and then its argument prototype would still apply. */
41065 char $ac_func ();
41066 /* The GNU C library defines this for functions which it implements
41067 to always fail with ENOSYS. Some functions are actually named
41068 something starting with __ and the normal name is an alias. */
41069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41070 choke me
41071 #else
41072 char (*f) () = $ac_func;
41073 #endif
41074 #ifdef __cplusplus
41075 }
41076 #endif
41077
41078 int
41079 main ()
41080 {
41081 return f != $ac_func;
41082 ;
41083 return 0;
41084 }
41085 _ACEOF
41086 rm -f conftest.$ac_objext conftest$ac_exeext
41087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41088 (eval $ac_link) 2>conftest.er1
41089 ac_status=$?
41090 grep -v '^ *+' conftest.er1 >conftest.err
41091 rm -f conftest.er1
41092 cat conftest.err >&5
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); } &&
41095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41097 (eval $ac_try) 2>&5
41098 ac_status=$?
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); }; } &&
41101 { ac_try='test -s conftest$ac_exeext'
41102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41103 (eval $ac_try) 2>&5
41104 ac_status=$?
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); }; }; then
41107 eval "$as_ac_var=yes"
41108 else
41109 echo "$as_me: failed program was:" >&5
41110 sed 's/^/| /' conftest.$ac_ext >&5
41111
41112 eval "$as_ac_var=no"
41113 fi
41114 rm -f conftest.err conftest.$ac_objext \
41115 conftest$ac_exeext conftest.$ac_ext
41116 fi
41117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41119 if test `eval echo '${'$as_ac_var'}'` = yes; then
41120 cat >>confdefs.h <<_ACEOF
41121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41122 _ACEOF
41123 have_cos=1
41124 fi
41125 done
41126
41127
41128 for ac_func in floor
41129 do
41130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41131 echo "$as_me:$LINENO: checking for $ac_func" >&5
41132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41133 if eval "test \"\${$as_ac_var+set}\" = set"; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41135 else
41136 cat >conftest.$ac_ext <<_ACEOF
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41144 #define $ac_func innocuous_$ac_func
41145
41146 /* System header to define __stub macros and hopefully few prototypes,
41147 which can conflict with char $ac_func (); below.
41148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41149 <limits.h> exists even on freestanding compilers. */
41150
41151 #ifdef __STDC__
41152 # include <limits.h>
41153 #else
41154 # include <assert.h>
41155 #endif
41156
41157 #undef $ac_func
41158
41159 /* Override any gcc2 internal prototype to avoid an error. */
41160 #ifdef __cplusplus
41161 extern "C"
41162 {
41163 #endif
41164 /* We use char because int might match the return type of a gcc2
41165 builtin and then its argument prototype would still apply. */
41166 char $ac_func ();
41167 /* The GNU C library defines this for functions which it implements
41168 to always fail with ENOSYS. Some functions are actually named
41169 something starting with __ and the normal name is an alias. */
41170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41171 choke me
41172 #else
41173 char (*f) () = $ac_func;
41174 #endif
41175 #ifdef __cplusplus
41176 }
41177 #endif
41178
41179 int
41180 main ()
41181 {
41182 return f != $ac_func;
41183 ;
41184 return 0;
41185 }
41186 _ACEOF
41187 rm -f conftest.$ac_objext conftest$ac_exeext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41189 (eval $ac_link) 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41199 ac_status=$?
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try='test -s conftest$ac_exeext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41205 ac_status=$?
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 eval "$as_ac_var=yes"
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41212
41213 eval "$as_ac_var=no"
41214 fi
41215 rm -f conftest.err conftest.$ac_objext \
41216 conftest$ac_exeext conftest.$ac_ext
41217 fi
41218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41220 if test `eval echo '${'$as_ac_var'}'` = yes; then
41221 cat >>confdefs.h <<_ACEOF
41222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41223 _ACEOF
41224 have_floor=1
41225 fi
41226 done
41227
41228 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41229 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41230 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41231 echo "$as_me:$LINENO: result: yes" >&5
41232 echo "${ECHO_T}yes" >&6
41233 else
41234 echo "$as_me:$LINENO: result: no" >&5
41235 echo "${ECHO_T}no" >&6
41236 LIBS="$LIBS -lm"
41237 # use different functions to avoid configure caching
41238 have_sin=0
41239 have_ceil=0
41240
41241 for ac_func in sin
41242 do
41243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41244 echo "$as_me:$LINENO: checking for $ac_func" >&5
41245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41246 if eval "test \"\${$as_ac_var+set}\" = set"; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41249 cat >conftest.$ac_ext <<_ACEOF
41250 /* confdefs.h. */
41251 _ACEOF
41252 cat confdefs.h >>conftest.$ac_ext
41253 cat >>conftest.$ac_ext <<_ACEOF
41254 /* end confdefs.h. */
41255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41257 #define $ac_func innocuous_$ac_func
41258
41259 /* System header to define __stub macros and hopefully few prototypes,
41260 which can conflict with char $ac_func (); below.
41261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41262 <limits.h> exists even on freestanding compilers. */
41263
41264 #ifdef __STDC__
41265 # include <limits.h>
41266 #else
41267 # include <assert.h>
41268 #endif
41269
41270 #undef $ac_func
41271
41272 /* Override any gcc2 internal prototype to avoid an error. */
41273 #ifdef __cplusplus
41274 extern "C"
41275 {
41276 #endif
41277 /* We use char because int might match the return type of a gcc2
41278 builtin and then its argument prototype would still apply. */
41279 char $ac_func ();
41280 /* The GNU C library defines this for functions which it implements
41281 to always fail with ENOSYS. Some functions are actually named
41282 something starting with __ and the normal name is an alias. */
41283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41284 choke me
41285 #else
41286 char (*f) () = $ac_func;
41287 #endif
41288 #ifdef __cplusplus
41289 }
41290 #endif
41291
41292 int
41293 main ()
41294 {
41295 return f != $ac_func;
41296 ;
41297 return 0;
41298 }
41299 _ACEOF
41300 rm -f conftest.$ac_objext conftest$ac_exeext
41301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41302 (eval $ac_link) 2>conftest.er1
41303 ac_status=$?
41304 grep -v '^ *+' conftest.er1 >conftest.err
41305 rm -f conftest.er1
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } &&
41309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311 (eval $ac_try) 2>&5
41312 ac_status=$?
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); }; } &&
41315 { ac_try='test -s conftest$ac_exeext'
41316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41317 (eval $ac_try) 2>&5
41318 ac_status=$?
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); }; }; then
41321 eval "$as_ac_var=yes"
41322 else
41323 echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41325
41326 eval "$as_ac_var=no"
41327 fi
41328 rm -f conftest.err conftest.$ac_objext \
41329 conftest$ac_exeext conftest.$ac_ext
41330 fi
41331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41333 if test `eval echo '${'$as_ac_var'}'` = yes; then
41334 cat >>confdefs.h <<_ACEOF
41335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41336 _ACEOF
41337 have_sin=1
41338 fi
41339 done
41340
41341
41342 for ac_func in ceil
41343 do
41344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41345 echo "$as_me:$LINENO: checking for $ac_func" >&5
41346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41347 if eval "test \"\${$as_ac_var+set}\" = set"; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350 cat >conftest.$ac_ext <<_ACEOF
41351 /* confdefs.h. */
41352 _ACEOF
41353 cat confdefs.h >>conftest.$ac_ext
41354 cat >>conftest.$ac_ext <<_ACEOF
41355 /* end confdefs.h. */
41356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41358 #define $ac_func innocuous_$ac_func
41359
41360 /* System header to define __stub macros and hopefully few prototypes,
41361 which can conflict with char $ac_func (); below.
41362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41363 <limits.h> exists even on freestanding compilers. */
41364
41365 #ifdef __STDC__
41366 # include <limits.h>
41367 #else
41368 # include <assert.h>
41369 #endif
41370
41371 #undef $ac_func
41372
41373 /* Override any gcc2 internal prototype to avoid an error. */
41374 #ifdef __cplusplus
41375 extern "C"
41376 {
41377 #endif
41378 /* We use char because int might match the return type of a gcc2
41379 builtin and then its argument prototype would still apply. */
41380 char $ac_func ();
41381 /* The GNU C library defines this for functions which it implements
41382 to always fail with ENOSYS. Some functions are actually named
41383 something starting with __ and the normal name is an alias. */
41384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41385 choke me
41386 #else
41387 char (*f) () = $ac_func;
41388 #endif
41389 #ifdef __cplusplus
41390 }
41391 #endif
41392
41393 int
41394 main ()
41395 {
41396 return f != $ac_func;
41397 ;
41398 return 0;
41399 }
41400 _ACEOF
41401 rm -f conftest.$ac_objext conftest$ac_exeext
41402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41403 (eval $ac_link) 2>conftest.er1
41404 ac_status=$?
41405 grep -v '^ *+' conftest.er1 >conftest.err
41406 rm -f conftest.er1
41407 cat conftest.err >&5
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); } &&
41410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41412 (eval $ac_try) 2>&5
41413 ac_status=$?
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); }; } &&
41416 { ac_try='test -s conftest$ac_exeext'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41419 ac_status=$?
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; }; then
41422 eval "$as_ac_var=yes"
41423 else
41424 echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.$ac_ext >&5
41426
41427 eval "$as_ac_var=no"
41428 fi
41429 rm -f conftest.err conftest.$ac_objext \
41430 conftest$ac_exeext conftest.$ac_ext
41431 fi
41432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41434 if test `eval echo '${'$as_ac_var'}'` = yes; then
41435 cat >>confdefs.h <<_ACEOF
41436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41437 _ACEOF
41438 have_ceil=1
41439 fi
41440 done
41441
41442 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41443 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41444 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41445 echo "$as_me:$LINENO: result: yes" >&5
41446 echo "${ECHO_T}yes" >&6
41447 else
41448 echo "$as_me:$LINENO: result: no" >&5
41449 echo "${ECHO_T}no" >&6
41450 # not sure we should warn the user, crash, etc.
41451 fi
41452 fi
41453
41454 if test "$wxUSE_GUI" = "yes"; then
41455
41456
41457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41458 dynamic erase event exec font image minimal mobile \
41459 mobile/wxedit mobile/styles propsize render \
41460 richedit rotate shaped vscroll widgets"
41461
41462 if test "$wxUSE_MONOLITHIC" != "yes"; then
41463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41464 fi
41465 if test "$TOOLKIT" = "MSW"; then
41466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41467 if test "$wxUSE_UNIVERSAL" != "yes"; then
41468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41469 fi
41470 fi
41471 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41473 fi
41474 else
41475 SAMPLES_SUBDIRS="console"
41476 fi
41477
41478
41479 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41480 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41481
41482 if test "$GXX" = yes ; then
41483 CWARNINGS="-Wall -Wundef"
41484 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41485 fi
41486
41487 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41488
41489 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41490 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41491 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41492
41493 if test "x$MWCC" = "xyes"; then
41494
41495 CC="$CC -cwd source -I-"
41496 CXX="$CXX -cwd source -I-"
41497 fi
41498
41499
41500 LIBS=`echo $LIBS`
41501 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41502 EXTRALIBS_XML="$EXPAT_LINK"
41503 EXTRALIBS_HTML="$MSPACK_LINK"
41504 EXTRALIBS_ODBC="$ODBC_LINK"
41505 if test "$wxUSE_GUI" = "yes"; then
41506 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41507 fi
41508 if test "$wxUSE_OPENGL" = "yes"; then
41509 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41510 fi
41511
41512 LDFLAGS="$LDFLAGS $PROFILE"
41513
41514 if test "$wxUSE_GTK" = 1; then
41515 WXCONFIG_INCLUDE=
41516 else
41517 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41518 fi
41519
41520 WXCONFIG_EXTRALIBS="$LIBS"
41521
41522 if test "$wxUSE_REGEX" = "builtin" ; then
41523 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41524 fi
41525 if test "$wxUSE_EXPAT" = "builtin" ; then
41526 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41527 fi
41528 if test "$wxUSE_ODBC" = "builtin" ; then
41529 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41530 fi
41531 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41532 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41533 fi
41534 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41535 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41536 fi
41537 if test "$wxUSE_LIBPNG" = "builtin" ; then
41538 wxconfig_3rdparty="png $wxconfig_3rdparty"
41539 fi
41540 if test "$wxUSE_ZLIB" = "builtin" ; then
41541 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41542 fi
41543
41544 for i in $wxconfig_3rdparty ; do
41545 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41546 done
41547
41548
41549 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41550 WXUNIV=1
41551 else
41552 WXUNIV=0
41553 fi
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563 if test $wxUSE_MONOLITHIC = "yes" ; then
41564 MONOLITHIC=1
41565 else
41566 MONOLITHIC=0
41567 fi
41568
41569 if test $wxUSE_PLUGINS = "yes" ; then
41570 USE_PLUGINS=1
41571 else
41572 USE_PLUGINS=0
41573 fi
41574
41575 if test $wxUSE_ODBC != "no" ; then
41576 USE_ODBC=1
41577 else
41578 USE_ODBC=0
41579 fi
41580
41581 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41582 USE_QA=1
41583 else
41584 USE_QA=0
41585 fi
41586
41587 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41588 OFFICIAL_BUILD=1
41589 else
41590 OFFICIAL_BUILD=0
41591 fi
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41616
41617
41618
41619
41620
41621
41622
41623
41624 case "$TOOLKIT" in
41625 GTK)
41626 TOOLKIT_USER="GTK+"
41627 if test "$WXGTK20" = 1; then
41628 TOOLKIT_USER="$TOOLKIT_USER 2"
41629 fi
41630 ;;
41631
41632 *)
41633 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41634 ;;
41635 esac
41636
41637 if test "$wxUSE_WINE" = "yes"; then
41638 BAKEFILE_FORCE_PLATFORM=win32
41639 fi
41640
41641
41642
41643
41644 if test "x$BAKEFILE_HOST" = "x"; then
41645 BAKEFILE_HOST="${host}"
41646 fi
41647
41648 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41649
41650 if test -n "$ac_tool_prefix"; then
41651 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41652 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41653 echo "$as_me:$LINENO: checking for $ac_word" >&5
41654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41655 if test "${ac_cv_prog_RANLIB+set}" = set; then
41656 echo $ECHO_N "(cached) $ECHO_C" >&6
41657 else
41658 if test -n "$RANLIB"; then
41659 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41660 else
41661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41662 for as_dir in $PATH
41663 do
41664 IFS=$as_save_IFS
41665 test -z "$as_dir" && as_dir=.
41666 for ac_exec_ext in '' $ac_executable_extensions; do
41667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41668 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41670 break 2
41671 fi
41672 done
41673 done
41674
41675 fi
41676 fi
41677 RANLIB=$ac_cv_prog_RANLIB
41678 if test -n "$RANLIB"; then
41679 echo "$as_me:$LINENO: result: $RANLIB" >&5
41680 echo "${ECHO_T}$RANLIB" >&6
41681 else
41682 echo "$as_me:$LINENO: result: no" >&5
41683 echo "${ECHO_T}no" >&6
41684 fi
41685
41686 fi
41687 if test -z "$ac_cv_prog_RANLIB"; then
41688 ac_ct_RANLIB=$RANLIB
41689 # Extract the first word of "ranlib", so it can be a program name with args.
41690 set dummy ranlib; ac_word=$2
41691 echo "$as_me:$LINENO: checking for $ac_word" >&5
41692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41693 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41694 echo $ECHO_N "(cached) $ECHO_C" >&6
41695 else
41696 if test -n "$ac_ct_RANLIB"; then
41697 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41698 else
41699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41700 for as_dir in $PATH
41701 do
41702 IFS=$as_save_IFS
41703 test -z "$as_dir" && as_dir=.
41704 for ac_exec_ext in '' $ac_executable_extensions; do
41705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41706 ac_cv_prog_ac_ct_RANLIB="ranlib"
41707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41708 break 2
41709 fi
41710 done
41711 done
41712
41713 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41714 fi
41715 fi
41716 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41717 if test -n "$ac_ct_RANLIB"; then
41718 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41719 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41720 else
41721 echo "$as_me:$LINENO: result: no" >&5
41722 echo "${ECHO_T}no" >&6
41723 fi
41724
41725 RANLIB=$ac_ct_RANLIB
41726 else
41727 RANLIB="$ac_cv_prog_RANLIB"
41728 fi
41729
41730 # Find a good install program. We prefer a C program (faster),
41731 # so one script is as good as another. But avoid the broken or
41732 # incompatible versions:
41733 # SysV /etc/install, /usr/sbin/install
41734 # SunOS /usr/etc/install
41735 # IRIX /sbin/install
41736 # AIX /bin/install
41737 # AmigaOS /C/install, which installs bootblocks on floppy discs
41738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41741 # OS/2's system install, which has a completely different semantic
41742 # ./install, which can be erroneously created by make from ./install.sh.
41743 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41744 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41745 if test -z "$INSTALL"; then
41746 if test "${ac_cv_path_install+set}" = set; then
41747 echo $ECHO_N "(cached) $ECHO_C" >&6
41748 else
41749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41750 for as_dir in $PATH
41751 do
41752 IFS=$as_save_IFS
41753 test -z "$as_dir" && as_dir=.
41754 # Account for people who put trailing slashes in PATH elements.
41755 case $as_dir/ in
41756 ./ | .// | /cC/* | \
41757 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41758 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41759 /usr/ucb/* ) ;;
41760 *)
41761 # OSF1 and SCO ODT 3.0 have their own names for install.
41762 # Don't use installbsd from OSF since it installs stuff as root
41763 # by default.
41764 for ac_prog in ginstall scoinst install; do
41765 for ac_exec_ext in '' $ac_executable_extensions; do
41766 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41767 if test $ac_prog = install &&
41768 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41769 # AIX install. It has an incompatible calling convention.
41770 :
41771 elif test $ac_prog = install &&
41772 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41773 # program-specific install script used by HP pwplus--don't use.
41774 :
41775 else
41776 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41777 break 3
41778 fi
41779 fi
41780 done
41781 done
41782 ;;
41783 esac
41784 done
41785
41786
41787 fi
41788 if test "${ac_cv_path_install+set}" = set; then
41789 INSTALL=$ac_cv_path_install
41790 else
41791 # As a last resort, use the slow shell script. We don't cache a
41792 # path for INSTALL within a source directory, because that will
41793 # break other packages using the cache if that directory is
41794 # removed, or if the path is relative.
41795 INSTALL=$ac_install_sh
41796 fi
41797 fi
41798 echo "$as_me:$LINENO: result: $INSTALL" >&5
41799 echo "${ECHO_T}$INSTALL" >&6
41800
41801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41802 # It thinks the first close brace ends the variable substitution.
41803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41804
41805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41806
41807 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41808
41809 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41810 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41811 LN_S=$as_ln_s
41812 if test "$LN_S" = "ln -s"; then
41813 echo "$as_me:$LINENO: result: yes" >&5
41814 echo "${ECHO_T}yes" >&6
41815 else
41816 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41817 echo "${ECHO_T}no, using $LN_S" >&6
41818 fi
41819
41820
41821 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41822 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41823 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41824 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41825 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 else
41827 cat >conftest.make <<\_ACEOF
41828 all:
41829 @echo 'ac_maketemp="$(MAKE)"'
41830 _ACEOF
41831 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41832 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41833 if test -n "$ac_maketemp"; then
41834 eval ac_cv_prog_make_${ac_make}_set=yes
41835 else
41836 eval ac_cv_prog_make_${ac_make}_set=no
41837 fi
41838 rm -f conftest.make
41839 fi
41840 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41841 echo "$as_me:$LINENO: result: yes" >&5
41842 echo "${ECHO_T}yes" >&6
41843 SET_MAKE=
41844 else
41845 echo "$as_me:$LINENO: result: no" >&5
41846 echo "${ECHO_T}no" >&6
41847 SET_MAKE="MAKE=${MAKE-make}"
41848 fi
41849
41850
41851
41852 if test -n "$ac_tool_prefix"; then
41853 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41854 set dummy ${ac_tool_prefix}ar; ac_word=$2
41855 echo "$as_me:$LINENO: checking for $ac_word" >&5
41856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41857 if test "${ac_cv_prog_AR+set}" = set; then
41858 echo $ECHO_N "(cached) $ECHO_C" >&6
41859 else
41860 if test -n "$AR"; then
41861 ac_cv_prog_AR="$AR" # Let the user override the test.
41862 else
41863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41864 for as_dir in $PATH
41865 do
41866 IFS=$as_save_IFS
41867 test -z "$as_dir" && as_dir=.
41868 for ac_exec_ext in '' $ac_executable_extensions; do
41869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41870 ac_cv_prog_AR="${ac_tool_prefix}ar"
41871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41872 break 2
41873 fi
41874 done
41875 done
41876
41877 fi
41878 fi
41879 AR=$ac_cv_prog_AR
41880 if test -n "$AR"; then
41881 echo "$as_me:$LINENO: result: $AR" >&5
41882 echo "${ECHO_T}$AR" >&6
41883 else
41884 echo "$as_me:$LINENO: result: no" >&5
41885 echo "${ECHO_T}no" >&6
41886 fi
41887
41888 fi
41889 if test -z "$ac_cv_prog_AR"; then
41890 ac_ct_AR=$AR
41891 # Extract the first word of "ar", so it can be a program name with args.
41892 set dummy ar; ac_word=$2
41893 echo "$as_me:$LINENO: checking for $ac_word" >&5
41894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41895 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41896 echo $ECHO_N "(cached) $ECHO_C" >&6
41897 else
41898 if test -n "$ac_ct_AR"; then
41899 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41900 else
41901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41902 for as_dir in $PATH
41903 do
41904 IFS=$as_save_IFS
41905 test -z "$as_dir" && as_dir=.
41906 for ac_exec_ext in '' $ac_executable_extensions; do
41907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41908 ac_cv_prog_ac_ct_AR="ar"
41909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41910 break 2
41911 fi
41912 done
41913 done
41914
41915 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41916 fi
41917 fi
41918 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41919 if test -n "$ac_ct_AR"; then
41920 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41921 echo "${ECHO_T}$ac_ct_AR" >&6
41922 else
41923 echo "$as_me:$LINENO: result: no" >&5
41924 echo "${ECHO_T}no" >&6
41925 fi
41926
41927 AR=$ac_ct_AR
41928 else
41929 AR="$ac_cv_prog_AR"
41930 fi
41931
41932 if test -n "$ac_tool_prefix"; then
41933 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41934 set dummy ${ac_tool_prefix}strip; ac_word=$2
41935 echo "$as_me:$LINENO: checking for $ac_word" >&5
41936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41937 if test "${ac_cv_prog_STRIP+set}" = set; then
41938 echo $ECHO_N "(cached) $ECHO_C" >&6
41939 else
41940 if test -n "$STRIP"; then
41941 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41942 else
41943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41944 for as_dir in $PATH
41945 do
41946 IFS=$as_save_IFS
41947 test -z "$as_dir" && as_dir=.
41948 for ac_exec_ext in '' $ac_executable_extensions; do
41949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41950 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41952 break 2
41953 fi
41954 done
41955 done
41956
41957 fi
41958 fi
41959 STRIP=$ac_cv_prog_STRIP
41960 if test -n "$STRIP"; then
41961 echo "$as_me:$LINENO: result: $STRIP" >&5
41962 echo "${ECHO_T}$STRIP" >&6
41963 else
41964 echo "$as_me:$LINENO: result: no" >&5
41965 echo "${ECHO_T}no" >&6
41966 fi
41967
41968 fi
41969 if test -z "$ac_cv_prog_STRIP"; then
41970 ac_ct_STRIP=$STRIP
41971 # Extract the first word of "strip", so it can be a program name with args.
41972 set dummy strip; ac_word=$2
41973 echo "$as_me:$LINENO: checking for $ac_word" >&5
41974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41975 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 else
41978 if test -n "$ac_ct_STRIP"; then
41979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41980 else
41981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41982 for as_dir in $PATH
41983 do
41984 IFS=$as_save_IFS
41985 test -z "$as_dir" && as_dir=.
41986 for ac_exec_ext in '' $ac_executable_extensions; do
41987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41988 ac_cv_prog_ac_ct_STRIP="strip"
41989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41990 break 2
41991 fi
41992 done
41993 done
41994
41995 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41996 fi
41997 fi
41998 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41999 if test -n "$ac_ct_STRIP"; then
42000 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42001 echo "${ECHO_T}$ac_ct_STRIP" >&6
42002 else
42003 echo "$as_me:$LINENO: result: no" >&5
42004 echo "${ECHO_T}no" >&6
42005 fi
42006
42007 STRIP=$ac_ct_STRIP
42008 else
42009 STRIP="$ac_cv_prog_STRIP"
42010 fi
42011
42012 if test -n "$ac_tool_prefix"; then
42013 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42014 set dummy ${ac_tool_prefix}nm; ac_word=$2
42015 echo "$as_me:$LINENO: checking for $ac_word" >&5
42016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42017 if test "${ac_cv_prog_NM+set}" = set; then
42018 echo $ECHO_N "(cached) $ECHO_C" >&6
42019 else
42020 if test -n "$NM"; then
42021 ac_cv_prog_NM="$NM" # Let the user override the test.
42022 else
42023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42024 for as_dir in $PATH
42025 do
42026 IFS=$as_save_IFS
42027 test -z "$as_dir" && as_dir=.
42028 for ac_exec_ext in '' $ac_executable_extensions; do
42029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42030 ac_cv_prog_NM="${ac_tool_prefix}nm"
42031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42032 break 2
42033 fi
42034 done
42035 done
42036
42037 fi
42038 fi
42039 NM=$ac_cv_prog_NM
42040 if test -n "$NM"; then
42041 echo "$as_me:$LINENO: result: $NM" >&5
42042 echo "${ECHO_T}$NM" >&6
42043 else
42044 echo "$as_me:$LINENO: result: no" >&5
42045 echo "${ECHO_T}no" >&6
42046 fi
42047
42048 fi
42049 if test -z "$ac_cv_prog_NM"; then
42050 ac_ct_NM=$NM
42051 # Extract the first word of "nm", so it can be a program name with args.
42052 set dummy nm; ac_word=$2
42053 echo "$as_me:$LINENO: checking for $ac_word" >&5
42054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42055 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42056 echo $ECHO_N "(cached) $ECHO_C" >&6
42057 else
42058 if test -n "$ac_ct_NM"; then
42059 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
42060 else
42061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42062 for as_dir in $PATH
42063 do
42064 IFS=$as_save_IFS
42065 test -z "$as_dir" && as_dir=.
42066 for ac_exec_ext in '' $ac_executable_extensions; do
42067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42068 ac_cv_prog_ac_ct_NM="nm"
42069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42070 break 2
42071 fi
42072 done
42073 done
42074
42075 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
42076 fi
42077 fi
42078 ac_ct_NM=$ac_cv_prog_ac_ct_NM
42079 if test -n "$ac_ct_NM"; then
42080 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42081 echo "${ECHO_T}$ac_ct_NM" >&6
42082 else
42083 echo "$as_me:$LINENO: result: no" >&5
42084 echo "${ECHO_T}no" >&6
42085 fi
42086
42087 NM=$ac_ct_NM
42088 else
42089 NM="$ac_cv_prog_NM"
42090 fi
42091
42092
42093 case ${BAKEFILE_HOST} in
42094 *-hp-hpux* )
42095 INSTALL_DIR="mkdir -p"
42096 ;;
42097 *) INSTALL_DIR="$INSTALL -d"
42098 ;;
42099 esac
42100
42101
42102 LDFLAGS_GUI=
42103 case ${BAKEFILE_HOST} in
42104 *-*-cygwin* | *-*-mingw32* )
42105 LDFLAGS_GUI="-mwindows"
42106 esac
42107
42108
42109 fi
42110
42111 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42112 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42113 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42114 echo $ECHO_N "(cached) $ECHO_C" >&6
42115 else
42116
42117 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
42118 egrep -s GNU > /dev/null); then
42119 bakefile_cv_prog_makeisgnu="yes"
42120 else
42121 bakefile_cv_prog_makeisgnu="no"
42122 fi
42123
42124 fi
42125 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42126 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42127
42128 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42129 IF_GNU_MAKE=""
42130 else
42131 IF_GNU_MAKE="#"
42132 fi
42133
42134
42135
42136 PLATFORM_UNIX=0
42137 PLATFORM_WIN32=0
42138 PLATFORM_MSDOS=0
42139 PLATFORM_MAC=0
42140 PLATFORM_MACOS=0
42141 PLATFORM_MACOSX=0
42142 PLATFORM_OS2=0
42143 PLATFORM_BEOS=0
42144
42145 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42146 case "${BAKEFILE_HOST}" in
42147 *-*-mingw32* )
42148 PLATFORM_WIN32=1
42149 ;;
42150 *-pc-msdosdjgpp )
42151 PLATFORM_MSDOS=1
42152 ;;
42153 *-pc-os2_emx | *-pc-os2-emx )
42154 PLATFORM_OS2=1
42155 ;;
42156 powerpc-*-darwin* )
42157 PLATFORM_MAC=1
42158 PLATFORM_MACOSX=1
42159 ;;
42160 *-*-beos* )
42161 PLATFORM_BEOS=1
42162 ;;
42163 powerpc-apple-macos* )
42164 PLATFORM_MAC=1
42165 PLATFORM_MACOS=1
42166 ;;
42167 * )
42168 PLATFORM_UNIX=1
42169 ;;
42170 esac
42171 else
42172 case "$BAKEFILE_FORCE_PLATFORM" in
42173 win32 )
42174 PLATFORM_WIN32=1
42175 ;;
42176 msdos )
42177 PLATFORM_MSDOS=1
42178 ;;
42179 os2 )
42180 PLATFORM_OS2=1
42181 ;;
42182 darwin )
42183 PLATFORM_MAC=1
42184 PLATFORM_MACOSX=1
42185 ;;
42186 unix )
42187 PLATFORM_UNIX=1
42188 ;;
42189 beos )
42190 PLATFORM_BEOS=1
42191 ;;
42192 * )
42193 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42194 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42195 { (exit 1); exit 1; }; }
42196 ;;
42197 esac
42198 fi
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210 # Check whether --enable-omf or --disable-omf was given.
42211 if test "${enable_omf+set}" = set; then
42212 enableval="$enable_omf"
42213 bk_os2_use_omf="$enableval"
42214 fi;
42215
42216 case "${BAKEFILE_HOST}" in
42217 *-*-darwin* )
42218 CFLAGS="$CFLAGS -fno-common"
42219 CXXFLAGS="$CXXFLAGS -fno-common"
42220 ;;
42221
42222 *-pc-os2_emx | *-pc-os2-emx )
42223 if test "x$bk_os2_use_omf" = "xyes" ; then
42224 AR=emxomfar
42225 RANLIB=:
42226 LDFLAGS="-Zomf $LDFLAGS"
42227 CFLAGS="-Zomf $CFLAGS"
42228 CXXFLAGS="-Zomf $CXXFLAGS"
42229 OS2_LIBEXT="lib"
42230 else
42231 OS2_LIBEXT="a"
42232 fi
42233 ;;
42234
42235 i*86-*-beos* )
42236 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
42237 ;;
42238 esac
42239
42240
42241 SO_SUFFIX="so"
42242 SO_SUFFIX_MODULE="so"
42243 EXEEXT=""
42244 LIBPREFIX="lib"
42245 LIBEXT=".a"
42246 DLLPREFIX="lib"
42247 DLLPREFIX_MODULE=""
42248 DLLIMP_SUFFIX=""
42249 dlldir="$libdir"
42250
42251 case "${BAKEFILE_HOST}" in
42252 *-hp-hpux* )
42253 SO_SUFFIX="sl"
42254 SO_SUFFIX_MODULE="sl"
42255 ;;
42256 *-*-aix* )
42257 SO_SUFFIX="a"
42258 SO_SUFFIX_MODULE="a"
42259 ;;
42260 *-*-cygwin* )
42261 SO_SUFFIX="dll"
42262 SO_SUFFIX_MODULE="dll"
42263 DLLIMP_SUFFIX="dll.a"
42264 EXEEXT=".exe"
42265 DLLPREFIX="cyg"
42266 dlldir="$bindir"
42267 ;;
42268 *-*-mingw32* )
42269 SO_SUFFIX="dll"
42270 SO_SUFFIX_MODULE="dll"
42271 DLLIMP_SUFFIX="dll.a"
42272 EXEEXT=".exe"
42273 DLLPREFIX=""
42274 dlldir="$bindir"
42275 ;;
42276 *-pc-msdosdjgpp )
42277 EXEEXT=".exe"
42278 DLLPREFIX=""
42279 dlldir="$bindir"
42280 ;;
42281 *-pc-os2_emx | *-pc-os2-emx )
42282 SO_SUFFIX="dll"
42283 SO_SUFFIX_MODULE="dll"
42284 DLLIMP_SUFFIX=$OS2_LIBEXT
42285 EXEEXT=".exe"
42286 DLLPREFIX=""
42287 LIBPREFIX=""
42288 LIBEXT=".$OS2_LIBEXT"
42289 dlldir="$bindir"
42290 ;;
42291 powerpc-*-darwin* )
42292 SO_SUFFIX="dylib"
42293 SO_SUFFIX_MODULE="bundle"
42294 ;;
42295 esac
42296
42297 if test "x$DLLIMP_SUFFIX" = "x" ; then
42298 DLLIMP_SUFFIX="$SO_SUFFIX"
42299 fi
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312 PIC_FLAG=""
42313 if test "x$GCC" = "xyes"; then
42314 PIC_FLAG="-fPIC"
42315 fi
42316
42317 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
42318 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
42319 WINDOWS_IMPLIB=0
42320
42321 case "${BAKEFILE_HOST}" in
42322 *-hp-hpux* )
42323 if test "x$GCC" != "xyes"; then
42324 LDFLAGS="$LDFLAGS -L/usr/lib"
42325
42326 SHARED_LD_CC="${CC} -b -o"
42327 SHARED_LD_CXX="${CXX} -b -o"
42328 PIC_FLAG="+Z"
42329 fi
42330 ;;
42331
42332 *-*-linux* )
42333 if test "x$GCC" != "xyes"; then
42334 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42335 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42336 if test "${bakefile_cv_prog_icc+set}" = set; then
42337 echo $ECHO_N "(cached) $ECHO_C" >&6
42338 else
42339
42340 cat >conftest.$ac_ext <<_ACEOF
42341 /* confdefs.h. */
42342 _ACEOF
42343 cat confdefs.h >>conftest.$ac_ext
42344 cat >>conftest.$ac_ext <<_ACEOF
42345 /* end confdefs.h. */
42346
42347 int
42348 main ()
42349 {
42350
42351 #ifndef __INTEL_COMPILER
42352 #error Not icc
42353 #endif
42354
42355 ;
42356 return 0;
42357 }
42358 _ACEOF
42359 rm -f conftest.$ac_objext
42360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42361 (eval $ac_compile) 2>conftest.er1
42362 ac_status=$?
42363 grep -v '^ *+' conftest.er1 >conftest.err
42364 rm -f conftest.er1
42365 cat conftest.err >&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); } &&
42368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42370 (eval $ac_try) 2>&5
42371 ac_status=$?
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); }; } &&
42374 { ac_try='test -s conftest.$ac_objext'
42375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42376 (eval $ac_try) 2>&5
42377 ac_status=$?
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); }; }; then
42380 bakefile_cv_prog_icc=yes
42381 else
42382 echo "$as_me: failed program was:" >&5
42383 sed 's/^/| /' conftest.$ac_ext >&5
42384
42385 bakefile_cv_prog_icc=no
42386
42387 fi
42388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42389
42390 fi
42391 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42392 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42393 if test "$bakefile_cv_prog_icc" = "yes"; then
42394 PIC_FLAG="-KPIC"
42395 fi
42396 fi
42397 ;;
42398
42399 *-*-solaris2* )
42400 if test "x$GCC" != xyes ; then
42401 SHARED_LD_CC="${CC} -G -o"
42402 SHARED_LD_CXX="${CXX} -G -o"
42403 PIC_FLAG="-KPIC"
42404 fi
42405 ;;
42406
42407 *-*-darwin* )
42408
42409 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42410 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42411 if test "${wx_cv_gcc31+set}" = set; then
42412 echo $ECHO_N "(cached) $ECHO_C" >&6
42413 else
42414
42415 cat >conftest.$ac_ext <<_ACEOF
42416 /* confdefs.h. */
42417 _ACEOF
42418 cat confdefs.h >>conftest.$ac_ext
42419 cat >>conftest.$ac_ext <<_ACEOF
42420 /* end confdefs.h. */
42421
42422 int
42423 main ()
42424 {
42425
42426 #if (__GNUC__ < 3) || \
42427 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42428 #error old gcc
42429 #endif
42430
42431 ;
42432 return 0;
42433 }
42434 _ACEOF
42435 rm -f conftest.$ac_objext
42436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42437 (eval $ac_compile) 2>conftest.er1
42438 ac_status=$?
42439 grep -v '^ *+' conftest.er1 >conftest.err
42440 rm -f conftest.er1
42441 cat conftest.err >&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); } &&
42444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42446 (eval $ac_try) 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; } &&
42450 { ac_try='test -s conftest.$ac_objext'
42451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42452 (eval $ac_try) 2>&5
42453 ac_status=$?
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); }; }; then
42456
42457 wx_cv_gcc31=yes
42458
42459 else
42460 echo "$as_me: failed program was:" >&5
42461 sed 's/^/| /' conftest.$ac_ext >&5
42462
42463
42464 wx_cv_gcc31=no
42465
42466
42467 fi
42468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42469
42470 fi
42471 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42472 echo "${ECHO_T}$wx_cv_gcc31" >&6
42473 if test "$wx_cv_gcc31" = "no"; then
42474
42475 D='$'
42476 cat <<EOF >shared-ld-sh
42477 #!/bin/sh
42478 #-----------------------------------------------------------------------------
42479 #-- Name: distrib/mac/shared-ld-sh
42480 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42481 #-- Author: Gilles Depeyrot
42482 #-- Copyright: (c) 2002 Gilles Depeyrot
42483 #-- Licence: any use permitted
42484 #-----------------------------------------------------------------------------
42485
42486 verbose=0
42487 args=""
42488 objects=""
42489 linking_flag="-dynamiclib"
42490 ldargs="-r -keep_private_externs -nostdlib"
42491
42492 while test ${D}# -gt 0; do
42493 case ${D}1 in
42494
42495 -v)
42496 verbose=1
42497 ;;
42498
42499 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42500 # collect these options and values
42501 args="${D}{args} ${D}1 ${D}2"
42502 shift
42503 ;;
42504
42505 -s|-Wl,*)
42506 # collect these load args
42507 ldargs="${D}{ldargs} ${D}1"
42508 ;;
42509
42510 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42511 # collect these options
42512 args="${D}{args} ${D}1"
42513 ;;
42514
42515 -dynamiclib|-bundle)
42516 linking_flag="${D}1"
42517 ;;
42518
42519 -*)
42520 echo "shared-ld: unhandled option '${D}1'"
42521 exit 1
42522 ;;
42523
42524 *.o | *.a | *.dylib)
42525 # collect object files
42526 objects="${D}{objects} ${D}1"
42527 ;;
42528
42529 *)
42530 echo "shared-ld: unhandled argument '${D}1'"
42531 exit 1
42532 ;;
42533
42534 esac
42535 shift
42536 done
42537
42538 status=0
42539
42540 #
42541 # Link one module containing all the others
42542 #
42543 if test ${D}{verbose} = 1; then
42544 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42545 fi
42546 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42547 status=${D}?
42548
42549 #
42550 # Link the shared library from the single module created, but only if the
42551 # previous command didn't fail:
42552 #
42553 if test ${D}{status} = 0; then
42554 if test ${D}{verbose} = 1; then
42555 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42556 fi
42557 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42558 status=${D}?
42559 fi
42560
42561 #
42562 # Remove intermediate module
42563 #
42564 rm -f master.${D}${D}.o
42565
42566 exit ${D}status
42567 EOF
42568
42569 chmod +x shared-ld-sh
42570
42571 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42572 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42573 SHARED_LD_CXX="$SHARED_LD_CC"
42574 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42575 else
42576 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42577 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42578 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42579 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42580 fi
42581
42582 PIC_FLAG="-dynamic -fPIC"
42583 ;;
42584
42585 *-*-aix* )
42586 if test "x$GCC" != "xyes"; then
42587 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42588 set dummy makeC++SharedLib; ac_word=$2
42589 echo "$as_me:$LINENO: checking for $ac_word" >&5
42590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42591 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42592 echo $ECHO_N "(cached) $ECHO_C" >&6
42593 else
42594 if test -n "$AIX_CXX_LD"; then
42595 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42596 else
42597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42598 for as_dir in $PATH
42599 do
42600 IFS=$as_save_IFS
42601 test -z "$as_dir" && as_dir=.
42602 for ac_exec_ext in '' $ac_executable_extensions; do
42603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42604 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42606 break 2
42607 fi
42608 done
42609 done
42610
42611 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42612 fi
42613 fi
42614 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42615 if test -n "$AIX_CXX_LD"; then
42616 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42617 echo "${ECHO_T}$AIX_CXX_LD" >&6
42618 else
42619 echo "$as_me:$LINENO: result: no" >&5
42620 echo "${ECHO_T}no" >&6
42621 fi
42622
42623 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42624 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42625 fi
42626 ;;
42627
42628 *-*-beos* )
42629 SHARED_LD_CC="${LD} -nostart -o"
42630 SHARED_LD_CXX="${LD} -nostart -o"
42631 ;;
42632
42633 *-*-irix* )
42634 if test "x$GCC" != "xyes"; then
42635 PIC_FLAG="-KPIC"
42636 fi
42637 ;;
42638
42639 *-*-cygwin* | *-*-mingw32* )
42640 PIC_FLAG=""
42641 SHARED_LD_CC="\$(CC) -shared -o"
42642 SHARED_LD_CXX="\$(CXX) -shared -o"
42643 WINDOWS_IMPLIB=1
42644 ;;
42645
42646 *-pc-os2_emx | *-pc-os2-emx )
42647 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42648 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42649 PIC_FLAG=""
42650
42651 D='$'
42652 cat <<EOF >dllar.sh
42653 #!/bin/sh
42654 #
42655 # dllar - a tool to build both a .dll and an .a file
42656 # from a set of object (.o) files for EMX/OS2.
42657 #
42658 # Written by Andrew Zabolotny, bit@freya.etu.ru
42659 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42660 #
42661 # This script will accept a set of files on the command line.
42662 # All the public symbols from the .o files will be exported into
42663 # a .DEF file, then linker will be run (through gcc) against them to
42664 # build a shared library consisting of all given .o files. All libraries
42665 # (.a) will be first decompressed into component .o files then act as
42666 # described above. You can optionally give a description (-d "description")
42667 # which will be put into .DLL. To see the list of accepted options (as well
42668 # as command-line format) simply run this program without options. The .DLL
42669 # is built to be imported by name (there is no guarantee that new versions
42670 # of the library you build will have same ordinals for same symbols).
42671 #
42672 # dllar is free software; you can redistribute it and/or modify
42673 # it under the terms of the GNU General Public License as published by
42674 # the Free Software Foundation; either version 2, or (at your option)
42675 # any later version.
42676 #
42677 # dllar is distributed in the hope that it will be useful,
42678 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42679 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42680 # GNU General Public License for more details.
42681 #
42682 # You should have received a copy of the GNU General Public License
42683 # along with dllar; see the file COPYING. If not, write to the Free
42684 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42685 # 02111-1307, USA.
42686
42687 # To successfuly run this program you will need:
42688 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42689 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42690 # - gcc
42691 # (used to build the .dll)
42692 # - emxexp
42693 # (used to create .def file from .o files)
42694 # - emximp
42695 # (used to create .a file from .def file)
42696 # - GNU text utilites (cat, sort, uniq)
42697 # used to process emxexp output
42698 # - GNU file utilities (mv, rm)
42699 # - GNU sed
42700 # - lxlite (optional, see flag below)
42701 # (used for general .dll cleanup)
42702 #
42703
42704 flag_USE_LXLITE=1;
42705
42706 #
42707 # helper functions
42708 # basnam, variant of basename, which does _not_ remove the path, _iff_
42709 # second argument (suffix to remove) is given
42710 basnam(){
42711 case ${D}# in
42712 1)
42713 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42714 ;;
42715 2)
42716 echo ${D}1 | sed 's/'${D}2'${D}//'
42717 ;;
42718 *)
42719 echo "error in basnam ${D}*"
42720 exit 8
42721 ;;
42722 esac
42723 }
42724
42725 # Cleanup temporary files and output
42726 CleanUp() {
42727 cd ${D}curDir
42728 for i in ${D}inputFiles ; do
42729 case ${D}i in
42730 *!)
42731 rm -rf \`basnam ${D}i !\`
42732 ;;
42733 *)
42734 ;;
42735 esac
42736 done
42737
42738 # Kill result in case of failure as there is just to many stupid make/nmake
42739 # things out there which doesn't do this.
42740 if [ ${D}# -eq 0 ]; then
42741 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42742 fi
42743 }
42744
42745 # Print usage and exit script with rc=1.
42746 PrintHelp() {
42747 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42748 echo ' [-name-mangler-script script.sh]'
42749 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42750 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42751 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42752 echo ' [*.o] [*.a]'
42753 echo '*> "output_file" should have no extension.'
42754 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42755 echo ' The import library name is derived from this and is set to "name".a,'
42756 echo ' unless overridden by -import'
42757 echo '*> "importlib_name" should have no extension.'
42758 echo ' If it has the .o, or .a extension, it is automatically removed.'
42759 echo ' This name is used as the import library name and may be longer and'
42760 echo ' more descriptive than the DLL name which has to follow the old '
42761 echo ' 8.3 convention of FAT.'
42762 echo '*> "script.sh may be given to override the output_file name by a'
42763 echo ' different name. It is mainly useful if the regular make process'
42764 echo ' of some package does not take into account OS/2 restriction of'
42765 echo ' DLL name lengths. It takes the importlib name as input and is'
42766 echo ' supposed to procude a shorter name as output. The script should'
42767 echo ' expect to get importlib_name without extension and should produce'
42768 echo ' a (max.) 8 letter name without extension.'
42769 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42770 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42771 echo ' These flags will be put at the start of GCC command line.'
42772 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42773 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42774 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42775 echo ' If the last character of a symbol is "*", all symbols beginning'
42776 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42777 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42778 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42779 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42780 echo ' C runtime DLLs.'
42781 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42782 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42783 echo ' unchanged to GCC at the end of command line.'
42784 echo '*> If you create a DLL from a library and you do not specify -o,'
42785 echo ' the basename for DLL and import library will be set to library name,'
42786 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42787 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42788 echo ' library will be renamed into gcc_s.a.'
42789 echo '--------'
42790 echo 'Example:'
42791 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42792 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42793 CleanUp
42794 exit 1
42795 }
42796
42797 # Execute a command.
42798 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42799 # @Uses Whatever CleanUp() uses.
42800 doCommand() {
42801 echo "${D}*"
42802 eval ${D}*
42803 rcCmd=${D}?
42804
42805 if [ ${D}rcCmd -ne 0 ]; then
42806 echo "command failed, exit code="${D}rcCmd
42807 CleanUp
42808 exit ${D}rcCmd
42809 fi
42810 }
42811
42812 # main routine
42813 # setup globals
42814 cmdLine=${D}*
42815 outFile=""
42816 outimpFile=""
42817 inputFiles=""
42818 renameScript=""
42819 description=""
42820 CC=gcc.exe
42821 CFLAGS="-s -Zcrtdll"
42822 EXTRA_CFLAGS=""
42823 EXPORT_BY_ORDINALS=0
42824 exclude_symbols=""
42825 library_flags=""
42826 curDir=\`pwd\`
42827 curDirS=curDir
42828 case ${D}curDirS in
42829 */)
42830 ;;
42831 *)
42832 curDirS=${D}{curDirS}"/"
42833 ;;
42834 esac
42835 # Parse commandline
42836 libsToLink=0
42837 omfLinking=0
42838 while [ ${D}1 ]; do
42839 case ${D}1 in
42840 -ord*)
42841 EXPORT_BY_ORDINALS=1;
42842 ;;
42843 -o*)
42844 shift
42845 outFile=${D}1
42846 ;;
42847 -i*)
42848 shift
42849 outimpFile=${D}1
42850 ;;
42851 -name-mangler-script)
42852 shift
42853 renameScript=${D}1
42854 ;;
42855 -d*)
42856 shift
42857 description=${D}1
42858 ;;
42859 -f*)
42860 shift
42861 CFLAGS=${D}1
42862 ;;
42863 -c*)
42864 shift
42865 CC=${D}1
42866 ;;
42867 -h*)
42868 PrintHelp
42869 ;;
42870 -ex*)
42871 shift
42872 exclude_symbols=${D}{exclude_symbols}${D}1" "
42873 ;;
42874 -libf*)
42875 shift
42876 library_flags=${D}{library_flags}${D}1" "
42877 ;;
42878 -nocrt*)
42879 CFLAGS="-s"
42880 ;;
42881 -nolxl*)
42882 flag_USE_LXLITE=0
42883 ;;
42884 -* | /*)
42885 case ${D}1 in
42886 -L* | -l*)
42887 libsToLink=1
42888 ;;
42889 -Zomf)
42890 omfLinking=1
42891 ;;
42892 *)
42893 ;;
42894 esac
42895 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42896 ;;
42897 *.dll)
42898 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42899 if [ ${D}omfLinking -eq 1 ]; then
42900 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42901 else
42902 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42903 fi
42904 ;;
42905 *)
42906 found=0;
42907 if [ ${D}libsToLink -ne 0 ]; then
42908 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42909 else
42910 for file in ${D}1 ; do
42911 if [ -f ${D}file ]; then
42912 inputFiles="${D}{inputFiles} ${D}file"
42913 found=1
42914 fi
42915 done
42916 if [ ${D}found -eq 0 ]; then
42917 echo "ERROR: No file(s) found: "${D}1
42918 exit 8
42919 fi
42920 fi
42921 ;;
42922 esac
42923 shift
42924 done # iterate cmdline words
42925
42926 #
42927 if [ -z "${D}inputFiles" ]; then
42928 echo "dllar: no input files"
42929 PrintHelp
42930 fi
42931
42932 # Now extract all .o files from .a files
42933 newInputFiles=""
42934 for file in ${D}inputFiles ; do
42935 case ${D}file in
42936 *.a | *.lib)
42937 case ${D}file in
42938 *.a)
42939 suffix=".a"
42940 AR="ar"
42941 ;;
42942 *.lib)
42943 suffix=".lib"
42944 AR="emxomfar"
42945 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42946 ;;
42947 *)
42948 ;;
42949 esac
42950 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42951 mkdir ${D}dirname
42952 if [ ${D}? -ne 0 ]; then
42953 echo "Failed to create subdirectory ./${D}dirname"
42954 CleanUp
42955 exit 8;
42956 fi
42957 # Append '!' to indicate archive
42958 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42959 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42960 cd ${D}curDir
42961 found=0;
42962 for subfile in ${D}dirname/*.o* ; do
42963 if [ -f ${D}subfile ]; then
42964 found=1
42965 if [ -s ${D}subfile ]; then
42966 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42967 newInputFiles="${D}newInputFiles ${D}subfile"
42968 fi
42969 fi
42970 done
42971 if [ ${D}found -eq 0 ]; then
42972 echo "WARNING: there are no files in archive \\'${D}file\\'"
42973 fi
42974 ;;
42975 *)
42976 newInputFiles="${D}{newInputFiles} ${D}file"
42977 ;;
42978 esac
42979 done
42980 inputFiles="${D}newInputFiles"
42981
42982 # Output filename(s).
42983 do_backup=0;
42984 if [ -z ${D}outFile ]; then
42985 do_backup=1;
42986 set outFile ${D}inputFiles; outFile=${D}2
42987 fi
42988
42989 # If it is an archive, remove the '!' and the '_%' suffixes
42990 case ${D}outFile in
42991 *_%!)
42992 outFile=\`basnam ${D}outFile _%!\`
42993 ;;
42994 *)
42995 ;;
42996 esac
42997 case ${D}outFile in
42998 *.dll)
42999 outFile=\`basnam ${D}outFile .dll\`
43000 ;;
43001 *.DLL)
43002 outFile=\`basnam ${D}outFile .DLL\`
43003 ;;
43004 *.o)
43005 outFile=\`basnam ${D}outFile .o\`
43006 ;;
43007 *.obj)
43008 outFile=\`basnam ${D}outFile .obj\`
43009 ;;
43010 *.a)
43011 outFile=\`basnam ${D}outFile .a\`
43012 ;;
43013 *.lib)
43014 outFile=\`basnam ${D}outFile .lib\`
43015 ;;
43016 *)
43017 ;;
43018 esac
43019 case ${D}outimpFile in
43020 *.a)
43021 outimpFile=\`basnam ${D}outimpFile .a\`
43022 ;;
43023 *.lib)
43024 outimpFile=\`basnam ${D}outimpFile .lib\`
43025 ;;
43026 *)
43027 ;;
43028 esac
43029 if [ -z ${D}outimpFile ]; then
43030 outimpFile=${D}outFile
43031 fi
43032 defFile="${D}{outFile}.def"
43033 arcFile="${D}{outimpFile}.a"
43034 arcFile2="${D}{outimpFile}.lib"
43035
43036 #create ${D}dllFile as something matching 8.3 restrictions,
43037 if [ -z ${D}renameScript ] ; then
43038 dllFile="${D}outFile"
43039 else
43040 dllFile=\`${D}renameScript ${D}outimpFile\`
43041 fi
43042
43043 if [ ${D}do_backup -ne 0 ] ; then
43044 if [ -f ${D}arcFile ] ; then
43045 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43046 fi
43047 if [ -f ${D}arcFile2 ] ; then
43048 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43049 fi
43050 fi
43051
43052 # Extract public symbols from all the object files.
43053 tmpdefFile=${D}{defFile}_%
43054 rm -f ${D}tmpdefFile
43055 for file in ${D}inputFiles ; do
43056 case ${D}file in
43057 *!)
43058 ;;
43059 *)
43060 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43061 ;;
43062 esac
43063 done
43064
43065 # Create the def file.
43066 rm -f ${D}defFile
43067 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43068 dllFile="${D}{dllFile}.dll"
43069 if [ ! -z ${D}description ]; then
43070 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43071 fi
43072 echo "EXPORTS" >> ${D}defFile
43073
43074 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43075 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43076
43077 # Checks if the export is ok or not.
43078 for word in ${D}exclude_symbols; do
43079 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43080 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43081 done
43082
43083
43084 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43085 sed "=" < ${D}tmpdefFile | \\
43086 sed '
43087 N
43088 : loop
43089 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43090 t loop
43091 ' > ${D}{tmpdefFile}%
43092 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43093 else
43094 rm -f ${D}{tmpdefFile}%
43095 fi
43096 cat ${D}tmpdefFile >> ${D}defFile
43097 rm -f ${D}tmpdefFile
43098
43099 # Do linking, create implib, and apply lxlite.
43100 gccCmdl="";
43101 for file in ${D}inputFiles ; do
43102 case ${D}file in
43103 *!)
43104 ;;
43105 *)
43106 gccCmdl="${D}gccCmdl ${D}file"
43107 ;;
43108 esac
43109 done
43110 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43111 touch "${D}{outFile}.dll"
43112
43113 doCommand "emximp -o ${D}arcFile ${D}defFile"
43114 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43115 add_flags="";
43116 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43117 add_flags="-ynd"
43118 fi
43119 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43120 fi
43121 doCommand "emxomf -s -l ${D}arcFile"
43122
43123 # Successful exit.
43124 CleanUp 1
43125 exit 0
43126 EOF
43127
43128 chmod +x dllar.sh
43129 ;;
43130
43131 powerpc-apple-macos* | \
43132 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43133 *-*-sunos4* | \
43134 *-*-osf* | \
43135 *-*-dgux5* | \
43136 *-*-sysv5* | \
43137 *-pc-msdosdjgpp )
43138 ;;
43139
43140 *)
43141 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43142 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43143 { (exit 1); exit 1; }; }
43144 esac
43145
43146 if test "x$PIC_FLAG" != "x" ; then
43147 PIC_FLAG="$PIC_FLAG -DPIC"
43148 fi
43149
43150 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43151 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
43152 fi
43153 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43154 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
43155 fi
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165 USE_SOVERSION=0
43166 USE_SOVERLINUX=0
43167 USE_SOVERSOLARIS=0
43168 USE_SOVERCYGWIN=0
43169 USE_SOSYMLINKS=0
43170 USE_MACVERSION=0
43171 SONAME_FLAG=
43172
43173 case "${BAKEFILE_HOST}" in
43174 *-*-linux* | *-*-freebsd* )
43175 SONAME_FLAG="-Wl,-soname,"
43176 USE_SOVERSION=1
43177 USE_SOVERLINUX=1
43178 USE_SOSYMLINKS=1
43179 ;;
43180
43181 *-*-solaris2* )
43182 SONAME_FLAG="-h "
43183 USE_SOVERSION=1
43184 USE_SOVERSOLARIS=1
43185 USE_SOSYMLINKS=1
43186 ;;
43187
43188 *-*-darwin* )
43189 USE_MACVERSION=1
43190 USE_SOVERSION=1
43191 USE_SOSYMLINKS=1
43192 ;;
43193
43194 *-*-cygwin* )
43195 USE_SOVERSION=1
43196 USE_SOVERCYGWIN=1
43197 ;;
43198 esac
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43210 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43211 DEPS_TRACKING=0
43212
43213 if test "x$GCC" = "xyes"; then
43214 DEPSMODE=gcc
43215 DEPS_TRACKING=1
43216 case "${BAKEFILE_HOST}" in
43217 powerpc-*-darwin* )
43218 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
43219 ;;
43220 * )
43221 DEPSFLAG_GCC="-MMD"
43222 ;;
43223 esac
43224 echo "$as_me:$LINENO: result: gcc" >&5
43225 echo "${ECHO_T}gcc" >&6
43226 elif test "x$MWCC" = "xyes"; then
43227 DEPSMODE=mwcc
43228 DEPS_TRACKING=1
43229 DEPSFLAG_MWCC="-MM"
43230 echo "$as_me:$LINENO: result: mwcc" >&5
43231 echo "${ECHO_T}mwcc" >&6
43232 elif test "x$SUNCC" = "xyes"; then
43233 DEPSMODE=suncc
43234 DEPS_TRACKING=1
43235 DEPSFLAG_SUNCC="-xM1"
43236 echo "$as_me:$LINENO: result: suncc" >&5
43237 echo "${ECHO_T}suncc" >&6
43238 else
43239 echo "$as_me:$LINENO: result: none" >&5
43240 echo "${ECHO_T}none" >&6
43241 fi
43242
43243 if test $DEPS_TRACKING = 1 ; then
43244
43245 D='$'
43246 cat <<EOF >bk-deps
43247 #!/bin/sh
43248
43249 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43250 # script. It is used to track C/C++ files dependencies in portable way.
43251 #
43252 # Permission is given to use this file in any way.
43253
43254 DEPSMODE=${DEPSMODE}
43255 DEPSDIR=.deps
43256 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43257 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43258 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43259
43260 mkdir -p ${D}DEPSDIR
43261
43262 if test ${D}DEPSMODE = gcc ; then
43263 ${D}* ${D}{DEPSFLAG_GCC}
43264 status=${D}?
43265 if test ${D}{status} != 0 ; then
43266 exit ${D}{status}
43267 fi
43268 # move created file to the location we want it in:
43269 while test ${D}# -gt 0; do
43270 case "${D}1" in
43271 -o )
43272 shift
43273 objfile=${D}1
43274 ;;
43275 -* )
43276 ;;
43277 * )
43278 srcfile=${D}1
43279 ;;
43280 esac
43281 shift
43282 done
43283 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43284 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43285 if test -f ${D}depfile ; then
43286 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43287 rm -f ${D}depfile
43288 else
43289 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43290 if test -f ${D}depfile ; then
43291 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43292 rm -f ${D}depfile
43293 fi
43294 fi
43295 exit 0
43296 elif test ${D}DEPSMODE = mwcc ; then
43297 ${D}*
43298 status=${D}?
43299 if test ${D}{status} != 0 ; then
43300 exit ${D}{status}
43301 fi
43302 # Run mwcc again with -MM and redirect into the dep file we want
43303 # NOTE: We can't use shift here because we need ${D}* to be valid
43304 prevarg=
43305 for arg in ${D}* ; do
43306 if test "${D}prevarg" = "-o"; then
43307 objfile=${D}arg
43308 else
43309 case "${D}arg" in
43310 -* )
43311 ;;
43312 * )
43313 srcfile=${D}arg
43314 ;;
43315 esac
43316 fi
43317 prevarg="${D}arg"
43318 done
43319 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43320 exit 0
43321 elif test ${D}DEPSMODE = suncc; then
43322 ${D}* || exit
43323 # Run compiler again with deps flag and redirect into the dep file.
43324 # It doesn't work if the '-o FILE' option is used, but without it the
43325 # dependency file will contain the wrong name for the object. So it is
43326 # removed from the command line, and the dep file is fixed with sed.
43327 cmd=""
43328 while test ${D}# -gt 0; do
43329 case "${D}1" in
43330 -o )
43331 shift
43332 objfile=${D}1
43333 ;;
43334 * )
43335 eval arg${D}#=\\${D}1
43336 cmd="${D}cmd \\${D}arg${D}#"
43337 ;;
43338 esac
43339 shift
43340 done
43341 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43342 exit 0
43343 else
43344 ${D}*
43345 exit ${D}?
43346 fi
43347 EOF
43348
43349 chmod +x bk-deps
43350 fi
43351
43352
43353
43354
43355 RESCOMP=
43356 SETFILE=
43357
43358 case ${BAKEFILE_HOST} in
43359 *-*-cygwin* | *-*-mingw32* )
43360 if test "$build" != "$host" ; then
43361 RESCOMP=$host_alias-windres
43362 else
43363 # Extract the first word of "windres", so it can be a program name with args.
43364 set dummy windres; ac_word=$2
43365 echo "$as_me:$LINENO: checking for $ac_word" >&5
43366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43367 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43368 echo $ECHO_N "(cached) $ECHO_C" >&6
43369 else
43370 if test -n "$RESCOMP"; then
43371 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43372 else
43373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43374 for as_dir in $PATH
43375 do
43376 IFS=$as_save_IFS
43377 test -z "$as_dir" && as_dir=.
43378 for ac_exec_ext in '' $ac_executable_extensions; do
43379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43380 ac_cv_prog_RESCOMP="windres"
43381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43382 break 2
43383 fi
43384 done
43385 done
43386
43387 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43388 fi
43389 fi
43390 RESCOMP=$ac_cv_prog_RESCOMP
43391 if test -n "$RESCOMP"; then
43392 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43393 echo "${ECHO_T}$RESCOMP" >&6
43394 else
43395 echo "$as_me:$LINENO: result: no" >&5
43396 echo "${ECHO_T}no" >&6
43397 fi
43398
43399 fi
43400 ;;
43401
43402 *-*-darwin* | powerpc-apple-macos* )
43403 # Extract the first word of "Rez", so it can be a program name with args.
43404 set dummy Rez; ac_word=$2
43405 echo "$as_me:$LINENO: checking for $ac_word" >&5
43406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43407 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43408 echo $ECHO_N "(cached) $ECHO_C" >&6
43409 else
43410 if test -n "$RESCOMP"; then
43411 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43412 else
43413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43414 for as_dir in $PATH
43415 do
43416 IFS=$as_save_IFS
43417 test -z "$as_dir" && as_dir=.
43418 for ac_exec_ext in '' $ac_executable_extensions; do
43419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43420 ac_cv_prog_RESCOMP="Rez"
43421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43422 break 2
43423 fi
43424 done
43425 done
43426
43427 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43428 fi
43429 fi
43430 RESCOMP=$ac_cv_prog_RESCOMP
43431 if test -n "$RESCOMP"; then
43432 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43433 echo "${ECHO_T}$RESCOMP" >&6
43434 else
43435 echo "$as_me:$LINENO: result: no" >&5
43436 echo "${ECHO_T}no" >&6
43437 fi
43438
43439 # Extract the first word of "SetFile", so it can be a program name with args.
43440 set dummy SetFile; ac_word=$2
43441 echo "$as_me:$LINENO: checking for $ac_word" >&5
43442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43443 if test "${ac_cv_prog_SETFILE+set}" = set; then
43444 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 else
43446 if test -n "$SETFILE"; then
43447 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43448 else
43449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43450 for as_dir in $PATH
43451 do
43452 IFS=$as_save_IFS
43453 test -z "$as_dir" && as_dir=.
43454 for ac_exec_ext in '' $ac_executable_extensions; do
43455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43456 ac_cv_prog_SETFILE="SetFile"
43457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43458 break 2
43459 fi
43460 done
43461 done
43462
43463 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43464 fi
43465 fi
43466 SETFILE=$ac_cv_prog_SETFILE
43467 if test -n "$SETFILE"; then
43468 echo "$as_me:$LINENO: result: $SETFILE" >&5
43469 echo "${ECHO_T}$SETFILE" >&6
43470 else
43471 echo "$as_me:$LINENO: result: no" >&5
43472 echo "${ECHO_T}no" >&6
43473 fi
43474
43475 ;;
43476 esac
43477
43478
43479
43480
43481
43482 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
43483
43484
43485 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
43486
43487
43488
43489 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43490 if test "${enable_precomp_headers+set}" = set; then
43491 enableval="$enable_precomp_headers"
43492 bk_use_pch="$enableval"
43493 fi;
43494
43495 GCC_PCH=0
43496
43497 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43498 if test "x$GCC" = "xyes"; then
43499 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43500 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43501 cat >conftest.$ac_ext <<_ACEOF
43502 /* confdefs.h. */
43503 _ACEOF
43504 cat confdefs.h >>conftest.$ac_ext
43505 cat >>conftest.$ac_ext <<_ACEOF
43506 /* end confdefs.h. */
43507
43508 int
43509 main ()
43510 {
43511
43512 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43513 #error "no pch support"
43514 #endif
43515 #if (__GNUC__ < 3)
43516 #error "no pch support"
43517 #endif
43518 #if (__GNUC__ == 3) && \
43519 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43520 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43521 #error "no pch support"
43522 #endif
43523
43524 ;
43525 return 0;
43526 }
43527 _ACEOF
43528 rm -f conftest.$ac_objext
43529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43530 (eval $ac_compile) 2>conftest.er1
43531 ac_status=$?
43532 grep -v '^ *+' conftest.er1 >conftest.err
43533 rm -f conftest.er1
43534 cat conftest.err >&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); } &&
43537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43539 (eval $ac_try) 2>&5
43540 ac_status=$?
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); }; } &&
43543 { ac_try='test -s conftest.$ac_objext'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; }; then
43549
43550 echo "$as_me:$LINENO: result: yes" >&5
43551 echo "${ECHO_T}yes" >&6
43552 GCC_PCH=1
43553
43554 else
43555 echo "$as_me: failed program was:" >&5
43556 sed 's/^/| /' conftest.$ac_ext >&5
43557
43558
43559 echo "$as_me:$LINENO: result: no" >&5
43560 echo "${ECHO_T}no" >&6
43561
43562 fi
43563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43564 if test $GCC_PCH = 1 ; then
43565
43566 D='$'
43567 cat <<EOF >bk-make-pch
43568 #!/bin/sh
43569
43570 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43571 # script. It is used to generated precompiled headers.
43572 #
43573 # Permission is given to use this file in any way.
43574
43575 outfile="${D}{1}"
43576 header="${D}{2}"
43577 shift
43578 shift
43579
43580 compiler=
43581 headerfile=
43582 while test ${D}{#} -gt 0; do
43583 case "${D}{1}" in
43584 -I* )
43585 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43586 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43587 headerfile="${D}{incdir}/${D}{header}"
43588 fi
43589 ;;
43590 esac
43591 compiler="${D}{compiler} ${D}{1}"
43592 shift
43593 done
43594
43595 if test "x${D}{headerfile}" = "x" ; then
43596 echo "error: can't find header ${D}{header} in include paths" >2
43597 else
43598 if test -f ${D}{outfile} ; then
43599 rm -f ${D}{outfile}
43600 else
43601 mkdir -p \`dirname ${D}{outfile}\`
43602 fi
43603 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43604 mkdir -p .deps
43605 # can do this because gcc is >= 3.4:
43606 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43607 exit ${D}{?}
43608 fi
43609 EOF
43610
43611 chmod +x bk-make-pch
43612 fi
43613 fi
43614 fi
43615
43616
43617
43618 COND_BUILD_DEBUG="#"
43619 if test "x$BUILD" = "xdebug" ; then
43620 COND_BUILD_DEBUG=""
43621 fi
43622
43623 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43624 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43625 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43626 fi
43627
43628 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43629 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43630 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43631 fi
43632
43633 COND_BUILD_DEBUG_UNICODE_0="#"
43634 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43635 COND_BUILD_DEBUG_UNICODE_0=""
43636 fi
43637
43638 COND_BUILD_DEBUG_UNICODE_1="#"
43639 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43640 COND_BUILD_DEBUG_UNICODE_1=""
43641 fi
43642
43643 COND_BUILD_RELEASE="#"
43644 if test "x$BUILD" = "xrelease" ; then
43645 COND_BUILD_RELEASE=""
43646 fi
43647
43648 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43649 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43650 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43651 fi
43652
43653 COND_BUILD_RELEASE_UNICODE_0="#"
43654 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43655 COND_BUILD_RELEASE_UNICODE_0=""
43656 fi
43657
43658 COND_BUILD_RELEASE_UNICODE_1="#"
43659 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43660 COND_BUILD_RELEASE_UNICODE_1=""
43661 fi
43662
43663 COND_DEBUG_FLAG_1="#"
43664 if test "x$DEBUG_FLAG" = "x1" ; then
43665 COND_DEBUG_FLAG_1=""
43666 fi
43667
43668 COND_DEBUG_INFO_0="#"
43669 if test "x$DEBUG_INFO" = "x0" ; then
43670 COND_DEBUG_INFO_0=""
43671 fi
43672
43673 COND_DEBUG_INFO_1="#"
43674 if test "x$DEBUG_INFO" = "x1" ; then
43675 COND_DEBUG_INFO_1=""
43676 fi
43677
43678 COND_DEPS_TRACKING_0="#"
43679 if test "x$DEPS_TRACKING" = "x0" ; then
43680 COND_DEPS_TRACKING_0=""
43681 fi
43682
43683 COND_DEPS_TRACKING_1="#"
43684 if test "x$DEPS_TRACKING" = "x1" ; then
43685 COND_DEPS_TRACKING_1=""
43686 fi
43687
43688 COND_GCC_PCH_1="#"
43689 if test "x$GCC_PCH" = "x1" ; then
43690 COND_GCC_PCH_1=""
43691 fi
43692
43693 COND_MONOLITHIC_0="#"
43694 if test "x$MONOLITHIC" = "x0" ; then
43695 COND_MONOLITHIC_0=""
43696 fi
43697
43698 COND_MONOLITHIC_0_SHARED_0="#"
43699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43700 COND_MONOLITHIC_0_SHARED_0=""
43701 fi
43702
43703 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43706 fi
43707
43708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43711 fi
43712
43713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43716 fi
43717
43718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43721 fi
43722
43723 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43725 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43726 fi
43727
43728 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43730 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43731 fi
43732
43733 COND_MONOLITHIC_0_SHARED_1="#"
43734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43735 COND_MONOLITHIC_0_SHARED_1=""
43736 fi
43737
43738 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43741 fi
43742
43743 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43745 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43746 fi
43747
43748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43750 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43751 fi
43752
43753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43756 fi
43757
43758 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43760 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43761 fi
43762
43763 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43765 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43766 fi
43767
43768 COND_MONOLITHIC_0_USE_ODBC_1="#"
43769 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43770 COND_MONOLITHIC_0_USE_ODBC_1=""
43771 fi
43772
43773 COND_MONOLITHIC_1="#"
43774 if test "x$MONOLITHIC" = "x1" ; then
43775 COND_MONOLITHIC_1=""
43776 fi
43777
43778 COND_MONOLITHIC_1_SHARED_0="#"
43779 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43780 COND_MONOLITHIC_1_SHARED_0=""
43781 fi
43782
43783 COND_MONOLITHIC_1_SHARED_1="#"
43784 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43785 COND_MONOLITHIC_1_SHARED_1=""
43786 fi
43787
43788 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43789 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43790 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43791 fi
43792
43793 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43794 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43795 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43796 fi
43797
43798 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
43799 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43800 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
43801 fi
43802
43803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43804 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43805 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43806 fi
43807
43808 COND_PLATFORM_MACOSX_1="#"
43809 if test "x$PLATFORM_MACOSX" = "x1" ; then
43810 COND_PLATFORM_MACOSX_1=""
43811 fi
43812
43813 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43814 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43815 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43816 fi
43817
43818 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43819 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43820 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43821 fi
43822
43823 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43824 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43825 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43826 fi
43827
43828 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43829 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43830 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43831 fi
43832
43833 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43834 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43835 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43836 fi
43837
43838 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43839 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43840 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43841 fi
43842
43843 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43845 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43846 fi
43847
43848 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43850 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43851 fi
43852
43853 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43854 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43855 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43856 fi
43857
43858 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43859 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43860 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43861 fi
43862
43863 COND_PLATFORM_MACOS_1="#"
43864 if test "x$PLATFORM_MACOS" = "x1" ; then
43865 COND_PLATFORM_MACOS_1=""
43866 fi
43867
43868 COND_PLATFORM_MAC_1="#"
43869 if test "x$PLATFORM_MAC" = "x1" ; then
43870 COND_PLATFORM_MAC_1=""
43871 fi
43872
43873 COND_PLATFORM_MSDOS_1="#"
43874 if test "x$PLATFORM_MSDOS" = "x1" ; then
43875 COND_PLATFORM_MSDOS_1=""
43876 fi
43877
43878 COND_PLATFORM_OS2_1="#"
43879 if test "x$PLATFORM_OS2" = "x1" ; then
43880 COND_PLATFORM_OS2_1=""
43881 fi
43882
43883 COND_PLATFORM_UNIX_0="#"
43884 if test "x$PLATFORM_UNIX" = "x0" ; then
43885 COND_PLATFORM_UNIX_0=""
43886 fi
43887
43888 COND_PLATFORM_UNIX_1="#"
43889 if test "x$PLATFORM_UNIX" = "x1" ; then
43890 COND_PLATFORM_UNIX_1=""
43891 fi
43892
43893 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43894 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43895 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43896 fi
43897
43898 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43899 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43900 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43901 fi
43902
43903 COND_PLATFORM_WIN32_0="#"
43904 if test "x$PLATFORM_WIN32" = "x0" ; then
43905 COND_PLATFORM_WIN32_0=""
43906 fi
43907
43908 COND_PLATFORM_WIN32_1="#"
43909 if test "x$PLATFORM_WIN32" = "x1" ; then
43910 COND_PLATFORM_WIN32_1=""
43911 fi
43912
43913 COND_SHARED_0="#"
43914 if test "x$SHARED" = "x0" ; then
43915 COND_SHARED_0=""
43916 fi
43917
43918 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43919 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43920 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43921 fi
43922
43923 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43924 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43925 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43926 fi
43927
43928 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43929 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43930 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43931 fi
43932
43933 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43934 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43935 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43936 fi
43937
43938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43939 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43940 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43941 fi
43942
43943 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43944 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43945 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43946 fi
43947
43948 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43949 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43950 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43951 fi
43952
43953 COND_SHARED_0_USE_XRC_1="#"
43954 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43955 COND_SHARED_0_USE_XRC_1=""
43956 fi
43957
43958 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43959 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43960 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43961 fi
43962
43963 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43964 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43965 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43966 fi
43967
43968 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43969 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43970 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43971 fi
43972
43973 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43974 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43975 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43976 fi
43977
43978 COND_SHARED_1="#"
43979 if test "x$SHARED" = "x1" ; then
43980 COND_SHARED_1=""
43981 fi
43982
43983 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43984 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43985 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43986 fi
43987
43988 COND_SHARED_1_USE_XRC_1="#"
43989 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43990 COND_SHARED_1_USE_XRC_1=""
43991 fi
43992
43993 COND_TOOLKIT_="#"
43994 if test "x$TOOLKIT" = "x" ; then
43995 COND_TOOLKIT_=""
43996 fi
43997
43998 COND_TOOLKIT_COCOA="#"
43999 if test "x$TOOLKIT" = "xCOCOA" ; then
44000 COND_TOOLKIT_COCOA=""
44001 fi
44002
44003 COND_TOOLKIT_COCOA_USE_GUI_1="#"
44004 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44005 COND_TOOLKIT_COCOA_USE_GUI_1=""
44006 fi
44007
44008 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
44009 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44010 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
44011 fi
44012
44013 COND_TOOLKIT_GTK="#"
44014 if test "x$TOOLKIT" = "xGTK" ; then
44015 COND_TOOLKIT_GTK=""
44016 fi
44017
44018 COND_TOOLKIT_GTK_USE_GUI_1="#"
44019 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44020 COND_TOOLKIT_GTK_USE_GUI_1=""
44021 fi
44022
44023 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
44024 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44025 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
44026 fi
44027
44028 COND_TOOLKIT_MAC="#"
44029 if test "x$TOOLKIT" = "xMAC" ; then
44030 COND_TOOLKIT_MAC=""
44031 fi
44032
44033 COND_TOOLKIT_MAC_USE_GUI_1="#"
44034 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44035 COND_TOOLKIT_MAC_USE_GUI_1=""
44036 fi
44037
44038 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
44039 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44040 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
44041 fi
44042
44043 COND_TOOLKIT_MGL="#"
44044 if test "x$TOOLKIT" = "xMGL" ; then
44045 COND_TOOLKIT_MGL=""
44046 fi
44047
44048 COND_TOOLKIT_MGL_USE_GUI_1="#"
44049 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44050 COND_TOOLKIT_MGL_USE_GUI_1=""
44051 fi
44052
44053 COND_TOOLKIT_MOTIF="#"
44054 if test "x$TOOLKIT" = "xMOTIF" ; then
44055 COND_TOOLKIT_MOTIF=""
44056 fi
44057
44058 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
44059 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44060 COND_TOOLKIT_MOTIF_USE_GUI_1=""
44061 fi
44062
44063 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
44064 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44065 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
44066 fi
44067
44068 COND_TOOLKIT_MSW="#"
44069 if test "x$TOOLKIT" = "xMSW" ; then
44070 COND_TOOLKIT_MSW=""
44071 fi
44072
44073 COND_TOOLKIT_MSW_USE_GUI_1="#"
44074 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44075 COND_TOOLKIT_MSW_USE_GUI_1=""
44076 fi
44077
44078 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
44079 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44080 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
44081 fi
44082
44083 COND_TOOLKIT_PM="#"
44084 if test "x$TOOLKIT" = "xPM" ; then
44085 COND_TOOLKIT_PM=""
44086 fi
44087
44088 COND_TOOLKIT_PM_USE_GUI_1="#"
44089 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44090 COND_TOOLKIT_PM_USE_GUI_1=""
44091 fi
44092
44093 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
44094 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44095 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
44096 fi
44097
44098 COND_TOOLKIT_WINCE="#"
44099 if test "x$TOOLKIT" = "xWINCE" ; then
44100 COND_TOOLKIT_WINCE=""
44101 fi
44102
44103 COND_TOOLKIT_WINCE_USE_GUI_1="#"
44104 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44105 COND_TOOLKIT_WINCE_USE_GUI_1=""
44106 fi
44107
44108 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
44109 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44110 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
44111 fi
44112
44113 COND_TOOLKIT_X11="#"
44114 if test "x$TOOLKIT" = "xX11" ; then
44115 COND_TOOLKIT_X11=""
44116 fi
44117
44118 COND_TOOLKIT_X11_USE_GUI_1="#"
44119 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44120 COND_TOOLKIT_X11_USE_GUI_1=""
44121 fi
44122
44123 COND_UNICODE_1="#"
44124 if test "x$UNICODE" = "x1" ; then
44125 COND_UNICODE_1=""
44126 fi
44127
44128 COND_USE_EXCEPTIONS_0="#"
44129 if test "x$USE_EXCEPTIONS" = "x0" ; then
44130 COND_USE_EXCEPTIONS_0=""
44131 fi
44132
44133 COND_USE_EXCEPTIONS_1="#"
44134 if test "x$USE_EXCEPTIONS" = "x1" ; then
44135 COND_USE_EXCEPTIONS_1=""
44136 fi
44137
44138 COND_USE_GUI_0="#"
44139 if test "x$USE_GUI" = "x0" ; then
44140 COND_USE_GUI_0=""
44141 fi
44142
44143 COND_USE_GUI_1="#"
44144 if test "x$USE_GUI" = "x1" ; then
44145 COND_USE_GUI_1=""
44146 fi
44147
44148 COND_USE_GUI_1_WXUNIV_0="#"
44149 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44150 COND_USE_GUI_1_WXUNIV_0=""
44151 fi
44152
44153 COND_USE_GUI_1_WXUNIV_1="#"
44154 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44155 COND_USE_GUI_1_WXUNIV_1=""
44156 fi
44157
44158 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
44159 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44160 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
44161 fi
44162
44163 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
44164 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44165 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
44166 fi
44167
44168 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
44169 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44170 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
44171 fi
44172
44173 COND_USE_ODBC_1="#"
44174 if test "x$USE_ODBC" = "x1" ; then
44175 COND_USE_ODBC_1=""
44176 fi
44177
44178 COND_USE_OPENGL_1="#"
44179 if test "x$USE_OPENGL" = "x1" ; then
44180 COND_USE_OPENGL_1=""
44181 fi
44182
44183 COND_USE_PLUGINS_0="#"
44184 if test "x$USE_PLUGINS" = "x0" ; then
44185 COND_USE_PLUGINS_0=""
44186 fi
44187
44188 COND_USE_RTTI_0="#"
44189 if test "x$USE_RTTI" = "x0" ; then
44190 COND_USE_RTTI_0=""
44191 fi
44192
44193 COND_USE_RTTI_1="#"
44194 if test "x$USE_RTTI" = "x1" ; then
44195 COND_USE_RTTI_1=""
44196 fi
44197
44198 COND_USE_SOSYMLINKS_1="#"
44199 if test "x$USE_SOSYMLINKS" = "x1" ; then
44200 COND_USE_SOSYMLINKS_1=""
44201 fi
44202
44203 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
44204 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44205 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
44206 fi
44207
44208 COND_USE_SOVERLINUX_1="#"
44209 if test "x$USE_SOVERLINUX" = "x1" ; then
44210 COND_USE_SOVERLINUX_1=""
44211 fi
44212
44213 COND_USE_SOVERSION_0="#"
44214 if test "x$USE_SOVERSION" = "x0" ; then
44215 COND_USE_SOVERSION_0=""
44216 fi
44217
44218 COND_USE_SOVERSOLARIS_1="#"
44219 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44220 COND_USE_SOVERSOLARIS_1=""
44221 fi
44222
44223 COND_USE_THREADS_0="#"
44224 if test "x$USE_THREADS" = "x0" ; then
44225 COND_USE_THREADS_0=""
44226 fi
44227
44228 COND_USE_THREADS_1="#"
44229 if test "x$USE_THREADS" = "x1" ; then
44230 COND_USE_THREADS_1=""
44231 fi
44232
44233 COND_USE_XRC_1="#"
44234 if test "x$USE_XRC" = "x1" ; then
44235 COND_USE_XRC_1=""
44236 fi
44237
44238 COND_WINDOWS_IMPLIB_1="#"
44239 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44240 COND_WINDOWS_IMPLIB_1=""
44241 fi
44242
44243 COND_WITH_PLUGIN_SDL_1="#"
44244 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44245 COND_WITH_PLUGIN_SDL_1=""
44246 fi
44247
44248 COND_WXUNIV_0="#"
44249 if test "x$WXUNIV" = "x0" ; then
44250 COND_WXUNIV_0=""
44251 fi
44252
44253 COND_WXUNIV_1="#"
44254 if test "x$WXUNIV" = "x1" ; then
44255 COND_WXUNIV_1=""
44256 fi
44257
44258 COND_WXUSE_EXPAT_BUILTIN="#"
44259 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44260 COND_WXUSE_EXPAT_BUILTIN=""
44261 fi
44262
44263 COND_WXUSE_LIBJPEG_BUILTIN="#"
44264 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44265 COND_WXUSE_LIBJPEG_BUILTIN=""
44266 fi
44267
44268 COND_WXUSE_LIBPNG_BUILTIN="#"
44269 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44270 COND_WXUSE_LIBPNG_BUILTIN=""
44271 fi
44272
44273 COND_WXUSE_LIBTIFF_BUILTIN="#"
44274 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44275 COND_WXUSE_LIBTIFF_BUILTIN=""
44276 fi
44277
44278 COND_WXUSE_ODBC_BUILTIN="#"
44279 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44280 COND_WXUSE_ODBC_BUILTIN=""
44281 fi
44282
44283 COND_WXUSE_REGEX_BUILTIN="#"
44284 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44285 COND_WXUSE_REGEX_BUILTIN=""
44286 fi
44287
44288 COND_WXUSE_ZLIB_BUILTIN="#"
44289 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44290 COND_WXUSE_ZLIB_BUILTIN=""
44291 fi
44292
44293
44294
44295 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44296 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
44297 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
44298 { (exit 1); exit 1; }; }
44299 fi
44300
44301 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44302 { { 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
44303 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;}
44304 { (exit 1); exit 1; }; }
44305 fi
44306
44307
44308 if test "$wxUSE_WINE" = "yes"; then
44309 RESCOMP=wrc
44310 fi
44311
44312 if test "$wxUSE_SHARED" = "yes"; then
44313
44314 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
44315 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
44316
44317 case "${host}" in
44318 *-pc-os2_emx | *-pc-os2-emx )
44319 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44320 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44321 cp -p ${srcdir}/src/os2/dllnames.sh .
44322 cp -p ${srcdir}/src/os2/dllar.sh .
44323 ;;
44324 esac
44325 else
44326
44327 EXE_LINKER="$CXX -o"
44328
44329 fi
44330 if test "$wxUSE_OMF" = "yes"; then
44331 case "${host}" in
44332 *-pc-os2_emx | *-pc-os2-emx )
44333 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
44334 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44335 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44336 ;;
44337 esac
44338 fi
44339
44340 GCC_PRAGMA_FLAGS=""
44341 PCH_FLAGS=""
44342
44343 if test $GCC_PCH = 1 ; then
44344 PCH_FLAGS="-DWX_PRECOMP"
44345 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44346 else
44347 if test "$GCC" = yes; then
44348 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44349 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44350 cat >conftest.$ac_ext <<_ACEOF
44351 /* confdefs.h. */
44352 _ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356
44357 int
44358 main ()
44359 {
44360 #if (__GNUC__ < 4)
44361 #error "Not GCC 4.0 or greater"
44362 #endif
44363
44364 ;
44365 return 0;
44366 }
44367 _ACEOF
44368 rm -f conftest.$ac_objext
44369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44370 (eval $ac_compile) 2>conftest.er1
44371 ac_status=$?
44372 grep -v '^ *+' conftest.er1 >conftest.err
44373 rm -f conftest.er1
44374 cat conftest.err >&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); } &&
44377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; } &&
44383 { ac_try='test -s conftest.$ac_objext'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44386 ac_status=$?
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; }; then
44389 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44390 echo "$as_me:$LINENO: result: yes" >&5
44391 echo "${ECHO_T}yes" >&6
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396 echo "$as_me:$LINENO: result: no" >&5
44397 echo "${ECHO_T}no" >&6
44398 case "${host}" in
44399 powerpc-*-darwin* )
44400 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44401 ;;
44402 *-*-mingw32* )
44403 if test "$wxUSE_STL" = "yes" -o \
44404 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44405 "$wxUSE_NO_RTTI" != "yes"; then
44406 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44407 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44408 cat >conftest.$ac_ext <<_ACEOF
44409 /* confdefs.h. */
44410 _ACEOF
44411 cat confdefs.h >>conftest.$ac_ext
44412 cat >>conftest.$ac_ext <<_ACEOF
44413 /* end confdefs.h. */
44414
44415 int
44416 main ()
44417 {
44418 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44419 #error "Not GCC 3.2 or greater"
44420 #endif
44421
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 rm -f conftest.$ac_objext
44427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44428 (eval $ac_compile) 2>conftest.er1
44429 ac_status=$?
44430 grep -v '^ *+' conftest.er1 >conftest.err
44431 rm -f conftest.er1
44432 cat conftest.err >&5
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); } &&
44435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44437 (eval $ac_try) 2>&5
44438 ac_status=$?
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); }; } &&
44441 { ac_try='test -s conftest.$ac_objext'
44442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44443 (eval $ac_try) 2>&5
44444 ac_status=$?
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); }; }; then
44447 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44448 echo "$as_me:$LINENO: result: yes" >&5
44449 echo "${ECHO_T}yes" >&6
44450 else
44451 echo "$as_me: failed program was:" >&5
44452 sed 's/^/| /' conftest.$ac_ext >&5
44453
44454 echo "$as_me:$LINENO: result: no" >&5
44455 echo "${ECHO_T}no" >&6
44456 fi
44457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44458 fi
44459 ;;
44460 *-pc-os2_emx | *-pc-os2-emx )
44461 if test "$wxUSE_STL" = "yes"; then
44462 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44463 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44464 cat >conftest.$ac_ext <<_ACEOF
44465 /* confdefs.h. */
44466 _ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44470
44471 int
44472 main ()
44473 {
44474 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44475 #error "Not GCC 3.2 or greater"
44476 #endif
44477
44478 ;
44479 return 0;
44480 }
44481 _ACEOF
44482 rm -f conftest.$ac_objext
44483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44484 (eval $ac_compile) 2>conftest.er1
44485 ac_status=$?
44486 grep -v '^ *+' conftest.er1 >conftest.err
44487 rm -f conftest.er1
44488 cat conftest.err >&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } &&
44491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44493 (eval $ac_try) 2>&5
44494 ac_status=$?
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); }; } &&
44497 { ac_try='test -s conftest.$ac_objext'
44498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44499 (eval $ac_try) 2>&5
44500 ac_status=$?
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; }; then
44503 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44504 echo "$as_me:$LINENO: result: yes" >&5
44505 echo "${ECHO_T}yes" >&6
44506 else
44507 echo "$as_me: failed program was:" >&5
44508 sed 's/^/| /' conftest.$ac_ext >&5
44509
44510 echo "$as_me:$LINENO: result: no" >&5
44511 echo "${ECHO_T}no" >&6
44512 fi
44513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44514 fi
44515 ;;
44516 esac
44517
44518 fi
44519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44520 fi
44521 fi
44522 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44523
44524
44525 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44590 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44591 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44592 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44593 echo $ECHO_N "(cached) $ECHO_C" >&6
44594 else
44595 cat >conftest.make <<\_ACEOF
44596 all:
44597 @echo 'ac_maketemp="$(MAKE)"'
44598 _ACEOF
44599 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44600 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44601 if test -n "$ac_maketemp"; then
44602 eval ac_cv_prog_make_${ac_make}_set=yes
44603 else
44604 eval ac_cv_prog_make_${ac_make}_set=no
44605 fi
44606 rm -f conftest.make
44607 fi
44608 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44609 echo "$as_me:$LINENO: result: yes" >&5
44610 echo "${ECHO_T}yes" >&6
44611 SET_MAKE=
44612 else
44613 echo "$as_me:$LINENO: result: no" >&5
44614 echo "${ECHO_T}no" >&6
44615 SET_MAKE="MAKE=${MAKE-make}"
44616 fi
44617
44618
44619
44620 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44621
44622
44623 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44624
44625
44626 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44627
44628
44629 ac_config_files="$ac_config_files version-script Makefile"
44630
44631
44632 ac_config_commands="$ac_config_commands wx-config
44633 "
44634
44635
44636
44637
44638 if test "$wxUSE_GUI" = "yes"; then
44639 SUBDIRS="samples demos utils contrib"
44640 else SUBDIRS="samples utils"
44641 fi
44642
44643
44644
44645 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44646 if test "${with_cppunit_prefix+set}" = set; then
44647 withval="$with_cppunit_prefix"
44648 cppunit_config_prefix="$withval"
44649 else
44650 cppunit_config_prefix=""
44651 fi;
44652
44653 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44654 if test "${with_cppunit_exec_prefix+set}" = set; then
44655 withval="$with_cppunit_exec_prefix"
44656 cppunit_config_exec_prefix="$withval"
44657 else
44658 cppunit_config_exec_prefix=""
44659 fi;
44660
44661 if test x$cppunit_config_exec_prefix != x ; then
44662 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44663 if test x${CPPUNIT_CONFIG+set} != xset ; then
44664 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44665 fi
44666 fi
44667 if test x$cppunit_config_prefix != x ; then
44668 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44669 if test x${CPPUNIT_CONFIG+set} != xset ; then
44670 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44671 fi
44672 fi
44673
44674 # Extract the first word of "cppunit-config", so it can be a program name with args.
44675 set dummy cppunit-config; ac_word=$2
44676 echo "$as_me:$LINENO: checking for $ac_word" >&5
44677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44678 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44679 echo $ECHO_N "(cached) $ECHO_C" >&6
44680 else
44681 case $CPPUNIT_CONFIG in
44682 [\\/]* | ?:[\\/]*)
44683 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44684 ;;
44685 *)
44686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44687 for as_dir in $PATH
44688 do
44689 IFS=$as_save_IFS
44690 test -z "$as_dir" && as_dir=.
44691 for ac_exec_ext in '' $ac_executable_extensions; do
44692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44693 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44695 break 2
44696 fi
44697 done
44698 done
44699
44700 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44701 ;;
44702 esac
44703 fi
44704 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44705
44706 if test -n "$CPPUNIT_CONFIG"; then
44707 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44708 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44709 else
44710 echo "$as_me:$LINENO: result: no" >&5
44711 echo "${ECHO_T}no" >&6
44712 fi
44713
44714 cppunit_version_min=1.8.0
44715
44716 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44717 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44718 no_cppunit=""
44719 if test "$CPPUNIT_CONFIG" = "no" ; then
44720 no_cppunit=yes
44721 else
44722 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44723 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44724 cppunit_version=`$CPPUNIT_CONFIG --version`
44725
44726 cppunit_major_version=`echo $cppunit_version | \
44727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44728 cppunit_minor_version=`echo $cppunit_version | \
44729 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44730 cppunit_micro_version=`echo $cppunit_version | \
44731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44732
44733 cppunit_major_min=`echo $cppunit_version_min | \
44734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44735 cppunit_minor_min=`echo $cppunit_version_min | \
44736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44737 cppunit_micro_min=`echo $cppunit_version_min | \
44738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44739
44740 cppunit_version_proper=`expr \
44741 $cppunit_major_version \> $cppunit_major_min \| \
44742 $cppunit_major_version \= $cppunit_major_min \& \
44743 $cppunit_minor_version \> $cppunit_minor_min \| \
44744 $cppunit_major_version \= $cppunit_major_min \& \
44745 $cppunit_minor_version \= $cppunit_minor_min \& \
44746 $cppunit_micro_version \>= $cppunit_micro_min `
44747
44748 if test "$cppunit_version_proper" = "1" ; then
44749 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44750 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44751 else
44752 echo "$as_me:$LINENO: result: no" >&5
44753 echo "${ECHO_T}no" >&6
44754 no_cppunit=yes
44755 fi
44756 fi
44757
44758 if test "x$no_cppunit" = x ; then
44759 SUBDIRS="$SUBDIRS tests"
44760 else
44761 CPPUNIT_CFLAGS=""
44762 CPPUNIT_LIBS=""
44763 :
44764 fi
44765
44766
44767
44768
44769
44770 for subdir in `echo $SUBDIRS`; do
44771 if test -d ${srcdir}/${subdir} ; then
44772 if test "$wxUSE_GUI" = "yes"; then
44773 if test ${subdir} = "samples"; then
44774 makefiles="samples/Makefile.in $makefiles"
44775 for sample in `echo $SAMPLES_SUBDIRS`; do
44776 if test -d $srcdir/samples/$sample; then
44777 makefiles="samples/$sample/Makefile.in $makefiles"
44778 fi
44779 done
44780 else
44781 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44782 eval "disabled=\$$disabled_var"
44783 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44784 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44785 fi
44786 else if test ${subdir} = "samples"; then
44787 makefiles="samples/Makefile.in samples/console/Makefile.in"
44788 elif test ${subdir} = "utils"; then
44789 makefiles=""
44790 for util in HelpGen tex2rtf ; do
44791 if test -d $srcdir/utils/$util ; then
44792 makefiles="utils/$util/Makefile.in \
44793 utils/$util/src/Makefile.in \
44794 $makefiles"
44795 fi
44796 done
44797 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44798 fi
44799 fi
44800
44801 for mkin in $makefiles ; do
44802 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44803 ac_config_files="$ac_config_files $mk"
44804
44805 done
44806 fi
44807 done
44808
44809
44810 cat >confcache <<\_ACEOF
44811 # This file is a shell script that caches the results of configure
44812 # tests run on this system so they can be shared between configure
44813 # scripts and configure runs, see configure's option --config-cache.
44814 # It is not useful on other systems. If it contains results you don't
44815 # want to keep, you may remove or edit it.
44816 #
44817 # config.status only pays attention to the cache file if you give it
44818 # the --recheck option to rerun configure.
44819 #
44820 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44821 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44822 # following values.
44823
44824 _ACEOF
44825
44826 # The following way of writing the cache mishandles newlines in values,
44827 # but we know of no workaround that is simple, portable, and efficient.
44828 # So, don't put newlines in cache variables' values.
44829 # Ultrix sh set writes to stderr and can't be redirected directly,
44830 # and sets the high bit in the cache file unless we assign to the vars.
44831 {
44832 (set) 2>&1 |
44833 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44834 *ac_space=\ *)
44835 # `set' does not quote correctly, so add quotes (double-quote
44836 # substitution turns \\\\ into \\, and sed turns \\ into \).
44837 sed -n \
44838 "s/'/'\\\\''/g;
44839 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44840 ;;
44841 *)
44842 # `set' quotes correctly as required by POSIX, so do not add quotes.
44843 sed -n \
44844 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44845 ;;
44846 esac;
44847 } |
44848 sed '
44849 t clear
44850 : clear
44851 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44852 t end
44853 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44854 : end' >>confcache
44855 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44856 if test -w $cache_file; then
44857 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44858 cat confcache >$cache_file
44859 else
44860 echo "not updating unwritable cache $cache_file"
44861 fi
44862 fi
44863 rm -f confcache
44864
44865 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44866 # Let make expand exec_prefix.
44867 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44868
44869 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44870 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44871 # trailing colons and then remove the whole line if VPATH becomes empty
44872 # (actually we leave an empty line to preserve line numbers).
44873 if test "x$srcdir" = x.; then
44874 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44875 s/:*\$(srcdir):*/:/;
44876 s/:*\${srcdir}:*/:/;
44877 s/:*@srcdir@:*/:/;
44878 s/^\([^=]*=[ ]*\):*/\1/;
44879 s/:*$//;
44880 s/^[^=]*=[ ]*$//;
44881 }'
44882 fi
44883
44884 DEFS=-DHAVE_CONFIG_H
44885
44886 ac_libobjs=
44887 ac_ltlibobjs=
44888 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44889 # 1. Remove the extension, and $U if already installed.
44890 ac_i=`echo "$ac_i" |
44891 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44892 # 2. Add them.
44893 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44894 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44895 done
44896 LIBOBJS=$ac_libobjs
44897
44898 LTLIBOBJS=$ac_ltlibobjs
44899
44900
44901
44902 : ${CONFIG_STATUS=./config.status}
44903 ac_clean_files_save=$ac_clean_files
44904 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44905 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44906 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44907 cat >$CONFIG_STATUS <<_ACEOF
44908 #! $SHELL
44909 # Generated by $as_me.
44910 # Run this file to recreate the current configuration.
44911 # Compiler output produced by configure, useful for debugging
44912 # configure, is in config.log if it exists.
44913
44914 debug=false
44915 ac_cs_recheck=false
44916 ac_cs_silent=false
44917 SHELL=\${CONFIG_SHELL-$SHELL}
44918 _ACEOF
44919
44920 cat >>$CONFIG_STATUS <<\_ACEOF
44921 ## --------------------- ##
44922 ## M4sh Initialization. ##
44923 ## --------------------- ##
44924
44925 # Be Bourne compatible
44926 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44927 emulate sh
44928 NULLCMD=:
44929 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44930 # is contrary to our usage. Disable this feature.
44931 alias -g '${1+"$@"}'='"$@"'
44932 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44933 set -o posix
44934 fi
44935 DUALCASE=1; export DUALCASE # for MKS sh
44936
44937 # Support unset when possible.
44938 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44939 as_unset=unset
44940 else
44941 as_unset=false
44942 fi
44943
44944
44945 # Work around bugs in pre-3.0 UWIN ksh.
44946 $as_unset ENV MAIL MAILPATH
44947 PS1='$ '
44948 PS2='> '
44949 PS4='+ '
44950
44951 # NLS nuisances.
44952 for as_var in \
44953 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44954 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44955 LC_TELEPHONE LC_TIME
44956 do
44957 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44958 eval $as_var=C; export $as_var
44959 else
44960 $as_unset $as_var
44961 fi
44962 done
44963
44964 # Required to use basename.
44965 if expr a : '\(a\)' >/dev/null 2>&1; then
44966 as_expr=expr
44967 else
44968 as_expr=false
44969 fi
44970
44971 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44972 as_basename=basename
44973 else
44974 as_basename=false
44975 fi
44976
44977
44978 # Name of the executable.
44979 as_me=`$as_basename "$0" ||
44980 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44981 X"$0" : 'X\(//\)$' \| \
44982 X"$0" : 'X\(/\)$' \| \
44983 . : '\(.\)' 2>/dev/null ||
44984 echo X/"$0" |
44985 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44986 /^X\/\(\/\/\)$/{ s//\1/; q; }
44987 /^X\/\(\/\).*/{ s//\1/; q; }
44988 s/.*/./; q'`
44989
44990
44991 # PATH needs CR, and LINENO needs CR and PATH.
44992 # Avoid depending upon Character Ranges.
44993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44996 as_cr_digits='0123456789'
44997 as_cr_alnum=$as_cr_Letters$as_cr_digits
44998
44999 # The user is always right.
45000 if test "${PATH_SEPARATOR+set}" != set; then
45001 echo "#! /bin/sh" >conf$$.sh
45002 echo "exit 0" >>conf$$.sh
45003 chmod +x conf$$.sh
45004 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45005 PATH_SEPARATOR=';'
45006 else
45007 PATH_SEPARATOR=:
45008 fi
45009 rm -f conf$$.sh
45010 fi
45011
45012
45013 as_lineno_1=$LINENO
45014 as_lineno_2=$LINENO
45015 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45016 test "x$as_lineno_1" != "x$as_lineno_2" &&
45017 test "x$as_lineno_3" = "x$as_lineno_2" || {
45018 # Find who we are. Look in the path if we contain no path at all
45019 # relative or not.
45020 case $0 in
45021 *[\\/]* ) as_myself=$0 ;;
45022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45023 for as_dir in $PATH
45024 do
45025 IFS=$as_save_IFS
45026 test -z "$as_dir" && as_dir=.
45027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
45028 done
45029
45030 ;;
45031 esac
45032 # We did not find ourselves, most probably we were run as `sh COMMAND'
45033 # in which case we are not to be found in the path.
45034 if test "x$as_myself" = x; then
45035 as_myself=$0
45036 fi
45037 if test ! -f "$as_myself"; then
45038 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45039 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45040 { (exit 1); exit 1; }; }
45041 fi
45042 case $CONFIG_SHELL in
45043 '')
45044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45045 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
45046 do
45047 IFS=$as_save_IFS
45048 test -z "$as_dir" && as_dir=.
45049 for as_base in sh bash ksh sh5; do
45050 case $as_dir in
45051 /*)
45052 if ("$as_dir/$as_base" -c '
45053 as_lineno_1=$LINENO
45054 as_lineno_2=$LINENO
45055 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45056 test "x$as_lineno_1" != "x$as_lineno_2" &&
45057 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
45058 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
45059 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
45060 CONFIG_SHELL=$as_dir/$as_base
45061 export CONFIG_SHELL
45062 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45063 fi;;
45064 esac
45065 done
45066 done
45067 ;;
45068 esac
45069
45070 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45071 # uniformly replaced by the line number. The first 'sed' inserts a
45072 # line-number line before each line; the second 'sed' does the real
45073 # work. The second script uses 'N' to pair each line-number line
45074 # with the numbered line, and appends trailing '-' during
45075 # substitution so that $LINENO is not a special case at line end.
45076 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45077 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45078 sed '=' <$as_myself |
45079 sed '
45080 N
45081 s,$,-,
45082 : loop
45083 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45084 t loop
45085 s,-$,,
45086 s,^['$as_cr_digits']*\n,,
45087 ' >$as_me.lineno &&
45088 chmod +x $as_me.lineno ||
45089 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45090 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45091 { (exit 1); exit 1; }; }
45092
45093 # Don't try to exec as it changes $[0], causing all sort of problems
45094 # (the dirname of $[0] is not the place where we might find the
45095 # original and so on. Autoconf is especially sensible to this).
45096 . ./$as_me.lineno
45097 # Exit status is that of the last command.
45098 exit
45099 }
45100
45101
45102 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45103 *c*,-n*) ECHO_N= ECHO_C='
45104 ' ECHO_T=' ' ;;
45105 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
45106 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
45107 esac
45108
45109 if expr a : '\(a\)' >/dev/null 2>&1; then
45110 as_expr=expr
45111 else
45112 as_expr=false
45113 fi
45114
45115 rm -f conf$$ conf$$.exe conf$$.file
45116 echo >conf$$.file
45117 if ln -s conf$$.file conf$$ 2>/dev/null; then
45118 # We could just check for DJGPP; but this test a) works b) is more generic
45119 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45120 if test -f conf$$.exe; then
45121 # Don't use ln at all; we don't have any links
45122 as_ln_s='cp -p'
45123 else
45124 as_ln_s='ln -s'
45125 fi
45126 elif ln conf$$.file conf$$ 2>/dev/null; then
45127 as_ln_s=ln
45128 else
45129 as_ln_s='cp -p'
45130 fi
45131 rm -f conf$$ conf$$.exe conf$$.file
45132
45133 if mkdir -p . 2>/dev/null; then
45134 as_mkdir_p=:
45135 else
45136 test -d ./-p && rmdir ./-p
45137 as_mkdir_p=false
45138 fi
45139
45140 as_executable_p="test -f"
45141
45142 # Sed expression to map a string onto a valid CPP name.
45143 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45144
45145 # Sed expression to map a string onto a valid variable name.
45146 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45147
45148
45149 # IFS
45150 # We need space, tab and new line, in precisely that order.
45151 as_nl='
45152 '
45153 IFS=" $as_nl"
45154
45155 # CDPATH.
45156 $as_unset CDPATH
45157
45158 exec 6>&1
45159
45160 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45161 # report actual input values of CONFIG_FILES etc. instead of their
45162 # values after options handling. Logging --version etc. is OK.
45163 exec 5>>config.log
45164 {
45165 echo
45166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45167 ## Running $as_me. ##
45168 _ASBOX
45169 } >&5
45170 cat >&5 <<_CSEOF
45171
45172 This file was extended by wxWidgets $as_me 2.6.2, which was
45173 generated by GNU Autoconf 2.59. Invocation command line was
45174
45175 CONFIG_FILES = $CONFIG_FILES
45176 CONFIG_HEADERS = $CONFIG_HEADERS
45177 CONFIG_LINKS = $CONFIG_LINKS
45178 CONFIG_COMMANDS = $CONFIG_COMMANDS
45179 $ $0 $@
45180
45181 _CSEOF
45182 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45183 echo >&5
45184 _ACEOF
45185
45186 # Files that config.status was made for.
45187 if test -n "$ac_config_files"; then
45188 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45189 fi
45190
45191 if test -n "$ac_config_headers"; then
45192 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45193 fi
45194
45195 if test -n "$ac_config_links"; then
45196 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45197 fi
45198
45199 if test -n "$ac_config_commands"; then
45200 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45201 fi
45202
45203 cat >>$CONFIG_STATUS <<\_ACEOF
45204
45205 ac_cs_usage="\
45206 \`$as_me' instantiates files from templates according to the
45207 current configuration.
45208
45209 Usage: $0 [OPTIONS] [FILE]...
45210
45211 -h, --help print this help, then exit
45212 -V, --version print version number, then exit
45213 -q, --quiet do not print progress messages
45214 -d, --debug don't remove temporary files
45215 --recheck update $as_me by reconfiguring in the same conditions
45216 --file=FILE[:TEMPLATE]
45217 instantiate the configuration file FILE
45218 --header=FILE[:TEMPLATE]
45219 instantiate the configuration header FILE
45220
45221 Configuration files:
45222 $config_files
45223
45224 Configuration headers:
45225 $config_headers
45226
45227 Configuration commands:
45228 $config_commands
45229
45230 Report bugs to <bug-autoconf@gnu.org>."
45231 _ACEOF
45232
45233 cat >>$CONFIG_STATUS <<_ACEOF
45234 ac_cs_version="\\
45235 wxWidgets config.status 2.6.2
45236 configured by $0, generated by GNU Autoconf 2.59,
45237 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45238
45239 Copyright (C) 2003 Free Software Foundation, Inc.
45240 This config.status script is free software; the Free Software Foundation
45241 gives unlimited permission to copy, distribute and modify it."
45242 srcdir=$srcdir
45243 INSTALL="$INSTALL"
45244 _ACEOF
45245
45246 cat >>$CONFIG_STATUS <<\_ACEOF
45247 # If no file are specified by the user, then we need to provide default
45248 # value. By we need to know if files were specified by the user.
45249 ac_need_defaults=:
45250 while test $# != 0
45251 do
45252 case $1 in
45253 --*=*)
45254 ac_option=`expr "x$1" : 'x\([^=]*\)='`
45255 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
45256 ac_shift=:
45257 ;;
45258 -*)
45259 ac_option=$1
45260 ac_optarg=$2
45261 ac_shift=shift
45262 ;;
45263 *) # This is not an option, so the user has probably given explicit
45264 # arguments.
45265 ac_option=$1
45266 ac_need_defaults=false;;
45267 esac
45268
45269 case $ac_option in
45270 # Handling of the options.
45271 _ACEOF
45272 cat >>$CONFIG_STATUS <<\_ACEOF
45273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45274 ac_cs_recheck=: ;;
45275 --version | --vers* | -V )
45276 echo "$ac_cs_version"; exit 0 ;;
45277 --he | --h)
45278 # Conflict between --help and --header
45279 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45280 Try \`$0 --help' for more information." >&5
45281 echo "$as_me: error: ambiguous option: $1
45282 Try \`$0 --help' for more information." >&2;}
45283 { (exit 1); exit 1; }; };;
45284 --help | --hel | -h )
45285 echo "$ac_cs_usage"; exit 0 ;;
45286 --debug | --d* | -d )
45287 debug=: ;;
45288 --file | --fil | --fi | --f )
45289 $ac_shift
45290 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
45291 ac_need_defaults=false;;
45292 --header | --heade | --head | --hea )
45293 $ac_shift
45294 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
45295 ac_need_defaults=false;;
45296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45297 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45298 ac_cs_silent=: ;;
45299
45300 # This is an error.
45301 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45302 Try \`$0 --help' for more information." >&5
45303 echo "$as_me: error: unrecognized option: $1
45304 Try \`$0 --help' for more information." >&2;}
45305 { (exit 1); exit 1; }; } ;;
45306
45307 *) ac_config_targets="$ac_config_targets $1" ;;
45308
45309 esac
45310 shift
45311 done
45312
45313 ac_configure_extra_args=
45314
45315 if $ac_cs_silent; then
45316 exec 6>/dev/null
45317 ac_configure_extra_args="$ac_configure_extra_args --silent"
45318 fi
45319
45320 _ACEOF
45321 cat >>$CONFIG_STATUS <<_ACEOF
45322 if \$ac_cs_recheck; then
45323 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45324 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45325 fi
45326
45327 _ACEOF
45328
45329 cat >>$CONFIG_STATUS <<_ACEOF
45330 #
45331 # INIT-COMMANDS section.
45332 #
45333
45334 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45335 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45336 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45337 LN_S="${LN_S}"
45338
45339
45340 _ACEOF
45341
45342
45343
45344 cat >>$CONFIG_STATUS <<\_ACEOF
45345 for ac_config_target in $ac_config_targets
45346 do
45347 case "$ac_config_target" in
45348 # Handling of arguments.
45349 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45350 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45351 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
45352 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45353 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
45354 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
45355 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45356 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45357 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45358 { (exit 1); exit 1; }; };;
45359 esac
45360 done
45361
45362 # If the user did not use the arguments to specify the items to instantiate,
45363 # then the envvar interface is used. Set only those that are not.
45364 # We use the long form for the default assignment because of an extremely
45365 # bizarre bug on SunOS 4.1.3.
45366 if $ac_need_defaults; then
45367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
45369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
45370 fi
45371
45372 # Have a temporary directory for convenience. Make it in the build tree
45373 # simply because there is no reason to put it here, and in addition,
45374 # creating and moving files from /tmp can sometimes cause problems.
45375 # Create a temporary directory, and hook for its removal unless debugging.
45376 $debug ||
45377 {
45378 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45379 trap '{ (exit 1); exit 1; }' 1 2 13 15
45380 }
45381
45382 # Create a (secure) tmp directory for tmp files.
45383
45384 {
45385 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45386 test -n "$tmp" && test -d "$tmp"
45387 } ||
45388 {
45389 tmp=./confstat$$-$RANDOM
45390 (umask 077 && mkdir $tmp)
45391 } ||
45392 {
45393 echo "$me: cannot create a temporary directory in ." >&2
45394 { (exit 1); exit 1; }
45395 }
45396
45397 _ACEOF
45398
45399 cat >>$CONFIG_STATUS <<_ACEOF
45400
45401 #
45402 # CONFIG_FILES section.
45403 #
45404
45405 # No need to generate the scripts if there are no CONFIG_FILES.
45406 # This happens for instance when ./config.status config.h
45407 if test -n "\$CONFIG_FILES"; then
45408 # Protect against being on the right side of a sed subst in config.status.
45409 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45410 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45411 s,@SHELL@,$SHELL,;t t
45412 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45413 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45414 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45415 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45416 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45417 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45418 s,@exec_prefix@,$exec_prefix,;t t
45419 s,@prefix@,$prefix,;t t
45420 s,@program_transform_name@,$program_transform_name,;t t
45421 s,@bindir@,$bindir,;t t
45422 s,@sbindir@,$sbindir,;t t
45423 s,@libexecdir@,$libexecdir,;t t
45424 s,@datadir@,$datadir,;t t
45425 s,@sysconfdir@,$sysconfdir,;t t
45426 s,@sharedstatedir@,$sharedstatedir,;t t
45427 s,@localstatedir@,$localstatedir,;t t
45428 s,@libdir@,$libdir,;t t
45429 s,@includedir@,$includedir,;t t
45430 s,@oldincludedir@,$oldincludedir,;t t
45431 s,@infodir@,$infodir,;t t
45432 s,@mandir@,$mandir,;t t
45433 s,@build_alias@,$build_alias,;t t
45434 s,@host_alias@,$host_alias,;t t
45435 s,@target_alias@,$target_alias,;t t
45436 s,@DEFS@,$DEFS,;t t
45437 s,@ECHO_C@,$ECHO_C,;t t
45438 s,@ECHO_N@,$ECHO_N,;t t
45439 s,@ECHO_T@,$ECHO_T,;t t
45440 s,@LIBS@,$LIBS,;t t
45441 s,@build@,$build,;t t
45442 s,@build_cpu@,$build_cpu,;t t
45443 s,@build_vendor@,$build_vendor,;t t
45444 s,@build_os@,$build_os,;t t
45445 s,@host@,$host,;t t
45446 s,@host_cpu@,$host_cpu,;t t
45447 s,@host_vendor@,$host_vendor,;t t
45448 s,@host_os@,$host_os,;t t
45449 s,@target@,$target,;t t
45450 s,@target_cpu@,$target_cpu,;t t
45451 s,@target_vendor@,$target_vendor,;t t
45452 s,@target_os@,$target_os,;t t
45453 s,@CC@,$CC,;t t
45454 s,@CFLAGS@,$CFLAGS,;t t
45455 s,@LDFLAGS@,$LDFLAGS,;t t
45456 s,@CPPFLAGS@,$CPPFLAGS,;t t
45457 s,@ac_ct_CC@,$ac_ct_CC,;t t
45458 s,@EXEEXT@,$EXEEXT,;t t
45459 s,@OBJEXT@,$OBJEXT,;t t
45460 s,@CPP@,$CPP,;t t
45461 s,@EGREP@,$EGREP,;t t
45462 s,@CXX@,$CXX,;t t
45463 s,@CXXFLAGS@,$CXXFLAGS,;t t
45464 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45465 s,@RANLIB@,$RANLIB,;t t
45466 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45467 s,@AR@,$AR,;t t
45468 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45469 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45470 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45471 s,@STRIP@,$STRIP,;t t
45472 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45473 s,@LN_S@,$LN_S,;t t
45474 s,@CXXCPP@,$CXXCPP,;t t
45475 s,@subdirs@,$subdirs,;t t
45476 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45477 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45478 s,@GTK_LIBS@,$GTK_LIBS,;t t
45479 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45480 s,@X_CFLAGS@,$X_CFLAGS,;t t
45481 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45482 s,@X_LIBS@,$X_LIBS,;t t
45483 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45484 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45485 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45486 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45487 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45488 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45489 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45490 s,@RESCOMP@,$RESCOMP,;t t
45491 s,@DEREZ@,$DEREZ,;t t
45492 s,@SETFILE@,$SETFILE,;t t
45493 s,@LIBICONV@,$LIBICONV,;t t
45494 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45495 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45496 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45497 s,@SDL_LIBS@,$SDL_LIBS,;t t
45498 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45499 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45500 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45501 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45502 s,@GST_INSPECT@,$GST_INSPECT,;t t
45503 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45504 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45505 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45506 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45507 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45508 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45509 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45510 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45511 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45512 s,@VENDOR@,$VENDOR,;t t
45513 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45514 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45515 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45516 s,@WXUNIV@,$WXUNIV,;t t
45517 s,@MONOLITHIC@,$MONOLITHIC,;t t
45518 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45519 s,@EXTRALIBS@,$EXTRALIBS,;t t
45520 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45521 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45522 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45523 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45524 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45525 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45526 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45527 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45528 s,@UNICODE@,$UNICODE,;t t
45529 s,@BUILD@,$BUILD,;t t
45530 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45531 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45532 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45533 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45534 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45535 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45536 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45537 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45538 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45539 s,@SET_MAKE@,$SET_MAKE,;t t
45540 s,@MAKE_SET@,$MAKE_SET,;t t
45541 s,@ac_ct_AR@,$ac_ct_AR,;t t
45542 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45543 s,@NM@,$NM,;t t
45544 s,@ac_ct_NM@,$ac_ct_NM,;t t
45545 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45546 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45547 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45548 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45549 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45550 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45551 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45552 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45553 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45554 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45555 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45556 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45557 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45558 s,@LIBPREFIX@,$LIBPREFIX,;t t
45559 s,@LIBEXT@,$LIBEXT,;t t
45560 s,@DLLPREFIX@,$DLLPREFIX,;t t
45561 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45562 s,@dlldir@,$dlldir,;t t
45563 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45564 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45565 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45566 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45567 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45568 s,@PIC_FLAG@,$PIC_FLAG,;t t
45569 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45570 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45571 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45572 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45573 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45574 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45575 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45576 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45577 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45578 s,@GCC_PCH@,$GCC_PCH,;t t
45579 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45580 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45581 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45582 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45583 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45584 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45585 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45586 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45587 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45588 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45589 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45590 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45591 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45592 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45593 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45594 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45595 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45596 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45597 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
45598 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
45599 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
45600 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45601 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45602 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45603 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45604 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
45605 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
45606 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
45607 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45608 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45609 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45610 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45611 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45612 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45613 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45614 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45615 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45616 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45617 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45618 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45619 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45620 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45621 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45623 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
45624 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45625 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45626 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45627 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45628 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45629 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45630 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45631 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45632 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45633 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45634 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45635 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45636 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45637 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45638 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45639 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45640 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45641 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45642 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45643 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45644 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45645 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45646 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45647 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45648 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45649 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45650 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45651 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45652 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45653 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45654 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45655 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45656 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45657 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45658 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45659 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45660 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45661 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45662 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45663 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45664 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45665 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45666 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45667 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45668 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45669 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45670 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45671 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45672 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45673 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45674 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45675 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45676 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45677 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45678 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45679 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45680 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45681 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45682 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45683 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45684 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45685 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45686 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45687 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45688 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45689 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45690 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45691 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45692 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45693 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45694 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45695 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45696 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45697 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45698 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45699 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45700 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45701 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45702 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45703 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45704 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45705 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45706 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45707 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45708 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45709 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45710 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45711 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45712 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45713 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45714 s,@SHARED@,$SHARED,;t t
45715 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45716 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45717 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45718 s,@USE_GUI@,$USE_GUI,;t t
45719 s,@AFMINSTALL@,$AFMINSTALL,;t t
45720 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45721 s,@TOOLKIT@,$TOOLKIT,;t t
45722 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45723 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45724 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45725 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45726 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45727 s,@cross_compiling@,$cross_compiling,;t t
45728 s,@WIDGET_SET@,$WIDGET_SET,;t t
45729 s,@WX_RELEASE@,$WX_RELEASE,;t t
45730 s,@WX_VERSION@,$WX_VERSION,;t t
45731 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45732 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45733 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45734 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45735 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45736 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45737 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45738 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45739 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45740 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45741 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45742 s,@EXE_LINKER@,$EXE_LINKER,;t t
45743 s,@GUIDIST@,$GUIDIST,;t t
45744 s,@DISTDIR@,$DISTDIR,;t t
45745 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45746 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45747 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45748 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45749 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45750 s,@RESFLAGS@,$RESFLAGS,;t t
45751 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45752 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45753 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45754 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45755 s,@MACRESCOMP@,$MACRESCOMP,;t t
45756 s,@MACSETFILE@,$MACSETFILE,;t t
45757 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45758 s,@GCC@,$GCC,;t t
45759 s,@DLLTOOL@,$DLLTOOL,;t t
45760 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45761 s,@LIBOBJS@,$LIBOBJS,;t t
45762 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45763 CEOF
45764
45765 _ACEOF
45766
45767 cat >>$CONFIG_STATUS <<\_ACEOF
45768 # Split the substitutions into bite-sized pieces for seds with
45769 # small command number limits, like on Digital OSF/1 and HP-UX.
45770 ac_max_sed_lines=48
45771 ac_sed_frag=1 # Number of current file.
45772 ac_beg=1 # First line for current file.
45773 ac_end=$ac_max_sed_lines # Line after last line for current file.
45774 ac_more_lines=:
45775 ac_sed_cmds=
45776 while $ac_more_lines; do
45777 if test $ac_beg -gt 1; then
45778 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45779 else
45780 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45781 fi
45782 if test ! -s $tmp/subs.frag; then
45783 ac_more_lines=false
45784 else
45785 # The purpose of the label and of the branching condition is to
45786 # speed up the sed processing (if there are no `@' at all, there
45787 # is no need to browse any of the substitutions).
45788 # These are the two extra sed commands mentioned above.
45789 (echo ':t
45790 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45791 if test -z "$ac_sed_cmds"; then
45792 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45793 else
45794 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45795 fi
45796 ac_sed_frag=`expr $ac_sed_frag + 1`
45797 ac_beg=$ac_end
45798 ac_end=`expr $ac_end + $ac_max_sed_lines`
45799 fi
45800 done
45801 if test -z "$ac_sed_cmds"; then
45802 ac_sed_cmds=cat
45803 fi
45804 fi # test -n "$CONFIG_FILES"
45805
45806 _ACEOF
45807 cat >>$CONFIG_STATUS <<\_ACEOF
45808 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45809 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45810 case $ac_file in
45811 - | *:- | *:-:* ) # input from stdin
45812 cat >$tmp/stdin
45813 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45814 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45815 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45816 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45817 * ) ac_file_in=$ac_file.in ;;
45818 esac
45819
45820 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45821 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45823 X"$ac_file" : 'X\(//\)[^/]' \| \
45824 X"$ac_file" : 'X\(//\)$' \| \
45825 X"$ac_file" : 'X\(/\)' \| \
45826 . : '\(.\)' 2>/dev/null ||
45827 echo X"$ac_file" |
45828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45829 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45830 /^X\(\/\/\)$/{ s//\1/; q; }
45831 /^X\(\/\).*/{ s//\1/; q; }
45832 s/.*/./; q'`
45833 { if $as_mkdir_p; then
45834 mkdir -p "$ac_dir"
45835 else
45836 as_dir="$ac_dir"
45837 as_dirs=
45838 while test ! -d "$as_dir"; do
45839 as_dirs="$as_dir $as_dirs"
45840 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45842 X"$as_dir" : 'X\(//\)[^/]' \| \
45843 X"$as_dir" : 'X\(//\)$' \| \
45844 X"$as_dir" : 'X\(/\)' \| \
45845 . : '\(.\)' 2>/dev/null ||
45846 echo X"$as_dir" |
45847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45849 /^X\(\/\/\)$/{ s//\1/; q; }
45850 /^X\(\/\).*/{ s//\1/; q; }
45851 s/.*/./; q'`
45852 done
45853 test ! -n "$as_dirs" || mkdir $as_dirs
45854 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45855 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45856 { (exit 1); exit 1; }; }; }
45857
45858 ac_builddir=.
45859
45860 if test "$ac_dir" != .; then
45861 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45862 # A "../" for each directory in $ac_dir_suffix.
45863 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45864 else
45865 ac_dir_suffix= ac_top_builddir=
45866 fi
45867
45868 case $srcdir in
45869 .) # No --srcdir option. We are building in place.
45870 ac_srcdir=.
45871 if test -z "$ac_top_builddir"; then
45872 ac_top_srcdir=.
45873 else
45874 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45875 fi ;;
45876 [\\/]* | ?:[\\/]* ) # Absolute path.
45877 ac_srcdir=$srcdir$ac_dir_suffix;
45878 ac_top_srcdir=$srcdir ;;
45879 *) # Relative path.
45880 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45881 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45882 esac
45883
45884 # Do not use `cd foo && pwd` to compute absolute paths, because
45885 # the directories may not exist.
45886 case `pwd` in
45887 .) ac_abs_builddir="$ac_dir";;
45888 *)
45889 case "$ac_dir" in
45890 .) ac_abs_builddir=`pwd`;;
45891 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45892 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45893 esac;;
45894 esac
45895 case $ac_abs_builddir in
45896 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45897 *)
45898 case ${ac_top_builddir}. in
45899 .) ac_abs_top_builddir=$ac_abs_builddir;;
45900 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45901 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45902 esac;;
45903 esac
45904 case $ac_abs_builddir in
45905 .) ac_abs_srcdir=$ac_srcdir;;
45906 *)
45907 case $ac_srcdir in
45908 .) ac_abs_srcdir=$ac_abs_builddir;;
45909 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45910 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45911 esac;;
45912 esac
45913 case $ac_abs_builddir in
45914 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45915 *)
45916 case $ac_top_srcdir in
45917 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45918 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45919 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45920 esac;;
45921 esac
45922
45923
45924 case $INSTALL in
45925 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45926 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45927 esac
45928
45929 # Let's still pretend it is `configure' which instantiates (i.e., don't
45930 # use $as_me), people would be surprised to read:
45931 # /* config.h. Generated by config.status. */
45932 if test x"$ac_file" = x-; then
45933 configure_input=
45934 else
45935 configure_input="$ac_file. "
45936 fi
45937 configure_input=$configure_input"Generated from `echo $ac_file_in |
45938 sed 's,.*/,,'` by configure."
45939
45940 # First look for the input files in the build tree, otherwise in the
45941 # src tree.
45942 ac_file_inputs=`IFS=:
45943 for f in $ac_file_in; do
45944 case $f in
45945 -) echo $tmp/stdin ;;
45946 [\\/$]*)
45947 # Absolute (can't be DOS-style, as IFS=:)
45948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45949 echo "$as_me: error: cannot find input file: $f" >&2;}
45950 { (exit 1); exit 1; }; }
45951 echo "$f";;
45952 *) # Relative
45953 if test -f "$f"; then
45954 # Build tree
45955 echo "$f"
45956 elif test -f "$srcdir/$f"; then
45957 # Source tree
45958 echo "$srcdir/$f"
45959 else
45960 # /dev/null tree
45961 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45962 echo "$as_me: error: cannot find input file: $f" >&2;}
45963 { (exit 1); exit 1; }; }
45964 fi;;
45965 esac
45966 done` || { (exit 1); exit 1; }
45967
45968 if test x"$ac_file" != x-; then
45969 { echo "$as_me:$LINENO: creating $ac_file" >&5
45970 echo "$as_me: creating $ac_file" >&6;}
45971 rm -f "$ac_file"
45972 fi
45973 _ACEOF
45974 cat >>$CONFIG_STATUS <<_ACEOF
45975 sed "$ac_vpsub
45976 $extrasub
45977 _ACEOF
45978 cat >>$CONFIG_STATUS <<\_ACEOF
45979 :t
45980 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45981 s,@configure_input@,$configure_input,;t t
45982 s,@srcdir@,$ac_srcdir,;t t
45983 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45984 s,@top_srcdir@,$ac_top_srcdir,;t t
45985 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45986 s,@builddir@,$ac_builddir,;t t
45987 s,@abs_builddir@,$ac_abs_builddir,;t t
45988 s,@top_builddir@,$ac_top_builddir,;t t
45989 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45990 s,@INSTALL@,$ac_INSTALL,;t t
45991 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45992 rm -f $tmp/stdin
45993 if test x"$ac_file" != x-; then
45994 mv $tmp/out $ac_file
45995 else
45996 cat $tmp/out
45997 rm -f $tmp/out
45998 fi
45999
46000 # Run the commands associated with the file.
46001 case $ac_file in
46002 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46003 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46004 esac
46005 done
46006 _ACEOF
46007 cat >>$CONFIG_STATUS <<\_ACEOF
46008
46009 #
46010 # CONFIG_HEADER section.
46011 #
46012
46013 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
46014 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46015 #
46016 # ac_d sets the value in "#define NAME VALUE" lines.
46017 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46018 ac_dB='[ ].*$,\1#\2'
46019 ac_dC=' '
46020 ac_dD=',;t'
46021 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46022 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46023 ac_uB='$,\1#\2define\3'
46024 ac_uC=' '
46025 ac_uD=',;t'
46026
46027 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
46028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46029 case $ac_file in
46030 - | *:- | *:-:* ) # input from stdin
46031 cat >$tmp/stdin
46032 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46033 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46034 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
46035 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
46036 * ) ac_file_in=$ac_file.in ;;
46037 esac
46038
46039 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46040 echo "$as_me: creating $ac_file" >&6;}
46041
46042 # First look for the input files in the build tree, otherwise in the
46043 # src tree.
46044 ac_file_inputs=`IFS=:
46045 for f in $ac_file_in; do
46046 case $f in
46047 -) echo $tmp/stdin ;;
46048 [\\/$]*)
46049 # Absolute (can't be DOS-style, as IFS=:)
46050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46051 echo "$as_me: error: cannot find input file: $f" >&2;}
46052 { (exit 1); exit 1; }; }
46053 # Do quote $f, to prevent DOS paths from being IFS'd.
46054 echo "$f";;
46055 *) # Relative
46056 if test -f "$f"; then
46057 # Build tree
46058 echo "$f"
46059 elif test -f "$srcdir/$f"; then
46060 # Source tree
46061 echo "$srcdir/$f"
46062 else
46063 # /dev/null tree
46064 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46065 echo "$as_me: error: cannot find input file: $f" >&2;}
46066 { (exit 1); exit 1; }; }
46067 fi;;
46068 esac
46069 done` || { (exit 1); exit 1; }
46070 # Remove the trailing spaces.
46071 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46072
46073 _ACEOF
46074
46075 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46076 # `conftest.undefs', that substitutes the proper values into
46077 # config.h.in to produce config.h. The first handles `#define'
46078 # templates, and the second `#undef' templates.
46079 # And first: Protect against being on the right side of a sed subst in
46080 # config.status. Protect against being in an unquoted here document
46081 # in config.status.
46082 rm -f conftest.defines conftest.undefs
46083 # Using a here document instead of a string reduces the quoting nightmare.
46084 # Putting comments in sed scripts is not portable.
46085 #
46086 # `end' is used to avoid that the second main sed command (meant for
46087 # 0-ary CPP macros) applies to n-ary macro definitions.
46088 # See the Autoconf documentation for `clear'.
46089 cat >confdef2sed.sed <<\_ACEOF
46090 s/[\\&,]/\\&/g
46091 s,[\\$`],\\&,g
46092 t clear
46093 : clear
46094 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46095 t end
46096 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46097 : end
46098 _ACEOF
46099 # If some macros were called several times there might be several times
46100 # the same #defines, which is useless. Nevertheless, we may not want to
46101 # sort them, since we want the *last* AC-DEFINE to be honored.
46102 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46103 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46104 rm -f confdef2sed.sed
46105
46106 # This sed command replaces #undef with comments. This is necessary, for
46107 # example, in the case of _POSIX_SOURCE, which is predefined and required
46108 # on some systems where configure will not decide to define it.
46109 cat >>conftest.undefs <<\_ACEOF
46110 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46111 _ACEOF
46112
46113 # Break up conftest.defines because some shells have a limit on the size
46114 # of here documents, and old seds have small limits too (100 cmds).
46115 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46116 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46117 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46118 echo ' :' >>$CONFIG_STATUS
46119 rm -f conftest.tail
46120 while grep . conftest.defines >/dev/null
46121 do
46122 # Write a limited-size here document to $tmp/defines.sed.
46123 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46124 # Speed up: don't consider the non `#define' lines.
46125 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46126 # Work around the forget-to-reset-the-flag bug.
46127 echo 't clr' >>$CONFIG_STATUS
46128 echo ': clr' >>$CONFIG_STATUS
46129 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
46130 echo 'CEOF
46131 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46132 rm -f $tmp/in
46133 mv $tmp/out $tmp/in
46134 ' >>$CONFIG_STATUS
46135 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
46136 rm -f conftest.defines
46137 mv conftest.tail conftest.defines
46138 done
46139 rm -f conftest.defines
46140 echo ' fi # grep' >>$CONFIG_STATUS
46141 echo >>$CONFIG_STATUS
46142
46143 # Break up conftest.undefs because some shells have a limit on the size
46144 # of here documents, and old seds have small limits too (100 cmds).
46145 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46146 rm -f conftest.tail
46147 while grep . conftest.undefs >/dev/null
46148 do
46149 # Write a limited-size here document to $tmp/undefs.sed.
46150 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46151 # Speed up: don't consider the non `#undef'
46152 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46153 # Work around the forget-to-reset-the-flag bug.
46154 echo 't clr' >>$CONFIG_STATUS
46155 echo ': clr' >>$CONFIG_STATUS
46156 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46157 echo 'CEOF
46158 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46159 rm -f $tmp/in
46160 mv $tmp/out $tmp/in
46161 ' >>$CONFIG_STATUS
46162 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46163 rm -f conftest.undefs
46164 mv conftest.tail conftest.undefs
46165 done
46166 rm -f conftest.undefs
46167
46168 cat >>$CONFIG_STATUS <<\_ACEOF
46169 # Let's still pretend it is `configure' which instantiates (i.e., don't
46170 # use $as_me), people would be surprised to read:
46171 # /* config.h. Generated by config.status. */
46172 if test x"$ac_file" = x-; then
46173 echo "/* Generated by configure. */" >$tmp/config.h
46174 else
46175 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46176 fi
46177 cat $tmp/in >>$tmp/config.h
46178 rm -f $tmp/in
46179 if test x"$ac_file" != x-; then
46180 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
46181 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46182 echo "$as_me: $ac_file is unchanged" >&6;}
46183 else
46184 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
46185 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46186 X"$ac_file" : 'X\(//\)[^/]' \| \
46187 X"$ac_file" : 'X\(//\)$' \| \
46188 X"$ac_file" : 'X\(/\)' \| \
46189 . : '\(.\)' 2>/dev/null ||
46190 echo X"$ac_file" |
46191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46193 /^X\(\/\/\)$/{ s//\1/; q; }
46194 /^X\(\/\).*/{ s//\1/; q; }
46195 s/.*/./; q'`
46196 { if $as_mkdir_p; then
46197 mkdir -p "$ac_dir"
46198 else
46199 as_dir="$ac_dir"
46200 as_dirs=
46201 while test ! -d "$as_dir"; do
46202 as_dirs="$as_dir $as_dirs"
46203 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46205 X"$as_dir" : 'X\(//\)[^/]' \| \
46206 X"$as_dir" : 'X\(//\)$' \| \
46207 X"$as_dir" : 'X\(/\)' \| \
46208 . : '\(.\)' 2>/dev/null ||
46209 echo X"$as_dir" |
46210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46212 /^X\(\/\/\)$/{ s//\1/; q; }
46213 /^X\(\/\).*/{ s//\1/; q; }
46214 s/.*/./; q'`
46215 done
46216 test ! -n "$as_dirs" || mkdir $as_dirs
46217 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46218 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46219 { (exit 1); exit 1; }; }; }
46220
46221 rm -f $ac_file
46222 mv $tmp/config.h $ac_file
46223 fi
46224 else
46225 cat $tmp/config.h
46226 rm -f $tmp/config.h
46227 fi
46228 done
46229 _ACEOF
46230 cat >>$CONFIG_STATUS <<\_ACEOF
46231
46232 #
46233 # CONFIG_COMMANDS section.
46234 #
46235 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
46236 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
46237 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
46238 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
46239 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46240 X"$ac_dest" : 'X\(//\)[^/]' \| \
46241 X"$ac_dest" : 'X\(//\)$' \| \
46242 X"$ac_dest" : 'X\(/\)' \| \
46243 . : '\(.\)' 2>/dev/null ||
46244 echo X"$ac_dest" |
46245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46247 /^X\(\/\/\)$/{ s//\1/; q; }
46248 /^X\(\/\).*/{ s//\1/; q; }
46249 s/.*/./; q'`
46250 { if $as_mkdir_p; then
46251 mkdir -p "$ac_dir"
46252 else
46253 as_dir="$ac_dir"
46254 as_dirs=
46255 while test ! -d "$as_dir"; do
46256 as_dirs="$as_dir $as_dirs"
46257 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46259 X"$as_dir" : 'X\(//\)[^/]' \| \
46260 X"$as_dir" : 'X\(//\)$' \| \
46261 X"$as_dir" : 'X\(/\)' \| \
46262 . : '\(.\)' 2>/dev/null ||
46263 echo X"$as_dir" |
46264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46266 /^X\(\/\/\)$/{ s//\1/; q; }
46267 /^X\(\/\).*/{ s//\1/; q; }
46268 s/.*/./; q'`
46269 done
46270 test ! -n "$as_dirs" || mkdir $as_dirs
46271 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46272 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46273 { (exit 1); exit 1; }; }; }
46274
46275 ac_builddir=.
46276
46277 if test "$ac_dir" != .; then
46278 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46279 # A "../" for each directory in $ac_dir_suffix.
46280 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46281 else
46282 ac_dir_suffix= ac_top_builddir=
46283 fi
46284
46285 case $srcdir in
46286 .) # No --srcdir option. We are building in place.
46287 ac_srcdir=.
46288 if test -z "$ac_top_builddir"; then
46289 ac_top_srcdir=.
46290 else
46291 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46292 fi ;;
46293 [\\/]* | ?:[\\/]* ) # Absolute path.
46294 ac_srcdir=$srcdir$ac_dir_suffix;
46295 ac_top_srcdir=$srcdir ;;
46296 *) # Relative path.
46297 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46298 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46299 esac
46300
46301 # Do not use `cd foo && pwd` to compute absolute paths, because
46302 # the directories may not exist.
46303 case `pwd` in
46304 .) ac_abs_builddir="$ac_dir";;
46305 *)
46306 case "$ac_dir" in
46307 .) ac_abs_builddir=`pwd`;;
46308 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46309 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46310 esac;;
46311 esac
46312 case $ac_abs_builddir in
46313 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46314 *)
46315 case ${ac_top_builddir}. in
46316 .) ac_abs_top_builddir=$ac_abs_builddir;;
46317 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46318 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46319 esac;;
46320 esac
46321 case $ac_abs_builddir in
46322 .) ac_abs_srcdir=$ac_srcdir;;
46323 *)
46324 case $ac_srcdir in
46325 .) ac_abs_srcdir=$ac_abs_builddir;;
46326 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46327 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46328 esac;;
46329 esac
46330 case $ac_abs_builddir in
46331 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46332 *)
46333 case $ac_top_srcdir in
46334 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46335 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46336 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46337 esac;;
46338 esac
46339
46340
46341 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46342 echo "$as_me: executing $ac_dest commands" >&6;}
46343 case $ac_dest in
46344 wx-config ) rm -f wx-config
46345 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
46346 ;;
46347 esac
46348 done
46349 _ACEOF
46350
46351 cat >>$CONFIG_STATUS <<\_ACEOF
46352
46353 { (exit 0); exit 0; }
46354 _ACEOF
46355 chmod +x $CONFIG_STATUS
46356 ac_clean_files=$ac_clean_files_save
46357
46358
46359 # configure is writing to config.log, and then calls config.status.
46360 # config.status does its own redirection, appending to config.log.
46361 # Unfortunately, on DOS this fails, as config.log is still kept open
46362 # by configure, so config.status won't be able to write to it; its
46363 # output is simply discarded. So we exec the FD to /dev/null,
46364 # effectively closing config.log, so it can be properly (re)opened and
46365 # appended to by config.status. When coming back to configure, we
46366 # need to make the FD available again.
46367 if test "$no_create" != yes; then
46368 ac_cs_success=:
46369 ac_config_status_args=
46370 test "$silent" = yes &&
46371 ac_config_status_args="$ac_config_status_args --quiet"
46372 exec 5>/dev/null
46373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46374 exec 5>>config.log
46375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46376 # would make configure fail if this is the last instruction.
46377 $ac_cs_success || { (exit 1); exit 1; }
46378 fi
46379
46380 #
46381 # CONFIG_SUBDIRS section.
46382 #
46383 if test "$no_recursion" != yes; then
46384
46385 # Remove --cache-file and --srcdir arguments so they do not pile up.
46386 ac_sub_configure_args=
46387 ac_prev=
46388 for ac_arg in $ac_configure_args; do
46389 if test -n "$ac_prev"; then
46390 ac_prev=
46391 continue
46392 fi
46393 case $ac_arg in
46394 -cache-file | --cache-file | --cache-fil | --cache-fi \
46395 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46396 ac_prev=cache_file ;;
46397 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46398 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46399 | --c=*)
46400 ;;
46401 --config-cache | -C)
46402 ;;
46403 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46404 ac_prev=srcdir ;;
46405 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46406 ;;
46407 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46408 ac_prev=prefix ;;
46409 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46410 ;;
46411 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
46412 esac
46413 done
46414
46415 # Always prepend --prefix to ensure using the same prefix
46416 # in subdir configurations.
46417 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
46418
46419 ac_popdir=`pwd`
46420 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
46421
46422 # Do not complain, so a configure script can configure whichever
46423 # parts of a large source tree are present.
46424 test -d $srcdir/$ac_dir || continue
46425
46426 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46427 echo "$as_me: configuring in $ac_dir" >&6;}
46428 { if $as_mkdir_p; then
46429 mkdir -p "$ac_dir"
46430 else
46431 as_dir="$ac_dir"
46432 as_dirs=
46433 while test ! -d "$as_dir"; do
46434 as_dirs="$as_dir $as_dirs"
46435 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46437 X"$as_dir" : 'X\(//\)[^/]' \| \
46438 X"$as_dir" : 'X\(//\)$' \| \
46439 X"$as_dir" : 'X\(/\)' \| \
46440 . : '\(.\)' 2>/dev/null ||
46441 echo X"$as_dir" |
46442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46444 /^X\(\/\/\)$/{ s//\1/; q; }
46445 /^X\(\/\).*/{ s//\1/; q; }
46446 s/.*/./; q'`
46447 done
46448 test ! -n "$as_dirs" || mkdir $as_dirs
46449 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46451 { (exit 1); exit 1; }; }; }
46452
46453 ac_builddir=.
46454
46455 if test "$ac_dir" != .; then
46456 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46457 # A "../" for each directory in $ac_dir_suffix.
46458 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46459 else
46460 ac_dir_suffix= ac_top_builddir=
46461 fi
46462
46463 case $srcdir in
46464 .) # No --srcdir option. We are building in place.
46465 ac_srcdir=.
46466 if test -z "$ac_top_builddir"; then
46467 ac_top_srcdir=.
46468 else
46469 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46470 fi ;;
46471 [\\/]* | ?:[\\/]* ) # Absolute path.
46472 ac_srcdir=$srcdir$ac_dir_suffix;
46473 ac_top_srcdir=$srcdir ;;
46474 *) # Relative path.
46475 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46476 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46477 esac
46478
46479 # Do not use `cd foo && pwd` to compute absolute paths, because
46480 # the directories may not exist.
46481 case `pwd` in
46482 .) ac_abs_builddir="$ac_dir";;
46483 *)
46484 case "$ac_dir" in
46485 .) ac_abs_builddir=`pwd`;;
46486 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46487 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46488 esac;;
46489 esac
46490 case $ac_abs_builddir in
46491 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46492 *)
46493 case ${ac_top_builddir}. in
46494 .) ac_abs_top_builddir=$ac_abs_builddir;;
46495 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46496 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46497 esac;;
46498 esac
46499 case $ac_abs_builddir in
46500 .) ac_abs_srcdir=$ac_srcdir;;
46501 *)
46502 case $ac_srcdir in
46503 .) ac_abs_srcdir=$ac_abs_builddir;;
46504 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46505 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46506 esac;;
46507 esac
46508 case $ac_abs_builddir in
46509 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46510 *)
46511 case $ac_top_srcdir in
46512 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46513 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46514 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46515 esac;;
46516 esac
46517
46518
46519 cd $ac_dir
46520
46521 # Check for guested configure; otherwise get Cygnus style configure.
46522 if test -f $ac_srcdir/configure.gnu; then
46523 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46524 elif test -f $ac_srcdir/configure; then
46525 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46526 elif test -f $ac_srcdir/configure.in; then
46527 ac_sub_configure=$ac_configure
46528 else
46529 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46530 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46531 ac_sub_configure=
46532 fi
46533
46534 # The recursion is here.
46535 if test -n "$ac_sub_configure"; then
46536 # Make the cache file name correct relative to the subdirectory.
46537 case $cache_file in
46538 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46539 *) # Relative path.
46540 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46541 esac
46542
46543 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46544 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46545 # The eval makes quoting arguments work.
46546 eval $ac_sub_configure $ac_sub_configure_args \
46547 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46548 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46549 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46550 { (exit 1); exit 1; }; }
46551 fi
46552
46553 cd "$ac_popdir"
46554 done
46555 fi
46556
46557
46558 echo
46559 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46560 echo ""
46561 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46562 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46563
46564 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46565 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46566 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46567
46568 echo " What level of wxWidgets compatibility should be enabled?"
46569 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46570 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46571
46572 echo " Which libraries should wxWidgets use?"
46573 echo " jpeg ${wxUSE_LIBJPEG-none}"
46574 echo " png ${wxUSE_LIBPNG-none}"
46575 echo " regex ${wxUSE_REGEX}"
46576 echo " tiff ${wxUSE_LIBTIFF-none}"
46577 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46578 echo " xpm ${wxUSE_LIBXPM-none}"
46579 fi
46580 echo " zlib ${wxUSE_ZLIB}"
46581 echo " odbc ${wxUSE_ODBC}"
46582 echo " expat ${wxUSE_EXPAT}"
46583 echo " libmspack ${wxUSE_LIBMSPACK}"
46584 echo " sdl ${wxUSE_LIBSDL}"
46585 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46586
46587 echo ""
46588