respect label foreground colour for static boxes when using XP themes
[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.0.
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.0'
274 PACKAGE_STRING='wxWidgets 2.6.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_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_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.6.0 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.0:";;
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 (Windows only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images (GIF file format)
1038 --enable-pcx use pcx images (PCX file format)
1039 --enable-iff use iff images (IFF file format)
1040 --enable-pnm use pnm images (PNM file format)
1041 --enable-xpm use xpm images (XPM file format)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets (win32 DLL only)
1044 --enable-vendor=VENDOR vendor name (win32 DLL only)
1045 --disable-largefile omit support for large files
1046 --disable-gtktest do not try to compile and run a test GTK+ program
1047 --disable-gtktest Do not try to compile and run a test GTK program
1048 --disable-sdltest Do not try to compile and run a test SDL program
1049 --enable-omf use OMF object format (OS/2)
1050 --disable-precomp-headers
1051 don't use precompiled headers even if compiler can
1052
1053 Optional Packages:
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1065 --with-x11 use X11
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1096 CPP C preprocessor
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1100
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1103
1104 Report bugs to <wx-dev@lists.wxwidgets.org>.
1105 _ACEOF
1106 fi
1107
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1110 ac_popdir=`pwd`
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1113 ac_builddir=.
1114
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 else
1120 ac_dir_suffix= ac_top_builddir=
1121 fi
1122
1123 case $srcdir in
1124 .) # No --srcdir option. We are building in place.
1125 ac_srcdir=.
1126 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir=.
1128 else
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 fi ;;
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1134 *) # Relative path.
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1137 esac
1138
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1141 case `pwd` in
1142 .) ac_abs_builddir="$ac_dir";;
1143 *)
1144 case "$ac_dir" in
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *)
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1161 *)
1162 case $ac_srcdir in
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1166 esac;;
1167 esac
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *)
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 esac;;
1176 esac
1177
1178 cd $ac_dir
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1181 echo
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1184 echo
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1188 echo
1189 $ac_configure --help
1190 else
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 fi
1193 cd $ac_popdir
1194 done
1195 fi
1196
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1199 cat <<\_ACEOF
1200 wxWidgets configure 2.6.0
1201 generated by GNU Autoconf 2.59
1202
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1206 _ACEOF
1207 exit 0
1208 fi
1209 exec 5>config.log
1210 cat >&5 <<_ACEOF
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1213
1214 It was created by wxWidgets $as_me 2.6.0, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1216
1217 $ $0 $@
1218
1219 _ACEOF
1220 {
1221 cat <<_ASUNAME
1222 ## --------- ##
1223 ## Platform. ##
1224 ## --------- ##
1225
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242
1243 _ASUNAME
1244
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1246 for as_dir in $PATH
1247 do
1248 IFS=$as_save_IFS
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1251 done
1252
1253 } >&5
1254
1255 cat >&5 <<_ACEOF
1256
1257
1258 ## ----------- ##
1259 ## Core tests. ##
1260 ## ----------- ##
1261
1262 _ACEOF
1263
1264
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_configure_args=
1271 ac_configure_args0=
1272 ac_configure_args1=
1273 ac_sep=
1274 ac_must_keep_next=false
1275 for ac_pass in 1 2
1276 do
1277 for ac_arg
1278 do
1279 case $ac_arg in
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1283 continue ;;
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 esac
1287 case $ac_pass in
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 2)
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1293 else
1294 case $ac_arg in
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 esac
1302 ;;
1303 -* ) ac_must_keep_next=true ;;
1304 esac
1305 fi
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1308 ac_sep=" "
1309 ;;
1310 esac
1311 done
1312 done
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1323 {
1324 echo
1325
1326 cat <<\_ASBOX
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1330 _ASBOX
1331 echo
1332 # The following way of writing the cache mishandles newlines in values,
1333 {
1334 (set) 2>&1 |
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 *ac_space=\ *)
1337 sed -n \
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 ;;
1341 *)
1342 sed -n \
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ;;
1345 esac;
1346 }
1347 echo
1348
1349 cat <<\_ASBOX
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_vars
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361
1362 if test -n "$ac_subst_files"; then
1363 cat <<\_ASBOX
1364 ## ------------- ##
1365 ## Output files. ##
1366 ## ------------- ##
1367 _ASBOX
1368 echo
1369 for ac_var in $ac_subst_files
1370 do
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1373 done | sort
1374 echo
1375 fi
1376
1377 if test -s confdefs.h; then
1378 cat <<\_ASBOX
1379 ## ----------- ##
1380 ## confdefs.h. ##
1381 ## ----------- ##
1382 _ASBOX
1383 echo
1384 sed "/^$/d" confdefs.h | sort
1385 echo
1386 fi
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1390 } >&5
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 exit $exit_status
1394 ' 0
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 done
1398 ac_signal=0
1399
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 echo >confdefs.h
1404
1405 # Predefined preprocessor variables.
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 _ACEOF
1425
1426
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 _ACEOF
1430
1431
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 else
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 fi
1440 fi
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1446 . "$ac_site_file"
1447 fi
1448 done
1449
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1456 case $cache_file in
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1459 esac
1460 fi
1461 else
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1464 >$cache_file
1465 fi
1466
1467 # Check that the precious variables saved in the cache have kept the same
1468 # value.
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1477 set,)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,set)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,);;
1486 *)
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1508 fi
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553 ac_aux_dir=
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if test -f $ac_dir/install-sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install-sh -c"
1558 break
1559 elif test -f $ac_dir/install.sh; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/install.sh -c"
1562 break
1563 elif test -f $ac_dir/shtool; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1566 break
1567 fi
1568 done
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1573 fi
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4 >/dev/null 2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 ac_cv_build_alias=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1600
1601 fi
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1604 build=$ac_cv_build
1605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608
1609
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 else
1615 ac_cv_host_alias=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias=$ac_cv_build_alias
1618 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1622
1623 fi
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1626 host=$ac_cv_host
1627 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630
1631
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 ac_cv_target_alias=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias=$ac_cv_host_alias
1640 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1644
1645 fi
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target=$ac_cv_target
1649 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652
1653
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1658 NONENONEs,x,x, &&
1659 program_prefix=${target_alias}-
1660
1661
1662
1663 wx_major_version_number=2
1664 wx_minor_version_number=6
1665 wx_release_number=0
1666 wx_subrelease_number=1
1667
1668 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1669 WX_VERSION=$WX_RELEASE.$wx_release_number
1670 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1671
1672 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1673
1674 WX_CURRENT=0
1675 WX_REVISION=0
1676 WX_AGE=0
1677
1678
1679
1680 USE_UNIX=1
1681 USE_OS2=0
1682 USE_WIN32=0
1683 USE_DOS=0
1684 USE_BEOS=0
1685 USE_MAC=0
1686
1687 USE_AIX=
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1689 USE_GNU= USE_HPUX=
1690 USE_LINUX=
1691 USE_NETBSD=
1692 USE_OPENBSD=
1693 USE_OSF= USE_SGI=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1695 USE_ULTRIX=
1696 USE_UNIXWARE=
1697
1698 USE_ALPHA=
1699
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703
1704 DEFAULT_wxUSE_COCOA=0
1705 DEFAULT_wxUSE_GTK=0
1706 DEFAULT_wxUSE_MAC=0
1707 DEFAULT_wxUSE_MGL=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_wxUSE_MSW=0
1711 DEFAULT_wxUSE_PM=0
1712 DEFAULT_wxUSE_X11=0
1713
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1723
1724 PROGRAM_EXT=
1725 SO_SUFFIX=so
1726 SAMPLES_RPATH_FLAG=
1727 SAMPLES_RPATH_POSTLINK=
1728
1729 DEFAULT_STD_FLAG=yes
1730
1731 case "${host}" in
1732 *-hp-hpux* )
1733 USE_HPUX=1
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 SO_SUFFIX=sl
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __HPUX__ 1
1739 _ACEOF
1740
1741 ;;
1742 *-*-linux* )
1743 USE_LINUX=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __LINUX__ 1
1746 _ACEOF
1747
1748 TMP=`uname -m`
1749 if test "x$TMP" = "xalpha"; then
1750 USE_ALPHA=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __ALPHA__ 1
1753 _ACEOF
1754
1755 fi
1756 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 ;;
1758 *-*-gnu* | *-*-k*bsd*-gnu )
1759 USE_GNU=1
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-irix5* | *-*-irix6* )
1771 USE_SGI=1
1772 USE_SVR4=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SGI__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 ;;
1783 *-*-solaris2* )
1784 USE_SUN=1
1785 USE_SOLARIS=1
1786 USE_SVR4=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SOLARIS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SVR4__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1801 ;;
1802 *-*-sunos4* )
1803 USE_SUN=1
1804 USE_SUNOS=1
1805 USE_BSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUN__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __SUNOS__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __BSD__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-freebsd*)
1821 USE_BSD=1
1822 USE_FREEBSD=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __FREEBSD__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __BSD__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_GTK=1
1832 ;;
1833 *-*-openbsd*)
1834 USE_BSD=1
1835 USE_OPENBSD=1
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __OPENBSD__ 1
1838 _ACEOF
1839
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __BSD__ 1
1842 _ACEOF
1843
1844 DEFAULT_DEFAULT_wxUSE_GTK=1
1845 ;;
1846 *-*-netbsd*)
1847 USE_BSD=1
1848 USE_NETBSD=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __NETBSD__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __BSD__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_GTK=1
1858 ;;
1859 *-*-osf* )
1860 USE_ALPHA=1
1861 USE_OSF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __ALPHA__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __OSF__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 ;;
1873 *-*-dgux5* )
1874 USE_ALPHA=1
1875 USE_SVR4=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SVR4__ 1
1882 _ACEOF
1883
1884 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1885 ;;
1886 *-*-sysv5* )
1887 USE_SYSV=1
1888 USE_SVR4=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899 *-*-aix* )
1900 USE_AIX=1
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 SO_SUFFIX=a
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __AIX__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SYSV__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SVR4__ 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 ;;
1918
1919 *-*-*UnixWare*)
1920 USE_SYSV=1
1921 USE_SVR4=1
1922 USE_UNIXWARE=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __UNIXWARE__ 1
1925 _ACEOF
1926
1927 ;;
1928
1929 *-*-cygwin* | *-*-mingw32* )
1930 SO_SUFFIX=dll
1931 PROGRAM_EXT=".exe"
1932 RESCOMP=windres
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 powerpc-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_DIRECTSHOW=no
2097 DEFAULT_wxUSE_INTL=no
2098 DEFAULT_wxUSE_CONFIG=no
2099 DEFAULT_wxUSE_FONTMAP=no
2100 DEFAULT_wxUSE_STREAMS=no
2101 DEFAULT_wxUSE_SOCKETS=no
2102 DEFAULT_wxUSE_OLE=no
2103 DEFAULT_wxUSE_DATAOBJ=no
2104 DEFAULT_wxUSE_DIALUP_MANAGER=no
2105 DEFAULT_wxUSE_JOYSTICK=no
2106 DEFAULT_wxUSE_DYNLIB_CLASS=no
2107 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2108 DEFAULT_wxUSE_LONGLONG=no
2109 DEFAULT_wxUSE_GEOMETRY=no
2110
2111 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2112 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2113 DEFAULT_wxUSE_POSTSCRIPT=no
2114
2115 DEFAULT_wxUSE_CLIPBOARD=no
2116 DEFAULT_wxUSE_TOOLTIPS=no
2117 DEFAULT_wxUSE_DRAG_AND_DROP=no
2118 DEFAULT_wxUSE_DRAGIMAGE=no
2119 DEFAULT_wxUSE_SPLINES=no
2120 DEFAULT_wxUSE_MOUSEWHEEL=no
2121
2122 DEFAULT_wxUSE_MDI=no
2123 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2124 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2125 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2126
2127 DEFAULT_wxUSE_RESOURCES=no
2128 DEFAULT_wxUSE_CONSTRAINTS=no
2129 DEFAULT_wxUSE_IPC=no
2130 DEFAULT_wxUSE_HELP=no
2131 DEFAULT_wxUSE_MS_HTML_HELP=no
2132 DEFAULT_wxUSE_WXHTML_HELP=no
2133 DEFAULT_wxUSE_TREELAYOUT=no
2134 DEFAULT_wxUSE_METAFILE=no
2135 DEFAULT_wxUSE_MIMETYPE=no
2136 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2137 DEFAULT_wxUSE_PROTOCOL=no
2138 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FTP=no
2140 DEFAULT_wxUSE_PROTOCOL_FILE=no
2141 DEFAULT_wxUSE_URL=no
2142
2143 DEFAULT_wxUSE_COMMONDLGS=no
2144 DEFAULT_wxUSE_CHOICEDLG=no
2145 DEFAULT_wxUSE_COLOURDLG=no
2146 DEFAULT_wxUSE_DIRDLG=no
2147 DEFAULT_wxUSE_FILEDLG=no
2148 DEFAULT_wxUSE_FINDREPLDLG=no
2149 DEFAULT_wxUSE_FONTDLG=no
2150 DEFAULT_wxUSE_MSGDLG=no
2151 DEFAULT_wxUSE_NUMBERDLG=no
2152 DEFAULT_wxUSE_TEXTDLG=no
2153 DEFAULT_wxUSE_SPLASH=no
2154 DEFAULT_wxUSE_STARTUP_TIPS=no
2155 DEFAULT_wxUSE_PROGRESSDLG=no
2156 DEFAULT_wxUSE_WIZARDDLG=no
2157
2158 DEFAULT_wxUSE_MENUS=no
2159 DEFAULT_wxUSE_MINIFRAME=no
2160 DEFAULT_wxUSE_HTML=no
2161 DEFAULT_wxUSE_XRC=no
2162 DEFAULT_wxUSE_WEBKIT=no
2163 DEFAULT_wxUSE_FILESYSTEM=no
2164 DEFAULT_wxUSE_FS_INET=no
2165 DEFAULT_wxUSE_FS_ZIP=no
2166 DEFAULT_wxUSE_BUSYINFO=no
2167 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2168 DEFAULT_wxUSE_ZIPSTREAM=no
2169 DEFAULT_wxUSE_VALIDATORS=no
2170
2171 DEFAULT_wxUSE_ACCEL=no
2172 DEFAULT_wxUSE_BUTTON=no
2173 DEFAULT_wxUSE_BMPBUTTON=no
2174 DEFAULT_wxUSE_CALCTRL=no
2175 DEFAULT_wxUSE_CARET=no
2176 DEFAULT_wxUSE_CHECKBOX=no
2177 DEFAULT_wxUSE_CHECKLST=no
2178 DEFAULT_wxUSE_CHOICE=no
2179 DEFAULT_wxUSE_CHOICEBOOK=no
2180 DEFAULT_wxUSE_COMBOBOX=no
2181 DEFAULT_wxUSE_DATEPICKCTRL=no
2182 DEFAULT_wxUSE_DISPLAY=no
2183 DEFAULT_wxUSE_GAUGE=no
2184 DEFAULT_wxUSE_GRID=no
2185 DEFAULT_wxUSE_IMAGLIST=no
2186 DEFAULT_wxUSE_LISTBOOK=no
2187 DEFAULT_wxUSE_LISTBOX=no
2188 DEFAULT_wxUSE_LISTCTRL=no
2189 DEFAULT_wxUSE_NOTEBOOK=no
2190 DEFAULT_wxUSE_RADIOBOX=no
2191 DEFAULT_wxUSE_RADIOBTN=no
2192 DEFAULT_wxUSE_SASH=no
2193 DEFAULT_wxUSE_SCROLLBAR=no
2194 DEFAULT_wxUSE_SLIDER=no
2195 DEFAULT_wxUSE_SPINBTN=no
2196 DEFAULT_wxUSE_SPINCTRL=no
2197 DEFAULT_wxUSE_SPLITTER=no
2198 DEFAULT_wxUSE_STATBMP=no
2199 DEFAULT_wxUSE_STATBOX=no
2200 DEFAULT_wxUSE_STATLINE=no
2201 DEFAULT_wxUSE_STATTEXT=no
2202 DEFAULT_wxUSE_STATUSBAR=yes
2203 DEFAULT_wxUSE_TABDIALOG=no
2204 DEFAULT_wxUSE_TEXTCTRL=no
2205 DEFAULT_wxUSE_TOGGLEBTN=no
2206 DEFAULT_wxUSE_TOOLBAR=no
2207 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2208 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2209 DEFAULT_wxUSE_TREECTRL=no
2210 DEFAULT_wxUSE_POPUPWIN=no
2211 DEFAULT_wxUSE_TIPWINDOW=no
2212
2213 DEFAULT_wxUSE_UNICODE=no
2214 DEFAULT_wxUSE_UNICODE_MSLU=no
2215 DEFAULT_wxUSE_WCSRTOMBS=no
2216
2217 DEFAULT_wxUSE_PALETTE=no
2218 DEFAULT_wxUSE_IMAGE=no
2219 DEFAULT_wxUSE_GIF=no
2220 DEFAULT_wxUSE_PCX=no
2221 DEFAULT_wxUSE_PNM=no
2222 DEFAULT_wxUSE_IFF=no
2223 DEFAULT_wxUSE_XPM=no
2224 DEFAULT_wxUSE_ICO_CUR=no
2225 DEFAULT_wxUSE_ACCESSIBILITY=no
2226
2227 DEFAULT_wxUSE_MONOLITHIC=no
2228 DEFAULT_wxUSE_PLUGINS=no
2229 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2230 else
2231 DEFAULT_wxUSE_UNIVERSAL=no
2232 DEFAULT_wxUSE_STL=no
2233
2234 DEFAULT_wxUSE_NANOX=no
2235
2236 DEFAULT_wxUSE_THREADS=yes
2237
2238 DEFAULT_wxUSE_SHARED=yes
2239 DEFAULT_wxUSE_OPTIMISE=yes
2240 DEFAULT_wxUSE_PROFILE=no
2241 DEFAULT_wxUSE_NO_DEPS=no
2242 DEFAULT_wxUSE_NO_RTTI=no
2243 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2244 DEFAULT_wxUSE_RPATH=yes
2245 DEFAULT_wxUSE_PERMISSIVE=no
2246 DEFAULT_wxUSE_DEBUG_FLAG=no
2247 DEFAULT_wxUSE_DEBUG_INFO=no
2248 DEFAULT_wxUSE_DEBUG_GDB=no
2249 DEFAULT_wxUSE_MEM_TRACING=no
2250 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2251 DEFAULT_wxUSE_DMALLOC=no
2252 DEFAULT_wxUSE_APPLE_IEEE=yes
2253
2254 DEFAULT_wxUSE_EXCEPTIONS=yes
2255 DEFAULT_wxUSE_LOG=yes
2256 DEFAULT_wxUSE_LOGWINDOW=yes
2257 DEFAULT_wxUSE_LOGGUI=yes
2258 DEFAULT_wxUSE_LOGDIALOG=yes
2259
2260 DEFAULT_wxUSE_GUI=yes
2261
2262 DEFAULT_wxUSE_REGEX=yes
2263 DEFAULT_wxUSE_XML=yes
2264 DEFAULT_wxUSE_EXPAT=yes
2265 DEFAULT_wxUSE_ZLIB=yes
2266 DEFAULT_wxUSE_LIBPNG=yes
2267 DEFAULT_wxUSE_LIBJPEG=yes
2268 DEFAULT_wxUSE_LIBTIFF=yes
2269 DEFAULT_wxUSE_LIBXPM=yes
2270 DEFAULT_wxUSE_LIBMSPACK=yes
2271 DEFAULT_wxUSE_LIBSDL=no
2272 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2273 DEFAULT_wxUSE_ODBC=no
2274 DEFAULT_wxUSE_OPENGL=no
2275
2276 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2277 DEFAULT_wxUSE_STACKWALKER=yes
2278 DEFAULT_wxUSE_DEBUGREPORT=yes
2279 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2280 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2282 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2283 DEFAULT_wxUSE_DATETIME=yes
2284 DEFAULT_wxUSE_TIMER=yes
2285 DEFAULT_wxUSE_STOPWATCH=yes
2286 DEFAULT_wxUSE_FILE=yes
2287 DEFAULT_wxUSE_FFILE=yes
2288 DEFAULT_wxUSE_STDPATHS=yes
2289 DEFAULT_wxUSE_TEXTBUFFER=yes
2290 DEFAULT_wxUSE_TEXTFILE=yes
2291 DEFAULT_wxUSE_SOUND=yes
2292 DEFAULT_wxUSE_MEDIACTRL=no
2293 DEFAULT_wxUSE_DIRECTSHOW=no
2294 DEFAULT_wxUSE_INTL=yes
2295 DEFAULT_wxUSE_CONFIG=yes
2296 DEFAULT_wxUSE_FONTMAP=yes
2297 DEFAULT_wxUSE_STREAMS=yes
2298 DEFAULT_wxUSE_SOCKETS=yes
2299 DEFAULT_wxUSE_OLE=yes
2300 DEFAULT_wxUSE_DATAOBJ=yes
2301 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2302 DEFAULT_wxUSE_JOYSTICK=yes
2303 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2304 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2305 DEFAULT_wxUSE_LONGLONG=yes
2306 DEFAULT_wxUSE_GEOMETRY=yes
2307
2308 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2309 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2310 DEFAULT_wxUSE_POSTSCRIPT=yes
2311
2312 DEFAULT_wxUSE_CLIPBOARD=yes
2313 DEFAULT_wxUSE_TOOLTIPS=yes
2314 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2315 DEFAULT_wxUSE_DRAGIMAGE=yes
2316 DEFAULT_wxUSE_SPLINES=yes
2317 DEFAULT_wxUSE_MOUSEWHEEL=yes
2318
2319 DEFAULT_wxUSE_MDI=yes
2320 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2321 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2322 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2323
2324 DEFAULT_wxUSE_RESOURCES=no
2325 DEFAULT_wxUSE_CONSTRAINTS=yes
2326 DEFAULT_wxUSE_IPC=yes
2327 DEFAULT_wxUSE_HELP=yes
2328 DEFAULT_wxUSE_MS_HTML_HELP=yes
2329 DEFAULT_wxUSE_WXHTML_HELP=yes
2330 DEFAULT_wxUSE_TREELAYOUT=yes
2331 DEFAULT_wxUSE_METAFILE=yes
2332 DEFAULT_wxUSE_MIMETYPE=yes
2333 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2334 DEFAULT_wxUSE_PROTOCOL=yes
2335 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2336 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2337 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2338 DEFAULT_wxUSE_URL=yes
2339
2340 DEFAULT_wxUSE_COMMONDLGS=yes
2341 DEFAULT_wxUSE_CHOICEDLG=yes
2342 DEFAULT_wxUSE_COLOURDLG=yes
2343 DEFAULT_wxUSE_DIRDLG=yes
2344 DEFAULT_wxUSE_FILEDLG=yes
2345 DEFAULT_wxUSE_FINDREPLDLG=yes
2346 DEFAULT_wxUSE_FONTDLG=yes
2347 DEFAULT_wxUSE_MSGDLG=yes
2348 DEFAULT_wxUSE_NUMBERDLG=yes
2349 DEFAULT_wxUSE_TEXTDLG=yes
2350 DEFAULT_wxUSE_SPLASH=yes
2351 DEFAULT_wxUSE_STARTUP_TIPS=yes
2352 DEFAULT_wxUSE_PROGRESSDLG=yes
2353 DEFAULT_wxUSE_WIZARDDLG=yes
2354
2355 DEFAULT_wxUSE_MENUS=yes
2356 DEFAULT_wxUSE_MINIFRAME=yes
2357 DEFAULT_wxUSE_HTML=yes
2358 DEFAULT_wxUSE_XRC=yes
2359 DEFAULT_wxUSE_WEBKIT=yes
2360 DEFAULT_wxUSE_FILESYSTEM=yes
2361 DEFAULT_wxUSE_FS_INET=yes
2362 DEFAULT_wxUSE_FS_ZIP=yes
2363 DEFAULT_wxUSE_BUSYINFO=yes
2364 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2365 DEFAULT_wxUSE_ZIPSTREAM=yes
2366 DEFAULT_wxUSE_VALIDATORS=yes
2367
2368 DEFAULT_wxUSE_ACCEL=yes
2369 DEFAULT_wxUSE_BUTTON=yes
2370 DEFAULT_wxUSE_BMPBUTTON=yes
2371 DEFAULT_wxUSE_CALCTRL=yes
2372 DEFAULT_wxUSE_CARET=yes
2373 DEFAULT_wxUSE_CHECKBOX=yes
2374 DEFAULT_wxUSE_CHECKLST=yes
2375 DEFAULT_wxUSE_CHOICE=yes
2376 DEFAULT_wxUSE_CHOICEBOOK=yes
2377 DEFAULT_wxUSE_COMBOBOX=yes
2378 DEFAULT_wxUSE_DATEPICKCTRL=yes
2379 DEFAULT_wxUSE_DISPLAY=yes
2380 DEFAULT_wxUSE_GAUGE=yes
2381 DEFAULT_wxUSE_GRID=yes
2382 DEFAULT_wxUSE_IMAGLIST=yes
2383 DEFAULT_wxUSE_LISTBOOK=yes
2384 DEFAULT_wxUSE_LISTBOX=yes
2385 DEFAULT_wxUSE_LISTCTRL=yes
2386 DEFAULT_wxUSE_NOTEBOOK=yes
2387 DEFAULT_wxUSE_RADIOBOX=yes
2388 DEFAULT_wxUSE_RADIOBTN=yes
2389 DEFAULT_wxUSE_SASH=yes
2390 DEFAULT_wxUSE_SCROLLBAR=yes
2391 DEFAULT_wxUSE_SLIDER=yes
2392 DEFAULT_wxUSE_SPINBTN=yes
2393 DEFAULT_wxUSE_SPINCTRL=yes
2394 DEFAULT_wxUSE_SPLITTER=yes
2395 DEFAULT_wxUSE_STATBMP=yes
2396 DEFAULT_wxUSE_STATBOX=yes
2397 DEFAULT_wxUSE_STATLINE=yes
2398 DEFAULT_wxUSE_STATTEXT=yes
2399 DEFAULT_wxUSE_STATUSBAR=yes
2400 DEFAULT_wxUSE_TABDIALOG=no
2401 DEFAULT_wxUSE_TEXTCTRL=yes
2402 DEFAULT_wxUSE_TOGGLEBTN=yes
2403 DEFAULT_wxUSE_TOOLBAR=yes
2404 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2405 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2406 DEFAULT_wxUSE_TREECTRL=yes
2407 DEFAULT_wxUSE_POPUPWIN=yes
2408 DEFAULT_wxUSE_TIPWINDOW=yes
2409
2410 DEFAULT_wxUSE_UNICODE=no
2411 DEFAULT_wxUSE_UNICODE_MSLU=yes
2412 DEFAULT_wxUSE_WCSRTOMBS=no
2413
2414 DEFAULT_wxUSE_PALETTE=yes
2415 DEFAULT_wxUSE_IMAGE=yes
2416 DEFAULT_wxUSE_GIF=yes
2417 DEFAULT_wxUSE_PCX=yes
2418 DEFAULT_wxUSE_IFF=no
2419 DEFAULT_wxUSE_PNM=yes
2420 DEFAULT_wxUSE_XPM=yes
2421 DEFAULT_wxUSE_ICO_CUR=yes
2422 DEFAULT_wxUSE_ACCESSIBILITY=no
2423
2424 DEFAULT_wxUSE_MONOLITHIC=no
2425 DEFAULT_wxUSE_PLUGINS=no
2426 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2427
2428 DEFAULT_wxUSE_GTK2=yes
2429 fi
2430
2431
2432
2433
2434 for toolkit in `echo $ALL_TOOLKITS`; do
2435 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2436 if test "x$LINE" != "x" ; then
2437 has_toolkit_in_cache=1
2438 eval "DEFAULT_$LINE"
2439 eval "CACHE_$toolkit=1"
2440
2441 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2442 if test "x$LINE" != "x" ; then
2443 eval "DEFAULT_$LINE"
2444 fi
2445 fi
2446 done
2447
2448
2449
2450 enablestring=
2451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2452 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2453 no_cache=0
2454 # Check whether --enable-gui or --disable-gui was given.
2455 if test "${enable_gui+set}" = set; then
2456 enableval="$enable_gui"
2457
2458 if test "$enableval" = yes; then
2459 ac_cv_use_gui='wxUSE_GUI=yes'
2460 else
2461 ac_cv_use_gui='wxUSE_GUI=no'
2462 fi
2463
2464 else
2465
2466 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x ; then
2468 eval "DEFAULT_$LINE"
2469 else
2470 no_cache=1
2471 fi
2472
2473 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2474
2475 fi;
2476
2477 eval "$ac_cv_use_gui"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2480 fi
2481
2482 if test "$wxUSE_GUI" = yes; then
2483 echo "$as_me:$LINENO: result: yes" >&5
2484 echo "${ECHO_T}yes" >&6
2485 else
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2488 fi
2489
2490
2491 enablestring=
2492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2493 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2494 no_cache=0
2495 # Check whether --enable-monolithic or --disable-monolithic was given.
2496 if test "${enable_monolithic+set}" = set; then
2497 enableval="$enable_monolithic"
2498
2499 if test "$enableval" = yes; then
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2501 else
2502 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2503 fi
2504
2505 else
2506
2507 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x ; then
2509 eval "DEFAULT_$LINE"
2510 else
2511 no_cache=1
2512 fi
2513
2514 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2515
2516 fi;
2517
2518 eval "$ac_cv_use_monolithic"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2521 fi
2522
2523 if test "$wxUSE_MONOLITHIC" = yes; then
2524 echo "$as_me:$LINENO: result: yes" >&5
2525 echo "${ECHO_T}yes" >&6
2526 else
2527 echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6
2529 fi
2530
2531
2532 enablestring=
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2535 no_cache=0
2536 # Check whether --enable-plugins or --disable-plugins was given.
2537 if test "${enable_plugins+set}" = set; then
2538 enableval="$enable_plugins"
2539
2540 if test "$enableval" = yes; then
2541 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2542 else
2543 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2544 fi
2545
2546 else
2547
2548 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x ; then
2550 eval "DEFAULT_$LINE"
2551 else
2552 no_cache=1
2553 fi
2554
2555 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2556
2557 fi;
2558
2559 eval "$ac_cv_use_plugins"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2562 fi
2563
2564 if test "$wxUSE_PLUGINS" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2567 else
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2570 fi
2571
2572
2573 if test "$wxUSE_GUI" = "yes"; then
2574
2575
2576 enablestring=
2577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2578 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2579 no_cache=0
2580 # Check whether --enable-universal or --disable-universal was given.
2581 if test "${enable_universal+set}" = set; then
2582 enableval="$enable_universal"
2583
2584 if test "$enableval" = yes; then
2585 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2586 else
2587 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2588 fi
2589
2590 else
2591
2592 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2593 if test "x$LINE" != x ; then
2594 eval "DEFAULT_$LINE"
2595 else
2596 no_cache=1
2597 fi
2598
2599 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2600
2601 fi;
2602
2603 eval "$ac_cv_use_universal"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2606 fi
2607
2608 if test "$wxUSE_UNIVERSAL" = yes; then
2609 echo "$as_me:$LINENO: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6
2611 else
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2614 fi
2615
2616
2617 # Check whether --with-gtk or --without-gtk was given.
2618 if test "${with_gtk+set}" = set; then
2619 withval="$with_gtk"
2620 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2621 fi;
2622
2623 # Check whether --with-motif or --without-motif was given.
2624 if test "${with_motif+set}" = set; then
2625 withval="$with_motif"
2626 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2627 fi;
2628
2629 # Check whether --with-mac or --without-mac was given.
2630 if test "${with_mac+set}" = set; then
2631 withval="$with_mac"
2632 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2633 fi;
2634
2635 # Check whether --with-cocoa or --without-cocoa was given.
2636 if test "${with_cocoa+set}" = set; then
2637 withval="$with_cocoa"
2638 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2639 fi;
2640
2641 # Check whether --with-wine or --without-wine was given.
2642 if test "${with_wine+set}" = set; then
2643 withval="$with_wine"
2644 wxUSE_WINE="$withval" CACHE_WINE=1
2645 fi;
2646
2647 # Check whether --with-msw or --without-msw was given.
2648 if test "${with_msw+set}" = set; then
2649 withval="$with_msw"
2650 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2651 fi;
2652
2653 # Check whether --with-pm or --without-pm was given.
2654 if test "${with_pm+set}" = set; then
2655 withval="$with_pm"
2656 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2657 fi;
2658
2659 # Check whether --with-mgl or --without-mgl was given.
2660 if test "${with_mgl+set}" = set; then
2661 withval="$with_mgl"
2662 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2663 fi;
2664
2665 # Check whether --with-microwin or --without-microwin was given.
2666 if test "${with_microwin+set}" = set; then
2667 withval="$with_microwin"
2668 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2669 fi;
2670
2671 # Check whether --with-x11 or --without-x11 was given.
2672 if test "${with_x11+set}" = set; then
2673 withval="$with_x11"
2674 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2675 fi;
2676
2677 enablestring=
2678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2679 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2680 no_cache=0
2681 # Check whether --enable-nanox or --disable-nanox was given.
2682 if test "${enable_nanox+set}" = set; then
2683 enableval="$enable_nanox"
2684
2685 if test "$enableval" = yes; then
2686 ac_cv_use_nanox='wxUSE_NANOX=yes'
2687 else
2688 ac_cv_use_nanox='wxUSE_NANOX=no'
2689 fi
2690
2691 else
2692
2693 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x ; then
2695 eval "DEFAULT_$LINE"
2696 else
2697 no_cache=1
2698 fi
2699
2700 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2701
2702 fi;
2703
2704 eval "$ac_cv_use_nanox"
2705 if test "$no_cache" != 1; then
2706 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2707 fi
2708
2709 if test "$wxUSE_NANOX" = yes; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2712 else
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2715 fi
2716
2717
2718 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2719 if test "${enable_gtk2+set}" = set; then
2720 enableval="$enable_gtk2"
2721 wxUSE_GTK2="$enableval"
2722 fi;
2723
2724 enablestring=
2725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2726 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2727 no_cache=0
2728 # Check whether --enable-gpe or --disable-gpe was given.
2729 if test "${enable_gpe+set}" = set; then
2730 enableval="$enable_gpe"
2731
2732 if test "$enableval" = yes; then
2733 ac_cv_use_gpe='wxUSE_GPE=yes'
2734 else
2735 ac_cv_use_gpe='wxUSE_GPE=no'
2736 fi
2737
2738 else
2739
2740 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x ; then
2742 eval "DEFAULT_$LINE"
2743 else
2744 no_cache=1
2745 fi
2746
2747 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2748
2749 fi;
2750
2751 eval "$ac_cv_use_gpe"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2754 fi
2755
2756 if test "$wxUSE_GPE" = yes; then
2757 echo "$as_me:$LINENO: result: yes" >&5
2758 echo "${ECHO_T}yes" >&6
2759 else
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2762 fi
2763
2764
2765
2766 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2767 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2768 no_cache=0
2769
2770 # Check whether --with-libpng or --without-libpng was given.
2771 if test "${with_libpng+set}" = set; then
2772 withval="$with_libpng"
2773
2774 if test "$withval" = yes; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2776 elif test "$withval" = no; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2778 elif test "$withval" = sys; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2780 elif test "$withval" = builtin; then
2781 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2782 else
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2784 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2786 fi
2787
2788 else
2789
2790 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x ; then
2792 eval "DEFAULT_$LINE"
2793 else
2794 no_cache=1
2795 fi
2796
2797 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2798
2799 fi;
2800
2801 eval "$ac_cv_use_libpng"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2804 fi
2805
2806 if test "$wxUSE_LIBPNG" = yes; then
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2809 elif test "$wxUSE_LIBPNG" = no; then
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2812 elif test "$wxUSE_LIBPNG" = sys; then
2813 echo "$as_me:$LINENO: result: system version" >&5
2814 echo "${ECHO_T}system version" >&6
2815 elif test "$wxUSE_LIBPNG" = builtin; then
2816 echo "$as_me:$LINENO: result: builtin version" >&5
2817 echo "${ECHO_T}builtin version" >&6
2818 else
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2822 fi
2823
2824
2825 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2826 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2827 no_cache=0
2828
2829 # Check whether --with-libjpeg or --without-libjpeg was given.
2830 if test "${with_libjpeg+set}" = set; then
2831 withval="$with_libjpeg"
2832
2833 if test "$withval" = yes; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2835 elif test "$withval" = no; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2837 elif test "$withval" = sys; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2839 elif test "$withval" = builtin; then
2840 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2841 else
2842 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2843 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2844 { (exit 1); exit 1; }; }
2845 fi
2846
2847 else
2848
2849 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2852 else
2853 no_cache=1
2854 fi
2855
2856 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2857
2858 fi;
2859
2860 eval "$ac_cv_use_libjpeg"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2863 fi
2864
2865 if test "$wxUSE_LIBJPEG" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867 echo "${ECHO_T}yes" >&6
2868 elif test "$wxUSE_LIBJPEG" = no; then
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2871 elif test "$wxUSE_LIBJPEG" = sys; then
2872 echo "$as_me:$LINENO: result: system version" >&5
2873 echo "${ECHO_T}system version" >&6
2874 elif test "$wxUSE_LIBJPEG" = builtin; then
2875 echo "$as_me:$LINENO: result: builtin version" >&5
2876 echo "${ECHO_T}builtin version" >&6
2877 else
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2881 fi
2882
2883
2884 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2885 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2886 no_cache=0
2887
2888 # Check whether --with-libtiff or --without-libtiff was given.
2889 if test "${with_libtiff+set}" = set; then
2890 withval="$with_libtiff"
2891
2892 if test "$withval" = yes; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2894 elif test "$withval" = no; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2896 elif test "$withval" = sys; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2898 elif test "$withval" = builtin; then
2899 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2900 else
2901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2902 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2903 { (exit 1); exit 1; }; }
2904 fi
2905
2906 else
2907
2908 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x ; then
2910 eval "DEFAULT_$LINE"
2911 else
2912 no_cache=1
2913 fi
2914
2915 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2916
2917 fi;
2918
2919 eval "$ac_cv_use_libtiff"
2920 if test "$no_cache" != 1; then
2921 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2922 fi
2923
2924 if test "$wxUSE_LIBTIFF" = yes; then
2925 echo "$as_me:$LINENO: result: yes" >&5
2926 echo "${ECHO_T}yes" >&6
2927 elif test "$wxUSE_LIBTIFF" = no; then
2928 echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6
2930 elif test "$wxUSE_LIBTIFF" = sys; then
2931 echo "$as_me:$LINENO: result: system version" >&5
2932 echo "${ECHO_T}system version" >&6
2933 elif test "$wxUSE_LIBTIFF" = builtin; then
2934 echo "$as_me:$LINENO: result: builtin version" >&5
2935 echo "${ECHO_T}builtin version" >&6
2936 else
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2940 fi
2941
2942
2943 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2944 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2945 no_cache=0
2946
2947 # Check whether --with-libxpm or --without-libxpm was given.
2948 if test "${with_libxpm+set}" = set; then
2949 withval="$with_libxpm"
2950
2951 if test "$withval" = yes; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2953 elif test "$withval" = no; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2955 elif test "$withval" = sys; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2957 elif test "$withval" = builtin; then
2958 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2959 else
2960 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2961 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2962 { (exit 1); exit 1; }; }
2963 fi
2964
2965 else
2966
2967 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2968 if test "x$LINE" != x ; then
2969 eval "DEFAULT_$LINE"
2970 else
2971 no_cache=1
2972 fi
2973
2974 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2975
2976 fi;
2977
2978 eval "$ac_cv_use_libxpm"
2979 if test "$no_cache" != 1; then
2980 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2981 fi
2982
2983 if test "$wxUSE_LIBXPM" = yes; then
2984 echo "$as_me:$LINENO: result: yes" >&5
2985 echo "${ECHO_T}yes" >&6
2986 elif test "$wxUSE_LIBXPM" = no; then
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2989 elif test "$wxUSE_LIBXPM" = sys; then
2990 echo "$as_me:$LINENO: result: system version" >&5
2991 echo "${ECHO_T}system version" >&6
2992 elif test "$wxUSE_LIBXPM" = builtin; then
2993 echo "$as_me:$LINENO: result: builtin version" >&5
2994 echo "${ECHO_T}builtin version" >&6
2995 else
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
2999 fi
3000
3001
3002 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3003 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3004 no_cache=0
3005
3006 # Check whether --with-libmspack or --without-libmspack was given.
3007 if test "${with_libmspack+set}" = set; then
3008 withval="$with_libmspack"
3009
3010 if test "$withval" = yes; then
3011 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3012 else
3013 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3014 fi
3015
3016 else
3017
3018 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3019 if test "x$LINE" != x ; then
3020 eval "DEFAULT_$LINE"
3021 else
3022 no_cache=1
3023 fi
3024
3025 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3026
3027 fi;
3028
3029 eval "$ac_cv_use_libmspack"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3032 fi
3033
3034 if test "$wxUSE_LIBMSPACK" = yes; then
3035 echo "$as_me:$LINENO: result: yes" >&5
3036 echo "${ECHO_T}yes" >&6
3037 else
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3040 fi
3041
3042
3043 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3044 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3045 no_cache=0
3046
3047 # Check whether --with-sdl or --without-sdl was given.
3048 if test "${with_sdl+set}" = set; then
3049 withval="$with_sdl"
3050
3051 if test "$withval" = yes; then
3052 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3053 else
3054 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3055 fi
3056
3057 else
3058
3059 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3062 else
3063 no_cache=1
3064 fi
3065
3066 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3067
3068 fi;
3069
3070 eval "$ac_cv_use_sdl"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3073 fi
3074
3075 if test "$wxUSE_LIBSDL" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 else
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 fi
3082
3083
3084 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3085 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3086 no_cache=0
3087
3088 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3089 if test "${with_gnomeprint+set}" = set; then
3090 withval="$with_gnomeprint"
3091
3092 if test "$withval" = yes; then
3093 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3094 else
3095 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3096 fi
3097
3098 else
3099
3100 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3103 else
3104 no_cache=1
3105 fi
3106
3107 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3108
3109 fi;
3110
3111 eval "$ac_cv_use_gnomeprint"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3114 fi
3115
3116 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3117 echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6
3119 else
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3122 fi
3123
3124
3125 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3126 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-opengl or --without-opengl was given.
3130 if test "${with_opengl+set}" = set; then
3131 withval="$with_opengl"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3135 else
3136 ac_cv_use_opengl='wxUSE_OPENGL=no'
3137 fi
3138
3139 else
3140
3141 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3149
3150 fi;
3151
3152 eval "$ac_cv_use_opengl"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test "$wxUSE_OPENGL" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 else
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 fi
3164
3165
3166 fi
3167
3168
3169 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3170 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3171 no_cache=0
3172
3173 # Check whether --with-dmalloc or --without-dmalloc was given.
3174 if test "${with_dmalloc+set}" = set; then
3175 withval="$with_dmalloc"
3176
3177 if test "$withval" = yes; then
3178 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3179 else
3180 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3193
3194 fi;
3195
3196 eval "$ac_cv_use_dmalloc"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3199 fi
3200
3201 if test "$wxUSE_DMALLOC" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 else
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 fi
3208
3209
3210 echo "$as_me:$LINENO: checking for --with-regex" >&5
3211 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3212 no_cache=0
3213
3214 # Check whether --with-regex or --without-regex was given.
3215 if test "${with_regex+set}" = set; then
3216 withval="$with_regex"
3217
3218 if test "$withval" = yes; then
3219 ac_cv_use_regex='wxUSE_REGEX=yes'
3220 elif test "$withval" = no; then
3221 ac_cv_use_regex='wxUSE_REGEX=no'
3222 elif test "$withval" = sys; then
3223 ac_cv_use_regex='wxUSE_REGEX=sys'
3224 elif test "$withval" = builtin; then
3225 ac_cv_use_regex='wxUSE_REGEX=builtin'
3226 else
3227 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3228 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3229 { (exit 1); exit 1; }; }
3230 fi
3231
3232 else
3233
3234 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x ; then
3236 eval "DEFAULT_$LINE"
3237 else
3238 no_cache=1
3239 fi
3240
3241 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3242
3243 fi;
3244
3245 eval "$ac_cv_use_regex"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3248 fi
3249
3250 if test "$wxUSE_REGEX" = yes; then
3251 echo "$as_me:$LINENO: result: yes" >&5
3252 echo "${ECHO_T}yes" >&6
3253 elif test "$wxUSE_REGEX" = no; then
3254 echo "$as_me:$LINENO: result: no" >&5
3255 echo "${ECHO_T}no" >&6
3256 elif test "$wxUSE_REGEX" = sys; then
3257 echo "$as_me:$LINENO: result: system version" >&5
3258 echo "${ECHO_T}system version" >&6
3259 elif test "$wxUSE_REGEX" = builtin; then
3260 echo "$as_me:$LINENO: result: builtin version" >&5
3261 echo "${ECHO_T}builtin version" >&6
3262 else
3263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3265 { (exit 1); exit 1; }; }
3266 fi
3267
3268
3269 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3270 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3271 no_cache=0
3272
3273 # Check whether --with-zlib or --without-zlib was given.
3274 if test "${with_zlib+set}" = set; then
3275 withval="$with_zlib"
3276
3277 if test "$withval" = yes; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3279 elif test "$withval" = no; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=no'
3281 elif test "$withval" = sys; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3283 elif test "$withval" = builtin; then
3284 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3285 else
3286 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3287 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3288 { (exit 1); exit 1; }; }
3289 fi
3290
3291 else
3292
3293 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x ; then
3295 eval "DEFAULT_$LINE"
3296 else
3297 no_cache=1
3298 fi
3299
3300 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3301
3302 fi;
3303
3304 eval "$ac_cv_use_zlib"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3307 fi
3308
3309 if test "$wxUSE_ZLIB" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 elif test "$wxUSE_ZLIB" = no; then
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 elif test "$wxUSE_ZLIB" = sys; then
3316 echo "$as_me:$LINENO: result: system version" >&5
3317 echo "${ECHO_T}system version" >&6
3318 elif test "$wxUSE_ZLIB" = builtin; then
3319 echo "$as_me:$LINENO: result: builtin version" >&5
3320 echo "${ECHO_T}builtin version" >&6
3321 else
3322 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3323 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3324 { (exit 1); exit 1; }; }
3325 fi
3326
3327
3328 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3329 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-odbc or --without-odbc was given.
3333 if test "${with_odbc+set}" = set; then
3334 withval="$with_odbc"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_odbc='wxUSE_ODBC=yes'
3338 elif test "$withval" = no; then
3339 ac_cv_use_odbc='wxUSE_ODBC=no'
3340 elif test "$withval" = sys; then
3341 ac_cv_use_odbc='wxUSE_ODBC=sys'
3342 elif test "$withval" = builtin; then
3343 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3344 else
3345 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3346 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3347 { (exit 1); exit 1; }; }
3348 fi
3349
3350 else
3351
3352 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3360
3361 fi;
3362
3363 eval "$ac_cv_use_odbc"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test "$wxUSE_ODBC" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 elif test "$wxUSE_ODBC" = no; then
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 elif test "$wxUSE_ODBC" = sys; then
3375 echo "$as_me:$LINENO: result: system version" >&5
3376 echo "${ECHO_T}system version" >&6
3377 elif test "$wxUSE_ODBC" = builtin; then
3378 echo "$as_me:$LINENO: result: builtin version" >&5
3379 echo "${ECHO_T}builtin version" >&6
3380 else
3381 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3382 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3383 { (exit 1); exit 1; }; }
3384 fi
3385
3386
3387 echo "$as_me:$LINENO: checking for --with-expat" >&5
3388 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3389 no_cache=0
3390
3391 # Check whether --with-expat or --without-expat was given.
3392 if test "${with_expat+set}" = set; then
3393 withval="$with_expat"
3394
3395 if test "$withval" = yes; then
3396 ac_cv_use_expat='wxUSE_EXPAT=yes'
3397 elif test "$withval" = no; then
3398 ac_cv_use_expat='wxUSE_EXPAT=no'
3399 elif test "$withval" = sys; then
3400 ac_cv_use_expat='wxUSE_EXPAT=sys'
3401 elif test "$withval" = builtin; then
3402 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3403 else
3404 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3405 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3406 { (exit 1); exit 1; }; }
3407 fi
3408
3409 else
3410
3411 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x ; then
3413 eval "DEFAULT_$LINE"
3414 else
3415 no_cache=1
3416 fi
3417
3418 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3419
3420 fi;
3421
3422 eval "$ac_cv_use_expat"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3425 fi
3426
3427 if test "$wxUSE_EXPAT" = yes; then
3428 echo "$as_me:$LINENO: result: yes" >&5
3429 echo "${ECHO_T}yes" >&6
3430 elif test "$wxUSE_EXPAT" = no; then
3431 echo "$as_me:$LINENO: result: no" >&5
3432 echo "${ECHO_T}no" >&6
3433 elif test "$wxUSE_EXPAT" = sys; then
3434 echo "$as_me:$LINENO: result: system version" >&5
3435 echo "${ECHO_T}system version" >&6
3436 elif test "$wxUSE_EXPAT" = builtin; then
3437 echo "$as_me:$LINENO: result: builtin version" >&5
3438 echo "${ECHO_T}builtin version" >&6
3439 else
3440 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3441 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3442 { (exit 1); exit 1; }; }
3443 fi
3444
3445
3446
3447
3448 enablestring=
3449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3450 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3451 no_cache=0
3452 # Check whether --enable-shared or --disable-shared was given.
3453 if test "${enable_shared+set}" = set; then
3454 enableval="$enable_shared"
3455
3456 if test "$enableval" = yes; then
3457 ac_cv_use_shared='wxUSE_SHARED=yes'
3458 else
3459 ac_cv_use_shared='wxUSE_SHARED=no'
3460 fi
3461
3462 else
3463
3464 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x ; then
3466 eval "DEFAULT_$LINE"
3467 else
3468 no_cache=1
3469 fi
3470
3471 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3472
3473 fi;
3474
3475 eval "$ac_cv_use_shared"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3478 fi
3479
3480 if test "$wxUSE_SHARED" = yes; then
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3483 else
3484 echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6
3486 fi
3487
3488
3489 enablestring=
3490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3491 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3492 no_cache=0
3493 # Check whether --enable-optimise or --disable-optimise was given.
3494 if test "${enable_optimise+set}" = set; then
3495 enableval="$enable_optimise"
3496
3497 if test "$enableval" = yes; then
3498 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3499 else
3500 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3501 fi
3502
3503 else
3504
3505 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x ; then
3507 eval "DEFAULT_$LINE"
3508 else
3509 no_cache=1
3510 fi
3511
3512 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3513
3514 fi;
3515
3516 eval "$ac_cv_use_optimise"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3519 fi
3520
3521 if test "$wxUSE_OPTIMISE" = yes; then
3522 echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6
3524 else
3525 echo "$as_me:$LINENO: result: no" >&5
3526 echo "${ECHO_T}no" >&6
3527 fi
3528
3529
3530 enablestring=
3531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3533 no_cache=0
3534 # Check whether --enable-debug or --disable-debug was given.
3535 if test "${enable_debug+set}" = set; then
3536 enableval="$enable_debug"
3537
3538 if test "$enableval" = yes; then
3539 ac_cv_use_debug='wxUSE_DEBUG=yes'
3540 else
3541 ac_cv_use_debug='wxUSE_DEBUG=no'
3542 fi
3543
3544 else
3545
3546 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3547 if test "x$LINE" != x ; then
3548 eval "DEFAULT_$LINE"
3549 else
3550 no_cache=1
3551 fi
3552
3553 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3554
3555 fi;
3556
3557 eval "$ac_cv_use_debug"
3558 if test "$no_cache" != 1; then
3559 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3560 fi
3561
3562 if test "$wxUSE_DEBUG" = yes; then
3563 echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6
3565 else
3566 echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6
3568 fi
3569
3570
3571 enablestring=
3572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3573 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3574 no_cache=0
3575 # Check whether --enable-stl or --disable-stl was given.
3576 if test "${enable_stl+set}" = set; then
3577 enableval="$enable_stl"
3578
3579 if test "$enableval" = yes; then
3580 ac_cv_use_stl='wxUSE_STL=yes'
3581 else
3582 ac_cv_use_stl='wxUSE_STL=no'
3583 fi
3584
3585 else
3586
3587 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x ; then
3589 eval "DEFAULT_$LINE"
3590 else
3591 no_cache=1
3592 fi
3593
3594 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3595
3596 fi;
3597
3598 eval "$ac_cv_use_stl"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3601 fi
3602
3603 if test "$wxUSE_STL" = yes; then
3604 echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3609 fi
3610
3611 if test "$USE_OS2" = "1"; then
3612 DEFAULT_wxUSE_OMF=no
3613
3614 enablestring=
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3617 no_cache=0
3618 # Check whether --enable-omf or --disable-omf was given.
3619 if test "${enable_omf+set}" = set; then
3620 enableval="$enable_omf"
3621
3622 if test "$enableval" = yes; then
3623 ac_cv_use_omf='wxUSE_OMF=yes'
3624 else
3625 ac_cv_use_omf='wxUSE_OMF=no'
3626 fi
3627
3628 else
3629
3630 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3633 else
3634 no_cache=1
3635 fi
3636
3637 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3638
3639 fi;
3640
3641 eval "$ac_cv_use_omf"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3644 fi
3645
3646 if test "$wxUSE_OMF" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3649 else
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3652 fi
3653
3654 fi
3655
3656 if test "$wxUSE_DEBUG" = "yes"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG=yes
3658 DEFAULT_wxUSE_DEBUG_INFO=yes
3659 BUILD=debug
3660 elif test "$wxUSE_DEBUG" = "no"; then
3661 DEFAULT_wxUSE_DEBUG_FLAG=no
3662 DEFAULT_wxUSE_DEBUG_INFO=no
3663 BUILD=release
3664 fi
3665
3666
3667 enablestring=
3668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3670 no_cache=0
3671 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3672 if test "${enable_debug_flag+set}" = set; then
3673 enableval="$enable_debug_flag"
3674
3675 if test "$enableval" = yes; then
3676 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3677 else
3678 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3679 fi
3680
3681 else
3682
3683 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3686 else
3687 no_cache=1
3688 fi
3689
3690 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3691
3692 fi;
3693
3694 eval "$ac_cv_use_debug_flag"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_DEBUG_FLAG" = yes; then
3700 echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6
3702 else
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3705 fi
3706
3707
3708 enablestring=
3709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3710 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3711 no_cache=0
3712 # Check whether --enable-debug_info or --disable-debug_info was given.
3713 if test "${enable_debug_info+set}" = set; then
3714 enableval="$enable_debug_info"
3715
3716 if test "$enableval" = yes; then
3717 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3718 else
3719 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3720 fi
3721
3722 else
3723
3724 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 else
3728 no_cache=1
3729 fi
3730
3731 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3732
3733 fi;
3734
3735 eval "$ac_cv_use_debug_info"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3738 fi
3739
3740 if test "$wxUSE_DEBUG_INFO" = yes; then
3741 echo "$as_me:$LINENO: result: yes" >&5
3742 echo "${ECHO_T}yes" >&6
3743 else
3744 echo "$as_me:$LINENO: result: no" >&5
3745 echo "${ECHO_T}no" >&6
3746 fi
3747
3748
3749 enablestring=
3750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3751 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3752 no_cache=0
3753 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3754 if test "${enable_debug_gdb+set}" = set; then
3755 enableval="$enable_debug_gdb"
3756
3757 if test "$enableval" = yes; then
3758 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3759 else
3760 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3761 fi
3762
3763 else
3764
3765 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x ; then
3767 eval "DEFAULT_$LINE"
3768 else
3769 no_cache=1
3770 fi
3771
3772 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3773
3774 fi;
3775
3776 eval "$ac_cv_use_debug_gdb"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3779 fi
3780
3781 if test "$wxUSE_DEBUG_GDB" = yes; then
3782 echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6
3784 else
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3787 fi
3788
3789
3790 enablestring=
3791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3792 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3793 no_cache=0
3794 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3795 if test "${enable_debug_cntxt+set}" = set; then
3796 enableval="$enable_debug_cntxt"
3797
3798 if test "$enableval" = yes; then
3799 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3800 else
3801 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3802 fi
3803
3804 else
3805
3806 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x ; then
3808 eval "DEFAULT_$LINE"
3809 else
3810 no_cache=1
3811 fi
3812
3813 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3814
3815 fi;
3816
3817 eval "$ac_cv_use_debug_cntxt"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3820 fi
3821
3822 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3823 echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6
3825 else
3826 echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6
3828 fi
3829
3830
3831 enablestring=
3832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3833 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3834 no_cache=0
3835 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3836 if test "${enable_mem_tracing+set}" = set; then
3837 enableval="$enable_mem_tracing"
3838
3839 if test "$enableval" = yes; then
3840 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3841 else
3842 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3843 fi
3844
3845 else
3846
3847 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x ; then
3849 eval "DEFAULT_$LINE"
3850 else
3851 no_cache=1
3852 fi
3853
3854 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3855
3856 fi;
3857
3858 eval "$ac_cv_use_mem_tracing"
3859 if test "$no_cache" != 1; then
3860 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3861 fi
3862
3863 if test "$wxUSE_MEM_TRACING" = yes; then
3864 echo "$as_me:$LINENO: result: yes" >&5
3865 echo "${ECHO_T}yes" >&6
3866 else
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3869 fi
3870
3871
3872 enablestring=
3873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3874 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3875 no_cache=0
3876 # Check whether --enable-profile or --disable-profile was given.
3877 if test "${enable_profile+set}" = set; then
3878 enableval="$enable_profile"
3879
3880 if test "$enableval" = yes; then
3881 ac_cv_use_profile='wxUSE_PROFILE=yes'
3882 else
3883 ac_cv_use_profile='wxUSE_PROFILE=no'
3884 fi
3885
3886 else
3887
3888 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3889 if test "x$LINE" != x ; then
3890 eval "DEFAULT_$LINE"
3891 else
3892 no_cache=1
3893 fi
3894
3895 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3896
3897 fi;
3898
3899 eval "$ac_cv_use_profile"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3902 fi
3903
3904 if test "$wxUSE_PROFILE" = yes; then
3905 echo "$as_me:$LINENO: result: yes" >&5
3906 echo "${ECHO_T}yes" >&6
3907 else
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3910 fi
3911
3912
3913 enablestring=
3914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3915 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3916 no_cache=0
3917 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3918 if test "${enable_no_rtti+set}" = set; then
3919 enableval="$enable_no_rtti"
3920
3921 if test "$enableval" = yes; then
3922 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3923 else
3924 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3925 fi
3926
3927 else
3928
3929 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3930 if test "x$LINE" != x ; then
3931 eval "DEFAULT_$LINE"
3932 else
3933 no_cache=1
3934 fi
3935
3936 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3937
3938 fi;
3939
3940 eval "$ac_cv_use_no_rtti"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3943 fi
3944
3945 if test "$wxUSE_NO_RTTI" = yes; then
3946 echo "$as_me:$LINENO: result: yes" >&5
3947 echo "${ECHO_T}yes" >&6
3948 else
3949 echo "$as_me:$LINENO: result: no" >&5
3950 echo "${ECHO_T}no" >&6
3951 fi
3952
3953
3954 enablestring=
3955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3956 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3957 no_cache=0
3958 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3959 if test "${enable_no_exceptions+set}" = set; then
3960 enableval="$enable_no_exceptions"
3961
3962 if test "$enableval" = yes; then
3963 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3964 else
3965 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3966 fi
3967
3968 else
3969
3970 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x ; then
3972 eval "DEFAULT_$LINE"
3973 else
3974 no_cache=1
3975 fi
3976
3977 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3978
3979 fi;
3980
3981 eval "$ac_cv_use_no_exceptions"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3984 fi
3985
3986 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3987 echo "$as_me:$LINENO: result: yes" >&5
3988 echo "${ECHO_T}yes" >&6
3989 else
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3992 fi
3993
3994
3995 enablestring=
3996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3997 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3998 no_cache=0
3999 # Check whether --enable-permissive or --disable-permissive was given.
4000 if test "${enable_permissive+set}" = set; then
4001 enableval="$enable_permissive"
4002
4003 if test "$enableval" = yes; then
4004 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4005 else
4006 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4007 fi
4008
4009 else
4010
4011 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4014 else
4015 no_cache=1
4016 fi
4017
4018 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4019
4020 fi;
4021
4022 eval "$ac_cv_use_permissive"
4023 if test "$no_cache" != 1; then
4024 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4025 fi
4026
4027 if test "$wxUSE_PERMISSIVE" = yes; then
4028 echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6
4030 else
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4033 fi
4034
4035
4036 enablestring=
4037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4038 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4039 no_cache=0
4040 # Check whether --enable-no_deps or --disable-no_deps was given.
4041 if test "${enable_no_deps+set}" = set; then
4042 enableval="$enable_no_deps"
4043
4044 if test "$enableval" = yes; then
4045 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4046 else
4047 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4048 fi
4049
4050 else
4051
4052 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4053 if test "x$LINE" != x ; then
4054 eval "DEFAULT_$LINE"
4055 else
4056 no_cache=1
4057 fi
4058
4059 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4060
4061 fi;
4062
4063 eval "$ac_cv_use_no_deps"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4066 fi
4067
4068 if test "$wxUSE_NO_DEPS" = yes; then
4069 echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6
4071 else
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4074 fi
4075
4076
4077
4078 enablestring=
4079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4080 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4081 no_cache=0
4082 # Check whether --enable-compat22 or --disable-compat22 was given.
4083 if test "${enable_compat22+set}" = set; then
4084 enableval="$enable_compat22"
4085
4086 if test "$enableval" = yes; then
4087 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4088 else
4089 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4090 fi
4091
4092 else
4093
4094 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x ; then
4096 eval "DEFAULT_$LINE"
4097 else
4098 no_cache=1
4099 fi
4100
4101 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4102
4103 fi;
4104
4105 eval "$ac_cv_use_compat22"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4108 fi
4109
4110 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4111 echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6
4113 else
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4116 fi
4117
4118
4119 enablestring=disable
4120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4121 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4122 no_cache=0
4123 # Check whether --enable-compat24 or --disable-compat24 was given.
4124 if test "${enable_compat24+set}" = set; then
4125 enableval="$enable_compat24"
4126
4127 if test "$enableval" = yes; then
4128 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4129 else
4130 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4131 fi
4132
4133 else
4134
4135 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x ; then
4137 eval "DEFAULT_$LINE"
4138 else
4139 no_cache=1
4140 fi
4141
4142 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4143
4144 fi;
4145
4146 eval "$ac_cv_use_compat24"
4147 if test "$no_cache" != 1; then
4148 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4149 fi
4150
4151 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4152 echo "$as_me:$LINENO: result: yes" >&5
4153 echo "${ECHO_T}yes" >&6
4154 else
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4157 fi
4158
4159
4160
4161 enablestring=
4162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4163 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4164 no_cache=0
4165 # Check whether --enable-rpath or --disable-rpath was given.
4166 if test "${enable_rpath+set}" = set; then
4167 enableval="$enable_rpath"
4168
4169 if test "$enableval" = yes; then
4170 ac_cv_use_rpath='wxUSE_RPATH=yes'
4171 else
4172 ac_cv_use_rpath='wxUSE_RPATH=no'
4173 fi
4174
4175 else
4176
4177 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x ; then
4179 eval "DEFAULT_$LINE"
4180 else
4181 no_cache=1
4182 fi
4183
4184 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4185
4186 fi;
4187
4188 eval "$ac_cv_use_rpath"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4191 fi
4192
4193 if test "$wxUSE_RPATH" = yes; then
4194 echo "$as_me:$LINENO: result: yes" >&5
4195 echo "${ECHO_T}yes" >&6
4196 else
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4199 fi
4200
4201
4202
4203
4204
4205 enablestring=
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4208 no_cache=0
4209 # Check whether --enable-intl or --disable-intl was given.
4210 if test "${enable_intl+set}" = set; then
4211 enableval="$enable_intl"
4212
4213 if test "$enableval" = yes; then
4214 ac_cv_use_intl='wxUSE_INTL=yes'
4215 else
4216 ac_cv_use_intl='wxUSE_INTL=no'
4217 fi
4218
4219 else
4220
4221 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x ; then
4223 eval "DEFAULT_$LINE"
4224 else
4225 no_cache=1
4226 fi
4227
4228 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4229
4230 fi;
4231
4232 eval "$ac_cv_use_intl"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4235 fi
4236
4237 if test "$wxUSE_INTL" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4240 else
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4243 fi
4244
4245
4246 enablestring=
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4249 no_cache=0
4250 # Check whether --enable-config or --disable-config was given.
4251 if test "${enable_config+set}" = set; then
4252 enableval="$enable_config"
4253
4254 if test "$enableval" = yes; then
4255 ac_cv_use_config='wxUSE_CONFIG=yes'
4256 else
4257 ac_cv_use_config='wxUSE_CONFIG=no'
4258 fi
4259
4260 else
4261
4262 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x ; then
4264 eval "DEFAULT_$LINE"
4265 else
4266 no_cache=1
4267 fi
4268
4269 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4270
4271 fi;
4272
4273 eval "$ac_cv_use_config"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4276 fi
4277
4278 if test "$wxUSE_CONFIG" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4281 else
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4284 fi
4285
4286
4287
4288 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-protocols or --disable-protocols was given.
4293 if test "${enable_protocols+set}" = set; then
4294 enableval="$enable_protocols"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4298 else
4299 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4300 fi
4301
4302 else
4303
4304 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4312
4313 fi;
4314
4315 eval "$ac_cv_use_protocols"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_PROTOCOL" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-ftp or --disable-ftp was given.
4334 if test "${enable_ftp+set}" = set; then
4335 enableval="$enable_ftp"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4339 else
4340 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4341 fi
4342
4343 else
4344
4345 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4353
4354 fi;
4355
4356 eval "$ac_cv_use_ftp"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-http or --disable-http was given.
4375 if test "${enable_http+set}" = set; then
4376 enableval="$enable_http"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4380 else
4381 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4382 fi
4383
4384 else
4385
4386 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4394
4395 fi;
4396
4397 eval "$ac_cv_use_http"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-fileproto or --disable-fileproto was given.
4416 if test "${enable_fileproto+set}" = set; then
4417 enableval="$enable_fileproto"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4421 else
4422 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4423 fi
4424
4425 else
4426
4427 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4435
4436 fi;
4437
4438 eval "$ac_cv_use_fileproto"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-sockets or --disable-sockets was given.
4457 if test "${enable_sockets+set}" = set; then
4458 enableval="$enable_sockets"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4462 else
4463 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4476
4477 fi;
4478
4479 eval "$ac_cv_use_sockets"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_SOCKETS" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493 enablestring=
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4495 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4496 no_cache=0
4497 # Check whether --enable-ole or --disable-ole was given.
4498 if test "${enable_ole+set}" = set; then
4499 enableval="$enable_ole"
4500
4501 if test "$enableval" = yes; then
4502 ac_cv_use_ole='wxUSE_OLE=yes'
4503 else
4504 ac_cv_use_ole='wxUSE_OLE=no'
4505 fi
4506
4507 else
4508
4509 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4512 else
4513 no_cache=1
4514 fi
4515
4516 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4517
4518 fi;
4519
4520 eval "$ac_cv_use_ole"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test "$wxUSE_OLE" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527 echo "${ECHO_T}yes" >&6
4528 else
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4531 fi
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-dataobj or --disable-dataobj was given.
4539 if test "${enable_dataobj+set}" = set; then
4540 enableval="$enable_dataobj"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4544 else
4545 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4546 fi
4547
4548 else
4549
4550 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4558
4559 fi;
4560
4561 eval "$ac_cv_use_dataobj"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_DATAOBJ" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575
4576 enablestring=
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4579 no_cache=0
4580 # Check whether --enable-ipc or --disable-ipc was given.
4581 if test "${enable_ipc+set}" = set; then
4582 enableval="$enable_ipc"
4583
4584 if test "$enableval" = yes; then
4585 ac_cv_use_ipc='wxUSE_IPC=yes'
4586 else
4587 ac_cv_use_ipc='wxUSE_IPC=no'
4588 fi
4589
4590 else
4591
4592 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 else
4596 no_cache=1
4597 fi
4598
4599 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4600
4601 fi;
4602
4603 eval "$ac_cv_use_ipc"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4606 fi
4607
4608 if test "$wxUSE_IPC" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4614 fi
4615
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4623 if test "${enable_apple_ieee+set}" = set; then
4624 enableval="$enable_apple_ieee"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4628 else
4629 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4630 fi
4631
4632 else
4633
4634 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4642
4643 fi;
4644
4645 eval "$ac_cv_use_apple_ieee"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_APPLE_IEEE" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-arcstream or --disable-arcstream was given.
4664 if test "${enable_arcstream+set}" = set; then
4665 enableval="$enable_arcstream"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4669 else
4670 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4683
4684 fi;
4685
4686 eval "$ac_cv_use_arcstream"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-backtrace or --disable-backtrace was given.
4705 if test "${enable_backtrace+set}" = set; then
4706 enableval="$enable_backtrace"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4710 else
4711 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4724
4725 fi;
4726
4727 eval "$ac_cv_use_backtrace"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_STACKWALKER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4746 if test "${enable_catch_segvs+set}" = set; then
4747 enableval="$enable_catch_segvs"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4751 else
4752 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4765
4766 fi;
4767
4768 eval "$ac_cv_use_catch_segvs"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-cmdline or --disable-cmdline was given.
4787 if test "${enable_cmdline+set}" = set; then
4788 enableval="$enable_cmdline"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4792 else
4793 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4806
4807 fi;
4808
4809 eval "$ac_cv_use_cmdline"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-datetime or --disable-datetime was given.
4828 if test "${enable_datetime+set}" = set; then
4829 enableval="$enable_datetime"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4833 else
4834 ac_cv_use_datetime='wxUSE_DATETIME=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4847
4848 fi;
4849
4850 eval "$ac_cv_use_datetime"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_DATETIME" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-debugreport or --disable-debugreport was given.
4869 if test "${enable_debugreport+set}" = set; then
4870 enableval="$enable_debugreport"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4874 else
4875 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4888
4889 fi;
4890
4891 eval "$ac_cv_use_debugreport"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_DEBUGREPORT" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-dialupman or --disable-dialupman was given.
4910 if test "${enable_dialupman+set}" = set; then
4911 enableval="$enable_dialupman"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4915 else
4916 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4929
4930 fi;
4931
4932 eval "$ac_cv_use_dialupman"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946 enablestring=
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4949 no_cache=0
4950 # Check whether --enable-dynlib or --disable-dynlib was given.
4951 if test "${enable_dynlib+set}" = set; then
4952 enableval="$enable_dynlib"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4956 else
4957 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4958 fi
4959
4960 else
4961
4962 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4970
4971 fi;
4972
4973 eval "$ac_cv_use_dynlib"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4981 else
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4984 fi
4985
4986
4987 enablestring=
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4990 no_cache=0
4991 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4992 if test "${enable_dynamicloader+set}" = set; then
4993 enableval="$enable_dynamicloader"
4994
4995 if test "$enableval" = yes; then
4996 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4997 else
4998 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4999 fi
5000
5001 else
5002
5003 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 else
5007 no_cache=1
5008 fi
5009
5010 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5011
5012 fi;
5013
5014 eval "$ac_cv_use_dynamicloader"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5025 fi
5026
5027
5028 enablestring=
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5031 no_cache=0
5032 # Check whether --enable-exceptions or --disable-exceptions was given.
5033 if test "${enable_exceptions+set}" = set; then
5034 enableval="$enable_exceptions"
5035
5036 if test "$enableval" = yes; then
5037 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5038 else
5039 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5040 fi
5041
5042 else
5043
5044 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 else
5048 no_cache=1
5049 fi
5050
5051 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5052
5053 fi;
5054
5055 eval "$ac_cv_use_exceptions"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_EXCEPTIONS" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5063 else
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5066 fi
5067
5068
5069 enablestring=
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5072 no_cache=0
5073 # Check whether --enable-ffile or --disable-ffile was given.
5074 if test "${enable_ffile+set}" = set; then
5075 enableval="$enable_ffile"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_ffile='wxUSE_FFILE=yes'
5079 else
5080 ac_cv_use_ffile='wxUSE_FFILE=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5093
5094 fi;
5095
5096 eval "$ac_cv_use_ffile"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_FFILE" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5104 else
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5107 fi
5108
5109
5110 enablestring=
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5113 no_cache=0
5114 # Check whether --enable-file or --disable-file was given.
5115 if test "${enable_file+set}" = set; then
5116 enableval="$enable_file"
5117
5118 if test "$enableval" = yes; then
5119 ac_cv_use_file='wxUSE_FILE=yes'
5120 else
5121 ac_cv_use_file='wxUSE_FILE=no'
5122 fi
5123
5124 else
5125
5126 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5129 else
5130 no_cache=1
5131 fi
5132
5133 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5134
5135 fi;
5136
5137 eval "$ac_cv_use_file"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_FILE" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5145 else
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5148 fi
5149
5150
5151 enablestring=
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5154 no_cache=0
5155 # Check whether --enable-filesystem or --disable-filesystem was given.
5156 if test "${enable_filesystem+set}" = set; then
5157 enableval="$enable_filesystem"
5158
5159 if test "$enableval" = yes; then
5160 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5161 else
5162 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5163 fi
5164
5165 else
5166
5167 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5170 else
5171 no_cache=1
5172 fi
5173
5174 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5175
5176 fi;
5177
5178 eval "$ac_cv_use_filesystem"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_FILESYSTEM" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5186 else
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5189 fi
5190
5191
5192 enablestring=
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-fontmap or --disable-fontmap was given.
5197 if test "${enable_fontmap+set}" = set; then
5198 enableval="$enable_fontmap"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5202 else
5203 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5216
5217 fi;
5218
5219 eval "$ac_cv_use_fontmap"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_FONTMAP" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5227 else
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5230 fi
5231
5232
5233 enablestring=
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5236 no_cache=0
5237 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5238 if test "${enable_fs_inet+set}" = set; then
5239 enableval="$enable_fs_inet"
5240
5241 if test "$enableval" = yes; then
5242 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5243 else
5244 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5245 fi
5246
5247 else
5248
5249 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5257
5258 fi;
5259
5260 eval "$ac_cv_use_fs_inet"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_FS_INET" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5268 else
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5271 fi
5272
5273
5274 enablestring=
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5277 no_cache=0
5278 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5279 if test "${enable_fs_zip+set}" = set; then
5280 enableval="$enable_fs_zip"
5281
5282 if test "$enableval" = yes; then
5283 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5284 else
5285 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5298
5299 fi;
5300
5301 eval "$ac_cv_use_fs_zip"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5304 fi
5305
5306 if test "$wxUSE_FS_ZIP" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5309 else
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5312 fi
5313
5314
5315 enablestring=
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5318 no_cache=0
5319 # Check whether --enable-geometry or --disable-geometry was given.
5320 if test "${enable_geometry+set}" = set; then
5321 enableval="$enable_geometry"
5322
5323 if test "$enableval" = yes; then
5324 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5325 else
5326 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5339
5340 fi;
5341
5342 eval "$ac_cv_use_geometry"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_GEOMETRY" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5353 fi
5354
5355
5356 enablestring=
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5359 no_cache=0
5360 # Check whether --enable-log or --disable-log was given.
5361 if test "${enable_log+set}" = set; then
5362 enableval="$enable_log"
5363
5364 if test "$enableval" = yes; then
5365 ac_cv_use_log='wxUSE_LOG=yes'
5366 else
5367 ac_cv_use_log='wxUSE_LOG=no'
5368 fi
5369
5370 else
5371
5372 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5375 else
5376 no_cache=1
5377 fi
5378
5379 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5380
5381 fi;
5382
5383 eval "$ac_cv_use_log"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5386 fi
5387
5388 if test "$wxUSE_LOG" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5391 else
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5394 fi
5395
5396
5397 enablestring=
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5400 no_cache=0
5401 # Check whether --enable-longlong or --disable-longlong was given.
5402 if test "${enable_longlong+set}" = set; then
5403 enableval="$enable_longlong"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5407 else
5408 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5409 fi
5410
5411 else
5412
5413 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5421
5422 fi;
5423
5424 eval "$ac_cv_use_longlong"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_LONGLONG" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5432 else
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5435 fi
5436
5437
5438 enablestring=
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5441 no_cache=0
5442 # Check whether --enable-mimetype or --disable-mimetype was given.
5443 if test "${enable_mimetype+set}" = set; then
5444 enableval="$enable_mimetype"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5448 else
5449 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5450 fi
5451
5452 else
5453
5454 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5462
5463 fi;
5464
5465 eval "$ac_cv_use_mimetype"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_MIMETYPE" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5473 else
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5476 fi
5477
5478
5479 enablestring=
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-mslu or --disable-mslu was given.
5484 if test "${enable_mslu+set}" = set; then
5485 enableval="$enable_mslu"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5489 else
5490 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5491 fi
5492
5493 else
5494
5495 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5503
5504 fi;
5505
5506 eval "$ac_cv_use_mslu"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_UNICODE_MSLU" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5514 else
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5517 fi
5518
5519
5520 enablestring=
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5523 no_cache=0
5524 # Check whether --enable-snglinst or --disable-snglinst was given.
5525 if test "${enable_snglinst+set}" = set; then
5526 enableval="$enable_snglinst"
5527
5528 if test "$enableval" = yes; then
5529 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5530 else
5531 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5532 fi
5533
5534 else
5535
5536 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5539 else
5540 no_cache=1
5541 fi
5542
5543 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5544
5545 fi;
5546
5547 eval "$ac_cv_use_snglinst"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5555 else
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5558 fi
5559
5560
5561 enablestring=
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5564 no_cache=0
5565 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5566 if test "${enable_std_iostreams+set}" = set; then
5567 enableval="$enable_std_iostreams"
5568
5569 if test "$enableval" = yes; then
5570 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5571 else
5572 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5573 fi
5574
5575 else
5576
5577 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 else
5581 no_cache=1
5582 fi
5583
5584 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5585
5586 fi;
5587
5588 eval "$ac_cv_use_std_iostreams"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5591 fi
5592
5593 if test "$wxUSE_STD_IOSTREAM" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5596 else
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5599 fi
5600
5601
5602 enablestring=
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5605 no_cache=0
5606 # Check whether --enable-std_string or --disable-std_string was given.
5607 if test "${enable_std_string+set}" = set; then
5608 enableval="$enable_std_string"
5609
5610 if test "$enableval" = yes; then
5611 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5612 else
5613 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5614 fi
5615
5616 else
5617
5618 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x ; then
5620 eval "DEFAULT_$LINE"
5621 else
5622 no_cache=1
5623 fi
5624
5625 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5626
5627 fi;
5628
5629 eval "$ac_cv_use_std_string"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5632 fi
5633
5634 if test "$wxUSE_STD_STRING" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5637 else
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5640 fi
5641
5642
5643 enablestring=
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5646 no_cache=0
5647 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5648 if test "${enable_stdpaths+set}" = set; then
5649 enableval="$enable_stdpaths"
5650
5651 if test "$enableval" = yes; then
5652 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5653 else
5654 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5655 fi
5656
5657 else
5658
5659 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x ; then
5661 eval "DEFAULT_$LINE"
5662 else
5663 no_cache=1
5664 fi
5665
5666 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5667
5668 fi;
5669
5670 eval "$ac_cv_use_stdpaths"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5673 fi
5674
5675 if test "$wxUSE_STDPATHS" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5678 else
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5681 fi
5682
5683
5684 enablestring=
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5687 no_cache=0
5688 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5689 if test "${enable_stopwatch+set}" = set; then
5690 enableval="$enable_stopwatch"
5691
5692 if test "$enableval" = yes; then
5693 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5694 else
5695 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5696 fi
5697
5698 else
5699
5700 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 else
5704 no_cache=1
5705 fi
5706
5707 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5708
5709 fi;
5710
5711 eval "$ac_cv_use_stopwatch"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5714 fi
5715
5716 if test "$wxUSE_STOPWATCH" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5719 else
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5722 fi
5723
5724
5725 enablestring=
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5728 no_cache=0
5729 # Check whether --enable-streams or --disable-streams was given.
5730 if test "${enable_streams+set}" = set; then
5731 enableval="$enable_streams"
5732
5733 if test "$enableval" = yes; then
5734 ac_cv_use_streams='wxUSE_STREAMS=yes'
5735 else
5736 ac_cv_use_streams='wxUSE_STREAMS=no'
5737 fi
5738
5739 else
5740
5741 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x ; then
5743 eval "DEFAULT_$LINE"
5744 else
5745 no_cache=1
5746 fi
5747
5748 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5749
5750 fi;
5751
5752 eval "$ac_cv_use_streams"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5755 fi
5756
5757 if test "$wxUSE_STREAMS" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5760 else
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5763 fi
5764
5765
5766 enablestring=
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5769 no_cache=0
5770 # Check whether --enable-system_options or --disable-system_options was given.
5771 if test "${enable_system_options+set}" = set; then
5772 enableval="$enable_system_options"
5773
5774 if test "$enableval" = yes; then
5775 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5776 else
5777 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5778 fi
5779
5780 else
5781
5782 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x ; then
5784 eval "DEFAULT_$LINE"
5785 else
5786 no_cache=1
5787 fi
5788
5789 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5790
5791 fi;
5792
5793 eval "$ac_cv_use_system_options"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5796 fi
5797
5798 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5801 else
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5804 fi
5805
5806
5807 enablestring=
5808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5809 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5810 no_cache=0
5811 # Check whether --enable-textbuf or --disable-textbuf was given.
5812 if test "${enable_textbuf+set}" = set; then
5813 enableval="$enable_textbuf"
5814
5815 if test "$enableval" = yes; then
5816 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5817 else
5818 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5819 fi
5820
5821 else
5822
5823 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x ; then
5825 eval "DEFAULT_$LINE"
5826 else
5827 no_cache=1
5828 fi
5829
5830 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5831
5832 fi;
5833
5834 eval "$ac_cv_use_textbuf"
5835 if test "$no_cache" != 1; then
5836 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5837 fi
5838
5839 if test "$wxUSE_TEXTBUFFER" = yes; then
5840 echo "$as_me:$LINENO: result: yes" >&5
5841 echo "${ECHO_T}yes" >&6
5842 else
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5845 fi
5846
5847
5848 enablestring=
5849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5850 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5851 no_cache=0
5852 # Check whether --enable-textfile or --disable-textfile was given.
5853 if test "${enable_textfile+set}" = set; then
5854 enableval="$enable_textfile"
5855
5856 if test "$enableval" = yes; then
5857 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5858 else
5859 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5860 fi
5861
5862 else
5863
5864 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5865 if test "x$LINE" != x ; then
5866 eval "DEFAULT_$LINE"
5867 else
5868 no_cache=1
5869 fi
5870
5871 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5872
5873 fi;
5874
5875 eval "$ac_cv_use_textfile"
5876 if test "$no_cache" != 1; then
5877 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5878 fi
5879
5880 if test "$wxUSE_TEXTFILE" = yes; then
5881 echo "$as_me:$LINENO: result: yes" >&5
5882 echo "${ECHO_T}yes" >&6
5883 else
5884 echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6
5886 fi
5887
5888
5889 enablestring=
5890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5892 no_cache=0
5893 # Check whether --enable-timer or --disable-timer was given.
5894 if test "${enable_timer+set}" = set; then
5895 enableval="$enable_timer"
5896
5897 if test "$enableval" = yes; then
5898 ac_cv_use_timer='wxUSE_TIMER=yes'
5899 else
5900 ac_cv_use_timer='wxUSE_TIMER=no'
5901 fi
5902
5903 else
5904
5905 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x ; then
5907 eval "DEFAULT_$LINE"
5908 else
5909 no_cache=1
5910 fi
5911
5912 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5913
5914 fi;
5915
5916 eval "$ac_cv_use_timer"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5919 fi
5920
5921 if test "$wxUSE_TIMER" = yes; then
5922 echo "$as_me:$LINENO: result: yes" >&5
5923 echo "${ECHO_T}yes" >&6
5924 else
5925 echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6
5927 fi
5928
5929
5930 enablestring=
5931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5933 no_cache=0
5934 # Check whether --enable-unicode or --disable-unicode was given.
5935 if test "${enable_unicode+set}" = set; then
5936 enableval="$enable_unicode"
5937
5938 if test "$enableval" = yes; then
5939 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5940 else
5941 ac_cv_use_unicode='wxUSE_UNICODE=no'
5942 fi
5943
5944 else
5945
5946 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x ; then
5948 eval "DEFAULT_$LINE"
5949 else
5950 no_cache=1
5951 fi
5952
5953 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5954
5955 fi;
5956
5957 eval "$ac_cv_use_unicode"
5958 if test "$no_cache" != 1; then
5959 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5960 fi
5961
5962 if test "$wxUSE_UNICODE" = yes; then
5963 echo "$as_me:$LINENO: result: yes" >&5
5964 echo "${ECHO_T}yes" >&6
5965 else
5966 echo "$as_me:$LINENO: result: no" >&5
5967 echo "${ECHO_T}no" >&6
5968 fi
5969
5970
5971 enablestring=
5972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5973 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5974 no_cache=0
5975 # Check whether --enable-sound or --disable-sound was given.
5976 if test "${enable_sound+set}" = set; then
5977 enableval="$enable_sound"
5978
5979 if test "$enableval" = yes; then
5980 ac_cv_use_sound='wxUSE_SOUND=yes'
5981 else
5982 ac_cv_use_sound='wxUSE_SOUND=no'
5983 fi
5984
5985 else
5986
5987 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5988 if test "x$LINE" != x ; then
5989 eval "DEFAULT_$LINE"
5990 else
5991 no_cache=1
5992 fi
5993
5994 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5995
5996 fi;
5997
5998 eval "$ac_cv_use_sound"
5999 if test "$no_cache" != 1; then
6000 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6001 fi
6002
6003 if test "$wxUSE_SOUND" = yes; then
6004 echo "$as_me:$LINENO: result: yes" >&5
6005 echo "${ECHO_T}yes" >&6
6006 else
6007 echo "$as_me:$LINENO: result: no" >&5
6008 echo "${ECHO_T}no" >&6
6009 fi
6010
6011
6012 enablestring=
6013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6015 no_cache=0
6016 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6017 if test "${enable_mediactrl+set}" = set; then
6018 enableval="$enable_mediactrl"
6019
6020 if test "$enableval" = yes; then
6021 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6022 else
6023 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6024 fi
6025
6026 else
6027
6028 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6031 else
6032 no_cache=1
6033 fi
6034
6035 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6036
6037 fi;
6038
6039 eval "$ac_cv_use_mediactrl"
6040 if test "$no_cache" != 1; then
6041 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6042 fi
6043
6044 if test "$wxUSE_MEDIACTRL" = yes; then
6045 echo "$as_me:$LINENO: result: yes" >&5
6046 echo "${ECHO_T}yes" >&6
6047 else
6048 echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6
6050 fi
6051
6052
6053 enablestring=
6054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6055 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6056 no_cache=0
6057 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6058 if test "${enable_wxprintfv+set}" = set; then
6059 enableval="$enable_wxprintfv"
6060
6061 if test "$enableval" = yes; then
6062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6063 else
6064 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6065 fi
6066
6067 else
6068
6069 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x ; then
6071 eval "DEFAULT_$LINE"
6072 else
6073 no_cache=1
6074 fi
6075
6076 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6077
6078 fi;
6079
6080 eval "$ac_cv_use_wxprintfv"
6081 if test "$no_cache" != 1; then
6082 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6083 fi
6084
6085 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6086 echo "$as_me:$LINENO: result: yes" >&5
6087 echo "${ECHO_T}yes" >&6
6088 else
6089 echo "$as_me:$LINENO: result: no" >&5
6090 echo "${ECHO_T}no" >&6
6091 fi
6092
6093
6094 enablestring=
6095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6097 no_cache=0
6098 # Check whether --enable-zipstream or --disable-zipstream was given.
6099 if test "${enable_zipstream+set}" = set; then
6100 enableval="$enable_zipstream"
6101
6102 if test "$enableval" = yes; then
6103 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6104 else
6105 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6106 fi
6107
6108 else
6109
6110 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6111 if test "x$LINE" != x ; then
6112 eval "DEFAULT_$LINE"
6113 else
6114 no_cache=1
6115 fi
6116
6117 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6118
6119 fi;
6120
6121 eval "$ac_cv_use_zipstream"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6124 fi
6125
6126 if test "$wxUSE_ZIPSTREAM" = yes; then
6127 echo "$as_me:$LINENO: result: yes" >&5
6128 echo "${ECHO_T}yes" >&6
6129 else
6130 echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6
6132 fi
6133
6134
6135
6136 enablestring=
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6139 no_cache=0
6140 # Check whether --enable-url or --disable-url was given.
6141 if test "${enable_url+set}" = set; then
6142 enableval="$enable_url"
6143
6144 if test "$enableval" = yes; then
6145 ac_cv_use_url='wxUSE_URL=yes'
6146 else
6147 ac_cv_use_url='wxUSE_URL=no'
6148 fi
6149
6150 else
6151
6152 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x ; then
6154 eval "DEFAULT_$LINE"
6155 else
6156 no_cache=1
6157 fi
6158
6159 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6160
6161 fi;
6162
6163 eval "$ac_cv_use_url"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6166 fi
6167
6168 if test "$wxUSE_URL" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6171 else
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6174 fi
6175
6176
6177 enablestring=
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6180 no_cache=0
6181 # Check whether --enable-protocol or --disable-protocol was given.
6182 if test "${enable_protocol+set}" = set; then
6183 enableval="$enable_protocol"
6184
6185 if test "$enableval" = yes; then
6186 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6187 else
6188 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6189 fi
6190
6191 else
6192
6193 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 else
6197 no_cache=1
6198 fi
6199
6200 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6201
6202 fi;
6203
6204 eval "$ac_cv_use_protocol"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6207 fi
6208
6209 if test "$wxUSE_PROTOCOL" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6212 else
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6215 fi
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6223 if test "${enable_protocol_http+set}" = set; then
6224 enableval="$enable_protocol_http"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6228 else
6229 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6242
6243 fi;
6244
6245 eval "$ac_cv_use_protocol_http"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6253 else
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6256 fi
6257
6258
6259 enablestring=
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6264 if test "${enable_protocol_ftp+set}" = set; then
6265 enableval="$enable_protocol_ftp"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6269 else
6270 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6283
6284 fi;
6285
6286 eval "$ac_cv_use_protocol_ftp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6294 else
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6297 fi
6298
6299
6300 enablestring=
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6303 no_cache=0
6304 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6305 if test "${enable_protocol_file+set}" = set; then
6306 enableval="$enable_protocol_file"
6307
6308 if test "$enableval" = yes; then
6309 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6310 else
6311 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6312 fi
6313
6314 else
6315
6316 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x ; then
6318 eval "DEFAULT_$LINE"
6319 else
6320 no_cache=1
6321 fi
6322
6323 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6324
6325 fi;
6326
6327 eval "$ac_cv_use_protocol_file"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6330 fi
6331
6332 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6335 else
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6338 fi
6339
6340
6341
6342
6343
6344 enablestring=
6345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6347 no_cache=0
6348 # Check whether --enable-threads or --disable-threads was given.
6349 if test "${enable_threads+set}" = set; then
6350 enableval="$enable_threads"
6351
6352 if test "$enableval" = yes; then
6353 ac_cv_use_threads='wxUSE_THREADS=yes'
6354 else
6355 ac_cv_use_threads='wxUSE_THREADS=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6368
6369 fi;
6370
6371 eval "$ac_cv_use_threads"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test "$wxUSE_THREADS" = yes; then
6377 echo "$as_me:$LINENO: result: yes" >&5
6378 echo "${ECHO_T}yes" >&6
6379 else
6380 echo "$as_me:$LINENO: result: no" >&5
6381 echo "${ECHO_T}no" >&6
6382 fi
6383
6384
6385 if test "$wxUSE_GUI" = "yes"; then
6386
6387
6388
6389 enablestring=
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6392 no_cache=0
6393 # Check whether --enable-docview or --disable-docview was given.
6394 if test "${enable_docview+set}" = set; then
6395 enableval="$enable_docview"
6396
6397 if test "$enableval" = yes; then
6398 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6399 else
6400 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6401 fi
6402
6403 else
6404
6405 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6408 else
6409 no_cache=1
6410 fi
6411
6412 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6413
6414 fi;
6415
6416 eval "$ac_cv_use_docview"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6424 else
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6427 fi
6428
6429
6430 enablestring=
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6433 no_cache=0
6434 # Check whether --enable-help or --disable-help was given.
6435 if test "${enable_help+set}" = set; then
6436 enableval="$enable_help"
6437
6438 if test "$enableval" = yes; then
6439 ac_cv_use_help='wxUSE_HELP=yes'
6440 else
6441 ac_cv_use_help='wxUSE_HELP=no'
6442 fi
6443
6444 else
6445
6446 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x ; then
6448 eval "DEFAULT_$LINE"
6449 else
6450 no_cache=1
6451 fi
6452
6453 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6454
6455 fi;
6456
6457 eval "$ac_cv_use_help"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test "$wxUSE_HELP" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6465 else
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6468 fi
6469
6470
6471 enablestring=
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6474 no_cache=0
6475 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6476 if test "${enable_mshtmlhelp+set}" = set; then
6477 enableval="$enable_mshtmlhelp"
6478
6479 if test "$enableval" = yes; then
6480 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6481 else
6482 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6483 fi
6484
6485 else
6486
6487 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x ; then
6489 eval "DEFAULT_$LINE"
6490 else
6491 no_cache=1
6492 fi
6493
6494 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6495
6496 fi;
6497
6498 eval "$ac_cv_use_mshtmlhelp"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_MS_HTML_HELP" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6506 else
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6509 fi
6510
6511
6512 enablestring=
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6515 no_cache=0
6516 # Check whether --enable-html or --disable-html was given.
6517 if test "${enable_html+set}" = set; then
6518 enableval="$enable_html"
6519
6520 if test "$enableval" = yes; then
6521 ac_cv_use_html='wxUSE_HTML=yes'
6522 else
6523 ac_cv_use_html='wxUSE_HTML=no'
6524 fi
6525
6526 else
6527
6528 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x ; then
6530 eval "DEFAULT_$LINE"
6531 else
6532 no_cache=1
6533 fi
6534
6535 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6536
6537 fi;
6538
6539 eval "$ac_cv_use_html"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test "$wxUSE_HTML" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6547 else
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6550 fi
6551
6552
6553 enablestring=
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6556 no_cache=0
6557 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6558 if test "${enable_htmlhelp+set}" = set; then
6559 enableval="$enable_htmlhelp"
6560
6561 if test "$enableval" = yes; then
6562 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6563 else
6564 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6565 fi
6566
6567 else
6568
6569 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 else
6573 no_cache=1
6574 fi
6575
6576 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6577
6578 fi;
6579
6580 eval "$ac_cv_use_htmlhelp"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6583 fi
6584
6585 if test "$wxUSE_WXHTML_HELP" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6588 else
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6591 fi
6592
6593
6594 enablestring=
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6597 no_cache=0
6598 # Check whether --enable-xrc or --disable-xrc was given.
6599 if test "${enable_xrc+set}" = set; then
6600 enableval="$enable_xrc"
6601
6602 if test "$enableval" = yes; then
6603 ac_cv_use_xrc='wxUSE_XRC=yes'
6604 else
6605 ac_cv_use_xrc='wxUSE_XRC=no'
6606 fi
6607
6608 else
6609
6610 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x ; then
6612 eval "DEFAULT_$LINE"
6613 else
6614 no_cache=1
6615 fi
6616
6617 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6618
6619 fi;
6620
6621 eval "$ac_cv_use_xrc"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6624 fi
6625
6626 if test "$wxUSE_XRC" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6629 else
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6632 fi
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-constraints or --disable-constraints was given.
6640 if test "${enable_constraints+set}" = set; then
6641 enableval="$enable_constraints"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6645 else
6646 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6659
6660 fi;
6661
6662 eval "$ac_cv_use_constraints"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_CONSTRAINTS" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-printarch or --disable-printarch was given.
6681 if test "${enable_printarch+set}" = set; then
6682 enableval="$enable_printarch"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6686 else
6687 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6700
6701 fi;
6702
6703 eval "$ac_cv_use_printarch"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-mdi or --disable-mdi was given.
6722 if test "${enable_mdi+set}" = set; then
6723 enableval="$enable_mdi"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_mdi='wxUSE_MDI=yes'
6727 else
6728 ac_cv_use_mdi='wxUSE_MDI=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6741
6742 fi;
6743
6744 eval "$ac_cv_use_mdi"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_MDI" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6763 if test "${enable_mdidoc+set}" = set; then
6764 enableval="$enable_mdidoc"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6768 else
6769 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6782
6783 fi;
6784
6785 eval "$ac_cv_use_mdidoc"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-loggui or --disable-loggui was given.
6804 if test "${enable_loggui+set}" = set; then
6805 enableval="$enable_loggui"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6809 else
6810 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6823
6824 fi;
6825
6826 eval "$ac_cv_use_loggui"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_LOGGUI" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-logwin or --disable-logwin was given.
6845 if test "${enable_logwin+set}" = set; then
6846 enableval="$enable_logwin"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6850 else
6851 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6864
6865 fi;
6866
6867 eval "$ac_cv_use_logwin"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_LOGWINDOW" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881 enablestring=
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6884 no_cache=0
6885 # Check whether --enable-logdialog or --disable-logdialog was given.
6886 if test "${enable_logdialog+set}" = set; then
6887 enableval="$enable_logdialog"
6888
6889 if test "$enableval" = yes; then
6890 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6891 else
6892 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6893 fi
6894
6895 else
6896
6897 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x ; then
6899 eval "DEFAULT_$LINE"
6900 else
6901 no_cache=1
6902 fi
6903
6904 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6905
6906 fi;
6907
6908 eval "$ac_cv_use_logdialog"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6911 fi
6912
6913 if test "$wxUSE_LOGDIALOG" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6916 else
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6919 fi
6920
6921
6922 enablestring=
6923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6924 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6925 no_cache=0
6926 # Check whether --enable-webkit or --disable-webkit was given.
6927 if test "${enable_webkit+set}" = set; then
6928 enableval="$enable_webkit"
6929
6930 if test "$enableval" = yes; then
6931 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6932 else
6933 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6934 fi
6935
6936 else
6937
6938 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x ; then
6940 eval "DEFAULT_$LINE"
6941 else
6942 no_cache=1
6943 fi
6944
6945 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6946
6947 fi;
6948
6949 eval "$ac_cv_use_webkit"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6952 fi
6953
6954 if test "$wxUSE_WEBKIT" = yes; then
6955 echo "$as_me:$LINENO: result: yes" >&5
6956 echo "${ECHO_T}yes" >&6
6957 else
6958 echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6
6960 fi
6961
6962
6963
6964 enablestring=
6965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6966 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6967 no_cache=0
6968 # Check whether --enable-postscript or --disable-postscript was given.
6969 if test "${enable_postscript+set}" = set; then
6970 enableval="$enable_postscript"
6971
6972 if test "$enableval" = yes; then
6973 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6974 else
6975 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6976 fi
6977
6978 else
6979
6980 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6983 else
6984 no_cache=1
6985 fi
6986
6987 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6988
6989 fi;
6990
6991 eval "$ac_cv_use_postscript"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6994 fi
6995
6996 if test "$wxUSE_POSTSCRIPT" = yes; then
6997 echo "$as_me:$LINENO: result: yes" >&5
6998 echo "${ECHO_T}yes" >&6
6999 else
7000 echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6
7002 fi
7003
7004
7005
7006
7007
7008 enablestring=
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7011 no_cache=0
7012 # Check whether --enable-prologio or --disable-prologio was given.
7013 if test "${enable_prologio+set}" = set; then
7014 enableval="$enable_prologio"
7015
7016 if test "$enableval" = yes; then
7017 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7018 else
7019 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7032
7033 fi;
7034
7035 eval "$ac_cv_use_prologio"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7038 fi
7039
7040 if test "$wxUSE_PROLOGIO" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7043 else
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7046 fi
7047
7048
7049 enablestring=
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7052 no_cache=0
7053 # Check whether --enable-resources or --disable-resources was given.
7054 if test "${enable_resources+set}" = set; then
7055 enableval="$enable_resources"
7056
7057 if test "$enableval" = yes; then
7058 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7059 else
7060 ac_cv_use_resources='wxUSE_RESOURCES=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7073
7074 fi;
7075
7076 eval "$ac_cv_use_resources"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7079 fi
7080
7081 if test "$wxUSE_RESOURCES" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7084 else
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7087 fi
7088
7089
7090
7091
7092 enablestring=
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7095 no_cache=0
7096 # Check whether --enable-clipboard or --disable-clipboard was given.
7097 if test "${enable_clipboard+set}" = set; then
7098 enableval="$enable_clipboard"
7099
7100 if test "$enableval" = yes; then
7101 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7102 else
7103 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7104 fi
7105
7106 else
7107
7108 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7111 else
7112 no_cache=1
7113 fi
7114
7115 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7116
7117 fi;
7118
7119 eval "$ac_cv_use_clipboard"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7122 fi
7123
7124 if test "$wxUSE_CLIPBOARD" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7127 else
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7130 fi
7131
7132
7133 enablestring=
7134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7136 no_cache=0
7137 # Check whether --enable-dnd or --disable-dnd was given.
7138 if test "${enable_dnd+set}" = set; then
7139 enableval="$enable_dnd"
7140
7141 if test "$enableval" = yes; then
7142 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7143 else
7144 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7145 fi
7146
7147 else
7148
7149 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x ; then
7151 eval "DEFAULT_$LINE"
7152 else
7153 no_cache=1
7154 fi
7155
7156 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7157
7158 fi;
7159
7160 eval "$ac_cv_use_dnd"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7163 fi
7164
7165 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7166 echo "$as_me:$LINENO: result: yes" >&5
7167 echo "${ECHO_T}yes" >&6
7168 else
7169 echo "$as_me:$LINENO: result: no" >&5
7170 echo "${ECHO_T}no" >&6
7171 fi
7172
7173
7174 enablestring=
7175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7177 no_cache=0
7178 # Check whether --enable-metafile or --disable-metafile was given.
7179 if test "${enable_metafile+set}" = set; then
7180 enableval="$enable_metafile"
7181
7182 if test "$enableval" = yes; then
7183 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7184 else
7185 ac_cv_use_metafile='wxUSE_METAFILE=no'
7186 fi
7187
7188 else
7189
7190 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x ; then
7192 eval "DEFAULT_$LINE"
7193 else
7194 no_cache=1
7195 fi
7196
7197 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7198
7199 fi;
7200
7201 eval "$ac_cv_use_metafile"
7202 if test "$no_cache" != 1; then
7203 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7204 fi
7205
7206 if test "$wxUSE_METAFILE" = yes; then
7207 echo "$as_me:$LINENO: result: yes" >&5
7208 echo "${ECHO_T}yes" >&6
7209 else
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7212 fi
7213
7214
7215
7216
7217
7218 enablestring=
7219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7221 no_cache=0
7222 # Check whether --enable-controls or --disable-controls was given.
7223 if test "${enable_controls+set}" = set; then
7224 enableval="$enable_controls"
7225
7226 if test "$enableval" = yes; then
7227 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7228 else
7229 ac_cv_use_controls='wxUSE_CONTROLS=no'
7230 fi
7231
7232 else
7233
7234 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x ; then
7236 eval "DEFAULT_$LINE"
7237 else
7238 no_cache=1
7239 fi
7240
7241 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7242
7243 fi;
7244
7245 eval "$ac_cv_use_controls"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7248 fi
7249
7250 if test "$wxUSE_CONTROLS" = yes; then
7251 echo "$as_me:$LINENO: result: yes" >&5
7252 echo "${ECHO_T}yes" >&6
7253 else
7254 echo "$as_me:$LINENO: result: no" >&5
7255 echo "${ECHO_T}no" >&6
7256 fi
7257
7258
7259 if test "$wxUSE_CONTROLS" = "yes"; then
7260 DEFAULT_wxUSE_ACCEL=yes
7261 DEFAULT_wxUSE_BMPBUTTON=yes
7262 DEFAULT_wxUSE_BUTTON=yes
7263 DEFAULT_wxUSE_CALCTRL=yes
7264 DEFAULT_wxUSE_CARET=yes
7265 DEFAULT_wxUSE_COMBOBOX=yes
7266 DEFAULT_wxUSE_CHECKBOX=yes
7267 DEFAULT_wxUSE_CHECKLISTBOX=yes
7268 DEFAULT_wxUSE_CHOICE=yes
7269 DEFAULT_wxUSE_CHOICEBOOK=yes
7270 DEFAULT_wxUSE_DATEPICKCTRL=yes
7271 DEFAULT_wxUSE_GAUGE=yes
7272 DEFAULT_wxUSE_GRID=yes
7273 DEFAULT_wxUSE_IMAGLIST=yes
7274 DEFAULT_wxUSE_LISTBOOK=yes
7275 DEFAULT_wxUSE_LISTBOX=yes
7276 DEFAULT_wxUSE_LISTCTRL=yes
7277 DEFAULT_wxUSE_NOTEBOOK=yes
7278 DEFAULT_wxUSE_RADIOBOX=yes
7279 DEFAULT_wxUSE_RADIOBTN=yes
7280 DEFAULT_wxUSE_SASH=yes
7281 DEFAULT_wxUSE_SCROLLBAR=yes
7282 DEFAULT_wxUSE_SLIDER=yes
7283 DEFAULT_wxUSE_SPINBTN=yes
7284 DEFAULT_wxUSE_SPINCTRL=yes
7285 DEFAULT_wxUSE_SPLITTER=yes
7286 DEFAULT_wxUSE_STATBMP=yes
7287 DEFAULT_wxUSE_STATBOX=yes
7288 DEFAULT_wxUSE_STATLINE=yes
7289 DEFAULT_wxUSE_STATUSBAR=yes
7290 DEFAULT_wxUSE_TAB_DIALOG=yes
7291 DEFAULT_wxUSE_TOGGLEBTN=yes
7292 DEFAULT_wxUSE_TOOLBAR=yes
7293 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7294 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7295 DEFAULT_wxUSE_TOOLTIPS=yes
7296 DEFAULT_wxUSE_TREECTRL=yes
7297 DEFAULT_wxUSE_POPUPWIN=yes
7298 DEFAULT_wxUSE_TIPWINDOW=yes
7299 elif test "$wxUSE_CONTROLS" = "no"; then
7300 DEFAULT_wxUSE_ACCEL=no
7301 DEFAULT_wxUSE_BMPBUTTON=no
7302 DEFAULT_wxUSE_BUTTON=no
7303 DEFAULT_wxUSE_CALCTRL=no
7304 DEFAULT_wxUSE_CARET=no
7305 DEFAULT_wxUSE_COMBOBOX=no
7306 DEFAULT_wxUSE_CHECKBOX=no
7307 DEFAULT_wxUSE_CHECKLISTBOX=no
7308 DEFAULT_wxUSE_CHOICE=no
7309 DEFAULT_wxUSE_CHOICEBOOK=no
7310 DEFAULT_wxUSE_DATEPICKCTRL=no
7311 DEFAULT_wxUSE_GAUGE=no
7312 DEFAULT_wxUSE_GRID=no
7313 DEFAULT_wxUSE_IMAGLIST=no
7314 DEFAULT_wxUSE_LISTBOOK=no
7315 DEFAULT_wxUSE_LISTBOX=no
7316 DEFAULT_wxUSE_LISTCTRL=no
7317 DEFAULT_wxUSE_NOTEBOOK=no
7318 DEFAULT_wxUSE_RADIOBOX=no
7319 DEFAULT_wxUSE_RADIOBTN=no
7320 DEFAULT_wxUSE_SASH=no
7321 DEFAULT_wxUSE_SCROLLBAR=no
7322 DEFAULT_wxUSE_SLIDER=no
7323 DEFAULT_wxUSE_SPINBTN=no
7324 DEFAULT_wxUSE_SPINCTRL=no
7325 DEFAULT_wxUSE_SPLITTER=no
7326 DEFAULT_wxUSE_STATBMP=no
7327 DEFAULT_wxUSE_STATBOX=no
7328 DEFAULT_wxUSE_STATLINE=no
7329 DEFAULT_wxUSE_STATUSBAR=no
7330 DEFAULT_wxUSE_TAB_DIALOG=no
7331 DEFAULT_wxUSE_TOGGLEBTN=no
7332 DEFAULT_wxUSE_TOOLBAR=no
7333 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7334 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7335 DEFAULT_wxUSE_TOOLTIPS=no
7336 DEFAULT_wxUSE_TREECTRL=no
7337 DEFAULT_wxUSE_POPUPWIN=no
7338 DEFAULT_wxUSE_TIPWINDOW=no
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-accel or --disable-accel was given.
7347 if test "${enable_accel+set}" = set; then
7348 enableval="$enable_accel"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_accel='wxUSE_ACCEL=yes'
7352 else
7353 ac_cv_use_accel='wxUSE_ACCEL=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7366
7367 fi;
7368
7369 eval "$ac_cv_use_accel"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_ACCEL" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-button or --disable-button was given.
7388 if test "${enable_button+set}" = set; then
7389 enableval="$enable_button"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_button='wxUSE_BUTTON=yes'
7393 else
7394 ac_cv_use_button='wxUSE_BUTTON=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7407
7408 fi;
7409
7410 eval "$ac_cv_use_button"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_BUTTON" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7429 if test "${enable_bmpbutton+set}" = set; then
7430 enableval="$enable_bmpbutton"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7434 else
7435 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7448
7449 fi;
7450
7451 eval "$ac_cv_use_bmpbutton"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_BMPBUTTON" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-calendar or --disable-calendar was given.
7470 if test "${enable_calendar+set}" = set; then
7471 enableval="$enable_calendar"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7475 else
7476 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7489
7490 fi;
7491
7492 eval "$ac_cv_use_calendar"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_CALCTRL" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-caret or --disable-caret was given.
7511 if test "${enable_caret+set}" = set; then
7512 enableval="$enable_caret"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_caret='wxUSE_CARET=yes'
7516 else
7517 ac_cv_use_caret='wxUSE_CARET=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7530
7531 fi;
7532
7533 eval "$ac_cv_use_caret"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_CARET" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-checkbox or --disable-checkbox was given.
7552 if test "${enable_checkbox+set}" = set; then
7553 enableval="$enable_checkbox"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7557 else
7558 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7571
7572 fi;
7573
7574 eval "$ac_cv_use_checkbox"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_CHECKBOX" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-checklst or --disable-checklst was given.
7593 if test "${enable_checklst+set}" = set; then
7594 enableval="$enable_checklst"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7598 else
7599 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7612
7613 fi;
7614
7615 eval "$ac_cv_use_checklst"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_CHECKLST" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-choice or --disable-choice was given.
7634 if test "${enable_choice+set}" = set; then
7635 enableval="$enable_choice"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_choice='wxUSE_CHOICE=yes'
7639 else
7640 ac_cv_use_choice='wxUSE_CHOICE=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7653
7654 fi;
7655
7656 eval "$ac_cv_use_choice"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_CHOICE" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670 enablestring=
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7673 no_cache=0
7674 # Check whether --enable-choicebook or --disable-choicebook was given.
7675 if test "${enable_choicebook+set}" = set; then
7676 enableval="$enable_choicebook"
7677
7678 if test "$enableval" = yes; then
7679 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7680 else
7681 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7682 fi
7683
7684 else
7685
7686 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7689 else
7690 no_cache=1
7691 fi
7692
7693 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7694
7695 fi;
7696
7697 eval "$ac_cv_use_choicebook"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test "$wxUSE_CHOICEBOOK" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7705 else
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7708 fi
7709
7710
7711 enablestring=
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7714 no_cache=0
7715 # Check whether --enable-combobox or --disable-combobox was given.
7716 if test "${enable_combobox+set}" = set; then
7717 enableval="$enable_combobox"
7718
7719 if test "$enableval" = yes; then
7720 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7721 else
7722 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7723 fi
7724
7725 else
7726
7727 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7735
7736 fi;
7737
7738 eval "$ac_cv_use_combobox"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7741 fi
7742
7743 if test "$wxUSE_COMBOBOX" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7746 else
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7749 fi
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-datepick or --disable-datepick was given.
7757 if test "${enable_datepick+set}" = set; then
7758 enableval="$enable_datepick"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7762 else
7763 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7776
7777 fi;
7778
7779 eval "$ac_cv_use_datepick"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_DATEPICKCTRL" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-display or --disable-display was given.
7798 if test "${enable_display+set}" = set; then
7799 enableval="$enable_display"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_display='wxUSE_DISPLAY=yes'
7803 else
7804 ac_cv_use_display='wxUSE_DISPLAY=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7817
7818 fi;
7819
7820 eval "$ac_cv_use_display"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_DISPLAY" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834 enablestring=
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7837 no_cache=0
7838 # Check whether --enable-gauge or --disable-gauge was given.
7839 if test "${enable_gauge+set}" = set; then
7840 enableval="$enable_gauge"
7841
7842 if test "$enableval" = yes; then
7843 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7844 else
7845 ac_cv_use_gauge='wxUSE_GAUGE=no'
7846 fi
7847
7848 else
7849
7850 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7853 else
7854 no_cache=1
7855 fi
7856
7857 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7858
7859 fi;
7860
7861 eval "$ac_cv_use_gauge"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7864 fi
7865
7866 if test "$wxUSE_GAUGE" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7869 else
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7872 fi
7873
7874
7875 enablestring=
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7878 no_cache=0
7879 # Check whether --enable-grid or --disable-grid was given.
7880 if test "${enable_grid+set}" = set; then
7881 enableval="$enable_grid"
7882
7883 if test "$enableval" = yes; then
7884 ac_cv_use_grid='wxUSE_GRID=yes'
7885 else
7886 ac_cv_use_grid='wxUSE_GRID=no'
7887 fi
7888
7889 else
7890
7891 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7894 else
7895 no_cache=1
7896 fi
7897
7898 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7899
7900 fi;
7901
7902 eval "$ac_cv_use_grid"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7905 fi
7906
7907 if test "$wxUSE_GRID" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7910 else
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7913 fi
7914
7915
7916 enablestring=
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7919 no_cache=0
7920 # Check whether --enable-imaglist or --disable-imaglist was given.
7921 if test "${enable_imaglist+set}" = set; then
7922 enableval="$enable_imaglist"
7923
7924 if test "$enableval" = yes; then
7925 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7926 else
7927 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7928 fi
7929
7930 else
7931
7932 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 else
7936 no_cache=1
7937 fi
7938
7939 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7940
7941 fi;
7942
7943 eval "$ac_cv_use_imaglist"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test "$wxUSE_IMAGLIST" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7951 else
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7954 fi
7955
7956
7957 enablestring=
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7960 no_cache=0
7961 # Check whether --enable-listbook or --disable-listbook was given.
7962 if test "${enable_listbook+set}" = set; then
7963 enableval="$enable_listbook"
7964
7965 if test "$enableval" = yes; then
7966 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7967 else
7968 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7969 fi
7970
7971 else
7972
7973 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7976 else
7977 no_cache=1
7978 fi
7979
7980 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7981
7982 fi;
7983
7984 eval "$ac_cv_use_listbook"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test "$wxUSE_LISTBOOK" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7992 else
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7995 fi
7996
7997
7998 enablestring=
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8001 no_cache=0
8002 # Check whether --enable-listbox or --disable-listbox was given.
8003 if test "${enable_listbox+set}" = set; then
8004 enableval="$enable_listbox"
8005
8006 if test "$enableval" = yes; then
8007 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8008 else
8009 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8010 fi
8011
8012 else
8013
8014 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x ; then
8016 eval "DEFAULT_$LINE"
8017 else
8018 no_cache=1
8019 fi
8020
8021 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8022
8023 fi;
8024
8025 eval "$ac_cv_use_listbox"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8028 fi
8029
8030 if test "$wxUSE_LISTBOX" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8033 else
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8036 fi
8037
8038
8039 enablestring=
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8042 no_cache=0
8043 # Check whether --enable-listctrl or --disable-listctrl was given.
8044 if test "${enable_listctrl+set}" = set; then
8045 enableval="$enable_listctrl"
8046
8047 if test "$enableval" = yes; then
8048 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8049 else
8050 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8051 fi
8052
8053 else
8054
8055 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 else
8059 no_cache=1
8060 fi
8061
8062 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8063
8064 fi;
8065
8066 eval "$ac_cv_use_listctrl"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8069 fi
8070
8071 if test "$wxUSE_LISTCTRL" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8074 else
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8077 fi
8078
8079
8080 enablestring=
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8083 no_cache=0
8084 # Check whether --enable-notebook or --disable-notebook was given.
8085 if test "${enable_notebook+set}" = set; then
8086 enableval="$enable_notebook"
8087
8088 if test "$enableval" = yes; then
8089 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8090 else
8091 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8104
8105 fi;
8106
8107 eval "$ac_cv_use_notebook"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8110 fi
8111
8112 if test "$wxUSE_NOTEBOOK" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8115 else
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8118 fi
8119
8120
8121 enablestring=
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8124 no_cache=0
8125 # Check whether --enable-radiobox or --disable-radiobox was given.
8126 if test "${enable_radiobox+set}" = set; then
8127 enableval="$enable_radiobox"
8128
8129 if test "$enableval" = yes; then
8130 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8131 else
8132 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8133 fi
8134
8135 else
8136
8137 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8140 else
8141 no_cache=1
8142 fi
8143
8144 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8145
8146 fi;
8147
8148 eval "$ac_cv_use_radiobox"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8151 fi
8152
8153 if test "$wxUSE_RADIOBOX" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8156 else
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8159 fi
8160
8161
8162 enablestring=
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8165 no_cache=0
8166 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8167 if test "${enable_radiobtn+set}" = set; then
8168 enableval="$enable_radiobtn"
8169
8170 if test "$enableval" = yes; then
8171 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8172 else
8173 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8174 fi
8175
8176 else
8177
8178 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x ; then
8180 eval "DEFAULT_$LINE"
8181 else
8182 no_cache=1
8183 fi
8184
8185 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8186
8187 fi;
8188
8189 eval "$ac_cv_use_radiobtn"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8192 fi
8193
8194 if test "$wxUSE_RADIOBTN" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8197 else
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8200 fi
8201
8202
8203 enablestring=
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8206 no_cache=0
8207 # Check whether --enable-sash or --disable-sash was given.
8208 if test "${enable_sash+set}" = set; then
8209 enableval="$enable_sash"
8210
8211 if test "$enableval" = yes; then
8212 ac_cv_use_sash='wxUSE_SASH=yes'
8213 else
8214 ac_cv_use_sash='wxUSE_SASH=no'
8215 fi
8216
8217 else
8218
8219 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 else
8223 no_cache=1
8224 fi
8225
8226 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8227
8228 fi;
8229
8230 eval "$ac_cv_use_sash"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8233 fi
8234
8235 if test "$wxUSE_SASH" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8238 else
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8241 fi
8242
8243
8244 enablestring=
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8247 no_cache=0
8248 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8249 if test "${enable_scrollbar+set}" = set; then
8250 enableval="$enable_scrollbar"
8251
8252 if test "$enableval" = yes; then
8253 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8254 else
8255 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8256 fi
8257
8258 else
8259
8260 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x ; then
8262 eval "DEFAULT_$LINE"
8263 else
8264 no_cache=1
8265 fi
8266
8267 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8268
8269 fi;
8270
8271 eval "$ac_cv_use_scrollbar"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8274 fi
8275
8276 if test "$wxUSE_SCROLLBAR" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8279 else
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8282 fi
8283
8284
8285 enablestring=
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8288 no_cache=0
8289 # Check whether --enable-slider or --disable-slider was given.
8290 if test "${enable_slider+set}" = set; then
8291 enableval="$enable_slider"
8292
8293 if test "$enableval" = yes; then
8294 ac_cv_use_slider='wxUSE_SLIDER=yes'
8295 else
8296 ac_cv_use_slider='wxUSE_SLIDER=no'
8297 fi
8298
8299 else
8300
8301 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8304 else
8305 no_cache=1
8306 fi
8307
8308 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8309
8310 fi;
8311
8312 eval "$ac_cv_use_slider"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8315 fi
8316
8317 if test "$wxUSE_SLIDER" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8320 else
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8323 fi
8324
8325
8326 enablestring=
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8329 no_cache=0
8330 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8331 if test "${enable_spinbtn+set}" = set; then
8332 enableval="$enable_spinbtn"
8333
8334 if test "$enableval" = yes; then
8335 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8336 else
8337 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8338 fi
8339
8340 else
8341
8342 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x ; then
8344 eval "DEFAULT_$LINE"
8345 else
8346 no_cache=1
8347 fi
8348
8349 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8350
8351 fi;
8352
8353 eval "$ac_cv_use_spinbtn"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8356 fi
8357
8358 if test "$wxUSE_SPINBTN" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8361 else
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8364 fi
8365
8366
8367 enablestring=
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8370 no_cache=0
8371 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8372 if test "${enable_spinctrl+set}" = set; then
8373 enableval="$enable_spinctrl"
8374
8375 if test "$enableval" = yes; then
8376 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8377 else
8378 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8379 fi
8380
8381 else
8382
8383 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x ; then
8385 eval "DEFAULT_$LINE"
8386 else
8387 no_cache=1
8388 fi
8389
8390 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8391
8392 fi;
8393
8394 eval "$ac_cv_use_spinctrl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8397 fi
8398
8399 if test "$wxUSE_SPINCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8402 else
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8405 fi
8406
8407
8408 enablestring=
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8411 no_cache=0
8412 # Check whether --enable-splitter or --disable-splitter was given.
8413 if test "${enable_splitter+set}" = set; then
8414 enableval="$enable_splitter"
8415
8416 if test "$enableval" = yes; then
8417 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8418 else
8419 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8432
8433 fi;
8434
8435 eval "$ac_cv_use_splitter"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8438 fi
8439
8440 if test "$wxUSE_SPLITTER" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8443 else
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8446 fi
8447
8448
8449 enablestring=
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8452 no_cache=0
8453 # Check whether --enable-statbmp or --disable-statbmp was given.
8454 if test "${enable_statbmp+set}" = set; then
8455 enableval="$enable_statbmp"
8456
8457 if test "$enableval" = yes; then
8458 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8459 else
8460 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8461 fi
8462
8463 else
8464
8465 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8468 else
8469 no_cache=1
8470 fi
8471
8472 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8473
8474 fi;
8475
8476 eval "$ac_cv_use_statbmp"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8479 fi
8480
8481 if test "$wxUSE_STATBMP" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8484 else
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487 fi
8488
8489
8490 enablestring=
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8493 no_cache=0
8494 # Check whether --enable-statbox or --disable-statbox was given.
8495 if test "${enable_statbox+set}" = set; then
8496 enableval="$enable_statbox"
8497
8498 if test "$enableval" = yes; then
8499 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8500 else
8501 ac_cv_use_statbox='wxUSE_STATBOX=no'
8502 fi
8503
8504 else
8505
8506 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8509 else
8510 no_cache=1
8511 fi
8512
8513 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8514
8515 fi;
8516
8517 eval "$ac_cv_use_statbox"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8520 fi
8521
8522 if test "$wxUSE_STATBOX" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8525 else
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8528 fi
8529
8530
8531 enablestring=
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8534 no_cache=0
8535 # Check whether --enable-statline or --disable-statline was given.
8536 if test "${enable_statline+set}" = set; then
8537 enableval="$enable_statline"
8538
8539 if test "$enableval" = yes; then
8540 ac_cv_use_statline='wxUSE_STATLINE=yes'
8541 else
8542 ac_cv_use_statline='wxUSE_STATLINE=no'
8543 fi
8544
8545 else
8546
8547 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x ; then
8549 eval "DEFAULT_$LINE"
8550 else
8551 no_cache=1
8552 fi
8553
8554 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8555
8556 fi;
8557
8558 eval "$ac_cv_use_statline"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8561 fi
8562
8563 if test "$wxUSE_STATLINE" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8566 else
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8569 fi
8570
8571
8572 enablestring=
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8575 no_cache=0
8576 # Check whether --enable-stattext or --disable-stattext was given.
8577 if test "${enable_stattext+set}" = set; then
8578 enableval="$enable_stattext"
8579
8580 if test "$enableval" = yes; then
8581 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8582 else
8583 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8584 fi
8585
8586 else
8587
8588 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x ; then
8590 eval "DEFAULT_$LINE"
8591 else
8592 no_cache=1
8593 fi
8594
8595 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8596
8597 fi;
8598
8599 eval "$ac_cv_use_stattext"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8602 fi
8603
8604 if test "$wxUSE_STATTEXT" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8607 else
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8610 fi
8611
8612
8613 enablestring=
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8616 no_cache=0
8617 # Check whether --enable-statusbar or --disable-statusbar was given.
8618 if test "${enable_statusbar+set}" = set; then
8619 enableval="$enable_statusbar"
8620
8621 if test "$enableval" = yes; then
8622 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8623 else
8624 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8625 fi
8626
8627 else
8628
8629 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x ; then
8631 eval "DEFAULT_$LINE"
8632 else
8633 no_cache=1
8634 fi
8635
8636 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8637
8638 fi;
8639
8640 eval "$ac_cv_use_statusbar"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8643 fi
8644
8645 if test "$wxUSE_STATUSBAR" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8648 else
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8651 fi
8652
8653
8654 enablestring=
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8657 no_cache=0
8658 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8659 if test "${enable_tabdialog+set}" = set; then
8660 enableval="$enable_tabdialog"
8661
8662 if test "$enableval" = yes; then
8663 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8664 else
8665 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8666 fi
8667
8668 else
8669
8670 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x ; then
8672 eval "DEFAULT_$LINE"
8673 else
8674 no_cache=1
8675 fi
8676
8677 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8678
8679 fi;
8680
8681 eval "$ac_cv_use_tabdialog"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8684 fi
8685
8686 if test "$wxUSE_TABDIALOG" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8689 else
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8692 fi
8693
8694
8695 enablestring=
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8698 no_cache=0
8699 # Check whether --enable-textctrl or --disable-textctrl was given.
8700 if test "${enable_textctrl+set}" = set; then
8701 enableval="$enable_textctrl"
8702
8703 if test "$enableval" = yes; then
8704 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8705 else
8706 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8707 fi
8708
8709 else
8710
8711 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x ; then
8713 eval "DEFAULT_$LINE"
8714 else
8715 no_cache=1
8716 fi
8717
8718 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8719
8720 fi;
8721
8722 eval "$ac_cv_use_textctrl"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8725 fi
8726
8727 if test "$wxUSE_TEXTCTRL" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8730 else
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8733 fi
8734
8735
8736 enablestring=
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8739 no_cache=0
8740 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8741 if test "${enable_togglebtn+set}" = set; then
8742 enableval="$enable_togglebtn"
8743
8744 if test "$enableval" = yes; then
8745 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8746 else
8747 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8748 fi
8749
8750 else
8751
8752 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x ; then
8754 eval "DEFAULT_$LINE"
8755 else
8756 no_cache=1
8757 fi
8758
8759 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8760
8761 fi;
8762
8763 eval "$ac_cv_use_togglebtn"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8766 fi
8767
8768 if test "$wxUSE_TOGGLEBTN" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8771 else
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8774 fi
8775
8776
8777 enablestring=
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8780 no_cache=0
8781 # Check whether --enable-toolbar or --disable-toolbar was given.
8782 if test "${enable_toolbar+set}" = set; then
8783 enableval="$enable_toolbar"
8784
8785 if test "$enableval" = yes; then
8786 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8787 else
8788 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8789 fi
8790
8791 else
8792
8793 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x ; then
8795 eval "DEFAULT_$LINE"
8796 else
8797 no_cache=1
8798 fi
8799
8800 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8801
8802 fi;
8803
8804 eval "$ac_cv_use_toolbar"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8807 fi
8808
8809 if test "$wxUSE_TOOLBAR" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8812 else
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8815 fi
8816
8817
8818 enablestring=
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8821 no_cache=0
8822 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8823 if test "${enable_tbarnative+set}" = set; then
8824 enableval="$enable_tbarnative"
8825
8826 if test "$enableval" = yes; then
8827 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8828 else
8829 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8830 fi
8831
8832 else
8833
8834 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x ; then
8836 eval "DEFAULT_$LINE"
8837 else
8838 no_cache=1
8839 fi
8840
8841 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8842
8843 fi;
8844
8845 eval "$ac_cv_use_tbarnative"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8848 fi
8849
8850 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8853 else
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8856 fi
8857
8858
8859 enablestring=
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8862 no_cache=0
8863 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8864 if test "${enable_tbarsmpl+set}" = set; then
8865 enableval="$enable_tbarsmpl"
8866
8867 if test "$enableval" = yes; then
8868 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8869 else
8870 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8871 fi
8872
8873 else
8874
8875 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x ; then
8877 eval "DEFAULT_$LINE"
8878 else
8879 no_cache=1
8880 fi
8881
8882 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8883
8884 fi;
8885
8886 eval "$ac_cv_use_tbarsmpl"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8889 fi
8890
8891 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8894 else
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8897 fi
8898
8899
8900 enablestring=
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8903 no_cache=0
8904 # Check whether --enable-treectrl or --disable-treectrl was given.
8905 if test "${enable_treectrl+set}" = set; then
8906 enableval="$enable_treectrl"
8907
8908 if test "$enableval" = yes; then
8909 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8910 else
8911 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8912 fi
8913
8914 else
8915
8916 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x ; then
8918 eval "DEFAULT_$LINE"
8919 else
8920 no_cache=1
8921 fi
8922
8923 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8924
8925 fi;
8926
8927 eval "$ac_cv_use_treectrl"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8930 fi
8931
8932 if test "$wxUSE_TREECTRL" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8935 else
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8938 fi
8939
8940
8941 enablestring=
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8944 no_cache=0
8945 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8946 if test "${enable_tipwindow+set}" = set; then
8947 enableval="$enable_tipwindow"
8948
8949 if test "$enableval" = yes; then
8950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8951 else
8952 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8953 fi
8954
8955 else
8956
8957 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x ; then
8959 eval "DEFAULT_$LINE"
8960 else
8961 no_cache=1
8962 fi
8963
8964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8965
8966 fi;
8967
8968 eval "$ac_cv_use_tipwindow"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8971 fi
8972
8973 if test "$wxUSE_TIPWINDOW" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8976 else
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8979 fi
8980
8981
8982 enablestring=
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8985 no_cache=0
8986 # Check whether --enable-popupwin or --disable-popupwin was given.
8987 if test "${enable_popupwin+set}" = set; then
8988 enableval="$enable_popupwin"
8989
8990 if test "$enableval" = yes; then
8991 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8992 else
8993 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8994 fi
8995
8996 else
8997
8998 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x ; then
9000 eval "DEFAULT_$LINE"
9001 else
9002 no_cache=1
9003 fi
9004
9005 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9006
9007 fi;
9008
9009 eval "$ac_cv_use_popupwin"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9012 fi
9013
9014 if test "$wxUSE_POPUPWIN" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9017 else
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9020 fi
9021
9022
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-commondlg or --disable-commondlg was given.
9030 if test "${enable_commondlg+set}" = set; then
9031 enableval="$enable_commondlg"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9035 else
9036 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9049
9050 fi;
9051
9052 eval "$ac_cv_use_commondlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_COMMONDLGS" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066 enablestring=
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9069 no_cache=0
9070 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9071 if test "${enable_choicedlg+set}" = set; then
9072 enableval="$enable_choicedlg"
9073
9074 if test "$enableval" = yes; then
9075 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9076 else
9077 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9078 fi
9079
9080 else
9081
9082 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9085 else
9086 no_cache=1
9087 fi
9088
9089 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9090
9091 fi;
9092
9093 eval "$ac_cv_use_choicedlg"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9096 fi
9097
9098 if test "$wxUSE_CHOICEDLG" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9101 else
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9104 fi
9105
9106
9107 enablestring=
9108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9110 no_cache=0
9111 # Check whether --enable-coldlg or --disable-coldlg was given.
9112 if test "${enable_coldlg+set}" = set; then
9113 enableval="$enable_coldlg"
9114
9115 if test "$enableval" = yes; then
9116 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9117 else
9118 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9119 fi
9120
9121 else
9122
9123 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9126 else
9127 no_cache=1
9128 fi
9129
9130 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9131
9132 fi;
9133
9134 eval "$ac_cv_use_coldlg"
9135 if test "$no_cache" != 1; then
9136 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9137 fi
9138
9139 if test "$wxUSE_COLOURDLG" = yes; then
9140 echo "$as_me:$LINENO: result: yes" >&5
9141 echo "${ECHO_T}yes" >&6
9142 else
9143 echo "$as_me:$LINENO: result: no" >&5
9144 echo "${ECHO_T}no" >&6
9145 fi
9146
9147
9148 enablestring=
9149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9151 no_cache=0
9152 # Check whether --enable-filedlg or --disable-filedlg was given.
9153 if test "${enable_filedlg+set}" = set; then
9154 enableval="$enable_filedlg"
9155
9156 if test "$enableval" = yes; then
9157 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9158 else
9159 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9160 fi
9161
9162 else
9163
9164 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9167 else
9168 no_cache=1
9169 fi
9170
9171 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9172
9173 fi;
9174
9175 eval "$ac_cv_use_filedlg"
9176 if test "$no_cache" != 1; then
9177 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9178 fi
9179
9180 if test "$wxUSE_FILEDLG" = yes; then
9181 echo "$as_me:$LINENO: result: yes" >&5
9182 echo "${ECHO_T}yes" >&6
9183 else
9184 echo "$as_me:$LINENO: result: no" >&5
9185 echo "${ECHO_T}no" >&6
9186 fi
9187
9188
9189 enablestring=
9190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9192 no_cache=0
9193 # Check whether --enable-finddlg or --disable-finddlg was given.
9194 if test "${enable_finddlg+set}" = set; then
9195 enableval="$enable_finddlg"
9196
9197 if test "$enableval" = yes; then
9198 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9199 else
9200 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9201 fi
9202
9203 else
9204
9205 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9208 else
9209 no_cache=1
9210 fi
9211
9212 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9213
9214 fi;
9215
9216 eval "$ac_cv_use_finddlg"
9217 if test "$no_cache" != 1; then
9218 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9219 fi
9220
9221 if test "$wxUSE_FINDREPLDLG" = yes; then
9222 echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6
9224 else
9225 echo "$as_me:$LINENO: result: no" >&5
9226 echo "${ECHO_T}no" >&6
9227 fi
9228
9229
9230 enablestring=
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9233 no_cache=0
9234 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9235 if test "${enable_fontdlg+set}" = set; then
9236 enableval="$enable_fontdlg"
9237
9238 if test "$enableval" = yes; then
9239 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9240 else
9241 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9242 fi
9243
9244 else
9245
9246 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9249 else
9250 no_cache=1
9251 fi
9252
9253 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9254
9255 fi;
9256
9257 eval "$ac_cv_use_fontdlg"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9260 fi
9261
9262 if test "$wxUSE_FONTDLG" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9265 else
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9268 fi
9269
9270
9271 enablestring=
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9274 no_cache=0
9275 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9276 if test "${enable_dirdlg+set}" = set; then
9277 enableval="$enable_dirdlg"
9278
9279 if test "$enableval" = yes; then
9280 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9281 else
9282 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9283 fi
9284
9285 else
9286
9287 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9290 else
9291 no_cache=1
9292 fi
9293
9294 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9295
9296 fi;
9297
9298 eval "$ac_cv_use_dirdlg"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9301 fi
9302
9303 if test "$wxUSE_DIRDLG" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9306 else
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9309 fi
9310
9311
9312 enablestring=
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9315 no_cache=0
9316 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9317 if test "${enable_msgdlg+set}" = set; then
9318 enableval="$enable_msgdlg"
9319
9320 if test "$enableval" = yes; then
9321 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9322 else
9323 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9324 fi
9325
9326 else
9327
9328 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9331 else
9332 no_cache=1
9333 fi
9334
9335 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9336
9337 fi;
9338
9339 eval "$ac_cv_use_msgdlg"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9342 fi
9343
9344 if test "$wxUSE_MSGDLG" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9347 else
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9350 fi
9351
9352
9353 enablestring=
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9356 no_cache=0
9357 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9358 if test "${enable_numberdlg+set}" = set; then
9359 enableval="$enable_numberdlg"
9360
9361 if test "$enableval" = yes; then
9362 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9363 else
9364 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9365 fi
9366
9367 else
9368
9369 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9372 else
9373 no_cache=1
9374 fi
9375
9376 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9377
9378 fi;
9379
9380 eval "$ac_cv_use_numberdlg"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9383 fi
9384
9385 if test "$wxUSE_NUMBERDLG" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9388 else
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9391 fi
9392
9393
9394 enablestring=
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9397 no_cache=0
9398 # Check whether --enable-splash or --disable-splash was given.
9399 if test "${enable_splash+set}" = set; then
9400 enableval="$enable_splash"
9401
9402 if test "$enableval" = yes; then
9403 ac_cv_use_splash='wxUSE_SPLASH=yes'
9404 else
9405 ac_cv_use_splash='wxUSE_SPLASH=no'
9406 fi
9407
9408 else
9409
9410 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9413 else
9414 no_cache=1
9415 fi
9416
9417 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9418
9419 fi;
9420
9421 eval "$ac_cv_use_splash"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9424 fi
9425
9426 if test "$wxUSE_SPLASH" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9429 else
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9432 fi
9433
9434
9435 enablestring=
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9438 no_cache=0
9439 # Check whether --enable-textdlg or --disable-textdlg was given.
9440 if test "${enable_textdlg+set}" = set; then
9441 enableval="$enable_textdlg"
9442
9443 if test "$enableval" = yes; then
9444 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9445 else
9446 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9447 fi
9448
9449 else
9450
9451 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9454 else
9455 no_cache=1
9456 fi
9457
9458 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9459
9460 fi;
9461
9462 eval "$ac_cv_use_textdlg"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9465 fi
9466
9467 if test "$wxUSE_TEXTDLG" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9470 else
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9473 fi
9474
9475
9476 enablestring=
9477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9479 no_cache=0
9480 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9481 if test "${enable_tipdlg+set}" = set; then
9482 enableval="$enable_tipdlg"
9483
9484 if test "$enableval" = yes; then
9485 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9486 else
9487 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9488 fi
9489
9490 else
9491
9492 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9495 else
9496 no_cache=1
9497 fi
9498
9499 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9500
9501 fi;
9502
9503 eval "$ac_cv_use_tipdlg"
9504 if test "$no_cache" != 1; then
9505 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9506 fi
9507
9508 if test "$wxUSE_STARTUP_TIPS" = yes; then
9509 echo "$as_me:$LINENO: result: yes" >&5
9510 echo "${ECHO_T}yes" >&6
9511 else
9512 echo "$as_me:$LINENO: result: no" >&5
9513 echo "${ECHO_T}no" >&6
9514 fi
9515
9516
9517 enablestring=
9518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9520 no_cache=0
9521 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9522 if test "${enable_progressdlg+set}" = set; then
9523 enableval="$enable_progressdlg"
9524
9525 if test "$enableval" = yes; then
9526 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9527 else
9528 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9529 fi
9530
9531 else
9532
9533 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x ; then
9535 eval "DEFAULT_$LINE"
9536 else
9537 no_cache=1
9538 fi
9539
9540 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9541
9542 fi;
9543
9544 eval "$ac_cv_use_progressdlg"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9547 fi
9548
9549 if test "$wxUSE_PROGRESSDLG" = yes; then
9550 echo "$as_me:$LINENO: result: yes" >&5
9551 echo "${ECHO_T}yes" >&6
9552 else
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9555 fi
9556
9557
9558 enablestring=
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9561 no_cache=0
9562 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9563 if test "${enable_wizarddlg+set}" = set; then
9564 enableval="$enable_wizarddlg"
9565
9566 if test "$enableval" = yes; then
9567 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9568 else
9569 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9570 fi
9571
9572 else
9573
9574 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9577 else
9578 no_cache=1
9579 fi
9580
9581 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9582
9583 fi;
9584
9585 eval "$ac_cv_use_wizarddlg"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9588 fi
9589
9590 if test "$wxUSE_WIZARDDLG" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9593 else
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9596 fi
9597
9598
9599
9600
9601 enablestring=
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9604 no_cache=0
9605 # Check whether --enable-menus or --disable-menus was given.
9606 if test "${enable_menus+set}" = set; then
9607 enableval="$enable_menus"
9608
9609 if test "$enableval" = yes; then
9610 ac_cv_use_menus='wxUSE_MENUS=yes'
9611 else
9612 ac_cv_use_menus='wxUSE_MENUS=no'
9613 fi
9614
9615 else
9616
9617 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9620 else
9621 no_cache=1
9622 fi
9623
9624 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9625
9626 fi;
9627
9628 eval "$ac_cv_use_menus"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9631 fi
9632
9633 if test "$wxUSE_MENUS" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9636 else
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9639 fi
9640
9641
9642 enablestring=
9643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9644 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9645 no_cache=0
9646 # Check whether --enable-miniframe or --disable-miniframe was given.
9647 if test "${enable_miniframe+set}" = set; then
9648 enableval="$enable_miniframe"
9649
9650 if test "$enableval" = yes; then
9651 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9652 else
9653 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9654 fi
9655
9656 else
9657
9658 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x ; then
9660 eval "DEFAULT_$LINE"
9661 else
9662 no_cache=1
9663 fi
9664
9665 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9666
9667 fi;
9668
9669 eval "$ac_cv_use_miniframe"
9670 if test "$no_cache" != 1; then
9671 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9672 fi
9673
9674 if test "$wxUSE_MINIFRAME" = yes; then
9675 echo "$as_me:$LINENO: result: yes" >&5
9676 echo "${ECHO_T}yes" >&6
9677 else
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9680 fi
9681
9682
9683 enablestring=
9684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9686 no_cache=0
9687 # Check whether --enable-tooltips or --disable-tooltips was given.
9688 if test "${enable_tooltips+set}" = set; then
9689 enableval="$enable_tooltips"
9690
9691 if test "$enableval" = yes; then
9692 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9693 else
9694 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9695 fi
9696
9697 else
9698
9699 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9700 if test "x$LINE" != x ; then
9701 eval "DEFAULT_$LINE"
9702 else
9703 no_cache=1
9704 fi
9705
9706 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9707
9708 fi;
9709
9710 eval "$ac_cv_use_tooltips"
9711 if test "$no_cache" != 1; then
9712 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9713 fi
9714
9715 if test "$wxUSE_TOOLTIPS" = yes; then
9716 echo "$as_me:$LINENO: result: yes" >&5
9717 echo "${ECHO_T}yes" >&6
9718 else
9719 echo "$as_me:$LINENO: result: no" >&5
9720 echo "${ECHO_T}no" >&6
9721 fi
9722
9723
9724 enablestring=
9725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9727 no_cache=0
9728 # Check whether --enable-splines or --disable-splines was given.
9729 if test "${enable_splines+set}" = set; then
9730 enableval="$enable_splines"
9731
9732 if test "$enableval" = yes; then
9733 ac_cv_use_splines='wxUSE_SPLINES=yes'
9734 else
9735 ac_cv_use_splines='wxUSE_SPLINES=no'
9736 fi
9737
9738 else
9739
9740 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x ; then
9742 eval "DEFAULT_$LINE"
9743 else
9744 no_cache=1
9745 fi
9746
9747 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9748
9749 fi;
9750
9751 eval "$ac_cv_use_splines"
9752 if test "$no_cache" != 1; then
9753 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9754 fi
9755
9756 if test "$wxUSE_SPLINES" = yes; then
9757 echo "$as_me:$LINENO: result: yes" >&5
9758 echo "${ECHO_T}yes" >&6
9759 else
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9762 fi
9763
9764
9765 enablestring=
9766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9768 no_cache=0
9769 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9770 if test "${enable_mousewheel+set}" = set; then
9771 enableval="$enable_mousewheel"
9772
9773 if test "$enableval" = yes; then
9774 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9775 else
9776 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9777 fi
9778
9779 else
9780
9781 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9782 if test "x$LINE" != x ; then
9783 eval "DEFAULT_$LINE"
9784 else
9785 no_cache=1
9786 fi
9787
9788 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9789
9790 fi;
9791
9792 eval "$ac_cv_use_mousewheel"
9793 if test "$no_cache" != 1; then
9794 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9795 fi
9796
9797 if test "$wxUSE_MOUSEWHEEL" = yes; then
9798 echo "$as_me:$LINENO: result: yes" >&5
9799 echo "${ECHO_T}yes" >&6
9800 else
9801 echo "$as_me:$LINENO: result: no" >&5
9802 echo "${ECHO_T}no" >&6
9803 fi
9804
9805
9806 enablestring=
9807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9809 no_cache=0
9810 # Check whether --enable-validators or --disable-validators was given.
9811 if test "${enable_validators+set}" = set; then
9812 enableval="$enable_validators"
9813
9814 if test "$enableval" = yes; then
9815 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9816 else
9817 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9818 fi
9819
9820 else
9821
9822 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9823 if test "x$LINE" != x ; then
9824 eval "DEFAULT_$LINE"
9825 else
9826 no_cache=1
9827 fi
9828
9829 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9830
9831 fi;
9832
9833 eval "$ac_cv_use_validators"
9834 if test "$no_cache" != 1; then
9835 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9836 fi
9837
9838 if test "$wxUSE_VALIDATORS" = yes; then
9839 echo "$as_me:$LINENO: result: yes" >&5
9840 echo "${ECHO_T}yes" >&6
9841 else
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9844 fi
9845
9846
9847 enablestring=
9848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9850 no_cache=0
9851 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9852 if test "${enable_busyinfo+set}" = set; then
9853 enableval="$enable_busyinfo"
9854
9855 if test "$enableval" = yes; then
9856 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9857 else
9858 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9859 fi
9860
9861 else
9862
9863 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9864 if test "x$LINE" != x ; then
9865 eval "DEFAULT_$LINE"
9866 else
9867 no_cache=1
9868 fi
9869
9870 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9871
9872 fi;
9873
9874 eval "$ac_cv_use_busyinfo"
9875 if test "$no_cache" != 1; then
9876 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9877 fi
9878
9879 if test "$wxUSE_BUSYINFO" = yes; then
9880 echo "$as_me:$LINENO: result: yes" >&5
9881 echo "${ECHO_T}yes" >&6
9882 else
9883 echo "$as_me:$LINENO: result: no" >&5
9884 echo "${ECHO_T}no" >&6
9885 fi
9886
9887
9888 enablestring=
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9891 no_cache=0
9892 # Check whether --enable-joystick or --disable-joystick was given.
9893 if test "${enable_joystick+set}" = set; then
9894 enableval="$enable_joystick"
9895
9896 if test "$enableval" = yes; then
9897 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9898 else
9899 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9900 fi
9901
9902 else
9903
9904 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x ; then
9906 eval "DEFAULT_$LINE"
9907 else
9908 no_cache=1
9909 fi
9910
9911 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9912
9913 fi;
9914
9915 eval "$ac_cv_use_joystick"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9918 fi
9919
9920 if test "$wxUSE_JOYSTICK" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9923 else
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9926 fi
9927
9928
9929 enablestring=
9930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9932 no_cache=0
9933 # Check whether --enable-metafile or --disable-metafile was given.
9934 if test "${enable_metafile+set}" = set; then
9935 enableval="$enable_metafile"
9936
9937 if test "$enableval" = yes; then
9938 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9939 else
9940 ac_cv_use_metafile='wxUSE_METAFILE=no'
9941 fi
9942
9943 else
9944
9945 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9946 if test "x$LINE" != x ; then
9947 eval "DEFAULT_$LINE"
9948 else
9949 no_cache=1
9950 fi
9951
9952 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9953
9954 fi;
9955
9956 eval "$ac_cv_use_metafile"
9957 if test "$no_cache" != 1; then
9958 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9959 fi
9960
9961 if test "$wxUSE_METAFILE" = yes; then
9962 echo "$as_me:$LINENO: result: yes" >&5
9963 echo "${ECHO_T}yes" >&6
9964 else
9965 echo "$as_me:$LINENO: result: no" >&5
9966 echo "${ECHO_T}no" >&6
9967 fi
9968
9969
9970 enablestring=
9971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9973 no_cache=0
9974 # Check whether --enable-dragimage or --disable-dragimage was given.
9975 if test "${enable_dragimage+set}" = set; then
9976 enableval="$enable_dragimage"
9977
9978 if test "$enableval" = yes; then
9979 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9980 else
9981 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9982 fi
9983
9984 else
9985
9986 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9987 if test "x$LINE" != x ; then
9988 eval "DEFAULT_$LINE"
9989 else
9990 no_cache=1
9991 fi
9992
9993 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9994
9995 fi;
9996
9997 eval "$ac_cv_use_dragimage"
9998 if test "$no_cache" != 1; then
9999 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10000 fi
10001
10002 if test "$wxUSE_DRAGIMAGE" = yes; then
10003 echo "$as_me:$LINENO: result: yes" >&5
10004 echo "${ECHO_T}yes" >&6
10005 else
10006 echo "$as_me:$LINENO: result: no" >&5
10007 echo "${ECHO_T}no" >&6
10008 fi
10009
10010
10011 enablestring=
10012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10013 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10014 no_cache=0
10015 # Check whether --enable-accessibility or --disable-accessibility was given.
10016 if test "${enable_accessibility+set}" = set; then
10017 enableval="$enable_accessibility"
10018
10019 if test "$enableval" = yes; then
10020 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10021 else
10022 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10023 fi
10024
10025 else
10026
10027 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10028 if test "x$LINE" != x ; then
10029 eval "DEFAULT_$LINE"
10030 else
10031 no_cache=1
10032 fi
10033
10034 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10035
10036 fi;
10037
10038 eval "$ac_cv_use_accessibility"
10039 if test "$no_cache" != 1; then
10040 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10041 fi
10042
10043 if test "$wxUSE_ACCESSIBILITY" = yes; then
10044 echo "$as_me:$LINENO: result: yes" >&5
10045 echo "${ECHO_T}yes" >&6
10046 else
10047 echo "$as_me:$LINENO: result: no" >&5
10048 echo "${ECHO_T}no" >&6
10049 fi
10050
10051
10052
10053
10054 enablestring=
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10057 no_cache=0
10058 # Check whether --enable-palette or --disable-palette was given.
10059 if test "${enable_palette+set}" = set; then
10060 enableval="$enable_palette"
10061
10062 if test "$enableval" = yes; then
10063 ac_cv_use_palette='wxUSE_PALETTE=yes'
10064 else
10065 ac_cv_use_palette='wxUSE_PALETTE=no'
10066 fi
10067
10068 else
10069
10070 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x ; then
10072 eval "DEFAULT_$LINE"
10073 else
10074 no_cache=1
10075 fi
10076
10077 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10078
10079 fi;
10080
10081 eval "$ac_cv_use_palette"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10084 fi
10085
10086 if test "$wxUSE_PALETTE" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10089 else
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10092 fi
10093
10094
10095 enablestring=
10096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10098 no_cache=0
10099 # Check whether --enable-image or --disable-image was given.
10100 if test "${enable_image+set}" = set; then
10101 enableval="$enable_image"
10102
10103 if test "$enableval" = yes; then
10104 ac_cv_use_image='wxUSE_IMAGE=yes'
10105 else
10106 ac_cv_use_image='wxUSE_IMAGE=no'
10107 fi
10108
10109 else
10110
10111 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10112 if test "x$LINE" != x ; then
10113 eval "DEFAULT_$LINE"
10114 else
10115 no_cache=1
10116 fi
10117
10118 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10119
10120 fi;
10121
10122 eval "$ac_cv_use_image"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10125 fi
10126
10127 if test "$wxUSE_IMAGE" = yes; then
10128 echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6
10130 else
10131 echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6
10133 fi
10134
10135
10136 enablestring=
10137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10139 no_cache=0
10140 # Check whether --enable-gif or --disable-gif was given.
10141 if test "${enable_gif+set}" = set; then
10142 enableval="$enable_gif"
10143
10144 if test "$enableval" = yes; then
10145 ac_cv_use_gif='wxUSE_GIF=yes'
10146 else
10147 ac_cv_use_gif='wxUSE_GIF=no'
10148 fi
10149
10150 else
10151
10152 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10153 if test "x$LINE" != x ; then
10154 eval "DEFAULT_$LINE"
10155 else
10156 no_cache=1
10157 fi
10158
10159 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10160
10161 fi;
10162
10163 eval "$ac_cv_use_gif"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10166 fi
10167
10168 if test "$wxUSE_GIF" = yes; then
10169 echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6
10171 else
10172 echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6
10174 fi
10175
10176
10177 enablestring=
10178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10180 no_cache=0
10181 # Check whether --enable-pcx or --disable-pcx was given.
10182 if test "${enable_pcx+set}" = set; then
10183 enableval="$enable_pcx"
10184
10185 if test "$enableval" = yes; then
10186 ac_cv_use_pcx='wxUSE_PCX=yes'
10187 else
10188 ac_cv_use_pcx='wxUSE_PCX=no'
10189 fi
10190
10191 else
10192
10193 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10194 if test "x$LINE" != x ; then
10195 eval "DEFAULT_$LINE"
10196 else
10197 no_cache=1
10198 fi
10199
10200 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10201
10202 fi;
10203
10204 eval "$ac_cv_use_pcx"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10207 fi
10208
10209 if test "$wxUSE_PCX" = yes; then
10210 echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6
10212 else
10213 echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6
10215 fi
10216
10217
10218 enablestring=
10219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10221 no_cache=0
10222 # Check whether --enable-iff or --disable-iff was given.
10223 if test "${enable_iff+set}" = set; then
10224 enableval="$enable_iff"
10225
10226 if test "$enableval" = yes; then
10227 ac_cv_use_iff='wxUSE_IFF=yes'
10228 else
10229 ac_cv_use_iff='wxUSE_IFF=no'
10230 fi
10231
10232 else
10233
10234 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10235 if test "x$LINE" != x ; then
10236 eval "DEFAULT_$LINE"
10237 else
10238 no_cache=1
10239 fi
10240
10241 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10242
10243 fi;
10244
10245 eval "$ac_cv_use_iff"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10248 fi
10249
10250 if test "$wxUSE_IFF" = yes; then
10251 echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6
10253 else
10254 echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6
10256 fi
10257
10258
10259 enablestring=
10260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10262 no_cache=0
10263 # Check whether --enable-pnm or --disable-pnm was given.
10264 if test "${enable_pnm+set}" = set; then
10265 enableval="$enable_pnm"
10266
10267 if test "$enableval" = yes; then
10268 ac_cv_use_pnm='wxUSE_PNM=yes'
10269 else
10270 ac_cv_use_pnm='wxUSE_PNM=no'
10271 fi
10272
10273 else
10274
10275 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10276 if test "x$LINE" != x ; then
10277 eval "DEFAULT_$LINE"
10278 else
10279 no_cache=1
10280 fi
10281
10282 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10283
10284 fi;
10285
10286 eval "$ac_cv_use_pnm"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10289 fi
10290
10291 if test "$wxUSE_PNM" = yes; then
10292 echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6
10294 else
10295 echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6
10297 fi
10298
10299
10300 enablestring=
10301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10303 no_cache=0
10304 # Check whether --enable-xpm or --disable-xpm was given.
10305 if test "${enable_xpm+set}" = set; then
10306 enableval="$enable_xpm"
10307
10308 if test "$enableval" = yes; then
10309 ac_cv_use_xpm='wxUSE_XPM=yes'
10310 else
10311 ac_cv_use_xpm='wxUSE_XPM=no'
10312 fi
10313
10314 else
10315
10316 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10317 if test "x$LINE" != x ; then
10318 eval "DEFAULT_$LINE"
10319 else
10320 no_cache=1
10321 fi
10322
10323 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10324
10325 fi;
10326
10327 eval "$ac_cv_use_xpm"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10330 fi
10331
10332 if test "$wxUSE_XPM" = yes; then
10333 echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6
10335 else
10336 echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6
10338 fi
10339
10340
10341 enablestring=
10342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10344 no_cache=0
10345 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10346 if test "${enable_ico_cur+set}" = set; then
10347 enableval="$enable_ico_cur"
10348
10349 if test "$enableval" = yes; then
10350 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10351 else
10352 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10353 fi
10354
10355 else
10356
10357 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10358 if test "x$LINE" != x ; then
10359 eval "DEFAULT_$LINE"
10360 else
10361 no_cache=1
10362 fi
10363
10364 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10365
10366 fi;
10367
10368 eval "$ac_cv_use_ico_cur"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10371 fi
10372
10373 if test "$wxUSE_ICO_CUR" = yes; then
10374 echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6
10376 else
10377 echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6
10379 fi
10380
10381
10382 fi
10383
10384
10385
10386 # Check whether --with-flavour or --without-flavour was given.
10387 if test "${with_flavour+set}" = set; then
10388 withval="$with_flavour"
10389 WX_FLAVOUR="$withval"
10390 fi;
10391
10392
10393
10394 enablestring=
10395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10396 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10397 no_cache=0
10398 # Check whether --enable-official_build or --disable-official_build was given.
10399 if test "${enable_official_build+set}" = set; then
10400 enableval="$enable_official_build"
10401
10402 if test "$enableval" = yes; then
10403 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10404 else
10405 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10406 fi
10407
10408 else
10409
10410 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10411 if test "x$LINE" != x ; then
10412 eval "DEFAULT_$LINE"
10413 else
10414 no_cache=1
10415 fi
10416
10417 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10418
10419 fi;
10420
10421 eval "$ac_cv_use_official_build"
10422 if test "$no_cache" != 1; then
10423 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10424 fi
10425
10426 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10427 echo "$as_me:$LINENO: result: yes" >&5
10428 echo "${ECHO_T}yes" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434 # Check whether --enable-vendor or --disable-vendor was given.
10435 if test "${enable_vendor+set}" = set; then
10436 enableval="$enable_vendor"
10437 VENDOR="$enableval"
10438 fi;
10439 if test "x$VENDOR" = "x"; then
10440 VENDOR="custom"
10441 fi
10442
10443
10444
10445
10446 echo "saving argument cache $wx_arg_cache_file"
10447 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10448
10449
10450
10451 echo "$as_me:$LINENO: checking for toolkit" >&5
10452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10453
10454 # In Wine, we need to default to MSW, not GTK or MOTIF
10455 if test "$wxUSE_WINE" = "yes"; then
10456 DEFAULT_DEFAULT_wxUSE_GTK=0
10457 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10458 DEFAULT_DEFAULT_wxUSE_MSW=1
10459 wxUSE_SHARED=no
10460 fi
10461
10462
10463 if test "$wxUSE_GUI" = "yes"; then
10464
10465 if test "$USE_BEOS" = 1; then
10466 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10467 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10468 { (exit 1); exit 1; }; }
10469 fi
10470
10471 if test "$TOOLKIT_GIVEN" = 1; then
10472 for toolkit in `echo $ALL_TOOLKITS`; do
10473 var=wxUSE_$toolkit
10474 eval "value=\$${var}"
10475 if test "x$value" = "xno"; then
10476 eval "$var=0"
10477 elif test "x$value" != "x"; then
10478 eval "$var=1"
10479 fi
10480
10481 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10482 eval "wx${toolkit}_VERSION=$value"
10483 fi
10484 done
10485 else
10486 for toolkit in `echo $ALL_TOOLKITS`; do
10487 if test "$has_toolkit_in_cache" != 1; then
10488 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10489 else
10490 var=DEFAULT_wxUSE_$toolkit
10491
10492 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10493 if test "x$version" != "x"; then
10494 eval "wx${toolkit}_VERSION=$version"
10495 fi
10496 fi
10497 eval "wxUSE_$toolkit=\$${var}"
10498 done
10499 fi
10500
10501 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10502 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10503 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10504
10505 case "${host}" in
10506 *-pc-os2_emx | *-pc-os2-emx )
10507 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10508 esac
10509
10510 case "$NUM_TOOLKITS" in
10511 1)
10512 ;;
10513 0)
10514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10516 { (exit 1); exit 1; }; }
10517 ;;
10518 *)
10519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10520 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10521 { (exit 1); exit 1; }; }
10522 esac
10523
10524 # to be removed when --disable-gtk2 isn't needed
10525 if test "x$wxUSE_GTK2" = "xyes"; then
10526 wxGTK_VERSION=2
10527 elif test "x$wxUSE_GTK2" = "xno"; then
10528 wxGTK_VERSION=1
10529 fi
10530
10531 for toolkit in `echo $ALL_TOOLKITS`; do
10532 var=wxUSE_$toolkit
10533 eval "value=\$${var}"
10534 if test "x$value" != x; then
10535 cache_var=CACHE_$toolkit
10536 eval "cache=\$${cache_var}"
10537 if test "$cache" = 1; then
10538 echo "$var=$value" >> ${wx_arg_cache_file}
10539 eval "version=\$wx${toolkit}_VERSION"
10540 if test "x$version" != "x"; then
10541 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10542 fi
10543 fi
10544 if test "$value" = 1; then
10545 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10546 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10547 echo "${ECHO_T}$toolkit_echo" >&6
10548 fi
10549 fi
10550 done
10551 else
10552 if test "x$host_alias" != "x"; then
10553 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10554 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10555 else
10556 echo "$as_me:$LINENO: result: base only" >&5
10557 echo "${ECHO_T}base only" >&6
10558 fi
10559 fi
10560
10561 wants_win32=0
10562 doesnt_want_win32=0
10563 case "${host}" in
10564 *-*-cygwin*)
10565 if test "$wxUSE_MSW" = 1 ; then
10566 wants_win32=1
10567 else
10568 doesnt_want_win32=1
10569 fi
10570 ;;
10571 *-*-mingw*)
10572 wants_win32=1
10573 ;;
10574 esac
10575
10576 if test "$wxUSE_WINE" = "yes"; then
10577 wants_win32=1
10578 CC=winegcc
10579 CXX=wineg++
10580 RESCOMP=wrc
10581 LDFLAGS_GUI="-mwindows"
10582 fi
10583
10584 if test "$wants_win32" = 1 ; then
10585 USE_UNIX=0
10586 USE_WIN32=1
10587 cat >>confdefs.h <<\_ACEOF
10588 #define __WIN32__ 1
10589 _ACEOF
10590
10591 cat >>confdefs.h <<\_ACEOF
10592 #define __WIN95__ 1
10593 _ACEOF
10594
10595 cat >>confdefs.h <<\_ACEOF
10596 #define __WINDOWS__ 1
10597 _ACEOF
10598
10599 cat >>confdefs.h <<\_ACEOF
10600 #define __GNUWIN32__ 1
10601 _ACEOF
10602
10603 cat >>confdefs.h <<\_ACEOF
10604 #define STRICT 1
10605 _ACEOF
10606
10607 cat >>confdefs.h <<\_ACEOF
10608 #define WINVER 0x0400
10609 _ACEOF
10610
10611 fi
10612 if test "$doesnt_want_win32" = 1 ; then
10613 USE_UNIX=1
10614 USE_WIN32=0
10615 fi
10616
10617 if test "$USE_UNIX" = 1 ; then
10618 wxUSE_UNIX=yes
10619 cat >>confdefs.h <<\_ACEOF
10620 #define __UNIX__ 1
10621 _ACEOF
10622
10623 fi
10624
10625
10626 cat >confcache <<\_ACEOF
10627 # This file is a shell script that caches the results of configure
10628 # tests run on this system so they can be shared between configure
10629 # scripts and configure runs, see configure's option --config-cache.
10630 # It is not useful on other systems. If it contains results you don't
10631 # want to keep, you may remove or edit it.
10632 #
10633 # config.status only pays attention to the cache file if you give it
10634 # the --recheck option to rerun configure.
10635 #
10636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10638 # following values.
10639
10640 _ACEOF
10641
10642 # The following way of writing the cache mishandles newlines in values,
10643 # but we know of no workaround that is simple, portable, and efficient.
10644 # So, don't put newlines in cache variables' values.
10645 # Ultrix sh set writes to stderr and can't be redirected directly,
10646 # and sets the high bit in the cache file unless we assign to the vars.
10647 {
10648 (set) 2>&1 |
10649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10650 *ac_space=\ *)
10651 # `set' does not quote correctly, so add quotes (double-quote
10652 # substitution turns \\\\ into \\, and sed turns \\ into \).
10653 sed -n \
10654 "s/'/'\\\\''/g;
10655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10656 ;;
10657 *)
10658 # `set' quotes correctly as required by POSIX, so do not add quotes.
10659 sed -n \
10660 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10661 ;;
10662 esac;
10663 } |
10664 sed '
10665 t clear
10666 : clear
10667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10668 t end
10669 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10670 : end' >>confcache
10671 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10672 if test -w $cache_file; then
10673 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10674 cat confcache >$cache_file
10675 else
10676 echo "not updating unwritable cache $cache_file"
10677 fi
10678 fi
10679 rm -f confcache
10680
10681 if test "$build" != "$host" ; then
10682 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10683 CC=$host_alias-gcc
10684 CXX=$host_alias-c++
10685 AR=$host_alias-ar
10686 RANLIB=$host_alias-ranlib
10687 DLLTOOL=$host_alias-dlltool
10688 RESCOMP=$host_alias-windres
10689 STRIP=$host_alias-strip
10690 elif test "x$CC" '!=' "x"; then
10691 echo "You set CC, I assume you know what you are doing."
10692 else
10693 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10694 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10695 { (exit 1); exit 1; }; }
10696 fi
10697 fi
10698
10699 CFLAGS=${CFLAGS:=}
10700
10701
10702 ac_ext=c
10703 ac_cpp='$CPP $CPPFLAGS'
10704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10707 if test -n "$ac_tool_prefix"; then
10708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10709 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10710 echo "$as_me:$LINENO: checking for $ac_word" >&5
10711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10712 if test "${ac_cv_prog_CC+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10714 else
10715 if test -n "$CC"; then
10716 ac_cv_prog_CC="$CC" # Let the user override the test.
10717 else
10718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10719 for as_dir in $PATH
10720 do
10721 IFS=$as_save_IFS
10722 test -z "$as_dir" && as_dir=.
10723 for ac_exec_ext in '' $ac_executable_extensions; do
10724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10725 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10727 break 2
10728 fi
10729 done
10730 done
10731
10732 fi
10733 fi
10734 CC=$ac_cv_prog_CC
10735 if test -n "$CC"; then
10736 echo "$as_me:$LINENO: result: $CC" >&5
10737 echo "${ECHO_T}$CC" >&6
10738 else
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10741 fi
10742
10743 fi
10744 if test -z "$ac_cv_prog_CC"; then
10745 ac_ct_CC=$CC
10746 # Extract the first word of "gcc", so it can be a program name with args.
10747 set dummy gcc; ac_word=$2
10748 echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 else
10753 if test -n "$ac_ct_CC"; then
10754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10755 else
10756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757 for as_dir in $PATH
10758 do
10759 IFS=$as_save_IFS
10760 test -z "$as_dir" && as_dir=.
10761 for ac_exec_ext in '' $ac_executable_extensions; do
10762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_ac_ct_CC="gcc"
10764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10765 break 2
10766 fi
10767 done
10768 done
10769
10770 fi
10771 fi
10772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10773 if test -n "$ac_ct_CC"; then
10774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10775 echo "${ECHO_T}$ac_ct_CC" >&6
10776 else
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10779 fi
10780
10781 CC=$ac_ct_CC
10782 else
10783 CC="$ac_cv_prog_CC"
10784 fi
10785
10786 if test -z "$CC"; then
10787 if test -n "$ac_tool_prefix"; then
10788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10789 set dummy ${ac_tool_prefix}cc; ac_word=$2
10790 echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10792 if test "${ac_cv_prog_CC+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 else
10795 if test -n "$CC"; then
10796 ac_cv_prog_CC="$CC" # Let the user override the test.
10797 else
10798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10799 for as_dir in $PATH
10800 do
10801 IFS=$as_save_IFS
10802 test -z "$as_dir" && as_dir=.
10803 for ac_exec_ext in '' $ac_executable_extensions; do
10804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10805 ac_cv_prog_CC="${ac_tool_prefix}cc"
10806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10807 break 2
10808 fi
10809 done
10810 done
10811
10812 fi
10813 fi
10814 CC=$ac_cv_prog_CC
10815 if test -n "$CC"; then
10816 echo "$as_me:$LINENO: result: $CC" >&5
10817 echo "${ECHO_T}$CC" >&6
10818 else
10819 echo "$as_me:$LINENO: result: no" >&5
10820 echo "${ECHO_T}no" >&6
10821 fi
10822
10823 fi
10824 if test -z "$ac_cv_prog_CC"; then
10825 ac_ct_CC=$CC
10826 # Extract the first word of "cc", so it can be a program name with args.
10827 set dummy cc; ac_word=$2
10828 echo "$as_me:$LINENO: checking for $ac_word" >&5
10829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 else
10833 if test -n "$ac_ct_CC"; then
10834 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10835 else
10836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10837 for as_dir in $PATH
10838 do
10839 IFS=$as_save_IFS
10840 test -z "$as_dir" && as_dir=.
10841 for ac_exec_ext in '' $ac_executable_extensions; do
10842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10843 ac_cv_prog_ac_ct_CC="cc"
10844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10845 break 2
10846 fi
10847 done
10848 done
10849
10850 fi
10851 fi
10852 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10853 if test -n "$ac_ct_CC"; then
10854 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10855 echo "${ECHO_T}$ac_ct_CC" >&6
10856 else
10857 echo "$as_me:$LINENO: result: no" >&5
10858 echo "${ECHO_T}no" >&6
10859 fi
10860
10861 CC=$ac_ct_CC
10862 else
10863 CC="$ac_cv_prog_CC"
10864 fi
10865
10866 fi
10867 if test -z "$CC"; then
10868 # Extract the first word of "cc", so it can be a program name with args.
10869 set dummy cc; ac_word=$2
10870 echo "$as_me:$LINENO: checking for $ac_word" >&5
10871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10872 if test "${ac_cv_prog_CC+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 if test -n "$CC"; then
10876 ac_cv_prog_CC="$CC" # Let the user override the test.
10877 else
10878 ac_prog_rejected=no
10879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10880 for as_dir in $PATH
10881 do
10882 IFS=$as_save_IFS
10883 test -z "$as_dir" && as_dir=.
10884 for ac_exec_ext in '' $ac_executable_extensions; do
10885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10887 ac_prog_rejected=yes
10888 continue
10889 fi
10890 ac_cv_prog_CC="cc"
10891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10892 break 2
10893 fi
10894 done
10895 done
10896
10897 if test $ac_prog_rejected = yes; then
10898 # We found a bogon in the path, so make sure we never use it.
10899 set dummy $ac_cv_prog_CC
10900 shift
10901 if test $# != 0; then
10902 # We chose a different compiler from the bogus one.
10903 # However, it has the same basename, so the bogon will be chosen
10904 # first if we set CC to just the basename; use the full file name.
10905 shift
10906 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10907 fi
10908 fi
10909 fi
10910 fi
10911 CC=$ac_cv_prog_CC
10912 if test -n "$CC"; then
10913 echo "$as_me:$LINENO: result: $CC" >&5
10914 echo "${ECHO_T}$CC" >&6
10915 else
10916 echo "$as_me:$LINENO: result: no" >&5
10917 echo "${ECHO_T}no" >&6
10918 fi
10919
10920 fi
10921 if test -z "$CC"; then
10922 if test -n "$ac_tool_prefix"; then
10923 for ac_prog in cl
10924 do
10925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10926 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10927 echo "$as_me:$LINENO: checking for $ac_word" >&5
10928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10929 if test "${ac_cv_prog_CC+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 else
10932 if test -n "$CC"; then
10933 ac_cv_prog_CC="$CC" # Let the user override the test.
10934 else
10935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10936 for as_dir in $PATH
10937 do
10938 IFS=$as_save_IFS
10939 test -z "$as_dir" && as_dir=.
10940 for ac_exec_ext in '' $ac_executable_extensions; do
10941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10944 break 2
10945 fi
10946 done
10947 done
10948
10949 fi
10950 fi
10951 CC=$ac_cv_prog_CC
10952 if test -n "$CC"; then
10953 echo "$as_me:$LINENO: result: $CC" >&5
10954 echo "${ECHO_T}$CC" >&6
10955 else
10956 echo "$as_me:$LINENO: result: no" >&5
10957 echo "${ECHO_T}no" >&6
10958 fi
10959
10960 test -n "$CC" && break
10961 done
10962 fi
10963 if test -z "$CC"; then
10964 ac_ct_CC=$CC
10965 for ac_prog in cl
10966 do
10967 # Extract the first word of "$ac_prog", so it can be a program name with args.
10968 set dummy $ac_prog; ac_word=$2
10969 echo "$as_me:$LINENO: checking for $ac_word" >&5
10970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 else
10974 if test -n "$ac_ct_CC"; then
10975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10976 else
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10979 do
10980 IFS=$as_save_IFS
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_prog_ac_ct_CC="$ac_prog"
10985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10986 break 2
10987 fi
10988 done
10989 done
10990
10991 fi
10992 fi
10993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10994 if test -n "$ac_ct_CC"; then
10995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10996 echo "${ECHO_T}$ac_ct_CC" >&6
10997 else
10998 echo "$as_me:$LINENO: result: no" >&5
10999 echo "${ECHO_T}no" >&6
11000 fi
11001
11002 test -n "$ac_ct_CC" && break
11003 done
11004
11005 CC=$ac_ct_CC
11006 fi
11007
11008 fi
11009
11010
11011 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&5
11013 echo "$as_me: error: no acceptable C compiler found in \$PATH
11014 See \`config.log' for more details." >&2;}
11015 { (exit 1); exit 1; }; }
11016
11017 # Provide some information about the compiler.
11018 echo "$as_me:$LINENO:" \
11019 "checking for C compiler version" >&5
11020 ac_compiler=`set X $ac_compile; echo $2`
11021 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11022 (eval $ac_compiler --version </dev/null >&5) 2>&5
11023 ac_status=$?
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }
11026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11027 (eval $ac_compiler -v </dev/null >&5) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }
11031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11032 (eval $ac_compiler -V </dev/null >&5) 2>&5
11033 ac_status=$?
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }
11036
11037 cat >conftest.$ac_ext <<_ACEOF
11038 /* confdefs.h. */
11039 _ACEOF
11040 cat confdefs.h >>conftest.$ac_ext
11041 cat >>conftest.$ac_ext <<_ACEOF
11042 /* end confdefs.h. */
11043
11044 int
11045 main ()
11046 {
11047
11048 ;
11049 return 0;
11050 }
11051 _ACEOF
11052 ac_clean_files_save=$ac_clean_files
11053 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11054 # Try to create an executable without -o first, disregard a.out.
11055 # It will help us diagnose broken compilers, and finding out an intuition
11056 # of exeext.
11057 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11058 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11059 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11061 (eval $ac_link_default) 2>&5
11062 ac_status=$?
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; then
11065 # Find the output, starting from the most likely. This scheme is
11066 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11067 # resort.
11068
11069 # Be careful to initialize this variable, since it used to be cached.
11070 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11071 ac_cv_exeext=
11072 # b.out is created by i960 compilers.
11073 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11074 do
11075 test -f "$ac_file" || continue
11076 case $ac_file in
11077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11078 ;;
11079 conftest.$ac_ext )
11080 # This is the source file.
11081 ;;
11082 [ab].out )
11083 # We found the default executable, but exeext='' is most
11084 # certainly right.
11085 break;;
11086 *.* )
11087 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11088 # FIXME: I believe we export ac_cv_exeext for Libtool,
11089 # but it would be cool to find out if it's true. Does anybody
11090 # maintain Libtool? --akim.
11091 export ac_cv_exeext
11092 break;;
11093 * )
11094 break;;
11095 esac
11096 done
11097 else
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.$ac_ext >&5
11100
11101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&5
11103 echo "$as_me: error: C compiler cannot create executables
11104 See \`config.log' for more details." >&2;}
11105 { (exit 77); exit 77; }; }
11106 fi
11107
11108 ac_exeext=$ac_cv_exeext
11109 echo "$as_me:$LINENO: result: $ac_file" >&5
11110 echo "${ECHO_T}$ac_file" >&6
11111
11112 # Check the compiler produces executables we can run. If not, either
11113 # the compiler is broken, or we cross compile.
11114 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11115 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11116 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11117 # If not cross compiling, check that we can run a simple program.
11118 if test "$cross_compiling" != yes; then
11119 if { ac_try='./$ac_file'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; }; then
11125 cross_compiling=no
11126 else
11127 if test "$cross_compiling" = maybe; then
11128 cross_compiling=yes
11129 else
11130 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11131 If you meant to cross compile, use \`--host'.
11132 See \`config.log' for more details." >&5
11133 echo "$as_me: error: cannot run C compiled programs.
11134 If you meant to cross compile, use \`--host'.
11135 See \`config.log' for more details." >&2;}
11136 { (exit 1); exit 1; }; }
11137 fi
11138 fi
11139 fi
11140 echo "$as_me:$LINENO: result: yes" >&5
11141 echo "${ECHO_T}yes" >&6
11142
11143 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11144 ac_clean_files=$ac_clean_files_save
11145 # Check the compiler produces executables we can run. If not, either
11146 # the compiler is broken, or we cross compile.
11147 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11148 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11149 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11150 echo "${ECHO_T}$cross_compiling" >&6
11151
11152 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11153 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11155 (eval $ac_link) 2>&5
11156 ac_status=$?
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; then
11159 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11160 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11161 # work properly (i.e., refer to `conftest.exe'), while it won't with
11162 # `rm'.
11163 for ac_file in conftest.exe conftest conftest.*; do
11164 test -f "$ac_file" || continue
11165 case $ac_file in
11166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11167 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11168 export ac_cv_exeext
11169 break;;
11170 * ) break;;
11171 esac
11172 done
11173 else
11174 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&5
11176 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11177 See \`config.log' for more details." >&2;}
11178 { (exit 1); exit 1; }; }
11179 fi
11180
11181 rm -f conftest$ac_cv_exeext
11182 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11183 echo "${ECHO_T}$ac_cv_exeext" >&6
11184
11185 rm -f conftest.$ac_ext
11186 EXEEXT=$ac_cv_exeext
11187 ac_exeext=$EXEEXT
11188 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11189 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11190 if test "${ac_cv_objext+set}" = set; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11192 else
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h. */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199
11200 int
11201 main ()
11202 {
11203
11204 ;
11205 return 0;
11206 }
11207 _ACEOF
11208 rm -f conftest.o conftest.obj
11209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11210 (eval $ac_compile) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; then
11214 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11215 case $ac_file in
11216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11217 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11218 break;;
11219 esac
11220 done
11221 else
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.$ac_ext >&5
11224
11225 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&5
11227 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11228 See \`config.log' for more details." >&2;}
11229 { (exit 1); exit 1; }; }
11230 fi
11231
11232 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11233 fi
11234 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11235 echo "${ECHO_T}$ac_cv_objext" >&6
11236 OBJEXT=$ac_cv_objext
11237 ac_objext=$OBJEXT
11238 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11239 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11240 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 else
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h. */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249
11250 int
11251 main ()
11252 {
11253 #ifndef __GNUC__
11254 choke me
11255 #endif
11256
11257 ;
11258 return 0;
11259 }
11260 _ACEOF
11261 rm -f conftest.$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>conftest.er1
11264 ac_status=$?
11265 grep -v '^ *+' conftest.er1 >conftest.err
11266 rm -f conftest.er1
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } &&
11270 { ac_try='test -z "$ac_c_werror_flag"
11271 || test ! -s conftest.err'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11274 ac_status=$?
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; } &&
11277 { ac_try='test -s conftest.$ac_objext'
11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11279 (eval $ac_try) 2>&5
11280 ac_status=$?
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; }; then
11283 ac_compiler_gnu=yes
11284 else
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11287
11288 ac_compiler_gnu=no
11289 fi
11290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11291 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11292
11293 fi
11294 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11295 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11296 GCC=`test $ac_compiler_gnu = yes && echo yes`
11297 ac_test_CFLAGS=${CFLAGS+set}
11298 ac_save_CFLAGS=$CFLAGS
11299 CFLAGS="-g"
11300 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11301 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11302 if test "${ac_cv_prog_cc_g+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 else
11305 cat >conftest.$ac_ext <<_ACEOF
11306 /* confdefs.h. */
11307 _ACEOF
11308 cat confdefs.h >>conftest.$ac_ext
11309 cat >>conftest.$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11311
11312 int
11313 main ()
11314 {
11315
11316 ;
11317 return 0;
11318 }
11319 _ACEOF
11320 rm -f conftest.$ac_objext
11321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11322 (eval $ac_compile) 2>conftest.er1
11323 ac_status=$?
11324 grep -v '^ *+' conftest.er1 >conftest.err
11325 rm -f conftest.er1
11326 cat conftest.err >&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } &&
11329 { ac_try='test -z "$ac_c_werror_flag"
11330 || test ! -s conftest.err'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; } &&
11336 { ac_try='test -s conftest.$ac_objext'
11337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338 (eval $ac_try) 2>&5
11339 ac_status=$?
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); }; }; then
11342 ac_cv_prog_cc_g=yes
11343 else
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11346
11347 ac_cv_prog_cc_g=no
11348 fi
11349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11350 fi
11351 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11352 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11353 if test "$ac_test_CFLAGS" = set; then
11354 CFLAGS=$ac_save_CFLAGS
11355 elif test $ac_cv_prog_cc_g = yes; then
11356 if test "$GCC" = yes; then
11357 CFLAGS="-g -O2"
11358 else
11359 CFLAGS="-g"
11360 fi
11361 else
11362 if test "$GCC" = yes; then
11363 CFLAGS="-O2"
11364 else
11365 CFLAGS=
11366 fi
11367 fi
11368 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11369 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11370 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 ac_cv_prog_cc_stdc=no
11374 ac_save_CC=$CC
11375 cat >conftest.$ac_ext <<_ACEOF
11376 /* confdefs.h. */
11377 _ACEOF
11378 cat confdefs.h >>conftest.$ac_ext
11379 cat >>conftest.$ac_ext <<_ACEOF
11380 /* end confdefs.h. */
11381 #include <stdarg.h>
11382 #include <stdio.h>
11383 #include <sys/types.h>
11384 #include <sys/stat.h>
11385 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11386 struct buf { int x; };
11387 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11388 static char *e (p, i)
11389 char **p;
11390 int i;
11391 {
11392 return p[i];
11393 }
11394 static char *f (char * (*g) (char **, int), char **p, ...)
11395 {
11396 char *s;
11397 va_list v;
11398 va_start (v,p);
11399 s = g (p, va_arg (v,int));
11400 va_end (v);
11401 return s;
11402 }
11403
11404 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11405 function prototypes and stuff, but not '\xHH' hex character constants.
11406 These don't provoke an error unfortunately, instead are silently treated
11407 as 'x'. The following induces an error, until -std1 is added to get
11408 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11409 array size at least. It's necessary to write '\x00'==0 to get something
11410 that's true only with -std1. */
11411 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11412
11413 int test (int i, double x);
11414 struct s1 {int (*f) (int a);};
11415 struct s2 {int (*f) (double a);};
11416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11417 int argc;
11418 char **argv;
11419 int
11420 main ()
11421 {
11422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11423 ;
11424 return 0;
11425 }
11426 _ACEOF
11427 # Don't try gcc -ansi; that turns off useful extensions and
11428 # breaks some systems' header files.
11429 # AIX -qlanglvl=ansi
11430 # Ultrix and OSF/1 -std1
11431 # HP-UX 10.20 and later -Ae
11432 # HP-UX older versions -Aa -D_HPUX_SOURCE
11433 # SVR4 -Xc -D__EXTENSIONS__
11434 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11435 do
11436 CC="$ac_save_CC $ac_arg"
11437 rm -f conftest.$ac_objext
11438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11439 (eval $ac_compile) 2>conftest.er1
11440 ac_status=$?
11441 grep -v '^ *+' conftest.er1 >conftest.err
11442 rm -f conftest.er1
11443 cat conftest.err >&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try='test -z "$ac_c_werror_flag"
11447 || test ! -s conftest.err'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11450 ac_status=$?
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; } &&
11453 { ac_try='test -s conftest.$ac_objext'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11456 ac_status=$?
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 ac_cv_prog_cc_stdc=$ac_arg
11460 break
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11464
11465 fi
11466 rm -f conftest.err conftest.$ac_objext
11467 done
11468 rm -f conftest.$ac_ext conftest.$ac_objext
11469 CC=$ac_save_CC
11470
11471 fi
11472
11473 case "x$ac_cv_prog_cc_stdc" in
11474 x|xno)
11475 echo "$as_me:$LINENO: result: none needed" >&5
11476 echo "${ECHO_T}none needed" >&6 ;;
11477 *)
11478 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11479 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11480 CC="$CC $ac_cv_prog_cc_stdc" ;;
11481 esac
11482
11483 # Some people use a C++ compiler to compile C. Since we use `exit',
11484 # in C++ we need to declare it. In case someone uses the same compiler
11485 # for both compiling C and C++ we need to have the C++ compiler decide
11486 # the declaration of exit, since it's the most demanding environment.
11487 cat >conftest.$ac_ext <<_ACEOF
11488 #ifndef __cplusplus
11489 choke me
11490 #endif
11491 _ACEOF
11492 rm -f conftest.$ac_objext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11494 (eval $ac_compile) 2>conftest.er1
11495 ac_status=$?
11496 grep -v '^ *+' conftest.er1 >conftest.err
11497 rm -f conftest.er1
11498 cat conftest.err >&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } &&
11501 { ac_try='test -z "$ac_c_werror_flag"
11502 || test ! -s conftest.err'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11505 ac_status=$?
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; } &&
11508 { ac_try='test -s conftest.$ac_objext'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11511 ac_status=$?
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; }; then
11514 for ac_declaration in \
11515 '' \
11516 'extern "C" void std::exit (int) throw (); using std::exit;' \
11517 'extern "C" void std::exit (int); using std::exit;' \
11518 'extern "C" void exit (int) throw ();' \
11519 'extern "C" void exit (int);' \
11520 'void exit (int);'
11521 do
11522 cat >conftest.$ac_ext <<_ACEOF
11523 /* confdefs.h. */
11524 _ACEOF
11525 cat confdefs.h >>conftest.$ac_ext
11526 cat >>conftest.$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11528 $ac_declaration
11529 #include <stdlib.h>
11530 int
11531 main ()
11532 {
11533 exit (42);
11534 ;
11535 return 0;
11536 }
11537 _ACEOF
11538 rm -f conftest.$ac_objext
11539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11540 (eval $ac_compile) 2>conftest.er1
11541 ac_status=$?
11542 grep -v '^ *+' conftest.er1 >conftest.err
11543 rm -f conftest.er1
11544 cat conftest.err >&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } &&
11547 { ac_try='test -z "$ac_c_werror_flag"
11548 || test ! -s conftest.err'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11551 ac_status=$?
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; } &&
11554 { ac_try='test -s conftest.$ac_objext'
11555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11556 (eval $ac_try) 2>&5
11557 ac_status=$?
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; }; then
11560 :
11561 else
11562 echo "$as_me: failed program was:" >&5
11563 sed 's/^/| /' conftest.$ac_ext >&5
11564
11565 continue
11566 fi
11567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 $ac_declaration
11575 int
11576 main ()
11577 {
11578 exit (42);
11579 ;
11580 return 0;
11581 }
11582 _ACEOF
11583 rm -f conftest.$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11586 ac_status=$?
11587 grep -v '^ *+' conftest.er1 >conftest.err
11588 rm -f conftest.er1
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_c_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11596 ac_status=$?
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11602 ac_status=$?
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 break
11606 else
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11609
11610 fi
11611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11612 done
11613 rm -f conftest*
11614 if test -n "$ac_declaration"; then
11615 echo '#ifdef __cplusplus' >>confdefs.h
11616 echo $ac_declaration >>confdefs.h
11617 echo '#endif' >>confdefs.h
11618 fi
11619
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11623
11624 fi
11625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11626 ac_ext=c
11627 ac_cpp='$CPP $CPPFLAGS'
11628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11631
11632 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11633 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11634 if test "${wx_cv_c_exto+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 else
11637 cat >conftest.$ac_ext <<_ACEOF
11638 /* confdefs.h. */
11639 _ACEOF
11640 cat confdefs.h >>conftest.$ac_ext
11641 cat >>conftest.$ac_ext <<_ACEOF
11642 /* end confdefs.h. */
11643
11644 int
11645 main ()
11646 {
11647
11648 ;
11649 return 0;
11650 }
11651 _ACEOF
11652 rm -f conftest.$ac_objext conftest.$ac_ext.o
11653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11654 (eval $ac_compile) 2>&5
11655 ac_status=$?
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); }; then
11658 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11659 case $ac_file in
11660 conftest.$ac_ext.o)
11661 wx_cv_c_exto="-ext o"
11662 ;;
11663 *)
11664 ;;
11665 esac
11666 done
11667 else
11668 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11669 See \`config.log' for more details." >&5
11670 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11671 See \`config.log' for more details." >&2;}
11672 { (exit 1); exit 1; }; }
11673
11674 fi
11675
11676 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11677
11678 fi
11679 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11680 echo "${ECHO_T}$wx_cv_c_exto" >&6
11681 if test "x$wx_cv_c_exto" '!=' "x"; then
11682 if test "c" = "c"; then
11683 CFLAGS="$wx_cv_c_exto $CFLAGS"
11684 fi
11685 if test "c" = "cxx"; then
11686 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11687 fi
11688 fi
11689
11690 if test "x$wx_cv_c_exto" '!=' "x"; then
11691 unset ac_cv_prog_cc_g
11692 ac_test_CFLAGS=${CFLAGS+set}
11693 ac_save_CFLAGS=$CFLAGS
11694 CFLAGS="-g"
11695 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11696 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11697 if test "${ac_cv_prog_cc_g+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 else
11700 cat >conftest.$ac_ext <<_ACEOF
11701 /* confdefs.h. */
11702 _ACEOF
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11706
11707 int
11708 main ()
11709 {
11710
11711 ;
11712 return 0;
11713 }
11714 _ACEOF
11715 rm -f conftest.$ac_objext
11716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11717 (eval $ac_compile) 2>conftest.er1
11718 ac_status=$?
11719 grep -v '^ *+' conftest.er1 >conftest.err
11720 rm -f conftest.er1
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try='test -z "$ac_c_werror_flag"
11725 || test ! -s conftest.err'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11728 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; } &&
11731 { ac_try='test -s conftest.$ac_objext'
11732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11733 (eval $ac_try) 2>&5
11734 ac_status=$?
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); }; }; then
11737 ac_cv_prog_cc_g=yes
11738 else
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11741
11742 ac_cv_prog_cc_g=no
11743 fi
11744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11745 fi
11746 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11747 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11748 if test "$ac_test_CFLAGS" = set; then
11749 CFLAGS=$ac_save_CFLAGS
11750 elif test $ac_cv_prog_cc_g = yes; then
11751 if test "$GCC" = yes; then
11752 CFLAGS="-g -O2"
11753 else
11754 CFLAGS="-g"
11755 fi
11756 else
11757 if test "$GCC" = yes; then
11758 CFLAGS="-O2"
11759 else
11760 CFLAGS=
11761 fi
11762 fi
11763 fi
11764 ac_ext=c
11765 ac_cpp='$CPP $CPPFLAGS'
11766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11769
11770 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11771 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11772 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else
11775 cat >conftest.$ac_ext <<_ACEOF
11776 /* confdefs.h. */
11777 _ACEOF
11778 cat confdefs.h >>conftest.$ac_ext
11779 cat >>conftest.$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11781
11782 int
11783 main ()
11784 {
11785 #ifndef __MWERKS__
11786 choke me
11787 #endif
11788
11789 ;
11790 return 0;
11791 }
11792 _ACEOF
11793 rm -f conftest.$ac_objext
11794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11795 (eval $ac_compile) 2>conftest.er1
11796 ac_status=$?
11797 grep -v '^ *+' conftest.er1 >conftest.err
11798 rm -f conftest.er1
11799 cat conftest.err >&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try='test -z "$ac_c_werror_flag"
11803 || test ! -s conftest.err'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11806 ac_status=$?
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; } &&
11809 { ac_try='test -s conftest.$ac_objext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11812 ac_status=$?
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 bakefile_compiler_mwerks=yes
11816 else
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.$ac_ext >&5
11819
11820 bakefile_compiler_mwerks=no
11821 fi
11822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11823 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11824
11825 fi
11826 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11827 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11828
11829 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11830 ac_ext=c
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11835
11836
11837 ac_ext=c
11838 ac_cpp='$CPP $CPPFLAGS'
11839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11842
11843 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11844 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11845 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 else
11848 cat >conftest.$ac_ext <<_ACEOF
11849 /* confdefs.h. */
11850 _ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854
11855 int
11856 main ()
11857 {
11858 #ifndef __xlC__
11859 choke me
11860 #endif
11861
11862 ;
11863 return 0;
11864 }
11865 _ACEOF
11866 rm -f conftest.$ac_objext
11867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11868 (eval $ac_compile) 2>conftest.er1
11869 ac_status=$?
11870 grep -v '^ *+' conftest.er1 >conftest.err
11871 rm -f conftest.er1
11872 cat conftest.err >&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } &&
11875 { ac_try='test -z "$ac_c_werror_flag"
11876 || test ! -s conftest.err'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11879 ac_status=$?
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; } &&
11882 { ac_try='test -s conftest.$ac_objext'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11885 ac_status=$?
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; }; then
11888 wx_compiler_xlc=yes
11889 else
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.$ac_ext >&5
11892
11893 wx_compiler_xlc=no
11894 fi
11895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11896 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11897
11898 fi
11899 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11900 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11901
11902 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11903 ac_ext=c
11904 ac_cpp='$CPP $CPPFLAGS'
11905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11908
11909
11910
11911
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11918 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11919 # On Suns, sometimes $CPP names a directory.
11920 if test -n "$CPP" && test -d "$CPP"; then
11921 CPP=
11922 fi
11923 if test -z "$CPP"; then
11924 if test "${ac_cv_prog_CPP+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 else
11927 # Double quotes because CPP needs to be expanded
11928 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11929 do
11930 ac_preproc_ok=false
11931 for ac_c_preproc_warn_flag in '' yes
11932 do
11933 # Use a header file that comes with gcc, so configuring glibc
11934 # with a fresh cross-compiler works.
11935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11936 # <limits.h> exists even on freestanding compilers.
11937 # On the NeXT, cc -E runs the code through the compiler's parser,
11938 # not just through cpp. "Syntax error" is here to catch this case.
11939 cat >conftest.$ac_ext <<_ACEOF
11940 /* confdefs.h. */
11941 _ACEOF
11942 cat confdefs.h >>conftest.$ac_ext
11943 cat >>conftest.$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11945 #ifdef __STDC__
11946 # include <limits.h>
11947 #else
11948 # include <assert.h>
11949 #endif
11950 Syntax error
11951 _ACEOF
11952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11954 ac_status=$?
11955 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1
11957 cat conftest.err >&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } >/dev/null; then
11960 if test -s conftest.err; then
11961 ac_cpp_err=$ac_c_preproc_warn_flag
11962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11963 else
11964 ac_cpp_err=
11965 fi
11966 else
11967 ac_cpp_err=yes
11968 fi
11969 if test -z "$ac_cpp_err"; then
11970 :
11971 else
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11974
11975 # Broken: fails on valid input.
11976 continue
11977 fi
11978 rm -f conftest.err conftest.$ac_ext
11979
11980 # OK, works on sane cases. Now check whether non-existent headers
11981 # can be detected and how.
11982 cat >conftest.$ac_ext <<_ACEOF
11983 /* confdefs.h. */
11984 _ACEOF
11985 cat confdefs.h >>conftest.$ac_ext
11986 cat >>conftest.$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11988 #include <ac_nonexistent.h>
11989 _ACEOF
11990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11992 ac_status=$?
11993 grep -v '^ *+' conftest.er1 >conftest.err
11994 rm -f conftest.er1
11995 cat conftest.err >&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } >/dev/null; then
11998 if test -s conftest.err; then
11999 ac_cpp_err=$ac_c_preproc_warn_flag
12000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12001 else
12002 ac_cpp_err=
12003 fi
12004 else
12005 ac_cpp_err=yes
12006 fi
12007 if test -z "$ac_cpp_err"; then
12008 # Broken: success on invalid input.
12009 continue
12010 else
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.$ac_ext >&5
12013
12014 # Passes both tests.
12015 ac_preproc_ok=:
12016 break
12017 fi
12018 rm -f conftest.err conftest.$ac_ext
12019
12020 done
12021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12022 rm -f conftest.err conftest.$ac_ext
12023 if $ac_preproc_ok; then
12024 break
12025 fi
12026
12027 done
12028 ac_cv_prog_CPP=$CPP
12029
12030 fi
12031 CPP=$ac_cv_prog_CPP
12032 else
12033 ac_cv_prog_CPP=$CPP
12034 fi
12035 echo "$as_me:$LINENO: result: $CPP" >&5
12036 echo "${ECHO_T}$CPP" >&6
12037 ac_preproc_ok=false
12038 for ac_c_preproc_warn_flag in '' yes
12039 do
12040 # Use a header file that comes with gcc, so configuring glibc
12041 # with a fresh cross-compiler works.
12042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12043 # <limits.h> exists even on freestanding compilers.
12044 # On the NeXT, cc -E runs the code through the compiler's parser,
12045 # not just through cpp. "Syntax error" is here to catch this case.
12046 cat >conftest.$ac_ext <<_ACEOF
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 #ifdef __STDC__
12053 # include <limits.h>
12054 #else
12055 # include <assert.h>
12056 #endif
12057 Syntax error
12058 _ACEOF
12059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12061 ac_status=$?
12062 grep -v '^ *+' conftest.er1 >conftest.err
12063 rm -f conftest.er1
12064 cat conftest.err >&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } >/dev/null; then
12067 if test -s conftest.err; then
12068 ac_cpp_err=$ac_c_preproc_warn_flag
12069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12070 else
12071 ac_cpp_err=
12072 fi
12073 else
12074 ac_cpp_err=yes
12075 fi
12076 if test -z "$ac_cpp_err"; then
12077 :
12078 else
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.$ac_ext >&5
12081
12082 # Broken: fails on valid input.
12083 continue
12084 fi
12085 rm -f conftest.err conftest.$ac_ext
12086
12087 # OK, works on sane cases. Now check whether non-existent headers
12088 # can be detected and how.
12089 cat >conftest.$ac_ext <<_ACEOF
12090 /* confdefs.h. */
12091 _ACEOF
12092 cat confdefs.h >>conftest.$ac_ext
12093 cat >>conftest.$ac_ext <<_ACEOF
12094 /* end confdefs.h. */
12095 #include <ac_nonexistent.h>
12096 _ACEOF
12097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12099 ac_status=$?
12100 grep -v '^ *+' conftest.er1 >conftest.err
12101 rm -f conftest.er1
12102 cat conftest.err >&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); } >/dev/null; then
12105 if test -s conftest.err; then
12106 ac_cpp_err=$ac_c_preproc_warn_flag
12107 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12108 else
12109 ac_cpp_err=
12110 fi
12111 else
12112 ac_cpp_err=yes
12113 fi
12114 if test -z "$ac_cpp_err"; then
12115 # Broken: success on invalid input.
12116 continue
12117 else
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12120
12121 # Passes both tests.
12122 ac_preproc_ok=:
12123 break
12124 fi
12125 rm -f conftest.err conftest.$ac_ext
12126
12127 done
12128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12129 rm -f conftest.err conftest.$ac_ext
12130 if $ac_preproc_ok; then
12131 :
12132 else
12133 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12134 See \`config.log' for more details." >&5
12135 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12136 See \`config.log' for more details." >&2;}
12137 { (exit 1); exit 1; }; }
12138 fi
12139
12140 ac_ext=c
12141 ac_cpp='$CPP $CPPFLAGS'
12142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12145
12146
12147 echo "$as_me:$LINENO: checking for egrep" >&5
12148 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12149 if test "${ac_cv_prog_egrep+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 else
12152 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12153 then ac_cv_prog_egrep='grep -E'
12154 else ac_cv_prog_egrep='egrep'
12155 fi
12156 fi
12157 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12158 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12159 EGREP=$ac_cv_prog_egrep
12160
12161
12162 if test $ac_cv_c_compiler_gnu = yes; then
12163 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12164 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12165 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12166 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 else
12168 ac_pattern="Autoconf.*'x'"
12169 cat >conftest.$ac_ext <<_ACEOF
12170 /* confdefs.h. */
12171 _ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #include <sgtty.h>
12176 Autoconf TIOCGETP
12177 _ACEOF
12178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12179 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12180 ac_cv_prog_gcc_traditional=yes
12181 else
12182 ac_cv_prog_gcc_traditional=no
12183 fi
12184 rm -f conftest*
12185
12186
12187 if test $ac_cv_prog_gcc_traditional = no; then
12188 cat >conftest.$ac_ext <<_ACEOF
12189 /* confdefs.h. */
12190 _ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12194 #include <termio.h>
12195 Autoconf TCGETA
12196 _ACEOF
12197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12198 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12199 ac_cv_prog_gcc_traditional=yes
12200 fi
12201 rm -f conftest*
12202
12203 fi
12204 fi
12205 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12206 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12207 if test $ac_cv_prog_gcc_traditional = yes; then
12208 CC="$CC -traditional"
12209 fi
12210 fi
12211
12212
12213
12214
12215 ac_ext=cc
12216 ac_cpp='$CXXCPP $CPPFLAGS'
12217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12220
12221
12222 CXXFLAGS=${CXXFLAGS:=}
12223
12224
12225 ac_ext=cc
12226 ac_cpp='$CXXCPP $CPPFLAGS'
12227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12230 if test -n "$ac_tool_prefix"; then
12231 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12232 do
12233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12235 echo "$as_me:$LINENO: checking for $ac_word" >&5
12236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12237 if test "${ac_cv_prog_CXX+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 else
12240 if test -n "$CXX"; then
12241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12242 else
12243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12244 for as_dir in $PATH
12245 do
12246 IFS=$as_save_IFS
12247 test -z "$as_dir" && as_dir=.
12248 for ac_exec_ext in '' $ac_executable_extensions; do
12249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12252 break 2
12253 fi
12254 done
12255 done
12256
12257 fi
12258 fi
12259 CXX=$ac_cv_prog_CXX
12260 if test -n "$CXX"; then
12261 echo "$as_me:$LINENO: result: $CXX" >&5
12262 echo "${ECHO_T}$CXX" >&6
12263 else
12264 echo "$as_me:$LINENO: result: no" >&5
12265 echo "${ECHO_T}no" >&6
12266 fi
12267
12268 test -n "$CXX" && break
12269 done
12270 fi
12271 if test -z "$CXX"; then
12272 ac_ct_CXX=$CXX
12273 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12274 do
12275 # Extract the first word of "$ac_prog", so it can be a program name with args.
12276 set dummy $ac_prog; ac_word=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 else
12282 if test -n "$ac_ct_CXX"; then
12283 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12284 else
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12287 do
12288 IFS=$as_save_IFS
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_ac_ct_CXX="$ac_prog"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12294 break 2
12295 fi
12296 done
12297 done
12298
12299 fi
12300 fi
12301 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12302 if test -n "$ac_ct_CXX"; then
12303 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12304 echo "${ECHO_T}$ac_ct_CXX" >&6
12305 else
12306 echo "$as_me:$LINENO: result: no" >&5
12307 echo "${ECHO_T}no" >&6
12308 fi
12309
12310 test -n "$ac_ct_CXX" && break
12311 done
12312 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12313
12314 CXX=$ac_ct_CXX
12315 fi
12316
12317
12318 # Provide some information about the compiler.
12319 echo "$as_me:$LINENO:" \
12320 "checking for C++ compiler version" >&5
12321 ac_compiler=`set X $ac_compile; echo $2`
12322 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12323 (eval $ac_compiler --version </dev/null >&5) 2>&5
12324 ac_status=$?
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }
12327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12328 (eval $ac_compiler -v </dev/null >&5) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12333 (eval $ac_compiler -V </dev/null >&5) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12337
12338 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12339 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12340 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 else
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349
12350 int
12351 main ()
12352 {
12353 #ifndef __GNUC__
12354 choke me
12355 #endif
12356
12357 ;
12358 return 0;
12359 }
12360 _ACEOF
12361 rm -f conftest.$ac_objext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12363 (eval $ac_compile) 2>conftest.er1
12364 ac_status=$?
12365 grep -v '^ *+' conftest.er1 >conftest.err
12366 rm -f conftest.er1
12367 cat conftest.err >&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try='test -z "$ac_cxx_werror_flag"
12371 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12374 ac_status=$?
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12380 ac_status=$?
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 ac_compiler_gnu=yes
12384 else
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.$ac_ext >&5
12387
12388 ac_compiler_gnu=no
12389 fi
12390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12391 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12392
12393 fi
12394 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12395 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12396 GXX=`test $ac_compiler_gnu = yes && echo yes`
12397 ac_test_CXXFLAGS=${CXXFLAGS+set}
12398 ac_save_CXXFLAGS=$CXXFLAGS
12399 CXXFLAGS="-g"
12400 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12401 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12402 if test "${ac_cv_prog_cxx_g+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else
12405 cat >conftest.$ac_ext <<_ACEOF
12406 /* confdefs.h. */
12407 _ACEOF
12408 cat confdefs.h >>conftest.$ac_ext
12409 cat >>conftest.$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12411
12412 int
12413 main ()
12414 {
12415
12416 ;
12417 return 0;
12418 }
12419 _ACEOF
12420 rm -f conftest.$ac_objext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12422 (eval $ac_compile) 2>conftest.er1
12423 ac_status=$?
12424 grep -v '^ *+' conftest.er1 >conftest.err
12425 rm -f conftest.er1
12426 cat conftest.err >&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } &&
12429 { ac_try='test -z "$ac_cxx_werror_flag"
12430 || test ! -s conftest.err'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12433 ac_status=$?
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; } &&
12436 { ac_try='test -s conftest.$ac_objext'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12439 ac_status=$?
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12442 ac_cv_prog_cxx_g=yes
12443 else
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.$ac_ext >&5
12446
12447 ac_cv_prog_cxx_g=no
12448 fi
12449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12450 fi
12451 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12452 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12453 if test "$ac_test_CXXFLAGS" = set; then
12454 CXXFLAGS=$ac_save_CXXFLAGS
12455 elif test $ac_cv_prog_cxx_g = yes; then
12456 if test "$GXX" = yes; then
12457 CXXFLAGS="-g -O2"
12458 else
12459 CXXFLAGS="-g"
12460 fi
12461 else
12462 if test "$GXX" = yes; then
12463 CXXFLAGS="-O2"
12464 else
12465 CXXFLAGS=
12466 fi
12467 fi
12468 for ac_declaration in \
12469 '' \
12470 'extern "C" void std::exit (int) throw (); using std::exit;' \
12471 'extern "C" void std::exit (int); using std::exit;' \
12472 'extern "C" void exit (int) throw ();' \
12473 'extern "C" void exit (int);' \
12474 'void exit (int);'
12475 do
12476 cat >conftest.$ac_ext <<_ACEOF
12477 /* confdefs.h. */
12478 _ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12482 $ac_declaration
12483 #include <stdlib.h>
12484 int
12485 main ()
12486 {
12487 exit (42);
12488 ;
12489 return 0;
12490 }
12491 _ACEOF
12492 rm -f conftest.$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>conftest.er1
12495 ac_status=$?
12496 grep -v '^ *+' conftest.er1 >conftest.err
12497 rm -f conftest.er1
12498 cat conftest.err >&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try='test -z "$ac_cxx_werror_flag"
12502 || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 :
12515 else
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12518
12519 continue
12520 fi
12521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 $ac_declaration
12529 int
12530 main ()
12531 {
12532 exit (42);
12533 ;
12534 return 0;
12535 }
12536 _ACEOF
12537 rm -f conftest.$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12540 ac_status=$?
12541 grep -v '^ *+' conftest.er1 >conftest.err
12542 rm -f conftest.er1
12543 cat conftest.err >&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try='test -z "$ac_cxx_werror_flag"
12547 || test ! -s conftest.err'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; } &&
12553 { ac_try='test -s conftest.$ac_objext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12556 ac_status=$?
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12559 break
12560 else
12561 echo "$as_me: failed program was:" >&5
12562 sed 's/^/| /' conftest.$ac_ext >&5
12563
12564 fi
12565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12566 done
12567 rm -f conftest*
12568 if test -n "$ac_declaration"; then
12569 echo '#ifdef __cplusplus' >>confdefs.h
12570 echo $ac_declaration >>confdefs.h
12571 echo '#endif' >>confdefs.h
12572 fi
12573
12574 ac_ext=cc
12575 ac_cpp='$CXXCPP $CPPFLAGS'
12576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12579
12580 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12581 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12582 if test "${wx_cv_cxx_exto+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 else
12585 cat >conftest.$ac_ext <<_ACEOF
12586 /* confdefs.h. */
12587 _ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591
12592 int
12593 main ()
12594 {
12595
12596 ;
12597 return 0;
12598 }
12599 _ACEOF
12600 rm -f conftest.$ac_objext conftest.$ac_ext.o
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>&5
12603 ac_status=$?
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; then
12606 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12607 case $ac_file in
12608 conftest.$ac_ext.o)
12609 wx_cv_cxx_exto="-ext o"
12610 ;;
12611 *)
12612 ;;
12613 esac
12614 done
12615 else
12616 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12617 See \`config.log' for more details." >&5
12618 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12619 See \`config.log' for more details." >&2;}
12620 { (exit 1); exit 1; }; }
12621
12622 fi
12623
12624 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12625
12626 fi
12627 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12628 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12629 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12630 if test "cxx" = "c"; then
12631 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12632 fi
12633 if test "cxx" = "cxx"; then
12634 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12635 fi
12636 fi
12637
12638 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12639 unset ac_cv_prog_cxx_g
12640 ac_test_CXXFLAGS=${CXXFLAGS+set}
12641 ac_save_CXXFLAGS=$CXXFLAGS
12642 CXXFLAGS="-g"
12643 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12644 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12645 if test "${ac_cv_prog_cxx_g+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 else
12648 cat >conftest.$ac_ext <<_ACEOF
12649 /* confdefs.h. */
12650 _ACEOF
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654
12655 int
12656 main ()
12657 {
12658
12659 ;
12660 return 0;
12661 }
12662 _ACEOF
12663 rm -f conftest.$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>conftest.er1
12666 ac_status=$?
12667 grep -v '^ *+' conftest.er1 >conftest.err
12668 rm -f conftest.er1
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try='test -z "$ac_cxx_werror_flag"
12673 || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12676 ac_status=$?
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try='test -s conftest.$ac_objext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12682 ac_status=$?
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_prog_cxx_g=yes
12686 else
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12689
12690 ac_cv_prog_cxx_g=no
12691 fi
12692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12693 fi
12694 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12695 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12696 if test "$ac_test_CXXFLAGS" = set; then
12697 CXXFLAGS=$ac_save_CXXFLAGS
12698 elif test $ac_cv_prog_cxx_g = yes; then
12699 if test "$GXX" = yes; then
12700 CXXFLAGS="-g -O2"
12701 else
12702 CXXFLAGS="-g"
12703 fi
12704 else
12705 if test "$GXX" = yes; then
12706 CXXFLAGS="-O2"
12707 else
12708 CXXFLAGS=
12709 fi
12710 fi
12711 fi
12712 ac_ext=cc
12713 ac_cpp='$CXXCPP $CPPFLAGS'
12714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12717
12718 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12719 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12720 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729
12730 int
12731 main ()
12732 {
12733 #ifndef __MWERKS__
12734 choke me
12735 #endif
12736
12737 ;
12738 return 0;
12739 }
12740 _ACEOF
12741 rm -f conftest.$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>conftest.er1
12744 ac_status=$?
12745 grep -v '^ *+' conftest.er1 >conftest.err
12746 rm -f conftest.er1
12747 cat conftest.err >&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try='test -z "$ac_cxx_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12754 ac_status=$?
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try='test -s conftest.$ac_objext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12760 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 bakefile_compiler_mwerks=yes
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 bakefile_compiler_mwerks=no
12769 fi
12770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12771 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12772
12773 fi
12774 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12775 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12776
12777 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12778 ac_ext=cc
12779 ac_cpp='$CXXCPP $CPPFLAGS'
12780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12783
12784
12785 ac_ext=cc
12786 ac_cpp='$CXXCPP $CPPFLAGS'
12787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12790
12791 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12792 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12793 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 cat >conftest.$ac_ext <<_ACEOF
12797 /* confdefs.h. */
12798 _ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802
12803 int
12804 main ()
12805 {
12806 #ifndef __xlC__
12807 choke me
12808 #endif
12809
12810 ;
12811 return 0;
12812 }
12813 _ACEOF
12814 rm -f conftest.$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>conftest.er1
12817 ac_status=$?
12818 grep -v '^ *+' conftest.er1 >conftest.err
12819 rm -f conftest.er1
12820 cat conftest.err >&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try='test -z "$ac_cxx_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 wx_compiler_xlc=yes
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 wx_compiler_xlc=no
12842 fi
12843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12844 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12845
12846 fi
12847 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12848 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12849
12850 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12851 ac_ext=cc
12852 ac_cpp='$CXXCPP $CPPFLAGS'
12853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12856
12857
12858
12859
12860 ac_ext=c
12861 ac_cpp='$CPP $CPPFLAGS'
12862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12865
12866
12867 if test -n "$ac_tool_prefix"; then
12868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12869 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12870 echo "$as_me:$LINENO: checking for $ac_word" >&5
12871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12872 if test "${ac_cv_prog_RANLIB+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875 if test -n "$RANLIB"; then
12876 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12877 else
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12880 do
12881 IFS=$as_save_IFS
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12885 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12887 break 2
12888 fi
12889 done
12890 done
12891
12892 fi
12893 fi
12894 RANLIB=$ac_cv_prog_RANLIB
12895 if test -n "$RANLIB"; then
12896 echo "$as_me:$LINENO: result: $RANLIB" >&5
12897 echo "${ECHO_T}$RANLIB" >&6
12898 else
12899 echo "$as_me:$LINENO: result: no" >&5
12900 echo "${ECHO_T}no" >&6
12901 fi
12902
12903 fi
12904 if test -z "$ac_cv_prog_RANLIB"; then
12905 ac_ct_RANLIB=$RANLIB
12906 # Extract the first word of "ranlib", so it can be a program name with args.
12907 set dummy ranlib; ac_word=$2
12908 echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12910 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 else
12913 if test -n "$ac_ct_RANLIB"; then
12914 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12915 else
12916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12917 for as_dir in $PATH
12918 do
12919 IFS=$as_save_IFS
12920 test -z "$as_dir" && as_dir=.
12921 for ac_exec_ext in '' $ac_executable_extensions; do
12922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12923 ac_cv_prog_ac_ct_RANLIB="ranlib"
12924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12925 break 2
12926 fi
12927 done
12928 done
12929
12930 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12931 fi
12932 fi
12933 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12934 if test -n "$ac_ct_RANLIB"; then
12935 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12936 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12937 else
12938 echo "$as_me:$LINENO: result: no" >&5
12939 echo "${ECHO_T}no" >&6
12940 fi
12941
12942 RANLIB=$ac_ct_RANLIB
12943 else
12944 RANLIB="$ac_cv_prog_RANLIB"
12945 fi
12946
12947
12948 # Extract the first word of "ar", so it can be a program name with args.
12949 set dummy ar; ac_word=$2
12950 echo "$as_me:$LINENO: checking for $ac_word" >&5
12951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12952 if test "${ac_cv_prog_AR+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 else
12955 if test -n "$AR"; then
12956 ac_cv_prog_AR="$AR" # Let the user override the test.
12957 else
12958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12959 for as_dir in $PATH
12960 do
12961 IFS=$as_save_IFS
12962 test -z "$as_dir" && as_dir=.
12963 for ac_exec_ext in '' $ac_executable_extensions; do
12964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12965 ac_cv_prog_AR="ar"
12966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12967 break 2
12968 fi
12969 done
12970 done
12971
12972 fi
12973 fi
12974 AR=$ac_cv_prog_AR
12975 if test -n "$AR"; then
12976 echo "$as_me:$LINENO: result: $AR" >&5
12977 echo "${ECHO_T}$AR" >&6
12978 else
12979 echo "$as_me:$LINENO: result: no" >&5
12980 echo "${ECHO_T}no" >&6
12981 fi
12982
12983 if test "x$AR" = "x" ; then
12984 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12985 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12986 { (exit 1); exit 1; }; }
12987 fi
12988
12989 # Find a good install program. We prefer a C program (faster),
12990 # so one script is as good as another. But avoid the broken or
12991 # incompatible versions:
12992 # SysV /etc/install, /usr/sbin/install
12993 # SunOS /usr/etc/install
12994 # IRIX /sbin/install
12995 # AIX /bin/install
12996 # AmigaOS /C/install, which installs bootblocks on floppy discs
12997 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12998 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12999 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13000 # OS/2's system install, which has a completely different semantic
13001 # ./install, which can be erroneously created by make from ./install.sh.
13002 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13003 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13004 if test -z "$INSTALL"; then
13005 if test "${ac_cv_path_install+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011 IFS=$as_save_IFS
13012 test -z "$as_dir" && as_dir=.
13013 # Account for people who put trailing slashes in PATH elements.
13014 case $as_dir/ in
13015 ./ | .// | /cC/* | \
13016 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13017 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13018 /usr/ucb/* ) ;;
13019 *)
13020 # OSF1 and SCO ODT 3.0 have their own names for install.
13021 # Don't use installbsd from OSF since it installs stuff as root
13022 # by default.
13023 for ac_prog in ginstall scoinst install; do
13024 for ac_exec_ext in '' $ac_executable_extensions; do
13025 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13026 if test $ac_prog = install &&
13027 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13028 # AIX install. It has an incompatible calling convention.
13029 :
13030 elif test $ac_prog = install &&
13031 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13032 # program-specific install script used by HP pwplus--don't use.
13033 :
13034 else
13035 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13036 break 3
13037 fi
13038 fi
13039 done
13040 done
13041 ;;
13042 esac
13043 done
13044
13045
13046 fi
13047 if test "${ac_cv_path_install+set}" = set; then
13048 INSTALL=$ac_cv_path_install
13049 else
13050 # As a last resort, use the slow shell script. We don't cache a
13051 # path for INSTALL within a source directory, because that will
13052 # break other packages using the cache if that directory is
13053 # removed, or if the path is relative.
13054 INSTALL=$ac_install_sh
13055 fi
13056 fi
13057 echo "$as_me:$LINENO: result: $INSTALL" >&5
13058 echo "${ECHO_T}$INSTALL" >&6
13059
13060 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13061 # It thinks the first close brace ends the variable substitution.
13062 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13063
13064 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13065
13066 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13067
13068
13069 case ${INSTALL} in
13070 /* ) # Absolute
13071 ;;
13072 ?:* ) # Drive letter, considered as absolute.
13073 ;;
13074 *)
13075 INSTALL=`pwd`/${INSTALL} ;;
13076 esac
13077
13078
13079 case "${host}" in
13080
13081 powerpc-*-darwin* )
13082 INSTALL_PROGRAM="cp -fp"
13083 INSTALL_DATA="cp -fp"
13084 ;;
13085 *)
13086 ;;
13087 esac
13088
13089 # Extract the first word of "strip", so it can be a program name with args.
13090 set dummy strip; ac_word=$2
13091 echo "$as_me:$LINENO: checking for $ac_word" >&5
13092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13093 if test "${ac_cv_prog_STRIP+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13096 if test -n "$STRIP"; then
13097 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13098 else
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $PATH
13101 do
13102 IFS=$as_save_IFS
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106 ac_cv_prog_STRIP="strip"
13107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13108 break 2
13109 fi
13110 done
13111 done
13112
13113 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13114 fi
13115 fi
13116 STRIP=$ac_cv_prog_STRIP
13117 if test -n "$STRIP"; then
13118 echo "$as_me:$LINENO: result: $STRIP" >&5
13119 echo "${ECHO_T}$STRIP" >&6
13120 else
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13123 fi
13124
13125
13126 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13127 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13128 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 else
13131
13132 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13133 egrep -s GNU > /dev/null); then
13134 wx_cv_prog_makeisgnu="yes"
13135 else
13136 wx_cv_prog_makeisgnu="no"
13137 fi
13138
13139 fi
13140 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13141 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13142
13143 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13144 IF_GNU_MAKE=""
13145 else
13146 IF_GNU_MAKE="#"
13147 fi
13148
13149
13150
13151 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13152 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13153 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13154 if test "${wx_cv_prog_makevpath+set}" = set; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 else
13157
13158 cat - << EOF > confMake
13159 check : file
13160 cp \$? \$@
13161 cp \$? final_file
13162 EOF
13163
13164 if test ! -d sub ; then
13165 mkdir sub
13166 fi
13167 echo dummy > sub/file
13168 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13169 RESULT=$?
13170 rm -f sub/file check final_file confMake
13171 rmdir sub
13172 if test "$RESULT" = 0; then
13173 wx_cv_prog_makevpath="yes"
13174 else
13175 wx_cv_prog_makevpath="no"
13176 fi
13177
13178 fi
13179 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13180 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13181
13182 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13183 { { echo "$as_me:$LINENO: error:
13184 You need a make-utility that is able to use the variable
13185 VPATH correctly.
13186 If your version of make does not support VPATH correctly,
13187 please install GNU-make (possibly as gmake), and start
13188 configure with the following command:
13189 export MAKE=gmake; ./configure for sh-type shells
13190 setenv MAKE gmake; ./configure for csh-type shells
13191 Also please do remember to use gmake in this case every time
13192 you are trying to compile.
13193 " >&5
13194 echo "$as_me: error:
13195 You need a make-utility that is able to use the variable
13196 VPATH correctly.
13197 If your version of make does not support VPATH correctly,
13198 please install GNU-make (possibly as gmake), and start
13199 configure with the following command:
13200 export MAKE=gmake; ./configure for sh-type shells
13201 setenv MAKE gmake; ./configure for csh-type shells
13202 Also please do remember to use gmake in this case every time
13203 you are trying to compile.
13204 " >&2;}
13205 { (exit 1); exit 1; }; }
13206 fi fi
13207 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13208 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13209 LN_S=$as_ln_s
13210 if test "$LN_S" = "ln -s"; then
13211 echo "$as_me:$LINENO: result: yes" >&5
13212 echo "${ECHO_T}yes" >&6
13213 else
13214 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13215 echo "${ECHO_T}no, using $LN_S" >&6
13216 fi
13217
13218
13219
13220 if test "x$XLCXX" = "xyes"; then
13221 CXXFLAGS="$CXXFLAGS -qunique"
13222 fi
13223
13224
13225 case "${host}" in
13226 powerpc-*-darwin* )
13227 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13228 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13229 cat >conftest.$ac_ext <<_ACEOF
13230 /* confdefs.h. */
13231 _ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235
13236 int
13237 main ()
13238 {
13239 #ifndef __POWERPC__
13240 choke me for lack of PowerPC
13241 #endif
13242
13243 ;
13244 return 0;
13245 }
13246 _ACEOF
13247 rm -f conftest.$ac_objext
13248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13249 (eval $ac_compile) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } &&
13256 { ac_try='test -z "$ac_c_werror_flag"
13257 || test ! -s conftest.err'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13260 ac_status=$?
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; } &&
13263 { ac_try='test -s conftest.$ac_objext'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; }; then
13269 echo "$as_me:$LINENO: result: yes" >&5
13270 echo "${ECHO_T}yes" >&6
13271 else
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.$ac_ext >&5
13274
13275 echo "$as_me:$LINENO: result: no" >&5
13276 echo "${ECHO_T}no" >&6
13277 cat >>confdefs.h <<\_ACEOF
13278 #define __POWERPC__ 1
13279 _ACEOF
13280
13281
13282 fi
13283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13284 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13285 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13286 cat >conftest.$ac_ext <<_ACEOF
13287 /* confdefs.h. */
13288 _ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 #include <CoreFoundation/CFBase.h>
13293
13294 int
13295 main ()
13296 {
13297
13298 ;
13299 return 0;
13300 }
13301 _ACEOF
13302 rm -f conftest.$ac_objext
13303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13304 (eval $ac_compile) 2>conftest.er1
13305 ac_status=$?
13306 grep -v '^ *+' conftest.er1 >conftest.err
13307 rm -f conftest.er1
13308 cat conftest.err >&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } &&
13311 { ac_try='test -z "$ac_c_werror_flag"
13312 || test ! -s conftest.err'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; } &&
13318 { ac_try='test -s conftest.$ac_objext'
13319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13320 (eval $ac_try) 2>&5
13321 ac_status=$?
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); }; }; then
13324 echo "$as_me:$LINENO: result: yes" >&5
13325 echo "${ECHO_T}yes" >&6
13326 else
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 echo "$as_me:$LINENO: result: no" >&5
13331 echo "${ECHO_T}no" >&6
13332 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13333 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13334 cat >conftest.$ac_ext <<_ACEOF
13335 /* confdefs.h. */
13336 _ACEOF
13337 cat confdefs.h >>conftest.$ac_ext
13338 cat >>conftest.$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13340 #define __CF_USE_FRAMEWORK_INCLUDES__
13341 #include <CoreFoundation/CFBase.h>
13342
13343 int
13344 main ()
13345 {
13346
13347 ;
13348 return 0;
13349 }
13350 _ACEOF
13351 rm -f conftest.$ac_objext
13352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13353 (eval $ac_compile) 2>conftest.er1
13354 ac_status=$?
13355 grep -v '^ *+' conftest.er1 >conftest.err
13356 rm -f conftest.er1
13357 cat conftest.err >&5
13358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 (exit $ac_status); } &&
13360 { ac_try='test -z "$ac_c_werror_flag"
13361 || test ! -s conftest.err'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13364 ac_status=$?
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; } &&
13367 { ac_try='test -s conftest.$ac_objext'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13370 ac_status=$?
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; }; then
13373 echo "$as_me:$LINENO: result: yes" >&5
13374 echo "${ECHO_T}yes" >&6
13375 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13376 else
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.$ac_ext >&5
13379
13380 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13381 See \`config.log' for more details." >&5
13382 echo "$as_me: error: no. CoreFoundation not available.
13383 See \`config.log' for more details." >&2;}
13384 { (exit 1); exit 1; }; }
13385
13386 fi
13387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13388
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392 ;;
13393 esac
13394
13395 case "${host}" in
13396 *-pc-os2_emx | *-pc-os2-emx )
13397 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13398 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13399 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13400 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 else
13403 ac_check_lib_save_LIBS=$LIBS
13404 LIBS="-lcExt $LIBS"
13405 cat >conftest.$ac_ext <<_ACEOF
13406 /* confdefs.h. */
13407 _ACEOF
13408 cat confdefs.h >>conftest.$ac_ext
13409 cat >>conftest.$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13411
13412 /* Override any gcc2 internal prototype to avoid an error. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 #endif
13416 /* We use char because int might match the return type of a gcc2
13417 builtin and then its argument prototype would still apply. */
13418 char drand48 ();
13419 int
13420 main ()
13421 {
13422 drand48 ();
13423 ;
13424 return 0;
13425 }
13426 _ACEOF
13427 rm -f conftest.$ac_objext conftest$ac_exeext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13429 (eval $ac_link) 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try='test -z "$ac_c_werror_flag"
13437 || test ! -s conftest.err'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13440 ac_status=$?
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try='test -s conftest$ac_exeext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13446 ac_status=$?
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_cv_lib_cExt_drand48=yes
13450 else
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13453
13454 ac_cv_lib_cExt_drand48=no
13455 fi
13456 rm -f conftest.err conftest.$ac_objext \
13457 conftest$ac_exeext conftest.$ac_ext
13458 LIBS=$ac_check_lib_save_LIBS
13459 fi
13460 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13461 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13462 if test $ac_cv_lib_cExt_drand48 = yes; then
13463 LIBS="$LIBS -lcExt"
13464 fi
13465
13466 else
13467 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13468 fi
13469 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13470 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13471 if test "${wx_cv_gccversion+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 else
13474
13475 if test "$cross_compiling" = yes; then
13476 wx_cv_gccversion="EMX2"
13477
13478 else
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485
13486 #include <stdio.h>
13487
13488 int main()
13489 {
13490 FILE *f=fopen("conftestval", "w");
13491 if (!f) exit(1);
13492 fprintf(f,
13493 #if (__GNUC__ < 3)
13494 "EMX2"
13495 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13496 "EMX3"
13497 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13498 "Innotek5"
13499 #else
13500 "Innotek6"
13501 #endif
13502 );
13503 exit(0);
13504 }
13505
13506 _ACEOF
13507 rm -f conftest$ac_exeext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13509 (eval $ac_link) 2>&5
13510 ac_status=$?
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13515 ac_status=$?
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 wx_cv_gccversion=`cat conftestval`
13519 else
13520 echo "$as_me: program exited with status $ac_status" >&5
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.$ac_ext >&5
13523
13524 ( exit $ac_status )
13525 wx_cv_gccversion="EMX2"
13526 fi
13527 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13528 fi
13529
13530 fi
13531 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13532 echo "${ECHO_T}$wx_cv_gccversion" >&6
13533 if test "$wx_cv_gccversion" = "EMX2"; then
13534 LIBS="$LIBS -lstdcpp"
13535 LDFLAGS="$LDFLAGS -Zsysv-signals"
13536 else
13537 if test "$wx_cv_gccversion" = "EMX3"; then
13538 LIBS="$LIBS -lstdcxx"
13539 LDFLAGS="$LDFLAGS -Zsysv-signals"
13540 else
13541 LIBS="$LIBS -lstdc++"
13542 fi
13543 fi
13544 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13545 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13546 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13547 wxUSE_OMF=yes
13548 enable_omf=yes
13549 fi
13550 ;;
13551 *)
13552
13553
13554
13555 ac_ext=cc
13556 ac_cpp='$CXXCPP $CPPFLAGS'
13557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13560
13561
13562 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13563 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13564 if test "${ac_cv_string_strcasecmp+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 else
13567
13568 cat >conftest.$ac_ext <<_ACEOF
13569 /* confdefs.h. */
13570 _ACEOF
13571 cat confdefs.h >>conftest.$ac_ext
13572 cat >>conftest.$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574
13575 #include <string.h>
13576
13577 int
13578 main ()
13579 {
13580
13581 strcasecmp("foo", "bar");
13582
13583 ;
13584 return 0;
13585 }
13586 _ACEOF
13587 rm -f conftest.$ac_objext conftest$ac_exeext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13589 (eval $ac_link) 2>conftest.er1
13590 ac_status=$?
13591 grep -v '^ *+' conftest.er1 >conftest.err
13592 rm -f conftest.er1
13593 cat conftest.err >&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try='test -z "$ac_cxx_werror_flag"
13597 || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest$ac_exeext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13606 ac_status=$?
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_cv_string_strcasecmp=yes
13610 else
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.$ac_ext >&5
13613
13614 ac_cv_string_strcasecmp=no
13615
13616 fi
13617 rm -f conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619
13620 fi
13621 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13622 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13623
13624 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13625 cat >>confdefs.h <<\_ACEOF
13626 #define HAVE_STRCASECMP_IN_STRING_H 1
13627 _ACEOF
13628
13629 else
13630 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13631 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13632 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635
13636 cat >conftest.$ac_ext <<_ACEOF
13637 /* confdefs.h. */
13638 _ACEOF
13639 cat confdefs.h >>conftest.$ac_ext
13640 cat >>conftest.$ac_ext <<_ACEOF
13641 /* end confdefs.h. */
13642
13643 #include <strings.h>
13644
13645 int
13646 main ()
13647 {
13648
13649 strcasecmp("foo", "bar");
13650
13651 ;
13652 return 0;
13653 }
13654 _ACEOF
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13657 (eval $ac_link) 2>conftest.er1
13658 ac_status=$?
13659 grep -v '^ *+' conftest.er1 >conftest.err
13660 rm -f conftest.er1
13661 cat conftest.err >&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -z "$ac_cxx_werror_flag"
13665 || test ! -s conftest.err'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13668 ac_status=$?
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest$ac_exeext'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13674 ac_status=$?
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; }; then
13677 ac_cv_strings_strcasecmp=yes
13678 else
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.$ac_ext >&5
13681
13682 ac_cv_strings_strcasecmp=no
13683
13684 fi
13685 rm -f conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687
13688 fi
13689 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13690 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13691
13692 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13693 cat >>confdefs.h <<\_ACEOF
13694 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13695 _ACEOF
13696
13697 else
13698 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13699 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13700 { (exit 1); exit 1; }; }
13701 fi
13702 fi
13703
13704 ac_ext=c
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710 ;;
13711 esac
13712
13713
13714 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13715 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13716 if test "${ac_cv_header_stdc+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 else
13719 cat >conftest.$ac_ext <<_ACEOF
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <stdlib.h>
13726 #include <stdarg.h>
13727 #include <string.h>
13728 #include <float.h>
13729
13730 int
13731 main ()
13732 {
13733
13734 ;
13735 return 0;
13736 }
13737 _ACEOF
13738 rm -f conftest.$ac_objext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13740 (eval $ac_compile) 2>conftest.er1
13741 ac_status=$?
13742 grep -v '^ *+' conftest.er1 >conftest.err
13743 rm -f conftest.er1
13744 cat conftest.err >&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try='test -z "$ac_c_werror_flag"
13748 || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13751 ac_status=$?
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13757 ac_status=$?
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_cv_header_stdc=yes
13761 else
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13764
13765 ac_cv_header_stdc=no
13766 fi
13767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13768
13769 if test $ac_cv_header_stdc = yes; then
13770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13771 cat >conftest.$ac_ext <<_ACEOF
13772 /* confdefs.h. */
13773 _ACEOF
13774 cat confdefs.h >>conftest.$ac_ext
13775 cat >>conftest.$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777 #include <string.h>
13778
13779 _ACEOF
13780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13781 $EGREP "memchr" >/dev/null 2>&1; then
13782 :
13783 else
13784 ac_cv_header_stdc=no
13785 fi
13786 rm -f conftest*
13787
13788 fi
13789
13790 if test $ac_cv_header_stdc = yes; then
13791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13792 cat >conftest.$ac_ext <<_ACEOF
13793 /* confdefs.h. */
13794 _ACEOF
13795 cat confdefs.h >>conftest.$ac_ext
13796 cat >>conftest.$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 #include <stdlib.h>
13799
13800 _ACEOF
13801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13802 $EGREP "free" >/dev/null 2>&1; then
13803 :
13804 else
13805 ac_cv_header_stdc=no
13806 fi
13807 rm -f conftest*
13808
13809 fi
13810
13811 if test $ac_cv_header_stdc = yes; then
13812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13813 if test "$cross_compiling" = yes; then
13814 :
13815 else
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 #include <ctype.h>
13823 #if ((' ' & 0x0FF) == 0x020)
13824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13826 #else
13827 # define ISLOWER(c) \
13828 (('a' <= (c) && (c) <= 'i') \
13829 || ('j' <= (c) && (c) <= 'r') \
13830 || ('s' <= (c) && (c) <= 'z'))
13831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13832 #endif
13833
13834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13835 int
13836 main ()
13837 {
13838 int i;
13839 for (i = 0; i < 256; i++)
13840 if (XOR (islower (i), ISLOWER (i))
13841 || toupper (i) != TOUPPER (i))
13842 exit(2);
13843 exit (0);
13844 }
13845 _ACEOF
13846 rm -f conftest$ac_exeext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13848 (eval $ac_link) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13854 ac_status=$?
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; }; then
13857 :
13858 else
13859 echo "$as_me: program exited with status $ac_status" >&5
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13862
13863 ( exit $ac_status )
13864 ac_cv_header_stdc=no
13865 fi
13866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13867 fi
13868 fi
13869 fi
13870 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13871 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13872 if test $ac_cv_header_stdc = yes; then
13873
13874 cat >>confdefs.h <<\_ACEOF
13875 #define STDC_HEADERS 1
13876 _ACEOF
13877
13878 fi
13879
13880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13891 inttypes.h stdint.h unistd.h
13892 do
13893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13894 echo "$as_me:$LINENO: checking for $ac_header" >&5
13895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 else
13899 cat >conftest.$ac_ext <<_ACEOF
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 $ac_includes_default
13906
13907 #include <$ac_header>
13908 _ACEOF
13909 rm -f conftest.$ac_objext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13911 (eval $ac_compile) 2>conftest.er1
13912 ac_status=$?
13913 grep -v '^ *+' conftest.er1 >conftest.err
13914 rm -f conftest.er1
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -z "$ac_c_werror_flag"
13919 || test ! -s conftest.err'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; } &&
13925 { ac_try='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13928 ac_status=$?
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 eval "$as_ac_Header=yes"
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13935
13936 eval "$as_ac_Header=no"
13937 fi
13938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13939 fi
13940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13943 cat >>confdefs.h <<_ACEOF
13944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13945 _ACEOF
13946
13947 fi
13948
13949 done
13950
13951
13952
13953 for ac_header in stdlib.h
13954 do
13955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13957 echo "$as_me:$LINENO: checking for $ac_header" >&5
13958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 fi
13962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13964 else
13965 # Is the header compilable?
13966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 $ac_includes_default
13975 #include <$ac_header>
13976 _ACEOF
13977 rm -f conftest.$ac_objext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13979 (eval $ac_compile) 2>conftest.er1
13980 ac_status=$?
13981 grep -v '^ *+' conftest.er1 >conftest.err
13982 rm -f conftest.er1
13983 cat conftest.err >&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } &&
13986 { ac_try='test -z "$ac_c_werror_flag"
13987 || test ! -s conftest.err'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13990 ac_status=$?
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; } &&
13993 { ac_try='test -s conftest.$ac_objext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 ac_header_compiler=yes
14000 else
14001 echo "$as_me: failed program was:" >&5
14002 sed 's/^/| /' conftest.$ac_ext >&5
14003
14004 ac_header_compiler=no
14005 fi
14006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14008 echo "${ECHO_T}$ac_header_compiler" >&6
14009
14010 # Is the header present?
14011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14013 cat >conftest.$ac_ext <<_ACEOF
14014 /* confdefs.h. */
14015 _ACEOF
14016 cat confdefs.h >>conftest.$ac_ext
14017 cat >>conftest.$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14019 #include <$ac_header>
14020 _ACEOF
14021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14023 ac_status=$?
14024 grep -v '^ *+' conftest.er1 >conftest.err
14025 rm -f conftest.er1
14026 cat conftest.err >&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } >/dev/null; then
14029 if test -s conftest.err; then
14030 ac_cpp_err=$ac_c_preproc_warn_flag
14031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14032 else
14033 ac_cpp_err=
14034 fi
14035 else
14036 ac_cpp_err=yes
14037 fi
14038 if test -z "$ac_cpp_err"; then
14039 ac_header_preproc=yes
14040 else
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.$ac_ext >&5
14043
14044 ac_header_preproc=no
14045 fi
14046 rm -f conftest.err conftest.$ac_ext
14047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14048 echo "${ECHO_T}$ac_header_preproc" >&6
14049
14050 # So? What about this header?
14051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14052 yes:no: )
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14057 ac_header_preproc=yes
14058 ;;
14059 no:yes:* )
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14072 (
14073 cat <<\_ASBOX
14074 ## ----------------------------------------- ##
14075 ## Report this to wx-dev@lists.wxwidgets.org ##
14076 ## ----------------------------------------- ##
14077 _ASBOX
14078 ) |
14079 sed "s/^/$as_me: WARNING: /" >&2
14080 ;;
14081 esac
14082 echo "$as_me:$LINENO: checking for $ac_header" >&5
14083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 eval "$as_ac_Header=\$ac_header_preproc"
14088 fi
14089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091
14092 fi
14093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14094 cat >>confdefs.h <<_ACEOF
14095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14096 _ACEOF
14097
14098 fi
14099
14100 done
14101
14102
14103 for ac_header in malloc.h
14104 do
14105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14107 echo "$as_me:$LINENO: checking for $ac_header" >&5
14108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 fi
14112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14114 else
14115 # Is the header compilable?
14116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14118 cat >conftest.$ac_ext <<_ACEOF
14119 /* confdefs.h. */
14120 _ACEOF
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 $ac_includes_default
14125 #include <$ac_header>
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14130 ac_status=$?
14131 grep -v '^ *+' conftest.er1 >conftest.err
14132 rm -f conftest.er1
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try='test -z "$ac_c_werror_flag"
14137 || test ! -s conftest.err'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; } &&
14143 { ac_try='test -s conftest.$ac_objext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14146 ac_status=$?
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 ac_header_compiler=yes
14150 else
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14153
14154 ac_header_compiler=no
14155 fi
14156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14158 echo "${ECHO_T}$ac_header_compiler" >&6
14159
14160 # Is the header present?
14161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14163 cat >conftest.$ac_ext <<_ACEOF
14164 /* confdefs.h. */
14165 _ACEOF
14166 cat confdefs.h >>conftest.$ac_ext
14167 cat >>conftest.$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14169 #include <$ac_header>
14170 _ACEOF
14171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14173 ac_status=$?
14174 grep -v '^ *+' conftest.er1 >conftest.err
14175 rm -f conftest.er1
14176 cat conftest.err >&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } >/dev/null; then
14179 if test -s conftest.err; then
14180 ac_cpp_err=$ac_c_preproc_warn_flag
14181 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14182 else
14183 ac_cpp_err=
14184 fi
14185 else
14186 ac_cpp_err=yes
14187 fi
14188 if test -z "$ac_cpp_err"; then
14189 ac_header_preproc=yes
14190 else
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.$ac_ext >&5
14193
14194 ac_header_preproc=no
14195 fi
14196 rm -f conftest.err conftest.$ac_ext
14197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14198 echo "${ECHO_T}$ac_header_preproc" >&6
14199
14200 # So? What about this header?
14201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14202 yes:no: )
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14207 ac_header_preproc=yes
14208 ;;
14209 no:yes:* )
14210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14222 (
14223 cat <<\_ASBOX
14224 ## ----------------------------------------- ##
14225 ## Report this to wx-dev@lists.wxwidgets.org ##
14226 ## ----------------------------------------- ##
14227 _ASBOX
14228 ) |
14229 sed "s/^/$as_me: WARNING: /" >&2
14230 ;;
14231 esac
14232 echo "$as_me:$LINENO: checking for $ac_header" >&5
14233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 else
14237 eval "$as_ac_Header=\$ac_header_preproc"
14238 fi
14239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14241
14242 fi
14243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14244 cat >>confdefs.h <<_ACEOF
14245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14246 _ACEOF
14247
14248 fi
14249
14250 done
14251
14252
14253 for ac_header in unistd.h
14254 do
14255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14257 echo "$as_me:$LINENO: checking for $ac_header" >&5
14258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 fi
14262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14264 else
14265 # Is the header compilable?
14266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14268 cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h. */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h. */
14274 $ac_includes_default
14275 #include <$ac_header>
14276 _ACEOF
14277 rm -f conftest.$ac_objext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14279 (eval $ac_compile) 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try='test -z "$ac_c_werror_flag"
14287 || test ! -s conftest.err'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; } &&
14293 { ac_try='test -s conftest.$ac_objext'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; }; then
14299 ac_header_compiler=yes
14300 else
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14303
14304 ac_header_compiler=no
14305 fi
14306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14308 echo "${ECHO_T}$ac_header_compiler" >&6
14309
14310 # Is the header present?
14311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14313 cat >conftest.$ac_ext <<_ACEOF
14314 /* confdefs.h. */
14315 _ACEOF
14316 cat confdefs.h >>conftest.$ac_ext
14317 cat >>conftest.$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14319 #include <$ac_header>
14320 _ACEOF
14321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14323 ac_status=$?
14324 grep -v '^ *+' conftest.er1 >conftest.err
14325 rm -f conftest.er1
14326 cat conftest.err >&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } >/dev/null; then
14329 if test -s conftest.err; then
14330 ac_cpp_err=$ac_c_preproc_warn_flag
14331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14332 else
14333 ac_cpp_err=
14334 fi
14335 else
14336 ac_cpp_err=yes
14337 fi
14338 if test -z "$ac_cpp_err"; then
14339 ac_header_preproc=yes
14340 else
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14343
14344 ac_header_preproc=no
14345 fi
14346 rm -f conftest.err conftest.$ac_ext
14347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14348 echo "${ECHO_T}$ac_header_preproc" >&6
14349
14350 # So? What about this header?
14351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14352 yes:no: )
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14357 ac_header_preproc=yes
14358 ;;
14359 no:yes:* )
14360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14372 (
14373 cat <<\_ASBOX
14374 ## ----------------------------------------- ##
14375 ## Report this to wx-dev@lists.wxwidgets.org ##
14376 ## ----------------------------------------- ##
14377 _ASBOX
14378 ) |
14379 sed "s/^/$as_me: WARNING: /" >&2
14380 ;;
14381 esac
14382 echo "$as_me:$LINENO: checking for $ac_header" >&5
14383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 else
14387 eval "$as_ac_Header=\$ac_header_preproc"
14388 fi
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14391
14392 fi
14393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14394 cat >>confdefs.h <<_ACEOF
14395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14396 _ACEOF
14397
14398 fi
14399
14400 done
14401
14402
14403 for ac_header in wchar.h
14404 do
14405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
14412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14414 else
14415 # Is the header compilable?
14416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14418 cat >conftest.$ac_ext <<_ACEOF
14419 /* confdefs.h. */
14420 _ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 $ac_includes_default
14425 #include <$ac_header>
14426 _ACEOF
14427 rm -f conftest.$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14430 ac_status=$?
14431 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1
14433 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try='test -z "$ac_c_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_header_compiler=yes
14450 else
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14453
14454 ac_header_compiler=no
14455 fi
14456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14458 echo "${ECHO_T}$ac_header_compiler" >&6
14459
14460 # Is the header present?
14461 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14462 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14463 cat >conftest.$ac_ext <<_ACEOF
14464 /* confdefs.h. */
14465 _ACEOF
14466 cat confdefs.h >>conftest.$ac_ext
14467 cat >>conftest.$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 #include <$ac_header>
14470 _ACEOF
14471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14473 ac_status=$?
14474 grep -v '^ *+' conftest.er1 >conftest.err
14475 rm -f conftest.er1
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } >/dev/null; then
14479 if test -s conftest.err; then
14480 ac_cpp_err=$ac_c_preproc_warn_flag
14481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14482 else
14483 ac_cpp_err=
14484 fi
14485 else
14486 ac_cpp_err=yes
14487 fi
14488 if test -z "$ac_cpp_err"; then
14489 ac_header_preproc=yes
14490 else
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14493
14494 ac_header_preproc=no
14495 fi
14496 rm -f conftest.err conftest.$ac_ext
14497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14498 echo "${ECHO_T}$ac_header_preproc" >&6
14499
14500 # So? What about this header?
14501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14502 yes:no: )
14503 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14504 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14506 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14507 ac_header_preproc=yes
14508 ;;
14509 no:yes:* )
14510 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14511 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14512 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14513 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14514 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14515 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14516 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14517 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14520 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14521 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14522 (
14523 cat <<\_ASBOX
14524 ## ----------------------------------------- ##
14525 ## Report this to wx-dev@lists.wxwidgets.org ##
14526 ## ----------------------------------------- ##
14527 _ASBOX
14528 ) |
14529 sed "s/^/$as_me: WARNING: /" >&2
14530 ;;
14531 esac
14532 echo "$as_me:$LINENO: checking for $ac_header" >&5
14533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14536 else
14537 eval "$as_ac_Header=\$ac_header_preproc"
14538 fi
14539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14541
14542 fi
14543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14544 cat >>confdefs.h <<_ACEOF
14545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14546 _ACEOF
14547
14548 fi
14549
14550 done
14551
14552
14553 if test "$ac_cv_header_wchar_h" != "yes"; then
14554
14555 for ac_header in wcstr.h
14556 do
14557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14559 echo "$as_me:$LINENO: checking for $ac_header" >&5
14560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 fi
14564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14566 else
14567 # Is the header compilable?
14568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14570 cat >conftest.$ac_ext <<_ACEOF
14571 /* confdefs.h. */
14572 _ACEOF
14573 cat confdefs.h >>conftest.$ac_ext
14574 cat >>conftest.$ac_ext <<_ACEOF
14575 /* end confdefs.h. */
14576 $ac_includes_default
14577 #include <$ac_header>
14578 _ACEOF
14579 rm -f conftest.$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>conftest.er1
14582 ac_status=$?
14583 grep -v '^ *+' conftest.er1 >conftest.err
14584 rm -f conftest.er1
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try='test -z "$ac_c_werror_flag"
14589 || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try='test -s conftest.$ac_objext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14598 ac_status=$?
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_header_compiler=yes
14602 else
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14605
14606 ac_header_compiler=no
14607 fi
14608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14610 echo "${ECHO_T}$ac_header_compiler" >&6
14611
14612 # Is the header present?
14613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14615 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */
14617 _ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621 #include <$ac_header>
14622 _ACEOF
14623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14625 ac_status=$?
14626 grep -v '^ *+' conftest.er1 >conftest.err
14627 rm -f conftest.er1
14628 cat conftest.err >&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } >/dev/null; then
14631 if test -s conftest.err; then
14632 ac_cpp_err=$ac_c_preproc_warn_flag
14633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14634 else
14635 ac_cpp_err=
14636 fi
14637 else
14638 ac_cpp_err=yes
14639 fi
14640 if test -z "$ac_cpp_err"; then
14641 ac_header_preproc=yes
14642 else
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14645
14646 ac_header_preproc=no
14647 fi
14648 rm -f conftest.err conftest.$ac_ext
14649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14650 echo "${ECHO_T}$ac_header_preproc" >&6
14651
14652 # So? What about this header?
14653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14654 yes:no: )
14655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14659 ac_header_preproc=yes
14660 ;;
14661 no:yes:* )
14662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14674 (
14675 cat <<\_ASBOX
14676 ## ----------------------------------------- ##
14677 ## Report this to wx-dev@lists.wxwidgets.org ##
14678 ## ----------------------------------------- ##
14679 _ASBOX
14680 ) |
14681 sed "s/^/$as_me: WARNING: /" >&2
14682 ;;
14683 esac
14684 echo "$as_me:$LINENO: checking for $ac_header" >&5
14685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 else
14689 eval "$as_ac_Header=\$ac_header_preproc"
14690 fi
14691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14693
14694 fi
14695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14696 cat >>confdefs.h <<_ACEOF
14697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14698 _ACEOF
14699
14700 fi
14701
14702 done
14703
14704 fi
14705
14706
14707 for ac_header in fnmatch.h
14708 do
14709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14711 echo "$as_me:$LINENO: checking for $ac_header" >&5
14712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 fi
14716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14718 else
14719 # Is the header compilable?
14720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14722 cat >conftest.$ac_ext <<_ACEOF
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14729 #include <$ac_header>
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>conftest.er1
14734 ac_status=$?
14735 grep -v '^ *+' conftest.er1 >conftest.err
14736 rm -f conftest.er1
14737 cat conftest.err >&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try='test -z "$ac_c_werror_flag"
14741 || test ! -s conftest.err'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; } &&
14747 { ac_try='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_header_compiler=yes
14754 else
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14757
14758 ac_header_compiler=no
14759 fi
14760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14762 echo "${ECHO_T}$ac_header_compiler" >&6
14763
14764 # Is the header present?
14765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14767 cat >conftest.$ac_ext <<_ACEOF
14768 /* confdefs.h. */
14769 _ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 #include <$ac_header>
14774 _ACEOF
14775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14777 ac_status=$?
14778 grep -v '^ *+' conftest.er1 >conftest.err
14779 rm -f conftest.er1
14780 cat conftest.err >&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } >/dev/null; then
14783 if test -s conftest.err; then
14784 ac_cpp_err=$ac_c_preproc_warn_flag
14785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14786 else
14787 ac_cpp_err=
14788 fi
14789 else
14790 ac_cpp_err=yes
14791 fi
14792 if test -z "$ac_cpp_err"; then
14793 ac_header_preproc=yes
14794 else
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14797
14798 ac_header_preproc=no
14799 fi
14800 rm -f conftest.err conftest.$ac_ext
14801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14802 echo "${ECHO_T}$ac_header_preproc" >&6
14803
14804 # So? What about this header?
14805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14806 yes:no: )
14807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14811 ac_header_preproc=yes
14812 ;;
14813 no:yes:* )
14814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14826 (
14827 cat <<\_ASBOX
14828 ## ----------------------------------------- ##
14829 ## Report this to wx-dev@lists.wxwidgets.org ##
14830 ## ----------------------------------------- ##
14831 _ASBOX
14832 ) |
14833 sed "s/^/$as_me: WARNING: /" >&2
14834 ;;
14835 esac
14836 echo "$as_me:$LINENO: checking for $ac_header" >&5
14837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 eval "$as_ac_Header=\$ac_header_preproc"
14842 fi
14843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14845
14846 fi
14847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14848 cat >>confdefs.h <<_ACEOF
14849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14850 _ACEOF
14851
14852 fi
14853
14854 done
14855
14856
14857 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14858
14859 for ac_func in fnmatch
14860 do
14861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14862 echo "$as_me:$LINENO: checking for $ac_func" >&5
14863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14864 if eval "test \"\${$as_ac_var+set}\" = set"; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 else
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14875 #define $ac_func innocuous_$ac_func
14876
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char $ac_func (); below.
14879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14880 <limits.h> exists even on freestanding compilers. */
14881
14882 #ifdef __STDC__
14883 # include <limits.h>
14884 #else
14885 # include <assert.h>
14886 #endif
14887
14888 #undef $ac_func
14889
14890 /* Override any gcc2 internal prototype to avoid an error. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 {
14894 #endif
14895 /* We use char because int might match the return type of a gcc2
14896 builtin and then its argument prototype would still apply. */
14897 char $ac_func ();
14898 /* The GNU C library defines this for functions which it implements
14899 to always fail with ENOSYS. Some functions are actually named
14900 something starting with __ and the normal name is an alias. */
14901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14902 choke me
14903 #else
14904 char (*f) () = $ac_func;
14905 #endif
14906 #ifdef __cplusplus
14907 }
14908 #endif
14909
14910 int
14911 main ()
14912 {
14913 return f != $ac_func;
14914 ;
14915 return 0;
14916 }
14917 _ACEOF
14918 rm -f conftest.$ac_objext conftest$ac_exeext
14919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14920 (eval $ac_link) 2>conftest.er1
14921 ac_status=$?
14922 grep -v '^ *+' conftest.er1 >conftest.err
14923 rm -f conftest.er1
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try='test -z "$ac_c_werror_flag"
14928 || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try='test -s conftest$ac_exeext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14937 ac_status=$?
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 eval "$as_ac_var=yes"
14941 else
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14944
14945 eval "$as_ac_var=no"
14946 fi
14947 rm -f conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14949 fi
14950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14952 if test `eval echo '${'$as_ac_var'}'` = yes; then
14953 cat >>confdefs.h <<_ACEOF
14954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14955 _ACEOF
14956
14957 fi
14958 done
14959
14960 fi
14961
14962
14963 for ac_header in langinfo.h
14964 do
14965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14967 echo "$as_me:$LINENO: checking for $ac_header" >&5
14968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 fi
14972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14974 else
14975 # Is the header compilable?
14976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14978 cat >conftest.$ac_ext <<_ACEOF
14979 /* confdefs.h. */
14980 _ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14985 #include <$ac_header>
14986 _ACEOF
14987 rm -f conftest.$ac_objext
14988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14989 (eval $ac_compile) 2>conftest.er1
14990 ac_status=$?
14991 grep -v '^ *+' conftest.er1 >conftest.err
14992 rm -f conftest.er1
14993 cat conftest.err >&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); } &&
14996 { ac_try='test -z "$ac_c_werror_flag"
14997 || test ! -s conftest.err'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; } &&
15003 { ac_try='test -s conftest.$ac_objext'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15006 ac_status=$?
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; }; then
15009 ac_header_compiler=yes
15010 else
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.$ac_ext >&5
15013
15014 ac_header_compiler=no
15015 fi
15016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15018 echo "${ECHO_T}$ac_header_compiler" >&6
15019
15020 # Is the header present?
15021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15023 cat >conftest.$ac_ext <<_ACEOF
15024 /* confdefs.h. */
15025 _ACEOF
15026 cat confdefs.h >>conftest.$ac_ext
15027 cat >>conftest.$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15029 #include <$ac_header>
15030 _ACEOF
15031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } >/dev/null; then
15039 if test -s conftest.err; then
15040 ac_cpp_err=$ac_c_preproc_warn_flag
15041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15042 else
15043 ac_cpp_err=
15044 fi
15045 else
15046 ac_cpp_err=yes
15047 fi
15048 if test -z "$ac_cpp_err"; then
15049 ac_header_preproc=yes
15050 else
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15053
15054 ac_header_preproc=no
15055 fi
15056 rm -f conftest.err conftest.$ac_ext
15057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15058 echo "${ECHO_T}$ac_header_preproc" >&6
15059
15060 # So? What about this header?
15061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15062 yes:no: )
15063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15067 ac_header_preproc=yes
15068 ;;
15069 no:yes:* )
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15082 (
15083 cat <<\_ASBOX
15084 ## ----------------------------------------- ##
15085 ## Report this to wx-dev@lists.wxwidgets.org ##
15086 ## ----------------------------------------- ##
15087 _ASBOX
15088 ) |
15089 sed "s/^/$as_me: WARNING: /" >&2
15090 ;;
15091 esac
15092 echo "$as_me:$LINENO: checking for $ac_header" >&5
15093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15097 eval "$as_ac_Header=\$ac_header_preproc"
15098 fi
15099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15101
15102 fi
15103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15104 cat >>confdefs.h <<_ACEOF
15105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15106 _ACEOF
15107
15108 fi
15109
15110 done
15111
15112
15113 case "${host}" in
15114 *-pc-os2_emx | *-pc-os2-emx )
15115 if test $ac_cv_header_langinfo_h = "yes" \
15116 -a \( "$wx_cv_gccversion" = "EMX2" \
15117 -o "$wx_cv_gccversion" = "EMX3" \
15118 -o "$wx_cv_gccversion" = "Innotek5" \); then
15119 LIBS="$LIBS -lintl"
15120 fi
15121 ;;
15122 esac
15123
15124 if test "$wxUSE_GUI" = "yes"; then
15125 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15126
15127 for ac_header in X11/Xlib.h
15128 do
15129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15131 echo "$as_me:$LINENO: checking for $ac_header" >&5
15132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 fi
15136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15138 else
15139 # Is the header compilable?
15140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15142 cat >conftest.$ac_ext <<_ACEOF
15143 /* confdefs.h. */
15144 _ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15149 #include <$ac_header>
15150 _ACEOF
15151 rm -f conftest.$ac_objext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15153 (eval $ac_compile) 2>conftest.er1
15154 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -z "$ac_c_werror_flag"
15161 || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15164 ac_status=$?
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_header_compiler=yes
15174 else
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15177
15178 ac_header_compiler=no
15179 fi
15180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15182 echo "${ECHO_T}$ac_header_compiler" >&6
15183
15184 # Is the header present?
15185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15187 cat >conftest.$ac_ext <<_ACEOF
15188 /* confdefs.h. */
15189 _ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15193 #include <$ac_header>
15194 _ACEOF
15195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } >/dev/null; then
15203 if test -s conftest.err; then
15204 ac_cpp_err=$ac_c_preproc_warn_flag
15205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15206 else
15207 ac_cpp_err=
15208 fi
15209 else
15210 ac_cpp_err=yes
15211 fi
15212 if test -z "$ac_cpp_err"; then
15213 ac_header_preproc=yes
15214 else
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15217
15218 ac_header_preproc=no
15219 fi
15220 rm -f conftest.err conftest.$ac_ext
15221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15222 echo "${ECHO_T}$ac_header_preproc" >&6
15223
15224 # So? What about this header?
15225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15226 yes:no: )
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15231 ac_header_preproc=yes
15232 ;;
15233 no:yes:* )
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15246 (
15247 cat <<\_ASBOX
15248 ## ----------------------------------------- ##
15249 ## Report this to wx-dev@lists.wxwidgets.org ##
15250 ## ----------------------------------------- ##
15251 _ASBOX
15252 ) |
15253 sed "s/^/$as_me: WARNING: /" >&2
15254 ;;
15255 esac
15256 echo "$as_me:$LINENO: checking for $ac_header" >&5
15257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 else
15261 eval "$as_ac_Header=\$ac_header_preproc"
15262 fi
15263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15265
15266 fi
15267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15268 cat >>confdefs.h <<_ACEOF
15269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15270 _ACEOF
15271
15272 fi
15273
15274 done
15275
15276
15277 for ac_header in X11/XKBlib.h
15278 do
15279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15280 echo "$as_me:$LINENO: checking for $ac_header" >&5
15281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 else
15285 cat >conftest.$ac_ext <<_ACEOF
15286 /* confdefs.h. */
15287 _ACEOF
15288 cat confdefs.h >>conftest.$ac_ext
15289 cat >>conftest.$ac_ext <<_ACEOF
15290 /* end confdefs.h. */
15291
15292 #if HAVE_X11_XLIB_H
15293 #include <X11/Xlib.h>
15294 #endif
15295
15296
15297 #include <$ac_header>
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try='test -z "$ac_c_werror_flag"
15309 || test ! -s conftest.err'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15312 ac_status=$?
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; } &&
15315 { ac_try='test -s conftest.$ac_objext'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; }; then
15321 eval "$as_ac_Header=yes"
15322 else
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15325
15326 eval "$as_ac_Header=no"
15327 fi
15328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15329 fi
15330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15333 cat >>confdefs.h <<_ACEOF
15334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15335 _ACEOF
15336
15337 fi
15338
15339 done
15340
15341 fi
15342 fi
15343
15344
15345 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15346 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15347 if test "${ac_cv_c_const+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 cat >conftest.$ac_ext <<_ACEOF
15351 /* confdefs.h. */
15352 _ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15356
15357 int
15358 main ()
15359 {
15360 /* FIXME: Include the comments suggested by Paul. */
15361 #ifndef __cplusplus
15362 /* Ultrix mips cc rejects this. */
15363 typedef int charset[2];
15364 const charset x;
15365 /* SunOS 4.1.1 cc rejects this. */
15366 char const *const *ccp;
15367 char **p;
15368 /* NEC SVR4.0.2 mips cc rejects this. */
15369 struct point {int x, y;};
15370 static struct point const zero = {0,0};
15371 /* AIX XL C 1.02.0.0 rejects this.
15372 It does not let you subtract one const X* pointer from another in
15373 an arm of an if-expression whose if-part is not a constant
15374 expression */
15375 const char *g = "string";
15376 ccp = &g + (g ? g-g : 0);
15377 /* HPUX 7.0 cc rejects these. */
15378 ++ccp;
15379 p = (char**) ccp;
15380 ccp = (char const *const *) p;
15381 { /* SCO 3.2v4 cc rejects this. */
15382 char *t;
15383 char const *s = 0 ? (char *) 0 : (char const *) 0;
15384
15385 *t++ = 0;
15386 }
15387 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15388 int x[] = {25, 17};
15389 const int *foo = &x[0];
15390 ++foo;
15391 }
15392 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15393 typedef const int *iptr;
15394 iptr p = 0;
15395 ++p;
15396 }
15397 { /* AIX XL C 1.02.0.0 rejects this saying
15398 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15399 struct s { int j; const int *ap[3]; };
15400 struct s *b; b->j = 5;
15401 }
15402 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15403 const int foo = 10;
15404 }
15405 #endif
15406
15407 ;
15408 return 0;
15409 }
15410 _ACEOF
15411 rm -f conftest.$ac_objext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15413 (eval $ac_compile) 2>conftest.er1
15414 ac_status=$?
15415 grep -v '^ *+' conftest.er1 >conftest.err
15416 rm -f conftest.er1
15417 cat conftest.err >&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } &&
15420 { ac_try='test -z "$ac_c_werror_flag"
15421 || test ! -s conftest.err'
15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15424 ac_status=$?
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; } &&
15427 { ac_try='test -s conftest.$ac_objext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15430 ac_status=$?
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_c_const=yes
15434 else
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.$ac_ext >&5
15437
15438 ac_cv_c_const=no
15439 fi
15440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15441 fi
15442 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15443 echo "${ECHO_T}$ac_cv_c_const" >&6
15444 if test $ac_cv_c_const = no; then
15445
15446 cat >>confdefs.h <<\_ACEOF
15447 #define const
15448 _ACEOF
15449
15450 fi
15451
15452 echo "$as_me:$LINENO: checking for inline" >&5
15453 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15454 if test "${ac_cv_c_inline+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 else
15457 ac_cv_c_inline=no
15458 for ac_kw in inline __inline__ __inline; do
15459 cat >conftest.$ac_ext <<_ACEOF
15460 /* confdefs.h. */
15461 _ACEOF
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 #ifndef __cplusplus
15466 typedef int foo_t;
15467 static $ac_kw foo_t static_foo () {return 0; }
15468 $ac_kw foo_t foo () {return 0; }
15469 #endif
15470
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15475 ac_status=$?
15476 grep -v '^ *+' conftest.er1 >conftest.err
15477 rm -f conftest.er1
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try='test -z "$ac_c_werror_flag"
15482 || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15485 ac_status=$?
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_cv_c_inline=$ac_kw; break
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 fi
15500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15501 done
15502
15503 fi
15504 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15505 echo "${ECHO_T}$ac_cv_c_inline" >&6
15506
15507
15508 case $ac_cv_c_inline in
15509 inline | yes) ;;
15510 *)
15511 case $ac_cv_c_inline in
15512 no) ac_val=;;
15513 *) ac_val=$ac_cv_c_inline;;
15514 esac
15515 cat >>confdefs.h <<_ACEOF
15516 #ifndef __cplusplus
15517 #define inline $ac_val
15518 #endif
15519 _ACEOF
15520 ;;
15521 esac
15522
15523
15524 echo "$as_me:$LINENO: checking for char" >&5
15525 echo $ECHO_N "checking for char... $ECHO_C" >&6
15526 if test "${ac_cv_type_char+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529 cat >conftest.$ac_ext <<_ACEOF
15530 /* confdefs.h. */
15531 _ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535 $ac_includes_default
15536 int
15537 main ()
15538 {
15539 if ((char *) 0)
15540 return 0;
15541 if (sizeof (char))
15542 return 0;
15543 ;
15544 return 0;
15545 }
15546 _ACEOF
15547 rm -f conftest.$ac_objext
15548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15549 (eval $ac_compile) 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag"
15557 || test ! -s conftest.err'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; } &&
15563 { ac_try='test -s conftest.$ac_objext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15566 ac_status=$?
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 ac_cv_type_char=yes
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15573
15574 ac_cv_type_char=no
15575 fi
15576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15577 fi
15578 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15579 echo "${ECHO_T}$ac_cv_type_char" >&6
15580
15581 echo "$as_me:$LINENO: checking size of char" >&5
15582 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15583 if test "${ac_cv_sizeof_char+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 else
15586 if test "$ac_cv_type_char" = yes; then
15587 # The cast to unsigned long works around a bug in the HP C Compiler
15588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15590 # This bug is HP SR number 8606223364.
15591 if test "$cross_compiling" = yes; then
15592 # Depending upon the size, compute the lo and hi bounds.
15593 cat >conftest.$ac_ext <<_ACEOF
15594 /* confdefs.h. */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599 $ac_includes_default
15600 int
15601 main ()
15602 {
15603 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15604 test_array [0] = 0
15605
15606 ;
15607 return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>conftest.er1
15613 ac_status=$?
15614 grep -v '^ *+' conftest.er1 >conftest.err
15615 rm -f conftest.er1
15616 cat conftest.err >&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } &&
15619 { ac_try='test -z "$ac_c_werror_flag"
15620 || test ! -s conftest.err'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; } &&
15626 { ac_try='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15632 ac_lo=0 ac_mid=0
15633 while :; do
15634 cat >conftest.$ac_ext <<_ACEOF
15635 /* confdefs.h. */
15636 _ACEOF
15637 cat confdefs.h >>conftest.$ac_ext
15638 cat >>conftest.$ac_ext <<_ACEOF
15639 /* end confdefs.h. */
15640 $ac_includes_default
15641 int
15642 main ()
15643 {
15644 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15645 test_array [0] = 0
15646
15647 ;
15648 return 0;
15649 }
15650 _ACEOF
15651 rm -f conftest.$ac_objext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15653 (eval $ac_compile) 2>conftest.er1
15654 ac_status=$?
15655 grep -v '^ *+' conftest.er1 >conftest.err
15656 rm -f conftest.er1
15657 cat conftest.err >&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -z "$ac_c_werror_flag"
15661 || test ! -s conftest.err'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; } &&
15667 { ac_try='test -s conftest.$ac_objext'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_hi=$ac_mid; break
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15677
15678 ac_lo=`expr $ac_mid + 1`
15679 if test $ac_lo -le $ac_mid; then
15680 ac_lo= ac_hi=
15681 break
15682 fi
15683 ac_mid=`expr 2 '*' $ac_mid + 1`
15684 fi
15685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15686 done
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697 $ac_includes_default
15698 int
15699 main ()
15700 {
15701 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15702 test_array [0] = 0
15703
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>conftest.er1
15711 ac_status=$?
15712 grep -v '^ *+' conftest.er1 >conftest.err
15713 rm -f conftest.er1
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } &&
15717 { ac_try='test -z "$ac_c_werror_flag"
15718 || test ! -s conftest.err'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; } &&
15724 { ac_try='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_hi=-1 ac_mid=-1
15731 while :; do
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 $ac_includes_default
15739 int
15740 main ()
15741 {
15742 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15743 test_array [0] = 0
15744
15745 ;
15746 return 0;
15747 }
15748 _ACEOF
15749 rm -f conftest.$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>conftest.er1
15752 ac_status=$?
15753 grep -v '^ *+' conftest.er1 >conftest.err
15754 rm -f conftest.er1
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try='test -z "$ac_c_werror_flag"
15759 || test ! -s conftest.err'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; } &&
15765 { ac_try='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_lo=$ac_mid; break
15772 else
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15775
15776 ac_hi=`expr '(' $ac_mid ')' - 1`
15777 if test $ac_mid -le $ac_hi; then
15778 ac_lo= ac_hi=
15779 break
15780 fi
15781 ac_mid=`expr 2 '*' $ac_mid`
15782 fi
15783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15784 done
15785 else
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15788
15789 ac_lo= ac_hi=
15790 fi
15791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15792 fi
15793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15794 # Binary search between lo and hi bounds.
15795 while test "x$ac_lo" != "x$ac_hi"; do
15796 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15797 cat >conftest.$ac_ext <<_ACEOF
15798 /* confdefs.h. */
15799 _ACEOF
15800 cat confdefs.h >>conftest.$ac_ext
15801 cat >>conftest.$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 $ac_includes_default
15804 int
15805 main ()
15806 {
15807 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15808 test_array [0] = 0
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } &&
15823 { ac_try='test -z "$ac_c_werror_flag"
15824 || test ! -s conftest.err'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15827 ac_status=$?
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; } &&
15830 { ac_try='test -s conftest.$ac_objext'
15831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832 (eval $ac_try) 2>&5
15833 ac_status=$?
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_hi=$ac_mid
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 ac_lo=`expr '(' $ac_mid ')' + 1`
15842 fi
15843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15844 done
15845 case $ac_lo in
15846 ?*) ac_cv_sizeof_char=$ac_lo;;
15847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot compute sizeof (char), 77
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; } ;;
15852 esac
15853 else
15854 if test "$cross_compiling" = yes; then
15855 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15856 See \`config.log' for more details." >&5
15857 echo "$as_me: error: cannot run test program while cross compiling
15858 See \`config.log' for more details." >&2;}
15859 { (exit 1); exit 1; }; }
15860 else
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 $ac_includes_default
15868 long longval () { return (long) (sizeof (char)); }
15869 unsigned long ulongval () { return (long) (sizeof (char)); }
15870 #include <stdio.h>
15871 #include <stdlib.h>
15872 int
15873 main ()
15874 {
15875
15876 FILE *f = fopen ("conftest.val", "w");
15877 if (! f)
15878 exit (1);
15879 if (((long) (sizeof (char))) < 0)
15880 {
15881 long i = longval ();
15882 if (i != ((long) (sizeof (char))))
15883 exit (1);
15884 fprintf (f, "%ld\n", i);
15885 }
15886 else
15887 {
15888 unsigned long i = ulongval ();
15889 if (i != ((long) (sizeof (char))))
15890 exit (1);
15891 fprintf (f, "%lu\n", i);
15892 }
15893 exit (ferror (f) || fclose (f) != 0);
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest$ac_exeext
15900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15901 (eval $ac_link) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15907 ac_status=$?
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_sizeof_char=`cat conftest.val`
15911 else
15912 echo "$as_me: program exited with status $ac_status" >&5
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15915
15916 ( exit $ac_status )
15917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15918 See \`config.log' for more details." >&5
15919 echo "$as_me: error: cannot compute sizeof (char), 77
15920 See \`config.log' for more details." >&2;}
15921 { (exit 1); exit 1; }; }
15922 fi
15923 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15924 fi
15925 fi
15926 rm -f conftest.val
15927 else
15928 ac_cv_sizeof_char=0
15929 fi
15930 fi
15931 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15932 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15933 cat >>confdefs.h <<_ACEOF
15934 #define SIZEOF_CHAR $ac_cv_sizeof_char
15935 _ACEOF
15936
15937
15938 echo "$as_me:$LINENO: checking for short" >&5
15939 echo $ECHO_N "checking for short... $ECHO_C" >&6
15940 if test "${ac_cv_type_short+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15942 else
15943 cat >conftest.$ac_ext <<_ACEOF
15944 /* confdefs.h. */
15945 _ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15949 $ac_includes_default
15950 int
15951 main ()
15952 {
15953 if ((short *) 0)
15954 return 0;
15955 if (sizeof (short))
15956 return 0;
15957 ;
15958 return 0;
15959 }
15960 _ACEOF
15961 rm -f conftest.$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>conftest.er1
15964 ac_status=$?
15965 grep -v '^ *+' conftest.er1 >conftest.err
15966 rm -f conftest.er1
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } &&
15970 { ac_try='test -z "$ac_c_werror_flag"
15971 || test ! -s conftest.err'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; } &&
15977 { ac_try='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_cv_type_short=yes
15984 else
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.$ac_ext >&5
15987
15988 ac_cv_type_short=no
15989 fi
15990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15991 fi
15992 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15993 echo "${ECHO_T}$ac_cv_type_short" >&6
15994
15995 echo "$as_me:$LINENO: checking size of short" >&5
15996 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15997 if test "${ac_cv_sizeof_short+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 else
16000 if test "$ac_cv_type_short" = yes; then
16001 # The cast to unsigned long works around a bug in the HP C Compiler
16002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16004 # This bug is HP SR number 8606223364.
16005 if test "$cross_compiling" = yes; then
16006 # Depending upon the size, compute the lo and hi bounds.
16007 cat >conftest.$ac_ext <<_ACEOF
16008 /* confdefs.h. */
16009 _ACEOF
16010 cat confdefs.h >>conftest.$ac_ext
16011 cat >>conftest.$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16013 $ac_includes_default
16014 int
16015 main ()
16016 {
16017 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16018 test_array [0] = 0
16019
16020 ;
16021 return 0;
16022 }
16023 _ACEOF
16024 rm -f conftest.$ac_objext
16025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16026 (eval $ac_compile) 2>conftest.er1
16027 ac_status=$?
16028 grep -v '^ *+' conftest.er1 >conftest.err
16029 rm -f conftest.er1
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } &&
16033 { ac_try='test -z "$ac_c_werror_flag"
16034 || test ! -s conftest.err'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; } &&
16040 { ac_try='test -s conftest.$ac_objext'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_lo=0 ac_mid=0
16047 while :; do
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 $ac_includes_default
16055 int
16056 main ()
16057 {
16058 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16059 test_array [0] = 0
16060
16061 ;
16062 return 0;
16063 }
16064 _ACEOF
16065 rm -f conftest.$ac_objext
16066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16067 (eval $ac_compile) 2>conftest.er1
16068 ac_status=$?
16069 grep -v '^ *+' conftest.er1 >conftest.err
16070 rm -f conftest.er1
16071 cat conftest.err >&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } &&
16074 { ac_try='test -z "$ac_c_werror_flag"
16075 || test ! -s conftest.err'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16078 ac_status=$?
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; } &&
16081 { ac_try='test -s conftest.$ac_objext'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then
16087 ac_hi=$ac_mid; break
16088 else
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.$ac_ext >&5
16091
16092 ac_lo=`expr $ac_mid + 1`
16093 if test $ac_lo -le $ac_mid; then
16094 ac_lo= ac_hi=
16095 break
16096 fi
16097 ac_mid=`expr 2 '*' $ac_mid + 1`
16098 fi
16099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16100 done
16101 else
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16104
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 $ac_includes_default
16112 int
16113 main ()
16114 {
16115 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16116 test_array [0] = 0
16117
16118 ;
16119 return 0;
16120 }
16121 _ACEOF
16122 rm -f conftest.$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16125 ac_status=$?
16126 grep -v '^ *+' conftest.er1 >conftest.err
16127 rm -f conftest.er1
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try='test -z "$ac_c_werror_flag"
16132 || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_hi=-1 ac_mid=-1
16145 while :; do
16146 cat >conftest.$ac_ext <<_ACEOF
16147 /* confdefs.h. */
16148 _ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152 $ac_includes_default
16153 int
16154 main ()
16155 {
16156 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16157 test_array [0] = 0
16158
16159 ;
16160 return 0;
16161 }
16162 _ACEOF
16163 rm -f conftest.$ac_objext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16165 (eval $ac_compile) 2>conftest.er1
16166 ac_status=$?
16167 grep -v '^ *+' conftest.er1 >conftest.err
16168 rm -f conftest.er1
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try='test -z "$ac_c_werror_flag"
16173 || test ! -s conftest.err'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; } &&
16179 { ac_try='test -s conftest.$ac_objext'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16182 ac_status=$?
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; }; then
16185 ac_lo=$ac_mid; break
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16189
16190 ac_hi=`expr '(' $ac_mid ')' - 1`
16191 if test $ac_mid -le $ac_hi; then
16192 ac_lo= ac_hi=
16193 break
16194 fi
16195 ac_mid=`expr 2 '*' $ac_mid`
16196 fi
16197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16198 done
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_lo= ac_hi=
16204 fi
16205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16206 fi
16207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16208 # Binary search between lo and hi bounds.
16209 while test "x$ac_lo" != "x$ac_hi"; do
16210 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16217 $ac_includes_default
16218 int
16219 main ()
16220 {
16221 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16222 test_array [0] = 0
16223
16224 ;
16225 return 0;
16226 }
16227 _ACEOF
16228 rm -f conftest.$ac_objext
16229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16230 (eval $ac_compile) 2>conftest.er1
16231 ac_status=$?
16232 grep -v '^ *+' conftest.er1 >conftest.err
16233 rm -f conftest.er1
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try='test -z "$ac_c_werror_flag"
16238 || test ! -s conftest.err'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; } &&
16244 { ac_try='test -s conftest.$ac_objext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16247 ac_status=$?
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_hi=$ac_mid
16251 else
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16254
16255 ac_lo=`expr '(' $ac_mid ')' + 1`
16256 fi
16257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16258 done
16259 case $ac_lo in
16260 ?*) ac_cv_sizeof_short=$ac_lo;;
16261 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: cannot compute sizeof (short), 77
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; } ;;
16266 esac
16267 else
16268 if test "$cross_compiling" = yes; then
16269 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16270 See \`config.log' for more details." >&5
16271 echo "$as_me: error: cannot run test program while cross compiling
16272 See \`config.log' for more details." >&2;}
16273 { (exit 1); exit 1; }; }
16274 else
16275 cat >conftest.$ac_ext <<_ACEOF
16276 /* confdefs.h. */
16277 _ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 $ac_includes_default
16282 long longval () { return (long) (sizeof (short)); }
16283 unsigned long ulongval () { return (long) (sizeof (short)); }
16284 #include <stdio.h>
16285 #include <stdlib.h>
16286 int
16287 main ()
16288 {
16289
16290 FILE *f = fopen ("conftest.val", "w");
16291 if (! f)
16292 exit (1);
16293 if (((long) (sizeof (short))) < 0)
16294 {
16295 long i = longval ();
16296 if (i != ((long) (sizeof (short))))
16297 exit (1);
16298 fprintf (f, "%ld\n", i);
16299 }
16300 else
16301 {
16302 unsigned long i = ulongval ();
16303 if (i != ((long) (sizeof (short))))
16304 exit (1);
16305 fprintf (f, "%lu\n", i);
16306 }
16307 exit (ferror (f) || fclose (f) != 0);
16308
16309 ;
16310 return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_cv_sizeof_short=`cat conftest.val`
16325 else
16326 echo "$as_me: program exited with status $ac_status" >&5
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 ( exit $ac_status )
16331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16332 See \`config.log' for more details." >&5
16333 echo "$as_me: error: cannot compute sizeof (short), 77
16334 See \`config.log' for more details." >&2;}
16335 { (exit 1); exit 1; }; }
16336 fi
16337 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16338 fi
16339 fi
16340 rm -f conftest.val
16341 else
16342 ac_cv_sizeof_short=0
16343 fi
16344 fi
16345 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16346 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16347 cat >>confdefs.h <<_ACEOF
16348 #define SIZEOF_SHORT $ac_cv_sizeof_short
16349 _ACEOF
16350
16351
16352 echo "$as_me:$LINENO: checking for void *" >&5
16353 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16354 if test "${ac_cv_type_void_p+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 cat >conftest.$ac_ext <<_ACEOF
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16364 int
16365 main ()
16366 {
16367 if ((void * *) 0)
16368 return 0;
16369 if (sizeof (void *))
16370 return 0;
16371 ;
16372 return 0;
16373 }
16374 _ACEOF
16375 rm -f conftest.$ac_objext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16377 (eval $ac_compile) 2>conftest.er1
16378 ac_status=$?
16379 grep -v '^ *+' conftest.er1 >conftest.err
16380 rm -f conftest.er1
16381 cat conftest.err >&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try='test -z "$ac_c_werror_flag"
16385 || test ! -s conftest.err'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; } &&
16391 { ac_try='test -s conftest.$ac_objext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16394 ac_status=$?
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16397 ac_cv_type_void_p=yes
16398 else
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.$ac_ext >&5
16401
16402 ac_cv_type_void_p=no
16403 fi
16404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16405 fi
16406 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16407 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16408
16409 echo "$as_me:$LINENO: checking size of void *" >&5
16410 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16411 if test "${ac_cv_sizeof_void_p+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 else
16414 if test "$ac_cv_type_void_p" = yes; then
16415 # The cast to unsigned long works around a bug in the HP C Compiler
16416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16418 # This bug is HP SR number 8606223364.
16419 if test "$cross_compiling" = yes; then
16420 # Depending upon the size, compute the lo and hi bounds.
16421 cat >conftest.$ac_ext <<_ACEOF
16422 /* confdefs.h. */
16423 _ACEOF
16424 cat confdefs.h >>conftest.$ac_ext
16425 cat >>conftest.$ac_ext <<_ACEOF
16426 /* end confdefs.h. */
16427 $ac_includes_default
16428 int
16429 main ()
16430 {
16431 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16432 test_array [0] = 0
16433
16434 ;
16435 return 0;
16436 }
16437 _ACEOF
16438 rm -f conftest.$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16441 ac_status=$?
16442 grep -v '^ *+' conftest.er1 >conftest.err
16443 rm -f conftest.er1
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try='test -z "$ac_c_werror_flag"
16448 || test ! -s conftest.err'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; } &&
16454 { ac_try='test -s conftest.$ac_objext'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; }; then
16460 ac_lo=0 ac_mid=0
16461 while :; do
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 $ac_includes_default
16469 int
16470 main ()
16471 {
16472 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16473 test_array [0] = 0
16474
16475 ;
16476 return 0;
16477 }
16478 _ACEOF
16479 rm -f conftest.$ac_objext
16480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16481 (eval $ac_compile) 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try='test -z "$ac_c_werror_flag"
16489 || test ! -s conftest.err'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16492 ac_status=$?
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; } &&
16495 { ac_try='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16498 ac_status=$?
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_hi=$ac_mid; break
16502 else
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16505
16506 ac_lo=`expr $ac_mid + 1`
16507 if test $ac_lo -le $ac_mid; then
16508 ac_lo= ac_hi=
16509 break
16510 fi
16511 ac_mid=`expr 2 '*' $ac_mid + 1`
16512 fi
16513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16514 done
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16518
16519 cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16526 int
16527 main ()
16528 {
16529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16530 test_array [0] = 0
16531
16532 ;
16533 return 0;
16534 }
16535 _ACEOF
16536 rm -f conftest.$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>conftest.er1
16539 ac_status=$?
16540 grep -v '^ *+' conftest.er1 >conftest.err
16541 rm -f conftest.er1
16542 cat conftest.err >&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } &&
16545 { ac_try='test -z "$ac_c_werror_flag"
16546 || test ! -s conftest.err'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; } &&
16552 { ac_try='test -s conftest.$ac_objext'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16555 ac_status=$?
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; }; then
16558 ac_hi=-1 ac_mid=-1
16559 while :; do
16560 cat >conftest.$ac_ext <<_ACEOF
16561 /* confdefs.h. */
16562 _ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 $ac_includes_default
16567 int
16568 main ()
16569 {
16570 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16571 test_array [0] = 0
16572
16573 ;
16574 return 0;
16575 }
16576 _ACEOF
16577 rm -f conftest.$ac_objext
16578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16579 (eval $ac_compile) 2>conftest.er1
16580 ac_status=$?
16581 grep -v '^ *+' conftest.er1 >conftest.err
16582 rm -f conftest.er1
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } &&
16586 { ac_try='test -z "$ac_c_werror_flag"
16587 || 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_lo=$ac_mid; break
16600 else
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.$ac_ext >&5
16603
16604 ac_hi=`expr '(' $ac_mid ')' - 1`
16605 if test $ac_mid -le $ac_hi; then
16606 ac_lo= ac_hi=
16607 break
16608 fi
16609 ac_mid=`expr 2 '*' $ac_mid`
16610 fi
16611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16612 done
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16616
16617 ac_lo= ac_hi=
16618 fi
16619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16620 fi
16621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16622 # Binary search between lo and hi bounds.
16623 while test "x$ac_lo" != "x$ac_hi"; do
16624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16625 cat >conftest.$ac_ext <<_ACEOF
16626 /* confdefs.h. */
16627 _ACEOF
16628 cat confdefs.h >>conftest.$ac_ext
16629 cat >>conftest.$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 $ac_includes_default
16632 int
16633 main ()
16634 {
16635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16636 test_array [0] = 0
16637
16638 ;
16639 return 0;
16640 }
16641 _ACEOF
16642 rm -f conftest.$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16645 ac_status=$?
16646 grep -v '^ *+' conftest.er1 >conftest.err
16647 rm -f conftest.er1
16648 cat conftest.err >&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_hi=$ac_mid
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16668
16669 ac_lo=`expr '(' $ac_mid ')' + 1`
16670 fi
16671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16672 done
16673 case $ac_lo in
16674 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16676 See \`config.log' for more details." >&5
16677 echo "$as_me: error: cannot compute sizeof (void *), 77
16678 See \`config.log' for more details." >&2;}
16679 { (exit 1); exit 1; }; } ;;
16680 esac
16681 else
16682 if test "$cross_compiling" = yes; then
16683 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16684 See \`config.log' for more details." >&5
16685 echo "$as_me: error: cannot run test program while cross compiling
16686 See \`config.log' for more details." >&2;}
16687 { (exit 1); exit 1; }; }
16688 else
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 $ac_includes_default
16696 long longval () { return (long) (sizeof (void *)); }
16697 unsigned long ulongval () { return (long) (sizeof (void *)); }
16698 #include <stdio.h>
16699 #include <stdlib.h>
16700 int
16701 main ()
16702 {
16703
16704 FILE *f = fopen ("conftest.val", "w");
16705 if (! f)
16706 exit (1);
16707 if (((long) (sizeof (void *))) < 0)
16708 {
16709 long i = longval ();
16710 if (i != ((long) (sizeof (void *))))
16711 exit (1);
16712 fprintf (f, "%ld\n", i);
16713 }
16714 else
16715 {
16716 unsigned long i = ulongval ();
16717 if (i != ((long) (sizeof (void *))))
16718 exit (1);
16719 fprintf (f, "%lu\n", i);
16720 }
16721 exit (ferror (f) || fclose (f) != 0);
16722
16723 ;
16724 return 0;
16725 }
16726 _ACEOF
16727 rm -f conftest$ac_exeext
16728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16729 (eval $ac_link) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_sizeof_void_p=`cat conftest.val`
16739 else
16740 echo "$as_me: program exited with status $ac_status" >&5
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 ( exit $ac_status )
16745 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot compute sizeof (void *), 77
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }
16750 fi
16751 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16752 fi
16753 fi
16754 rm -f conftest.val
16755 else
16756 ac_cv_sizeof_void_p=0
16757 fi
16758 fi
16759 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16760 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16761 cat >>confdefs.h <<_ACEOF
16762 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16763 _ACEOF
16764
16765
16766 echo "$as_me:$LINENO: checking for int" >&5
16767 echo $ECHO_N "checking for int... $ECHO_C" >&6
16768 if test "${ac_cv_type_int+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 else
16771 cat >conftest.$ac_ext <<_ACEOF
16772 /* confdefs.h. */
16773 _ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 $ac_includes_default
16778 int
16779 main ()
16780 {
16781 if ((int *) 0)
16782 return 0;
16783 if (sizeof (int))
16784 return 0;
16785 ;
16786 return 0;
16787 }
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>conftest.er1
16792 ac_status=$?
16793 grep -v '^ *+' conftest.er1 >conftest.err
16794 rm -f conftest.er1
16795 cat conftest.err >&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try='test -z "$ac_c_werror_flag"
16799 || test ! -s conftest.err'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16802 ac_status=$?
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; } &&
16805 { ac_try='test -s conftest.$ac_objext'
16806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16807 (eval $ac_try) 2>&5
16808 ac_status=$?
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); }; }; then
16811 ac_cv_type_int=yes
16812 else
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 ac_cv_type_int=no
16817 fi
16818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16819 fi
16820 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16821 echo "${ECHO_T}$ac_cv_type_int" >&6
16822
16823 echo "$as_me:$LINENO: checking size of int" >&5
16824 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16825 if test "${ac_cv_sizeof_int+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828 if test "$ac_cv_type_int" = yes; then
16829 # The cast to unsigned long works around a bug in the HP C Compiler
16830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16832 # This bug is HP SR number 8606223364.
16833 if test "$cross_compiling" = yes; then
16834 # Depending upon the size, compute the lo and hi bounds.
16835 cat >conftest.$ac_ext <<_ACEOF
16836 /* confdefs.h. */
16837 _ACEOF
16838 cat confdefs.h >>conftest.$ac_ext
16839 cat >>conftest.$ac_ext <<_ACEOF
16840 /* end confdefs.h. */
16841 $ac_includes_default
16842 int
16843 main ()
16844 {
16845 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16846 test_array [0] = 0
16847
16848 ;
16849 return 0;
16850 }
16851 _ACEOF
16852 rm -f conftest.$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16855 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try='test -z "$ac_c_werror_flag"
16862 || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16865 ac_status=$?
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_lo=0 ac_mid=0
16875 while :; do
16876 cat >conftest.$ac_ext <<_ACEOF
16877 /* confdefs.h. */
16878 _ACEOF
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 $ac_includes_default
16883 int
16884 main ()
16885 {
16886 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16887 test_array [0] = 0
16888
16889 ;
16890 return 0;
16891 }
16892 _ACEOF
16893 rm -f conftest.$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try='test -z "$ac_c_werror_flag"
16903 || test ! -s conftest.err'
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); }; } &&
16909 { ac_try='test -s conftest.$ac_objext'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16912 ac_status=$?
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; }; then
16915 ac_hi=$ac_mid; break
16916 else
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16919
16920 ac_lo=`expr $ac_mid + 1`
16921 if test $ac_lo -le $ac_mid; then
16922 ac_lo= ac_hi=
16923 break
16924 fi
16925 ac_mid=`expr 2 '*' $ac_mid + 1`
16926 fi
16927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16928 done
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16932
16933 cat >conftest.$ac_ext <<_ACEOF
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 $ac_includes_default
16940 int
16941 main ()
16942 {
16943 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16944 test_array [0] = 0
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 rm -f conftest.$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>conftest.er1
16953 ac_status=$?
16954 grep -v '^ *+' conftest.er1 >conftest.err
16955 rm -f conftest.er1
16956 cat conftest.err >&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); } &&
16959 { ac_try='test -z "$ac_c_werror_flag"
16960 || test ! -s conftest.err'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16963 ac_status=$?
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; } &&
16966 { ac_try='test -s conftest.$ac_objext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16972 ac_hi=-1 ac_mid=-1
16973 while :; do
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 $ac_includes_default
16981 int
16982 main ()
16983 {
16984 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16985 test_array [0] = 0
16986
16987 ;
16988 return 0;
16989 }
16990 _ACEOF
16991 rm -f conftest.$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993 (eval $ac_compile) 2>conftest.er1
16994 ac_status=$?
16995 grep -v '^ *+' conftest.er1 >conftest.err
16996 rm -f conftest.er1
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } &&
17000 { ac_try='test -z "$ac_c_werror_flag"
17001 || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17010 ac_status=$?
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 ac_lo=$ac_mid; break
17014 else
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.$ac_ext >&5
17017
17018 ac_hi=`expr '(' $ac_mid ')' - 1`
17019 if test $ac_mid -le $ac_hi; then
17020 ac_lo= ac_hi=
17021 break
17022 fi
17023 ac_mid=`expr 2 '*' $ac_mid`
17024 fi
17025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17026 done
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17030
17031 ac_lo= ac_hi=
17032 fi
17033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17034 fi
17035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17036 # Binary search between lo and hi bounds.
17037 while test "x$ac_lo" != "x$ac_hi"; do
17038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17046 int
17047 main ()
17048 {
17049 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17050 test_array [0] = 0
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try='test -z "$ac_c_werror_flag"
17066 || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 ac_hi=$ac_mid
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 ac_lo=`expr '(' $ac_mid ')' + 1`
17084 fi
17085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17086 done
17087 case $ac_lo in
17088 ?*) ac_cv_sizeof_int=$ac_lo;;
17089 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17090 See \`config.log' for more details." >&5
17091 echo "$as_me: error: cannot compute sizeof (int), 77
17092 See \`config.log' for more details." >&2;}
17093 { (exit 1); exit 1; }; } ;;
17094 esac
17095 else
17096 if test "$cross_compiling" = yes; then
17097 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17098 See \`config.log' for more details." >&5
17099 echo "$as_me: error: cannot run test program while cross compiling
17100 See \`config.log' for more details." >&2;}
17101 { (exit 1); exit 1; }; }
17102 else
17103 cat >conftest.$ac_ext <<_ACEOF
17104 /* confdefs.h. */
17105 _ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 $ac_includes_default
17110 long longval () { return (long) (sizeof (int)); }
17111 unsigned long ulongval () { return (long) (sizeof (int)); }
17112 #include <stdio.h>
17113 #include <stdlib.h>
17114 int
17115 main ()
17116 {
17117
17118 FILE *f = fopen ("conftest.val", "w");
17119 if (! f)
17120 exit (1);
17121 if (((long) (sizeof (int))) < 0)
17122 {
17123 long i = longval ();
17124 if (i != ((long) (sizeof (int))))
17125 exit (1);
17126 fprintf (f, "%ld\n", i);
17127 }
17128 else
17129 {
17130 unsigned long i = ulongval ();
17131 if (i != ((long) (sizeof (int))))
17132 exit (1);
17133 fprintf (f, "%lu\n", i);
17134 }
17135 exit (ferror (f) || fclose (f) != 0);
17136
17137 ;
17138 return 0;
17139 }
17140 _ACEOF
17141 rm -f conftest$ac_exeext
17142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17143 (eval $ac_link) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17149 ac_status=$?
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 ac_cv_sizeof_int=`cat conftest.val`
17153 else
17154 echo "$as_me: program exited with status $ac_status" >&5
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.$ac_ext >&5
17157
17158 ( exit $ac_status )
17159 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17160 See \`config.log' for more details." >&5
17161 echo "$as_me: error: cannot compute sizeof (int), 77
17162 See \`config.log' for more details." >&2;}
17163 { (exit 1); exit 1; }; }
17164 fi
17165 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17166 fi
17167 fi
17168 rm -f conftest.val
17169 else
17170 ac_cv_sizeof_int=0
17171 fi
17172 fi
17173 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17174 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17175 cat >>confdefs.h <<_ACEOF
17176 #define SIZEOF_INT $ac_cv_sizeof_int
17177 _ACEOF
17178
17179
17180 echo "$as_me:$LINENO: checking for long" >&5
17181 echo $ECHO_N "checking for long... $ECHO_C" >&6
17182 if test "${ac_cv_type_long+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 else
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h. */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 int
17193 main ()
17194 {
17195 if ((long *) 0)
17196 return 0;
17197 if (sizeof (long))
17198 return 0;
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17206 ac_status=$?
17207 grep -v '^ *+' conftest.er1 >conftest.err
17208 rm -f conftest.er1
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag"
17213 || test ! -s conftest.err'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17216 ac_status=$?
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; } &&
17219 { ac_try='test -s conftest.$ac_objext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225 ac_cv_type_long=yes
17226 else
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17229
17230 ac_cv_type_long=no
17231 fi
17232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17233 fi
17234 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17235 echo "${ECHO_T}$ac_cv_type_long" >&6
17236
17237 echo "$as_me:$LINENO: checking size of long" >&5
17238 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17239 if test "${ac_cv_sizeof_long+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 else
17242 if test "$ac_cv_type_long" = yes; then
17243 # The cast to unsigned long works around a bug in the HP C Compiler
17244 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17245 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17246 # This bug is HP SR number 8606223364.
17247 if test "$cross_compiling" = yes; then
17248 # Depending upon the size, compute the lo and hi bounds.
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17256 int
17257 main ()
17258 {
17259 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17260 test_array [0] = 0
17261
17262 ;
17263 return 0;
17264 }
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag"
17276 || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_lo=0 ac_mid=0
17289 while :; do
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17297 int
17298 main ()
17299 {
17300 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17301 test_array [0] = 0
17302
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17309 (eval $ac_compile) 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag"
17317 || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17320 ac_status=$?
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17326 ac_status=$?
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_hi=$ac_mid; break
17330 else
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.$ac_ext >&5
17333
17334 ac_lo=`expr $ac_mid + 1`
17335 if test $ac_lo -le $ac_mid; then
17336 ac_lo= ac_hi=
17337 break
17338 fi
17339 ac_mid=`expr 2 '*' $ac_mid + 1`
17340 fi
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17342 done
17343 else
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17346
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 $ac_includes_default
17354 int
17355 main ()
17356 {
17357 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17358 test_array [0] = 0
17359
17360 ;
17361 return 0;
17362 }
17363 _ACEOF
17364 rm -f conftest.$ac_objext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17366 (eval $ac_compile) 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17377 ac_status=$?
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_hi=-1 ac_mid=-1
17387 while :; do
17388 cat >conftest.$ac_ext <<_ACEOF
17389 /* confdefs.h. */
17390 _ACEOF
17391 cat confdefs.h >>conftest.$ac_ext
17392 cat >>conftest.$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17394 $ac_includes_default
17395 int
17396 main ()
17397 {
17398 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17399 test_array [0] = 0
17400
17401 ;
17402 return 0;
17403 }
17404 _ACEOF
17405 rm -f conftest.$ac_objext
17406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17407 (eval $ac_compile) 2>conftest.er1
17408 ac_status=$?
17409 grep -v '^ *+' conftest.er1 >conftest.err
17410 rm -f conftest.er1
17411 cat conftest.err >&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try='test -z "$ac_c_werror_flag"
17415 || test ! -s conftest.err'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17418 ac_status=$?
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; } &&
17421 { ac_try='test -s conftest.$ac_objext'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17424 ac_status=$?
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; }; then
17427 ac_lo=$ac_mid; break
17428 else
17429 echo "$as_me: failed program was:" >&5
17430 sed 's/^/| /' conftest.$ac_ext >&5
17431
17432 ac_hi=`expr '(' $ac_mid ')' - 1`
17433 if test $ac_mid -le $ac_hi; then
17434 ac_lo= ac_hi=
17435 break
17436 fi
17437 ac_mid=`expr 2 '*' $ac_mid`
17438 fi
17439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17440 done
17441 else
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17444
17445 ac_lo= ac_hi=
17446 fi
17447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17448 fi
17449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17450 # Binary search between lo and hi bounds.
17451 while test "x$ac_lo" != "x$ac_hi"; do
17452 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17453 cat >conftest.$ac_ext <<_ACEOF
17454 /* confdefs.h. */
17455 _ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459 $ac_includes_default
17460 int
17461 main ()
17462 {
17463 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17464 test_array [0] = 0
17465
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>conftest.er1
17473 ac_status=$?
17474 grep -v '^ *+' conftest.er1 >conftest.err
17475 rm -f conftest.er1
17476 cat conftest.err >&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try='test -z "$ac_c_werror_flag"
17480 || test ! -s conftest.err'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; } &&
17486 { ac_try='test -s conftest.$ac_objext'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17489 ac_status=$?
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; }; then
17492 ac_hi=$ac_mid
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17496
17497 ac_lo=`expr '(' $ac_mid ')' + 1`
17498 fi
17499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17500 done
17501 case $ac_lo in
17502 ?*) ac_cv_sizeof_long=$ac_lo;;
17503 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17504 See \`config.log' for more details." >&5
17505 echo "$as_me: error: cannot compute sizeof (long), 77
17506 See \`config.log' for more details." >&2;}
17507 { (exit 1); exit 1; }; } ;;
17508 esac
17509 else
17510 if test "$cross_compiling" = yes; then
17511 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17512 See \`config.log' for more details." >&5
17513 echo "$as_me: error: cannot run test program while cross compiling
17514 See \`config.log' for more details." >&2;}
17515 { (exit 1); exit 1; }; }
17516 else
17517 cat >conftest.$ac_ext <<_ACEOF
17518 /* confdefs.h. */
17519 _ACEOF
17520 cat confdefs.h >>conftest.$ac_ext
17521 cat >>conftest.$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17524 long longval () { return (long) (sizeof (long)); }
17525 unsigned long ulongval () { return (long) (sizeof (long)); }
17526 #include <stdio.h>
17527 #include <stdlib.h>
17528 int
17529 main ()
17530 {
17531
17532 FILE *f = fopen ("conftest.val", "w");
17533 if (! f)
17534 exit (1);
17535 if (((long) (sizeof (long))) < 0)
17536 {
17537 long i = longval ();
17538 if (i != ((long) (sizeof (long))))
17539 exit (1);
17540 fprintf (f, "%ld\n", i);
17541 }
17542 else
17543 {
17544 unsigned long i = ulongval ();
17545 if (i != ((long) (sizeof (long))))
17546 exit (1);
17547 fprintf (f, "%lu\n", i);
17548 }
17549 exit (ferror (f) || fclose (f) != 0);
17550
17551 ;
17552 return 0;
17553 }
17554 _ACEOF
17555 rm -f conftest$ac_exeext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17557 (eval $ac_link) 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_cv_sizeof_long=`cat conftest.val`
17567 else
17568 echo "$as_me: program exited with status $ac_status" >&5
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 ( exit $ac_status )
17573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17574 See \`config.log' for more details." >&5
17575 echo "$as_me: error: cannot compute sizeof (long), 77
17576 See \`config.log' for more details." >&2;}
17577 { (exit 1); exit 1; }; }
17578 fi
17579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17580 fi
17581 fi
17582 rm -f conftest.val
17583 else
17584 ac_cv_sizeof_long=0
17585 fi
17586 fi
17587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17588 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17589 cat >>confdefs.h <<_ACEOF
17590 #define SIZEOF_LONG $ac_cv_sizeof_long
17591 _ACEOF
17592
17593
17594 echo "$as_me:$LINENO: checking for size_t" >&5
17595 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17596 if test "${ac_cv_type_size_t+set}" = set; then
17597 echo $ECHO_N "(cached) $ECHO_C" >&6
17598 else
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17606 int
17607 main ()
17608 {
17609 if ((size_t *) 0)
17610 return 0;
17611 if (sizeof (size_t))
17612 return 0;
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 rm -f conftest.$ac_objext
17618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17619 (eval $ac_compile) 2>conftest.er1
17620 ac_status=$?
17621 grep -v '^ *+' conftest.er1 >conftest.err
17622 rm -f conftest.er1
17623 cat conftest.err >&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); } &&
17626 { ac_try='test -z "$ac_c_werror_flag"
17627 || test ! -s conftest.err'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17630 ac_status=$?
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; } &&
17633 { ac_try='test -s conftest.$ac_objext'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17636 ac_status=$?
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; }; then
17639 ac_cv_type_size_t=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 ac_cv_type_size_t=no
17645 fi
17646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17647 fi
17648 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17649 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17650
17651 echo "$as_me:$LINENO: checking size of size_t" >&5
17652 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17653 if test "${ac_cv_sizeof_size_t+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 else
17656 if test "$ac_cv_type_size_t" = yes; then
17657 # The cast to unsigned long works around a bug in the HP C Compiler
17658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17660 # This bug is HP SR number 8606223364.
17661 if test "$cross_compiling" = yes; then
17662 # Depending upon the size, compute the lo and hi bounds.
17663 cat >conftest.$ac_ext <<_ACEOF
17664 /* confdefs.h. */
17665 _ACEOF
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17670 int
17671 main ()
17672 {
17673 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17674 test_array [0] = 0
17675
17676 ;
17677 return 0;
17678 }
17679 _ACEOF
17680 rm -f conftest.$ac_objext
17681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17682 (eval $ac_compile) 2>conftest.er1
17683 ac_status=$?
17684 grep -v '^ *+' conftest.er1 >conftest.err
17685 rm -f conftest.er1
17686 cat conftest.err >&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try='test -z "$ac_c_werror_flag"
17690 || test ! -s conftest.err'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; } &&
17696 { ac_try='test -s conftest.$ac_objext'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; }; then
17702 ac_lo=0 ac_mid=0
17703 while :; do
17704 cat >conftest.$ac_ext <<_ACEOF
17705 /* confdefs.h. */
17706 _ACEOF
17707 cat confdefs.h >>conftest.$ac_ext
17708 cat >>conftest.$ac_ext <<_ACEOF
17709 /* end confdefs.h. */
17710 $ac_includes_default
17711 int
17712 main ()
17713 {
17714 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17715 test_array [0] = 0
17716
17717 ;
17718 return 0;
17719 }
17720 _ACEOF
17721 rm -f conftest.$ac_objext
17722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17723 (eval $ac_compile) 2>conftest.er1
17724 ac_status=$?
17725 grep -v '^ *+' conftest.er1 >conftest.err
17726 rm -f conftest.er1
17727 cat conftest.err >&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } &&
17730 { ac_try='test -z "$ac_c_werror_flag"
17731 || test ! -s conftest.err'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17734 ac_status=$?
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; } &&
17737 { ac_try='test -s conftest.$ac_objext'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; }; then
17743 ac_hi=$ac_mid; break
17744 else
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17747
17748 ac_lo=`expr $ac_mid + 1`
17749 if test $ac_lo -le $ac_mid; then
17750 ac_lo= ac_hi=
17751 break
17752 fi
17753 ac_mid=`expr 2 '*' $ac_mid + 1`
17754 fi
17755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17756 done
17757 else
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.$ac_ext >&5
17760
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767 $ac_includes_default
17768 int
17769 main ()
17770 {
17771 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17772 test_array [0] = 0
17773
17774 ;
17775 return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 ac_hi=-1 ac_mid=-1
17801 while :; do
17802 cat >conftest.$ac_ext <<_ACEOF
17803 /* confdefs.h. */
17804 _ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 $ac_includes_default
17809 int
17810 main ()
17811 {
17812 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17813 test_array [0] = 0
17814
17815 ;
17816 return 0;
17817 }
17818 _ACEOF
17819 rm -f conftest.$ac_objext
17820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17821 (eval $ac_compile) 2>conftest.er1
17822 ac_status=$?
17823 grep -v '^ *+' conftest.er1 >conftest.err
17824 rm -f conftest.er1
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } &&
17828 { ac_try='test -z "$ac_c_werror_flag"
17829 || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17838 ac_status=$?
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 ac_lo=$ac_mid; break
17842 else
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17845
17846 ac_hi=`expr '(' $ac_mid ')' - 1`
17847 if test $ac_mid -le $ac_hi; then
17848 ac_lo= ac_hi=
17849 break
17850 fi
17851 ac_mid=`expr 2 '*' $ac_mid`
17852 fi
17853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17854 done
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17858
17859 ac_lo= ac_hi=
17860 fi
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 fi
17863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17864 # Binary search between lo and hi bounds.
17865 while test "x$ac_lo" != "x$ac_hi"; do
17866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17867 cat >conftest.$ac_ext <<_ACEOF
17868 /* confdefs.h. */
17869 _ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 $ac_includes_default
17874 int
17875 main ()
17876 {
17877 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17878 test_array [0] = 0
17879
17880 ;
17881 return 0;
17882 }
17883 _ACEOF
17884 rm -f conftest.$ac_objext
17885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17886 (eval $ac_compile) 2>conftest.er1
17887 ac_status=$?
17888 grep -v '^ *+' conftest.er1 >conftest.err
17889 rm -f conftest.er1
17890 cat conftest.err >&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try='test -z "$ac_c_werror_flag"
17894 || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17897 ac_status=$?
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17903 ac_status=$?
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_hi=$ac_mid
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17910
17911 ac_lo=`expr '(' $ac_mid ')' + 1`
17912 fi
17913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17914 done
17915 case $ac_lo in
17916 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17918 See \`config.log' for more details." >&5
17919 echo "$as_me: error: cannot compute sizeof (size_t), 77
17920 See \`config.log' for more details." >&2;}
17921 { (exit 1); exit 1; }; } ;;
17922 esac
17923 else
17924 if test "$cross_compiling" = yes; then
17925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17926 See \`config.log' for more details." >&5
17927 echo "$as_me: error: cannot run test program while cross compiling
17928 See \`config.log' for more details." >&2;}
17929 { (exit 1); exit 1; }; }
17930 else
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937 $ac_includes_default
17938 long longval () { return (long) (sizeof (size_t)); }
17939 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17940 #include <stdio.h>
17941 #include <stdlib.h>
17942 int
17943 main ()
17944 {
17945
17946 FILE *f = fopen ("conftest.val", "w");
17947 if (! f)
17948 exit (1);
17949 if (((long) (sizeof (size_t))) < 0)
17950 {
17951 long i = longval ();
17952 if (i != ((long) (sizeof (size_t))))
17953 exit (1);
17954 fprintf (f, "%ld\n", i);
17955 }
17956 else
17957 {
17958 unsigned long i = ulongval ();
17959 if (i != ((long) (sizeof (size_t))))
17960 exit (1);
17961 fprintf (f, "%lu\n", i);
17962 }
17963 exit (ferror (f) || fclose (f) != 0);
17964
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 rm -f conftest$ac_exeext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17971 (eval $ac_link) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17977 ac_status=$?
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17980 ac_cv_sizeof_size_t=`cat conftest.val`
17981 else
17982 echo "$as_me: program exited with status $ac_status" >&5
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.$ac_ext >&5
17985
17986 ( exit $ac_status )
17987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17988 See \`config.log' for more details." >&5
17989 echo "$as_me: error: cannot compute sizeof (size_t), 77
17990 See \`config.log' for more details." >&2;}
17991 { (exit 1); exit 1; }; }
17992 fi
17993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17994 fi
17995 fi
17996 rm -f conftest.val
17997 else
17998 ac_cv_sizeof_size_t=0
17999 fi
18000 fi
18001 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18002 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18003 cat >>confdefs.h <<_ACEOF
18004 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18005 _ACEOF
18006
18007
18008
18009 case "${host}" in
18010 arm-*-linux* )
18011 echo "$as_me:$LINENO: checking for long long" >&5
18012 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18013 if test "${ac_cv_type_long_long+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18023 int
18024 main ()
18025 {
18026 if ((long long *) 0)
18027 return 0;
18028 if (sizeof (long long))
18029 return 0;
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try='test -z "$ac_c_werror_flag"
18044 || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_type_long_long=yes
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 ac_cv_type_long_long=no
18062 fi
18063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18064 fi
18065 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18066 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18067
18068 echo "$as_me:$LINENO: checking size of long long" >&5
18069 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_long_long+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073 if test "$ac_cv_type_long_long" = yes; then
18074 # The cast to unsigned long works around a bug in the HP C Compiler
18075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077 # This bug is HP SR number 8606223364.
18078 if test "$cross_compiling" = yes; then
18079 # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 $ac_includes_default
18087 int
18088 main ()
18089 {
18090 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18091 test_array [0] = 0
18092
18093 ;
18094 return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18100 ac_status=$?
18101 grep -v '^ *+' conftest.er1 >conftest.err
18102 rm -f conftest.er1
18103 cat conftest.err >&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try='test -z "$ac_c_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_lo=0 ac_mid=0
18120 while :; do
18121 cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h. */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18128 int
18129 main ()
18130 {
18131 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18132 test_array [0] = 0
18133
18134 ;
18135 return 0;
18136 }
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18141 ac_status=$?
18142 grep -v '^ *+' conftest.er1 >conftest.err
18143 rm -f conftest.er1
18144 cat conftest.err >&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try='test -z "$ac_c_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi=$ac_mid; break
18161 else
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_lo=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18167 ac_lo= ac_hi=
18168 break
18169 fi
18170 ac_mid=`expr 2 '*' $ac_mid + 1`
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173 done
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18185 int
18186 main ()
18187 {
18188 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18189 test_array [0] = 0
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_hi=-1 ac_mid=-1
18218 while :; do
18219 cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h. */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18226 int
18227 main ()
18228 {
18229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18230 test_array [0] = 0
18231
18232 ;
18233 return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18239 ac_status=$?
18240 grep -v '^ *+' conftest.er1 >conftest.err
18241 rm -f conftest.er1
18242 cat conftest.err >&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try='test -z "$ac_c_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18249 ac_status=$?
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_lo=$ac_mid; break
18259 else
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18262
18263 ac_hi=`expr '(' $ac_mid ')' - 1`
18264 if test $ac_mid -le $ac_hi; then
18265 ac_lo= ac_hi=
18266 break
18267 fi
18268 ac_mid=`expr 2 '*' $ac_mid`
18269 fi
18270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18271 done
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18275
18276 ac_lo= ac_hi=
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 fi
18280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 int
18292 main ()
18293 {
18294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18295 test_array [0] = 0
18296
18297 ;
18298 return 0;
18299 }
18300 _ACEOF
18301 rm -f conftest.$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try='test -z "$ac_c_werror_flag"
18311 || test ! -s conftest.err'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18314 ac_status=$?
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; } &&
18317 { ac_try='test -s conftest.$ac_objext'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18320 ac_status=$?
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18323 ac_hi=$ac_mid
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18327
18328 ac_lo=`expr '(' $ac_mid ')' + 1`
18329 fi
18330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18331 done
18332 case $ac_lo in
18333 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18335 See \`config.log' for more details." >&5
18336 echo "$as_me: error: cannot compute sizeof (long long), 77
18337 See \`config.log' for more details." >&2;}
18338 { (exit 1); exit 1; }; } ;;
18339 esac
18340 else
18341 if test "$cross_compiling" = yes; then
18342 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18343 See \`config.log' for more details." >&5
18344 echo "$as_me: error: cannot run test program while cross compiling
18345 See \`config.log' for more details." >&2;}
18346 { (exit 1); exit 1; }; }
18347 else
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 long longval () { return (long) (sizeof (long long)); }
18356 unsigned long ulongval () { return (long) (sizeof (long long)); }
18357 #include <stdio.h>
18358 #include <stdlib.h>
18359 int
18360 main ()
18361 {
18362
18363 FILE *f = fopen ("conftest.val", "w");
18364 if (! f)
18365 exit (1);
18366 if (((long) (sizeof (long long))) < 0)
18367 {
18368 long i = longval ();
18369 if (i != ((long) (sizeof (long long))))
18370 exit (1);
18371 fprintf (f, "%ld\n", i);
18372 }
18373 else
18374 {
18375 unsigned long i = ulongval ();
18376 if (i != ((long) (sizeof (long long))))
18377 exit (1);
18378 fprintf (f, "%lu\n", i);
18379 }
18380 exit (ferror (f) || fclose (f) != 0);
18381
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 rm -f conftest$ac_exeext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18388 (eval $ac_link) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 ac_cv_sizeof_long_long=`cat conftest.val`
18398 else
18399 echo "$as_me: program exited with status $ac_status" >&5
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18402
18403 ( exit $ac_status )
18404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: cannot compute sizeof (long long), 77
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }
18409 fi
18410 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18411 fi
18412 fi
18413 rm -f conftest.val
18414 else
18415 ac_cv_sizeof_long_long=0
18416 fi
18417 fi
18418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18419 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18420 cat >>confdefs.h <<_ACEOF
18421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18422 _ACEOF
18423
18424
18425 ;;
18426 *-hp-hpux* )
18427 echo "$as_me:$LINENO: checking for long long" >&5
18428 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18429 if test "${ac_cv_type_long_long+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18439 int
18440 main ()
18441 {
18442 if ((long long *) 0)
18443 return 0;
18444 if (sizeof (long long))
18445 return 0;
18446 ;
18447 return 0;
18448 }
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try='test -z "$ac_c_werror_flag"
18460 || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_type_long_long=yes
18473 else
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18476
18477 ac_cv_type_long_long=no
18478 fi
18479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18480 fi
18481 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18482 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18483
18484 echo "$as_me:$LINENO: checking size of long long" >&5
18485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18486 if test "${ac_cv_sizeof_long_long+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 else
18489 if test "$ac_cv_type_long_long" = yes; then
18490 # The cast to unsigned long works around a bug in the HP C Compiler
18491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18493 # This bug is HP SR number 8606223364.
18494 if test "$cross_compiling" = yes; then
18495 # Depending upon the size, compute the lo and hi bounds.
18496 cat >conftest.$ac_ext <<_ACEOF
18497 /* confdefs.h. */
18498 _ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18503 int
18504 main ()
18505 {
18506 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18507 test_array [0] = 0
18508
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag"
18523 || test ! -s conftest.err'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18526 ac_status=$?
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try='test -s conftest.$ac_objext'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18532 ac_status=$?
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18535 ac_lo=0 ac_mid=0
18536 while :; do
18537 cat >conftest.$ac_ext <<_ACEOF
18538 /* confdefs.h. */
18539 _ACEOF
18540 cat confdefs.h >>conftest.$ac_ext
18541 cat >>conftest.$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 $ac_includes_default
18544 int
18545 main ()
18546 {
18547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18548 test_array [0] = 0
18549
18550 ;
18551 return 0;
18552 }
18553 _ACEOF
18554 rm -f conftest.$ac_objext
18555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556 (eval $ac_compile) 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } &&
18563 { ac_try='test -z "$ac_c_werror_flag"
18564 || test ! -s conftest.err'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; } &&
18570 { ac_try='test -s conftest.$ac_objext'
18571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18572 (eval $ac_try) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); }; }; then
18576 ac_hi=$ac_mid; break
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 ac_lo=`expr $ac_mid + 1`
18582 if test $ac_lo -le $ac_mid; then
18583 ac_lo= ac_hi=
18584 break
18585 fi
18586 ac_mid=`expr 2 '*' $ac_mid + 1`
18587 fi
18588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18589 done
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 cat >conftest.$ac_ext <<_ACEOF
18595 /* confdefs.h. */
18596 _ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18601 int
18602 main ()
18603 {
18604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18605 test_array [0] = 0
18606
18607 ;
18608 return 0;
18609 }
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18613 (eval $ac_compile) 2>conftest.er1
18614 ac_status=$?
18615 grep -v '^ *+' conftest.er1 >conftest.err
18616 rm -f conftest.er1
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try='test -s conftest.$ac_objext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 ac_hi=-1 ac_mid=-1
18634 while :; do
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 int
18643 main ()
18644 {
18645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18646 test_array [0] = 0
18647
18648 ;
18649 return 0;
18650 }
18651 _ACEOF
18652 rm -f conftest.$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_c_werror_flag"
18662 || 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"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 ac_hi=$ac_mid
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 ac_lo=`expr '(' $ac_mid ')' + 1`
18745 fi
18746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18747 done
18748 case $ac_lo in
18749 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18751 See \`config.log' for more details." >&5
18752 echo "$as_me: error: cannot compute sizeof (long long), 77
18753 See \`config.log' for more details." >&2;}
18754 { (exit 1); exit 1; }; } ;;
18755 esac
18756 else
18757 if test "$cross_compiling" = yes; then
18758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18759 See \`config.log' for more details." >&5
18760 echo "$as_me: error: cannot run test program while cross compiling
18761 See \`config.log' for more details." >&2;}
18762 { (exit 1); exit 1; }; }
18763 else
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 long longval () { return (long) (sizeof (long long)); }
18772 unsigned long ulongval () { return (long) (sizeof (long long)); }
18773 #include <stdio.h>
18774 #include <stdlib.h>
18775 int
18776 main ()
18777 {
18778
18779 FILE *f = fopen ("conftest.val", "w");
18780 if (! f)
18781 exit (1);
18782 if (((long) (sizeof (long long))) < 0)
18783 {
18784 long i = longval ();
18785 if (i != ((long) (sizeof (long long))))
18786 exit (1);
18787 fprintf (f, "%ld\n", i);
18788 }
18789 else
18790 {
18791 unsigned long i = ulongval ();
18792 if (i != ((long) (sizeof (long long))))
18793 exit (1);
18794 fprintf (f, "%lu\n", i);
18795 }
18796 exit (ferror (f) || fclose (f) != 0);
18797
18798 ;
18799 return 0;
18800 }
18801 _ACEOF
18802 rm -f conftest$ac_exeext
18803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18804 (eval $ac_link) 2>&5
18805 ac_status=$?
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_cv_sizeof_long_long=`cat conftest.val`
18814 else
18815 echo "$as_me: program exited with status $ac_status" >&5
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 ( exit $ac_status )
18820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18821 See \`config.log' for more details." >&5
18822 echo "$as_me: error: cannot compute sizeof (long long), 77
18823 See \`config.log' for more details." >&2;}
18824 { (exit 1); exit 1; }; }
18825 fi
18826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18827 fi
18828 fi
18829 rm -f conftest.val
18830 else
18831 ac_cv_sizeof_long_long=0
18832 fi
18833 fi
18834 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18835 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18836 cat >>confdefs.h <<_ACEOF
18837 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18838 _ACEOF
18839
18840
18841 if test "$ac_cv_sizeof_long_long" != "0"; then
18842 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18843 fi
18844 ;;
18845 * )
18846 echo "$as_me:$LINENO: checking for long long" >&5
18847 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18848 if test "${ac_cv_type_long_long+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18858 int
18859 main ()
18860 {
18861 if ((long long *) 0)
18862 return 0;
18863 if (sizeof (long long))
18864 return 0;
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try='test -z "$ac_c_werror_flag"
18879 || test ! -s conftest.err'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try='test -s conftest.$ac_objext'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18888 ac_status=$?
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; }; then
18891 ac_cv_type_long_long=yes
18892 else
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18895
18896 ac_cv_type_long_long=no
18897 fi
18898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18899 fi
18900 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18901 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18902
18903 echo "$as_me:$LINENO: checking size of long long" >&5
18904 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18905 if test "${ac_cv_sizeof_long_long+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18907 else
18908 if test "$ac_cv_type_long_long" = yes; then
18909 # The cast to unsigned long works around a bug in the HP C Compiler
18910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18912 # This bug is HP SR number 8606223364.
18913 if test "$cross_compiling" = yes; then
18914 # Depending upon the size, compute the lo and hi bounds.
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h. */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 $ac_includes_default
18922 int
18923 main ()
18924 {
18925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18926 test_array [0] = 0
18927
18928 ;
18929 return 0;
18930 }
18931 _ACEOF
18932 rm -f conftest.$ac_objext
18933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18934 (eval $ac_compile) 2>conftest.er1
18935 ac_status=$?
18936 grep -v '^ *+' conftest.er1 >conftest.err
18937 rm -f conftest.er1
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try='test -z "$ac_c_werror_flag"
18942 || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18951 ac_status=$?
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18954 ac_lo=0 ac_mid=0
18955 while :; do
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 $ac_includes_default
18963 int
18964 main ()
18965 {
18966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18967 test_array [0] = 0
18968
18969 ;
18970 return 0;
18971 }
18972 _ACEOF
18973 rm -f conftest.$ac_objext
18974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18975 (eval $ac_compile) 2>conftest.er1
18976 ac_status=$?
18977 grep -v '^ *+' conftest.er1 >conftest.err
18978 rm -f conftest.er1
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } &&
18982 { ac_try='test -z "$ac_c_werror_flag"
18983 || test ! -s conftest.err'
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); }; } &&
18989 { ac_try='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18992 ac_status=$?
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_hi=$ac_mid; break
18996 else
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.$ac_ext >&5
18999
19000 ac_lo=`expr $ac_mid + 1`
19001 if test $ac_lo -le $ac_mid; then
19002 ac_lo= ac_hi=
19003 break
19004 fi
19005 ac_mid=`expr 2 '*' $ac_mid + 1`
19006 fi
19007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19008 done
19009 else
19010 echo "$as_me: failed program was:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19012
19013 cat >conftest.$ac_ext <<_ACEOF
19014 /* confdefs.h. */
19015 _ACEOF
19016 cat confdefs.h >>conftest.$ac_ext
19017 cat >>conftest.$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019 $ac_includes_default
19020 int
19021 main ()
19022 {
19023 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19024 test_array [0] = 0
19025
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_c_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 ac_hi=-1 ac_mid=-1
19053 while :; do
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 $ac_includes_default
19061 int
19062 main ()
19063 {
19064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19065 test_array [0] = 0
19066
19067 ;
19068 return 0;
19069 }
19070 _ACEOF
19071 rm -f conftest.$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } &&
19080 { ac_try='test -z "$ac_c_werror_flag"
19081 || test ! -s conftest.err'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19084 ac_status=$?
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; } &&
19087 { ac_try='test -s conftest.$ac_objext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 ac_lo=$ac_mid; break
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19097
19098 ac_hi=`expr '(' $ac_mid ')' - 1`
19099 if test $ac_mid -le $ac_hi; then
19100 ac_lo= ac_hi=
19101 break
19102 fi
19103 ac_mid=`expr 2 '*' $ac_mid`
19104 fi
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106 done
19107 else
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19110
19111 ac_lo= ac_hi=
19112 fi
19113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19114 fi
19115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19116 # Binary search between lo and hi bounds.
19117 while test "x$ac_lo" != "x$ac_hi"; do
19118 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19126 int
19127 main ()
19128 {
19129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19130 test_array [0] = 0
19131
19132 ;
19133 return 0;
19134 }
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try='test -z "$ac_c_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 ac_hi=$ac_mid
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 ac_lo=`expr '(' $ac_mid ')' + 1`
19164 fi
19165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19166 done
19167 case $ac_lo in
19168 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19169 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19170 See \`config.log' for more details." >&5
19171 echo "$as_me: error: cannot compute sizeof (long long), 77
19172 See \`config.log' for more details." >&2;}
19173 { (exit 1); exit 1; }; } ;;
19174 esac
19175 else
19176 if test "$cross_compiling" = yes; then
19177 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19178 See \`config.log' for more details." >&5
19179 echo "$as_me: error: cannot run test program while cross compiling
19180 See \`config.log' for more details." >&2;}
19181 { (exit 1); exit 1; }; }
19182 else
19183 cat >conftest.$ac_ext <<_ACEOF
19184 /* confdefs.h. */
19185 _ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 $ac_includes_default
19190 long longval () { return (long) (sizeof (long long)); }
19191 unsigned long ulongval () { return (long) (sizeof (long long)); }
19192 #include <stdio.h>
19193 #include <stdlib.h>
19194 int
19195 main ()
19196 {
19197
19198 FILE *f = fopen ("conftest.val", "w");
19199 if (! f)
19200 exit (1);
19201 if (((long) (sizeof (long long))) < 0)
19202 {
19203 long i = longval ();
19204 if (i != ((long) (sizeof (long long))))
19205 exit (1);
19206 fprintf (f, "%ld\n", i);
19207 }
19208 else
19209 {
19210 unsigned long i = ulongval ();
19211 if (i != ((long) (sizeof (long long))))
19212 exit (1);
19213 fprintf (f, "%lu\n", i);
19214 }
19215 exit (ferror (f) || fclose (f) != 0);
19216
19217 ;
19218 return 0;
19219 }
19220 _ACEOF
19221 rm -f conftest$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_sizeof_long_long=`cat conftest.val`
19233 else
19234 echo "$as_me: program exited with status $ac_status" >&5
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 ( exit $ac_status )
19239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot compute sizeof (long long), 77
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; }
19244 fi
19245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19246 fi
19247 fi
19248 rm -f conftest.val
19249 else
19250 ac_cv_sizeof_long_long=0
19251 fi
19252 fi
19253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19254 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19255 cat >>confdefs.h <<_ACEOF
19256 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19257 _ACEOF
19258
19259
19260 esac
19261
19262 echo "$as_me:$LINENO: checking for wchar_t" >&5
19263 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19264 if test "${ac_cv_type_wchar_t+set}" = set; then
19265 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 else
19267 cat >conftest.$ac_ext <<_ACEOF
19268 /* confdefs.h. */
19269 _ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273
19274 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19275 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19276 # error "fake wchar_t"
19277 #endif
19278 #ifdef HAVE_WCHAR_H
19279 # ifdef __CYGWIN__
19280 # include <stddef.h>
19281 # endif
19282 # include <wchar.h>
19283 #endif
19284 #ifdef HAVE_STDLIB_H
19285 # include <stdlib.h>
19286 #endif
19287 #include <stdio.h>
19288
19289
19290
19291 int
19292 main ()
19293 {
19294 if ((wchar_t *) 0)
19295 return 0;
19296 if (sizeof (wchar_t))
19297 return 0;
19298 ;
19299 return 0;
19300 }
19301 _ACEOF
19302 rm -f conftest.$ac_objext
19303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19304 (eval $ac_compile) 2>conftest.er1
19305 ac_status=$?
19306 grep -v '^ *+' conftest.er1 >conftest.err
19307 rm -f conftest.er1
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -z "$ac_c_werror_flag"
19312 || test ! -s conftest.err'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; } &&
19318 { ac_try='test -s conftest.$ac_objext'
19319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19320 (eval $ac_try) 2>&5
19321 ac_status=$?
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; }; then
19324 ac_cv_type_wchar_t=yes
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ac_cv_type_wchar_t=no
19330 fi
19331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19332 fi
19333 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19334 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19335
19336 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19337 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19338 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 else
19341 if test "$ac_cv_type_wchar_t" = yes; then
19342 # The cast to unsigned long works around a bug in the HP C Compiler
19343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19345 # This bug is HP SR number 8606223364.
19346 if test "$cross_compiling" = yes; then
19347 # Depending upon the size, compute the lo and hi bounds.
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354
19355 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19356 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19357 # error "fake wchar_t"
19358 #endif
19359 #ifdef HAVE_WCHAR_H
19360 # ifdef __CYGWIN__
19361 # include <stddef.h>
19362 # endif
19363 # include <wchar.h>
19364 #endif
19365 #ifdef HAVE_STDLIB_H
19366 # include <stdlib.h>
19367 #endif
19368 #include <stdio.h>
19369
19370
19371
19372 int
19373 main ()
19374 {
19375 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19376 test_array [0] = 0
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest.$ac_objext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19384 (eval $ac_compile) 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try='test -z "$ac_c_werror_flag"
19392 || test ! -s conftest.err'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19395 ac_status=$?
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; } &&
19398 { ac_try='test -s conftest.$ac_objext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19401 ac_status=$?
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 ac_lo=0 ac_mid=0
19405 while :; do
19406 cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h. */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412
19413 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19414 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19415 # error "fake wchar_t"
19416 #endif
19417 #ifdef HAVE_WCHAR_H
19418 # ifdef __CYGWIN__
19419 # include <stddef.h>
19420 # endif
19421 # include <wchar.h>
19422 #endif
19423 #ifdef HAVE_STDLIB_H
19424 # include <stdlib.h>
19425 #endif
19426 #include <stdio.h>
19427
19428
19429
19430 int
19431 main ()
19432 {
19433 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19434 test_array [0] = 0
19435
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19442 (eval $ac_compile) 2>conftest.er1
19443 ac_status=$?
19444 grep -v '^ *+' conftest.er1 >conftest.err
19445 rm -f conftest.er1
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try='test -z "$ac_c_werror_flag"
19450 || test ! -s conftest.err'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19453 ac_status=$?
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } &&
19456 { ac_try='test -s conftest.$ac_objext'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19459 ac_status=$?
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; }; then
19462 ac_hi=$ac_mid; break
19463 else
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19466
19467 ac_lo=`expr $ac_mid + 1`
19468 if test $ac_lo -le $ac_mid; then
19469 ac_lo= ac_hi=
19470 break
19471 fi
19472 ac_mid=`expr 2 '*' $ac_mid + 1`
19473 fi
19474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19475 done
19476 else
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19479
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486
19487 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19488 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19489 # error "fake wchar_t"
19490 #endif
19491 #ifdef HAVE_WCHAR_H
19492 # ifdef __CYGWIN__
19493 # include <stddef.h>
19494 # endif
19495 # include <wchar.h>
19496 #endif
19497 #ifdef HAVE_STDLIB_H
19498 # include <stdlib.h>
19499 #endif
19500 #include <stdio.h>
19501
19502
19503
19504 int
19505 main ()
19506 {
19507 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19508 test_array [0] = 0
19509
19510 ;
19511 return 0;
19512 }
19513 _ACEOF
19514 rm -f conftest.$ac_objext
19515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19516 (eval $ac_compile) 2>conftest.er1
19517 ac_status=$?
19518 grep -v '^ *+' conftest.er1 >conftest.err
19519 rm -f conftest.er1
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } &&
19523 { ac_try='test -z "$ac_c_werror_flag"
19524 || test ! -s conftest.err'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19533 ac_status=$?
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_hi=-1 ac_mid=-1
19537 while :; do
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544
19545 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19546 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19547 # error "fake wchar_t"
19548 #endif
19549 #ifdef HAVE_WCHAR_H
19550 # ifdef __CYGWIN__
19551 # include <stddef.h>
19552 # endif
19553 # include <wchar.h>
19554 #endif
19555 #ifdef HAVE_STDLIB_H
19556 # include <stdlib.h>
19557 #endif
19558 #include <stdio.h>
19559
19560
19561
19562 int
19563 main ()
19564 {
19565 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19566 test_array [0] = 0
19567
19568 ;
19569 return 0;
19570 }
19571 _ACEOF
19572 rm -f conftest.$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19575 ac_status=$?
19576 grep -v '^ *+' conftest.er1 >conftest.err
19577 rm -f conftest.er1
19578 cat conftest.err >&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try='test -z "$ac_c_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19591 ac_status=$?
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19594 ac_lo=$ac_mid; break
19595 else
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.$ac_ext >&5
19598
19599 ac_hi=`expr '(' $ac_mid ')' - 1`
19600 if test $ac_mid -le $ac_hi; then
19601 ac_lo= ac_hi=
19602 break
19603 fi
19604 ac_mid=`expr 2 '*' $ac_mid`
19605 fi
19606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19607 done
19608 else
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19611
19612 ac_lo= ac_hi=
19613 fi
19614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19615 fi
19616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19617 # Binary search between lo and hi bounds.
19618 while test "x$ac_lo" != "x$ac_hi"; do
19619 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19620 cat >conftest.$ac_ext <<_ACEOF
19621 /* confdefs.h. */
19622 _ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626
19627 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19628 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19629 # error "fake wchar_t"
19630 #endif
19631 #ifdef HAVE_WCHAR_H
19632 # ifdef __CYGWIN__
19633 # include <stddef.h>
19634 # endif
19635 # include <wchar.h>
19636 #endif
19637 #ifdef HAVE_STDLIB_H
19638 # include <stdlib.h>
19639 #endif
19640 #include <stdio.h>
19641
19642
19643
19644 int
19645 main ()
19646 {
19647 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19648 test_array [0] = 0
19649
19650 ;
19651 return 0;
19652 }
19653 _ACEOF
19654 rm -f conftest.$ac_objext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19656 (eval $ac_compile) 2>conftest.er1
19657 ac_status=$?
19658 grep -v '^ *+' conftest.er1 >conftest.err
19659 rm -f conftest.er1
19660 cat conftest.err >&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } &&
19663 { ac_try='test -z "$ac_c_werror_flag"
19664 || test ! -s conftest.err'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19667 ac_status=$?
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; } &&
19670 { ac_try='test -s conftest.$ac_objext'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; }; then
19676 ac_hi=$ac_mid
19677 else
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 ac_lo=`expr '(' $ac_mid ')' + 1`
19682 fi
19683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19684 done
19685 case $ac_lo in
19686 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19687 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; } ;;
19692 esac
19693 else
19694 if test "$cross_compiling" = yes; then
19695 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19696 See \`config.log' for more details." >&5
19697 echo "$as_me: error: cannot run test program while cross compiling
19698 See \`config.log' for more details." >&2;}
19699 { (exit 1); exit 1; }; }
19700 else
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h. */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707
19708 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19709 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19710 # error "fake wchar_t"
19711 #endif
19712 #ifdef HAVE_WCHAR_H
19713 # ifdef __CYGWIN__
19714 # include <stddef.h>
19715 # endif
19716 # include <wchar.h>
19717 #endif
19718 #ifdef HAVE_STDLIB_H
19719 # include <stdlib.h>
19720 #endif
19721 #include <stdio.h>
19722
19723
19724
19725 long longval () { return (long) (sizeof (wchar_t)); }
19726 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19727 #include <stdio.h>
19728 #include <stdlib.h>
19729 int
19730 main ()
19731 {
19732
19733 FILE *f = fopen ("conftest.val", "w");
19734 if (! f)
19735 exit (1);
19736 if (((long) (sizeof (wchar_t))) < 0)
19737 {
19738 long i = longval ();
19739 if (i != ((long) (sizeof (wchar_t))))
19740 exit (1);
19741 fprintf (f, "%ld\n", i);
19742 }
19743 else
19744 {
19745 unsigned long i = ulongval ();
19746 if (i != ((long) (sizeof (wchar_t))))
19747 exit (1);
19748 fprintf (f, "%lu\n", i);
19749 }
19750 exit (ferror (f) || fclose (f) != 0);
19751
19752 ;
19753 return 0;
19754 }
19755 _ACEOF
19756 rm -f conftest$ac_exeext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19758 (eval $ac_link) 2>&5
19759 ac_status=$?
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_cv_sizeof_wchar_t=`cat conftest.val`
19768 else
19769 echo "$as_me: program exited with status $ac_status" >&5
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19772
19773 ( exit $ac_status )
19774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19775 See \`config.log' for more details." >&5
19776 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19777 See \`config.log' for more details." >&2;}
19778 { (exit 1); exit 1; }; }
19779 fi
19780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19781 fi
19782 fi
19783 rm -f conftest.val
19784 else
19785 ac_cv_sizeof_wchar_t=0
19786 fi
19787 fi
19788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19789 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19790 cat >>confdefs.h <<_ACEOF
19791 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19792 _ACEOF
19793
19794
19795 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19796 wxUSE_WCHAR_T=yes
19797 else
19798 wxUSE_WCHAR_T=no
19799 fi
19800
19801 echo "$as_me:$LINENO: checking for va_copy" >&5
19802 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19803 if test "${wx_cv_func_va_copy+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 else
19806
19807 cat >conftest.$ac_ext <<_ACEOF
19808
19809 #include <stdarg.h>
19810 void foo(char *f, ...)
19811 {
19812 va_list ap1, ap2;
19813 va_start(ap1, f);
19814 va_copy(ap2, ap1);
19815 va_end(ap2);
19816 va_end(ap1);
19817 }
19818 int main()
19819 {
19820 foo("hi", 17);
19821 return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext conftest$ac_exeext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19826 (eval $ac_link) 2>conftest.er1
19827 ac_status=$?
19828 grep -v '^ *+' conftest.er1 >conftest.err
19829 rm -f conftest.er1
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try='test -z "$ac_c_werror_flag"
19834 || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try='test -s conftest$ac_exeext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19843 ac_status=$?
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 wx_cv_func_va_copy=yes
19847 else
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19850
19851 wx_cv_func_va_copy=no
19852
19853 fi
19854 rm -f conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19856
19857
19858 fi
19859 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19860 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19861
19862 if test $wx_cv_func_va_copy = "yes"; then
19863 cat >>confdefs.h <<\_ACEOF
19864 #define HAVE_VA_COPY 1
19865 _ACEOF
19866
19867 else
19868 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19869 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19870 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 else
19873
19874 if test "$cross_compiling" = yes; then
19875 wx_cv_type_va_list_lvalue=yes
19876
19877 else
19878 cat >conftest.$ac_ext <<_ACEOF
19879
19880 #include <stdarg.h>
19881 int foo(char *f, ...)
19882 {
19883 va_list ap1, ap2;
19884 va_start(ap1, f);
19885 ap2 = ap1;
19886 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19887 return 1;
19888 va_end(ap2);
19889 va_end(ap1);
19890 return 0;
19891 }
19892 int main()
19893 {
19894 return foo("hi", 17);
19895 }
19896 _ACEOF
19897 rm -f conftest$ac_exeext
19898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19899 (eval $ac_link) 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 wx_cv_type_va_list_lvalue=yes
19909 else
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ( exit $ac_status )
19915 wx_cv_type_va_list_lvalue=no
19916 fi
19917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19918 fi
19919
19920
19921 fi
19922 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19923 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19924
19925 if test $wx_cv_type_va_list_lvalue != "yes"; then
19926 cat >>confdefs.h <<\_ACEOF
19927 #define VA_LIST_IS_ARRAY 1
19928 _ACEOF
19929
19930 fi
19931 fi
19932
19933 # Check whether --enable-largefile or --disable-largefile was given.
19934 if test "${enable_largefile+set}" = set; then
19935 enableval="$enable_largefile"
19936
19937 fi;
19938 if test "$enable_largefile" != no; then
19939 wx_largefile=no
19940
19941 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19942 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19943 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 else
19946
19947 cat >conftest.$ac_ext <<_ACEOF
19948 /* confdefs.h. */
19949 _ACEOF
19950 cat confdefs.h >>conftest.$ac_ext
19951 cat >>conftest.$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 #define _FILE_OFFSET_BITS 64
19954 #include <sys/types.h>
19955 int
19956 main ()
19957 {
19958 typedef struct {
19959 unsigned int field: sizeof(off_t) == 8;
19960 } wxlf;
19961
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19968 (eval $ac_compile) 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try='test -z "$ac_c_werror_flag"
19976 || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 ac_cv_sys_file_offset_bits=64
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19992
19993 ac_cv_sys_file_offset_bits=no
19994 fi
19995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19996
19997
19998 fi
19999 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20000 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20001
20002 if test "$ac_cv_sys_file_offset_bits" != no; then
20003 wx_largefile=yes
20004 cat >>confdefs.h <<_ACEOF
20005 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20006 _ACEOF
20007
20008 fi
20009
20010 if test "x$wx_largefile" != "xyes"; then
20011
20012 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20013 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20014 if test "${ac_cv_sys_large_files+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 else
20017
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 #define _LARGE_FILES 1
20025 #include <sys/types.h>
20026 int
20027 main ()
20028 {
20029 typedef struct {
20030 unsigned int field: sizeof(off_t) == 8;
20031 } wxlf;
20032
20033 ;
20034 return 0;
20035 }
20036 _ACEOF
20037 rm -f conftest.$ac_objext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20039 (eval $ac_compile) 2>conftest.er1
20040 ac_status=$?
20041 grep -v '^ *+' conftest.er1 >conftest.err
20042 rm -f conftest.er1
20043 cat conftest.err >&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -z "$ac_c_werror_flag"
20047 || test ! -s conftest.err'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; } &&
20053 { ac_try='test -s conftest.$ac_objext'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20056 ac_status=$?
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 ac_cv_sys_large_files=1
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_cv_sys_large_files=no
20065 fi
20066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20067
20068
20069 fi
20070 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20071 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20072
20073 if test "$ac_cv_sys_large_files" != no; then
20074 wx_largefile=yes
20075 cat >>confdefs.h <<_ACEOF
20076 #define _LARGE_FILES $ac_cv_sys_large_files
20077 _ACEOF
20078
20079 fi
20080
20081 fi
20082
20083 echo "$as_me:$LINENO: checking if large file support is available" >&5
20084 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20085 if test "x$wx_largefile" = "xyes"; then
20086 cat >>confdefs.h <<\_ACEOF
20087 #define HAVE_LARGEFILE_SUPPORT 1
20088 _ACEOF
20089
20090 fi
20091 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20092 echo "${ECHO_T}$wx_largefile" >&6
20093 fi
20094
20095
20096 if test "x$wx_largefile" = "xyes"; then
20097 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20098 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20099 else
20100 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20101 fi
20102 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20103 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20104 if test "${ac_cv_sys_largefile_source+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107 while :; do
20108 ac_cv_sys_largefile_source=no
20109 cat >conftest.$ac_ext <<_ACEOF
20110 /* confdefs.h. */
20111 _ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 #include <stdio.h>
20116 int
20117 main ()
20118 {
20119 return !fseeko;
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest.$ac_objext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20126 (eval $ac_compile) 2>conftest.er1
20127 ac_status=$?
20128 grep -v '^ *+' conftest.er1 >conftest.err
20129 rm -f conftest.er1
20130 cat conftest.err >&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } &&
20133 { ac_try='test -z "$ac_c_werror_flag"
20134 || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 break
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20150
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #define _LARGEFILE_SOURCE 1
20160 #include <stdio.h>
20161 int
20162 main ()
20163 {
20164 return !fseeko;
20165 ;
20166 return 0;
20167 }
20168 _ACEOF
20169 rm -f conftest.$ac_objext
20170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20171 (eval $ac_compile) 2>conftest.er1
20172 ac_status=$?
20173 grep -v '^ *+' conftest.er1 >conftest.err
20174 rm -f conftest.er1
20175 cat conftest.err >&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } &&
20178 { ac_try='test -z "$ac_c_werror_flag"
20179 || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sys_largefile_source=1; break
20192 else
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.$ac_ext >&5
20195
20196 fi
20197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20198 break
20199 done
20200 fi
20201 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20202 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20203 if test "$ac_cv_sys_largefile_source" != no; then
20204
20205 cat >>confdefs.h <<_ACEOF
20206 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20207 _ACEOF
20208
20209 fi
20210 rm -f conftest*
20211
20212 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20213 # in glibc 2.1.3, but that breaks too many other things.
20214 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20215 echo "$as_me:$LINENO: checking for fseeko" >&5
20216 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20217 if test "${ac_cv_func_fseeko+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 else
20220 cat >conftest.$ac_ext <<_ACEOF
20221 /* confdefs.h. */
20222 _ACEOF
20223 cat confdefs.h >>conftest.$ac_ext
20224 cat >>conftest.$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 #include <stdio.h>
20227 int
20228 main ()
20229 {
20230 return fseeko && fseeko (stdin, 0, 0);
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 rm -f conftest.$ac_objext conftest$ac_exeext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20237 (eval $ac_link) 2>conftest.er1
20238 ac_status=$?
20239 grep -v '^ *+' conftest.er1 >conftest.err
20240 rm -f conftest.er1
20241 cat conftest.err >&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20248 ac_status=$?
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try='test -s conftest$ac_exeext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20254 ac_status=$?
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_cv_func_fseeko=yes
20258 else
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20261
20262 ac_cv_func_fseeko=no
20263 fi
20264 rm -f conftest.err conftest.$ac_objext \
20265 conftest$ac_exeext conftest.$ac_ext
20266 fi
20267 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20268 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20269 if test $ac_cv_func_fseeko = yes; then
20270
20271 cat >>confdefs.h <<\_ACEOF
20272 #define HAVE_FSEEKO 1
20273 _ACEOF
20274
20275 fi
20276
20277 if test "$ac_cv_sys_largefile_source" != no; then
20278 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20279 fi
20280 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20281 fi
20282
20283 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20284 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20285 if test "${ac_cv_c_bigendian+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 else
20288 ac_cv_c_bigendian=unknown
20289 # See if sys/param.h defines the BYTE_ORDER macro.
20290 cat >conftest.$ac_ext <<_ACEOF
20291 /* confdefs.h. */
20292 _ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <sys/types.h>
20297 #include <sys/param.h>
20298 int
20299 main ()
20300 {
20301
20302 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20303 bogus endian macros
20304 #endif
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 rm -f conftest.$ac_objext
20310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20311 (eval $ac_compile) 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try='test -z "$ac_c_werror_flag"
20319 || test ! -s conftest.err'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; } &&
20325 { ac_try='test -s conftest.$ac_objext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 # It does; now see whether it defined to BIG_ENDIAN or not.
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 #include <sys/types.h>
20339 #include <sys/param.h>
20340 int
20341 main ()
20342 {
20343
20344 #if BYTE_ORDER != BIG_ENDIAN
20345 not big endian
20346 #endif
20347 ;
20348 return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20353 (eval $ac_compile) 2>conftest.er1
20354 ac_status=$?
20355 grep -v '^ *+' conftest.er1 >conftest.err
20356 rm -f conftest.er1
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try='test -z "$ac_c_werror_flag"
20361 || test ! -s conftest.err'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try='test -s conftest.$ac_objext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20370 ac_status=$?
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_c_bigendian=yes
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 ac_cv_c_bigendian=no
20379 fi
20380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20381 else
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20384
20385 fi
20386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20387 if test $ac_cv_c_bigendian = unknown; then
20388 if test "$cross_compiling" = yes; then
20389 ac_cv_c_bigendian=unknown
20390 else
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 main () {
20398 /* Are we little or big endian? From Harbison&Steele. */
20399 union
20400 {
20401 long l;
20402 char c[sizeof (long)];
20403 } u;
20404 u.l = 1;
20405 exit (u.c[sizeof (long) - 1] == 1);
20406 }
20407 _ACEOF
20408 rm -f conftest$ac_exeext
20409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20410 (eval $ac_link) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; }; then
20419 ac_cv_c_bigendian=no
20420 else
20421 echo "$as_me: program exited with status $ac_status" >&5
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ( exit $ac_status )
20426 ac_cv_c_bigendian=yes
20427 fi
20428 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20429 fi
20430 fi
20431 fi
20432 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20433 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20434 if test $ac_cv_c_bigendian = unknown; then
20435 { 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
20436 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;}
20437 fi
20438 if test $ac_cv_c_bigendian = yes; then
20439 cat >>confdefs.h <<\_ACEOF
20440 #define WORDS_BIGENDIAN 1
20441 _ACEOF
20442
20443 fi
20444
20445
20446 ac_ext=cc
20447 ac_cpp='$CXXCPP $CPPFLAGS'
20448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20451 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20452 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20453 if test -z "$CXXCPP"; then
20454 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 # Double quotes because CXXCPP needs to be expanded
20458 for CXXCPP in "$CXX -E" "/lib/cpp"
20459 do
20460 ac_preproc_ok=false
20461 for ac_cxx_preproc_warn_flag in '' yes
20462 do
20463 # Use a header file that comes with gcc, so configuring glibc
20464 # with a fresh cross-compiler works.
20465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20466 # <limits.h> exists even on freestanding compilers.
20467 # On the NeXT, cc -E runs the code through the compiler's parser,
20468 # not just through cpp. "Syntax error" is here to catch this case.
20469 cat >conftest.$ac_ext <<_ACEOF
20470 /* confdefs.h. */
20471 _ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 #ifdef __STDC__
20476 # include <limits.h>
20477 #else
20478 # include <assert.h>
20479 #endif
20480 Syntax error
20481 _ACEOF
20482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20484 ac_status=$?
20485 grep -v '^ *+' conftest.er1 >conftest.err
20486 rm -f conftest.er1
20487 cat conftest.err >&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } >/dev/null; then
20490 if test -s conftest.err; then
20491 ac_cpp_err=$ac_cxx_preproc_warn_flag
20492 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20493 else
20494 ac_cpp_err=
20495 fi
20496 else
20497 ac_cpp_err=yes
20498 fi
20499 if test -z "$ac_cpp_err"; then
20500 :
20501 else
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20504
20505 # Broken: fails on valid input.
20506 continue
20507 fi
20508 rm -f conftest.err conftest.$ac_ext
20509
20510 # OK, works on sane cases. Now check whether non-existent headers
20511 # can be detected and how.
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 #include <ac_nonexistent.h>
20519 _ACEOF
20520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20522 ac_status=$?
20523 grep -v '^ *+' conftest.er1 >conftest.err
20524 rm -f conftest.er1
20525 cat conftest.err >&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } >/dev/null; then
20528 if test -s conftest.err; then
20529 ac_cpp_err=$ac_cxx_preproc_warn_flag
20530 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20531 else
20532 ac_cpp_err=
20533 fi
20534 else
20535 ac_cpp_err=yes
20536 fi
20537 if test -z "$ac_cpp_err"; then
20538 # Broken: success on invalid input.
20539 continue
20540 else
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20543
20544 # Passes both tests.
20545 ac_preproc_ok=:
20546 break
20547 fi
20548 rm -f conftest.err conftest.$ac_ext
20549
20550 done
20551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20552 rm -f conftest.err conftest.$ac_ext
20553 if $ac_preproc_ok; then
20554 break
20555 fi
20556
20557 done
20558 ac_cv_prog_CXXCPP=$CXXCPP
20559
20560 fi
20561 CXXCPP=$ac_cv_prog_CXXCPP
20562 else
20563 ac_cv_prog_CXXCPP=$CXXCPP
20564 fi
20565 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20566 echo "${ECHO_T}$CXXCPP" >&6
20567 ac_preproc_ok=false
20568 for ac_cxx_preproc_warn_flag in '' yes
20569 do
20570 # Use a header file that comes with gcc, so configuring glibc
20571 # with a fresh cross-compiler works.
20572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20573 # <limits.h> exists even on freestanding compilers.
20574 # On the NeXT, cc -E runs the code through the compiler's parser,
20575 # not just through cpp. "Syntax error" is here to catch this case.
20576 cat >conftest.$ac_ext <<_ACEOF
20577 /* confdefs.h. */
20578 _ACEOF
20579 cat confdefs.h >>conftest.$ac_ext
20580 cat >>conftest.$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 #ifdef __STDC__
20583 # include <limits.h>
20584 #else
20585 # include <assert.h>
20586 #endif
20587 Syntax error
20588 _ACEOF
20589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } >/dev/null; then
20597 if test -s conftest.err; then
20598 ac_cpp_err=$ac_cxx_preproc_warn_flag
20599 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20600 else
20601 ac_cpp_err=
20602 fi
20603 else
20604 ac_cpp_err=yes
20605 fi
20606 if test -z "$ac_cpp_err"; then
20607 :
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 # Broken: fails on valid input.
20613 continue
20614 fi
20615 rm -f conftest.err conftest.$ac_ext
20616
20617 # OK, works on sane cases. Now check whether non-existent headers
20618 # can be detected and how.
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 #include <ac_nonexistent.h>
20626 _ACEOF
20627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } >/dev/null; then
20635 if test -s conftest.err; then
20636 ac_cpp_err=$ac_cxx_preproc_warn_flag
20637 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20638 else
20639 ac_cpp_err=
20640 fi
20641 else
20642 ac_cpp_err=yes
20643 fi
20644 if test -z "$ac_cpp_err"; then
20645 # Broken: success on invalid input.
20646 continue
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 # Passes both tests.
20652 ac_preproc_ok=:
20653 break
20654 fi
20655 rm -f conftest.err conftest.$ac_ext
20656
20657 done
20658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20659 rm -f conftest.err conftest.$ac_ext
20660 if $ac_preproc_ok; then
20661 :
20662 else
20663 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20664 See \`config.log' for more details." >&5
20665 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20666 See \`config.log' for more details." >&2;}
20667 { (exit 1); exit 1; }; }
20668 fi
20669
20670 ac_ext=cc
20671 ac_cpp='$CXXCPP $CPPFLAGS'
20672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20675
20676
20677
20678
20679
20680 ac_ext=cc
20681 ac_cpp='$CXXCPP $CPPFLAGS'
20682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685
20686
20687
20688 for ac_header in iostream
20689 do
20690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20692 echo "$as_me:$LINENO: checking for $ac_header" >&5
20693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 fi
20697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20699 else
20700 # Is the header compilable?
20701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 $ac_includes_default
20710 #include <$ac_header>
20711 _ACEOF
20712 rm -f conftest.$ac_objext
20713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20714 (eval $ac_compile) 2>conftest.er1
20715 ac_status=$?
20716 grep -v '^ *+' conftest.er1 >conftest.err
20717 rm -f conftest.er1
20718 cat conftest.err >&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); } &&
20721 { ac_try='test -z "$ac_cxx_werror_flag"
20722 || test ! -s conftest.err'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20725 ac_status=$?
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; } &&
20728 { ac_try='test -s conftest.$ac_objext'
20729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20730 (eval $ac_try) 2>&5
20731 ac_status=$?
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; }; then
20734 ac_header_compiler=yes
20735 else
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.$ac_ext >&5
20738
20739 ac_header_compiler=no
20740 fi
20741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20743 echo "${ECHO_T}$ac_header_compiler" >&6
20744
20745 # Is the header present?
20746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #include <$ac_header>
20755 _ACEOF
20756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } >/dev/null; then
20764 if test -s conftest.err; then
20765 ac_cpp_err=$ac_cxx_preproc_warn_flag
20766 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20767 else
20768 ac_cpp_err=
20769 fi
20770 else
20771 ac_cpp_err=yes
20772 fi
20773 if test -z "$ac_cpp_err"; then
20774 ac_header_preproc=yes
20775 else
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.$ac_ext >&5
20778
20779 ac_header_preproc=no
20780 fi
20781 rm -f conftest.err conftest.$ac_ext
20782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20783 echo "${ECHO_T}$ac_header_preproc" >&6
20784
20785 # So? What about this header?
20786 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20787 yes:no: )
20788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20792 ac_header_preproc=yes
20793 ;;
20794 no:yes:* )
20795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20807 (
20808 cat <<\_ASBOX
20809 ## ----------------------------------------- ##
20810 ## Report this to wx-dev@lists.wxwidgets.org ##
20811 ## ----------------------------------------- ##
20812 _ASBOX
20813 ) |
20814 sed "s/^/$as_me: WARNING: /" >&2
20815 ;;
20816 esac
20817 echo "$as_me:$LINENO: checking for $ac_header" >&5
20818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20820 echo $ECHO_N "(cached) $ECHO_C" >&6
20821 else
20822 eval "$as_ac_Header=\$ac_header_preproc"
20823 fi
20824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20826
20827 fi
20828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20829 cat >>confdefs.h <<_ACEOF
20830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20831 _ACEOF
20832
20833 fi
20834
20835 done
20836
20837
20838 if test "$ac_cv_header_iostream" = "yes" ; then
20839 :
20840 else
20841 cat >>confdefs.h <<\_ACEOF
20842 #define wxUSE_IOSTREAMH 1
20843 _ACEOF
20844
20845 fi
20846
20847 ac_ext=c
20848 ac_cpp='$CPP $CPPFLAGS'
20849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20852
20853
20854
20855
20856 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20857 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20858 if test "${wx_cv_cpp_bool+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 else
20861
20862
20863
20864 ac_ext=cc
20865 ac_cpp='$CXXCPP $CPPFLAGS'
20866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20869
20870
20871 cat >conftest.$ac_ext <<_ACEOF
20872 /* confdefs.h. */
20873 _ACEOF
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20877
20878
20879 int
20880 main ()
20881 {
20882
20883 bool b = true;
20884
20885 return 0;
20886
20887 ;
20888 return 0;
20889 }
20890 _ACEOF
20891 rm -f conftest.$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -z "$ac_cxx_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20910 ac_status=$?
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913
20914 wx_cv_cpp_bool=yes
20915
20916 else
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20919
20920
20921 wx_cv_cpp_bool=no
20922
20923
20924 fi
20925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20926
20927 ac_ext=c
20928 ac_cpp='$CPP $CPPFLAGS'
20929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20932
20933
20934 fi
20935 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20936 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20937
20938 if test "$wx_cv_cpp_bool" = "yes"; then
20939 cat >>confdefs.h <<\_ACEOF
20940 #define HAVE_BOOL 1
20941 _ACEOF
20942
20943 fi
20944
20945
20946
20947 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20948 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20949 if test "${wx_cv_explicit+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 else
20952
20953
20954
20955 ac_ext=cc
20956 ac_cpp='$CXXCPP $CPPFLAGS'
20957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20960
20961
20962 cat >conftest.$ac_ext <<_ACEOF
20963 /* confdefs.h. */
20964 _ACEOF
20965 cat confdefs.h >>conftest.$ac_ext
20966 cat >>conftest.$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968
20969 class Foo { public: explicit Foo(int) {} };
20970
20971 int
20972 main ()
20973 {
20974
20975 return 0;
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 rm -f conftest.$ac_objext
20982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20983 (eval $ac_compile) 2>conftest.er1
20984 ac_status=$?
20985 grep -v '^ *+' conftest.er1 >conftest.err
20986 rm -f conftest.er1
20987 cat conftest.err >&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } &&
20990 { ac_try='test -z "$ac_cxx_werror_flag"
20991 || test ! -s conftest.err'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20994 ac_status=$?
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; } &&
20997 { ac_try='test -s conftest.$ac_objext'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21000 ac_status=$?
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; }; then
21003
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010
21011 class Foo { public: explicit Foo(int) {} };
21012 static void TakeFoo(const Foo& foo) { }
21013
21014 int
21015 main ()
21016 {
21017
21018 TakeFoo(17);
21019 return 0;
21020
21021 ;
21022 return 0;
21023 }
21024 _ACEOF
21025 rm -f conftest.$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21028 ac_status=$?
21029 grep -v '^ *+' conftest.er1 >conftest.err
21030 rm -f conftest.er1
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try='test -z "$ac_cxx_werror_flag"
21035 || test ! -s conftest.err'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21038 ac_status=$?
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; } &&
21041 { ac_try='test -s conftest.$ac_objext'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21047 wx_cv_explicit=no
21048 else
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.$ac_ext >&5
21051
21052 wx_cv_explicit=yes
21053
21054 fi
21055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21056
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 wx_cv_explicit=no
21062
21063 fi
21064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21065
21066 ac_ext=c
21067 ac_cpp='$CPP $CPPFLAGS'
21068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071
21072
21073 fi
21074 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21075 echo "${ECHO_T}$wx_cv_explicit" >&6
21076
21077 if test "$wx_cv_explicit" = "yes"; then
21078 cat >>confdefs.h <<\_ACEOF
21079 #define HAVE_EXPLICIT 1
21080 _ACEOF
21081
21082 fi
21083
21084
21085 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21086 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21087 if test "${ac_cv_cxx_const_cast+set}" = set; then
21088 echo $ECHO_N "(cached) $ECHO_C" >&6
21089 else
21090
21091
21092 ac_ext=cc
21093 ac_cpp='$CXXCPP $CPPFLAGS'
21094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21097
21098 cat >conftest.$ac_ext <<_ACEOF
21099 /* confdefs.h. */
21100 _ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21104
21105 int
21106 main ()
21107 {
21108 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21109 ;
21110 return 0;
21111 }
21112 _ACEOF
21113 rm -f conftest.$ac_objext
21114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21115 (eval $ac_compile) 2>conftest.er1
21116 ac_status=$?
21117 grep -v '^ *+' conftest.er1 >conftest.err
21118 rm -f conftest.er1
21119 cat conftest.err >&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } &&
21122 { ac_try='test -z "$ac_cxx_werror_flag"
21123 || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_cv_cxx_const_cast=yes
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140 ac_cv_cxx_const_cast=no
21141 fi
21142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21143 ac_ext=c
21144 ac_cpp='$CPP $CPPFLAGS'
21145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21148
21149
21150 fi
21151 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21152 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21153 if test "$ac_cv_cxx_const_cast" = yes; then
21154
21155 cat >>confdefs.h <<\_ACEOF
21156 #define HAVE_CONST_CAST
21157 _ACEOF
21158
21159 fi
21160
21161 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21162 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21163 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 else
21166
21167
21168 ac_ext=cc
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21173
21174 cat >conftest.$ac_ext <<_ACEOF
21175 /* confdefs.h. */
21176 _ACEOF
21177 cat confdefs.h >>conftest.$ac_ext
21178 cat >>conftest.$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180 #include <typeinfo>
21181 class Base { public : Base () {} virtual void f () = 0;};
21182 class Derived : public Base { public : Derived () {} virtual void f () {} };
21183 class Unrelated { public : Unrelated () {} };
21184 int g (Unrelated&) { return 0; }
21185 int
21186 main ()
21187 {
21188
21189 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21190 ;
21191 return 0;
21192 }
21193 _ACEOF
21194 rm -f conftest.$ac_objext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21196 (eval $ac_compile) 2>conftest.er1
21197 ac_status=$?
21198 grep -v '^ *+' conftest.er1 >conftest.err
21199 rm -f conftest.er1
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -z "$ac_cxx_werror_flag"
21204 || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try='test -s conftest.$ac_objext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21213 ac_status=$?
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_cv_cxx_reinterpret_cast=yes
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21220
21221 ac_cv_cxx_reinterpret_cast=no
21222 fi
21223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21224 ac_ext=c
21225 ac_cpp='$CPP $CPPFLAGS'
21226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21229
21230
21231 fi
21232 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21233 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21234 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21235
21236 cat >>confdefs.h <<\_ACEOF
21237 #define HAVE_REINTERPRET_CAST
21238 _ACEOF
21239
21240 fi
21241
21242 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21243 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21244 if test "${ac_cv_cxx_static_cast+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21246 else
21247
21248
21249 ac_ext=cc
21250 ac_cpp='$CXXCPP $CPPFLAGS'
21251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21254
21255 cat >conftest.$ac_ext <<_ACEOF
21256 /* confdefs.h. */
21257 _ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 #include <typeinfo>
21262 class Base { public : Base () {} virtual void f () = 0; };
21263 class Derived : public Base { public : Derived () {} virtual void f () {} };
21264 int g (Derived&) { return 0; }
21265 int
21266 main ()
21267 {
21268
21269 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21276 (eval $ac_compile) 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -z "$ac_cxx_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21287 ac_status=$?
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21293 ac_status=$?
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_cxx_static_cast=yes
21297 else
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21300
21301 ac_cv_cxx_static_cast=no
21302 fi
21303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21304 ac_ext=c
21305 ac_cpp='$CPP $CPPFLAGS'
21306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21309
21310
21311 fi
21312 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21313 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21314 if test "$ac_cv_cxx_static_cast" = yes; then
21315
21316 cat >>confdefs.h <<\_ACEOF
21317 #define HAVE_STATIC_CAST
21318 _ACEOF
21319
21320 fi
21321
21322
21323 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21324 ac_ext=cc
21325 ac_cpp='$CXXCPP $CPPFLAGS'
21326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21329
21330
21331 if test "$wxUSE_UNICODE" = "yes"; then
21332 std_string="std::wstring"
21333 char_type="wchar_t"
21334 else
21335 std_string="std::string"
21336 char_type="char"
21337 fi
21338
21339 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21340 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 #include <string>
21348 int
21349 main ()
21350 {
21351 $std_string foo;
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest.$ac_objext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21358 (eval $ac_compile) 2>conftest.er1
21359 ac_status=$?
21360 grep -v '^ *+' conftest.er1 >conftest.err
21361 rm -f conftest.er1
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try='test -z "$ac_cxx_werror_flag"
21366 || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 echo "$as_me:$LINENO: result: yes" >&5
21379 echo "${ECHO_T}yes" >&6
21380 cat >>confdefs.h <<\_ACEOF
21381 #define HAVE_STD_WSTRING 1
21382 _ACEOF
21383
21384 else
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21387
21388 echo "$as_me:$LINENO: result: no" >&5
21389 echo "${ECHO_T}no" >&6
21390 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21391 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398
21399 #ifdef HAVE_WCHAR_H
21400 # ifdef __CYGWIN__
21401 # include <stddef.h>
21402 # endif
21403 # include <wchar.h>
21404 #endif
21405 #ifdef HAVE_STDLIB_H
21406 # include <stdlib.h>
21407 #endif
21408 #include <stdio.h>
21409 #include <string>
21410
21411 int
21412 main ()
21413 {
21414 std::basic_string<$char_type> foo;
21415 const $char_type* dummy = foo.c_str();
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21422 (eval $ac_compile) 2>conftest.er1
21423 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1
21426 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try='test -z "$ac_cxx_werror_flag"
21430 || test ! -s conftest.err'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try='test -s conftest.$ac_objext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 echo "$as_me:$LINENO: result: yes" >&5
21443 echo "${ECHO_T}yes" >&6
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 echo "$as_me:$LINENO: result: no" >&5
21449 echo "${ECHO_T}no" >&6
21450 if test "$wxUSE_STL" = "yes"; then
21451 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21452 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21453 { (exit 1); exit 1; }; }
21454 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21455 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21456 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21457 { (exit 1); exit 1; }; }
21458 else
21459 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21460 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21461 wxUSE_STD_STRING=no
21462 fi
21463
21464
21465 fi
21466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21467
21468 fi
21469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21470
21471 ac_ext=c
21472 ac_cpp='$CPP $CPPFLAGS'
21473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21476
21477 fi
21478
21479 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21480 ac_ext=cc
21481 ac_cpp='$CXXCPP $CPPFLAGS'
21482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21485
21486
21487 echo "$as_me:$LINENO: checking for std::istream" >&5
21488 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21489 if test "${ac_cv_type_std__istream+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 else
21492 cat >conftest.$ac_ext <<_ACEOF
21493 /* confdefs.h. */
21494 _ACEOF
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 #include <iostream>
21499
21500 int
21501 main ()
21502 {
21503 if ((std::istream *) 0)
21504 return 0;
21505 if (sizeof (std::istream))
21506 return 0;
21507 ;
21508 return 0;
21509 }
21510 _ACEOF
21511 rm -f conftest.$ac_objext
21512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21513 (eval $ac_compile) 2>conftest.er1
21514 ac_status=$?
21515 grep -v '^ *+' conftest.er1 >conftest.err
21516 rm -f conftest.er1
21517 cat conftest.err >&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } &&
21520 { ac_try='test -z "$ac_cxx_werror_flag"
21521 || test ! -s conftest.err'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21524 ac_status=$?
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; } &&
21527 { ac_try='test -s conftest.$ac_objext'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_cv_type_std__istream=yes
21534 else
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21537
21538 ac_cv_type_std__istream=no
21539 fi
21540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21541 fi
21542 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21543 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21544 if test $ac_cv_type_std__istream = yes; then
21545
21546 cat >>confdefs.h <<_ACEOF
21547 #define HAVE_STD__ISTREAM 1
21548 _ACEOF
21549
21550
21551 else
21552 wxUSE_STD_IOSTREAM=no
21553 fi
21554 echo "$as_me:$LINENO: checking for std::ostream" >&5
21555 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21556 if test "${ac_cv_type_std__ostream+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21559 cat >conftest.$ac_ext <<_ACEOF
21560 /* confdefs.h. */
21561 _ACEOF
21562 cat confdefs.h >>conftest.$ac_ext
21563 cat >>conftest.$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 #include <iostream>
21566
21567 int
21568 main ()
21569 {
21570 if ((std::ostream *) 0)
21571 return 0;
21572 if (sizeof (std::ostream))
21573 return 0;
21574 ;
21575 return 0;
21576 }
21577 _ACEOF
21578 rm -f conftest.$ac_objext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21580 (eval $ac_compile) 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try='test -z "$ac_cxx_werror_flag"
21588 || test ! -s conftest.err'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21591 ac_status=$?
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try='test -s conftest.$ac_objext'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; }; then
21600 ac_cv_type_std__ostream=yes
21601 else
21602 echo "$as_me: failed program was:" >&5
21603 sed 's/^/| /' conftest.$ac_ext >&5
21604
21605 ac_cv_type_std__ostream=no
21606 fi
21607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21608 fi
21609 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21610 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21611 if test $ac_cv_type_std__ostream = yes; then
21612
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_STD__OSTREAM 1
21615 _ACEOF
21616
21617
21618 else
21619 wxUSE_STD_IOSTREAM=no
21620 fi
21621
21622
21623 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21624 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21625 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21626 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21627 { (exit 1); exit 1; }; }
21628 else
21629 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21630 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21631 fi
21632 fi
21633
21634 ac_ext=c
21635 ac_cpp='$CPP $CPPFLAGS'
21636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21639
21640 fi
21641
21642 if test "$wxUSE_STL" = "yes"; then
21643 ac_ext=cc
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21648
21649
21650 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21651 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21652 cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h. */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 #include <string>
21659 #include <functional>
21660 #include <algorithm>
21661 #include <vector>
21662 #include <list>
21663 int
21664 main ()
21665 {
21666 std::vector<int> moo;
21667 std::list<int> foo;
21668 std::vector<int>::iterator it =
21669 std::find_if(moo.begin(), moo.end(),
21670 std::bind2nd(std::less<int>(), 3));
21671 ;
21672 return 0;
21673 }
21674 _ACEOF
21675 rm -f conftest.$ac_objext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21677 (eval $ac_compile) 2>conftest.er1
21678 ac_status=$?
21679 grep -v '^ *+' conftest.er1 >conftest.err
21680 rm -f conftest.er1
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try='test -z "$ac_cxx_werror_flag"
21685 || test ! -s conftest.err'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; } &&
21691 { ac_try='test -s conftest.$ac_objext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 echo "$as_me:$LINENO: result: yes" >&5
21698 echo "${ECHO_T}yes" >&6
21699 else
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 echo "$as_me:$LINENO: result: no" >&5
21704 echo "${ECHO_T}no" >&6
21705 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21706 echo "$as_me: error: Basic STL functionality missing" >&2;}
21707 { (exit 1); exit 1; }; }
21708 fi
21709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21710
21711 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21712 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21713 cat >conftest.$ac_ext <<_ACEOF
21714 /* confdefs.h. */
21715 _ACEOF
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 #include <string>
21720 int
21721 main ()
21722 {
21723 std::string foo, bar;
21724 foo.compare(bar);
21725 foo.compare(1, 1, bar);
21726 foo.compare(1, 1, bar, 1, 1);
21727 foo.compare("");
21728 foo.compare(1, 1, "");
21729 foo.compare(1, 1, "", 2);
21730 ;
21731 return 0;
21732 }
21733 _ACEOF
21734 rm -f conftest.$ac_objext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21736 (eval $ac_compile) 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try='test -z "$ac_cxx_werror_flag"
21744 || test ! -s conftest.err'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; } &&
21750 { ac_try='test -s conftest.$ac_objext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 echo "$as_me:$LINENO: result: yes" >&5
21757 echo "${ECHO_T}yes" >&6
21758 cat >>confdefs.h <<\_ACEOF
21759 #define HAVE_STD_STRING_COMPARE 1
21760 _ACEOF
21761
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 echo "$as_me:$LINENO: result: no" >&5
21767 echo "${ECHO_T}no" >&6
21768 fi
21769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21770
21771 if test "${ac_cv_header_hash_map+set}" = set; then
21772 echo "$as_me:$LINENO: checking for hash_map" >&5
21773 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21774 if test "${ac_cv_header_hash_map+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 fi
21777 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21778 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21779 else
21780 # Is the header compilable?
21781 echo "$as_me:$LINENO: checking hash_map usability" >&5
21782 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21783 cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 $ac_includes_default
21790 #include <hash_map>
21791 _ACEOF
21792 rm -f conftest.$ac_objext
21793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21794 (eval $ac_compile) 2>conftest.er1
21795 ac_status=$?
21796 grep -v '^ *+' conftest.er1 >conftest.err
21797 rm -f conftest.er1
21798 cat conftest.err >&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } &&
21801 { ac_try='test -z "$ac_cxx_werror_flag"
21802 || test ! -s conftest.err'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21805 ac_status=$?
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; } &&
21808 { ac_try='test -s conftest.$ac_objext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_header_compiler=yes
21815 else
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.$ac_ext >&5
21818
21819 ac_header_compiler=no
21820 fi
21821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21823 echo "${ECHO_T}$ac_header_compiler" >&6
21824
21825 # Is the header present?
21826 echo "$as_me:$LINENO: checking hash_map presence" >&5
21827 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21828 cat >conftest.$ac_ext <<_ACEOF
21829 /* confdefs.h. */
21830 _ACEOF
21831 cat confdefs.h >>conftest.$ac_ext
21832 cat >>conftest.$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21834 #include <hash_map>
21835 _ACEOF
21836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } >/dev/null; then
21844 if test -s conftest.err; then
21845 ac_cpp_err=$ac_cxx_preproc_warn_flag
21846 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21847 else
21848 ac_cpp_err=
21849 fi
21850 else
21851 ac_cpp_err=yes
21852 fi
21853 if test -z "$ac_cpp_err"; then
21854 ac_header_preproc=yes
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_header_preproc=no
21860 fi
21861 rm -f conftest.err conftest.$ac_ext
21862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21863 echo "${ECHO_T}$ac_header_preproc" >&6
21864
21865 # So? What about this header?
21866 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21867 yes:no: )
21868 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21869 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21870 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21871 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21872 ac_header_preproc=yes
21873 ;;
21874 no:yes:* )
21875 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21876 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21877 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21878 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21879 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21880 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21881 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21882 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21883 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21884 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21885 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21886 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21887 (
21888 cat <<\_ASBOX
21889 ## ----------------------------------------- ##
21890 ## Report this to wx-dev@lists.wxwidgets.org ##
21891 ## ----------------------------------------- ##
21892 _ASBOX
21893 ) |
21894 sed "s/^/$as_me: WARNING: /" >&2
21895 ;;
21896 esac
21897 echo "$as_me:$LINENO: checking for hash_map" >&5
21898 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21899 if test "${ac_cv_header_hash_map+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21901 else
21902 ac_cv_header_hash_map=$ac_header_preproc
21903 fi
21904 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21905 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21906
21907 fi
21908 if test $ac_cv_header_hash_map = yes; then
21909 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21910 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21911 cat >conftest.$ac_ext <<_ACEOF
21912 /* confdefs.h. */
21913 _ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 #include <hash_map>
21918 #include <hash_set>
21919 int
21920 main ()
21921 {
21922 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21923 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 echo "$as_me:$LINENO: result: yes" >&5
21951 echo "${ECHO_T}yes" >&6
21952 cat >>confdefs.h <<\_ACEOF
21953 #define HAVE_HASH_MAP 1
21954 _ACEOF
21955
21956 cat >>confdefs.h <<\_ACEOF
21957 #define HAVE_STD_HASH_MAP 1
21958 _ACEOF
21959
21960 else
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.$ac_ext >&5
21963
21964 echo "$as_me:$LINENO: result: no" >&5
21965 echo "${ECHO_T}no" >&6
21966 fi
21967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21968
21969 fi
21970
21971
21972
21973 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21974 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21975 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21976 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 fi
21979 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21980 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21981 else
21982 # Is the header compilable?
21983 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21984 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 #include <ext/hash_map>
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 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); } &&
22003 { ac_try='test -z "$ac_cxx_werror_flag"
22004 || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_header_compiler=yes
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_header_compiler=no
22022 fi
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22025 echo "${ECHO_T}$ac_header_compiler" >&6
22026
22027 # Is the header present?
22028 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22029 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22030 cat >conftest.$ac_ext <<_ACEOF
22031 /* confdefs.h. */
22032 _ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 #include <ext/hash_map>
22037 _ACEOF
22038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } >/dev/null; then
22046 if test -s conftest.err; then
22047 ac_cpp_err=$ac_cxx_preproc_warn_flag
22048 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22049 else
22050 ac_cpp_err=
22051 fi
22052 else
22053 ac_cpp_err=yes
22054 fi
22055 if test -z "$ac_cpp_err"; then
22056 ac_header_preproc=yes
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ac_header_preproc=no
22062 fi
22063 rm -f conftest.err conftest.$ac_ext
22064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22065 echo "${ECHO_T}$ac_header_preproc" >&6
22066
22067 # So? What about this header?
22068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22069 yes:no: )
22070 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22071 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22073 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22074 ac_header_preproc=yes
22075 ;;
22076 no:yes:* )
22077 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22078 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22079 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22080 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22082 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22084 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22086 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22088 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22089 (
22090 cat <<\_ASBOX
22091 ## ----------------------------------------- ##
22092 ## Report this to wx-dev@lists.wxwidgets.org ##
22093 ## ----------------------------------------- ##
22094 _ASBOX
22095 ) |
22096 sed "s/^/$as_me: WARNING: /" >&2
22097 ;;
22098 esac
22099 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22100 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22101 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 else
22104 ac_cv_header_ext_hash_map=$ac_header_preproc
22105 fi
22106 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22107 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22108
22109 fi
22110 if test $ac_cv_header_ext_hash_map = yes; then
22111 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22112 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22113 cat >conftest.$ac_ext <<_ACEOF
22114 /* confdefs.h. */
22115 _ACEOF
22116 cat confdefs.h >>conftest.$ac_ext
22117 cat >>conftest.$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 #include <ext/hash_map>
22120 #include <ext/hash_set>
22121 int
22122 main ()
22123 {
22124 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22125 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_cxx_werror_flag"
22140 || test ! -s conftest.err'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; } &&
22146 { ac_try='test -s conftest.$ac_objext'
22147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22148 (eval $ac_try) 2>&5
22149 ac_status=$?
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; }; then
22152 echo "$as_me:$LINENO: result: yes" >&5
22153 echo "${ECHO_T}yes" >&6
22154 cat >>confdefs.h <<\_ACEOF
22155 #define HAVE_EXT_HASH_MAP 1
22156 _ACEOF
22157
22158 cat >>confdefs.h <<\_ACEOF
22159 #define HAVE_GNU_CXX_HASH_MAP 1
22160 _ACEOF
22161
22162 else
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22165
22166 echo "$as_me:$LINENO: result: no" >&5
22167 echo "${ECHO_T}no" >&6
22168 fi
22169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22170
22171 fi
22172
22173
22174
22175 ac_ext=c
22176 ac_cpp='$CPP $CPPFLAGS'
22177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22180
22181 fi
22182
22183
22184 SEARCH_INCLUDE="\
22185 /usr/local/include \
22186 \
22187 /usr/Motif-2.1/include \
22188 /usr/Motif-1.2/include \
22189 /usr/include/Motif1.2 \
22190 /opt/xpm/include/X11 \
22191 /opt/GBxpm/include/ \
22192 /opt/GBxpm/X11/include/ \
22193 \
22194 /usr/dt/include \
22195 /usr/openwin/include \
22196 \
22197 /usr/include/Xm \
22198 \
22199 /usr/X11R6/include \
22200 /usr/X11R6.4/include \
22201 /usr/X11R5/include \
22202 /usr/X11R4/include \
22203 \
22204 /usr/include/X11R6 \
22205 /usr/include/X11R5 \
22206 /usr/include/X11R4 \
22207 \
22208 /usr/local/X11R6/include \
22209 /usr/local/X11R5/include \
22210 /usr/local/X11R4/include \
22211 \
22212 /usr/local/include/X11R6 \
22213 /usr/local/include/X11R5 \
22214 /usr/local/include/X11R4 \
22215 \
22216 /usr/X11/include \
22217 /usr/include/X11 \
22218 /usr/local/X11/include \
22219 /usr/local/include/X11 \
22220 \
22221 /usr/X386/include \
22222 /usr/x386/include \
22223 /usr/XFree86/include/X11 \
22224 \
22225 X:/XFree86/include \
22226 X:/XFree86/include/X11 \
22227 \
22228 /usr/include/gtk \
22229 /usr/local/include/gtk \
22230 /usr/include/glib \
22231 /usr/local/include/glib \
22232 \
22233 /usr/include/qt \
22234 /usr/local/include/qt \
22235 \
22236 /usr/local/arm/3.3.2/include \
22237 \
22238 /usr/include/windows \
22239 /usr/include/wine \
22240 /usr/local/include/wine \
22241 \
22242 /usr/unsupported/include \
22243 /usr/athena/include \
22244 /usr/local/x11r5/include \
22245 /usr/lpp/Xamples/include \
22246 \
22247 /usr/openwin/share/include"
22248
22249 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
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"
22343 || test ! -s conftest.err'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; } &&
22349 { ac_try='test -s conftest.$ac_objext'
22350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351 (eval $ac_try) 2>&5
22352 ac_status=$?
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; }; then
22355
22356 wx_cv_lib_glibc21=yes
22357
22358 else
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.$ac_ext >&5
22361
22362
22363 wx_cv_lib_glibc21=no
22364
22365
22366 fi
22367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22368
22369 fi
22370 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22371 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22372 if test "$wx_cv_lib_glibc21" = "yes"; then
22373 cat >>confdefs.h <<\_ACEOF
22374 #define wxHAVE_GLIBC2 1
22375 _ACEOF
22376
22377 fi
22378 fi
22379
22380 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22381 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22382 cat >>confdefs.h <<\_ACEOF
22383 #define _GNU_SOURCE 1
22384 _ACEOF
22385
22386 fi
22387 fi
22388
22389
22390
22391 if test "$wxUSE_REGEX" != "no"; then
22392 cat >>confdefs.h <<\_ACEOF
22393 #define wxUSE_REGEX 1
22394 _ACEOF
22395
22396
22397 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22398 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22399 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22400 wxUSE_REGEX=builtin
22401 fi
22402
22403 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22404 if test "${ac_cv_header_regex_h+set}" = set; then
22405 echo "$as_me:$LINENO: checking for regex.h" >&5
22406 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22407 if test "${ac_cv_header_regex_h+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 fi
22410 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22411 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22412 else
22413 # Is the header compilable?
22414 echo "$as_me:$LINENO: checking regex.h usability" >&5
22415 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22416 cat >conftest.$ac_ext <<_ACEOF
22417 /* confdefs.h. */
22418 _ACEOF
22419 cat confdefs.h >>conftest.$ac_ext
22420 cat >>conftest.$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22423 #include <regex.h>
22424 _ACEOF
22425 rm -f conftest.$ac_objext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22427 (eval $ac_compile) 2>conftest.er1
22428 ac_status=$?
22429 grep -v '^ *+' conftest.er1 >conftest.err
22430 rm -f conftest.er1
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_header_compiler=yes
22448 else
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22451
22452 ac_header_compiler=no
22453 fi
22454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22456 echo "${ECHO_T}$ac_header_compiler" >&6
22457
22458 # Is the header present?
22459 echo "$as_me:$LINENO: checking regex.h presence" >&5
22460 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22461 cat >conftest.$ac_ext <<_ACEOF
22462 /* confdefs.h. */
22463 _ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #include <regex.h>
22468 _ACEOF
22469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } >/dev/null; then
22477 if test -s conftest.err; then
22478 ac_cpp_err=$ac_c_preproc_warn_flag
22479 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22480 else
22481 ac_cpp_err=
22482 fi
22483 else
22484 ac_cpp_err=yes
22485 fi
22486 if test -z "$ac_cpp_err"; then
22487 ac_header_preproc=yes
22488 else
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.$ac_ext >&5
22491
22492 ac_header_preproc=no
22493 fi
22494 rm -f conftest.err conftest.$ac_ext
22495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22496 echo "${ECHO_T}$ac_header_preproc" >&6
22497
22498 # So? What about this header?
22499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22500 yes:no: )
22501 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22502 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22503 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22504 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22505 ac_header_preproc=yes
22506 ;;
22507 no:yes:* )
22508 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22509 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22510 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22511 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22513 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22515 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22517 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22519 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22520 (
22521 cat <<\_ASBOX
22522 ## ----------------------------------------- ##
22523 ## Report this to wx-dev@lists.wxwidgets.org ##
22524 ## ----------------------------------------- ##
22525 _ASBOX
22526 ) |
22527 sed "s/^/$as_me: WARNING: /" >&2
22528 ;;
22529 esac
22530 echo "$as_me:$LINENO: checking for regex.h" >&5
22531 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22532 if test "${ac_cv_header_regex_h+set}" = set; then
22533 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 else
22535 ac_cv_header_regex_h=$ac_header_preproc
22536 fi
22537 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22538 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22539
22540 fi
22541 if test $ac_cv_header_regex_h = yes; then
22542
22543 for ac_func in regcomp
22544 do
22545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22546 echo "$as_me:$LINENO: checking for $ac_func" >&5
22547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22548 if eval "test \"\${$as_ac_var+set}\" = set"; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22550 else
22551 cat >conftest.$ac_ext <<_ACEOF
22552 /* confdefs.h. */
22553 _ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22559 #define $ac_func innocuous_$ac_func
22560
22561 /* System header to define __stub macros and hopefully few prototypes,
22562 which can conflict with char $ac_func (); below.
22563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22564 <limits.h> exists even on freestanding compilers. */
22565
22566 #ifdef __STDC__
22567 # include <limits.h>
22568 #else
22569 # include <assert.h>
22570 #endif
22571
22572 #undef $ac_func
22573
22574 /* Override any gcc2 internal prototype to avoid an error. */
22575 #ifdef __cplusplus
22576 extern "C"
22577 {
22578 #endif
22579 /* We use char because int might match the return type of a gcc2
22580 builtin and then its argument prototype would still apply. */
22581 char $ac_func ();
22582 /* The GNU C library defines this for functions which it implements
22583 to always fail with ENOSYS. Some functions are actually named
22584 something starting with __ and the normal name is an alias. */
22585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22586 choke me
22587 #else
22588 char (*f) () = $ac_func;
22589 #endif
22590 #ifdef __cplusplus
22591 }
22592 #endif
22593
22594 int
22595 main ()
22596 {
22597 return f != $ac_func;
22598 ;
22599 return 0;
22600 }
22601 _ACEOF
22602 rm -f conftest.$ac_objext conftest$ac_exeext
22603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22604 (eval $ac_link) 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag"
22612 || test ! -s conftest.err'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; } &&
22618 { ac_try='test -s conftest$ac_exeext'
22619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22620 (eval $ac_try) 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); }; }; then
22624 eval "$as_ac_var=yes"
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 eval "$as_ac_var=no"
22630 fi
22631 rm -f conftest.err conftest.$ac_objext \
22632 conftest$ac_exeext conftest.$ac_ext
22633 fi
22634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22636 if test `eval echo '${'$as_ac_var'}'` = yes; then
22637 cat >>confdefs.h <<_ACEOF
22638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22639 _ACEOF
22640
22641 fi
22642 done
22643
22644 fi
22645
22646
22647
22648 if test "x$ac_cv_func_regcomp" != "xyes"; then
22649 if test "$wxUSE_REGEX" = "sys" ; then
22650 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22651 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22652 { (exit 1); exit 1; }; }
22653 else
22654 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22655 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22656 wxUSE_REGEX=builtin
22657 fi
22658 else
22659 wxUSE_REGEX=sys
22660 cat >>confdefs.h <<\_ACEOF
22661 #define WX_NO_REGEX_ADVANCED 1
22662 _ACEOF
22663
22664 fi
22665 fi
22666 fi
22667
22668
22669 ZLIB_LINK=
22670 if test "$wxUSE_ZLIB" != "no" ; then
22671 cat >>confdefs.h <<\_ACEOF
22672 #define wxUSE_ZLIB 1
22673 _ACEOF
22674
22675
22676 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22677 if test "$USE_DARWIN" = 1; then
22678 system_zlib_h_ok="yes"
22679 else
22680 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22681 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22682 if test "${ac_cv_header_zlib_h+set}" = set; then
22683 echo $ECHO_N "(cached) $ECHO_C" >&6
22684 else
22685 if test "$cross_compiling" = yes; then
22686 unset ac_cv_header_zlib_h
22687
22688 else
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695
22696 #include <zlib.h>
22697 #include <stdio.h>
22698
22699 int main()
22700 {
22701 FILE *f=fopen("conftestval", "w");
22702 if (!f) exit(1);
22703 fprintf(f, "%s",
22704 ZLIB_VERSION[0] == '1' &&
22705 (ZLIB_VERSION[2] > '1' ||
22706 (ZLIB_VERSION[2] == '1' &&
22707 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22708 exit(0);
22709 }
22710
22711 _ACEOF
22712 rm -f conftest$ac_exeext
22713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22714 (eval $ac_link) 2>&5
22715 ac_status=$?
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 ac_cv_header_zlib_h=`cat conftestval`
22724 else
22725 echo "$as_me: program exited with status $ac_status" >&5
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.$ac_ext >&5
22728
22729 ( exit $ac_status )
22730 ac_cv_header_zlib_h=no
22731 fi
22732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22733 fi
22734
22735 fi
22736 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22737 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22738 if test "${ac_cv_header_zlib_h+set}" = set; then
22739 echo "$as_me:$LINENO: checking for zlib.h" >&5
22740 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22741 if test "${ac_cv_header_zlib_h+set}" = set; then
22742 echo $ECHO_N "(cached) $ECHO_C" >&6
22743 fi
22744 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22745 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22746 else
22747 # Is the header compilable?
22748 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22749 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22750 cat >conftest.$ac_ext <<_ACEOF
22751 /* confdefs.h. */
22752 _ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22757 #include <zlib.h>
22758 _ACEOF
22759 rm -f conftest.$ac_objext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22761 (eval $ac_compile) 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } &&
22768 { ac_try='test -z "$ac_c_werror_flag"
22769 || test ! -s conftest.err'
22770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771 (eval $ac_try) 2>&5
22772 ac_status=$?
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); }; } &&
22775 { ac_try='test -s conftest.$ac_objext'
22776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22777 (eval $ac_try) 2>&5
22778 ac_status=$?
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_header_compiler=yes
22782 else
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22785
22786 ac_header_compiler=no
22787 fi
22788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22790 echo "${ECHO_T}$ac_header_compiler" >&6
22791
22792 # Is the header present?
22793 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22794 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 #include <zlib.h>
22802 _ACEOF
22803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22805 ac_status=$?
22806 grep -v '^ *+' conftest.er1 >conftest.err
22807 rm -f conftest.er1
22808 cat conftest.err >&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } >/dev/null; then
22811 if test -s conftest.err; then
22812 ac_cpp_err=$ac_c_preproc_warn_flag
22813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22814 else
22815 ac_cpp_err=
22816 fi
22817 else
22818 ac_cpp_err=yes
22819 fi
22820 if test -z "$ac_cpp_err"; then
22821 ac_header_preproc=yes
22822 else
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.$ac_ext >&5
22825
22826 ac_header_preproc=no
22827 fi
22828 rm -f conftest.err conftest.$ac_ext
22829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22830 echo "${ECHO_T}$ac_header_preproc" >&6
22831
22832 # So? What about this header?
22833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22834 yes:no: )
22835 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22836 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22837 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22838 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22839 ac_header_preproc=yes
22840 ;;
22841 no:yes:* )
22842 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22843 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22845 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22847 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22849 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22851 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22852 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22853 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22854 (
22855 cat <<\_ASBOX
22856 ## ----------------------------------------- ##
22857 ## Report this to wx-dev@lists.wxwidgets.org ##
22858 ## ----------------------------------------- ##
22859 _ASBOX
22860 ) |
22861 sed "s/^/$as_me: WARNING: /" >&2
22862 ;;
22863 esac
22864 echo "$as_me:$LINENO: checking for zlib.h" >&5
22865 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22866 if test "${ac_cv_header_zlib_h+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 else
22869 ac_cv_header_zlib_h=$ac_header_preproc
22870 fi
22871 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22872 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22873
22874 fi
22875
22876
22877
22878 system_zlib_h_ok=$ac_cv_header_zlib_h
22879 fi
22880
22881 if test "$system_zlib_h_ok" = "yes"; then
22882 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22883 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22884 if test "${ac_cv_lib_z_deflate+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22886 else
22887 ac_check_lib_save_LIBS=$LIBS
22888 LIBS="-lz $LIBS"
22889 cat >conftest.$ac_ext <<_ACEOF
22890 /* confdefs.h. */
22891 _ACEOF
22892 cat confdefs.h >>conftest.$ac_ext
22893 cat >>conftest.$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895
22896 /* Override any gcc2 internal prototype to avoid an error. */
22897 #ifdef __cplusplus
22898 extern "C"
22899 #endif
22900 /* We use char because int might match the return type of a gcc2
22901 builtin and then its argument prototype would still apply. */
22902 char deflate ();
22903 int
22904 main ()
22905 {
22906 deflate ();
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 rm -f conftest.$ac_objext conftest$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22914 ac_status=$?
22915 grep -v '^ *+' conftest.er1 >conftest.err
22916 rm -f conftest.er1
22917 cat conftest.err >&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try='test -z "$ac_c_werror_flag"
22921 || test ! -s conftest.err'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; } &&
22927 { ac_try='test -s conftest$ac_exeext'
22928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22929 (eval $ac_try) 2>&5
22930 ac_status=$?
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; }; then
22933 ac_cv_lib_z_deflate=yes
22934 else
22935 echo "$as_me: failed program was:" >&5
22936 sed 's/^/| /' conftest.$ac_ext >&5
22937
22938 ac_cv_lib_z_deflate=no
22939 fi
22940 rm -f conftest.err conftest.$ac_objext \
22941 conftest$ac_exeext conftest.$ac_ext
22942 LIBS=$ac_check_lib_save_LIBS
22943 fi
22944 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22945 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22946 if test $ac_cv_lib_z_deflate = yes; then
22947 ZLIB_LINK=" -lz"
22948 fi
22949
22950 fi
22951
22952 if test "x$ZLIB_LINK" = "x" ; then
22953 if test "$wxUSE_ZLIB" = "sys" ; then
22954 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22955 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22956 { (exit 1); exit 1; }; }
22957 else
22958 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22959 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22960 wxUSE_ZLIB=builtin
22961 fi
22962 else
22963 wxUSE_ZLIB=sys
22964 fi
22965 fi
22966 fi
22967
22968
22969 PNG_LINK=
22970 if test "$wxUSE_LIBPNG" != "no" ; then
22971 cat >>confdefs.h <<\_ACEOF
22972 #define wxUSE_LIBPNG 1
22973 _ACEOF
22974
22975
22976 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22977 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22978 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22979 wxUSE_LIBPNG=sys
22980 fi
22981
22982 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22983 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22984 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22985 wxUSE_LIBPNG=builtin
22986 fi
22987
22988 if test "$wxUSE_MGL" != 1 ; then
22989 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22990 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22991 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22992 if test "${ac_cv_header_png_h+set}" = set; then
22993 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 else
22995 if test "$cross_compiling" = yes; then
22996 unset ac_cv_header_png_h
22997
22998 else
22999 cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h. */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23005
23006 #include <png.h>
23007 #include <stdio.h>
23008
23009 int main()
23010 {
23011 FILE *f=fopen("conftestval", "w");
23012 if (!f) exit(1);
23013 fprintf(f, "%s",
23014 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23015 exit(0);
23016 }
23017
23018 _ACEOF
23019 rm -f conftest$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23026 (eval $ac_try) 2>&5
23027 ac_status=$?
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); }; }; then
23030 ac_cv_header_png_h=`cat conftestval`
23031 else
23032 echo "$as_me: program exited with status $ac_status" >&5
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 ( exit $ac_status )
23037 ac_cv_header_png_h=no
23038 fi
23039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23040 fi
23041
23042 fi
23043 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23044 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23045 if test "${ac_cv_header_png_h+set}" = set; then
23046 echo "$as_me:$LINENO: checking for png.h" >&5
23047 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23048 if test "${ac_cv_header_png_h+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 fi
23051 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23052 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23053 else
23054 # Is the header compilable?
23055 echo "$as_me:$LINENO: checking png.h usability" >&5
23056 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23057 cat >conftest.$ac_ext <<_ACEOF
23058 /* confdefs.h. */
23059 _ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063 $ac_includes_default
23064 #include <png.h>
23065 _ACEOF
23066 rm -f conftest.$ac_objext
23067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23068 (eval $ac_compile) 2>conftest.er1
23069 ac_status=$?
23070 grep -v '^ *+' conftest.er1 >conftest.err
23071 rm -f conftest.er1
23072 cat conftest.err >&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); } &&
23075 { ac_try='test -z "$ac_c_werror_flag"
23076 || test ! -s conftest.err'
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); }; } &&
23082 { ac_try='test -s conftest.$ac_objext'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23085 ac_status=$?
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 ac_header_compiler=yes
23089 else
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23092
23093 ac_header_compiler=no
23094 fi
23095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23097 echo "${ECHO_T}$ac_header_compiler" >&6
23098
23099 # Is the header present?
23100 echo "$as_me:$LINENO: checking png.h presence" >&5
23101 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23102 cat >conftest.$ac_ext <<_ACEOF
23103 /* confdefs.h. */
23104 _ACEOF
23105 cat confdefs.h >>conftest.$ac_ext
23106 cat >>conftest.$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23108 #include <png.h>
23109 _ACEOF
23110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23112 ac_status=$?
23113 grep -v '^ *+' conftest.er1 >conftest.err
23114 rm -f conftest.er1
23115 cat conftest.err >&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } >/dev/null; then
23118 if test -s conftest.err; then
23119 ac_cpp_err=$ac_c_preproc_warn_flag
23120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23121 else
23122 ac_cpp_err=
23123 fi
23124 else
23125 ac_cpp_err=yes
23126 fi
23127 if test -z "$ac_cpp_err"; then
23128 ac_header_preproc=yes
23129 else
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 ac_header_preproc=no
23134 fi
23135 rm -f conftest.err conftest.$ac_ext
23136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23137 echo "${ECHO_T}$ac_header_preproc" >&6
23138
23139 # So? What about this header?
23140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23141 yes:no: )
23142 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23143 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23144 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23145 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23146 ac_header_preproc=yes
23147 ;;
23148 no:yes:* )
23149 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23150 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23152 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23154 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23156 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23158 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23159 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23160 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23161 (
23162 cat <<\_ASBOX
23163 ## ----------------------------------------- ##
23164 ## Report this to wx-dev@lists.wxwidgets.org ##
23165 ## ----------------------------------------- ##
23166 _ASBOX
23167 ) |
23168 sed "s/^/$as_me: WARNING: /" >&2
23169 ;;
23170 esac
23171 echo "$as_me:$LINENO: checking for png.h" >&5
23172 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23173 if test "${ac_cv_header_png_h+set}" = set; then
23174 echo $ECHO_N "(cached) $ECHO_C" >&6
23175 else
23176 ac_cv_header_png_h=$ac_header_preproc
23177 fi
23178 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23179 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23180
23181 fi
23182
23183
23184
23185 if test "$ac_cv_header_png_h" = "yes"; then
23186 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23187 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23188 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 else
23191 ac_check_lib_save_LIBS=$LIBS
23192 LIBS="-lpng -lz -lm $LIBS"
23193 cat >conftest.$ac_ext <<_ACEOF
23194 /* confdefs.h. */
23195 _ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23199
23200 /* Override any gcc2 internal prototype to avoid an error. */
23201 #ifdef __cplusplus
23202 extern "C"
23203 #endif
23204 /* We use char because int might match the return type of a gcc2
23205 builtin and then its argument prototype would still apply. */
23206 char png_check_sig ();
23207 int
23208 main ()
23209 {
23210 png_check_sig ();
23211 ;
23212 return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext conftest$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -z "$ac_c_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23228 ac_status=$?
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_cv_lib_png_png_check_sig=yes
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_cv_lib_png_png_check_sig=no
23243 fi
23244 rm -f conftest.err conftest.$ac_objext \
23245 conftest$ac_exeext conftest.$ac_ext
23246 LIBS=$ac_check_lib_save_LIBS
23247 fi
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23249 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23250 if test $ac_cv_lib_png_png_check_sig = yes; then
23251 PNG_LINK=" -lpng -lz"
23252 fi
23253
23254 fi
23255
23256 if test "x$PNG_LINK" = "x" ; then
23257 if test "$wxUSE_LIBPNG" = "sys" ; then
23258 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23259 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23260 { (exit 1); exit 1; }; }
23261 else
23262 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23263 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23264 wxUSE_LIBPNG=builtin
23265 fi
23266 else
23267 wxUSE_LIBPNG=sys
23268 fi
23269 fi
23270 fi
23271
23272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23273 fi
23274
23275
23276 JPEG_LINK=
23277 if test "$wxUSE_LIBJPEG" != "no" ; then
23278 cat >>confdefs.h <<\_ACEOF
23279 #define wxUSE_LIBJPEG 1
23280 _ACEOF
23281
23282
23283 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23284 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23285 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23286 wxUSE_LIBJPEG=sys
23287 fi
23288
23289 if test "$wxUSE_MGL" != 1 ; then
23290 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23291 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23292 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23293 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 else
23296 cat >conftest.$ac_ext <<_ACEOF
23297 /* confdefs.h. */
23298 _ACEOF
23299 cat confdefs.h >>conftest.$ac_ext
23300 cat >>conftest.$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302
23303 #undef HAVE_STDLIB_H
23304 #include <stdio.h>
23305 #include <jpeglib.h>
23306
23307 int
23308 main ()
23309 {
23310
23311
23312 ;
23313 return 0;
23314 }
23315 _ACEOF
23316 rm -f conftest.$ac_objext
23317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23318 (eval $ac_compile) 2>conftest.er1
23319 ac_status=$?
23320 grep -v '^ *+' conftest.er1 >conftest.err
23321 rm -f conftest.er1
23322 cat conftest.err >&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } &&
23325 { ac_try='test -z "$ac_c_werror_flag"
23326 || test ! -s conftest.err'
23327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328 (eval $ac_try) 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; } &&
23332 { ac_try='test -s conftest.$ac_objext'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23335 ac_status=$?
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; }; then
23338 ac_cv_header_jpeglib_h=yes
23339 else
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.$ac_ext >&5
23342
23343 ac_cv_header_jpeglib_h=no
23344
23345 fi
23346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23347
23348 fi
23349
23350 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23351 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23352
23353 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23354 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23355 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23356 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23357 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 else
23359 ac_check_lib_save_LIBS=$LIBS
23360 LIBS="-ljpeg $LIBS"
23361 cat >conftest.$ac_ext <<_ACEOF
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367
23368 /* Override any gcc2 internal prototype to avoid an error. */
23369 #ifdef __cplusplus
23370 extern "C"
23371 #endif
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23374 char jpeg_read_header ();
23375 int
23376 main ()
23377 {
23378 jpeg_read_header ();
23379 ;
23380 return 0;
23381 }
23382 _ACEOF
23383 rm -f conftest.$ac_objext conftest$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>conftest.er1
23386 ac_status=$?
23387 grep -v '^ *+' conftest.er1 >conftest.err
23388 rm -f conftest.er1
23389 cat conftest.err >&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } &&
23392 { ac_try='test -z "$ac_c_werror_flag"
23393 || test ! -s conftest.err'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23396 ac_status=$?
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; } &&
23399 { ac_try='test -s conftest$ac_exeext'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23402 ac_status=$?
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; }; then
23405 ac_cv_lib_jpeg_jpeg_read_header=yes
23406 else
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.$ac_ext >&5
23409
23410 ac_cv_lib_jpeg_jpeg_read_header=no
23411 fi
23412 rm -f conftest.err conftest.$ac_objext \
23413 conftest$ac_exeext conftest.$ac_ext
23414 LIBS=$ac_check_lib_save_LIBS
23415 fi
23416 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23417 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23418 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23419 JPEG_LINK=" -ljpeg"
23420 fi
23421
23422 fi
23423
23424 if test "x$JPEG_LINK" = "x" ; then
23425 if test "$wxUSE_LIBJPEG" = "sys" ; then
23426 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23427 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23428 { (exit 1); exit 1; }; }
23429 else
23430 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23431 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23432 wxUSE_LIBJPEG=builtin
23433 fi
23434 else
23435 wxUSE_LIBJPEG=sys
23436 fi
23437 fi
23438 fi
23439 fi
23440
23441
23442 TIFF_LINK=
23443 TIFF_PREREQ_LINKS=-lm
23444 if test "$wxUSE_LIBTIFF" != "no" ; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define wxUSE_LIBTIFF 1
23447 _ACEOF
23448
23449
23450 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23451 if test "$wxUSE_LIBJPEG" = "sys"; then
23452 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23453 fi
23454 if test "$wxUSE_ZLIB" = "sys"; then
23455 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23456 fi
23457 if test "${ac_cv_header_tiffio_h+set}" = set; then
23458 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23459 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23460 if test "${ac_cv_header_tiffio_h+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 fi
23463 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23464 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23465 else
23466 # Is the header compilable?
23467 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23468 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23469 cat >conftest.$ac_ext <<_ACEOF
23470 /* confdefs.h. */
23471 _ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23475 $ac_includes_default
23476 #include <tiffio.h>
23477 _ACEOF
23478 rm -f conftest.$ac_objext
23479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23480 (eval $ac_compile) 2>conftest.er1
23481 ac_status=$?
23482 grep -v '^ *+' conftest.er1 >conftest.err
23483 rm -f conftest.er1
23484 cat conftest.err >&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); } &&
23487 { ac_try='test -z "$ac_c_werror_flag"
23488 || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest.$ac_objext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_header_compiler=yes
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 ac_header_compiler=no
23506 fi
23507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23509 echo "${ECHO_T}$ac_header_compiler" >&6
23510
23511 # Is the header present?
23512 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23513 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 #include <tiffio.h>
23521 _ACEOF
23522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23523 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23524 ac_status=$?
23525 grep -v '^ *+' conftest.er1 >conftest.err
23526 rm -f conftest.er1
23527 cat conftest.err >&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } >/dev/null; then
23530 if test -s conftest.err; then
23531 ac_cpp_err=$ac_c_preproc_warn_flag
23532 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23533 else
23534 ac_cpp_err=
23535 fi
23536 else
23537 ac_cpp_err=yes
23538 fi
23539 if test -z "$ac_cpp_err"; then
23540 ac_header_preproc=yes
23541 else
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23544
23545 ac_header_preproc=no
23546 fi
23547 rm -f conftest.err conftest.$ac_ext
23548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23549 echo "${ECHO_T}$ac_header_preproc" >&6
23550
23551 # So? What about this header?
23552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23553 yes:no: )
23554 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23555 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23556 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23557 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23558 ac_header_preproc=yes
23559 ;;
23560 no:yes:* )
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23562 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23564 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23566 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23567 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23568 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23569 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23570 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23571 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23572 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23573 (
23574 cat <<\_ASBOX
23575 ## ----------------------------------------- ##
23576 ## Report this to wx-dev@lists.wxwidgets.org ##
23577 ## ----------------------------------------- ##
23578 _ASBOX
23579 ) |
23580 sed "s/^/$as_me: WARNING: /" >&2
23581 ;;
23582 esac
23583 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23584 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23585 if test "${ac_cv_header_tiffio_h+set}" = set; then
23586 echo $ECHO_N "(cached) $ECHO_C" >&6
23587 else
23588 ac_cv_header_tiffio_h=$ac_header_preproc
23589 fi
23590 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23591 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23592
23593 fi
23594 if test $ac_cv_header_tiffio_h = yes; then
23595
23596 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23597 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23598 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601 ac_check_lib_save_LIBS=$LIBS
23602 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23603 cat >conftest.$ac_ext <<_ACEOF
23604 /* confdefs.h. */
23605 _ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23609
23610 /* Override any gcc2 internal prototype to avoid an error. */
23611 #ifdef __cplusplus
23612 extern "C"
23613 #endif
23614 /* We use char because int might match the return type of a gcc2
23615 builtin and then its argument prototype would still apply. */
23616 char TIFFError ();
23617 int
23618 main ()
23619 {
23620 TIFFError ();
23621 ;
23622 return 0;
23623 }
23624 _ACEOF
23625 rm -f conftest.$ac_objext conftest$ac_exeext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23627 (eval $ac_link) 2>conftest.er1
23628 ac_status=$?
23629 grep -v '^ *+' conftest.er1 >conftest.err
23630 rm -f conftest.er1
23631 cat conftest.err >&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -z "$ac_c_werror_flag"
23635 || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try='test -s conftest$ac_exeext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 ac_cv_lib_tiff_TIFFError=yes
23648 else
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.$ac_ext >&5
23651
23652 ac_cv_lib_tiff_TIFFError=no
23653 fi
23654 rm -f conftest.err conftest.$ac_objext \
23655 conftest$ac_exeext conftest.$ac_ext
23656 LIBS=$ac_check_lib_save_LIBS
23657 fi
23658 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23659 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23660 if test $ac_cv_lib_tiff_TIFFError = yes; then
23661 TIFF_LINK=" -ltiff"
23662 fi
23663
23664
23665
23666 fi
23667
23668
23669
23670 if test "x$TIFF_LINK" = "x" ; then
23671 if test "$wxUSE_LIBTIFF" = "sys" ; then
23672 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23673 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23674 { (exit 1); exit 1; }; }
23675 else
23676 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23677 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23678 wxUSE_LIBTIFF=builtin
23679 fi
23680 else
23681 wxUSE_LIBTIFF=sys
23682 fi
23683 fi
23684 fi
23685
23686
23687 if test "$wxUSE_WCHAR_T" != "yes"; then
23688 if test "$wxUSE_EXPAT" != "no"; then
23689 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23690 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23691 wxUSE_EXPAT=no
23692 fi
23693 if test "$wxUSE_XML" != "no"; then
23694 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23695 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23696 wxUSE_XML=no
23697 fi
23698 fi
23699
23700 if test "$wxUSE_EXPAT" != "no"; then
23701 wxUSE_XML=yes
23702 cat >>confdefs.h <<\_ACEOF
23703 #define wxUSE_EXPAT 1
23704 _ACEOF
23705
23706 cat >>confdefs.h <<\_ACEOF
23707 #define wxUSE_XML 1
23708 _ACEOF
23709
23710
23711 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23712 if test "${ac_cv_header_expat_h+set}" = set; then
23713 echo "$as_me:$LINENO: checking for expat.h" >&5
23714 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23715 if test "${ac_cv_header_expat_h+set}" = set; then
23716 echo $ECHO_N "(cached) $ECHO_C" >&6
23717 fi
23718 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23719 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23720 else
23721 # Is the header compilable?
23722 echo "$as_me:$LINENO: checking expat.h usability" >&5
23723 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23724 cat >conftest.$ac_ext <<_ACEOF
23725 /* confdefs.h. */
23726 _ACEOF
23727 cat confdefs.h >>conftest.$ac_ext
23728 cat >>conftest.$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23730 $ac_includes_default
23731 #include <expat.h>
23732 _ACEOF
23733 rm -f conftest.$ac_objext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23735 (eval $ac_compile) 2>conftest.er1
23736 ac_status=$?
23737 grep -v '^ *+' conftest.er1 >conftest.err
23738 rm -f conftest.er1
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try='test -z "$ac_c_werror_flag"
23743 || test ! -s conftest.err'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try='test -s conftest.$ac_objext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23752 ac_status=$?
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_header_compiler=yes
23756 else
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23759
23760 ac_header_compiler=no
23761 fi
23762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23764 echo "${ECHO_T}$ac_header_compiler" >&6
23765
23766 # Is the header present?
23767 echo "$as_me:$LINENO: checking expat.h presence" >&5
23768 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23769 cat >conftest.$ac_ext <<_ACEOF
23770 /* confdefs.h. */
23771 _ACEOF
23772 cat confdefs.h >>conftest.$ac_ext
23773 cat >>conftest.$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23775 #include <expat.h>
23776 _ACEOF
23777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23779 ac_status=$?
23780 grep -v '^ *+' conftest.er1 >conftest.err
23781 rm -f conftest.er1
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } >/dev/null; then
23785 if test -s conftest.err; then
23786 ac_cpp_err=$ac_c_preproc_warn_flag
23787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23788 else
23789 ac_cpp_err=
23790 fi
23791 else
23792 ac_cpp_err=yes
23793 fi
23794 if test -z "$ac_cpp_err"; then
23795 ac_header_preproc=yes
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 ac_header_preproc=no
23801 fi
23802 rm -f conftest.err conftest.$ac_ext
23803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23804 echo "${ECHO_T}$ac_header_preproc" >&6
23805
23806 # So? What about this header?
23807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23808 yes:no: )
23809 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23810 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23811 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23812 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23813 ac_header_preproc=yes
23814 ;;
23815 no:yes:* )
23816 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23817 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23818 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23819 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23820 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23821 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23822 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23823 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23824 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23825 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23826 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23827 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23828 (
23829 cat <<\_ASBOX
23830 ## ----------------------------------------- ##
23831 ## Report this to wx-dev@lists.wxwidgets.org ##
23832 ## ----------------------------------------- ##
23833 _ASBOX
23834 ) |
23835 sed "s/^/$as_me: WARNING: /" >&2
23836 ;;
23837 esac
23838 echo "$as_me:$LINENO: checking for expat.h" >&5
23839 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23840 if test "${ac_cv_header_expat_h+set}" = set; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23842 else
23843 ac_cv_header_expat_h=$ac_header_preproc
23844 fi
23845 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23846 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23847
23848 fi
23849 if test $ac_cv_header_expat_h = yes; then
23850 found_expat_h=1
23851 fi
23852
23853
23854 if test "x$found_expat_h" = "x1"; then
23855 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23856 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23857 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23858 echo $ECHO_N "(cached) $ECHO_C" >&6
23859 else
23860
23861
23862
23863 ac_ext=cc
23864 ac_cpp='$CXXCPP $CPPFLAGS'
23865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23868
23869 cat >conftest.$ac_ext <<_ACEOF
23870 /* confdefs.h. */
23871 _ACEOF
23872 cat confdefs.h >>conftest.$ac_ext
23873 cat >>conftest.$ac_ext <<_ACEOF
23874 /* end confdefs.h. */
23875 #include <expat.h>
23876 int
23877 main ()
23878 {
23879
23880 ;
23881 return 0;
23882 }
23883 _ACEOF
23884 rm -f conftest.$ac_objext
23885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23886 (eval $ac_compile) 2>conftest.er1
23887 ac_status=$?
23888 grep -v '^ *+' conftest.er1 >conftest.err
23889 rm -f conftest.er1
23890 cat conftest.err >&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } &&
23893 { ac_try='test -z "$ac_cxx_werror_flag"
23894 || test ! -s conftest.err'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23897 ac_status=$?
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; } &&
23900 { ac_try='test -s conftest.$ac_objext'
23901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23902 (eval $ac_try) 2>&5
23903 ac_status=$?
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); }; }; then
23906 wx_cv_expat_is_not_broken=yes
23907 else
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23910
23911 wx_cv_expat_is_not_broken=no
23912
23913 fi
23914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23920
23921
23922
23923 fi
23924 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23925 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23926 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23927 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23928 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23929 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 else
23932 ac_check_lib_save_LIBS=$LIBS
23933 LIBS="-lexpat $LIBS"
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940
23941 /* Override any gcc2 internal prototype to avoid an error. */
23942 #ifdef __cplusplus
23943 extern "C"
23944 #endif
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char XML_ParserCreate ();
23948 int
23949 main ()
23950 {
23951 XML_ParserCreate ();
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext conftest$ac_exeext
23957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23958 (eval $ac_link) 2>conftest.er1
23959 ac_status=$?
23960 grep -v '^ *+' conftest.er1 >conftest.err
23961 rm -f conftest.er1
23962 cat conftest.err >&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try='test -z "$ac_c_werror_flag"
23966 || test ! -s conftest.err'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23969 ac_status=$?
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; } &&
23972 { ac_try='test -s conftest$ac_exeext'
23973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23974 (eval $ac_try) 2>&5
23975 ac_status=$?
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); }; }; then
23978 ac_cv_lib_expat_XML_ParserCreate=yes
23979 else
23980 echo "$as_me: failed program was:" >&5
23981 sed 's/^/| /' conftest.$ac_ext >&5
23982
23983 ac_cv_lib_expat_XML_ParserCreate=no
23984 fi
23985 rm -f conftest.err conftest.$ac_objext \
23986 conftest$ac_exeext conftest.$ac_ext
23987 LIBS=$ac_check_lib_save_LIBS
23988 fi
23989 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23990 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23991 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23992 EXPAT_LINK=" -lexpat"
23993 fi
23994
23995 fi
23996 fi
23997 if test "x$EXPAT_LINK" = "x" ; then
23998 if test "$wxUSE_EXPAT" = "sys" ; then
23999 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24000 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24001 { (exit 1); exit 1; }; }
24002 else
24003 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24004 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24005 wxUSE_EXPAT=builtin
24006 fi
24007 else
24008 wxUSE_EXPAT=sys
24009 fi
24010 fi
24011 if test "$wxUSE_EXPAT" = "builtin" ; then
24012
24013
24014 subdirs="$subdirs src/expat"
24015
24016 fi
24017 fi
24018
24019
24020
24021 if test "$wxUSE_LIBMSPACK" != "no"; then
24022 if test "${ac_cv_header_mspack_h+set}" = set; then
24023 echo "$as_me:$LINENO: checking for mspack.h" >&5
24024 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24025 if test "${ac_cv_header_mspack_h+set}" = set; then
24026 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 fi
24028 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24029 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24030 else
24031 # Is the header compilable?
24032 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24033 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24034 cat >conftest.$ac_ext <<_ACEOF
24035 /* confdefs.h. */
24036 _ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 $ac_includes_default
24041 #include <mspack.h>
24042 _ACEOF
24043 rm -f conftest.$ac_objext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24045 (eval $ac_compile) 2>conftest.er1
24046 ac_status=$?
24047 grep -v '^ *+' conftest.er1 >conftest.err
24048 rm -f conftest.er1
24049 cat conftest.err >&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); } &&
24052 { ac_try='test -z "$ac_c_werror_flag"
24053 || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try='test -s conftest.$ac_objext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24062 ac_status=$?
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_header_compiler=yes
24066 else
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24069
24070 ac_header_compiler=no
24071 fi
24072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24074 echo "${ECHO_T}$ac_header_compiler" >&6
24075
24076 # Is the header present?
24077 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24078 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24079 cat >conftest.$ac_ext <<_ACEOF
24080 /* confdefs.h. */
24081 _ACEOF
24082 cat confdefs.h >>conftest.$ac_ext
24083 cat >>conftest.$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 #include <mspack.h>
24086 _ACEOF
24087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24089 ac_status=$?
24090 grep -v '^ *+' conftest.er1 >conftest.err
24091 rm -f conftest.er1
24092 cat conftest.err >&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } >/dev/null; then
24095 if test -s conftest.err; then
24096 ac_cpp_err=$ac_c_preproc_warn_flag
24097 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24098 else
24099 ac_cpp_err=
24100 fi
24101 else
24102 ac_cpp_err=yes
24103 fi
24104 if test -z "$ac_cpp_err"; then
24105 ac_header_preproc=yes
24106 else
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.$ac_ext >&5
24109
24110 ac_header_preproc=no
24111 fi
24112 rm -f conftest.err conftest.$ac_ext
24113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24114 echo "${ECHO_T}$ac_header_preproc" >&6
24115
24116 # So? What about this header?
24117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24118 yes:no: )
24119 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24120 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24122 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24123 ac_header_preproc=yes
24124 ;;
24125 no:yes:* )
24126 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24127 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24128 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24129 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24131 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24132 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24133 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24135 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24136 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24137 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24138 (
24139 cat <<\_ASBOX
24140 ## ----------------------------------------- ##
24141 ## Report this to wx-dev@lists.wxwidgets.org ##
24142 ## ----------------------------------------- ##
24143 _ASBOX
24144 ) |
24145 sed "s/^/$as_me: WARNING: /" >&2
24146 ;;
24147 esac
24148 echo "$as_me:$LINENO: checking for mspack.h" >&5
24149 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24150 if test "${ac_cv_header_mspack_h+set}" = set; then
24151 echo $ECHO_N "(cached) $ECHO_C" >&6
24152 else
24153 ac_cv_header_mspack_h=$ac_header_preproc
24154 fi
24155 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24156 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24157
24158 fi
24159 if test $ac_cv_header_mspack_h = yes; then
24160 found_mspack_h=1
24161 fi
24162
24163
24164 if test "x$found_mspack_h" = "x1"; then
24165 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24166 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24167 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 else
24170 ac_check_lib_save_LIBS=$LIBS
24171 LIBS="-lmspack $LIBS"
24172 cat >conftest.$ac_ext <<_ACEOF
24173 /* confdefs.h. */
24174 _ACEOF
24175 cat confdefs.h >>conftest.$ac_ext
24176 cat >>conftest.$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178
24179 /* Override any gcc2 internal prototype to avoid an error. */
24180 #ifdef __cplusplus
24181 extern "C"
24182 #endif
24183 /* We use char because int might match the return type of a gcc2
24184 builtin and then its argument prototype would still apply. */
24185 char mspack_create_chm_decompressor ();
24186 int
24187 main ()
24188 {
24189 mspack_create_chm_decompressor ();
24190 ;
24191 return 0;
24192 }
24193 _ACEOF
24194 rm -f conftest.$ac_objext conftest$ac_exeext
24195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24196 (eval $ac_link) 2>conftest.er1
24197 ac_status=$?
24198 grep -v '^ *+' conftest.er1 >conftest.err
24199 rm -f conftest.er1
24200 cat conftest.err >&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try='test -z "$ac_c_werror_flag"
24204 || test ! -s conftest.err'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24207 ac_status=$?
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; } &&
24210 { ac_try='test -s conftest$ac_exeext'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24213 ac_status=$?
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; }; then
24216 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24217 else
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.$ac_ext >&5
24220
24221 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24222 fi
24223 rm -f conftest.err conftest.$ac_objext \
24224 conftest$ac_exeext conftest.$ac_ext
24225 LIBS=$ac_check_lib_save_LIBS
24226 fi
24227 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24228 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24229 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24230 MSPACK_LINK=" -lmspack"
24231 fi
24232
24233 fi
24234 if test "x$MSPACK_LINK" = "x" ; then
24235 wxUSE_LIBMSPACK=no
24236 fi
24237 fi
24238
24239 if test "$wxUSE_LIBMSPACK" != "no"; then
24240 cat >>confdefs.h <<\_ACEOF
24241 #define wxUSE_LIBMSPACK 1
24242 _ACEOF
24243
24244 fi
24245
24246
24247
24248 AFMINSTALL=
24249 WIN32INSTALL=
24250
24251 TOOLKIT=
24252 TOOLKIT_INCLUDE=
24253 WIDGET_SET=
24254
24255 if test "$USE_WIN32" = 1 ; then
24256
24257 for ac_header in w32api.h
24258 do
24259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24261 echo "$as_me:$LINENO: checking for $ac_header" >&5
24262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24265 fi
24266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24268 else
24269 # Is the header compilable?
24270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24272 cat >conftest.$ac_ext <<_ACEOF
24273 /* confdefs.h. */
24274 _ACEOF
24275 cat confdefs.h >>conftest.$ac_ext
24276 cat >>conftest.$ac_ext <<_ACEOF
24277 /* end confdefs.h. */
24278 $ac_includes_default
24279 #include <$ac_header>
24280 _ACEOF
24281 rm -f conftest.$ac_objext
24282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24283 (eval $ac_compile) 2>conftest.er1
24284 ac_status=$?
24285 grep -v '^ *+' conftest.er1 >conftest.err
24286 rm -f conftest.er1
24287 cat conftest.err >&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); } &&
24290 { ac_try='test -z "$ac_c_werror_flag"
24291 || test ! -s conftest.err'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; } &&
24297 { ac_try='test -s conftest.$ac_objext'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; }; then
24303 ac_header_compiler=yes
24304 else
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24307
24308 ac_header_compiler=no
24309 fi
24310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24312 echo "${ECHO_T}$ac_header_compiler" >&6
24313
24314 # Is the header present?
24315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 #include <$ac_header>
24324 _ACEOF
24325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24327 ac_status=$?
24328 grep -v '^ *+' conftest.er1 >conftest.err
24329 rm -f conftest.er1
24330 cat conftest.err >&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } >/dev/null; then
24333 if test -s conftest.err; then
24334 ac_cpp_err=$ac_c_preproc_warn_flag
24335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24336 else
24337 ac_cpp_err=
24338 fi
24339 else
24340 ac_cpp_err=yes
24341 fi
24342 if test -z "$ac_cpp_err"; then
24343 ac_header_preproc=yes
24344 else
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 ac_header_preproc=no
24349 fi
24350 rm -f conftest.err conftest.$ac_ext
24351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24352 echo "${ECHO_T}$ac_header_preproc" >&6
24353
24354 # So? What about this header?
24355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24356 yes:no: )
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24361 ac_header_preproc=yes
24362 ;;
24363 no:yes:* )
24364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24376 (
24377 cat <<\_ASBOX
24378 ## ----------------------------------------- ##
24379 ## Report this to wx-dev@lists.wxwidgets.org ##
24380 ## ----------------------------------------- ##
24381 _ASBOX
24382 ) |
24383 sed "s/^/$as_me: WARNING: /" >&2
24384 ;;
24385 esac
24386 echo "$as_me:$LINENO: checking for $ac_header" >&5
24387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391 eval "$as_ac_Header=\$ac_header_preproc"
24392 fi
24393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24395
24396 fi
24397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24398 cat >>confdefs.h <<_ACEOF
24399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24400 _ACEOF
24401
24402 fi
24403
24404 done
24405
24406 if test "${ac_cv_header_windows_h+set}" = set; then
24407 echo "$as_me:$LINENO: checking for windows.h" >&5
24408 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24409 if test "${ac_cv_header_windows_h+set}" = set; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 fi
24412 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24413 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24414 else
24415 # Is the header compilable?
24416 echo "$as_me:$LINENO: checking windows.h usability" >&5
24417 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24418 cat >conftest.$ac_ext <<_ACEOF
24419 /* confdefs.h. */
24420 _ACEOF
24421 cat confdefs.h >>conftest.$ac_ext
24422 cat >>conftest.$ac_ext <<_ACEOF
24423 /* end confdefs.h. */
24424 $ac_includes_default
24425 #include <windows.h>
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24429 (eval $ac_compile) 2>conftest.er1
24430 ac_status=$?
24431 grep -v '^ *+' conftest.er1 >conftest.err
24432 rm -f conftest.er1
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try='test -z "$ac_c_werror_flag"
24437 || test ! -s conftest.err'
24438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439 (eval $ac_try) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); }; } &&
24443 { ac_try='test -s conftest.$ac_objext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_header_compiler=yes
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 ac_header_compiler=no
24455 fi
24456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24458 echo "${ECHO_T}$ac_header_compiler" >&6
24459
24460 # Is the header present?
24461 echo "$as_me:$LINENO: checking windows.h presence" >&5
24462 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24463 cat >conftest.$ac_ext <<_ACEOF
24464 /* confdefs.h. */
24465 _ACEOF
24466 cat confdefs.h >>conftest.$ac_ext
24467 cat >>conftest.$ac_ext <<_ACEOF
24468 /* end confdefs.h. */
24469 #include <windows.h>
24470 _ACEOF
24471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } >/dev/null; then
24479 if test -s conftest.err; then
24480 ac_cpp_err=$ac_c_preproc_warn_flag
24481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24482 else
24483 ac_cpp_err=
24484 fi
24485 else
24486 ac_cpp_err=yes
24487 fi
24488 if test -z "$ac_cpp_err"; then
24489 ac_header_preproc=yes
24490 else
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24493
24494 ac_header_preproc=no
24495 fi
24496 rm -f conftest.err conftest.$ac_ext
24497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24498 echo "${ECHO_T}$ac_header_preproc" >&6
24499
24500 # So? What about this header?
24501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24502 yes:no: )
24503 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24504 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24506 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24507 ac_header_preproc=yes
24508 ;;
24509 no:yes:* )
24510 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24511 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24512 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24513 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24514 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24515 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24516 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24517 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24518 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24519 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24521 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24522 (
24523 cat <<\_ASBOX
24524 ## ----------------------------------------- ##
24525 ## Report this to wx-dev@lists.wxwidgets.org ##
24526 ## ----------------------------------------- ##
24527 _ASBOX
24528 ) |
24529 sed "s/^/$as_me: WARNING: /" >&2
24530 ;;
24531 esac
24532 echo "$as_me:$LINENO: checking for windows.h" >&5
24533 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24534 if test "${ac_cv_header_windows_h+set}" = set; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 else
24537 ac_cv_header_windows_h=$ac_header_preproc
24538 fi
24539 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24540 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24541
24542 fi
24543 if test $ac_cv_header_windows_h = yes; then
24544 :
24545 else
24546
24547 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24548 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24549 { (exit 1); exit 1; }; }
24550
24551 fi
24552
24553
24554
24555 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24556
24557 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24558 LIBS="$LIBS -loleacc"
24559 fi
24560
24561 case "${host}" in
24562 *-*-cygwin* )
24563 LIBS="$LIBS -lkernel32 -luser32"
24564 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24565 esac
24566
24567 if test "$wxUSE_ODBC" = "sys" ; then
24568 wxUSE_ODBC = "yes"
24569 fi
24570 if test "$wxUSE_ODBC" = "yes" ; then
24571 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24572 cat >>confdefs.h <<\_ACEOF
24573 #define wxUSE_ODBC 1
24574 _ACEOF
24575
24576 fi
24577
24578 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24579 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24580
24581 WIN32INSTALL=win32install
24582 fi
24583
24584 if test "$wxUSE_GUI" = "yes"; then
24585 USE_GUI=1
24586
24587 GUI_TK_LIBRARY=
24588
24589 WXGTK12=
24590 WXGTK127=
24591 WXGTK20=
24592 WXGPE=
24593
24594 if test "$wxUSE_COCOA" = 1 ; then
24595 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24596 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24597 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24598 wxUSE_PRINTING_ARCHITECTURE=no
24599 fi
24600 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24601 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24602 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24603 wxUSE_DRAG_AND_DROP=no
24604 fi
24605 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24606 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24607 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24608 wxUSE_DRAGIMAGE=no
24609 fi
24610 fi
24611
24612 if test "$wxUSE_MSW" = 1 ; then
24613 TOOLKIT=MSW
24614 GUIDIST=MSW_DIST
24615
24616 case "${host}" in
24617 *-*-mingw32* )
24618 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24619 esac
24620 fi
24621
24622 if test "$wxUSE_GTK" = 1; then
24623 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24624 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24625
24626 gtk_version_cached=1
24627 if test "${wx_cv_lib_gtk+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24629 else
24630
24631 gtk_version_cached=0
24632 echo "$as_me:$LINENO: result: " >&5
24633 echo "${ECHO_T}" >&6
24634
24635 GTK_MODULES=
24636 if test "$wxUSE_THREADS" = "yes"; then
24637 GTK_MODULES=gthread
24638 fi
24639
24640 wx_cv_lib_gtk=
24641 if test "x$wxGTK_VERSION" != "x1"; then
24642 # Check whether --enable-gtktest or --disable-gtktest was given.
24643 if test "${enable_gtktest+set}" = set; then
24644 enableval="$enable_gtktest"
24645
24646 else
24647 enable_gtktest=yes
24648 fi;
24649
24650 pkg_config_args=gtk+-2.0
24651 for module in . $GTK_MODULES
24652 do
24653 case "$module" in
24654 gthread)
24655 pkg_config_args="$pkg_config_args gthread-2.0"
24656 ;;
24657 esac
24658 done
24659
24660 no_gtk=""
24661
24662 # Extract the first word of "pkg-config", so it can be a program name with args.
24663 set dummy pkg-config; ac_word=$2
24664 echo "$as_me:$LINENO: checking for $ac_word" >&5
24665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24666 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24667 echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669 case $PKG_CONFIG in
24670 [\\/]* | ?:[\\/]*)
24671 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24672 ;;
24673 *)
24674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24675 for as_dir in $PATH
24676 do
24677 IFS=$as_save_IFS
24678 test -z "$as_dir" && as_dir=.
24679 for ac_exec_ext in '' $ac_executable_extensions; do
24680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24681 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24683 break 2
24684 fi
24685 done
24686 done
24687
24688 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24689 ;;
24690 esac
24691 fi
24692 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24693
24694 if test -n "$PKG_CONFIG"; then
24695 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24696 echo "${ECHO_T}$PKG_CONFIG" >&6
24697 else
24698 echo "$as_me:$LINENO: result: no" >&5
24699 echo "${ECHO_T}no" >&6
24700 fi
24701
24702
24703 if test x$PKG_CONFIG != xno ; then
24704 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24705 :
24706 else
24707 echo "*** pkg-config too old; version 0.7 or better required."
24708 no_gtk=yes
24709 PKG_CONFIG=no
24710 fi
24711 else
24712 no_gtk=yes
24713 fi
24714
24715 min_gtk_version=2.0.0
24716 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24717 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24718
24719 if test x$PKG_CONFIG != xno ; then
24720 ## don't try to run the test against uninstalled libtool libs
24721 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24722 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24723 enable_gtktest=no
24724 fi
24725
24726 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24727 :
24728 else
24729 no_gtk=yes
24730 fi
24731 fi
24732
24733 if test x"$no_gtk" = x ; then
24734 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24735 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24736 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24738 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24740 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24742 if test "x$enable_gtktest" = "xyes" ; then
24743 ac_save_CFLAGS="$CFLAGS"
24744 ac_save_LIBS="$LIBS"
24745 CFLAGS="$CFLAGS $GTK_CFLAGS"
24746 LIBS="$GTK_LIBS $LIBS"
24747 rm -f conf.gtktest
24748 if test "$cross_compiling" = yes; then
24749 echo $ac_n "cross compiling; assumed OK... $ac_c"
24750 else
24751 cat >conftest.$ac_ext <<_ACEOF
24752 /* confdefs.h. */
24753 _ACEOF
24754 cat confdefs.h >>conftest.$ac_ext
24755 cat >>conftest.$ac_ext <<_ACEOF
24756 /* end confdefs.h. */
24757
24758 #include <gtk/gtk.h>
24759 #include <stdio.h>
24760 #include <stdlib.h>
24761
24762 int
24763 main ()
24764 {
24765 int major, minor, micro;
24766 char *tmp_version;
24767
24768 system ("touch conf.gtktest");
24769
24770 /* HP/UX 9 (%@#!) writes to sscanf strings */
24771 tmp_version = g_strdup("$min_gtk_version");
24772 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24773 printf("%s, bad version string\n", "$min_gtk_version");
24774 exit(1);
24775 }
24776
24777 if ((gtk_major_version != $gtk_config_major_version) ||
24778 (gtk_minor_version != $gtk_config_minor_version) ||
24779 (gtk_micro_version != $gtk_config_micro_version))
24780 {
24781 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24782 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24783 gtk_major_version, gtk_minor_version, gtk_micro_version);
24784 printf ("*** was found! If pkg-config was correct, then it is best\n");
24785 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24786 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24787 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24788 printf("*** required on your system.\n");
24789 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24790 printf("*** to point to the correct configuration files\n");
24791 }
24792 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24793 (gtk_minor_version != GTK_MINOR_VERSION) ||
24794 (gtk_micro_version != GTK_MICRO_VERSION))
24795 {
24796 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24797 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24798 printf("*** library (version %d.%d.%d)\n",
24799 gtk_major_version, gtk_minor_version, gtk_micro_version);
24800 }
24801 else
24802 {
24803 if ((gtk_major_version > major) ||
24804 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24805 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24806 {
24807 return 0;
24808 }
24809 else
24810 {
24811 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24812 gtk_major_version, gtk_minor_version, gtk_micro_version);
24813 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24814 major, minor, micro);
24815 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24816 printf("***\n");
24817 printf("*** If you have already installed a sufficiently new version, this error\n");
24818 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24819 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24820 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24821 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24822 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24823 printf("*** so that the correct libraries are found at run-time))\n");
24824 }
24825 }
24826 return 1;
24827 }
24828
24829 _ACEOF
24830 rm -f conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24838 ac_status=$?
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 :
24842 else
24843 echo "$as_me: program exited with status $ac_status" >&5
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 ( exit $ac_status )
24848 no_gtk=yes
24849 fi
24850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24851 fi
24852 CFLAGS="$ac_save_CFLAGS"
24853 LIBS="$ac_save_LIBS"
24854 fi
24855 fi
24856 if test "x$no_gtk" = x ; then
24857 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24858 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24859 wx_cv_lib_gtk=2.0
24860 else
24861 echo "$as_me:$LINENO: result: no" >&5
24862 echo "${ECHO_T}no" >&6
24863 if test "$PKG_CONFIG" = "no" ; then
24864 echo "*** A new enough version of pkg-config was not found."
24865 echo "*** See http://pkgconfig.sourceforge.net"
24866 else
24867 if test -f conf.gtktest ; then
24868 :
24869 else
24870 echo "*** Could not run GTK+ test program, checking why..."
24871 ac_save_CFLAGS="$CFLAGS"
24872 ac_save_LIBS="$LIBS"
24873 CFLAGS="$CFLAGS $GTK_CFLAGS"
24874 LIBS="$LIBS $GTK_LIBS"
24875 cat >conftest.$ac_ext <<_ACEOF
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882 #include <gtk/gtk.h>
24883 #include <stdio.h>
24884
24885 int
24886 main ()
24887 {
24888 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest$ac_exeext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 echo "*** The test program compiled, but did not run. This usually means"
24916 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24917 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24918 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24919 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24920 echo "*** is required on your system"
24921 echo "***"
24922 echo "*** If you have an old version installed, it is best to remove it, although"
24923 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 echo "*** The test program failed to compile or link. See the file config.log for the"
24929 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24930 fi
24931 rm -f conftest.err conftest.$ac_objext \
24932 conftest$ac_exeext conftest.$ac_ext
24933 CFLAGS="$ac_save_CFLAGS"
24934 LIBS="$ac_save_LIBS"
24935 fi
24936 fi
24937 GTK_CFLAGS=""
24938 GTK_LIBS=""
24939 :
24940 fi
24941
24942
24943 rm -f conf.gtktest
24944
24945 fi
24946
24947 if test -z "$wx_cv_lib_gtk"; then
24948 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24949
24950 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24951 if test "${with_gtk_prefix+set}" = set; then
24952 withval="$with_gtk_prefix"
24953 gtk_config_prefix="$withval"
24954 else
24955 gtk_config_prefix=""
24956 fi;
24957
24958 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24959 if test "${with_gtk_exec_prefix+set}" = set; then
24960 withval="$with_gtk_exec_prefix"
24961 gtk_config_exec_prefix="$withval"
24962 else
24963 gtk_config_exec_prefix=""
24964 fi;
24965 # Check whether --enable-gtktest or --disable-gtktest was given.
24966 if test "${enable_gtktest+set}" = set; then
24967 enableval="$enable_gtktest"
24968
24969 else
24970 enable_gtktest=yes
24971 fi;
24972
24973 for module in . $GTK_MODULES
24974 do
24975 case "$module" in
24976 gthread)
24977 gtk_config_args="$gtk_config_args gthread"
24978 ;;
24979 esac
24980 done
24981
24982 if test x$gtk_config_exec_prefix != x ; then
24983 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24984 if test x${GTK_CONFIG+set} != xset ; then
24985 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24986 fi
24987 fi
24988 if test x$gtk_config_prefix != x ; then
24989 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24990 if test x${GTK_CONFIG+set} != xset ; then
24991 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24992 fi
24993 fi
24994
24995 # Extract the first word of "gtk-config", so it can be a program name with args.
24996 set dummy gtk-config; ac_word=$2
24997 echo "$as_me:$LINENO: checking for $ac_word" >&5
24998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24999 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 case $GTK_CONFIG in
25003 [\\/]* | ?:[\\/]*)
25004 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25005 ;;
25006 *)
25007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25008 for as_dir in $PATH
25009 do
25010 IFS=$as_save_IFS
25011 test -z "$as_dir" && as_dir=.
25012 for ac_exec_ext in '' $ac_executable_extensions; do
25013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25014 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25016 break 2
25017 fi
25018 done
25019 done
25020
25021 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25022 ;;
25023 esac
25024 fi
25025 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25026
25027 if test -n "$GTK_CONFIG"; then
25028 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25029 echo "${ECHO_T}$GTK_CONFIG" >&6
25030 else
25031 echo "$as_me:$LINENO: result: no" >&5
25032 echo "${ECHO_T}no" >&6
25033 fi
25034
25035 min_gtk_version=1.2.7
25036 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25037 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25038 no_gtk=""
25039 if test "$GTK_CONFIG" = "no" ; then
25040 no_gtk=yes
25041 else
25042 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25043 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25044 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25046 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25048 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25050 if test "x$enable_gtktest" = "xyes" ; then
25051 ac_save_CFLAGS="$CFLAGS"
25052 ac_save_LIBS="$LIBS"
25053 CFLAGS="$CFLAGS $GTK_CFLAGS"
25054 LIBS="$GTK_LIBS $LIBS"
25055 rm -f conf.gtktest
25056 if test "$cross_compiling" = yes; then
25057 echo $ac_n "cross compiling; assumed OK... $ac_c"
25058 else
25059 cat >conftest.$ac_ext <<_ACEOF
25060 /* confdefs.h. */
25061 _ACEOF
25062 cat confdefs.h >>conftest.$ac_ext
25063 cat >>conftest.$ac_ext <<_ACEOF
25064 /* end confdefs.h. */
25065
25066 #include <gtk/gtk.h>
25067 #include <stdio.h>
25068 #include <stdlib.h>
25069
25070 int
25071 main ()
25072 {
25073 int major, minor, micro;
25074 char *tmp_version;
25075
25076 system ("touch conf.gtktest");
25077
25078 /* HP/UX 9 (%@#!) writes to sscanf strings */
25079 tmp_version = g_strdup("$min_gtk_version");
25080 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25081 printf("%s, bad version string\n", "$min_gtk_version");
25082 exit(1);
25083 }
25084
25085 if ((gtk_major_version != $gtk_config_major_version) ||
25086 (gtk_minor_version != $gtk_config_minor_version) ||
25087 (gtk_micro_version != $gtk_config_micro_version))
25088 {
25089 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25090 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25091 gtk_major_version, gtk_minor_version, gtk_micro_version);
25092 printf ("*** was found! If gtk-config was correct, then it is best\n");
25093 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25094 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25095 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25096 printf("*** required on your system.\n");
25097 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25098 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25099 printf("*** before re-running configure\n");
25100 }
25101 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25102 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25103 (gtk_minor_version != GTK_MINOR_VERSION) ||
25104 (gtk_micro_version != GTK_MICRO_VERSION))
25105 {
25106 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25107 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25108 printf("*** library (version %d.%d.%d)\n",
25109 gtk_major_version, gtk_minor_version, gtk_micro_version);
25110 }
25111 #endif /* defined (GTK_MAJOR_VERSION) ... */
25112 else
25113 {
25114 if ((gtk_major_version > major) ||
25115 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25116 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25117 {
25118 return 0;
25119 }
25120 else
25121 {
25122 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25123 gtk_major_version, gtk_minor_version, gtk_micro_version);
25124 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25125 major, minor, micro);
25126 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25127 printf("***\n");
25128 printf("*** If you have already installed a sufficiently new version, this error\n");
25129 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25130 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25131 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25132 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25133 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25134 printf("*** so that the correct libraries are found at run-time))\n");
25135 }
25136 }
25137 return 1;
25138 }
25139
25140 _ACEOF
25141 rm -f conftest$ac_exeext
25142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25143 (eval $ac_link) 2>&5
25144 ac_status=$?
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25148 (eval $ac_try) 2>&5
25149 ac_status=$?
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); }; }; then
25152 :
25153 else
25154 echo "$as_me: program exited with status $ac_status" >&5
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25157
25158 ( exit $ac_status )
25159 no_gtk=yes
25160 fi
25161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25162 fi
25163 CFLAGS="$ac_save_CFLAGS"
25164 LIBS="$ac_save_LIBS"
25165 fi
25166 fi
25167 if test "x$no_gtk" = x ; then
25168 echo "$as_me:$LINENO: result: yes" >&5
25169 echo "${ECHO_T}yes" >&6
25170 wx_cv_lib_gtk=1.2.7
25171 else
25172 echo "$as_me:$LINENO: result: no" >&5
25173 echo "${ECHO_T}no" >&6
25174 if test "$GTK_CONFIG" = "no" ; then
25175 echo "*** The gtk-config script installed by GTK could not be found"
25176 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25177 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25178 echo "*** full path to gtk-config."
25179 else
25180 if test -f conf.gtktest ; then
25181 :
25182 else
25183 echo "*** Could not run GTK test program, checking why..."
25184 CFLAGS="$CFLAGS $GTK_CFLAGS"
25185 LIBS="$LIBS $GTK_LIBS"
25186 cat >conftest.$ac_ext <<_ACEOF
25187 /* confdefs.h. */
25188 _ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192
25193 #include <gtk/gtk.h>
25194 #include <stdio.h>
25195
25196 int
25197 main ()
25198 {
25199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25200 ;
25201 return 0;
25202 }
25203 _ACEOF
25204 rm -f conftest.$ac_objext conftest$ac_exeext
25205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25206 (eval $ac_link) 2>conftest.er1
25207 ac_status=$?
25208 grep -v '^ *+' conftest.er1 >conftest.err
25209 rm -f conftest.er1
25210 cat conftest.err >&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } &&
25213 { ac_try='test -z "$ac_c_werror_flag"
25214 || test ! -s conftest.err'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25217 ac_status=$?
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; } &&
25220 { ac_try='test -s conftest$ac_exeext'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25223 ac_status=$?
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; }; then
25226 echo "*** The test program compiled, but did not run. This usually means"
25227 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25228 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25229 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25230 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25231 echo "*** is required on your system"
25232 echo "***"
25233 echo "*** If you have an old version installed, it is best to remove it, although"
25234 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25235 echo "***"
25236 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25237 echo "*** came with the system with the command"
25238 echo "***"
25239 echo "*** rpm --erase --nodeps gtk gtk-devel"
25240 else
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25243
25244 echo "*** The test program failed to compile or link. See the file config.log for the"
25245 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25246 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25247 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25248 fi
25249 rm -f conftest.err conftest.$ac_objext \
25250 conftest$ac_exeext conftest.$ac_ext
25251 CFLAGS="$ac_save_CFLAGS"
25252 LIBS="$ac_save_LIBS"
25253 fi
25254 fi
25255 GTK_CFLAGS=""
25256 GTK_LIBS=""
25257 :
25258 fi
25259
25260
25261 rm -f conf.gtktest
25262
25263
25264 if test -z "$wx_cv_lib_gtk"; then
25265
25266 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25267 if test "${with_gtk_prefix+set}" = set; then
25268 withval="$with_gtk_prefix"
25269 gtk_config_prefix="$withval"
25270 else
25271 gtk_config_prefix=""
25272 fi;
25273
25274 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25275 if test "${with_gtk_exec_prefix+set}" = set; then
25276 withval="$with_gtk_exec_prefix"
25277 gtk_config_exec_prefix="$withval"
25278 else
25279 gtk_config_exec_prefix=""
25280 fi;
25281 # Check whether --enable-gtktest or --disable-gtktest was given.
25282 if test "${enable_gtktest+set}" = set; then
25283 enableval="$enable_gtktest"
25284
25285 else
25286 enable_gtktest=yes
25287 fi;
25288
25289 for module in . $GTK_MODULES
25290 do
25291 case "$module" in
25292 gthread)
25293 gtk_config_args="$gtk_config_args gthread"
25294 ;;
25295 esac
25296 done
25297
25298 if test x$gtk_config_exec_prefix != x ; then
25299 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25300 if test x${GTK_CONFIG+set} != xset ; then
25301 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25302 fi
25303 fi
25304 if test x$gtk_config_prefix != x ; then
25305 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25306 if test x${GTK_CONFIG+set} != xset ; then
25307 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25308 fi
25309 fi
25310
25311 # Extract the first word of "gtk-config", so it can be a program name with args.
25312 set dummy gtk-config; ac_word=$2
25313 echo "$as_me:$LINENO: checking for $ac_word" >&5
25314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25315 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 else
25318 case $GTK_CONFIG in
25319 [\\/]* | ?:[\\/]*)
25320 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25321 ;;
25322 *)
25323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25324 for as_dir in $PATH
25325 do
25326 IFS=$as_save_IFS
25327 test -z "$as_dir" && as_dir=.
25328 for ac_exec_ext in '' $ac_executable_extensions; do
25329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25330 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25332 break 2
25333 fi
25334 done
25335 done
25336
25337 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25338 ;;
25339 esac
25340 fi
25341 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25342
25343 if test -n "$GTK_CONFIG"; then
25344 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25345 echo "${ECHO_T}$GTK_CONFIG" >&6
25346 else
25347 echo "$as_me:$LINENO: result: no" >&5
25348 echo "${ECHO_T}no" >&6
25349 fi
25350
25351 min_gtk_version=1.2.3
25352 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25353 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25354 no_gtk=""
25355 if test "$GTK_CONFIG" = "no" ; then
25356 no_gtk=yes
25357 else
25358 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25359 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25360 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25362 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25364 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25366 if test "x$enable_gtktest" = "xyes" ; then
25367 ac_save_CFLAGS="$CFLAGS"
25368 ac_save_LIBS="$LIBS"
25369 CFLAGS="$CFLAGS $GTK_CFLAGS"
25370 LIBS="$GTK_LIBS $LIBS"
25371 rm -f conf.gtktest
25372 if test "$cross_compiling" = yes; then
25373 echo $ac_n "cross compiling; assumed OK... $ac_c"
25374 else
25375 cat >conftest.$ac_ext <<_ACEOF
25376 /* confdefs.h. */
25377 _ACEOF
25378 cat confdefs.h >>conftest.$ac_ext
25379 cat >>conftest.$ac_ext <<_ACEOF
25380 /* end confdefs.h. */
25381
25382 #include <gtk/gtk.h>
25383 #include <stdio.h>
25384 #include <stdlib.h>
25385
25386 int
25387 main ()
25388 {
25389 int major, minor, micro;
25390 char *tmp_version;
25391
25392 system ("touch conf.gtktest");
25393
25394 /* HP/UX 9 (%@#!) writes to sscanf strings */
25395 tmp_version = g_strdup("$min_gtk_version");
25396 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25397 printf("%s, bad version string\n", "$min_gtk_version");
25398 exit(1);
25399 }
25400
25401 if ((gtk_major_version != $gtk_config_major_version) ||
25402 (gtk_minor_version != $gtk_config_minor_version) ||
25403 (gtk_micro_version != $gtk_config_micro_version))
25404 {
25405 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25406 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25407 gtk_major_version, gtk_minor_version, gtk_micro_version);
25408 printf ("*** was found! If gtk-config was correct, then it is best\n");
25409 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25410 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25411 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25412 printf("*** required on your system.\n");
25413 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25414 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25415 printf("*** before re-running configure\n");
25416 }
25417 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25418 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25419 (gtk_minor_version != GTK_MINOR_VERSION) ||
25420 (gtk_micro_version != GTK_MICRO_VERSION))
25421 {
25422 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25423 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25424 printf("*** library (version %d.%d.%d)\n",
25425 gtk_major_version, gtk_minor_version, gtk_micro_version);
25426 }
25427 #endif /* defined (GTK_MAJOR_VERSION) ... */
25428 else
25429 {
25430 if ((gtk_major_version > major) ||
25431 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25432 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25433 {
25434 return 0;
25435 }
25436 else
25437 {
25438 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25439 gtk_major_version, gtk_minor_version, gtk_micro_version);
25440 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25441 major, minor, micro);
25442 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25443 printf("***\n");
25444 printf("*** If you have already installed a sufficiently new version, this error\n");
25445 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25446 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25447 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25448 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25449 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25450 printf("*** so that the correct libraries are found at run-time))\n");
25451 }
25452 }
25453 return 1;
25454 }
25455
25456 _ACEOF
25457 rm -f conftest$ac_exeext
25458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25459 (eval $ac_link) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25464 (eval $ac_try) 2>&5
25465 ac_status=$?
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); }; }; then
25468 :
25469 else
25470 echo "$as_me: program exited with status $ac_status" >&5
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.$ac_ext >&5
25473
25474 ( exit $ac_status )
25475 no_gtk=yes
25476 fi
25477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25478 fi
25479 CFLAGS="$ac_save_CFLAGS"
25480 LIBS="$ac_save_LIBS"
25481 fi
25482 fi
25483 if test "x$no_gtk" = x ; then
25484 echo "$as_me:$LINENO: result: yes" >&5
25485 echo "${ECHO_T}yes" >&6
25486 wx_cv_lib_gtk=1.2.3
25487 else
25488 echo "$as_me:$LINENO: result: no" >&5
25489 echo "${ECHO_T}no" >&6
25490 if test "$GTK_CONFIG" = "no" ; then
25491 echo "*** The gtk-config script installed by GTK could not be found"
25492 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25493 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25494 echo "*** full path to gtk-config."
25495 else
25496 if test -f conf.gtktest ; then
25497 :
25498 else
25499 echo "*** Could not run GTK test program, checking why..."
25500 CFLAGS="$CFLAGS $GTK_CFLAGS"
25501 LIBS="$LIBS $GTK_LIBS"
25502 cat >conftest.$ac_ext <<_ACEOF
25503 /* confdefs.h. */
25504 _ACEOF
25505 cat confdefs.h >>conftest.$ac_ext
25506 cat >>conftest.$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25508
25509 #include <gtk/gtk.h>
25510 #include <stdio.h>
25511
25512 int
25513 main ()
25514 {
25515 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25516 ;
25517 return 0;
25518 }
25519 _ACEOF
25520 rm -f conftest.$ac_objext conftest$ac_exeext
25521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25522 (eval $ac_link) 2>conftest.er1
25523 ac_status=$?
25524 grep -v '^ *+' conftest.er1 >conftest.err
25525 rm -f conftest.er1
25526 cat conftest.err >&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } &&
25529 { ac_try='test -z "$ac_c_werror_flag"
25530 || test ! -s conftest.err'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; } &&
25536 { ac_try='test -s conftest$ac_exeext'
25537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25538 (eval $ac_try) 2>&5
25539 ac_status=$?
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; }; then
25542 echo "*** The test program compiled, but did not run. This usually means"
25543 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25544 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25545 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25546 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25547 echo "*** is required on your system"
25548 echo "***"
25549 echo "*** If you have an old version installed, it is best to remove it, although"
25550 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25551 echo "***"
25552 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25553 echo "*** came with the system with the command"
25554 echo "***"
25555 echo "*** rpm --erase --nodeps gtk gtk-devel"
25556 else
25557 echo "$as_me: failed program was:" >&5
25558 sed 's/^/| /' conftest.$ac_ext >&5
25559
25560 echo "*** The test program failed to compile or link. See the file config.log for the"
25561 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25562 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25563 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25564 fi
25565 rm -f conftest.err conftest.$ac_objext \
25566 conftest$ac_exeext conftest.$ac_ext
25567 CFLAGS="$ac_save_CFLAGS"
25568 LIBS="$ac_save_LIBS"
25569 fi
25570 fi
25571 GTK_CFLAGS=""
25572 GTK_LIBS=""
25573 :
25574 fi
25575
25576
25577 rm -f conf.gtktest
25578
25579 fi
25580 fi
25581 fi
25582
25583 if test -z "$wx_cv_lib_gtk"; then
25584 wx_cv_lib_gtk=none
25585 else
25586 wx_cv_cflags_gtk=$GTK_CFLAGS
25587 wx_cv_libs_gtk=$GTK_LIBS
25588 fi
25589
25590
25591 fi
25592
25593
25594 if test "$gtk_version_cached" = 1; then
25595 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25596 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25597 fi
25598
25599 case "$wx_cv_lib_gtk" in
25600 2.0) WXGTK20=1
25601 TOOLKIT_VERSION=2
25602 ;;
25603 1.2.7) WXGTK127=1
25604 WXGTK12=1
25605 ;;
25606 1.2.3) WXGTK12=1
25607 ;;
25608 *) { { echo "$as_me:$LINENO: error:
25609 The development files for GTK+ were not found. For GTK+ 2, please
25610 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25611 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25612 and that the version is 1.2.3 or above. Also check that the
25613 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25614 --libs' are in the LD_LIBRARY_PATH or equivalent.
25615 " >&5
25616 echo "$as_me: error:
25617 The development files for GTK+ were not found. For GTK+ 2, please
25618 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25619 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25620 and that the version is 1.2.3 or above. Also check that the
25621 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25622 --libs' are in the LD_LIBRARY_PATH or equivalent.
25623 " >&2;}
25624 { (exit 1); exit 1; }; }
25625 ;;
25626 esac
25627
25628 if test "$WXGTK20" = 1; then
25629 save_CFLAGS="$CFLAGS"
25630 save_LIBS="$LIBS"
25631 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25632 LIBS="$LIBS $wx_cv_lib_gtk"
25633
25634
25635 for ac_func in pango_font_family_is_monospace
25636 do
25637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25638 echo "$as_me:$LINENO: checking for $ac_func" >&5
25639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25640 if eval "test \"\${$as_ac_var+set}\" = set"; then
25641 echo $ECHO_N "(cached) $ECHO_C" >&6
25642 else
25643 cat >conftest.$ac_ext <<_ACEOF
25644 /* confdefs.h. */
25645 _ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25651 #define $ac_func innocuous_$ac_func
25652
25653 /* System header to define __stub macros and hopefully few prototypes,
25654 which can conflict with char $ac_func (); below.
25655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25656 <limits.h> exists even on freestanding compilers. */
25657
25658 #ifdef __STDC__
25659 # include <limits.h>
25660 #else
25661 # include <assert.h>
25662 #endif
25663
25664 #undef $ac_func
25665
25666 /* Override any gcc2 internal prototype to avoid an error. */
25667 #ifdef __cplusplus
25668 extern "C"
25669 {
25670 #endif
25671 /* We use char because int might match the return type of a gcc2
25672 builtin and then its argument prototype would still apply. */
25673 char $ac_func ();
25674 /* The GNU C library defines this for functions which it implements
25675 to always fail with ENOSYS. Some functions are actually named
25676 something starting with __ and the normal name is an alias. */
25677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25678 choke me
25679 #else
25680 char (*f) () = $ac_func;
25681 #endif
25682 #ifdef __cplusplus
25683 }
25684 #endif
25685
25686 int
25687 main ()
25688 {
25689 return f != $ac_func;
25690 ;
25691 return 0;
25692 }
25693 _ACEOF
25694 rm -f conftest.$ac_objext conftest$ac_exeext
25695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25696 (eval $ac_link) 2>conftest.er1
25697 ac_status=$?
25698 grep -v '^ *+' conftest.er1 >conftest.err
25699 rm -f conftest.er1
25700 cat conftest.err >&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try='test -z "$ac_c_werror_flag"
25704 || test ! -s conftest.err'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; } &&
25710 { ac_try='test -s conftest$ac_exeext'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25713 ac_status=$?
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; }; then
25716 eval "$as_ac_var=yes"
25717 else
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 eval "$as_ac_var=no"
25722 fi
25723 rm -f conftest.err conftest.$ac_objext \
25724 conftest$ac_exeext conftest.$ac_ext
25725 fi
25726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25728 if test `eval echo '${'$as_ac_var'}'` = yes; then
25729 cat >>confdefs.h <<_ACEOF
25730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25731 _ACEOF
25732
25733 fi
25734 done
25735
25736
25737 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25738 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25739 cat >conftest.$ac_ext <<_ACEOF
25740 /* confdefs.h. */
25741 _ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25745
25746 #include <gtk/gtk.h>
25747
25748 int
25749 main ()
25750 {
25751
25752 #if !GTK_CHECK_VERSION(2,4,0)
25753 #error "Not GTK+ 2.4"
25754 #endif
25755
25756 ;
25757 return 0;
25758 }
25759 _ACEOF
25760 rm -f conftest.$ac_objext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25762 (eval $ac_compile) 2>conftest.er1
25763 ac_status=$?
25764 grep -v '^ *+' conftest.er1 >conftest.err
25765 rm -f conftest.er1
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } &&
25769 { ac_try='test -z "$ac_c_werror_flag"
25770 || test ! -s conftest.err'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; } &&
25776 { ac_try='test -s conftest.$ac_objext'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; }; then
25782
25783 cat >>confdefs.h <<\_ACEOF
25784 #define __WXGTK24__ 1
25785 _ACEOF
25786
25787 echo "$as_me:$LINENO: result: yes" >&5
25788 echo "${ECHO_T}yes" >&6
25789
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25793
25794
25795 echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6
25797
25798 fi
25799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25800
25801 CFLAGS="$save_CFLAGS"
25802 LIBS="$save_LIBS"
25803 else
25804 if test "$wxUSE_UNICODE" = "yes"; then
25805 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25806 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25807 wxUSE_UNICODE=no
25808 fi
25809 fi
25810
25811 if test "$USE_DARWIN" != 1; then
25812
25813 for ac_func in poll
25814 do
25815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25816 echo "$as_me:$LINENO: checking for $ac_func" >&5
25817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25818 if eval "test \"\${$as_ac_var+set}\" = set"; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 else
25821 cat >conftest.$ac_ext <<_ACEOF
25822 /* confdefs.h. */
25823 _ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25829 #define $ac_func innocuous_$ac_func
25830
25831 /* System header to define __stub macros and hopefully few prototypes,
25832 which can conflict with char $ac_func (); below.
25833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25834 <limits.h> exists even on freestanding compilers. */
25835
25836 #ifdef __STDC__
25837 # include <limits.h>
25838 #else
25839 # include <assert.h>
25840 #endif
25841
25842 #undef $ac_func
25843
25844 /* Override any gcc2 internal prototype to avoid an error. */
25845 #ifdef __cplusplus
25846 extern "C"
25847 {
25848 #endif
25849 /* We use char because int might match the return type of a gcc2
25850 builtin and then its argument prototype would still apply. */
25851 char $ac_func ();
25852 /* The GNU C library defines this for functions which it implements
25853 to always fail with ENOSYS. Some functions are actually named
25854 something starting with __ and the normal name is an alias. */
25855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25856 choke me
25857 #else
25858 char (*f) () = $ac_func;
25859 #endif
25860 #ifdef __cplusplus
25861 }
25862 #endif
25863
25864 int
25865 main ()
25866 {
25867 return f != $ac_func;
25868 ;
25869 return 0;
25870 }
25871 _ACEOF
25872 rm -f conftest.$ac_objext conftest$ac_exeext
25873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25874 (eval $ac_link) 2>conftest.er1
25875 ac_status=$?
25876 grep -v '^ *+' conftest.er1 >conftest.err
25877 rm -f conftest.er1
25878 cat conftest.err >&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } &&
25881 { ac_try='test -z "$ac_c_werror_flag"
25882 || test ! -s conftest.err'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; } &&
25888 { ac_try='test -s conftest$ac_exeext'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; }; then
25894 eval "$as_ac_var=yes"
25895 else
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.$ac_ext >&5
25898
25899 eval "$as_ac_var=no"
25900 fi
25901 rm -f conftest.err conftest.$ac_objext \
25902 conftest$ac_exeext conftest.$ac_ext
25903 fi
25904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25906 if test `eval echo '${'$as_ac_var'}'` = yes; then
25907 cat >>confdefs.h <<_ACEOF
25908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25909 _ACEOF
25910
25911 fi
25912 done
25913
25914 fi
25915
25916 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25917 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25918
25919 AFMINSTALL=afminstall
25920 TOOLKIT=GTK
25921 GUIDIST=GTK_DIST
25922
25923 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25924 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25925 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 else
25928 ac_check_lib_save_LIBS=$LIBS
25929 LIBS="-lgdk $LIBS"
25930 cat >conftest.$ac_ext <<_ACEOF
25931 /* confdefs.h. */
25932 _ACEOF
25933 cat confdefs.h >>conftest.$ac_ext
25934 cat >>conftest.$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936
25937 /* Override any gcc2 internal prototype to avoid an error. */
25938 #ifdef __cplusplus
25939 extern "C"
25940 #endif
25941 /* We use char because int might match the return type of a gcc2
25942 builtin and then its argument prototype would still apply. */
25943 char gdk_im_open ();
25944 int
25945 main ()
25946 {
25947 gdk_im_open ();
25948 ;
25949 return 0;
25950 }
25951 _ACEOF
25952 rm -f conftest.$ac_objext conftest$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954 (eval $ac_link) 2>conftest.er1
25955 ac_status=$?
25956 grep -v '^ *+' conftest.er1 >conftest.err
25957 rm -f conftest.er1
25958 cat conftest.err >&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } &&
25961 { ac_try='test -z "$ac_c_werror_flag"
25962 || test ! -s conftest.err'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25965 ac_status=$?
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; } &&
25968 { ac_try='test -s conftest$ac_exeext'
25969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25970 (eval $ac_try) 2>&5
25971 ac_status=$?
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); }; }; then
25974 ac_cv_lib_gdk_gdk_im_open=yes
25975 else
25976 echo "$as_me: failed program was:" >&5
25977 sed 's/^/| /' conftest.$ac_ext >&5
25978
25979 ac_cv_lib_gdk_gdk_im_open=no
25980 fi
25981 rm -f conftest.err conftest.$ac_objext \
25982 conftest$ac_exeext conftest.$ac_ext
25983 LIBS=$ac_check_lib_save_LIBS
25984 fi
25985 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25986 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25987 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25988 cat >>confdefs.h <<\_ACEOF
25989 #define HAVE_XIM 1
25990 _ACEOF
25991
25992 fi
25993
25994
25995
25996 if test "$wxUSE_GPE" = "yes"; then
25997 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25998 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25999
26000 ac_find_libraries=
26001 for ac_dir in $SEARCH_LIB /usr/lib;
26002 do
26003 for ac_extension in a so sl dylib; do
26004 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26005 ac_find_libraries=$ac_dir
26006 break 2
26007 fi
26008 done
26009 done
26010
26011 if test "$ac_find_libraries" != "" ; then
26012
26013 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26014 result=$?
26015 if test $result = 0; then
26016 ac_path_to_link=""
26017 else
26018 ac_path_to_link=" -L$ac_find_libraries"
26019 fi
26020
26021 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26022 WXGPE=1
26023 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26024 echo "${ECHO_T}found at $ac_find_libraries" >&6
26025 else
26026 echo "$as_me:$LINENO: result: not found" >&5
26027 echo "${ECHO_T}not found" >&6
26028 fi
26029
26030 fi
26031 fi
26032
26033 if test "$wxUSE_MGL" = 1; then
26034 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26035 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26036 if test "x$MGL_ROOT" = x ; then
26037 echo "$as_me:$LINENO: result: not found" >&5
26038 echo "${ECHO_T}not found" >&6
26039 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26040 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26041 { (exit 1); exit 1; }; }
26042 else
26043 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26044 echo "${ECHO_T}$MGL_ROOT" >&6
26045 fi
26046
26047 echo "$as_me:$LINENO: checking for libmgl location" >&5
26048 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26049 case "${host}" in
26050 *-*-linux* )
26051 if test "x$wxUSE_SHARED" = xyes ; then
26052 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26053 else
26054 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26055 fi
26056 ;;
26057 *-pc-msdosdjgpp )
26058 mgl_os_candidates="dos32/dj2"
26059 ;;
26060 *)
26061 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26062 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26063 { (exit 1); exit 1; }; }
26064 esac
26065
26066 mgl_lib_type=""
26067 mgl_os=""
26068
26069 for mgl_os_i in $mgl_os_candidates ; do
26070 if test "x$mgl_os" = x ; then
26071 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26072 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26073 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26074 mgl_lib_type=debug
26075 mgl_os=$mgl_os_i
26076 fi
26077 fi
26078 if test "x$mgl_lib_type" = x ; then
26079 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26080 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26081 mgl_lib_type=release
26082 mgl_os=$mgl_os_i
26083 fi
26084 fi
26085 fi
26086 done
26087
26088 if test "x$mgl_os" = x ; then
26089 echo "$as_me:$LINENO: result: not found" >&5
26090 echo "${ECHO_T}not found" >&6
26091 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26092 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26093 { (exit 1); exit 1; }; }
26094 fi
26095 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26096 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26097
26098 wxUSE_UNIVERSAL="yes"
26099
26100 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26101 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26102
26103 AFMINSTALL=afminstall
26104 TOOLKIT=MGL
26105 GUIDIST=MGL_DIST
26106 fi
26107
26108 if test "$wxUSE_MICROWIN" = 1; then
26109 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26110 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26111 if test "x$MICROWINDOWS" = x ; then
26112 echo "$as_me:$LINENO: result: not found" >&5
26113 echo "${ECHO_T}not found" >&6
26114 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26115 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26116 { (exit 1); exit 1; }; }
26117 else
26118 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26119 echo "${ECHO_T}$MICROWINDOWS" >&6
26120 fi
26121
26122 if test -f $MICROWINDOWS/lib/libmwin.a; then
26123 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26124 echo "${ECHO_T}MicroWindows' libraries found." >&6
26125 else
26126 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26127 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26128 { (exit 1); exit 1; }; }
26129 fi
26130
26131 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26132 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26133
26134 wxUSE_UNIVERSAL="yes"
26135
26136 AFMINSTALL=afminstall
26137 TOOLKIT=MICROWIN
26138 GUIDIST=MICROWIN_DIST
26139
26140 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26141 fi
26142
26143 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26144 echo "$as_me:$LINENO: checking for X" >&5
26145 echo $ECHO_N "checking for X... $ECHO_C" >&6
26146
26147
26148 # Check whether --with-x or --without-x was given.
26149 if test "${with_x+set}" = set; then
26150 withval="$with_x"
26151
26152 fi;
26153 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26154 if test "x$with_x" = xno; then
26155 # The user explicitly disabled X.
26156 have_x=disabled
26157 else
26158 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26159 # Both variables are already set.
26160 have_x=yes
26161 else
26162 if test "${ac_cv_have_x+set}" = set; then
26163 echo $ECHO_N "(cached) $ECHO_C" >&6
26164 else
26165 # One or both of the vars are not set, and there is no cached value.
26166 ac_x_includes=no ac_x_libraries=no
26167 rm -fr conftest.dir
26168 if mkdir conftest.dir; then
26169 cd conftest.dir
26170 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26171 cat >Imakefile <<'_ACEOF'
26172 acfindx:
26173 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26174 _ACEOF
26175 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26176 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26177 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26178 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26179 for ac_extension in a so sl; do
26180 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26181 test -f $ac_im_libdir/libX11.$ac_extension; then
26182 ac_im_usrlibdir=$ac_im_libdir; break
26183 fi
26184 done
26185 # Screen out bogus values from the imake configuration. They are
26186 # bogus both because they are the default anyway, and because
26187 # using them would break gcc on systems where it needs fixed includes.
26188 case $ac_im_incroot in
26189 /usr/include) ;;
26190 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26191 esac
26192 case $ac_im_usrlibdir in
26193 /usr/lib | /lib) ;;
26194 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26195 esac
26196 fi
26197 cd ..
26198 rm -fr conftest.dir
26199 fi
26200
26201 # Standard set of common directories for X headers.
26202 # Check X11 before X11Rn because it is often a symlink to the current release.
26203 ac_x_header_dirs='
26204 /usr/X11/include
26205 /usr/X11R6/include
26206 /usr/X11R5/include
26207 /usr/X11R4/include
26208
26209 /usr/include/X11
26210 /usr/include/X11R6
26211 /usr/include/X11R5
26212 /usr/include/X11R4
26213
26214 /usr/local/X11/include
26215 /usr/local/X11R6/include
26216 /usr/local/X11R5/include
26217 /usr/local/X11R4/include
26218
26219 /usr/local/include/X11
26220 /usr/local/include/X11R6
26221 /usr/local/include/X11R5
26222 /usr/local/include/X11R4
26223
26224 /usr/X386/include
26225 /usr/x386/include
26226 /usr/XFree86/include/X11
26227
26228 /usr/include
26229 /usr/local/include
26230 /usr/unsupported/include
26231 /usr/athena/include
26232 /usr/local/x11r5/include
26233 /usr/lpp/Xamples/include
26234
26235 /usr/openwin/include
26236 /usr/openwin/share/include'
26237
26238 if test "$ac_x_includes" = no; then
26239 # Guess where to find include files, by looking for Intrinsic.h.
26240 # First, try using that file with no special directory specified.
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h. */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26247 #include <X11/Intrinsic.h>
26248 _ACEOF
26249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26251 ac_status=$?
26252 grep -v '^ *+' conftest.er1 >conftest.err
26253 rm -f conftest.er1
26254 cat conftest.err >&5
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); } >/dev/null; then
26257 if test -s conftest.err; then
26258 ac_cpp_err=$ac_c_preproc_warn_flag
26259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26260 else
26261 ac_cpp_err=
26262 fi
26263 else
26264 ac_cpp_err=yes
26265 fi
26266 if test -z "$ac_cpp_err"; then
26267 # We can compile using X headers with no special include directory.
26268 ac_x_includes=
26269 else
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.$ac_ext >&5
26272
26273 for ac_dir in $ac_x_header_dirs; do
26274 if test -r "$ac_dir/X11/Intrinsic.h"; then
26275 ac_x_includes=$ac_dir
26276 break
26277 fi
26278 done
26279 fi
26280 rm -f conftest.err conftest.$ac_ext
26281 fi # $ac_x_includes = no
26282
26283 if test "$ac_x_libraries" = no; then
26284 # Check for the libraries.
26285 # See if we find them without any special options.
26286 # Don't add to $LIBS permanently.
26287 ac_save_LIBS=$LIBS
26288 LIBS="-lXt $LIBS"
26289 cat >conftest.$ac_ext <<_ACEOF
26290 /* confdefs.h. */
26291 _ACEOF
26292 cat confdefs.h >>conftest.$ac_ext
26293 cat >>conftest.$ac_ext <<_ACEOF
26294 /* end confdefs.h. */
26295 #include <X11/Intrinsic.h>
26296 int
26297 main ()
26298 {
26299 XtMalloc (0)
26300 ;
26301 return 0;
26302 }
26303 _ACEOF
26304 rm -f conftest.$ac_objext conftest$ac_exeext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26306 (eval $ac_link) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -z "$ac_c_werror_flag"
26314 || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 LIBS=$ac_save_LIBS
26327 # We can link X programs with no special library path.
26328 ac_x_libraries=
26329 else
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 LIBS=$ac_save_LIBS
26334 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26335 do
26336 # Don't even attempt the hair of trying to link an X program!
26337 for ac_extension in a so sl; do
26338 if test -r $ac_dir/libXt.$ac_extension; then
26339 ac_x_libraries=$ac_dir
26340 break 2
26341 fi
26342 done
26343 done
26344 fi
26345 rm -f conftest.err conftest.$ac_objext \
26346 conftest$ac_exeext conftest.$ac_ext
26347 fi # $ac_x_libraries = no
26348
26349 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26350 # Didn't find X anywhere. Cache the known absence of X.
26351 ac_cv_have_x="have_x=no"
26352 else
26353 # Record where we found X for the cache.
26354 ac_cv_have_x="have_x=yes \
26355 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26356 fi
26357 fi
26358
26359 fi
26360 eval "$ac_cv_have_x"
26361 fi # $with_x != no
26362
26363 if test "$have_x" != yes; then
26364 echo "$as_me:$LINENO: result: $have_x" >&5
26365 echo "${ECHO_T}$have_x" >&6
26366 no_x=yes
26367 else
26368 # If each of the values was on the command line, it overrides each guess.
26369 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26370 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26371 # Update the cache value to reflect the command line values.
26372 ac_cv_have_x="have_x=yes \
26373 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26374 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26375 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26376 fi
26377
26378 if test "$no_x" = yes; then
26379 # Not all programs may use this symbol, but it does not hurt to define it.
26380
26381 cat >>confdefs.h <<\_ACEOF
26382 #define X_DISPLAY_MISSING 1
26383 _ACEOF
26384
26385 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26386 else
26387 if test -n "$x_includes"; then
26388 X_CFLAGS="$X_CFLAGS -I$x_includes"
26389 fi
26390
26391 # It would also be nice to do this for all -L options, not just this one.
26392 if test -n "$x_libraries"; then
26393 X_LIBS="$X_LIBS -L$x_libraries"
26394 # For Solaris; some versions of Sun CC require a space after -R and
26395 # others require no space. Words are not sufficient . . . .
26396 case `(uname -sr) 2>/dev/null` in
26397 "SunOS 5"*)
26398 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26399 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26400 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407
26408 int
26409 main ()
26410 {
26411
26412 ;
26413 return 0;
26414 }
26415 _ACEOF
26416 rm -f conftest.$ac_objext conftest$ac_exeext
26417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26418 (eval $ac_link) 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } &&
26425 { ac_try='test -z "$ac_c_werror_flag"
26426 || test ! -s conftest.err'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; } &&
26432 { ac_try='test -s conftest$ac_exeext'
26433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434 (eval $ac_try) 2>&5
26435 ac_status=$?
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); }; }; then
26438 ac_R_nospace=yes
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443 ac_R_nospace=no
26444 fi
26445 rm -f conftest.err conftest.$ac_objext \
26446 conftest$ac_exeext conftest.$ac_ext
26447 if test $ac_R_nospace = yes; then
26448 echo "$as_me:$LINENO: result: no" >&5
26449 echo "${ECHO_T}no" >&6
26450 X_LIBS="$X_LIBS -R$x_libraries"
26451 else
26452 LIBS="$ac_xsave_LIBS -R $x_libraries"
26453 cat >conftest.$ac_ext <<_ACEOF
26454 /* confdefs.h. */
26455 _ACEOF
26456 cat confdefs.h >>conftest.$ac_ext
26457 cat >>conftest.$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26459
26460 int
26461 main ()
26462 {
26463
26464 ;
26465 return 0;
26466 }
26467 _ACEOF
26468 rm -f conftest.$ac_objext conftest$ac_exeext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26470 (eval $ac_link) 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26481 ac_status=$?
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try='test -s conftest$ac_exeext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26487 ac_status=$?
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 ac_R_space=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_R_space=no
26496 fi
26497 rm -f conftest.err conftest.$ac_objext \
26498 conftest$ac_exeext conftest.$ac_ext
26499 if test $ac_R_space = yes; then
26500 echo "$as_me:$LINENO: result: yes" >&5
26501 echo "${ECHO_T}yes" >&6
26502 X_LIBS="$X_LIBS -R $x_libraries"
26503 else
26504 echo "$as_me:$LINENO: result: neither works" >&5
26505 echo "${ECHO_T}neither works" >&6
26506 fi
26507 fi
26508 LIBS=$ac_xsave_LIBS
26509 esac
26510 fi
26511
26512 # Check for system-dependent libraries X programs must link with.
26513 # Do this before checking for the system-independent R6 libraries
26514 # (-lICE), since we may need -lsocket or whatever for X linking.
26515
26516 if test "$ISC" = yes; then
26517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26518 else
26519 # Martyn Johnson says this is needed for Ultrix, if the X
26520 # libraries were built with DECnet support. And Karl Berry says
26521 # the Alpha needs dnet_stub (dnet does not exist).
26522 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26523 cat >conftest.$ac_ext <<_ACEOF
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529
26530 /* Override any gcc2 internal prototype to avoid an error. */
26531 #ifdef __cplusplus
26532 extern "C"
26533 #endif
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26536 char XOpenDisplay ();
26537 int
26538 main ()
26539 {
26540 XOpenDisplay ();
26541 ;
26542 return 0;
26543 }
26544 _ACEOF
26545 rm -f conftest.$ac_objext conftest$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try='test -z "$ac_c_werror_flag"
26555 || test ! -s conftest.err'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26558 ac_status=$?
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; } &&
26561 { ac_try='test -s conftest$ac_exeext'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26564 ac_status=$?
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; }; then
26567 :
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26571
26572 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26573 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26574 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 else
26577 ac_check_lib_save_LIBS=$LIBS
26578 LIBS="-ldnet $LIBS"
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585
26586 /* Override any gcc2 internal prototype to avoid an error. */
26587 #ifdef __cplusplus
26588 extern "C"
26589 #endif
26590 /* We use char because int might match the return type of a gcc2
26591 builtin and then its argument prototype would still apply. */
26592 char dnet_ntoa ();
26593 int
26594 main ()
26595 {
26596 dnet_ntoa ();
26597 ;
26598 return 0;
26599 }
26600 _ACEOF
26601 rm -f conftest.$ac_objext conftest$ac_exeext
26602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26603 (eval $ac_link) 2>conftest.er1
26604 ac_status=$?
26605 grep -v '^ *+' conftest.er1 >conftest.err
26606 rm -f conftest.er1
26607 cat conftest.err >&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } &&
26610 { ac_try='test -z "$ac_c_werror_flag"
26611 || test ! -s conftest.err'
26612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613 (eval $ac_try) 2>&5
26614 ac_status=$?
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); }; } &&
26617 { ac_try='test -s conftest$ac_exeext'
26618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26619 (eval $ac_try) 2>&5
26620 ac_status=$?
26621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26622 (exit $ac_status); }; }; then
26623 ac_cv_lib_dnet_dnet_ntoa=yes
26624 else
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26627
26628 ac_cv_lib_dnet_dnet_ntoa=no
26629 fi
26630 rm -f conftest.err conftest.$ac_objext \
26631 conftest$ac_exeext conftest.$ac_ext
26632 LIBS=$ac_check_lib_save_LIBS
26633 fi
26634 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26635 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26636 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26637 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26638 fi
26639
26640 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26641 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26642 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26643 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 else
26646 ac_check_lib_save_LIBS=$LIBS
26647 LIBS="-ldnet_stub $LIBS"
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654
26655 /* Override any gcc2 internal prototype to avoid an error. */
26656 #ifdef __cplusplus
26657 extern "C"
26658 #endif
26659 /* We use char because int might match the return type of a gcc2
26660 builtin and then its argument prototype would still apply. */
26661 char dnet_ntoa ();
26662 int
26663 main ()
26664 {
26665 dnet_ntoa ();
26666 ;
26667 return 0;
26668 }
26669 _ACEOF
26670 rm -f conftest.$ac_objext conftest$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672 (eval $ac_link) 2>conftest.er1
26673 ac_status=$?
26674 grep -v '^ *+' conftest.er1 >conftest.err
26675 rm -f conftest.er1
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -z "$ac_c_werror_flag"
26680 || test ! -s conftest.err'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26683 ac_status=$?
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; } &&
26686 { ac_try='test -s conftest$ac_exeext'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26689 ac_status=$?
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 ac_cv_lib_dnet_stub_dnet_ntoa=no
26698 fi
26699 rm -f conftest.err conftest.$ac_objext \
26700 conftest$ac_exeext conftest.$ac_ext
26701 LIBS=$ac_check_lib_save_LIBS
26702 fi
26703 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26704 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26705 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26706 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26707 fi
26708
26709 fi
26710 fi
26711 rm -f conftest.err conftest.$ac_objext \
26712 conftest$ac_exeext conftest.$ac_ext
26713 LIBS="$ac_xsave_LIBS"
26714
26715 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26716 # to get the SysV transport functions.
26717 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26718 # needs -lnsl.
26719 # The nsl library prevents programs from opening the X display
26720 # on Irix 5.2, according to T.E. Dickey.
26721 # The functions gethostbyname, getservbyname, and inet_addr are
26722 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26723 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26724 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26725 if test "${ac_cv_func_gethostbyname+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728 cat >conftest.$ac_ext <<_ACEOF
26729 /* confdefs.h. */
26730 _ACEOF
26731 cat confdefs.h >>conftest.$ac_ext
26732 cat >>conftest.$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26736 #define gethostbyname innocuous_gethostbyname
26737
26738 /* System header to define __stub macros and hopefully few prototypes,
26739 which can conflict with char gethostbyname (); below.
26740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26741 <limits.h> exists even on freestanding compilers. */
26742
26743 #ifdef __STDC__
26744 # include <limits.h>
26745 #else
26746 # include <assert.h>
26747 #endif
26748
26749 #undef gethostbyname
26750
26751 /* Override any gcc2 internal prototype to avoid an error. */
26752 #ifdef __cplusplus
26753 extern "C"
26754 {
26755 #endif
26756 /* We use char because int might match the return type of a gcc2
26757 builtin and then its argument prototype would still apply. */
26758 char gethostbyname ();
26759 /* The GNU C library defines this for functions which it implements
26760 to always fail with ENOSYS. Some functions are actually named
26761 something starting with __ and the normal name is an alias. */
26762 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26763 choke me
26764 #else
26765 char (*f) () = gethostbyname;
26766 #endif
26767 #ifdef __cplusplus
26768 }
26769 #endif
26770
26771 int
26772 main ()
26773 {
26774 return f != gethostbyname;
26775 ;
26776 return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26781 (eval $ac_link) 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try='test -s conftest$ac_exeext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801 ac_cv_func_gethostbyname=yes
26802 else
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26805
26806 ac_cv_func_gethostbyname=no
26807 fi
26808 rm -f conftest.err conftest.$ac_objext \
26809 conftest$ac_exeext conftest.$ac_ext
26810 fi
26811 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26812 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26813
26814 if test $ac_cv_func_gethostbyname = no; then
26815 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26816 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26817 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26819 else
26820 ac_check_lib_save_LIBS=$LIBS
26821 LIBS="-lnsl $LIBS"
26822 cat >conftest.$ac_ext <<_ACEOF
26823 /* confdefs.h. */
26824 _ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828
26829 /* Override any gcc2 internal prototype to avoid an error. */
26830 #ifdef __cplusplus
26831 extern "C"
26832 #endif
26833 /* We use char because int might match the return type of a gcc2
26834 builtin and then its argument prototype would still apply. */
26835 char gethostbyname ();
26836 int
26837 main ()
26838 {
26839 gethostbyname ();
26840 ;
26841 return 0;
26842 }
26843 _ACEOF
26844 rm -f conftest.$ac_objext conftest$ac_exeext
26845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26846 (eval $ac_link) 2>conftest.er1
26847 ac_status=$?
26848 grep -v '^ *+' conftest.er1 >conftest.err
26849 rm -f conftest.er1
26850 cat conftest.err >&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try='test -z "$ac_c_werror_flag"
26854 || test ! -s conftest.err'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26857 ac_status=$?
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; } &&
26860 { ac_try='test -s conftest$ac_exeext'
26861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26862 (eval $ac_try) 2>&5
26863 ac_status=$?
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); }; }; then
26866 ac_cv_lib_nsl_gethostbyname=yes
26867 else
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.$ac_ext >&5
26870
26871 ac_cv_lib_nsl_gethostbyname=no
26872 fi
26873 rm -f conftest.err conftest.$ac_objext \
26874 conftest$ac_exeext conftest.$ac_ext
26875 LIBS=$ac_check_lib_save_LIBS
26876 fi
26877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26881 fi
26882
26883 if test $ac_cv_lib_nsl_gethostbyname = no; then
26884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 else
26889 ac_check_lib_save_LIBS=$LIBS
26890 LIBS="-lbsd $LIBS"
26891 cat >conftest.$ac_ext <<_ACEOF
26892 /* confdefs.h. */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897
26898 /* Override any gcc2 internal prototype to avoid an error. */
26899 #ifdef __cplusplus
26900 extern "C"
26901 #endif
26902 /* We use char because int might match the return type of a gcc2
26903 builtin and then its argument prototype would still apply. */
26904 char gethostbyname ();
26905 int
26906 main ()
26907 {
26908 gethostbyname ();
26909 ;
26910 return 0;
26911 }
26912 _ACEOF
26913 rm -f conftest.$ac_objext conftest$ac_exeext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26915 (eval $ac_link) 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try='test -s conftest$ac_exeext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 ac_cv_lib_bsd_gethostbyname=yes
26936 else
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26939
26940 ac_cv_lib_bsd_gethostbyname=no
26941 fi
26942 rm -f conftest.err conftest.$ac_objext \
26943 conftest$ac_exeext conftest.$ac_ext
26944 LIBS=$ac_check_lib_save_LIBS
26945 fi
26946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26950 fi
26951
26952 fi
26953 fi
26954
26955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26956 # socket/setsockopt and other routines are undefined under SCO ODT
26957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26958 # on later versions), says Simon Leinen: it contains gethostby*
26959 # variants that don't use the name server (or something). -lsocket
26960 # must be given before -lnsl if both are needed. We assume that
26961 # if connect needs -lnsl, so does gethostbyname.
26962 echo "$as_me:$LINENO: checking for connect" >&5
26963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26964 if test "${ac_cv_func_connect+set}" = set; then
26965 echo $ECHO_N "(cached) $ECHO_C" >&6
26966 else
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26975 #define connect innocuous_connect
26976
26977 /* System header to define __stub macros and hopefully few prototypes,
26978 which can conflict with char connect (); below.
26979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26980 <limits.h> exists even on freestanding compilers. */
26981
26982 #ifdef __STDC__
26983 # include <limits.h>
26984 #else
26985 # include <assert.h>
26986 #endif
26987
26988 #undef connect
26989
26990 /* Override any gcc2 internal prototype to avoid an error. */
26991 #ifdef __cplusplus
26992 extern "C"
26993 {
26994 #endif
26995 /* We use char because int might match the return type of a gcc2
26996 builtin and then its argument prototype would still apply. */
26997 char connect ();
26998 /* The GNU C library defines this for functions which it implements
26999 to always fail with ENOSYS. Some functions are actually named
27000 something starting with __ and the normal name is an alias. */
27001 #if defined (__stub_connect) || defined (__stub___connect)
27002 choke me
27003 #else
27004 char (*f) () = connect;
27005 #endif
27006 #ifdef __cplusplus
27007 }
27008 #endif
27009
27010 int
27011 main ()
27012 {
27013 return f != connect;
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 rm -f conftest.$ac_objext conftest$ac_exeext
27019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27020 (eval $ac_link) 2>conftest.er1
27021 ac_status=$?
27022 grep -v '^ *+' conftest.er1 >conftest.err
27023 rm -f conftest.er1
27024 cat conftest.err >&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -z "$ac_c_werror_flag"
27028 || test ! -s conftest.err'
27029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27030 (eval $ac_try) 2>&5
27031 ac_status=$?
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); }; } &&
27034 { ac_try='test -s conftest$ac_exeext'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27037 ac_status=$?
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; }; then
27040 ac_cv_func_connect=yes
27041 else
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27044
27045 ac_cv_func_connect=no
27046 fi
27047 rm -f conftest.err conftest.$ac_objext \
27048 conftest$ac_exeext conftest.$ac_ext
27049 fi
27050 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27051 echo "${ECHO_T}$ac_cv_func_connect" >&6
27052
27053 if test $ac_cv_func_connect = no; then
27054 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27055 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27056 if test "${ac_cv_lib_socket_connect+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 ac_check_lib_save_LIBS=$LIBS
27060 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067
27068 /* Override any gcc2 internal prototype to avoid an error. */
27069 #ifdef __cplusplus
27070 extern "C"
27071 #endif
27072 /* We use char because int might match the return type of a gcc2
27073 builtin and then its argument prototype would still apply. */
27074 char connect ();
27075 int
27076 main ()
27077 {
27078 connect ();
27079 ;
27080 return 0;
27081 }
27082 _ACEOF
27083 rm -f conftest.$ac_objext conftest$ac_exeext
27084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27085 (eval $ac_link) 2>conftest.er1
27086 ac_status=$?
27087 grep -v '^ *+' conftest.er1 >conftest.err
27088 rm -f conftest.er1
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try='test -z "$ac_c_werror_flag"
27093 || test ! -s conftest.err'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; } &&
27099 { ac_try='test -s conftest$ac_exeext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27102 ac_status=$?
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 ac_cv_lib_socket_connect=yes
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27109
27110 ac_cv_lib_socket_connect=no
27111 fi
27112 rm -f conftest.err conftest.$ac_objext \
27113 conftest$ac_exeext conftest.$ac_ext
27114 LIBS=$ac_check_lib_save_LIBS
27115 fi
27116 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27117 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27118 if test $ac_cv_lib_socket_connect = yes; then
27119 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27120 fi
27121
27122 fi
27123
27124 # Guillermo Gomez says -lposix is necessary on A/UX.
27125 echo "$as_me:$LINENO: checking for remove" >&5
27126 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27127 if test "${ac_cv_func_remove+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 else
27130 cat >conftest.$ac_ext <<_ACEOF
27131 /* confdefs.h. */
27132 _ACEOF
27133 cat confdefs.h >>conftest.$ac_ext
27134 cat >>conftest.$ac_ext <<_ACEOF
27135 /* end confdefs.h. */
27136 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27138 #define remove innocuous_remove
27139
27140 /* System header to define __stub macros and hopefully few prototypes,
27141 which can conflict with char remove (); below.
27142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27143 <limits.h> exists even on freestanding compilers. */
27144
27145 #ifdef __STDC__
27146 # include <limits.h>
27147 #else
27148 # include <assert.h>
27149 #endif
27150
27151 #undef remove
27152
27153 /* Override any gcc2 internal prototype to avoid an error. */
27154 #ifdef __cplusplus
27155 extern "C"
27156 {
27157 #endif
27158 /* We use char because int might match the return type of a gcc2
27159 builtin and then its argument prototype would still apply. */
27160 char remove ();
27161 /* The GNU C library defines this for functions which it implements
27162 to always fail with ENOSYS. Some functions are actually named
27163 something starting with __ and the normal name is an alias. */
27164 #if defined (__stub_remove) || defined (__stub___remove)
27165 choke me
27166 #else
27167 char (*f) () = remove;
27168 #endif
27169 #ifdef __cplusplus
27170 }
27171 #endif
27172
27173 int
27174 main ()
27175 {
27176 return f != remove;
27177 ;
27178 return 0;
27179 }
27180 _ACEOF
27181 rm -f conftest.$ac_objext conftest$ac_exeext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27183 (eval $ac_link) 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27194 ac_status=$?
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try='test -s conftest$ac_exeext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 ac_cv_func_remove=yes
27204 else
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27207
27208 ac_cv_func_remove=no
27209 fi
27210 rm -f conftest.err conftest.$ac_objext \
27211 conftest$ac_exeext conftest.$ac_ext
27212 fi
27213 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27214 echo "${ECHO_T}$ac_cv_func_remove" >&6
27215
27216 if test $ac_cv_func_remove = no; then
27217 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27218 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27219 if test "${ac_cv_lib_posix_remove+set}" = set; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 else
27222 ac_check_lib_save_LIBS=$LIBS
27223 LIBS="-lposix $LIBS"
27224 cat >conftest.$ac_ext <<_ACEOF
27225 /* confdefs.h. */
27226 _ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27230
27231 /* Override any gcc2 internal prototype to avoid an error. */
27232 #ifdef __cplusplus
27233 extern "C"
27234 #endif
27235 /* We use char because int might match the return type of a gcc2
27236 builtin and then its argument prototype would still apply. */
27237 char remove ();
27238 int
27239 main ()
27240 {
27241 remove ();
27242 ;
27243 return 0;
27244 }
27245 _ACEOF
27246 rm -f conftest.$ac_objext conftest$ac_exeext
27247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27248 (eval $ac_link) 2>conftest.er1
27249 ac_status=$?
27250 grep -v '^ *+' conftest.er1 >conftest.err
27251 rm -f conftest.er1
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try='test -z "$ac_c_werror_flag"
27256 || test ! -s conftest.err'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27259 ac_status=$?
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; } &&
27262 { ac_try='test -s conftest$ac_exeext'
27263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27264 (eval $ac_try) 2>&5
27265 ac_status=$?
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); }; }; then
27268 ac_cv_lib_posix_remove=yes
27269 else
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.$ac_ext >&5
27272
27273 ac_cv_lib_posix_remove=no
27274 fi
27275 rm -f conftest.err conftest.$ac_objext \
27276 conftest$ac_exeext conftest.$ac_ext
27277 LIBS=$ac_check_lib_save_LIBS
27278 fi
27279 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27280 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27281 if test $ac_cv_lib_posix_remove = yes; then
27282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27283 fi
27284
27285 fi
27286
27287 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27288 echo "$as_me:$LINENO: checking for shmat" >&5
27289 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27290 if test "${ac_cv_func_shmat+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 else
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27301 #define shmat innocuous_shmat
27302
27303 /* System header to define __stub macros and hopefully few prototypes,
27304 which can conflict with char shmat (); below.
27305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27306 <limits.h> exists even on freestanding compilers. */
27307
27308 #ifdef __STDC__
27309 # include <limits.h>
27310 #else
27311 # include <assert.h>
27312 #endif
27313
27314 #undef shmat
27315
27316 /* Override any gcc2 internal prototype to avoid an error. */
27317 #ifdef __cplusplus
27318 extern "C"
27319 {
27320 #endif
27321 /* We use char because int might match the return type of a gcc2
27322 builtin and then its argument prototype would still apply. */
27323 char shmat ();
27324 /* The GNU C library defines this for functions which it implements
27325 to always fail with ENOSYS. Some functions are actually named
27326 something starting with __ and the normal name is an alias. */
27327 #if defined (__stub_shmat) || defined (__stub___shmat)
27328 choke me
27329 #else
27330 char (*f) () = shmat;
27331 #endif
27332 #ifdef __cplusplus
27333 }
27334 #endif
27335
27336 int
27337 main ()
27338 {
27339 return f != shmat;
27340 ;
27341 return 0;
27342 }
27343 _ACEOF
27344 rm -f conftest.$ac_objext conftest$ac_exeext
27345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27346 (eval $ac_link) 2>conftest.er1
27347 ac_status=$?
27348 grep -v '^ *+' conftest.er1 >conftest.err
27349 rm -f conftest.er1
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } &&
27353 { ac_try='test -z "$ac_c_werror_flag"
27354 || test ! -s conftest.err'
27355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27356 (eval $ac_try) 2>&5
27357 ac_status=$?
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); }; } &&
27360 { ac_try='test -s conftest$ac_exeext'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27363 ac_status=$?
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; }; then
27366 ac_cv_func_shmat=yes
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27370
27371 ac_cv_func_shmat=no
27372 fi
27373 rm -f conftest.err conftest.$ac_objext \
27374 conftest$ac_exeext conftest.$ac_ext
27375 fi
27376 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27377 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27378
27379 if test $ac_cv_func_shmat = no; then
27380 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27381 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27382 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27383 echo $ECHO_N "(cached) $ECHO_C" >&6
27384 else
27385 ac_check_lib_save_LIBS=$LIBS
27386 LIBS="-lipc $LIBS"
27387 cat >conftest.$ac_ext <<_ACEOF
27388 /* confdefs.h. */
27389 _ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27393
27394 /* Override any gcc2 internal prototype to avoid an error. */
27395 #ifdef __cplusplus
27396 extern "C"
27397 #endif
27398 /* We use char because int might match the return type of a gcc2
27399 builtin and then its argument prototype would still apply. */
27400 char shmat ();
27401 int
27402 main ()
27403 {
27404 shmat ();
27405 ;
27406 return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext conftest$ac_exeext
27410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27411 (eval $ac_link) 2>conftest.er1
27412 ac_status=$?
27413 grep -v '^ *+' conftest.er1 >conftest.err
27414 rm -f conftest.er1
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } &&
27418 { ac_try='test -z "$ac_c_werror_flag"
27419 || test ! -s conftest.err'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; } &&
27425 { ac_try='test -s conftest$ac_exeext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 ac_cv_lib_ipc_shmat=yes
27432 else
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27435
27436 ac_cv_lib_ipc_shmat=no
27437 fi
27438 rm -f conftest.err conftest.$ac_objext \
27439 conftest$ac_exeext conftest.$ac_ext
27440 LIBS=$ac_check_lib_save_LIBS
27441 fi
27442 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27443 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27444 if test $ac_cv_lib_ipc_shmat = yes; then
27445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27446 fi
27447
27448 fi
27449 fi
27450
27451 # Check for libraries that X11R6 Xt/Xaw programs need.
27452 ac_save_LDFLAGS=$LDFLAGS
27453 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27454 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27455 # check for ICE first), but we must link in the order -lSM -lICE or
27456 # we get undefined symbols. So assume we have SM if we have ICE.
27457 # These have to be linked with before -lX11, unlike the other
27458 # libraries we check for below, so use a different variable.
27459 # John Interrante, Karl Berry
27460 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27461 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27462 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27464 else
27465 ac_check_lib_save_LIBS=$LIBS
27466 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27467 cat >conftest.$ac_ext <<_ACEOF
27468 /* confdefs.h. */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473
27474 /* Override any gcc2 internal prototype to avoid an error. */
27475 #ifdef __cplusplus
27476 extern "C"
27477 #endif
27478 /* We use char because int might match the return type of a gcc2
27479 builtin and then its argument prototype would still apply. */
27480 char IceConnectionNumber ();
27481 int
27482 main ()
27483 {
27484 IceConnectionNumber ();
27485 ;
27486 return 0;
27487 }
27488 _ACEOF
27489 rm -f conftest.$ac_objext conftest$ac_exeext
27490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27491 (eval $ac_link) 2>conftest.er1
27492 ac_status=$?
27493 grep -v '^ *+' conftest.er1 >conftest.err
27494 rm -f conftest.er1
27495 cat conftest.err >&5
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); } &&
27498 { ac_try='test -z "$ac_c_werror_flag"
27499 || test ! -s conftest.err'
27500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27501 (eval $ac_try) 2>&5
27502 ac_status=$?
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); }; } &&
27505 { ac_try='test -s conftest$ac_exeext'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27508 ac_status=$?
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_cv_lib_ICE_IceConnectionNumber=yes
27512 else
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27515
27516 ac_cv_lib_ICE_IceConnectionNumber=no
27517 fi
27518 rm -f conftest.err conftest.$ac_objext \
27519 conftest$ac_exeext conftest.$ac_ext
27520 LIBS=$ac_check_lib_save_LIBS
27521 fi
27522 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27523 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27524 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27525 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27526 fi
27527
27528 LDFLAGS=$ac_save_LDFLAGS
27529
27530 fi
27531
27532
27533 if test "$no_x" = "yes"; then
27534 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27535 echo "$as_me: error: X11 not found" >&2;}
27536 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27537 fi
27538
27539 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27540 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27541 AFMINSTALL=afminstall
27542 COMPILED_X_PROGRAM=0
27543
27544 fi
27545
27546 if test "$wxUSE_X11" = 1; then
27547 if test "$wxUSE_NANOX" = "yes"; then
27548 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27549 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27550 if test "x$MICROWIN" = x ; then
27551 echo "$as_me:$LINENO: result: not found" >&5
27552 echo "${ECHO_T}not found" >&6
27553 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27554 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27555 { (exit 1); exit 1; }; }
27556 else
27557 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27558 echo "${ECHO_T}$MICROWIN" >&6
27559 cat >>confdefs.h <<\_ACEOF
27560 #define wxUSE_NANOX 1
27561 _ACEOF
27562
27563 fi
27564 fi
27565
27566 if test "$wxUSE_UNICODE" = "yes"; then
27567
27568 succeeded=no
27569
27570 if test -z "$PKG_CONFIG"; then
27571 # Extract the first word of "pkg-config", so it can be a program name with args.
27572 set dummy pkg-config; ac_word=$2
27573 echo "$as_me:$LINENO: checking for $ac_word" >&5
27574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27575 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 case $PKG_CONFIG in
27579 [\\/]* | ?:[\\/]*)
27580 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27581 ;;
27582 *)
27583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27584 for as_dir in $PATH
27585 do
27586 IFS=$as_save_IFS
27587 test -z "$as_dir" && as_dir=.
27588 for ac_exec_ext in '' $ac_executable_extensions; do
27589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27590 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27592 break 2
27593 fi
27594 done
27595 done
27596
27597 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27598 ;;
27599 esac
27600 fi
27601 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27602
27603 if test -n "$PKG_CONFIG"; then
27604 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27605 echo "${ECHO_T}$PKG_CONFIG" >&6
27606 else
27607 echo "$as_me:$LINENO: result: no" >&5
27608 echo "${ECHO_T}no" >&6
27609 fi
27610
27611 fi
27612
27613 if test "$PKG_CONFIG" = "no" ; then
27614 echo "*** The pkg-config script could not be found. Make sure it is"
27615 echo "*** in your path, or set the PKG_CONFIG environment variable"
27616 echo "*** to the full path to pkg-config."
27617 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27618 else
27619 PKG_CONFIG_MIN_VERSION=0.9.0
27620 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27621 echo "$as_me:$LINENO: checking for pangox" >&5
27622 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27623
27624 if $PKG_CONFIG --exists "pangox" ; then
27625 echo "$as_me:$LINENO: result: yes" >&5
27626 echo "${ECHO_T}yes" >&6
27627 succeeded=yes
27628
27629 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27630 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27631 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27632 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27633 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27634
27635 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27636 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27637 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27638 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27639 echo "${ECHO_T}$PANGOX_LIBS" >&6
27640 else
27641 PANGOX_CFLAGS=""
27642 PANGOX_LIBS=""
27643 ## If we have a custom action on failure, don't print errors, but
27644 ## do set a variable so people can do so.
27645 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27646
27647 fi
27648
27649
27650
27651 else
27652 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27653 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27654 fi
27655 fi
27656
27657 if test $succeeded = yes; then
27658
27659 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27660 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27661
27662 else
27663
27664 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27665 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27666 { (exit 1); exit 1; }; }
27667
27668
27669 fi
27670
27671
27672 succeeded=no
27673
27674 if test -z "$PKG_CONFIG"; then
27675 # Extract the first word of "pkg-config", so it can be a program name with args.
27676 set dummy pkg-config; ac_word=$2
27677 echo "$as_me:$LINENO: checking for $ac_word" >&5
27678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27680 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 else
27682 case $PKG_CONFIG in
27683 [\\/]* | ?:[\\/]*)
27684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27685 ;;
27686 *)
27687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27688 for as_dir in $PATH
27689 do
27690 IFS=$as_save_IFS
27691 test -z "$as_dir" && as_dir=.
27692 for ac_exec_ext in '' $ac_executable_extensions; do
27693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27696 break 2
27697 fi
27698 done
27699 done
27700
27701 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27702 ;;
27703 esac
27704 fi
27705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27706
27707 if test -n "$PKG_CONFIG"; then
27708 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27709 echo "${ECHO_T}$PKG_CONFIG" >&6
27710 else
27711 echo "$as_me:$LINENO: result: no" >&5
27712 echo "${ECHO_T}no" >&6
27713 fi
27714
27715 fi
27716
27717 if test "$PKG_CONFIG" = "no" ; then
27718 echo "*** The pkg-config script could not be found. Make sure it is"
27719 echo "*** in your path, or set the PKG_CONFIG environment variable"
27720 echo "*** to the full path to pkg-config."
27721 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27722 else
27723 PKG_CONFIG_MIN_VERSION=0.9.0
27724 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27725 echo "$as_me:$LINENO: checking for pangoft2" >&5
27726 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27727
27728 if $PKG_CONFIG --exists "pangoft2" ; then
27729 echo "$as_me:$LINENO: result: yes" >&5
27730 echo "${ECHO_T}yes" >&6
27731 succeeded=yes
27732
27733 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27734 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27735 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27736 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27737 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27738
27739 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27740 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27741 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27742 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27743 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27744 else
27745 PANGOFT2_CFLAGS=""
27746 PANGOFT2_LIBS=""
27747 ## If we have a custom action on failure, don't print errors, but
27748 ## do set a variable so people can do so.
27749 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27750
27751 fi
27752
27753
27754
27755 else
27756 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27757 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27758 fi
27759 fi
27760
27761 if test $succeeded = yes; then
27762
27763 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27764 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27765
27766 else
27767
27768 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27769 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27770 wxUSE_PRINTING_ARCHITECTURE="no"
27771
27772
27773 fi
27774
27775
27776 succeeded=no
27777
27778 if test -z "$PKG_CONFIG"; then
27779 # Extract the first word of "pkg-config", so it can be a program name with args.
27780 set dummy pkg-config; ac_word=$2
27781 echo "$as_me:$LINENO: checking for $ac_word" >&5
27782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27783 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27785 else
27786 case $PKG_CONFIG in
27787 [\\/]* | ?:[\\/]*)
27788 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27789 ;;
27790 *)
27791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27792 for as_dir in $PATH
27793 do
27794 IFS=$as_save_IFS
27795 test -z "$as_dir" && as_dir=.
27796 for ac_exec_ext in '' $ac_executable_extensions; do
27797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27798 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27800 break 2
27801 fi
27802 done
27803 done
27804
27805 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27806 ;;
27807 esac
27808 fi
27809 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27810
27811 if test -n "$PKG_CONFIG"; then
27812 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27813 echo "${ECHO_T}$PKG_CONFIG" >&6
27814 else
27815 echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6
27817 fi
27818
27819 fi
27820
27821 if test "$PKG_CONFIG" = "no" ; then
27822 echo "*** The pkg-config script could not be found. Make sure it is"
27823 echo "*** in your path, or set the PKG_CONFIG environment variable"
27824 echo "*** to the full path to pkg-config."
27825 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27826 else
27827 PKG_CONFIG_MIN_VERSION=0.9.0
27828 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27829 echo "$as_me:$LINENO: checking for pangoxft" >&5
27830 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27831
27832 if $PKG_CONFIG --exists "pangoxft" ; then
27833 echo "$as_me:$LINENO: result: yes" >&5
27834 echo "${ECHO_T}yes" >&6
27835 succeeded=yes
27836
27837 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27838 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27839 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27840 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27841 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27842
27843 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27844 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27845 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27846 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27847 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27848 else
27849 PANGOXFT_CFLAGS=""
27850 PANGOXFT_LIBS=""
27851 ## If we have a custom action on failure, don't print errors, but
27852 ## do set a variable so people can do so.
27853 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27854
27855 fi
27856
27857
27858
27859 else
27860 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27861 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27862 fi
27863 fi
27864
27865 if test $succeeded = yes; then
27866
27867 cat >>confdefs.h <<\_ACEOF
27868 #define HAVE_PANGO_XFT 1
27869 _ACEOF
27870
27871 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27873
27874 else
27875
27876 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27877 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27878
27879
27880 fi
27881
27882 save_CFLAGS="$CFLAGS"
27883 save_LIBS="$LIBS"
27884 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27885 LIBS="$LIBS $PANGOX_LIBS"
27886
27887 for ac_func in pango_font_family_is_monospace
27888 do
27889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27890 echo "$as_me:$LINENO: checking for $ac_func" >&5
27891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27892 if eval "test \"\${$as_ac_var+set}\" = set"; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 else
27895 cat >conftest.$ac_ext <<_ACEOF
27896 /* confdefs.h. */
27897 _ACEOF
27898 cat confdefs.h >>conftest.$ac_ext
27899 cat >>conftest.$ac_ext <<_ACEOF
27900 /* end confdefs.h. */
27901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27903 #define $ac_func innocuous_$ac_func
27904
27905 /* System header to define __stub macros and hopefully few prototypes,
27906 which can conflict with char $ac_func (); below.
27907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27908 <limits.h> exists even on freestanding compilers. */
27909
27910 #ifdef __STDC__
27911 # include <limits.h>
27912 #else
27913 # include <assert.h>
27914 #endif
27915
27916 #undef $ac_func
27917
27918 /* Override any gcc2 internal prototype to avoid an error. */
27919 #ifdef __cplusplus
27920 extern "C"
27921 {
27922 #endif
27923 /* We use char because int might match the return type of a gcc2
27924 builtin and then its argument prototype would still apply. */
27925 char $ac_func ();
27926 /* The GNU C library defines this for functions which it implements
27927 to always fail with ENOSYS. Some functions are actually named
27928 something starting with __ and the normal name is an alias. */
27929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27930 choke me
27931 #else
27932 char (*f) () = $ac_func;
27933 #endif
27934 #ifdef __cplusplus
27935 }
27936 #endif
27937
27938 int
27939 main ()
27940 {
27941 return f != $ac_func;
27942 ;
27943 return 0;
27944 }
27945 _ACEOF
27946 rm -f conftest.$ac_objext conftest$ac_exeext
27947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27948 (eval $ac_link) 2>conftest.er1
27949 ac_status=$?
27950 grep -v '^ *+' conftest.er1 >conftest.err
27951 rm -f conftest.er1
27952 cat conftest.err >&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try='test -z "$ac_c_werror_flag"
27956 || test ! -s conftest.err'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; } &&
27962 { ac_try='test -s conftest$ac_exeext'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 eval "$as_ac_var=yes"
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973 eval "$as_ac_var=no"
27974 fi
27975 rm -f conftest.err conftest.$ac_objext \
27976 conftest$ac_exeext conftest.$ac_ext
27977 fi
27978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27980 if test `eval echo '${'$as_ac_var'}'` = yes; then
27981 cat >>confdefs.h <<_ACEOF
27982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27983 _ACEOF
27984
27985 fi
27986 done
27987
27988 CFLAGS="$save_CFLAGS"
27989 LIBS="$save_LIBS"
27990 fi
27991
27992 wxUSE_UNIVERSAL="yes"
27993
27994 if test "$wxUSE_NANOX" = "yes"; then
27995 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27996 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"
27997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27998 else
27999 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28000 fi
28001
28002 TOOLKIT=X11
28003 GUIDIST=X11_DIST
28004 fi
28005
28006 if test "$wxUSE_MOTIF" = 1; then
28007 if test "$wxUSE_UNICODE" = "yes"; then
28008 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28009 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28010 { (exit 1); exit 1; }; }
28011 fi
28012
28013 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28014 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28015
28016 ac_find_includes=
28017 for ac_dir in $SEARCH_INCLUDE /usr/include;
28018 do
28019 if test -f "$ac_dir/Xm/Xm.h"; then
28020 ac_find_includes=$ac_dir
28021 break
28022 fi
28023 done
28024
28025 if test "$ac_find_includes" != "" ; then
28026 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28027 echo "${ECHO_T}found in $ac_find_includes" >&6
28028
28029 if test "x$ac_find_includes" = "x/usr/include"; then
28030 ac_path_to_include=""
28031 else
28032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28033 result=$?
28034 if test $result = 0; then
28035 ac_path_to_include=""
28036 else
28037 ac_path_to_include=" -I$ac_find_includes"
28038 fi
28039 fi
28040
28041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28042 else
28043 cat >conftest.$ac_ext <<_ACEOF
28044 /* confdefs.h. */
28045 _ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049
28050 #include <Xm/Xm.h>
28051
28052 int
28053 main ()
28054 {
28055
28056 int version;
28057 version = xmUseVersion;
28058
28059 ;
28060 return 0;
28061 }
28062 _ACEOF
28063 rm -f conftest.$ac_objext
28064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28065 (eval $ac_compile) 2>conftest.er1
28066 ac_status=$?
28067 grep -v '^ *+' conftest.er1 >conftest.err
28068 rm -f conftest.er1
28069 cat conftest.err >&5
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); } &&
28072 { ac_try='test -z "$ac_c_werror_flag"
28073 || test ! -s conftest.err'
28074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28075 (eval $ac_try) 2>&5
28076 ac_status=$?
28077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078 (exit $ac_status); }; } &&
28079 { ac_try='test -s conftest.$ac_objext'
28080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28081 (eval $ac_try) 2>&5
28082 ac_status=$?
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); }; }; then
28085
28086 echo "$as_me:$LINENO: result: found in default search path" >&5
28087 echo "${ECHO_T}found in default search path" >&6
28088 COMPILED_X_PROGRAM=1
28089
28090 else
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094
28095 echo "$as_me:$LINENO: result: no" >&5
28096 echo "${ECHO_T}no" >&6
28097 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28098 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28099 { (exit 1); exit 1; }; }
28100
28101
28102 fi
28103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28104 fi
28105
28106 if test "$COMPILED_X_PROGRAM" = 0; then
28107 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28108 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28109
28110 ac_find_libraries=
28111 for ac_dir in $SEARCH_LIB /usr/lib;
28112 do
28113 for ac_extension in a so sl dylib; do
28114 if test -f "$ac_dir/libXm.$ac_extension"; then
28115 ac_find_libraries=$ac_dir
28116 break 2
28117 fi
28118 done
28119 done
28120
28121 if test "$ac_find_libraries" != "" ; then
28122 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28123 echo "${ECHO_T}found at $ac_find_libraries" >&6
28124
28125
28126 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28127 result=$?
28128 if test $result = 0; then
28129 ac_path_to_link=""
28130 else
28131 ac_path_to_link=" -L$ac_find_libraries"
28132 fi
28133
28134 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28135 else
28136 save_CFLAGS=$CFLAGS
28137 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28138
28139 cat >conftest.$ac_ext <<_ACEOF
28140 /* confdefs.h. */
28141 _ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28145
28146 #include <Xm/Xm.h>
28147
28148 int
28149 main ()
28150 {
28151
28152 int version;
28153 version = xmUseVersion;
28154
28155 ;
28156 return 0;
28157 }
28158 _ACEOF
28159 rm -f conftest.$ac_objext
28160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28161 (eval $ac_compile) 2>conftest.er1
28162 ac_status=$?
28163 grep -v '^ *+' conftest.er1 >conftest.err
28164 rm -f conftest.er1
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); } &&
28168 { ac_try='test -z "$ac_c_werror_flag"
28169 || test ! -s conftest.err'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28172 ac_status=$?
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; } &&
28175 { ac_try='test -s conftest.$ac_objext'
28176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177 (eval $ac_try) 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181
28182 echo "$as_me:$LINENO: result: found in default search path" >&5
28183 echo "${ECHO_T}found in default search path" >&6
28184 COMPILED_X_PROGRAM=1
28185
28186 else
28187 echo "$as_me: failed program was:" >&5
28188 sed 's/^/| /' conftest.$ac_ext >&5
28189
28190
28191 echo "$as_me:$LINENO: result: no" >&5
28192 echo "${ECHO_T}no" >&6
28193 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28194 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28195 { (exit 1); exit 1; }; }
28196
28197
28198 fi
28199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28200
28201 CFLAGS=$save_CFLAGS
28202 fi
28203 fi
28204
28205 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28206 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28207 libp_link=""
28208 libsm_ice_link=""
28209 libs_found=0
28210 for libp in "" " -lXp"; do
28211 if test "$libs_found" = "0"; then
28212 for libsm_ice in "" " -lSM -lICE"; do
28213 if test "$libs_found" = "0"; then
28214 save_LIBS="$LIBS"
28215 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28216 save_CFLAGS=$CFLAGS
28217 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28218
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 #include <Xm/Xm.h>
28227 #include <Xm/List.h>
28228
28229 int
28230 main ()
28231 {
28232
28233 XmString string = NULL;
28234 Widget w = NULL;
28235 int position = 0;
28236 XmListAddItem(w, string, position);
28237
28238 ;
28239 return 0;
28240 }
28241 _ACEOF
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28244 (eval $ac_link) 2>conftest.er1
28245 ac_status=$?
28246 grep -v '^ *+' conftest.er1 >conftest.err
28247 rm -f conftest.er1
28248 cat conftest.err >&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); } &&
28251 { ac_try='test -z "$ac_c_werror_flag"
28252 || test ! -s conftest.err'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; } &&
28258 { ac_try='test -s conftest$ac_exeext'
28259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28260 (eval $ac_try) 2>&5
28261 ac_status=$?
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); }; }; then
28264
28265 libp_link="$libp"
28266 libsm_ice_link="$libsm_ice"
28267 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28268 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28269 libs_found=1
28270
28271 else
28272 echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.$ac_ext >&5
28274
28275
28276
28277 fi
28278 rm -f conftest.err conftest.$ac_objext \
28279 conftest$ac_exeext conftest.$ac_ext
28280
28281 LIBS="$save_LIBS"
28282 CFLAGS=$save_CFLAGS
28283 fi
28284 done
28285 fi
28286 done
28287
28288 if test "$libs_found" = "0"; then
28289 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28290 echo "${ECHO_T}can't find the right libraries" >&6
28291 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28292 echo "$as_me: error: can't link a simple motif program" >&2;}
28293 { (exit 1); exit 1; }; }
28294 fi
28295
28296 save_CFLAGS=$CFLAGS
28297 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28298 echo "$as_me:$LINENO: checking for Motif 2" >&5
28299 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28300 cat >conftest.$ac_ext <<_ACEOF
28301 /* confdefs.h. */
28302 _ACEOF
28303 cat confdefs.h >>conftest.$ac_ext
28304 cat >>conftest.$ac_ext <<_ACEOF
28305 /* end confdefs.h. */
28306
28307 #include <Xm/Xm.h>
28308
28309 int
28310 main ()
28311 {
28312
28313 #if XmVersion < 2000
28314 #error "Not Motif 2"
28315 #endif
28316
28317 ;
28318 return 0;
28319 }
28320 _ACEOF
28321 rm -f conftest.$ac_objext
28322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28323 (eval $ac_compile) 2>conftest.er1
28324 ac_status=$?
28325 grep -v '^ *+' conftest.er1 >conftest.err
28326 rm -f conftest.er1
28327 cat conftest.err >&5
28328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28329 (exit $ac_status); } &&
28330 { ac_try='test -z "$ac_c_werror_flag"
28331 || test ! -s conftest.err'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28334 ac_status=$?
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; } &&
28337 { ac_try='test -s conftest.$ac_objext'
28338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28339 (eval $ac_try) 2>&5
28340 ac_status=$?
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); }; }; then
28343
28344 cat >>confdefs.h <<\_ACEOF
28345 #define __WXMOTIF20__ 1
28346 _ACEOF
28347
28348 echo "$as_me:$LINENO: result: found" >&5
28349 echo "${ECHO_T}found" >&6
28350
28351 else
28352 echo "$as_me: failed program was:" >&5
28353 sed 's/^/| /' conftest.$ac_ext >&5
28354
28355
28356 cat >>confdefs.h <<\_ACEOF
28357 #define __WXMOTIF20__ 0
28358 _ACEOF
28359
28360 echo "$as_me:$LINENO: result: not found" >&5
28361 echo "${ECHO_T}not found" >&6
28362
28363 fi
28364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28365 CFLAGS=$save_CFLAGS
28366
28367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28368 TOOLKIT=MOTIF
28369 GUIDIST=MOTIF_DIST
28370 fi
28371
28372 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28373 if test "$wxUSE_LIBXPM" = "sys"; then
28374 echo "$as_me:$LINENO: checking for Xpm library" >&5
28375 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28376
28377 ac_find_libraries=
28378 for ac_dir in $SEARCH_LIB /usr/lib;
28379 do
28380 for ac_extension in a so sl dylib; do
28381 if test -f "$ac_dir/libXpm.$ac_extension"; then
28382 ac_find_libraries=$ac_dir
28383 break 2
28384 fi
28385 done
28386 done
28387
28388 if test "$ac_find_libraries" != "" ; then
28389
28390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28391 result=$?
28392 if test $result = 0; then
28393 ac_path_to_link=""
28394 else
28395 ac_path_to_link=" -L$ac_find_libraries"
28396 fi
28397
28398 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28399 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28400 echo "${ECHO_T}found at $ac_find_libraries" >&6
28401
28402 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28403 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28404 if test "${wx_cv_x11_xpm_h+set}" = set; then
28405 echo $ECHO_N "(cached) $ECHO_C" >&6
28406 else
28407
28408 save_CFLAGS=$CFLAGS
28409 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28410
28411 cat >conftest.$ac_ext <<_ACEOF
28412 /* confdefs.h. */
28413 _ACEOF
28414 cat confdefs.h >>conftest.$ac_ext
28415 cat >>conftest.$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28417
28418 #include <X11/xpm.h>
28419
28420 int
28421 main ()
28422 {
28423
28424 int version;
28425 version = XpmLibraryVersion();
28426
28427 ;
28428 return 0;
28429 }
28430 _ACEOF
28431 rm -f conftest.$ac_objext
28432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28433 (eval $ac_compile) 2>conftest.er1
28434 ac_status=$?
28435 grep -v '^ *+' conftest.er1 >conftest.err
28436 rm -f conftest.er1
28437 cat conftest.err >&5
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); } &&
28440 { ac_try='test -z "$ac_c_werror_flag"
28441 || test ! -s conftest.err'
28442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443 (eval $ac_try) 2>&5
28444 ac_status=$?
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); }; } &&
28447 { ac_try='test -s conftest.$ac_objext'
28448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28449 (eval $ac_try) 2>&5
28450 ac_status=$?
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); }; }; then
28453 wx_cv_x11_xpm_h=yes
28454 else
28455 echo "$as_me: failed program was:" >&5
28456 sed 's/^/| /' conftest.$ac_ext >&5
28457
28458 wx_cv_x11_xpm_h=no
28459
28460 fi
28461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28462
28463 CFLAGS=$save_CFLAGS
28464
28465
28466 fi
28467 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28468 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28469
28470 if test $wx_cv_x11_xpm_h = "yes"; then
28471 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28472 cat >>confdefs.h <<\_ACEOF
28473 #define wxHAVE_LIB_XPM 1
28474 _ACEOF
28475
28476 else
28477 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28478 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28479 fi
28480 fi
28481
28482 fi
28483
28484 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28485 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28486 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 else
28489 ac_check_lib_save_LIBS=$LIBS
28490 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28491 cat >conftest.$ac_ext <<_ACEOF
28492 /* confdefs.h. */
28493 _ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497
28498 /* Override any gcc2 internal prototype to avoid an error. */
28499 #ifdef __cplusplus
28500 extern "C"
28501 #endif
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char XShapeQueryExtension ();
28505 int
28506 main ()
28507 {
28508 XShapeQueryExtension ();
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext conftest$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try='test -z "$ac_c_werror_flag"
28523 || test ! -s conftest.err'
28524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525 (eval $ac_try) 2>&5
28526 ac_status=$?
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); }; } &&
28529 { ac_try='test -s conftest$ac_exeext'
28530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28531 (eval $ac_try) 2>&5
28532 ac_status=$?
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); }; }; then
28535 ac_cv_lib_Xext_XShapeQueryExtension=yes
28536 else
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.$ac_ext >&5
28539
28540 ac_cv_lib_Xext_XShapeQueryExtension=no
28541 fi
28542 rm -f conftest.err conftest.$ac_objext \
28543 conftest$ac_exeext conftest.$ac_ext
28544 LIBS=$ac_check_lib_save_LIBS
28545 fi
28546 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28547 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28548 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28549
28550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28551 wxHAVE_XEXT_LIB=1
28552
28553 fi
28554
28555
28556 if test "$wxHAVE_XEXT_LIB" = 1; then
28557 save_CFLAGS="$CFLAGS"
28558 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28559
28560 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28561 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28562 cat >conftest.$ac_ext <<_ACEOF
28563 /* confdefs.h. */
28564 _ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28568
28569 #include <X11/Xlib.h>
28570 #include <X11/extensions/shape.h>
28571
28572 int
28573 main ()
28574 {
28575
28576 int dummy1, dummy2;
28577 XShapeQueryExtension((Display*)NULL,
28578 (int*)NULL, (int*)NULL);
28579
28580 ;
28581 return 0;
28582 }
28583 _ACEOF
28584 rm -f conftest.$ac_objext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28586 (eval $ac_compile) 2>conftest.er1
28587 ac_status=$?
28588 grep -v '^ *+' conftest.er1 >conftest.err
28589 rm -f conftest.er1
28590 cat conftest.err >&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } &&
28593 { ac_try='test -z "$ac_c_werror_flag"
28594 || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try='test -s conftest.$ac_objext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28603 ac_status=$?
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28606
28607 cat >>confdefs.h <<\_ACEOF
28608 #define HAVE_XSHAPE 1
28609 _ACEOF
28610
28611 echo "$as_me:$LINENO: result: found" >&5
28612 echo "${ECHO_T}found" >&6
28613
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28617
28618
28619 echo "$as_me:$LINENO: result: not found" >&5
28620 echo "${ECHO_T}not found" >&6
28621
28622 fi
28623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28624 CFLAGS="$save_CFLAGS"
28625
28626 fi
28627 fi
28628
28629 if test "$wxUSE_MAC" = 1; then
28630 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28631 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28632 if test "$GCC" = yes; then
28633 echo "$as_me:$LINENO: result: gcc" >&5
28634 echo "${ECHO_T}gcc" >&6
28635 CPPFLAGS_PASCAL="-fpascal-strings"
28636 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28637 echo "$as_me:$LINENO: result: xlc" >&5
28638 echo "${ECHO_T}xlc" >&6
28639 CPPFLAGS_PASCAL="-qmacpstr"
28640 else
28641 echo "$as_me:$LINENO: result: none" >&5
28642 echo "${ECHO_T}none" >&6
28643 fi
28644
28645 if test "x$wxUSE_UNIX" = "xyes"; then
28646 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28647 else
28648 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28649 fi
28650
28651 TOOLKIT=MAC
28652 GUIDIST=MACX_DIST
28653 WXBASEPORT="_carbon"
28654 fi
28655
28656 if test "$wxUSE_COCOA" = 1; then
28657 TOOLKIT=COCOA
28658 GUIDIST=COCOA_DIST
28659 fi
28660
28661 if test "$wxUSE_PM" = 1; then
28662 TOOLKIT=PM
28663 GUIDIST=PM_DIST
28664 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28665 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28666 if test "${wx_cv_spbcdata+set}" = set; then
28667 echo $ECHO_N "(cached) $ECHO_C" >&6
28668 else
28669
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h. */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676
28677 #define INCL_PM
28678 #include <os2.h>
28679
28680 int
28681 main ()
28682 {
28683
28684 SPBCDATA test;
28685
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 rm -f conftest.$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>conftest.er1
28693 ac_status=$?
28694 grep -v '^ *+' conftest.er1 >conftest.err
28695 rm -f conftest.er1
28696 cat conftest.err >&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); } &&
28699 { ac_try='test -z "$ac_c_werror_flag"
28700 || test ! -s conftest.err'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28703 ac_status=$?
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; } &&
28706 { ac_try='test -s conftest.$ac_objext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28709 ac_status=$?
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28712 wx_cv_spbcdata=yes
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 wx_cv_spbcdata=no
28718
28719 fi
28720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28721
28722
28723 fi
28724 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28725 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28726
28727 if test $wx_cv_spbcdata = "yes"; then
28728 cat >>confdefs.h <<\_ACEOF
28729 #define HAVE_SPBCDATA 1
28730 _ACEOF
28731
28732 fi
28733 fi
28734
28735 if test "$TOOLKIT" = "PM" ; then
28736 TOOLKIT_DIR="os2"
28737 else
28738 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28739 fi
28740
28741 if test "$wxUSE_UNIVERSAL" = "yes"; then
28742 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28743 WIDGET_SET=univ
28744 fi
28745
28746 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28747 DISTDIR="wx\$(TOOLKIT)"
28748 else
28749 USE_GUI=0
28750
28751 TOOLKIT_DIR="base"
28752
28753 if test "$USE_WIN32" = 1 ; then
28754 TOOLKIT="MSW"
28755 fi
28756
28757 GUIDIST="BASE_DIST"
28758 DISTDIR="wxBase"
28759 fi
28760
28761
28762
28763
28764 IODBC_C_SRC=""
28765
28766
28767 if test "$TOOLKIT" != "MSW" ; then
28768
28769 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28770
28771 if test "${ac_cv_header_sql_h+set}" = set; then
28772 echo "$as_me:$LINENO: checking for sql.h" >&5
28773 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28774 if test "${ac_cv_header_sql_h+set}" = set; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28776 fi
28777 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28778 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28779 else
28780 # Is the header compilable?
28781 echo "$as_me:$LINENO: checking sql.h usability" >&5
28782 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789 $ac_includes_default
28790 #include <sql.h>
28791 _ACEOF
28792 rm -f conftest.$ac_objext
28793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28794 (eval $ac_compile) 2>conftest.er1
28795 ac_status=$?
28796 grep -v '^ *+' conftest.er1 >conftest.err
28797 rm -f conftest.er1
28798 cat conftest.err >&5
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } &&
28801 { ac_try='test -z "$ac_c_werror_flag"
28802 || test ! -s conftest.err'
28803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28804 (eval $ac_try) 2>&5
28805 ac_status=$?
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); }; } &&
28808 { ac_try='test -s conftest.$ac_objext'
28809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28810 (eval $ac_try) 2>&5
28811 ac_status=$?
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); }; }; then
28814 ac_header_compiler=yes
28815 else
28816 echo "$as_me: failed program was:" >&5
28817 sed 's/^/| /' conftest.$ac_ext >&5
28818
28819 ac_header_compiler=no
28820 fi
28821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28823 echo "${ECHO_T}$ac_header_compiler" >&6
28824
28825 # Is the header present?
28826 echo "$as_me:$LINENO: checking sql.h presence" >&5
28827 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834 #include <sql.h>
28835 _ACEOF
28836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28838 ac_status=$?
28839 grep -v '^ *+' conftest.er1 >conftest.err
28840 rm -f conftest.er1
28841 cat conftest.err >&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); } >/dev/null; then
28844 if test -s conftest.err; then
28845 ac_cpp_err=$ac_c_preproc_warn_flag
28846 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28847 else
28848 ac_cpp_err=
28849 fi
28850 else
28851 ac_cpp_err=yes
28852 fi
28853 if test -z "$ac_cpp_err"; then
28854 ac_header_preproc=yes
28855 else
28856 echo "$as_me: failed program was:" >&5
28857 sed 's/^/| /' conftest.$ac_ext >&5
28858
28859 ac_header_preproc=no
28860 fi
28861 rm -f conftest.err conftest.$ac_ext
28862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28863 echo "${ECHO_T}$ac_header_preproc" >&6
28864
28865 # So? What about this header?
28866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28867 yes:no: )
28868 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28869 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28870 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28871 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28872 ac_header_preproc=yes
28873 ;;
28874 no:yes:* )
28875 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28876 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28877 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28878 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28879 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28880 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28881 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28882 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28883 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28884 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28885 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28886 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28887 (
28888 cat <<\_ASBOX
28889 ## ----------------------------------------- ##
28890 ## Report this to wx-dev@lists.wxwidgets.org ##
28891 ## ----------------------------------------- ##
28892 _ASBOX
28893 ) |
28894 sed "s/^/$as_me: WARNING: /" >&2
28895 ;;
28896 esac
28897 echo "$as_me:$LINENO: checking for sql.h" >&5
28898 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28899 if test "${ac_cv_header_sql_h+set}" = set; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28901 else
28902 ac_cv_header_sql_h=$ac_header_preproc
28903 fi
28904 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28905 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28906
28907 fi
28908 if test $ac_cv_header_sql_h = yes; then
28909 found_sql_h=1
28910 fi
28911
28912
28913 if test "x$found_sql_h" = "x1" ; then
28914 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28915 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28916 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 else
28919 ac_check_lib_save_LIBS=$LIBS
28920 LIBS="-liodbc $LIBS"
28921 cat >conftest.$ac_ext <<_ACEOF
28922 /* confdefs.h. */
28923 _ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28927
28928 /* Override any gcc2 internal prototype to avoid an error. */
28929 #ifdef __cplusplus
28930 extern "C"
28931 #endif
28932 /* We use char because int might match the return type of a gcc2
28933 builtin and then its argument prototype would still apply. */
28934 char SQLAllocEnv ();
28935 int
28936 main ()
28937 {
28938 SQLAllocEnv ();
28939 ;
28940 return 0;
28941 }
28942 _ACEOF
28943 rm -f conftest.$ac_objext conftest$ac_exeext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28945 (eval $ac_link) 2>conftest.er1
28946 ac_status=$?
28947 grep -v '^ *+' conftest.er1 >conftest.err
28948 rm -f conftest.er1
28949 cat conftest.err >&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } &&
28952 { ac_try='test -z "$ac_c_werror_flag"
28953 || test ! -s conftest.err'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; } &&
28959 { ac_try='test -s conftest$ac_exeext'
28960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961 (eval $ac_try) 2>&5
28962 ac_status=$?
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); }; }; then
28965 ac_cv_lib_iodbc_SQLAllocEnv=yes
28966 else
28967 echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 ac_cv_lib_iodbc_SQLAllocEnv=no
28971 fi
28972 rm -f conftest.err conftest.$ac_objext \
28973 conftest$ac_exeext conftest.$ac_ext
28974 LIBS=$ac_check_lib_save_LIBS
28975 fi
28976 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28977 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28978 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28979 ODBC_LINK=" -liodbc"
28980 else
28981
28982 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28983 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28984 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28985 echo $ECHO_N "(cached) $ECHO_C" >&6
28986 else
28987 ac_check_lib_save_LIBS=$LIBS
28988 LIBS="-lunixodbc $LIBS"
28989 cat >conftest.$ac_ext <<_ACEOF
28990 /* confdefs.h. */
28991 _ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28995
28996 /* Override any gcc2 internal prototype to avoid an error. */
28997 #ifdef __cplusplus
28998 extern "C"
28999 #endif
29000 /* We use char because int might match the return type of a gcc2
29001 builtin and then its argument prototype would still apply. */
29002 char SQLAllocEnv ();
29003 int
29004 main ()
29005 {
29006 SQLAllocEnv ();
29007 ;
29008 return 0;
29009 }
29010 _ACEOF
29011 rm -f conftest.$ac_objext conftest$ac_exeext
29012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29013 (eval $ac_link) 2>conftest.er1
29014 ac_status=$?
29015 grep -v '^ *+' conftest.er1 >conftest.err
29016 rm -f conftest.er1
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } &&
29020 { ac_try='test -z "$ac_c_werror_flag"
29021 || test ! -s conftest.err'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29024 ac_status=$?
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; } &&
29027 { ac_try='test -s conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29034 else
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.$ac_ext >&5
29037
29038 ac_cv_lib_unixodbc_SQLAllocEnv=no
29039 fi
29040 rm -f conftest.err conftest.$ac_objext \
29041 conftest$ac_exeext conftest.$ac_ext
29042 LIBS=$ac_check_lib_save_LIBS
29043 fi
29044 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29045 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29046 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29047 ODBC_LINK=" -lunixodbc"
29048 else
29049
29050 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29051 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29052 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 ac_check_lib_save_LIBS=$LIBS
29056 LIBS="-lodbc $LIBS"
29057 cat >conftest.$ac_ext <<_ACEOF
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063
29064 /* Override any gcc2 internal prototype to avoid an error. */
29065 #ifdef __cplusplus
29066 extern "C"
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070 char SQLAllocEnv ();
29071 int
29072 main ()
29073 {
29074 SQLAllocEnv ();
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29081 (eval $ac_link) 2>conftest.er1
29082 ac_status=$?
29083 grep -v '^ *+' conftest.er1 >conftest.err
29084 rm -f conftest.er1
29085 cat conftest.err >&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try='test -z "$ac_c_werror_flag"
29089 || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try='test -s conftest$ac_exeext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101 ac_cv_lib_odbc_SQLAllocEnv=yes
29102 else
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29105
29106 ac_cv_lib_odbc_SQLAllocEnv=no
29107 fi
29108 rm -f conftest.err conftest.$ac_objext \
29109 conftest$ac_exeext conftest.$ac_ext
29110 LIBS=$ac_check_lib_save_LIBS
29111 fi
29112 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29113 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29114 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29115 ODBC_LINK=" -lodbc"
29116 fi
29117
29118
29119 fi
29120
29121
29122 fi
29123
29124 fi
29125 if test "x$ODBC_LINK" = "x" ; then
29126 if test "$wxUSE_ODBC" = "sys" ; then
29127 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29128 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29129 { (exit 1); exit 1; }; }
29130 else
29131 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29132 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29133 wxUSE_ODBC=builtin
29134 fi
29135 else
29136 wxUSE_ODBC=sys
29137 fi
29138 fi
29139
29140 if test "$wxUSE_ODBC" = "builtin" ; then
29141 cat >>confdefs.h <<\_ACEOF
29142 #define wxUSE_BUILTIN_IODBC 1
29143 _ACEOF
29144
29145 fi
29146 fi
29147
29148 if test "$wxUSE_ODBC" != "no" ; then
29149 cat >>confdefs.h <<\_ACEOF
29150 #define wxUSE_ODBC 1
29151 _ACEOF
29152
29153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29154
29155 WXODBCFLAG="-D_IODBC_"
29156 fi
29157
29158
29159 if test "$wxUSE_DISPLAY" = "yes"; then
29160 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29161 echo "$as_me:$LINENO: checking for Xinerama" >&5
29162 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29163
29164 ac_find_libraries=
29165 for ac_dir in $SEARCH_LIB /usr/lib;
29166 do
29167 for ac_extension in a so sl dylib; do
29168 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29169 ac_find_libraries=$ac_dir
29170 break 2
29171 fi
29172 done
29173 done
29174
29175 if test "$ac_find_libraries" != "" ; then
29176
29177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29178 result=$?
29179 if test $result = 0; then
29180 ac_path_to_link=""
29181 else
29182 ac_path_to_link=" -L$ac_find_libraries"
29183 fi
29184
29185 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29186 LDFLAGS="$LDFLAGS $ac_path_to_link"
29187 fi
29188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29189 echo "$as_me:$LINENO: result: yes" >&5
29190 echo "${ECHO_T}yes" >&6
29191
29192 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29193 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29194
29195 ac_find_libraries=
29196 for ac_dir in $SEARCH_LIB /usr/lib;
29197 do
29198 for ac_extension in a so sl dylib; do
29199 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29200 ac_find_libraries=$ac_dir
29201 break 2
29202 fi
29203 done
29204 done
29205
29206 if test "$ac_find_libraries" != "" ; then
29207 echo "$as_me:$LINENO: result: yes" >&5
29208 echo "${ECHO_T}yes" >&6
29209
29210 for ac_header in X11/extensions/xf86vmode.h
29211 do
29212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29213 echo "$as_me:$LINENO: checking for $ac_header" >&5
29214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29216 echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224
29225 #if HAVE_X11_XLIB_H
29226 #include <X11/Xlib.h>
29227 #endif
29228
29229
29230 #include <$ac_header>
29231 _ACEOF
29232 rm -f conftest.$ac_objext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29234 (eval $ac_compile) 2>conftest.er1
29235 ac_status=$?
29236 grep -v '^ *+' conftest.er1 >conftest.err
29237 rm -f conftest.er1
29238 cat conftest.err >&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } &&
29241 { ac_try='test -z "$ac_c_werror_flag"
29242 || test ! -s conftest.err'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; } &&
29248 { ac_try='test -s conftest.$ac_objext'
29249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29250 (eval $ac_try) 2>&5
29251 ac_status=$?
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); }; }; then
29254 eval "$as_ac_Header=yes"
29255 else
29256 echo "$as_me: failed program was:" >&5
29257 sed 's/^/| /' conftest.$ac_ext >&5
29258
29259 eval "$as_ac_Header=no"
29260 fi
29261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29262 fi
29263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29266 cat >>confdefs.h <<_ACEOF
29267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29268 _ACEOF
29269
29270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29271
29272 fi
29273
29274 done
29275
29276 else
29277 echo "$as_me:$LINENO: result: no" >&5
29278 echo "${ECHO_T}no" >&6
29279 fi
29280
29281 else
29282 echo "$as_me:$LINENO: result: no" >&5
29283 echo "${ECHO_T}no" >&6
29284 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29285 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29286 wxUSE_DISPLAY="no"
29287 fi
29288 elif test "$wxUSE_MSW" = 1; then
29289
29290
29291 for ac_header in multimon.h ddraw.h
29292 do
29293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29294 echo "$as_me:$LINENO: checking for $ac_header" >&5
29295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 else
29299 cat >conftest.$ac_ext <<_ACEOF
29300 /* confdefs.h. */
29301 _ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 #include <windows.h>
29306
29307 #include <$ac_header>
29308 _ACEOF
29309 rm -f conftest.$ac_objext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29311 (eval $ac_compile) 2>conftest.er1
29312 ac_status=$?
29313 grep -v '^ *+' conftest.er1 >conftest.err
29314 rm -f conftest.er1
29315 cat conftest.err >&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); } &&
29318 { ac_try='test -z "$ac_c_werror_flag"
29319 || test ! -s conftest.err'
29320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29321 (eval $ac_try) 2>&5
29322 ac_status=$?
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); }; } &&
29325 { ac_try='test -s conftest.$ac_objext'
29326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327 (eval $ac_try) 2>&5
29328 ac_status=$?
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); }; }; then
29331 eval "$as_ac_Header=yes"
29332 else
29333 echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.$ac_ext >&5
29335
29336 eval "$as_ac_Header=no"
29337 fi
29338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29339 fi
29340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29343 cat >>confdefs.h <<_ACEOF
29344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29345 _ACEOF
29346
29347 else
29348
29349 wxUSE_DISPLAY="no"
29350 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29351 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29352
29353 fi
29354
29355 done
29356
29357 fi
29358 fi
29359
29360
29361 USE_OPENGL=0
29362 if test "$wxUSE_OPENGL" = "yes"; then
29363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29364 OPENGL_LIBS="-framework OpenGL -framework AGL"
29365 elif test "$wxUSE_MSW" = 1; then
29366 OPENGL_LIBS="-lopengl32 -lglu32"
29367 else
29368
29369
29370 ac_find_includes=
29371 for ac_dir in $SEARCH_INCLUDE /usr/include;
29372 do
29373 if test -f "$ac_dir/GL/gl.h"; then
29374 ac_find_includes=$ac_dir
29375 break
29376 fi
29377 done
29378
29379 if test "$ac_find_includes" != "" ; then
29380 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29381 echo "${ECHO_T}found in $ac_find_includes" >&6
29382
29383 if test "x$ac_find_includes" = "x/usr/include"; then
29384 ac_path_to_include=""
29385 else
29386 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29387 result=$?
29388 if test $result = 0; then
29389 ac_path_to_include=""
29390 else
29391 ac_path_to_include=" -I$ac_find_includes"
29392 fi
29393 fi
29394
29395 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29396 fi
29397
29398 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29399 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29400 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29401 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29403 fi
29404 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29405 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29406 else
29407 # Is the header compilable?
29408 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29409 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29410 cat >conftest.$ac_ext <<_ACEOF
29411 /* confdefs.h. */
29412 _ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 $ac_includes_default
29417 #include <GL/gl.h>
29418 _ACEOF
29419 rm -f conftest.$ac_objext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29421 (eval $ac_compile) 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -z "$ac_c_werror_flag"
29429 || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29432 ac_status=$?
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try='test -s conftest.$ac_objext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29438 ac_status=$?
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 ac_header_compiler=yes
29442 else
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 ac_header_compiler=no
29447 fi
29448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29450 echo "${ECHO_T}$ac_header_compiler" >&6
29451
29452 # Is the header present?
29453 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29454 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29455 cat >conftest.$ac_ext <<_ACEOF
29456 /* confdefs.h. */
29457 _ACEOF
29458 cat confdefs.h >>conftest.$ac_ext
29459 cat >>conftest.$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29461 #include <GL/gl.h>
29462 _ACEOF
29463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } >/dev/null; then
29471 if test -s conftest.err; then
29472 ac_cpp_err=$ac_c_preproc_warn_flag
29473 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29474 else
29475 ac_cpp_err=
29476 fi
29477 else
29478 ac_cpp_err=yes
29479 fi
29480 if test -z "$ac_cpp_err"; then
29481 ac_header_preproc=yes
29482 else
29483 echo "$as_me: failed program was:" >&5
29484 sed 's/^/| /' conftest.$ac_ext >&5
29485
29486 ac_header_preproc=no
29487 fi
29488 rm -f conftest.err conftest.$ac_ext
29489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29490 echo "${ECHO_T}$ac_header_preproc" >&6
29491
29492 # So? What about this header?
29493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29494 yes:no: )
29495 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29496 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29497 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29498 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29499 ac_header_preproc=yes
29500 ;;
29501 no:yes:* )
29502 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29503 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29504 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29505 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29507 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29509 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29510 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29511 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29512 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29513 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29514 (
29515 cat <<\_ASBOX
29516 ## ----------------------------------------- ##
29517 ## Report this to wx-dev@lists.wxwidgets.org ##
29518 ## ----------------------------------------- ##
29519 _ASBOX
29520 ) |
29521 sed "s/^/$as_me: WARNING: /" >&2
29522 ;;
29523 esac
29524 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29525 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29526 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 ac_cv_header_GL_gl_h=$ac_header_preproc
29530 fi
29531 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29532 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29533
29534 fi
29535 if test $ac_cv_header_GL_gl_h = yes; then
29536
29537 found_gl=0
29538
29539 echo "$as_me:$LINENO: checking for -lGL" >&5
29540 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29541
29542 ac_find_libraries=
29543 for ac_dir in $SEARCH_LIB /usr/lib;
29544 do
29545 for ac_extension in a so sl dylib; do
29546 if test -f "$ac_dir/libGL.$ac_extension"; then
29547 ac_find_libraries=$ac_dir
29548 break 2
29549 fi
29550 done
29551 done
29552
29553 if test "$ac_find_libraries" != "" ; then
29554 echo "$as_me:$LINENO: result: yes" >&5
29555 echo "${ECHO_T}yes" >&6
29556
29557
29558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29559 result=$?
29560 if test $result = 0; then
29561 ac_path_to_link=""
29562 else
29563 ac_path_to_link=" -L$ac_find_libraries"
29564 fi
29565
29566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29567 LDFLAGS_GL="$ac_path_to_link"
29568 fi
29569
29570 echo "$as_me:$LINENO: checking for -lGLU" >&5
29571 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29572
29573 ac_find_libraries=
29574 for ac_dir in $SEARCH_LIB /usr/lib;
29575 do
29576 for ac_extension in a so sl dylib; do
29577 if test -f "$ac_dir/libGLU.$ac_extension"; then
29578 ac_find_libraries=$ac_dir
29579 break 2
29580 fi
29581 done
29582 done
29583
29584 if test "$ac_find_libraries" != "" ; then
29585
29586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29587 result=$?
29588 if test $result = 0; then
29589 ac_path_to_link=""
29590 else
29591 ac_path_to_link=" -L$ac_find_libraries"
29592 fi
29593
29594 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29595 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29596 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29597 fi
29598
29599 found_gl=1
29600 OPENGL_LIBS="-lGL -lGLU"
29601 echo "$as_me:$LINENO: result: yes" >&5
29602 echo "${ECHO_T}yes" >&6
29603 else
29604 echo "$as_me:$LINENO: result: no" >&5
29605 echo "${ECHO_T}no" >&6
29606 fi
29607 else
29608 echo "$as_me:$LINENO: result: no" >&5
29609 echo "${ECHO_T}no" >&6
29610 fi
29611
29612 if test "$found_gl" != 1; then
29613 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29614 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29615
29616 ac_find_libraries=
29617 for ac_dir in $SEARCH_LIB /usr/lib;
29618 do
29619 for ac_extension in a so sl dylib; do
29620 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29621 ac_find_libraries=$ac_dir
29622 break 2
29623 fi
29624 done
29625 done
29626
29627 if test "$ac_find_libraries" != "" ; then
29628
29629 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29630 result=$?
29631 if test $result = 0; then
29632 ac_path_to_link=""
29633 else
29634 ac_path_to_link=" -L$ac_find_libraries"
29635 fi
29636
29637 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29638 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29639 echo "$as_me:$LINENO: result: yes" >&5
29640 echo "${ECHO_T}yes" >&6
29641 else
29642 echo "$as_me:$LINENO: result: no" >&5
29643 echo "${ECHO_T}no" >&6
29644 fi
29645 fi
29646
29647 fi
29648
29649
29650
29651 if test "x$OPENGL_LIBS" = "x"; then
29652 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29653 echo "$as_me: error: OpenGL libraries not available" >&2;}
29654 { (exit 1); exit 1; }; }
29655 fi
29656 fi
29657
29658 if test "$wxUSE_OPENGL" = "yes"; then
29659 USE_OPENGL=1
29660 cat >>confdefs.h <<\_ACEOF
29661 #define wxUSE_OPENGL 1
29662 _ACEOF
29663
29664 cat >>confdefs.h <<\_ACEOF
29665 #define wxUSE_GLCANVAS 1
29666 _ACEOF
29667
29668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29669 fi
29670 fi
29671
29672
29673 if test -n "$TOOLKIT" ; then
29674 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29675 fi
29676
29677
29678
29679 if test "$wxUSE_SHARED" = "yes"; then
29680 case "${host}" in
29681 *-pc-msdosdjgpp )
29682 wxUSE_SHARED=no
29683 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29684 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29685 ;;
29686 esac
29687 fi
29688
29689 if test "$wxUSE_SHARED" = "yes"; then
29690
29691
29692 found_versioning=no
29693
29694
29695 if test $found_versioning = no ; then
29696 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29697 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29698 if test "${wx_cv_version_script+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29701
29702 echo "VER_1 { *; };" >conftest.sym
29703 echo "int main() { return 0; }" >conftest.cpp
29704
29705 if { ac_try='
29706 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29707 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } ; then
29713 if test -s conftest.stderr ; then
29714 wx_cv_version_script=no
29715 else
29716 wx_cv_version_script=yes
29717 fi
29718 else
29719 wx_cv_version_script=no
29720 fi
29721
29722 if test $wx_cv_version_script = yes
29723 then
29724 echo "struct B { virtual ~B() { } }; \
29725 struct D : public B { }; \
29726 void F() { D d; }" > conftest.cpp
29727
29728 if { ac_try='
29729 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29730 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; } &&
29736 { ac_try='
29737 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29738 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }
29744 then
29745 if { ac_try='
29746 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29747 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29750 ac_status=$?
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; }
29753 then
29754 wx_cv_version_script=yes
29755 else
29756 wx_cv_version_script=no
29757 fi
29758 fi
29759 fi
29760
29761 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29762 rm -f conftest1.output conftest2.output conftest3.output
29763
29764 fi
29765 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29766 echo "${ECHO_T}$wx_cv_version_script" >&6
29767 if test $wx_cv_version_script = yes ; then
29768 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29769 fi
29770 fi
29771
29772
29773 case "${host}" in
29774 *-*-linux* | *-*-gnu* )
29775 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29776 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29777 ;;
29778
29779 *-*-solaris2* )
29780 if test "$GCC" = yes ; then
29781 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29782
29783 saveLdflags="$LDFLAGS"
29784 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29785 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29786 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29787 cat >conftest.$ac_ext <<_ACEOF
29788 /* confdefs.h. */
29789 _ACEOF
29790 cat confdefs.h >>conftest.$ac_ext
29791 cat >>conftest.$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29793
29794 int
29795 main ()
29796 {
29797
29798 ;
29799 return 0;
29800 }
29801 _ACEOF
29802 rm -f conftest.$ac_objext conftest$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>conftest.er1
29805 ac_status=$?
29806 grep -v '^ *+' conftest.er1 >conftest.err
29807 rm -f conftest.er1
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try='test -z "$ac_c_werror_flag"
29812 || test ! -s conftest.err'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29815 ac_status=$?
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; } &&
29818 { ac_try='test -s conftest$ac_exeext'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29821 ac_status=$?
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; }; then
29824
29825 echo "$as_me:$LINENO: result: yes" >&5
29826 echo "${ECHO_T}yes" >&6
29827 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29828 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29829
29830 else
29831 echo "$as_me: failed program was:" >&5
29832 sed 's/^/| /' conftest.$ac_ext >&5
29833
29834
29835 echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6
29837 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29838 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29839 LDFLAGS="$saveLdflags -Wl,-R,/"
29840 cat >conftest.$ac_ext <<_ACEOF
29841 /* confdefs.h. */
29842 _ACEOF
29843 cat confdefs.h >>conftest.$ac_ext
29844 cat >>conftest.$ac_ext <<_ACEOF
29845 /* end confdefs.h. */
29846
29847 int
29848 main ()
29849 {
29850
29851 ;
29852 return 0;
29853 }
29854 _ACEOF
29855 rm -f conftest.$ac_objext conftest$ac_exeext
29856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29857 (eval $ac_link) 2>conftest.er1
29858 ac_status=$?
29859 grep -v '^ *+' conftest.er1 >conftest.err
29860 rm -f conftest.er1
29861 cat conftest.err >&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } &&
29864 { ac_try='test -z "$ac_c_werror_flag"
29865 || test ! -s conftest.err'
29866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29867 (eval $ac_try) 2>&5
29868 ac_status=$?
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; } &&
29871 { ac_try='test -s conftest$ac_exeext'
29872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29873 (eval $ac_try) 2>&5
29874 ac_status=$?
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); }; }; then
29877
29878 echo "$as_me:$LINENO: result: yes" >&5
29879 echo "${ECHO_T}yes" >&6
29880 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29881 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29882
29883 else
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29886
29887
29888 echo "$as_me:$LINENO: result: no" >&5
29889 echo "${ECHO_T}no" >&6
29890
29891 fi
29892 rm -f conftest.err conftest.$ac_objext \
29893 conftest$ac_exeext conftest.$ac_ext
29894
29895 fi
29896 rm -f conftest.err conftest.$ac_objext \
29897 conftest$ac_exeext conftest.$ac_ext
29898 LDFLAGS="$saveLdflags"
29899 else
29900 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29901 WXCONFIG_RPATH="-R\$libdir"
29902 fi
29903 ;;
29904
29905 powerpc-*-darwin* )
29906 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29907 cat <<EOF >change-install-names
29908 #!/bin/sh
29909 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29910 inst_cmd="install_name_tool "
29911 for i in \${libnames} ; do
29912 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29913 done
29914 \${inst_cmd} \${3}
29915 EOF
29916 chmod +x change-install-names
29917 ;;
29918
29919 *-*-cygwin* | *-*-mingw32* )
29920 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29921 ;;
29922
29923 *-*-hpux* )
29924 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29925 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29926 ;;
29927
29928 esac
29929
29930 if test $wxUSE_RPATH = "no"; then
29931 SAMPLES_RPATH_FLAG=''
29932 SAMPLES_RPATH_POSTLINK=''
29933 WXCONFIG_RPATH=''
29934 fi
29935
29936 SHARED=1
29937
29938 else
29939
29940 config_linkage_component="-static"
29941 SHARED=0
29942
29943 fi
29944
29945
29946 UNICODE=0
29947 lib_unicode_suffix=
29948 WX_CHARTYPE="ansi"
29949 if test "$wxUSE_UNICODE" = "yes"; then
29950 lib_unicode_suffix=u
29951 WX_CHARTYPE="unicode"
29952 UNICODE=1
29953 fi
29954
29955 lib_debug_suffix=
29956 WX_DEBUGTYPE="release"
29957 DEBUG_FLAG=0
29958 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29959 lib_debug_suffix=d
29960 WX_DEBUGTYPE="debug"
29961 DEBUG_FLAG=1
29962 fi
29963
29964 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29965 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29966
29967 DEBUG_INFO=0
29968 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29969 DEBUG_INFO=1
29970 fi
29971
29972 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29973
29974 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29975
29976 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29977
29978 if test "$cross_compiling" = "yes"; then
29979 HOST_SUFFIX="-$host_alias"
29980 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29981 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29982 fi
29983
29984 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29985 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29986
29987
29988
29989 if test "$wxUSE_COCOA" = 1; then
29990
29991
29992 ac_ext=c
29993 ac_cpp='$CPP $CPPFLAGS'
29994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29997
29998 ac_ext=m
29999
30000 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30001 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30002 cat >conftest.$ac_ext <<_ACEOF
30003 /* confdefs.h. */
30004 _ACEOF
30005 cat confdefs.h >>conftest.$ac_ext
30006 cat >>conftest.$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30008 #include <AppKit/NSEvent.h>
30009 #include <CoreFoundation/CoreFoundation.h>
30010
30011 int
30012 main ()
30013 {
30014
30015 ;
30016 return 0;
30017 }
30018 _ACEOF
30019 rm -f conftest.$ac_objext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30021 (eval $ac_compile) 2>conftest.er1
30022 ac_status=$?
30023 grep -v '^ *+' conftest.er1 >conftest.err
30024 rm -f conftest.er1
30025 cat conftest.err >&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } &&
30028 { ac_try='test -z "$ac_c_werror_flag"
30029 || test ! -s conftest.err'
30030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30031 (eval $ac_try) 2>&5
30032 ac_status=$?
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); }; } &&
30035 { ac_try='test -s conftest.$ac_objext'
30036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30037 (eval $ac_try) 2>&5
30038 ac_status=$?
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); }; }; then
30041 echo "$as_me:$LINENO: result: no" >&5
30042 echo "${ECHO_T}no" >&6
30043 else
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30046
30047 echo "$as_me:$LINENO: result: yes" >&5
30048 echo "${ECHO_T}yes" >&6
30049 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30050 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30051 cat >conftest.$ac_ext <<_ACEOF
30052 /* confdefs.h. */
30053 _ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 #define __Point__ 1
30058 #include <AppKit/NSEvent.h>
30059 #include <CoreFoundation/CoreFoundation.h>
30060
30061 int
30062 main ()
30063 {
30064
30065 ;
30066 return 0;
30067 }
30068 _ACEOF
30069 rm -f conftest.$ac_objext
30070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30071 (eval $ac_compile) 2>conftest.er1
30072 ac_status=$?
30073 grep -v '^ *+' conftest.er1 >conftest.err
30074 rm -f conftest.er1
30075 cat conftest.err >&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30082 ac_status=$?
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try='test -s conftest.$ac_objext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30088 ac_status=$?
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30091 echo "$as_me:$LINENO: result: yes" >&5
30092 echo "${ECHO_T}yes" >&6
30093 cat >>confdefs.h <<\_ACEOF
30094 #define __Point__ 1
30095 _ACEOF
30096
30097
30098 else
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.$ac_ext >&5
30101
30102 { { echo "$as_me:$LINENO: error: no
30103 See \`config.log' for more details." >&5
30104 echo "$as_me: error: no
30105 See \`config.log' for more details." >&2;}
30106 { (exit 1); exit 1; }; }
30107
30108 fi
30109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30110
30111 fi
30112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30113 ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30118
30119 fi
30120
30121 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30122 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30123 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30124
30125 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30126
30127 # Extract the first word of "Rez", so it can be a program name with args.
30128 set dummy Rez; ac_word=$2
30129 echo "$as_me:$LINENO: checking for $ac_word" >&5
30130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30131 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 else
30134 if test -n "$RESCOMP"; then
30135 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30136 else
30137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30138 for as_dir in $PATH
30139 do
30140 IFS=$as_save_IFS
30141 test -z "$as_dir" && as_dir=.
30142 for ac_exec_ext in '' $ac_executable_extensions; do
30143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30144 ac_cv_prog_RESCOMP="Rez"
30145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30146 break 2
30147 fi
30148 done
30149 done
30150
30151 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30152 fi
30153 fi
30154 RESCOMP=$ac_cv_prog_RESCOMP
30155 if test -n "$RESCOMP"; then
30156 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30157 echo "${ECHO_T}$RESCOMP" >&6
30158 else
30159 echo "$as_me:$LINENO: result: no" >&5
30160 echo "${ECHO_T}no" >&6
30161 fi
30162
30163 # Extract the first word of "DeRez", so it can be a program name with args.
30164 set dummy DeRez; ac_word=$2
30165 echo "$as_me:$LINENO: checking for $ac_word" >&5
30166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30167 if test "${ac_cv_prog_DEREZ+set}" = set; then
30168 echo $ECHO_N "(cached) $ECHO_C" >&6
30169 else
30170 if test -n "$DEREZ"; then
30171 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30172 else
30173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30174 for as_dir in $PATH
30175 do
30176 IFS=$as_save_IFS
30177 test -z "$as_dir" && as_dir=.
30178 for ac_exec_ext in '' $ac_executable_extensions; do
30179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30180 ac_cv_prog_DEREZ="DeRez"
30181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30182 break 2
30183 fi
30184 done
30185 done
30186
30187 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30188 fi
30189 fi
30190 DEREZ=$ac_cv_prog_DEREZ
30191 if test -n "$DEREZ"; then
30192 echo "$as_me:$LINENO: result: $DEREZ" >&5
30193 echo "${ECHO_T}$DEREZ" >&6
30194 else
30195 echo "$as_me:$LINENO: result: no" >&5
30196 echo "${ECHO_T}no" >&6
30197 fi
30198
30199 # Extract the first word of "SetFile", so it can be a program name with args.
30200 set dummy SetFile; ac_word=$2
30201 echo "$as_me:$LINENO: checking for $ac_word" >&5
30202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30203 if test "${ac_cv_prog_SETFILE+set}" = set; then
30204 echo $ECHO_N "(cached) $ECHO_C" >&6
30205 else
30206 if test -n "$SETFILE"; then
30207 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30208 else
30209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30210 for as_dir in $PATH
30211 do
30212 IFS=$as_save_IFS
30213 test -z "$as_dir" && as_dir=.
30214 for ac_exec_ext in '' $ac_executable_extensions; do
30215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30216 ac_cv_prog_SETFILE="SetFile"
30217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30218 break 2
30219 fi
30220 done
30221 done
30222
30223 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30224 fi
30225 fi
30226 SETFILE=$ac_cv_prog_SETFILE
30227 if test -n "$SETFILE"; then
30228 echo "$as_me:$LINENO: result: $SETFILE" >&5
30229 echo "${ECHO_T}$SETFILE" >&6
30230 else
30231 echo "$as_me:$LINENO: result: no" >&5
30232 echo "${ECHO_T}no" >&6
30233 fi
30234
30235
30236 MACSETFILE="\$(SETFILE)"
30237
30238 if test "$wxUSE_MAC" = 1; then
30239 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30240
30241 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30242 else
30243 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30244 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30245 fi
30246 else
30247 MACSETFILE="@true"
30248 MACRESWXCONFIG="@true"
30249
30250 if test "$wxUSE_PM" = 1; then
30251 MACRESCOMP="emxbind -ep"
30252 else
30253 MACRESCOMP="@true"
30254 fi
30255 fi
30256
30257
30258
30259 echo "$as_me:$LINENO: checking for mode_t" >&5
30260 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30261 if test "${ac_cv_type_mode_t+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30263 else
30264 cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h. */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 $ac_includes_default
30271 int
30272 main ()
30273 {
30274 if ((mode_t *) 0)
30275 return 0;
30276 if (sizeof (mode_t))
30277 return 0;
30278 ;
30279 return 0;
30280 }
30281 _ACEOF
30282 rm -f conftest.$ac_objext
30283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30284 (eval $ac_compile) 2>conftest.er1
30285 ac_status=$?
30286 grep -v '^ *+' conftest.er1 >conftest.err
30287 rm -f conftest.er1
30288 cat conftest.err >&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } &&
30291 { ac_try='test -z "$ac_c_werror_flag"
30292 || test ! -s conftest.err'
30293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30294 (eval $ac_try) 2>&5
30295 ac_status=$?
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); }; } &&
30298 { ac_try='test -s conftest.$ac_objext'
30299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 (eval $ac_try) 2>&5
30301 ac_status=$?
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); }; }; then
30304 ac_cv_type_mode_t=yes
30305 else
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.$ac_ext >&5
30308
30309 ac_cv_type_mode_t=no
30310 fi
30311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30312 fi
30313 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30314 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30315 if test $ac_cv_type_mode_t = yes; then
30316 :
30317 else
30318
30319 cat >>confdefs.h <<_ACEOF
30320 #define mode_t int
30321 _ACEOF
30322
30323 fi
30324
30325 echo "$as_me:$LINENO: checking for off_t" >&5
30326 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30327 if test "${ac_cv_type_off_t+set}" = set; then
30328 echo $ECHO_N "(cached) $ECHO_C" >&6
30329 else
30330 cat >conftest.$ac_ext <<_ACEOF
30331 /* confdefs.h. */
30332 _ACEOF
30333 cat confdefs.h >>conftest.$ac_ext
30334 cat >>conftest.$ac_ext <<_ACEOF
30335 /* end confdefs.h. */
30336 $ac_includes_default
30337 int
30338 main ()
30339 {
30340 if ((off_t *) 0)
30341 return 0;
30342 if (sizeof (off_t))
30343 return 0;
30344 ;
30345 return 0;
30346 }
30347 _ACEOF
30348 rm -f conftest.$ac_objext
30349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30350 (eval $ac_compile) 2>conftest.er1
30351 ac_status=$?
30352 grep -v '^ *+' conftest.er1 >conftest.err
30353 rm -f conftest.er1
30354 cat conftest.err >&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); } &&
30357 { ac_try='test -z "$ac_c_werror_flag"
30358 || test ! -s conftest.err'
30359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360 (eval $ac_try) 2>&5
30361 ac_status=$?
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; } &&
30364 { ac_try='test -s conftest.$ac_objext'
30365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30366 (eval $ac_try) 2>&5
30367 ac_status=$?
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); }; }; then
30370 ac_cv_type_off_t=yes
30371 else
30372 echo "$as_me: failed program was:" >&5
30373 sed 's/^/| /' conftest.$ac_ext >&5
30374
30375 ac_cv_type_off_t=no
30376 fi
30377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30378 fi
30379 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30380 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30381 if test $ac_cv_type_off_t = yes; then
30382 :
30383 else
30384
30385 cat >>confdefs.h <<_ACEOF
30386 #define off_t long
30387 _ACEOF
30388
30389 fi
30390
30391 echo "$as_me:$LINENO: checking for pid_t" >&5
30392 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30393 if test "${ac_cv_type_pid_t+set}" = set; then
30394 echo $ECHO_N "(cached) $ECHO_C" >&6
30395 else
30396 cat >conftest.$ac_ext <<_ACEOF
30397 /* confdefs.h. */
30398 _ACEOF
30399 cat confdefs.h >>conftest.$ac_ext
30400 cat >>conftest.$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30402 $ac_includes_default
30403 int
30404 main ()
30405 {
30406 if ((pid_t *) 0)
30407 return 0;
30408 if (sizeof (pid_t))
30409 return 0;
30410 ;
30411 return 0;
30412 }
30413 _ACEOF
30414 rm -f conftest.$ac_objext
30415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30416 (eval $ac_compile) 2>conftest.er1
30417 ac_status=$?
30418 grep -v '^ *+' conftest.er1 >conftest.err
30419 rm -f conftest.er1
30420 cat conftest.err >&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } &&
30423 { ac_try='test -z "$ac_c_werror_flag"
30424 || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try='test -s conftest.$ac_objext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 ac_cv_type_pid_t=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_cv_type_pid_t=no
30442 fi
30443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30444 fi
30445 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30446 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30447 if test $ac_cv_type_pid_t = yes; then
30448 :
30449 else
30450
30451 cat >>confdefs.h <<_ACEOF
30452 #define pid_t int
30453 _ACEOF
30454
30455 fi
30456
30457 echo "$as_me:$LINENO: checking for size_t" >&5
30458 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30459 if test "${ac_cv_type_size_t+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30461 else
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 $ac_includes_default
30469 int
30470 main ()
30471 {
30472 if ((size_t *) 0)
30473 return 0;
30474 if (sizeof (size_t))
30475 return 0;
30476 ;
30477 return 0;
30478 }
30479 _ACEOF
30480 rm -f conftest.$ac_objext
30481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30482 (eval $ac_compile) 2>conftest.er1
30483 ac_status=$?
30484 grep -v '^ *+' conftest.er1 >conftest.err
30485 rm -f conftest.er1
30486 cat conftest.err >&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } &&
30489 { ac_try='test -z "$ac_c_werror_flag"
30490 || test ! -s conftest.err'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30493 ac_status=$?
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; } &&
30496 { ac_try='test -s conftest.$ac_objext'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 ac_cv_type_size_t=yes
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 ac_cv_type_size_t=no
30508 fi
30509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30510 fi
30511 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30512 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30513 if test $ac_cv_type_size_t = yes; then
30514 :
30515 else
30516
30517 cat >>confdefs.h <<_ACEOF
30518 #define size_t unsigned
30519 _ACEOF
30520
30521 fi
30522
30523 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30524 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30525 if test "${ac_cv_type_uid_t+set}" = set; then
30526 echo $ECHO_N "(cached) $ECHO_C" >&6
30527 else
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
30534 #include <sys/types.h>
30535
30536 _ACEOF
30537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30538 $EGREP "uid_t" >/dev/null 2>&1; then
30539 ac_cv_type_uid_t=yes
30540 else
30541 ac_cv_type_uid_t=no
30542 fi
30543 rm -f conftest*
30544
30545 fi
30546 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30547 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30548 if test $ac_cv_type_uid_t = no; then
30549
30550 cat >>confdefs.h <<\_ACEOF
30551 #define uid_t int
30552 _ACEOF
30553
30554
30555 cat >>confdefs.h <<\_ACEOF
30556 #define gid_t int
30557 _ACEOF
30558
30559 fi
30560
30561
30562 echo "$as_me:$LINENO: checking for ssize_t" >&5
30563 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30564 if test "${ac_cv_type_ssize_t+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30566 else
30567 cat >conftest.$ac_ext <<_ACEOF
30568 /* confdefs.h. */
30569 _ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30573 $ac_includes_default
30574 int
30575 main ()
30576 {
30577 if ((ssize_t *) 0)
30578 return 0;
30579 if (sizeof (ssize_t))
30580 return 0;
30581 ;
30582 return 0;
30583 }
30584 _ACEOF
30585 rm -f conftest.$ac_objext
30586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30587 (eval $ac_compile) 2>conftest.er1
30588 ac_status=$?
30589 grep -v '^ *+' conftest.er1 >conftest.err
30590 rm -f conftest.er1
30591 cat conftest.err >&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); } &&
30594 { ac_try='test -z "$ac_c_werror_flag"
30595 || test ! -s conftest.err'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30598 ac_status=$?
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; } &&
30601 { ac_try='test -s conftest.$ac_objext'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30604 ac_status=$?
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; }; then
30607 ac_cv_type_ssize_t=yes
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30611
30612 ac_cv_type_ssize_t=no
30613 fi
30614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30615 fi
30616 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30617 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30618 if test $ac_cv_type_ssize_t = yes; then
30619
30620 cat >>confdefs.h <<_ACEOF
30621 #define HAVE_SSIZE_T 1
30622 _ACEOF
30623
30624
30625 fi
30626
30627
30628
30629
30630 ac_ext=cc
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30635
30636 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30637 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30638 if test "${wx_cv_size_t_is_uint+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 else
30641
30642 cat >conftest.$ac_ext <<_ACEOF
30643 /* confdefs.h. */
30644 _ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 #include <stddef.h>
30649 int
30650 main ()
30651 {
30652
30653 return 0; }
30654
30655 struct Foo { void foo(size_t); void foo(unsigned int); };
30656
30657 int bar() {
30658
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_cxx_werror_flag"
30673 || test ! -s conftest.err'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30676 ac_status=$?
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; } &&
30679 { ac_try='test -s conftest.$ac_objext'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30682 ac_status=$?
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; }; then
30685 wx_cv_size_t_is_uint=no
30686 else
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.$ac_ext >&5
30689
30690 wx_cv_size_t_is_uint=yes
30691
30692 fi
30693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30694
30695
30696 fi
30697 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30698 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30699
30700 if test "$wx_cv_size_t_is_uint" = "yes"; then
30701 cat >>confdefs.h <<\_ACEOF
30702 #define wxSIZE_T_IS_UINT 1
30703 _ACEOF
30704
30705 else
30706 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30707 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30708 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711 cat >conftest.$ac_ext <<_ACEOF
30712 /* confdefs.h. */
30713 _ACEOF
30714 cat confdefs.h >>conftest.$ac_ext
30715 cat >>conftest.$ac_ext <<_ACEOF
30716 /* end confdefs.h. */
30717 #include <stddef.h>
30718 int
30719 main ()
30720 {
30721
30722 return 0; }
30723
30724 struct Foo { void foo(size_t); void foo(unsigned long); };
30725
30726 int bar() {
30727
30728 ;
30729 return 0;
30730 }
30731 _ACEOF
30732 rm -f conftest.$ac_objext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30734 (eval $ac_compile) 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } &&
30741 { ac_try='test -z "$ac_cxx_werror_flag"
30742 || test ! -s conftest.err'
30743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30744 (eval $ac_try) 2>&5
30745 ac_status=$?
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; } &&
30748 { ac_try='test -s conftest.$ac_objext'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30751 ac_status=$?
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; }; then
30754 wx_cv_size_t_is_ulong=no
30755 else
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30758
30759 wx_cv_size_t_is_ulong=yes
30760
30761 fi
30762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30763
30764 fi
30765 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30766 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30767
30768 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30769 cat >>confdefs.h <<\_ACEOF
30770 #define wxSIZE_T_IS_ULONG 1
30771 _ACEOF
30772
30773 fi
30774 fi
30775
30776 ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30781
30782
30783
30784 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30785 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30786 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30787 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 else
30789
30790 cat >conftest.$ac_ext <<_ACEOF
30791 /* confdefs.h. */
30792 _ACEOF
30793 cat confdefs.h >>conftest.$ac_ext
30794 cat >>conftest.$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30796 #include <pwd.h>
30797 int
30798 main ()
30799 {
30800
30801 char *p;
30802 struct passwd *pw;
30803 p = pw->pw_gecos;
30804
30805 ;
30806 return 0;
30807 }
30808 _ACEOF
30809 rm -f conftest.$ac_objext
30810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30811 (eval $ac_compile) 2>conftest.er1
30812 ac_status=$?
30813 grep -v '^ *+' conftest.er1 >conftest.err
30814 rm -f conftest.er1
30815 cat conftest.err >&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try='test -z "$ac_c_werror_flag"
30819 || test ! -s conftest.err'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30822 ac_status=$?
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; } &&
30825 { ac_try='test -s conftest.$ac_objext'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30828 ac_status=$?
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; }; then
30831
30832 wx_cv_struct_pw_gecos=yes
30833
30834 else
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30837
30838
30839 wx_cv_struct_pw_gecos=no
30840
30841
30842 fi
30843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30844
30845
30846 fi
30847 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30848 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30849
30850 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30851 cat >>confdefs.h <<\_ACEOF
30852 #define HAVE_PW_GECOS 1
30853 _ACEOF
30854
30855 fi
30856
30857
30858 if test "$wxUSE_WCHAR_T" = "yes"; then
30859 cat >>confdefs.h <<\_ACEOF
30860 #define wxUSE_WCHAR_T 1
30861 _ACEOF
30862
30863
30864 WCSLEN_FOUND=0
30865 WCHAR_LINK=
30866
30867 for ac_func in wcslen
30868 do
30869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30870 echo "$as_me:$LINENO: checking for $ac_func" >&5
30871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30872 if eval "test \"\${$as_ac_var+set}\" = set"; then
30873 echo $ECHO_N "(cached) $ECHO_C" >&6
30874 else
30875 cat >conftest.$ac_ext <<_ACEOF
30876 /* confdefs.h. */
30877 _ACEOF
30878 cat confdefs.h >>conftest.$ac_ext
30879 cat >>conftest.$ac_ext <<_ACEOF
30880 /* end confdefs.h. */
30881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30883 #define $ac_func innocuous_$ac_func
30884
30885 /* System header to define __stub macros and hopefully few prototypes,
30886 which can conflict with char $ac_func (); below.
30887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30888 <limits.h> exists even on freestanding compilers. */
30889
30890 #ifdef __STDC__
30891 # include <limits.h>
30892 #else
30893 # include <assert.h>
30894 #endif
30895
30896 #undef $ac_func
30897
30898 /* Override any gcc2 internal prototype to avoid an error. */
30899 #ifdef __cplusplus
30900 extern "C"
30901 {
30902 #endif
30903 /* We use char because int might match the return type of a gcc2
30904 builtin and then its argument prototype would still apply. */
30905 char $ac_func ();
30906 /* The GNU C library defines this for functions which it implements
30907 to always fail with ENOSYS. Some functions are actually named
30908 something starting with __ and the normal name is an alias. */
30909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30910 choke me
30911 #else
30912 char (*f) () = $ac_func;
30913 #endif
30914 #ifdef __cplusplus
30915 }
30916 #endif
30917
30918 int
30919 main ()
30920 {
30921 return f != $ac_func;
30922 ;
30923 return 0;
30924 }
30925 _ACEOF
30926 rm -f conftest.$ac_objext conftest$ac_exeext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30928 (eval $ac_link) 2>conftest.er1
30929 ac_status=$?
30930 grep -v '^ *+' conftest.er1 >conftest.err
30931 rm -f conftest.er1
30932 cat conftest.err >&5
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } &&
30935 { ac_try='test -z "$ac_c_werror_flag"
30936 || test ! -s conftest.err'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; } &&
30942 { ac_try='test -s conftest$ac_exeext'
30943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30944 (eval $ac_try) 2>&5
30945 ac_status=$?
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; }; then
30948 eval "$as_ac_var=yes"
30949 else
30950 echo "$as_me: failed program was:" >&5
30951 sed 's/^/| /' conftest.$ac_ext >&5
30952
30953 eval "$as_ac_var=no"
30954 fi
30955 rm -f conftest.err conftest.$ac_objext \
30956 conftest$ac_exeext conftest.$ac_ext
30957 fi
30958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30960 if test `eval echo '${'$as_ac_var'}'` = yes; then
30961 cat >>confdefs.h <<_ACEOF
30962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30963 _ACEOF
30964 WCSLEN_FOUND=1
30965 fi
30966 done
30967
30968
30969 if test "$WCSLEN_FOUND" = 0; then
30970 if test "$TOOLKIT" = "MSW"; then
30971 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30972 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30973 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 else
30976 ac_check_lib_save_LIBS=$LIBS
30977 LIBS="-lmsvcrt $LIBS"
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984
30985 /* Override any gcc2 internal prototype to avoid an error. */
30986 #ifdef __cplusplus
30987 extern "C"
30988 #endif
30989 /* We use char because int might match the return type of a gcc2
30990 builtin and then its argument prototype would still apply. */
30991 char wcslen ();
30992 int
30993 main ()
30994 {
30995 wcslen ();
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"
31010 || test ! -s conftest.err'
31011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31012 (eval $ac_try) 2>&5
31013 ac_status=$?
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); }; } &&
31016 { ac_try='test -s conftest$ac_exeext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31019 ac_status=$?
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 ac_cv_lib_msvcrt_wcslen=yes
31023 else
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31026
31027 ac_cv_lib_msvcrt_wcslen=no
31028 fi
31029 rm -f conftest.err conftest.$ac_objext \
31030 conftest$ac_exeext conftest.$ac_ext
31031 LIBS=$ac_check_lib_save_LIBS
31032 fi
31033 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31034 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31035 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31036 WCHAR_OK=1
31037 fi
31038
31039 else
31040 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31041 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31042 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31044 else
31045 ac_check_lib_save_LIBS=$LIBS
31046 LIBS="-lw $LIBS"
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h. */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053
31054 /* Override any gcc2 internal prototype to avoid an error. */
31055 #ifdef __cplusplus
31056 extern "C"
31057 #endif
31058 /* We use char because int might match the return type of a gcc2
31059 builtin and then its argument prototype would still apply. */
31060 char wcslen ();
31061 int
31062 main ()
31063 {
31064 wcslen ();
31065 ;
31066 return 0;
31067 }
31068 _ACEOF
31069 rm -f conftest.$ac_objext conftest$ac_exeext
31070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31071 (eval $ac_link) 2>conftest.er1
31072 ac_status=$?
31073 grep -v '^ *+' conftest.er1 >conftest.err
31074 rm -f conftest.er1
31075 cat conftest.err >&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); } &&
31078 { ac_try='test -z "$ac_c_werror_flag"
31079 || test ! -s conftest.err'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; } &&
31085 { ac_try='test -s conftest$ac_exeext'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; }; then
31091 ac_cv_lib_w_wcslen=yes
31092 else
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31095
31096 ac_cv_lib_w_wcslen=no
31097 fi
31098 rm -f conftest.err conftest.$ac_objext \
31099 conftest$ac_exeext conftest.$ac_ext
31100 LIBS=$ac_check_lib_save_LIBS
31101 fi
31102 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31103 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31104 if test $ac_cv_lib_w_wcslen = yes; then
31105
31106 WCHAR_LINK=" -lw"
31107 WCSLEN_FOUND=1
31108
31109 fi
31110
31111 fi
31112 fi
31113
31114 if test "$WCSLEN_FOUND" = 1; then
31115 cat >>confdefs.h <<\_ACEOF
31116 #define HAVE_WCSLEN 1
31117 _ACEOF
31118
31119 fi
31120
31121 if test "$USE_HPUX" = 1; then
31122 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31123 fi
31124
31125
31126 for ac_func in wcsrtombs
31127 do
31128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129 echo "$as_me:$LINENO: checking for $ac_func" >&5
31130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31131 if eval "test \"\${$as_ac_var+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31142 #define $ac_func innocuous_$ac_func
31143
31144 /* System header to define __stub macros and hopefully few prototypes,
31145 which can conflict with char $ac_func (); below.
31146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31147 <limits.h> exists even on freestanding compilers. */
31148
31149 #ifdef __STDC__
31150 # include <limits.h>
31151 #else
31152 # include <assert.h>
31153 #endif
31154
31155 #undef $ac_func
31156
31157 /* Override any gcc2 internal prototype to avoid an error. */
31158 #ifdef __cplusplus
31159 extern "C"
31160 {
31161 #endif
31162 /* We use char because int might match the return type of a gcc2
31163 builtin and then its argument prototype would still apply. */
31164 char $ac_func ();
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31169 choke me
31170 #else
31171 char (*f) () = $ac_func;
31172 #endif
31173 #ifdef __cplusplus
31174 }
31175 #endif
31176
31177 int
31178 main ()
31179 {
31180 return f != $ac_func;
31181 ;
31182 return 0;
31183 }
31184 _ACEOF
31185 rm -f conftest.$ac_objext conftest$ac_exeext
31186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31187 (eval $ac_link) 2>conftest.er1
31188 ac_status=$?
31189 grep -v '^ *+' conftest.er1 >conftest.err
31190 rm -f conftest.er1
31191 cat conftest.err >&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } &&
31194 { ac_try='test -z "$ac_c_werror_flag"
31195 || test ! -s conftest.err'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; } &&
31201 { ac_try='test -s conftest$ac_exeext'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31204 ac_status=$?
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; }; then
31207 eval "$as_ac_var=yes"
31208 else
31209 echo "$as_me: failed program was:" >&5
31210 sed 's/^/| /' conftest.$ac_ext >&5
31211
31212 eval "$as_ac_var=no"
31213 fi
31214 rm -f conftest.err conftest.$ac_objext \
31215 conftest$ac_exeext conftest.$ac_ext
31216 fi
31217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31219 if test `eval echo '${'$as_ac_var'}'` = yes; then
31220 cat >>confdefs.h <<_ACEOF
31221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31222 _ACEOF
31223
31224 fi
31225 done
31226
31227 else
31228 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31229 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31230 fi
31231
31232
31233
31234 ac_ext=cc
31235 ac_cpp='$CXXCPP $CPPFLAGS'
31236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239
31240
31241
31242 for ac_func in vsnprintf
31243 do
31244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31258 #define $ac_func innocuous_$ac_func
31259
31260 /* System header to define __stub macros and hopefully few prototypes,
31261 which can conflict with char $ac_func (); below.
31262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31263 <limits.h> exists even on freestanding compilers. */
31264
31265 #ifdef __STDC__
31266 # include <limits.h>
31267 #else
31268 # include <assert.h>
31269 #endif
31270
31271 #undef $ac_func
31272
31273 /* Override any gcc2 internal prototype to avoid an error. */
31274 #ifdef __cplusplus
31275 extern "C"
31276 {
31277 #endif
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31280 char $ac_func ();
31281 /* The GNU C library defines this for functions which it implements
31282 to always fail with ENOSYS. Some functions are actually named
31283 something starting with __ and the normal name is an alias. */
31284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31285 choke me
31286 #else
31287 char (*f) () = $ac_func;
31288 #endif
31289 #ifdef __cplusplus
31290 }
31291 #endif
31292
31293 int
31294 main ()
31295 {
31296 return f != $ac_func;
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 rm -f conftest.$ac_objext conftest$ac_exeext
31302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31303 (eval $ac_link) 2>conftest.er1
31304 ac_status=$?
31305 grep -v '^ *+' conftest.er1 >conftest.err
31306 rm -f conftest.er1
31307 cat conftest.err >&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); } &&
31310 { ac_try='test -z "$ac_cxx_werror_flag"
31311 || test ! -s conftest.err'
31312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31313 (eval $ac_try) 2>&5
31314 ac_status=$?
31315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31316 (exit $ac_status); }; } &&
31317 { ac_try='test -s conftest$ac_exeext'
31318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31319 (eval $ac_try) 2>&5
31320 ac_status=$?
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; }; then
31323 eval "$as_ac_var=yes"
31324 else
31325 echo "$as_me: failed program was:" >&5
31326 sed 's/^/| /' conftest.$ac_ext >&5
31327
31328 eval "$as_ac_var=no"
31329 fi
31330 rm -f conftest.err conftest.$ac_objext \
31331 conftest$ac_exeext conftest.$ac_ext
31332 fi
31333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31335 if test `eval echo '${'$as_ac_var'}'` = yes; then
31336 cat >>confdefs.h <<_ACEOF
31337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31338 _ACEOF
31339
31340 fi
31341 done
31342
31343
31344 if test "$ac_cv_func_vsnprintf" = "yes"; then
31345 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31346 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31347 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31349 else
31350
31351 cat >conftest.$ac_ext <<_ACEOF
31352 /* confdefs.h. */
31353 _ACEOF
31354 cat confdefs.h >>conftest.$ac_ext
31355 cat >>conftest.$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31357
31358 #include <stdio.h>
31359 #include <stdarg.h>
31360
31361 int
31362 main ()
31363 {
31364
31365 char *buf;
31366 va_list ap;
31367 vsnprintf(buf, 10u, "%s", ap);
31368
31369 ;
31370 return 0;
31371 }
31372 _ACEOF
31373 rm -f conftest.$ac_objext
31374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31375 (eval $ac_compile) 2>conftest.er1
31376 ac_status=$?
31377 grep -v '^ *+' conftest.er1 >conftest.err
31378 rm -f conftest.er1
31379 cat conftest.err >&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); } &&
31382 { ac_try='test -z "$ac_cxx_werror_flag"
31383 || test ! -s conftest.err'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31386 ac_status=$?
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; } &&
31389 { ac_try='test -s conftest.$ac_objext'
31390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391 (eval $ac_try) 2>&5
31392 ac_status=$?
31393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394 (exit $ac_status); }; }; then
31395 wx_cv_func_vsnprintf_decl=yes
31396 else
31397 echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.$ac_ext >&5
31399
31400
31401 cat >conftest.$ac_ext <<_ACEOF
31402 /* confdefs.h. */
31403 _ACEOF
31404 cat confdefs.h >>conftest.$ac_ext
31405 cat >>conftest.$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31407
31408 #include <stdio.h>
31409 #include <stdarg.h>
31410 using namespace std;
31411
31412 int
31413 main ()
31414 {
31415
31416 char *buf;
31417 va_list ap;
31418 vsnprintf(buf, 10u, "%s", ap);
31419
31420 ;
31421 return 0;
31422 }
31423 _ACEOF
31424 rm -f conftest.$ac_objext
31425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31426 (eval $ac_compile) 2>conftest.er1
31427 ac_status=$?
31428 grep -v '^ *+' conftest.er1 >conftest.err
31429 rm -f conftest.er1
31430 cat conftest.err >&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); } &&
31433 { ac_try='test -z "$ac_cxx_werror_flag"
31434 || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 wx_cv_func_vsnprintf_decl=yes
31447 else
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31450
31451 wx_cv_func_vsnprintf_decl=no
31452
31453 fi
31454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31455
31456
31457 fi
31458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31459
31460
31461 fi
31462 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31463 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31464
31465 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31466 cat >>confdefs.h <<\_ACEOF
31467 #define HAVE_VSNPRINTF_DECL 1
31468 _ACEOF
31469
31470 fi
31471 fi
31472
31473 if test "$wxUSE_UNICODE" = yes; then
31474
31475
31476
31477
31478
31479
31480 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31481 do
31482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31483 echo "$as_me:$LINENO: checking for $ac_func" >&5
31484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31485 if eval "test \"\${$as_ac_var+set}\" = set"; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31487 else
31488 cat >conftest.$ac_ext <<_ACEOF
31489 /* confdefs.h. */
31490 _ACEOF
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31496 #define $ac_func innocuous_$ac_func
31497
31498 /* System header to define __stub macros and hopefully few prototypes,
31499 which can conflict with char $ac_func (); below.
31500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31501 <limits.h> exists even on freestanding compilers. */
31502
31503 #ifdef __STDC__
31504 # include <limits.h>
31505 #else
31506 # include <assert.h>
31507 #endif
31508
31509 #undef $ac_func
31510
31511 /* Override any gcc2 internal prototype to avoid an error. */
31512 #ifdef __cplusplus
31513 extern "C"
31514 {
31515 #endif
31516 /* We use char because int might match the return type of a gcc2
31517 builtin and then its argument prototype would still apply. */
31518 char $ac_func ();
31519 /* The GNU C library defines this for functions which it implements
31520 to always fail with ENOSYS. Some functions are actually named
31521 something starting with __ and the normal name is an alias. */
31522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31523 choke me
31524 #else
31525 char (*f) () = $ac_func;
31526 #endif
31527 #ifdef __cplusplus
31528 }
31529 #endif
31530
31531 int
31532 main ()
31533 {
31534 return f != $ac_func;
31535 ;
31536 return 0;
31537 }
31538 _ACEOF
31539 rm -f conftest.$ac_objext conftest$ac_exeext
31540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31541 (eval $ac_link) 2>conftest.er1
31542 ac_status=$?
31543 grep -v '^ *+' conftest.er1 >conftest.err
31544 rm -f conftest.er1
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } &&
31548 { ac_try='test -z "$ac_cxx_werror_flag"
31549 || test ! -s conftest.err'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_var=yes"
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 eval "$as_ac_var=no"
31567 fi
31568 rm -f conftest.err conftest.$ac_objext \
31569 conftest$ac_exeext conftest.$ac_ext
31570 fi
31571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31573 if test `eval echo '${'$as_ac_var'}'` = yes; then
31574 cat >>confdefs.h <<_ACEOF
31575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31576 _ACEOF
31577
31578 fi
31579 done
31580
31581
31582 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31583 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31584 cat >conftest.$ac_ext <<_ACEOF
31585 /* confdefs.h. */
31586 _ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590 #include <wchar.h>
31591 int
31592 main ()
31593 {
31594 &_vsnwprintf;
31595 ;
31596 return 0;
31597 }
31598 _ACEOF
31599 rm -f conftest.$ac_objext
31600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31601 (eval $ac_compile) 2>conftest.er1
31602 ac_status=$?
31603 grep -v '^ *+' conftest.er1 >conftest.err
31604 rm -f conftest.er1
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } &&
31608 { ac_try='test -z "$ac_cxx_werror_flag"
31609 || test ! -s conftest.err'
31610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31611 (eval $ac_try) 2>&5
31612 ac_status=$?
31613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31614 (exit $ac_status); }; } &&
31615 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
31621 echo "$as_me:$LINENO: result: yes" >&5
31622 echo "${ECHO_T}yes" >&6
31623 cat >>confdefs.h <<\_ACEOF
31624 #define HAVE__VSNWPRINTF 1
31625 _ACEOF
31626
31627 else
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.$ac_ext >&5
31630
31631 echo "$as_me:$LINENO: result: no" >&5
31632 echo "${ECHO_T}no" >&6
31633 fi
31634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31635 fi
31636
31637 ac_ext=c
31638 ac_cpp='$CPP $CPPFLAGS'
31639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31642
31643
31644
31645
31646 if test "$TOOLKIT" != "MSW"; then
31647
31648
31649
31650
31651 ac_ext=cc
31652 ac_cpp='$CXXCPP $CPPFLAGS'
31653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31656
31657
31658
31659
31660 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31661 if test "${with_libiconv_prefix+set}" = set; then
31662 withval="$with_libiconv_prefix"
31663
31664 for dir in `echo "$withval" | tr : ' '`; do
31665 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31666 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31667 done
31668
31669 fi;
31670
31671 echo "$as_me:$LINENO: checking for iconv" >&5
31672 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31673 if test "${am_cv_func_iconv+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31675 else
31676
31677 am_cv_func_iconv="no, consider installing GNU libiconv"
31678 am_cv_lib_iconv=no
31679 cat >conftest.$ac_ext <<_ACEOF
31680 /* confdefs.h. */
31681 _ACEOF
31682 cat confdefs.h >>conftest.$ac_ext
31683 cat >>conftest.$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31685 #include <stdlib.h>
31686 #include <iconv.h>
31687 int
31688 main ()
31689 {
31690 iconv_t cd = iconv_open("","");
31691 iconv(cd,NULL,NULL,NULL,NULL);
31692 iconv_close(cd);
31693 ;
31694 return 0;
31695 }
31696 _ACEOF
31697 rm -f conftest.$ac_objext conftest$ac_exeext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31699 (eval $ac_link) 2>conftest.er1
31700 ac_status=$?
31701 grep -v '^ *+' conftest.er1 >conftest.err
31702 rm -f conftest.er1
31703 cat conftest.err >&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try='test -z "$ac_cxx_werror_flag"
31707 || test ! -s conftest.err'
31708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709 (eval $ac_try) 2>&5
31710 ac_status=$?
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; } &&
31713 { ac_try='test -s conftest$ac_exeext'
31714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715 (eval $ac_try) 2>&5
31716 ac_status=$?
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); }; }; then
31719 am_cv_func_iconv=yes
31720 else
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.$ac_ext >&5
31723
31724 fi
31725 rm -f conftest.err conftest.$ac_objext \
31726 conftest$ac_exeext conftest.$ac_ext
31727 if test "$am_cv_func_iconv" != yes; then
31728 am_save_LIBS="$LIBS"
31729 LIBS="$LIBS -liconv"
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 #include <stdlib.h>
31737 #include <iconv.h>
31738 int
31739 main ()
31740 {
31741 iconv_t cd = iconv_open("","");
31742 iconv(cd,NULL,NULL,NULL,NULL);
31743 iconv_close(cd);
31744 ;
31745 return 0;
31746 }
31747 _ACEOF
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>conftest.er1
31751 ac_status=$?
31752 grep -v '^ *+' conftest.er1 >conftest.err
31753 rm -f conftest.er1
31754 cat conftest.err >&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try='test -z "$ac_cxx_werror_flag"
31758 || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31761 ac_status=$?
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try='test -s conftest$ac_exeext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770 am_cv_lib_iconv=yes
31771 am_cv_func_iconv=yes
31772 else
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.$ac_ext >&5
31775
31776 fi
31777 rm -f conftest.err conftest.$ac_objext \
31778 conftest$ac_exeext conftest.$ac_ext
31779 LIBS="$am_save_LIBS"
31780 fi
31781
31782 fi
31783 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31784 echo "${ECHO_T}$am_cv_func_iconv" >&6
31785 if test "$am_cv_func_iconv" = yes; then
31786
31787 cat >>confdefs.h <<\_ACEOF
31788 #define HAVE_ICONV 1
31789 _ACEOF
31790
31791 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31792 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31793 if test "${wx_cv_func_iconv_const+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31795 else
31796 cat >conftest.$ac_ext <<_ACEOF
31797 /* confdefs.h. */
31798 _ACEOF
31799 cat confdefs.h >>conftest.$ac_ext
31800 cat >>conftest.$ac_ext <<_ACEOF
31801 /* end confdefs.h. */
31802
31803 #include <stdlib.h>
31804 #include <iconv.h>
31805 extern
31806 #ifdef __cplusplus
31807 "C"
31808 #endif
31809 #if defined(__STDC__) || defined(__cplusplus)
31810 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31811 #else
31812 size_t iconv();
31813 #endif
31814
31815 int
31816 main ()
31817 {
31818
31819 ;
31820 return 0;
31821 }
31822 _ACEOF
31823 rm -f conftest.$ac_objext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31825 (eval $ac_compile) 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try='test -z "$ac_cxx_werror_flag"
31833 || test ! -s conftest.err'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; } &&
31839 { ac_try='test -s conftest.$ac_objext'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; }; then
31845 wx_cv_func_iconv_const="no"
31846 else
31847 echo "$as_me: failed program was:" >&5
31848 sed 's/^/| /' conftest.$ac_ext >&5
31849
31850 wx_cv_func_iconv_const="yes"
31851
31852 fi
31853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31854
31855 fi
31856 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31857 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31858
31859 iconv_const=
31860 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31861 iconv_const="const"
31862 fi
31863
31864
31865 cat >>confdefs.h <<_ACEOF
31866 #define ICONV_CONST $iconv_const
31867 _ACEOF
31868
31869 fi
31870 LIBICONV=
31871 if test "$am_cv_lib_iconv" = yes; then
31872 LIBICONV="-liconv"
31873 fi
31874
31875
31876 LIBS="$LIBICONV $LIBS"
31877 ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31882
31883
31884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31885
31886 for ac_func in sigaction
31887 do
31888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31889 echo "$as_me:$LINENO: checking for $ac_func" >&5
31890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31891 if eval "test \"\${$as_ac_var+set}\" = set"; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31902 #define $ac_func innocuous_$ac_func
31903
31904 /* System header to define __stub macros and hopefully few prototypes,
31905 which can conflict with char $ac_func (); below.
31906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31907 <limits.h> exists even on freestanding compilers. */
31908
31909 #ifdef __STDC__
31910 # include <limits.h>
31911 #else
31912 # include <assert.h>
31913 #endif
31914
31915 #undef $ac_func
31916
31917 /* Override any gcc2 internal prototype to avoid an error. */
31918 #ifdef __cplusplus
31919 extern "C"
31920 {
31921 #endif
31922 /* We use char because int might match the return type of a gcc2
31923 builtin and then its argument prototype would still apply. */
31924 char $ac_func ();
31925 /* The GNU C library defines this for functions which it implements
31926 to always fail with ENOSYS. Some functions are actually named
31927 something starting with __ and the normal name is an alias. */
31928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31929 choke me
31930 #else
31931 char (*f) () = $ac_func;
31932 #endif
31933 #ifdef __cplusplus
31934 }
31935 #endif
31936
31937 int
31938 main ()
31939 {
31940 return f != $ac_func;
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31947 (eval $ac_link) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest$ac_exeext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 eval "$as_ac_var=yes"
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31971
31972 eval "$as_ac_var=no"
31973 fi
31974 rm -f conftest.err conftest.$ac_objext \
31975 conftest$ac_exeext conftest.$ac_ext
31976 fi
31977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31979 if test `eval echo '${'$as_ac_var'}'` = yes; then
31980 cat >>confdefs.h <<_ACEOF
31981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31982 _ACEOF
31983
31984 fi
31985 done
31986
31987
31988 if test "$ac_cv_func_sigaction" = "no"; then
31989 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31990 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31991 wxUSE_ON_FATAL_EXCEPTION=no
31992 fi
31993
31994 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31995
31996
31997 ac_ext=cc
31998 ac_cpp='$CXXCPP $CPPFLAGS'
31999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32002
32003
32004 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32005 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32006 if test "${wx_cv_type_sa_handler+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32008 else
32009
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 #include <signal.h>
32017 int
32018 main ()
32019 {
32020
32021 extern void testSigHandler(int);
32022
32023 struct sigaction sa;
32024 sa.sa_handler = testSigHandler;
32025
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32032 (eval $ac_compile) 2>conftest.er1
32033 ac_status=$?
32034 grep -v '^ *+' conftest.er1 >conftest.err
32035 rm -f conftest.er1
32036 cat conftest.err >&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try='test -z "$ac_cxx_werror_flag"
32040 || test ! -s conftest.err'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; } &&
32046 { ac_try='test -s conftest.$ac_objext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052
32053 wx_cv_type_sa_handler=int
32054
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32058
32059
32060 wx_cv_type_sa_handler=void
32061
32062 fi
32063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32064
32065 fi
32066 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32067 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32068
32069 ac_ext=c
32070 ac_cpp='$CPP $CPPFLAGS'
32071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32074
32075
32076 cat >>confdefs.h <<_ACEOF
32077 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32078 _ACEOF
32079
32080 fi
32081 fi
32082
32083 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32084
32085
32086 ac_ext=cc
32087 ac_cpp='$CXXCPP $CPPFLAGS'
32088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32091
32092
32093 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32094 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32095 if test "${wx_cv_func_backtrace+set}" = set; then
32096 echo $ECHO_N "(cached) $ECHO_C" >&6
32097 else
32098
32099 cat >conftest.$ac_ext <<_ACEOF
32100 /* confdefs.h. */
32101 _ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 #include <execinfo.h>
32106 int
32107 main ()
32108 {
32109
32110 void *trace[1];
32111 char **messages;
32112
32113 backtrace(trace, 1);
32114 messages = backtrace_symbols(trace, 1);
32115
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 rm -f conftest.$ac_objext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32122 (eval $ac_compile) 2>conftest.er1
32123 ac_status=$?
32124 grep -v '^ *+' conftest.er1 >conftest.err
32125 rm -f conftest.er1
32126 cat conftest.err >&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try='test -z "$ac_cxx_werror_flag"
32130 || test ! -s conftest.err'
32131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32132 (eval $ac_try) 2>&5
32133 ac_status=$?
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); }; } &&
32136 { ac_try='test -s conftest.$ac_objext'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32139 ac_status=$?
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; }; then
32142 wx_cv_func_backtrace=yes
32143 else
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.$ac_ext >&5
32146
32147 wx_cv_func_backtrace=no
32148
32149 fi
32150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32151
32152
32153 fi
32154 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32155 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32156
32157
32158 if test "$wx_cv_func_backtrace" = "no"; then
32159 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32160 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32161 wxUSE_STACKWALKER=no
32162 else
32163 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32164 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32165 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168
32169 cat >conftest.$ac_ext <<_ACEOF
32170 /* confdefs.h. */
32171 _ACEOF
32172 cat confdefs.h >>conftest.$ac_ext
32173 cat >>conftest.$ac_ext <<_ACEOF
32174 /* end confdefs.h. */
32175 #include <cxxabi.h>
32176 int
32177 main ()
32178 {
32179
32180 int rc;
32181 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32182
32183 ;
32184 return 0;
32185 }
32186 _ACEOF
32187 rm -f conftest.$ac_objext conftest$ac_exeext
32188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32189 (eval $ac_link) 2>conftest.er1
32190 ac_status=$?
32191 grep -v '^ *+' conftest.er1 >conftest.err
32192 rm -f conftest.er1
32193 cat conftest.err >&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); } &&
32196 { ac_try='test -z "$ac_cxx_werror_flag"
32197 || test ! -s conftest.err'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32200 ac_status=$?
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; } &&
32203 { ac_try='test -s conftest$ac_exeext'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; }; then
32209 wx_cv_func_cxa_demangle=yes
32210 else
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32213
32214 wx_cv_func_cxa_demangle=no
32215
32216 fi
32217 rm -f conftest.err conftest.$ac_objext \
32218 conftest$ac_exeext conftest.$ac_ext
32219
32220
32221 fi
32222 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32223 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32224
32225 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32226 cat >>confdefs.h <<\_ACEOF
32227 #define HAVE_CXA_DEMANGLE 1
32228 _ACEOF
32229
32230 fi
32231 fi
32232
32233 ac_ext=c
32234 ac_cpp='$CPP $CPPFLAGS'
32235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32238
32239 fi
32240
32241 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32242 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32243 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32244 wxUSE_STACKWALKER=no
32245 fi
32246
32247
32248
32249
32250 for ac_func in mkstemp mktemp
32251 do
32252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32253 echo "$as_me:$LINENO: checking for $ac_func" >&5
32254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32255 if eval "test \"\${$as_ac_var+set}\" = set"; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 else
32258 cat >conftest.$ac_ext <<_ACEOF
32259 /* confdefs.h. */
32260 _ACEOF
32261 cat confdefs.h >>conftest.$ac_ext
32262 cat >>conftest.$ac_ext <<_ACEOF
32263 /* end confdefs.h. */
32264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32266 #define $ac_func innocuous_$ac_func
32267
32268 /* System header to define __stub macros and hopefully few prototypes,
32269 which can conflict with char $ac_func (); below.
32270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32271 <limits.h> exists even on freestanding compilers. */
32272
32273 #ifdef __STDC__
32274 # include <limits.h>
32275 #else
32276 # include <assert.h>
32277 #endif
32278
32279 #undef $ac_func
32280
32281 /* Override any gcc2 internal prototype to avoid an error. */
32282 #ifdef __cplusplus
32283 extern "C"
32284 {
32285 #endif
32286 /* We use char because int might match the return type of a gcc2
32287 builtin and then its argument prototype would still apply. */
32288 char $ac_func ();
32289 /* The GNU C library defines this for functions which it implements
32290 to always fail with ENOSYS. Some functions are actually named
32291 something starting with __ and the normal name is an alias. */
32292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32293 choke me
32294 #else
32295 char (*f) () = $ac_func;
32296 #endif
32297 #ifdef __cplusplus
32298 }
32299 #endif
32300
32301 int
32302 main ()
32303 {
32304 return f != $ac_func;
32305 ;
32306 return 0;
32307 }
32308 _ACEOF
32309 rm -f conftest.$ac_objext conftest$ac_exeext
32310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32311 (eval $ac_link) 2>conftest.er1
32312 ac_status=$?
32313 grep -v '^ *+' conftest.er1 >conftest.err
32314 rm -f conftest.er1
32315 cat conftest.err >&5
32316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317 (exit $ac_status); } &&
32318 { ac_try='test -z "$ac_c_werror_flag"
32319 || test ! -s conftest.err'
32320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32321 (eval $ac_try) 2>&5
32322 ac_status=$?
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; } &&
32325 { ac_try='test -s conftest$ac_exeext'
32326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32327 (eval $ac_try) 2>&5
32328 ac_status=$?
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); }; }; then
32331 eval "$as_ac_var=yes"
32332 else
32333 echo "$as_me: failed program was:" >&5
32334 sed 's/^/| /' conftest.$ac_ext >&5
32335
32336 eval "$as_ac_var=no"
32337 fi
32338 rm -f conftest.err conftest.$ac_objext \
32339 conftest$ac_exeext conftest.$ac_ext
32340 fi
32341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32343 if test `eval echo '${'$as_ac_var'}'` = yes; then
32344 cat >>confdefs.h <<_ACEOF
32345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32346 _ACEOF
32347 break
32348 fi
32349 done
32350
32351
32352 echo "$as_me:$LINENO: checking for statfs" >&5
32353 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32354 if test "${wx_cv_func_statfs+set}" = set; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 else
32357 cat >conftest.$ac_ext <<_ACEOF
32358 /* confdefs.h. */
32359 _ACEOF
32360 cat confdefs.h >>conftest.$ac_ext
32361 cat >>conftest.$ac_ext <<_ACEOF
32362 /* end confdefs.h. */
32363
32364 #if defined(__BSD__)
32365 #include <sys/param.h>
32366 #include <sys/mount.h>
32367 #else
32368 #include <sys/vfs.h>
32369 #endif
32370
32371 int
32372 main ()
32373 {
32374
32375 long l;
32376 struct statfs fs;
32377 statfs("/", &fs);
32378 l = fs.f_bsize;
32379 l += fs.f_blocks;
32380 l += fs.f_bavail;
32381
32382 ;
32383 return 0;
32384 }
32385 _ACEOF
32386 rm -f conftest.$ac_objext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32388 (eval $ac_compile) 2>conftest.er1
32389 ac_status=$?
32390 grep -v '^ *+' conftest.er1 >conftest.err
32391 rm -f conftest.er1
32392 cat conftest.err >&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try='test -z "$ac_c_werror_flag"
32396 || 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
32409 wx_cv_func_statfs=yes
32410
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415
32416 wx_cv_func_statfs=no
32417
32418
32419 fi
32420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32421
32422 fi
32423 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32424 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32425
32426 if test "$wx_cv_func_statfs" = "yes"; then
32427 wx_cv_type_statvfs_t="struct statfs"
32428 cat >>confdefs.h <<\_ACEOF
32429 #define HAVE_STATFS 1
32430 _ACEOF
32431
32432 else
32433 echo "$as_me:$LINENO: checking for statvfs" >&5
32434 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32435 if test "${wx_cv_func_statvfs+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 cat >conftest.$ac_ext <<_ACEOF
32439 /* confdefs.h. */
32440 _ACEOF
32441 cat confdefs.h >>conftest.$ac_ext
32442 cat >>conftest.$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32444
32445 #include <stddef.h>
32446 #include <sys/statvfs.h>
32447
32448 int
32449 main ()
32450 {
32451
32452 statvfs("/", NULL);
32453
32454 ;
32455 return 0;
32456 }
32457 _ACEOF
32458 rm -f conftest.$ac_objext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32460 (eval $ac_compile) 2>conftest.er1
32461 ac_status=$?
32462 grep -v '^ *+' conftest.er1 >conftest.err
32463 rm -f conftest.er1
32464 cat conftest.err >&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try='test -z "$ac_c_werror_flag"
32468 || test ! -s conftest.err'
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); }; } &&
32474 { ac_try='test -s conftest.$ac_objext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 wx_cv_func_statvfs=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 wx_cv_func_statvfs=no
32486
32487 fi
32488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32489
32490 fi
32491 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32492 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32493
32494 if test "$wx_cv_func_statvfs" = "yes"; then
32495
32496
32497 ac_ext=cc
32498 ac_cpp='$CXXCPP $CPPFLAGS'
32499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32502
32503
32504 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32505 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32506 if test "${wx_cv_type_statvfs_t+set}" = set; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 else
32509 cat >conftest.$ac_ext <<_ACEOF
32510 /* confdefs.h. */
32511 _ACEOF
32512 cat confdefs.h >>conftest.$ac_ext
32513 cat >>conftest.$ac_ext <<_ACEOF
32514 /* end confdefs.h. */
32515
32516 #include <sys/statvfs.h>
32517
32518 int
32519 main ()
32520 {
32521
32522 long l;
32523 statvfs_t fs;
32524 statvfs("/", &fs);
32525 l = fs.f_bsize;
32526 l += fs.f_blocks;
32527 l += fs.f_bavail;
32528
32529 ;
32530 return 0;
32531 }
32532 _ACEOF
32533 rm -f conftest.$ac_objext
32534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32535 (eval $ac_compile) 2>conftest.er1
32536 ac_status=$?
32537 grep -v '^ *+' conftest.er1 >conftest.err
32538 rm -f conftest.er1
32539 cat conftest.err >&5
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); } &&
32542 { ac_try='test -z "$ac_cxx_werror_flag"
32543 || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try='test -s conftest.$ac_objext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32552 ac_status=$?
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 wx_cv_type_statvfs_t=statvfs_t
32556 else
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.$ac_ext >&5
32559
32560
32561 cat >conftest.$ac_ext <<_ACEOF
32562 /* confdefs.h. */
32563 _ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567
32568 #include <sys/statvfs.h>
32569
32570 int
32571 main ()
32572 {
32573
32574 long l;
32575 struct statvfs fs;
32576 statvfs("/", &fs);
32577 l = fs.f_bsize;
32578 l += fs.f_blocks;
32579 l += fs.f_bavail;
32580
32581 ;
32582 return 0;
32583 }
32584 _ACEOF
32585 rm -f conftest.$ac_objext
32586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32587 (eval $ac_compile) 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } &&
32594 { ac_try='test -z "$ac_cxx_werror_flag"
32595 || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32598 ac_status=$?
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 wx_cv_type_statvfs_t="struct statvfs"
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612 wx_cv_type_statvfs_t="unknown"
32613
32614 fi
32615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32616
32617
32618 fi
32619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32620
32621 fi
32622 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32623 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32624
32625 ac_ext=c
32626 ac_cpp='$CPP $CPPFLAGS'
32627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32630
32631
32632 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32633 cat >>confdefs.h <<\_ACEOF
32634 #define HAVE_STATVFS 1
32635 _ACEOF
32636
32637 fi
32638 else
32639 wx_cv_type_statvfs_t="unknown"
32640 fi
32641 fi
32642
32643 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32644 cat >>confdefs.h <<_ACEOF
32645 #define WX_STATFS_T $wx_cv_type_statvfs_t
32646 _ACEOF
32647
32648 else
32649 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32650 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32651 fi
32652
32653 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32654
32655
32656 for ac_func in fcntl flock
32657 do
32658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32659 echo "$as_me:$LINENO: checking for $ac_func" >&5
32660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32661 if eval "test \"\${$as_ac_var+set}\" = set"; then
32662 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 else
32664 cat >conftest.$ac_ext <<_ACEOF
32665 /* confdefs.h. */
32666 _ACEOF
32667 cat confdefs.h >>conftest.$ac_ext
32668 cat >>conftest.$ac_ext <<_ACEOF
32669 /* end confdefs.h. */
32670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32672 #define $ac_func innocuous_$ac_func
32673
32674 /* System header to define __stub macros and hopefully few prototypes,
32675 which can conflict with char $ac_func (); below.
32676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32677 <limits.h> exists even on freestanding compilers. */
32678
32679 #ifdef __STDC__
32680 # include <limits.h>
32681 #else
32682 # include <assert.h>
32683 #endif
32684
32685 #undef $ac_func
32686
32687 /* Override any gcc2 internal prototype to avoid an error. */
32688 #ifdef __cplusplus
32689 extern "C"
32690 {
32691 #endif
32692 /* We use char because int might match the return type of a gcc2
32693 builtin and then its argument prototype would still apply. */
32694 char $ac_func ();
32695 /* The GNU C library defines this for functions which it implements
32696 to always fail with ENOSYS. Some functions are actually named
32697 something starting with __ and the normal name is an alias. */
32698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32699 choke me
32700 #else
32701 char (*f) () = $ac_func;
32702 #endif
32703 #ifdef __cplusplus
32704 }
32705 #endif
32706
32707 int
32708 main ()
32709 {
32710 return f != $ac_func;
32711 ;
32712 return 0;
32713 }
32714 _ACEOF
32715 rm -f conftest.$ac_objext conftest$ac_exeext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32717 (eval $ac_link) 2>conftest.er1
32718 ac_status=$?
32719 grep -v '^ *+' conftest.er1 >conftest.err
32720 rm -f conftest.er1
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try='test -z "$ac_c_werror_flag"
32725 || test ! -s conftest.err'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32728 ac_status=$?
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; } &&
32731 { ac_try='test -s conftest$ac_exeext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 eval "$as_ac_var=yes"
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 eval "$as_ac_var=no"
32743 fi
32744 rm -f conftest.err conftest.$ac_objext \
32745 conftest$ac_exeext conftest.$ac_ext
32746 fi
32747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32749 if test `eval echo '${'$as_ac_var'}'` = yes; then
32750 cat >>confdefs.h <<_ACEOF
32751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32752 _ACEOF
32753 break
32754 fi
32755 done
32756
32757
32758 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32759 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32760 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32761 wxUSE_SNGLINST_CHECKER=no
32762 fi
32763 fi
32764
32765
32766 for ac_func in timegm
32767 do
32768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define $ac_func innocuous_$ac_func
32783
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char $ac_func (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32788
32789 #ifdef __STDC__
32790 # include <limits.h>
32791 #else
32792 # include <assert.h>
32793 #endif
32794
32795 #undef $ac_func
32796
32797 /* Override any gcc2 internal prototype to avoid an error. */
32798 #ifdef __cplusplus
32799 extern "C"
32800 {
32801 #endif
32802 /* We use char because int might match the return type of a gcc2
32803 builtin and then its argument prototype would still apply. */
32804 char $ac_func ();
32805 /* The GNU C library defines this for functions which it implements
32806 to always fail with ENOSYS. Some functions are actually named
32807 something starting with __ and the normal name is an alias. */
32808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32809 choke me
32810 #else
32811 char (*f) () = $ac_func;
32812 #endif
32813 #ifdef __cplusplus
32814 }
32815 #endif
32816
32817 int
32818 main ()
32819 {
32820 return f != $ac_func;
32821 ;
32822 return 0;
32823 }
32824 _ACEOF
32825 rm -f conftest.$ac_objext conftest$ac_exeext
32826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32827 (eval $ac_link) 2>conftest.er1
32828 ac_status=$?
32829 grep -v '^ *+' conftest.er1 >conftest.err
32830 rm -f conftest.er1
32831 cat conftest.err >&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } &&
32834 { ac_try='test -z "$ac_c_werror_flag"
32835 || test ! -s conftest.err'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32838 ac_status=$?
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; } &&
32841 { ac_try='test -s conftest$ac_exeext'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32844 ac_status=$?
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; }; then
32847 eval "$as_ac_var=yes"
32848 else
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.$ac_ext >&5
32851
32852 eval "$as_ac_var=no"
32853 fi
32854 rm -f conftest.err conftest.$ac_objext \
32855 conftest$ac_exeext conftest.$ac_ext
32856 fi
32857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32859 if test `eval echo '${'$as_ac_var'}'` = yes; then
32860 cat >>confdefs.h <<_ACEOF
32861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32862 _ACEOF
32863
32864 fi
32865 done
32866
32867
32868
32869
32870 for ac_func in putenv setenv
32871 do
32872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32873 echo "$as_me:$LINENO: checking for $ac_func" >&5
32874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32875 if eval "test \"\${$as_ac_var+set}\" = set"; then
32876 echo $ECHO_N "(cached) $ECHO_C" >&6
32877 else
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h. */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32886 #define $ac_func innocuous_$ac_func
32887
32888 /* System header to define __stub macros and hopefully few prototypes,
32889 which can conflict with char $ac_func (); below.
32890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891 <limits.h> exists even on freestanding compilers. */
32892
32893 #ifdef __STDC__
32894 # include <limits.h>
32895 #else
32896 # include <assert.h>
32897 #endif
32898
32899 #undef $ac_func
32900
32901 /* Override any gcc2 internal prototype to avoid an error. */
32902 #ifdef __cplusplus
32903 extern "C"
32904 {
32905 #endif
32906 /* We use char because int might match the return type of a gcc2
32907 builtin and then its argument prototype would still apply. */
32908 char $ac_func ();
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32913 choke me
32914 #else
32915 char (*f) () = $ac_func;
32916 #endif
32917 #ifdef __cplusplus
32918 }
32919 #endif
32920
32921 int
32922 main ()
32923 {
32924 return f != $ac_func;
32925 ;
32926 return 0;
32927 }
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931 (eval $ac_link) 2>conftest.er1
32932 ac_status=$?
32933 grep -v '^ *+' conftest.er1 >conftest.err
32934 rm -f conftest.er1
32935 cat conftest.err >&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } &&
32938 { ac_try='test -z "$ac_c_werror_flag"
32939 || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32952 else
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32955
32956 eval "$as_ac_var=no"
32957 fi
32958 rm -f conftest.err conftest.$ac_objext \
32959 conftest$ac_exeext conftest.$ac_ext
32960 fi
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32967 break
32968 fi
32969 done
32970
32971
32972 HAVE_SOME_SLEEP_FUNC=0
32973 if test "$USE_BEOS" = 1; then
32974 cat >>confdefs.h <<\_ACEOF
32975 #define HAVE_SLEEP 1
32976 _ACEOF
32977
32978 HAVE_SOME_SLEEP_FUNC=1
32979 fi
32980
32981 if test "$USE_DARWIN" = 1; then
32982 cat >>confdefs.h <<\_ACEOF
32983 #define HAVE_USLEEP 1
32984 _ACEOF
32985
32986 HAVE_SOME_SLEEP_FUNC=1
32987 fi
32988
32989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32990 POSIX4_LINK=
32991
32992 for ac_func in nanosleep
32993 do
32994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32995 echo "$as_me:$LINENO: checking for $ac_func" >&5
32996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32997 if eval "test \"\${$as_ac_var+set}\" = set"; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000 cat >conftest.$ac_ext <<_ACEOF
33001 /* confdefs.h. */
33002 _ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define $ac_func innocuous_$ac_func
33009
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char $ac_func (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33014
33015 #ifdef __STDC__
33016 # include <limits.h>
33017 #else
33018 # include <assert.h>
33019 #endif
33020
33021 #undef $ac_func
33022
33023 /* Override any gcc2 internal prototype to avoid an error. */
33024 #ifdef __cplusplus
33025 extern "C"
33026 {
33027 #endif
33028 /* We use char because int might match the return type of a gcc2
33029 builtin and then its argument prototype would still apply. */
33030 char $ac_func ();
33031 /* The GNU C library defines this for functions which it implements
33032 to always fail with ENOSYS. Some functions are actually named
33033 something starting with __ and the normal name is an alias. */
33034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33035 choke me
33036 #else
33037 char (*f) () = $ac_func;
33038 #endif
33039 #ifdef __cplusplus
33040 }
33041 #endif
33042
33043 int
33044 main ()
33045 {
33046 return f != $ac_func;
33047 ;
33048 return 0;
33049 }
33050 _ACEOF
33051 rm -f conftest.$ac_objext conftest$ac_exeext
33052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33053 (eval $ac_link) 2>conftest.er1
33054 ac_status=$?
33055 grep -v '^ *+' conftest.er1 >conftest.err
33056 rm -f conftest.er1
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } &&
33060 { ac_try='test -z "$ac_c_werror_flag"
33061 || test ! -s conftest.err'
33062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063 (eval $ac_try) 2>&5
33064 ac_status=$?
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; } &&
33067 { ac_try='test -s conftest$ac_exeext'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33070 ac_status=$?
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }; then
33073 eval "$as_ac_var=yes"
33074 else
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.$ac_ext >&5
33077
33078 eval "$as_ac_var=no"
33079 fi
33080 rm -f conftest.err conftest.$ac_objext \
33081 conftest$ac_exeext conftest.$ac_ext
33082 fi
33083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33085 if test `eval echo '${'$as_ac_var'}'` = yes; then
33086 cat >>confdefs.h <<_ACEOF
33087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33088 _ACEOF
33089 cat >>confdefs.h <<\_ACEOF
33090 #define HAVE_NANOSLEEP 1
33091 _ACEOF
33092
33093 else
33094
33095 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33096 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33097 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100 ac_check_lib_save_LIBS=$LIBS
33101 LIBS="-lposix4 $LIBS"
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108
33109 /* Override any gcc2 internal prototype to avoid an error. */
33110 #ifdef __cplusplus
33111 extern "C"
33112 #endif
33113 /* We use char because int might match the return type of a gcc2
33114 builtin and then its argument prototype would still apply. */
33115 char nanosleep ();
33116 int
33117 main ()
33118 {
33119 nanosleep ();
33120 ;
33121 return 0;
33122 }
33123 _ACEOF
33124 rm -f conftest.$ac_objext conftest$ac_exeext
33125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33126 (eval $ac_link) 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } &&
33133 { ac_try='test -z "$ac_c_werror_flag"
33134 || test ! -s conftest.err'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; } &&
33140 { ac_try='test -s conftest$ac_exeext'
33141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33142 (eval $ac_try) 2>&5
33143 ac_status=$?
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); }; }; then
33146 ac_cv_lib_posix4_nanosleep=yes
33147 else
33148 echo "$as_me: failed program was:" >&5
33149 sed 's/^/| /' conftest.$ac_ext >&5
33150
33151 ac_cv_lib_posix4_nanosleep=no
33152 fi
33153 rm -f conftest.err conftest.$ac_objext \
33154 conftest$ac_exeext conftest.$ac_ext
33155 LIBS=$ac_check_lib_save_LIBS
33156 fi
33157 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33158 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33159 if test $ac_cv_lib_posix4_nanosleep = yes; then
33160
33161 cat >>confdefs.h <<\_ACEOF
33162 #define HAVE_NANOSLEEP 1
33163 _ACEOF
33164
33165 POSIX4_LINK=" -lposix4"
33166
33167 else
33168
33169
33170 for ac_func in usleep
33171 do
33172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33173 echo "$as_me:$LINENO: checking for $ac_func" >&5
33174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33175 if eval "test \"\${$as_ac_var+set}\" = set"; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 cat >conftest.$ac_ext <<_ACEOF
33179 /* confdefs.h. */
33180 _ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33186 #define $ac_func innocuous_$ac_func
33187
33188 /* System header to define __stub macros and hopefully few prototypes,
33189 which can conflict with char $ac_func (); below.
33190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33191 <limits.h> exists even on freestanding compilers. */
33192
33193 #ifdef __STDC__
33194 # include <limits.h>
33195 #else
33196 # include <assert.h>
33197 #endif
33198
33199 #undef $ac_func
33200
33201 /* Override any gcc2 internal prototype to avoid an error. */
33202 #ifdef __cplusplus
33203 extern "C"
33204 {
33205 #endif
33206 /* We use char because int might match the return type of a gcc2
33207 builtin and then its argument prototype would still apply. */
33208 char $ac_func ();
33209 /* The GNU C library defines this for functions which it implements
33210 to always fail with ENOSYS. Some functions are actually named
33211 something starting with __ and the normal name is an alias. */
33212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33213 choke me
33214 #else
33215 char (*f) () = $ac_func;
33216 #endif
33217 #ifdef __cplusplus
33218 }
33219 #endif
33220
33221 int
33222 main ()
33223 {
33224 return f != $ac_func;
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 rm -f conftest.$ac_objext conftest$ac_exeext
33230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 (eval $ac_link) 2>conftest.er1
33232 ac_status=$?
33233 grep -v '^ *+' conftest.er1 >conftest.err
33234 rm -f conftest.er1
33235 cat conftest.err >&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } &&
33238 { ac_try='test -z "$ac_c_werror_flag"
33239 || test ! -s conftest.err'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33242 ac_status=$?
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; } &&
33245 { ac_try='test -s conftest$ac_exeext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33248 ac_status=$?
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 eval "$as_ac_var=yes"
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33255
33256 eval "$as_ac_var=no"
33257 fi
33258 rm -f conftest.err conftest.$ac_objext \
33259 conftest$ac_exeext conftest.$ac_ext
33260 fi
33261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33263 if test `eval echo '${'$as_ac_var'}'` = yes; then
33264 cat >>confdefs.h <<_ACEOF
33265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33266 _ACEOF
33267 cat >>confdefs.h <<\_ACEOF
33268 #define HAVE_USLEEP 1
33269 _ACEOF
33270
33271 else
33272 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33273 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33274
33275 fi
33276 done
33277
33278
33279
33280 fi
33281
33282
33283
33284 fi
33285 done
33286
33287 fi
33288
33289
33290
33291 for ac_func in uname gethostname
33292 do
33293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33294 echo "$as_me:$LINENO: checking for $ac_func" >&5
33295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33296 if eval "test \"\${$as_ac_var+set}\" = set"; then
33297 echo $ECHO_N "(cached) $ECHO_C" >&6
33298 else
33299 cat >conftest.$ac_ext <<_ACEOF
33300 /* confdefs.h. */
33301 _ACEOF
33302 cat confdefs.h >>conftest.$ac_ext
33303 cat >>conftest.$ac_ext <<_ACEOF
33304 /* end confdefs.h. */
33305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33307 #define $ac_func innocuous_$ac_func
33308
33309 /* System header to define __stub macros and hopefully few prototypes,
33310 which can conflict with char $ac_func (); below.
33311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33312 <limits.h> exists even on freestanding compilers. */
33313
33314 #ifdef __STDC__
33315 # include <limits.h>
33316 #else
33317 # include <assert.h>
33318 #endif
33319
33320 #undef $ac_func
33321
33322 /* Override any gcc2 internal prototype to avoid an error. */
33323 #ifdef __cplusplus
33324 extern "C"
33325 {
33326 #endif
33327 /* We use char because int might match the return type of a gcc2
33328 builtin and then its argument prototype would still apply. */
33329 char $ac_func ();
33330 /* The GNU C library defines this for functions which it implements
33331 to always fail with ENOSYS. Some functions are actually named
33332 something starting with __ and the normal name is an alias. */
33333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33334 choke me
33335 #else
33336 char (*f) () = $ac_func;
33337 #endif
33338 #ifdef __cplusplus
33339 }
33340 #endif
33341
33342 int
33343 main ()
33344 {
33345 return f != $ac_func;
33346 ;
33347 return 0;
33348 }
33349 _ACEOF
33350 rm -f conftest.$ac_objext conftest$ac_exeext
33351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33352 (eval $ac_link) 2>conftest.er1
33353 ac_status=$?
33354 grep -v '^ *+' conftest.er1 >conftest.err
33355 rm -f conftest.er1
33356 cat conftest.err >&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } &&
33359 { ac_try='test -z "$ac_c_werror_flag"
33360 || test ! -s conftest.err'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33363 ac_status=$?
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; } &&
33366 { ac_try='test -s conftest$ac_exeext'
33367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33368 (eval $ac_try) 2>&5
33369 ac_status=$?
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; }; then
33372 eval "$as_ac_var=yes"
33373 else
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.$ac_ext >&5
33376
33377 eval "$as_ac_var=no"
33378 fi
33379 rm -f conftest.err conftest.$ac_objext \
33380 conftest$ac_exeext conftest.$ac_ext
33381 fi
33382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33384 if test `eval echo '${'$as_ac_var'}'` = yes; then
33385 cat >>confdefs.h <<_ACEOF
33386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33387 _ACEOF
33388 break
33389 fi
33390 done
33391
33392
33393
33394
33395 ac_ext=cc
33396 ac_cpp='$CXXCPP $CPPFLAGS'
33397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400
33401
33402
33403 for ac_func in strtok_r
33404 do
33405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33406 echo "$as_me:$LINENO: checking for $ac_func" >&5
33407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33408 if eval "test \"\${$as_ac_var+set}\" = set"; then
33409 echo $ECHO_N "(cached) $ECHO_C" >&6
33410 else
33411 cat >conftest.$ac_ext <<_ACEOF
33412 /* confdefs.h. */
33413 _ACEOF
33414 cat confdefs.h >>conftest.$ac_ext
33415 cat >>conftest.$ac_ext <<_ACEOF
33416 /* end confdefs.h. */
33417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33419 #define $ac_func innocuous_$ac_func
33420
33421 /* System header to define __stub macros and hopefully few prototypes,
33422 which can conflict with char $ac_func (); below.
33423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33424 <limits.h> exists even on freestanding compilers. */
33425
33426 #ifdef __STDC__
33427 # include <limits.h>
33428 #else
33429 # include <assert.h>
33430 #endif
33431
33432 #undef $ac_func
33433
33434 /* Override any gcc2 internal prototype to avoid an error. */
33435 #ifdef __cplusplus
33436 extern "C"
33437 {
33438 #endif
33439 /* We use char because int might match the return type of a gcc2
33440 builtin and then its argument prototype would still apply. */
33441 char $ac_func ();
33442 /* The GNU C library defines this for functions which it implements
33443 to always fail with ENOSYS. Some functions are actually named
33444 something starting with __ and the normal name is an alias. */
33445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33446 choke me
33447 #else
33448 char (*f) () = $ac_func;
33449 #endif
33450 #ifdef __cplusplus
33451 }
33452 #endif
33453
33454 int
33455 main ()
33456 {
33457 return f != $ac_func;
33458 ;
33459 return 0;
33460 }
33461 _ACEOF
33462 rm -f conftest.$ac_objext conftest$ac_exeext
33463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33464 (eval $ac_link) 2>conftest.er1
33465 ac_status=$?
33466 grep -v '^ *+' conftest.er1 >conftest.err
33467 rm -f conftest.er1
33468 cat conftest.err >&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); } &&
33471 { ac_try='test -z "$ac_cxx_werror_flag"
33472 || test ! -s conftest.err'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33475 ac_status=$?
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; } &&
33478 { ac_try='test -s conftest$ac_exeext'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33481 ac_status=$?
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; }; then
33484 eval "$as_ac_var=yes"
33485 else
33486 echo "$as_me: failed program was:" >&5
33487 sed 's/^/| /' conftest.$ac_ext >&5
33488
33489 eval "$as_ac_var=no"
33490 fi
33491 rm -f conftest.err conftest.$ac_objext \
33492 conftest$ac_exeext conftest.$ac_ext
33493 fi
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 _ACEOF
33500
33501 fi
33502 done
33503
33504
33505 ac_ext=c
33506 ac_cpp='$CPP $CPPFLAGS'
33507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33510
33511
33512 INET_LINK=
33513
33514 for ac_func in inet_addr
33515 do
33516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33517 echo "$as_me:$LINENO: checking for $ac_func" >&5
33518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33519 if eval "test \"\${$as_ac_var+set}\" = set"; then
33520 echo $ECHO_N "(cached) $ECHO_C" >&6
33521 else
33522 cat >conftest.$ac_ext <<_ACEOF
33523 /* confdefs.h. */
33524 _ACEOF
33525 cat confdefs.h >>conftest.$ac_ext
33526 cat >>conftest.$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33530 #define $ac_func innocuous_$ac_func
33531
33532 /* System header to define __stub macros and hopefully few prototypes,
33533 which can conflict with char $ac_func (); below.
33534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33535 <limits.h> exists even on freestanding compilers. */
33536
33537 #ifdef __STDC__
33538 # include <limits.h>
33539 #else
33540 # include <assert.h>
33541 #endif
33542
33543 #undef $ac_func
33544
33545 /* Override any gcc2 internal prototype to avoid an error. */
33546 #ifdef __cplusplus
33547 extern "C"
33548 {
33549 #endif
33550 /* We use char because int might match the return type of a gcc2
33551 builtin and then its argument prototype would still apply. */
33552 char $ac_func ();
33553 /* The GNU C library defines this for functions which it implements
33554 to always fail with ENOSYS. Some functions are actually named
33555 something starting with __ and the normal name is an alias. */
33556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33557 choke me
33558 #else
33559 char (*f) () = $ac_func;
33560 #endif
33561 #ifdef __cplusplus
33562 }
33563 #endif
33564
33565 int
33566 main ()
33567 {
33568 return f != $ac_func;
33569 ;
33570 return 0;
33571 }
33572 _ACEOF
33573 rm -f conftest.$ac_objext conftest$ac_exeext
33574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33575 (eval $ac_link) 2>conftest.er1
33576 ac_status=$?
33577 grep -v '^ *+' conftest.er1 >conftest.err
33578 rm -f conftest.er1
33579 cat conftest.err >&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); } &&
33582 { ac_try='test -z "$ac_c_werror_flag"
33583 || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33586 ac_status=$?
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try='test -s conftest$ac_exeext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33592 ac_status=$?
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33595 eval "$as_ac_var=yes"
33596 else
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33599
33600 eval "$as_ac_var=no"
33601 fi
33602 rm -f conftest.err conftest.$ac_objext \
33603 conftest$ac_exeext conftest.$ac_ext
33604 fi
33605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33607 if test `eval echo '${'$as_ac_var'}'` = yes; then
33608 cat >>confdefs.h <<_ACEOF
33609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33610 _ACEOF
33611 cat >>confdefs.h <<\_ACEOF
33612 #define HAVE_INET_ADDR 1
33613 _ACEOF
33614
33615 else
33616
33617 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33618 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33619 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 else
33622 ac_check_lib_save_LIBS=$LIBS
33623 LIBS="-lnsl $LIBS"
33624 cat >conftest.$ac_ext <<_ACEOF
33625 /* confdefs.h. */
33626 _ACEOF
33627 cat confdefs.h >>conftest.$ac_ext
33628 cat >>conftest.$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630
33631 /* Override any gcc2 internal prototype to avoid an error. */
33632 #ifdef __cplusplus
33633 extern "C"
33634 #endif
33635 /* We use char because int might match the return type of a gcc2
33636 builtin and then its argument prototype would still apply. */
33637 char inet_addr ();
33638 int
33639 main ()
33640 {
33641 inet_addr ();
33642 ;
33643 return 0;
33644 }
33645 _ACEOF
33646 rm -f conftest.$ac_objext conftest$ac_exeext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33648 (eval $ac_link) 2>conftest.er1
33649 ac_status=$?
33650 grep -v '^ *+' conftest.er1 >conftest.err
33651 rm -f conftest.er1
33652 cat conftest.err >&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } &&
33655 { ac_try='test -z "$ac_c_werror_flag"
33656 || test ! -s conftest.err'
33657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658 (eval $ac_try) 2>&5
33659 ac_status=$?
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); }; } &&
33662 { ac_try='test -s conftest$ac_exeext'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33665 ac_status=$?
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; }; then
33668 ac_cv_lib_nsl_inet_addr=yes
33669 else
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.$ac_ext >&5
33672
33673 ac_cv_lib_nsl_inet_addr=no
33674 fi
33675 rm -f conftest.err conftest.$ac_objext \
33676 conftest$ac_exeext conftest.$ac_ext
33677 LIBS=$ac_check_lib_save_LIBS
33678 fi
33679 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33680 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33681 if test $ac_cv_lib_nsl_inet_addr = yes; then
33682 INET_LINK="nsl"
33683 else
33684
33685 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33686 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33687 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33688 echo $ECHO_N "(cached) $ECHO_C" >&6
33689 else
33690 ac_check_lib_save_LIBS=$LIBS
33691 LIBS="-lresolv $LIBS"
33692 cat >conftest.$ac_ext <<_ACEOF
33693 /* confdefs.h. */
33694 _ACEOF
33695 cat confdefs.h >>conftest.$ac_ext
33696 cat >>conftest.$ac_ext <<_ACEOF
33697 /* end confdefs.h. */
33698
33699 /* Override any gcc2 internal prototype to avoid an error. */
33700 #ifdef __cplusplus
33701 extern "C"
33702 #endif
33703 /* We use char because int might match the return type of a gcc2
33704 builtin and then its argument prototype would still apply. */
33705 char inet_addr ();
33706 int
33707 main ()
33708 {
33709 inet_addr ();
33710 ;
33711 return 0;
33712 }
33713 _ACEOF
33714 rm -f conftest.$ac_objext conftest$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -z "$ac_c_werror_flag"
33724 || 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 ac_cv_lib_resolv_inet_addr=yes
33737 else
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33740
33741 ac_cv_lib_resolv_inet_addr=no
33742 fi
33743 rm -f conftest.err conftest.$ac_objext \
33744 conftest$ac_exeext conftest.$ac_ext
33745 LIBS=$ac_check_lib_save_LIBS
33746 fi
33747 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33748 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33749 if test $ac_cv_lib_resolv_inet_addr = yes; then
33750 INET_LINK="resolv"
33751 else
33752
33753 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33754 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33755 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758 ac_check_lib_save_LIBS=$LIBS
33759 LIBS="-lsocket $LIBS"
33760 cat >conftest.$ac_ext <<_ACEOF
33761 /* confdefs.h. */
33762 _ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33766
33767 /* Override any gcc2 internal prototype to avoid an error. */
33768 #ifdef __cplusplus
33769 extern "C"
33770 #endif
33771 /* We use char because int might match the return type of a gcc2
33772 builtin and then its argument prototype would still apply. */
33773 char inet_addr ();
33774 int
33775 main ()
33776 {
33777 inet_addr ();
33778 ;
33779 return 0;
33780 }
33781 _ACEOF
33782 rm -f conftest.$ac_objext conftest$ac_exeext
33783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33784 (eval $ac_link) 2>conftest.er1
33785 ac_status=$?
33786 grep -v '^ *+' conftest.er1 >conftest.err
33787 rm -f conftest.er1
33788 cat conftest.err >&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } &&
33791 { ac_try='test -z "$ac_c_werror_flag"
33792 || test ! -s conftest.err'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33795 ac_status=$?
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; } &&
33798 { ac_try='test -s conftest$ac_exeext'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33801 ac_status=$?
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; }; then
33804 ac_cv_lib_socket_inet_addr=yes
33805 else
33806 echo "$as_me: failed program was:" >&5
33807 sed 's/^/| /' conftest.$ac_ext >&5
33808
33809 ac_cv_lib_socket_inet_addr=no
33810 fi
33811 rm -f conftest.err conftest.$ac_objext \
33812 conftest$ac_exeext conftest.$ac_ext
33813 LIBS=$ac_check_lib_save_LIBS
33814 fi
33815 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33816 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33817 if test $ac_cv_lib_socket_inet_addr = yes; then
33818 INET_LINK="socket"
33819
33820 fi
33821
33822
33823
33824 fi
33825
33826
33827
33828 fi
33829
33830
33831
33832 fi
33833 done
33834
33835
33836
33837 for ac_func in inet_aton
33838 do
33839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33840 echo "$as_me:$LINENO: checking for $ac_func" >&5
33841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33842 if eval "test \"\${$as_ac_var+set}\" = set"; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 else
33845 cat >conftest.$ac_ext <<_ACEOF
33846 /* confdefs.h. */
33847 _ACEOF
33848 cat confdefs.h >>conftest.$ac_ext
33849 cat >>conftest.$ac_ext <<_ACEOF
33850 /* end confdefs.h. */
33851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33853 #define $ac_func innocuous_$ac_func
33854
33855 /* System header to define __stub macros and hopefully few prototypes,
33856 which can conflict with char $ac_func (); below.
33857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33858 <limits.h> exists even on freestanding compilers. */
33859
33860 #ifdef __STDC__
33861 # include <limits.h>
33862 #else
33863 # include <assert.h>
33864 #endif
33865
33866 #undef $ac_func
33867
33868 /* Override any gcc2 internal prototype to avoid an error. */
33869 #ifdef __cplusplus
33870 extern "C"
33871 {
33872 #endif
33873 /* We use char because int might match the return type of a gcc2
33874 builtin and then its argument prototype would still apply. */
33875 char $ac_func ();
33876 /* The GNU C library defines this for functions which it implements
33877 to always fail with ENOSYS. Some functions are actually named
33878 something starting with __ and the normal name is an alias. */
33879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33880 choke me
33881 #else
33882 char (*f) () = $ac_func;
33883 #endif
33884 #ifdef __cplusplus
33885 }
33886 #endif
33887
33888 int
33889 main ()
33890 {
33891 return f != $ac_func;
33892 ;
33893 return 0;
33894 }
33895 _ACEOF
33896 rm -f conftest.$ac_objext conftest$ac_exeext
33897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33898 (eval $ac_link) 2>conftest.er1
33899 ac_status=$?
33900 grep -v '^ *+' conftest.er1 >conftest.err
33901 rm -f conftest.er1
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -z "$ac_c_werror_flag"
33906 || 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 eval "$as_ac_var=yes"
33919 else
33920 echo "$as_me: failed program was:" >&5
33921 sed 's/^/| /' conftest.$ac_ext >&5
33922
33923 eval "$as_ac_var=no"
33924 fi
33925 rm -f conftest.err conftest.$ac_objext \
33926 conftest$ac_exeext conftest.$ac_ext
33927 fi
33928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33930 if test `eval echo '${'$as_ac_var'}'` = yes; then
33931 cat >>confdefs.h <<_ACEOF
33932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33933 _ACEOF
33934 cat >>confdefs.h <<\_ACEOF
33935 #define HAVE_INET_ATON 1
33936 _ACEOF
33937
33938 else
33939
33940 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33941 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33942 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33943 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33944 echo $ECHO_N "(cached) $ECHO_C" >&6
33945 else
33946 ac_check_lib_save_LIBS=$LIBS
33947 LIBS="-l$INET_LINK $LIBS"
33948 cat >conftest.$ac_ext <<_ACEOF
33949 /* confdefs.h. */
33950 _ACEOF
33951 cat confdefs.h >>conftest.$ac_ext
33952 cat >>conftest.$ac_ext <<_ACEOF
33953 /* end confdefs.h. */
33954
33955 /* Override any gcc2 internal prototype to avoid an error. */
33956 #ifdef __cplusplus
33957 extern "C"
33958 #endif
33959 /* We use char because int might match the return type of a gcc2
33960 builtin and then its argument prototype would still apply. */
33961 char inet_aton ();
33962 int
33963 main ()
33964 {
33965 inet_aton ();
33966 ;
33967 return 0;
33968 }
33969 _ACEOF
33970 rm -f conftest.$ac_objext conftest$ac_exeext
33971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33972 (eval $ac_link) 2>conftest.er1
33973 ac_status=$?
33974 grep -v '^ *+' conftest.er1 >conftest.err
33975 rm -f conftest.er1
33976 cat conftest.err >&5
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); } &&
33979 { ac_try='test -z "$ac_c_werror_flag"
33980 || test ! -s conftest.err'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; } &&
33986 { ac_try='test -s conftest$ac_exeext'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33989 ac_status=$?
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; }; then
33992 eval "$as_ac_Lib=yes"
33993 else
33994 echo "$as_me: failed program was:" >&5
33995 sed 's/^/| /' conftest.$ac_ext >&5
33996
33997 eval "$as_ac_Lib=no"
33998 fi
33999 rm -f conftest.err conftest.$ac_objext \
34000 conftest$ac_exeext conftest.$ac_ext
34001 LIBS=$ac_check_lib_save_LIBS
34002 fi
34003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34004 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34005 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34006 cat >>confdefs.h <<\_ACEOF
34007 #define HAVE_INET_ATON 1
34008 _ACEOF
34009
34010 fi
34011
34012
34013 fi
34014 done
34015
34016
34017 if test "x$INET_LINK" != "x"; then
34018 cat >>confdefs.h <<\_ACEOF
34019 #define HAVE_INET_ADDR 1
34020 _ACEOF
34021
34022 INET_LINK=" -l$INET_LINK"
34023 fi
34024
34025 fi
34026
34027
34028
34029 EXTRALIBS_ESD=
34030 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34031 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34032 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34033 echo $ECHO_N "(cached) $ECHO_C" >&6
34034 else
34035 ac_check_lib_save_LIBS=$LIBS
34036 LIBS="-lesd $LIBS"
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043
34044 /* Override any gcc2 internal prototype to avoid an error. */
34045 #ifdef __cplusplus
34046 extern "C"
34047 #endif
34048 /* We use char because int might match the return type of a gcc2
34049 builtin and then its argument prototype would still apply. */
34050 char esd_close ();
34051 int
34052 main ()
34053 {
34054 esd_close ();
34055 ;
34056 return 0;
34057 }
34058 _ACEOF
34059 rm -f conftest.$ac_objext conftest$ac_exeext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34061 (eval $ac_link) 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } &&
34068 { ac_try='test -z "$ac_c_werror_flag"
34069 || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34072 ac_status=$?
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try='test -s conftest$ac_exeext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34078 ac_status=$?
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34081 ac_cv_lib_esd_esd_close=yes
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 ac_cv_lib_esd_esd_close=no
34087 fi
34088 rm -f conftest.err conftest.$ac_objext \
34089 conftest$ac_exeext conftest.$ac_ext
34090 LIBS=$ac_check_lib_save_LIBS
34091 fi
34092 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34093 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34094 if test $ac_cv_lib_esd_esd_close = yes; then
34095
34096
34097 for ac_header in esd.h
34098 do
34099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34101 echo "$as_me:$LINENO: checking for $ac_header" >&5
34102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34105 fi
34106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34108 else
34109 # Is the header compilable?
34110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34112 cat >conftest.$ac_ext <<_ACEOF
34113 /* confdefs.h. */
34114 _ACEOF
34115 cat confdefs.h >>conftest.$ac_ext
34116 cat >>conftest.$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34119 #include <$ac_header>
34120 _ACEOF
34121 rm -f conftest.$ac_objext
34122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34123 (eval $ac_compile) 2>conftest.er1
34124 ac_status=$?
34125 grep -v '^ *+' conftest.er1 >conftest.err
34126 rm -f conftest.er1
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try='test -z "$ac_c_werror_flag"
34131 || test ! -s conftest.err'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34134 ac_status=$?
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; } &&
34137 { ac_try='test -s conftest.$ac_objext'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34140 ac_status=$?
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; }; then
34143 ac_header_compiler=yes
34144 else
34145 echo "$as_me: failed program was:" >&5
34146 sed 's/^/| /' conftest.$ac_ext >&5
34147
34148 ac_header_compiler=no
34149 fi
34150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34152 echo "${ECHO_T}$ac_header_compiler" >&6
34153
34154 # Is the header present?
34155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34157 cat >conftest.$ac_ext <<_ACEOF
34158 /* confdefs.h. */
34159 _ACEOF
34160 cat confdefs.h >>conftest.$ac_ext
34161 cat >>conftest.$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 #include <$ac_header>
34164 _ACEOF
34165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } >/dev/null; then
34173 if test -s conftest.err; then
34174 ac_cpp_err=$ac_c_preproc_warn_flag
34175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34176 else
34177 ac_cpp_err=
34178 fi
34179 else
34180 ac_cpp_err=yes
34181 fi
34182 if test -z "$ac_cpp_err"; then
34183 ac_header_preproc=yes
34184 else
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.$ac_ext >&5
34187
34188 ac_header_preproc=no
34189 fi
34190 rm -f conftest.err conftest.$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34192 echo "${ECHO_T}$ac_header_preproc" >&6
34193
34194 # So? What about this header?
34195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34196 yes:no: )
34197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34201 ac_header_preproc=yes
34202 ;;
34203 no:yes:* )
34204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34216 (
34217 cat <<\_ASBOX
34218 ## ----------------------------------------- ##
34219 ## Report this to wx-dev@lists.wxwidgets.org ##
34220 ## ----------------------------------------- ##
34221 _ASBOX
34222 ) |
34223 sed "s/^/$as_me: WARNING: /" >&2
34224 ;;
34225 esac
34226 echo "$as_me:$LINENO: checking for $ac_header" >&5
34227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 else
34231 eval "$as_ac_Header=\$ac_header_preproc"
34232 fi
34233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34235
34236 fi
34237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34238 cat >>confdefs.h <<_ACEOF
34239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34240 _ACEOF
34241
34242 EXTRALIBS_ESD="-lesd"
34243
34244 fi
34245
34246 done
34247
34248
34249 fi
34250
34251
34252
34253 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34254 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34255 cat >conftest.$ac_ext <<_ACEOF
34256 /* confdefs.h. */
34257 _ACEOF
34258 cat confdefs.h >>conftest.$ac_ext
34259 cat >>conftest.$ac_ext <<_ACEOF
34260 /* end confdefs.h. */
34261 #ifdef __linux__
34262 #include <linux/cdrom.h>
34263 #else
34264 /* For Solaris */
34265 #include <sys/cdio.h>
34266 #endif
34267
34268 int
34269 main ()
34270 {
34271 struct cdrom_tocentry entry, old_entry;
34272 ;
34273 return 0;
34274 }
34275 _ACEOF
34276 rm -f conftest.$ac_objext
34277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34278 (eval $ac_compile) 2>conftest.er1
34279 ac_status=$?
34280 grep -v '^ *+' conftest.er1 >conftest.err
34281 rm -f conftest.er1
34282 cat conftest.err >&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } &&
34285 { ac_try='test -z "$ac_c_werror_flag"
34286 || test ! -s conftest.err'
34287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34288 (eval $ac_try) 2>&5
34289 ac_status=$?
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); }; } &&
34292 { ac_try='test -s conftest.$ac_objext'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34295 ac_status=$?
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; }; then
34298 echo "$as_me:$LINENO: result: yes" >&5
34299 echo "${ECHO_T}yes" >&6
34300 cat >>confdefs.h <<\_ACEOF
34301 #define HAVE_KNOWN_CDROM_INTERFACE 1
34302 _ACEOF
34303
34304 else
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.$ac_ext >&5
34307
34308 echo "$as_me:$LINENO: result: no" >&5
34309 echo "${ECHO_T}no" >&6
34310 fi
34311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34312
34313
34314 cat >confcache <<\_ACEOF
34315 # This file is a shell script that caches the results of configure
34316 # tests run on this system so they can be shared between configure
34317 # scripts and configure runs, see configure's option --config-cache.
34318 # It is not useful on other systems. If it contains results you don't
34319 # want to keep, you may remove or edit it.
34320 #
34321 # config.status only pays attention to the cache file if you give it
34322 # the --recheck option to rerun configure.
34323 #
34324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34326 # following values.
34327
34328 _ACEOF
34329
34330 # The following way of writing the cache mishandles newlines in values,
34331 # but we know of no workaround that is simple, portable, and efficient.
34332 # So, don't put newlines in cache variables' values.
34333 # Ultrix sh set writes to stderr and can't be redirected directly,
34334 # and sets the high bit in the cache file unless we assign to the vars.
34335 {
34336 (set) 2>&1 |
34337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34338 *ac_space=\ *)
34339 # `set' does not quote correctly, so add quotes (double-quote
34340 # substitution turns \\\\ into \\, and sed turns \\ into \).
34341 sed -n \
34342 "s/'/'\\\\''/g;
34343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34344 ;;
34345 *)
34346 # `set' quotes correctly as required by POSIX, so do not add quotes.
34347 sed -n \
34348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34349 ;;
34350 esac;
34351 } |
34352 sed '
34353 t clear
34354 : clear
34355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34356 t end
34357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34358 : end' >>confcache
34359 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34360 if test -w $cache_file; then
34361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34362 cat confcache >$cache_file
34363 else
34364 echo "not updating unwritable cache $cache_file"
34365 fi
34366 fi
34367 rm -f confcache
34368
34369
34370 CPP_MT_FLAG=
34371 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34372
34373
34374 THREADS_LINK=
34375 THREADS_CFLAGS=
34376
34377 if test "$wxUSE_THREADS" = "yes" ; then
34378 if test "$USE_BEOS" = 1; then
34379 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34380 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34381 wxUSE_THREADS="no"
34382 fi
34383 fi
34384
34385 if test "$wxUSE_THREADS" = "yes" ; then
34386
34387
34388 THREAD_OPTS="-pthread"
34389 case "${host}" in
34390 *-*-solaris2* | *-*-sunos4* )
34391 if test "x$GCC" = "xyes"; then
34392 THREAD_OPTS="-pthreads $THREAD_OPTS"
34393 else
34394 THREAD_OPTS="-mt $THREAD_OPTS"
34395 fi
34396 ;;
34397 *-*-freebsd*)
34398 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34399 ;;
34400 *-*-darwin* | *-*-cygwin* )
34401 THREAD_OPTS=""
34402 ;;
34403 *-*-aix*)
34404 THREAD_OPTS="pthreads"
34405 ;;
34406 *-hp-hpux* )
34407 if test "x$GCC" != "xyes"; then
34408 THREAD_OPTS=""
34409 fi
34410 ;;
34411
34412 *-*-irix* )
34413 if test "x$GCC" = "xyes"; then
34414 THREAD_OPTS=""
34415 fi
34416 ;;
34417
34418 *-*-*UnixWare*)
34419 if test "x$GCC" != "xyes"; then
34420 THREAD_OPTS="-Ethread"
34421 fi
34422 ;;
34423 esac
34424
34425 THREAD_OPTS="$THREAD_OPTS pthread none"
34426
34427 THREADS_OK=no
34428 for flag in $THREAD_OPTS; do
34429 case $flag in
34430 none)
34431 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34432 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34433 ;;
34434
34435 -*)
34436 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34437 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34438 THREADS_CFLAGS="$flag"
34439 ;;
34440
34441 *)
34442 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34443 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34444 THREADS_LINK="-l$flag"
34445 ;;
34446 esac
34447
34448 save_LIBS="$LIBS"
34449 save_CFLAGS="$CFLAGS"
34450 LIBS="$THREADS_LINK $LIBS"
34451 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34452
34453 cat >conftest.$ac_ext <<_ACEOF
34454 /* confdefs.h. */
34455 _ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459 #include <pthread.h>
34460 int
34461 main ()
34462 {
34463 pthread_create(0,0,0,0);
34464 ;
34465 return 0;
34466 }
34467 _ACEOF
34468 rm -f conftest.$ac_objext conftest$ac_exeext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34470 (eval $ac_link) 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34481 ac_status=$?
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 THREADS_OK=yes
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495 fi
34496 rm -f conftest.err conftest.$ac_objext \
34497 conftest$ac_exeext conftest.$ac_ext
34498
34499 LIBS="$save_LIBS"
34500 CFLAGS="$save_CFLAGS"
34501
34502 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34503 echo "${ECHO_T}$THREADS_OK" >&6
34504 if test "x$THREADS_OK" = "xyes"; then
34505 break;
34506 fi
34507
34508 THREADS_LINK=""
34509 THREADS_CFLAGS=""
34510 done
34511
34512 if test "x$THREADS_OK" != "xyes"; then
34513 wxUSE_THREADS=no
34514 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34515 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34516 else
34517 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34518 LIBS="$THREADS_LINK $LIBS"
34519
34520 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34521 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34522 flag=no
34523 case "${host}" in
34524 *-aix*)
34525 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34526 flag="-D_THREAD_SAFE"
34527 ;;
34528 *-freebsd*)
34529 flag="-D_THREAD_SAFE"
34530 ;;
34531 *-hp-hpux* )
34532 flag="-D_REENTRANT"
34533 if test "x$GCC" != "xyes"; then
34534 flag="$flag -D_RWSTD_MULTI_THREAD"
34535 fi
34536 ;;
34537 *solaris* | alpha*-osf*)
34538 flag="-D_REENTRANT"
34539 ;;
34540 esac
34541 echo "$as_me:$LINENO: result: ${flag}" >&5
34542 echo "${ECHO_T}${flag}" >&6
34543 if test "x$flag" != xno; then
34544 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34545 fi
34546
34547 if test "x$THREADS_CFLAGS" != "x"; then
34548 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34549 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34550 fi
34551 fi
34552 fi
34553
34554 if test "$wxUSE_THREADS" = "yes" ; then
34555
34556 for ac_func in thr_setconcurrency
34557 do
34558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34559 echo "$as_me:$LINENO: checking for $ac_func" >&5
34560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34561 if eval "test \"\${$as_ac_var+set}\" = set"; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34572 #define $ac_func innocuous_$ac_func
34573
34574 /* System header to define __stub macros and hopefully few prototypes,
34575 which can conflict with char $ac_func (); below.
34576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34577 <limits.h> exists even on freestanding compilers. */
34578
34579 #ifdef __STDC__
34580 # include <limits.h>
34581 #else
34582 # include <assert.h>
34583 #endif
34584
34585 #undef $ac_func
34586
34587 /* Override any gcc2 internal prototype to avoid an error. */
34588 #ifdef __cplusplus
34589 extern "C"
34590 {
34591 #endif
34592 /* We use char because int might match the return type of a gcc2
34593 builtin and then its argument prototype would still apply. */
34594 char $ac_func ();
34595 /* The GNU C library defines this for functions which it implements
34596 to always fail with ENOSYS. Some functions are actually named
34597 something starting with __ and the normal name is an alias. */
34598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34599 choke me
34600 #else
34601 char (*f) () = $ac_func;
34602 #endif
34603 #ifdef __cplusplus
34604 }
34605 #endif
34606
34607 int
34608 main ()
34609 {
34610 return f != $ac_func;
34611 ;
34612 return 0;
34613 }
34614 _ACEOF
34615 rm -f conftest.$ac_objext conftest$ac_exeext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34617 (eval $ac_link) 2>conftest.er1
34618 ac_status=$?
34619 grep -v '^ *+' conftest.er1 >conftest.err
34620 rm -f conftest.er1
34621 cat conftest.err >&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try='test -z "$ac_c_werror_flag"
34625 || test ! -s conftest.err'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34628 ac_status=$?
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; } &&
34631 { ac_try='test -s conftest$ac_exeext'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34634 ac_status=$?
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; }; then
34637 eval "$as_ac_var=yes"
34638 else
34639 echo "$as_me: failed program was:" >&5
34640 sed 's/^/| /' conftest.$ac_ext >&5
34641
34642 eval "$as_ac_var=no"
34643 fi
34644 rm -f conftest.err conftest.$ac_objext \
34645 conftest$ac_exeext conftest.$ac_ext
34646 fi
34647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34649 if test `eval echo '${'$as_ac_var'}'` = yes; then
34650 cat >>confdefs.h <<_ACEOF
34651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34652 _ACEOF
34653
34654 fi
34655 done
34656
34657
34658
34659 for ac_header in sched.h
34660 do
34661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34663 echo "$as_me:$LINENO: checking for $ac_header" >&5
34664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 fi
34668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34670 else
34671 # Is the header compilable?
34672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 $ac_includes_default
34681 #include <$ac_header>
34682 _ACEOF
34683 rm -f conftest.$ac_objext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34685 (eval $ac_compile) 2>conftest.er1
34686 ac_status=$?
34687 grep -v '^ *+' conftest.er1 >conftest.err
34688 rm -f conftest.er1
34689 cat conftest.err >&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try='test -z "$ac_c_werror_flag"
34693 || test ! -s conftest.err'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34696 ac_status=$?
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; } &&
34699 { ac_try='test -s conftest.$ac_objext'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34702 ac_status=$?
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; }; then
34705 ac_header_compiler=yes
34706 else
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.$ac_ext >&5
34709
34710 ac_header_compiler=no
34711 fi
34712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34714 echo "${ECHO_T}$ac_header_compiler" >&6
34715
34716 # Is the header present?
34717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34719 cat >conftest.$ac_ext <<_ACEOF
34720 /* confdefs.h. */
34721 _ACEOF
34722 cat confdefs.h >>conftest.$ac_ext
34723 cat >>conftest.$ac_ext <<_ACEOF
34724 /* end confdefs.h. */
34725 #include <$ac_header>
34726 _ACEOF
34727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34729 ac_status=$?
34730 grep -v '^ *+' conftest.er1 >conftest.err
34731 rm -f conftest.er1
34732 cat conftest.err >&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } >/dev/null; then
34735 if test -s conftest.err; then
34736 ac_cpp_err=$ac_c_preproc_warn_flag
34737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34738 else
34739 ac_cpp_err=
34740 fi
34741 else
34742 ac_cpp_err=yes
34743 fi
34744 if test -z "$ac_cpp_err"; then
34745 ac_header_preproc=yes
34746 else
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.$ac_ext >&5
34749
34750 ac_header_preproc=no
34751 fi
34752 rm -f conftest.err conftest.$ac_ext
34753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34754 echo "${ECHO_T}$ac_header_preproc" >&6
34755
34756 # So? What about this header?
34757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34758 yes:no: )
34759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34763 ac_header_preproc=yes
34764 ;;
34765 no:yes:* )
34766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34778 (
34779 cat <<\_ASBOX
34780 ## ----------------------------------------- ##
34781 ## Report this to wx-dev@lists.wxwidgets.org ##
34782 ## ----------------------------------------- ##
34783 _ASBOX
34784 ) |
34785 sed "s/^/$as_me: WARNING: /" >&2
34786 ;;
34787 esac
34788 echo "$as_me:$LINENO: checking for $ac_header" >&5
34789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 else
34793 eval "$as_ac_Header=\$ac_header_preproc"
34794 fi
34795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34797
34798 fi
34799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34800 cat >>confdefs.h <<_ACEOF
34801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34802 _ACEOF
34803
34804 fi
34805
34806 done
34807
34808 if test "$ac_cv_header_sched_h" = "yes"; then
34809 echo "$as_me:$LINENO: checking for sched_yield" >&5
34810 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34811 if test "${ac_cv_func_sched_yield+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 else
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define sched_yield innocuous_sched_yield
34823
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char sched_yield (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34828
34829 #ifdef __STDC__
34830 # include <limits.h>
34831 #else
34832 # include <assert.h>
34833 #endif
34834
34835 #undef sched_yield
34836
34837 /* Override any gcc2 internal prototype to avoid an error. */
34838 #ifdef __cplusplus
34839 extern "C"
34840 {
34841 #endif
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char sched_yield ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34849 choke me
34850 #else
34851 char (*f) () = sched_yield;
34852 #endif
34853 #ifdef __cplusplus
34854 }
34855 #endif
34856
34857 int
34858 main ()
34859 {
34860 return f != sched_yield;
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 rm -f conftest.$ac_objext conftest$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_c_werror_flag"
34875 || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try='test -s conftest$ac_exeext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 ac_cv_func_sched_yield=yes
34888 else
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34891
34892 ac_cv_func_sched_yield=no
34893 fi
34894 rm -f conftest.err conftest.$ac_objext \
34895 conftest$ac_exeext conftest.$ac_ext
34896 fi
34897 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34898 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34899 if test $ac_cv_func_sched_yield = yes; then
34900 cat >>confdefs.h <<\_ACEOF
34901 #define HAVE_SCHED_YIELD 1
34902 _ACEOF
34903
34904 else
34905
34906 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34907 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34908 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 else
34911 ac_check_lib_save_LIBS=$LIBS
34912 LIBS="-lposix4 $LIBS"
34913 cat >conftest.$ac_ext <<_ACEOF
34914 /* confdefs.h. */
34915 _ACEOF
34916 cat confdefs.h >>conftest.$ac_ext
34917 cat >>conftest.$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34919
34920 /* Override any gcc2 internal prototype to avoid an error. */
34921 #ifdef __cplusplus
34922 extern "C"
34923 #endif
34924 /* We use char because int might match the return type of a gcc2
34925 builtin and then its argument prototype would still apply. */
34926 char sched_yield ();
34927 int
34928 main ()
34929 {
34930 sched_yield ();
34931 ;
34932 return 0;
34933 }
34934 _ACEOF
34935 rm -f conftest.$ac_objext conftest$ac_exeext
34936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34937 (eval $ac_link) 2>conftest.er1
34938 ac_status=$?
34939 grep -v '^ *+' conftest.er1 >conftest.err
34940 rm -f conftest.er1
34941 cat conftest.err >&5
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); } &&
34944 { ac_try='test -z "$ac_c_werror_flag"
34945 || test ! -s conftest.err'
34946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947 (eval $ac_try) 2>&5
34948 ac_status=$?
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); }; } &&
34951 { ac_try='test -s conftest$ac_exeext'
34952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34953 (eval $ac_try) 2>&5
34954 ac_status=$?
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); }; }; then
34957 ac_cv_lib_posix4_sched_yield=yes
34958 else
34959 echo "$as_me: failed program was:" >&5
34960 sed 's/^/| /' conftest.$ac_ext >&5
34961
34962 ac_cv_lib_posix4_sched_yield=no
34963 fi
34964 rm -f conftest.err conftest.$ac_objext \
34965 conftest$ac_exeext conftest.$ac_ext
34966 LIBS=$ac_check_lib_save_LIBS
34967 fi
34968 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34969 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34970 if test $ac_cv_lib_posix4_sched_yield = yes; then
34971 cat >>confdefs.h <<\_ACEOF
34972 #define HAVE_SCHED_YIELD 1
34973 _ACEOF
34974 POSIX4_LINK=" -lposix4"
34975 else
34976 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34977 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34978
34979 fi
34980
34981
34982
34983 fi
34984
34985 fi
34986
34987 HAVE_PRIOR_FUNCS=0
34988 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34989 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34990 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 else
34993 cat >conftest.$ac_ext <<_ACEOF
34994 /* confdefs.h. */
34995 _ACEOF
34996 cat confdefs.h >>conftest.$ac_ext
34997 cat >>conftest.$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
34999 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35001 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35002
35003 /* System header to define __stub macros and hopefully few prototypes,
35004 which can conflict with char pthread_attr_getschedpolicy (); below.
35005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35006 <limits.h> exists even on freestanding compilers. */
35007
35008 #ifdef __STDC__
35009 # include <limits.h>
35010 #else
35011 # include <assert.h>
35012 #endif
35013
35014 #undef pthread_attr_getschedpolicy
35015
35016 /* Override any gcc2 internal prototype to avoid an error. */
35017 #ifdef __cplusplus
35018 extern "C"
35019 {
35020 #endif
35021 /* We use char because int might match the return type of a gcc2
35022 builtin and then its argument prototype would still apply. */
35023 char pthread_attr_getschedpolicy ();
35024 /* The GNU C library defines this for functions which it implements
35025 to always fail with ENOSYS. Some functions are actually named
35026 something starting with __ and the normal name is an alias. */
35027 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35028 choke me
35029 #else
35030 char (*f) () = pthread_attr_getschedpolicy;
35031 #endif
35032 #ifdef __cplusplus
35033 }
35034 #endif
35035
35036 int
35037 main ()
35038 {
35039 return f != pthread_attr_getschedpolicy;
35040 ;
35041 return 0;
35042 }
35043 _ACEOF
35044 rm -f conftest.$ac_objext conftest$ac_exeext
35045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35046 (eval $ac_link) 2>conftest.er1
35047 ac_status=$?
35048 grep -v '^ *+' conftest.er1 >conftest.err
35049 rm -f conftest.er1
35050 cat conftest.err >&5
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); } &&
35053 { ac_try='test -z "$ac_c_werror_flag"
35054 || test ! -s conftest.err'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35057 ac_status=$?
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; } &&
35060 { ac_try='test -s conftest$ac_exeext'
35061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35062 (eval $ac_try) 2>&5
35063 ac_status=$?
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); }; }; then
35066 ac_cv_func_pthread_attr_getschedpolicy=yes
35067 else
35068 echo "$as_me: failed program was:" >&5
35069 sed 's/^/| /' conftest.$ac_ext >&5
35070
35071 ac_cv_func_pthread_attr_getschedpolicy=no
35072 fi
35073 rm -f conftest.err conftest.$ac_objext \
35074 conftest$ac_exeext conftest.$ac_ext
35075 fi
35076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35077 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35078 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35079 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35080 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35081 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084 cat >conftest.$ac_ext <<_ACEOF
35085 /* confdefs.h. */
35086 _ACEOF
35087 cat confdefs.h >>conftest.$ac_ext
35088 cat >>conftest.$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35092 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35093
35094 /* System header to define __stub macros and hopefully few prototypes,
35095 which can conflict with char pthread_attr_setschedparam (); below.
35096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35097 <limits.h> exists even on freestanding compilers. */
35098
35099 #ifdef __STDC__
35100 # include <limits.h>
35101 #else
35102 # include <assert.h>
35103 #endif
35104
35105 #undef pthread_attr_setschedparam
35106
35107 /* Override any gcc2 internal prototype to avoid an error. */
35108 #ifdef __cplusplus
35109 extern "C"
35110 {
35111 #endif
35112 /* We use char because int might match the return type of a gcc2
35113 builtin and then its argument prototype would still apply. */
35114 char pthread_attr_setschedparam ();
35115 /* The GNU C library defines this for functions which it implements
35116 to always fail with ENOSYS. Some functions are actually named
35117 something starting with __ and the normal name is an alias. */
35118 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35119 choke me
35120 #else
35121 char (*f) () = pthread_attr_setschedparam;
35122 #endif
35123 #ifdef __cplusplus
35124 }
35125 #endif
35126
35127 int
35128 main ()
35129 {
35130 return f != pthread_attr_setschedparam;
35131 ;
35132 return 0;
35133 }
35134 _ACEOF
35135 rm -f conftest.$ac_objext conftest$ac_exeext
35136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35137 (eval $ac_link) 2>conftest.er1
35138 ac_status=$?
35139 grep -v '^ *+' conftest.er1 >conftest.err
35140 rm -f conftest.er1
35141 cat conftest.err >&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); } &&
35144 { ac_try='test -z "$ac_c_werror_flag"
35145 || test ! -s conftest.err'
35146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35147 (eval $ac_try) 2>&5
35148 ac_status=$?
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); }; } &&
35151 { ac_try='test -s conftest$ac_exeext'
35152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35153 (eval $ac_try) 2>&5
35154 ac_status=$?
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); }; }; then
35157 ac_cv_func_pthread_attr_setschedparam=yes
35158 else
35159 echo "$as_me: failed program was:" >&5
35160 sed 's/^/| /' conftest.$ac_ext >&5
35161
35162 ac_cv_func_pthread_attr_setschedparam=no
35163 fi
35164 rm -f conftest.err conftest.$ac_objext \
35165 conftest$ac_exeext conftest.$ac_ext
35166 fi
35167 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35168 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35169 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35170 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35171 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35172 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35174 else
35175 cat >conftest.$ac_ext <<_ACEOF
35176 /* confdefs.h. */
35177 _ACEOF
35178 cat confdefs.h >>conftest.$ac_ext
35179 cat >>conftest.$ac_ext <<_ACEOF
35180 /* end confdefs.h. */
35181 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35183 #define sched_get_priority_max innocuous_sched_get_priority_max
35184
35185 /* System header to define __stub macros and hopefully few prototypes,
35186 which can conflict with char sched_get_priority_max (); below.
35187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35188 <limits.h> exists even on freestanding compilers. */
35189
35190 #ifdef __STDC__
35191 # include <limits.h>
35192 #else
35193 # include <assert.h>
35194 #endif
35195
35196 #undef sched_get_priority_max
35197
35198 /* Override any gcc2 internal prototype to avoid an error. */
35199 #ifdef __cplusplus
35200 extern "C"
35201 {
35202 #endif
35203 /* We use char because int might match the return type of a gcc2
35204 builtin and then its argument prototype would still apply. */
35205 char sched_get_priority_max ();
35206 /* The GNU C library defines this for functions which it implements
35207 to always fail with ENOSYS. Some functions are actually named
35208 something starting with __ and the normal name is an alias. */
35209 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35210 choke me
35211 #else
35212 char (*f) () = sched_get_priority_max;
35213 #endif
35214 #ifdef __cplusplus
35215 }
35216 #endif
35217
35218 int
35219 main ()
35220 {
35221 return f != sched_get_priority_max;
35222 ;
35223 return 0;
35224 }
35225 _ACEOF
35226 rm -f conftest.$ac_objext conftest$ac_exeext
35227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228 (eval $ac_link) 2>conftest.er1
35229 ac_status=$?
35230 grep -v '^ *+' conftest.er1 >conftest.err
35231 rm -f conftest.er1
35232 cat conftest.err >&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); } &&
35235 { ac_try='test -z "$ac_c_werror_flag"
35236 || test ! -s conftest.err'
35237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238 (eval $ac_try) 2>&5
35239 ac_status=$?
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); }; } &&
35242 { ac_try='test -s conftest$ac_exeext'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35245 ac_status=$?
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; }; then
35248 ac_cv_func_sched_get_priority_max=yes
35249 else
35250 echo "$as_me: failed program was:" >&5
35251 sed 's/^/| /' conftest.$ac_ext >&5
35252
35253 ac_cv_func_sched_get_priority_max=no
35254 fi
35255 rm -f conftest.err conftest.$ac_objext \
35256 conftest$ac_exeext conftest.$ac_ext
35257 fi
35258 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35259 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35260 if test $ac_cv_func_sched_get_priority_max = yes; then
35261 HAVE_PRIOR_FUNCS=1
35262 else
35263 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35264 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35265 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268 ac_check_lib_save_LIBS=$LIBS
35269 LIBS="-lposix4 $LIBS"
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276
35277 /* Override any gcc2 internal prototype to avoid an error. */
35278 #ifdef __cplusplus
35279 extern "C"
35280 #endif
35281 /* We use char because int might match the return type of a gcc2
35282 builtin and then its argument prototype would still apply. */
35283 char sched_get_priority_max ();
35284 int
35285 main ()
35286 {
35287 sched_get_priority_max ();
35288 ;
35289 return 0;
35290 }
35291 _ACEOF
35292 rm -f conftest.$ac_objext conftest$ac_exeext
35293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35294 (eval $ac_link) 2>conftest.er1
35295 ac_status=$?
35296 grep -v '^ *+' conftest.er1 >conftest.err
35297 rm -f conftest.er1
35298 cat conftest.err >&5
35299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300 (exit $ac_status); } &&
35301 { ac_try='test -z "$ac_c_werror_flag"
35302 || test ! -s conftest.err'
35303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35304 (eval $ac_try) 2>&5
35305 ac_status=$?
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); }; } &&
35308 { ac_try='test -s conftest$ac_exeext'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35311 ac_status=$?
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; }; then
35314 ac_cv_lib_posix4_sched_get_priority_max=yes
35315 else
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.$ac_ext >&5
35318
35319 ac_cv_lib_posix4_sched_get_priority_max=no
35320 fi
35321 rm -f conftest.err conftest.$ac_objext \
35322 conftest$ac_exeext conftest.$ac_ext
35323 LIBS=$ac_check_lib_save_LIBS
35324 fi
35325 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35326 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35327 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35328
35329 HAVE_PRIOR_FUNCS=1
35330 POSIX4_LINK=" -lposix4"
35331
35332 fi
35333
35334
35335 fi
35336
35337
35338 fi
35339
35340
35341 fi
35342
35343
35344 if test "$HAVE_PRIOR_FUNCS" = 1; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35347 _ACEOF
35348
35349 else
35350 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35351 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35352 fi
35353
35354 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35355 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35356 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35357 echo $ECHO_N "(cached) $ECHO_C" >&6
35358 else
35359 cat >conftest.$ac_ext <<_ACEOF
35360 /* confdefs.h. */
35361 _ACEOF
35362 cat confdefs.h >>conftest.$ac_ext
35363 cat >>conftest.$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35365 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35367 #define pthread_cancel innocuous_pthread_cancel
35368
35369 /* System header to define __stub macros and hopefully few prototypes,
35370 which can conflict with char pthread_cancel (); below.
35371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35372 <limits.h> exists even on freestanding compilers. */
35373
35374 #ifdef __STDC__
35375 # include <limits.h>
35376 #else
35377 # include <assert.h>
35378 #endif
35379
35380 #undef pthread_cancel
35381
35382 /* Override any gcc2 internal prototype to avoid an error. */
35383 #ifdef __cplusplus
35384 extern "C"
35385 {
35386 #endif
35387 /* We use char because int might match the return type of a gcc2
35388 builtin and then its argument prototype would still apply. */
35389 char pthread_cancel ();
35390 /* The GNU C library defines this for functions which it implements
35391 to always fail with ENOSYS. Some functions are actually named
35392 something starting with __ and the normal name is an alias. */
35393 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35394 choke me
35395 #else
35396 char (*f) () = pthread_cancel;
35397 #endif
35398 #ifdef __cplusplus
35399 }
35400 #endif
35401
35402 int
35403 main ()
35404 {
35405 return f != pthread_cancel;
35406 ;
35407 return 0;
35408 }
35409 _ACEOF
35410 rm -f conftest.$ac_objext conftest$ac_exeext
35411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35412 (eval $ac_link) 2>conftest.er1
35413 ac_status=$?
35414 grep -v '^ *+' conftest.er1 >conftest.err
35415 rm -f conftest.er1
35416 cat conftest.err >&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } &&
35419 { ac_try='test -z "$ac_c_werror_flag"
35420 || test ! -s conftest.err'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35423 ac_status=$?
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; } &&
35426 { ac_try='test -s conftest$ac_exeext'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35429 ac_status=$?
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; }; then
35432 ac_cv_func_pthread_cancel=yes
35433 else
35434 echo "$as_me: failed program was:" >&5
35435 sed 's/^/| /' conftest.$ac_ext >&5
35436
35437 ac_cv_func_pthread_cancel=no
35438 fi
35439 rm -f conftest.err conftest.$ac_objext \
35440 conftest$ac_exeext conftest.$ac_ext
35441 fi
35442 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35443 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35444 if test $ac_cv_func_pthread_cancel = yes; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define HAVE_PTHREAD_CANCEL 1
35447 _ACEOF
35448
35449 else
35450 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35451 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35452 fi
35453
35454
35455
35456
35457 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35458 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35459 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35460 echo $ECHO_N "(cached) $ECHO_C" >&6
35461 else
35462
35463 cat >conftest.$ac_ext <<_ACEOF
35464 /* confdefs.h. */
35465 _ACEOF
35466 cat confdefs.h >>conftest.$ac_ext
35467 cat >>conftest.$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469 #include <pthread.h>
35470 int
35471 main ()
35472 {
35473
35474 pthread_mutexattr_t attr;
35475 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35476
35477 ;
35478 return 0;
35479 }
35480 _ACEOF
35481 rm -f conftest.$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try='test -z "$ac_c_werror_flag"
35491 || test ! -s conftest.err'
35492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35493 (eval $ac_try) 2>&5
35494 ac_status=$?
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); }; } &&
35497 { ac_try='test -s conftest.$ac_objext'
35498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499 (eval $ac_try) 2>&5
35500 ac_status=$?
35501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502 (exit $ac_status); }; }; then
35503
35504 wx_cv_type_pthread_mutexattr_t=yes
35505
35506 else
35507 echo "$as_me: failed program was:" >&5
35508 sed 's/^/| /' conftest.$ac_ext >&5
35509
35510
35511 wx_cv_type_pthread_mutexattr_t=no
35512
35513
35514 fi
35515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35516
35517 fi
35518 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35519 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35520
35521 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35522 cat >>confdefs.h <<\_ACEOF
35523 #define HAVE_PTHREAD_MUTEXATTR_T 1
35524 _ACEOF
35525
35526 else
35527 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35528 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35529 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35530 echo $ECHO_N "(cached) $ECHO_C" >&6
35531 else
35532
35533 cat >conftest.$ac_ext <<_ACEOF
35534 /* confdefs.h. */
35535 _ACEOF
35536 cat confdefs.h >>conftest.$ac_ext
35537 cat >>conftest.$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 #include <pthread.h>
35540 int
35541 main ()
35542 {
35543
35544 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35545
35546 ;
35547 return 0;
35548 }
35549 _ACEOF
35550 rm -f conftest.$ac_objext
35551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35552 (eval $ac_compile) 2>conftest.er1
35553 ac_status=$?
35554 grep -v '^ *+' conftest.er1 >conftest.err
35555 rm -f conftest.er1
35556 cat conftest.err >&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } &&
35559 { ac_try='test -z "$ac_c_werror_flag"
35560 || test ! -s conftest.err'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35563 ac_status=$?
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; } &&
35566 { ac_try='test -s conftest.$ac_objext'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35569 ac_status=$?
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; }; then
35572
35573 wx_cv_type_pthread_rec_mutex_init=yes
35574
35575 else
35576 echo "$as_me: failed program was:" >&5
35577 sed 's/^/| /' conftest.$ac_ext >&5
35578
35579
35580 wx_cv_type_pthread_rec_mutex_init=no
35581
35582
35583 fi
35584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35585
35586 fi
35587 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35588 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35589 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35590 cat >>confdefs.h <<\_ACEOF
35591 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35592 _ACEOF
35593
35594 else
35595 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35596 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35597 fi
35598 fi
35599 fi
35600
35601 else
35602 if test "$wxUSE_THREADS" = "yes" ; then
35603 case "${host}" in
35604 *-*-mingw32* )
35605 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35606 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35607 if test "${wx_cv_cflags_mthread+set}" = set; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35609 else
35610
35611 CFLAGS_OLD="$CFLAGS"
35612 CFLAGS="$CFLAGS -mthreads"
35613 cat >conftest.$ac_ext <<_ACEOF
35614 /* confdefs.h. */
35615 _ACEOF
35616 cat confdefs.h >>conftest.$ac_ext
35617 cat >>conftest.$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35619
35620 int
35621 main ()
35622 {
35623
35624 ;
35625 return 0;
35626 }
35627 _ACEOF
35628 rm -f conftest.$ac_objext
35629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35630 (eval $ac_compile) 2>conftest.er1
35631 ac_status=$?
35632 grep -v '^ *+' conftest.er1 >conftest.err
35633 rm -f conftest.er1
35634 cat conftest.err >&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try='test -z "$ac_c_werror_flag"
35638 || test ! -s conftest.err'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35641 ac_status=$?
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; } &&
35644 { ac_try='test -s conftest.$ac_objext'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35647 ac_status=$?
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; }; then
35650 wx_cv_cflags_mthread=yes
35651 else
35652 echo "$as_me: failed program was:" >&5
35653 sed 's/^/| /' conftest.$ac_ext >&5
35654
35655 wx_cv_cflags_mthread=no
35656
35657 fi
35658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35659
35660
35661 fi
35662 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35663 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35664
35665 if test "$wx_cv_cflags_mthread" = "yes"; then
35666 CXXFLAGS="$CXXFLAGS -mthreads"
35667 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35668 LDFLAGS="$LDFLAGS -mthreads"
35669 else
35670 CFLAGS="$CFLAGS_OLD"
35671 fi
35672 ;;
35673 *-pc-os2*emx )
35674 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35675 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35676 LDFLAGS="$LDFLAGS -Zmt"
35677 ;;
35678 esac
35679 fi
35680 fi
35681
35682 if test "$wxUSE_THREADS" = "yes"; then
35683 cat >>confdefs.h <<\_ACEOF
35684 #define wxUSE_THREADS 1
35685 _ACEOF
35686
35687
35688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35689 else
35690 if test "$ac_cv_func_strtok_r" = "yes"; then
35691 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35692 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35693 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35694 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35695 echo "$as_me:$LINENO: result: yes" >&5
35696 echo "${ECHO_T}yes" >&6
35697 else
35698 echo "$as_me:$LINENO: result: no" >&5
35699 echo "${ECHO_T}no" >&6
35700 fi
35701 fi
35702 fi
35703
35704 if test "$WXGTK20" = 1 ; then
35705 cat >>confdefs.h <<_ACEOF
35706 #define __WXGTK20__ $WXGTK20
35707 _ACEOF
35708
35709 WXGTK12=1
35710 fi
35711
35712 if test "$WXGTK12" = 1 ; then
35713 cat >>confdefs.h <<_ACEOF
35714 #define __WXGTK12__ $WXGTK12
35715 _ACEOF
35716
35717 fi
35718
35719 if test "$WXGTK127" = 1 ; then
35720 cat >>confdefs.h <<_ACEOF
35721 #define __WXGTK127__ $WXGTK127
35722 _ACEOF
35723
35724 fi
35725
35726 if test "$WXGPE" = 1 ; then
35727 cat >>confdefs.h <<_ACEOF
35728 #define __WXGPE__ $WXGPE
35729 _ACEOF
35730
35731 fi
35732
35733 WXDEBUG=
35734
35735 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35736 WXDEBUG="-g"
35737 wxUSE_OPTIMISE=no
35738 fi
35739
35740 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35741 wxUSE_DEBUG_INFO=yes
35742 WXDEBUG="-ggdb"
35743 fi
35744
35745 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35746 cat >>confdefs.h <<\_ACEOF
35747 #define WXDEBUG 1
35748 _ACEOF
35749
35750 WXDEBUG_DEFINE="-D__WXDEBUG__"
35751 else
35752 if test "$wxUSE_GTK" = 1 ; then
35753 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35754 fi
35755 fi
35756
35757 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35758 cat >>confdefs.h <<\_ACEOF
35759 #define wxUSE_MEMORY_TRACING 1
35760 _ACEOF
35761
35762 cat >>confdefs.h <<\_ACEOF
35763 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35764 _ACEOF
35765
35766 cat >>confdefs.h <<\_ACEOF
35767 #define wxUSE_DEBUG_NEW_ALWAYS 1
35768 _ACEOF
35769
35770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35771 fi
35772
35773 if test "$wxUSE_DMALLOC" = "yes" ; then
35774 DMALLOC_LIBS="-ldmalloc"
35775 fi
35776
35777 PROFILE=
35778 if test "$wxUSE_PROFILE" = "yes" ; then
35779 PROFILE=" -pg"
35780 fi
35781
35782 CODE_GEN_FLAGS=
35783 CODE_GEN_FLAGS_CXX=
35784 if test "$GCC" = "yes" ; then
35785 if test "$wxUSE_NO_RTTI" = "yes" ; then
35786 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35787 fi
35788 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35789 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35790 fi
35791 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35792 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35793 fi
35794
35795 case "${host}" in
35796 powerpc*-*-aix* )
35797 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35798 ;;
35799 *-hppa* )
35800 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35801 ;;
35802 esac
35803 fi
35804
35805 OPTIMISE=
35806 if test "$wxUSE_OPTIMISE" = "no" ; then
35807 if test "$GCC" = yes ; then
35808 OPTIMISE="-O0"
35809 fi
35810 else
35811 if test "$GCC" = yes ; then
35812 OPTIMISE="-O2"
35813
35814 case "${host}" in
35815 i586-*-*|i686-*-* )
35816 OPTIMISE="${OPTIMISE} "
35817 ;;
35818 esac
35819 else
35820 OPTIMISE="-O"
35821 fi
35822 fi
35823
35824
35825 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35826 cat >>confdefs.h <<\_ACEOF
35827 #define WXWIN_COMPATIBILITY_2_2 1
35828 _ACEOF
35829
35830
35831 WXWIN_COMPATIBILITY_2_4="yes"
35832 fi
35833
35834 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35835 cat >>confdefs.h <<\_ACEOF
35836 #define WXWIN_COMPATIBILITY_2_4 1
35837 _ACEOF
35838
35839 fi
35840
35841
35842 if test "$wxUSE_GUI" = "yes"; then
35843 cat >>confdefs.h <<\_ACEOF
35844 #define wxUSE_GUI 1
35845 _ACEOF
35846
35847
35848 fi
35849
35850
35851 if test "$wxUSE_UNIX" = "yes"; then
35852 cat >>confdefs.h <<\_ACEOF
35853 #define wxUSE_UNIX 1
35854 _ACEOF
35855
35856 fi
35857
35858
35859 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35860
35861 HAVE_DL_FUNCS=0
35862 HAVE_SHL_FUNCS=0
35863 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35864 if test "$USE_DARWIN" = 1; then
35865 HAVE_DL_FUNCS=1
35866 elif test "$USE_DOS" = 1; then
35867 HAVE_DL_FUNCS=0
35868 else
35869
35870 for ac_func in dlopen
35871 do
35872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35873 echo "$as_me:$LINENO: checking for $ac_func" >&5
35874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35875 if eval "test \"\${$as_ac_var+set}\" = set"; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35877 else
35878 cat >conftest.$ac_ext <<_ACEOF
35879 /* confdefs.h. */
35880 _ACEOF
35881 cat confdefs.h >>conftest.$ac_ext
35882 cat >>conftest.$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35886 #define $ac_func innocuous_$ac_func
35887
35888 /* System header to define __stub macros and hopefully few prototypes,
35889 which can conflict with char $ac_func (); below.
35890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35891 <limits.h> exists even on freestanding compilers. */
35892
35893 #ifdef __STDC__
35894 # include <limits.h>
35895 #else
35896 # include <assert.h>
35897 #endif
35898
35899 #undef $ac_func
35900
35901 /* Override any gcc2 internal prototype to avoid an error. */
35902 #ifdef __cplusplus
35903 extern "C"
35904 {
35905 #endif
35906 /* We use char because int might match the return type of a gcc2
35907 builtin and then its argument prototype would still apply. */
35908 char $ac_func ();
35909 /* The GNU C library defines this for functions which it implements
35910 to always fail with ENOSYS. Some functions are actually named
35911 something starting with __ and the normal name is an alias. */
35912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35913 choke me
35914 #else
35915 char (*f) () = $ac_func;
35916 #endif
35917 #ifdef __cplusplus
35918 }
35919 #endif
35920
35921 int
35922 main ()
35923 {
35924 return f != $ac_func;
35925 ;
35926 return 0;
35927 }
35928 _ACEOF
35929 rm -f conftest.$ac_objext conftest$ac_exeext
35930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35931 (eval $ac_link) 2>conftest.er1
35932 ac_status=$?
35933 grep -v '^ *+' conftest.er1 >conftest.err
35934 rm -f conftest.er1
35935 cat conftest.err >&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } &&
35938 { ac_try='test -z "$ac_c_werror_flag"
35939 || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35942 ac_status=$?
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 eval "$as_ac_var=yes"
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 eval "$as_ac_var=no"
35957 fi
35958 rm -f conftest.err conftest.$ac_objext \
35959 conftest$ac_exeext conftest.$ac_ext
35960 fi
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35963 if test `eval echo '${'$as_ac_var'}'` = yes; then
35964 cat >>confdefs.h <<_ACEOF
35965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35966 _ACEOF
35967
35968 cat >>confdefs.h <<\_ACEOF
35969 #define HAVE_DLOPEN 1
35970 _ACEOF
35971
35972 HAVE_DL_FUNCS=1
35973
35974 else
35975
35976 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35977 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 else
35981 ac_check_lib_save_LIBS=$LIBS
35982 LIBS="-ldl $LIBS"
35983 cat >conftest.$ac_ext <<_ACEOF
35984 /* confdefs.h. */
35985 _ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989
35990 /* Override any gcc2 internal prototype to avoid an error. */
35991 #ifdef __cplusplus
35992 extern "C"
35993 #endif
35994 /* We use char because int might match the return type of a gcc2
35995 builtin and then its argument prototype would still apply. */
35996 char dlopen ();
35997 int
35998 main ()
35999 {
36000 dlopen ();
36001 ;
36002 return 0;
36003 }
36004 _ACEOF
36005 rm -f conftest.$ac_objext conftest$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36008 ac_status=$?
36009 grep -v '^ *+' conftest.er1 >conftest.err
36010 rm -f conftest.er1
36011 cat conftest.err >&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try='test -z "$ac_c_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 ac_cv_lib_dl_dlopen=yes
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032 ac_cv_lib_dl_dlopen=no
36033 fi
36034 rm -f conftest.err conftest.$ac_objext \
36035 conftest$ac_exeext conftest.$ac_ext
36036 LIBS=$ac_check_lib_save_LIBS
36037 fi
36038 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36039 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36040 if test $ac_cv_lib_dl_dlopen = yes; then
36041
36042 cat >>confdefs.h <<\_ACEOF
36043 #define HAVE_DLOPEN 1
36044 _ACEOF
36045
36046 HAVE_DL_FUNCS=1
36047 DL_LINK=" -ldl$DL_LINK"
36048
36049 else
36050
36051
36052 for ac_func in shl_load
36053 do
36054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36055 echo "$as_me:$LINENO: checking for $ac_func" >&5
36056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36057 if eval "test \"\${$as_ac_var+set}\" = set"; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36059 else
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36068 #define $ac_func innocuous_$ac_func
36069
36070 /* System header to define __stub macros and hopefully few prototypes,
36071 which can conflict with char $ac_func (); below.
36072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36073 <limits.h> exists even on freestanding compilers. */
36074
36075 #ifdef __STDC__
36076 # include <limits.h>
36077 #else
36078 # include <assert.h>
36079 #endif
36080
36081 #undef $ac_func
36082
36083 /* Override any gcc2 internal prototype to avoid an error. */
36084 #ifdef __cplusplus
36085 extern "C"
36086 {
36087 #endif
36088 /* We use char because int might match the return type of a gcc2
36089 builtin and then its argument prototype would still apply. */
36090 char $ac_func ();
36091 /* The GNU C library defines this for functions which it implements
36092 to always fail with ENOSYS. Some functions are actually named
36093 something starting with __ and the normal name is an alias. */
36094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36095 choke me
36096 #else
36097 char (*f) () = $ac_func;
36098 #endif
36099 #ifdef __cplusplus
36100 }
36101 #endif
36102
36103 int
36104 main ()
36105 {
36106 return f != $ac_func;
36107 ;
36108 return 0;
36109 }
36110 _ACEOF
36111 rm -f conftest.$ac_objext conftest$ac_exeext
36112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36113 (eval $ac_link) 2>conftest.er1
36114 ac_status=$?
36115 grep -v '^ *+' conftest.er1 >conftest.err
36116 rm -f conftest.er1
36117 cat conftest.err >&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } &&
36120 { ac_try='test -z "$ac_c_werror_flag"
36121 || test ! -s conftest.err'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36124 ac_status=$?
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; } &&
36127 { ac_try='test -s conftest$ac_exeext'
36128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129 (eval $ac_try) 2>&5
36130 ac_status=$?
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); }; }; then
36133 eval "$as_ac_var=yes"
36134 else
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.$ac_ext >&5
36137
36138 eval "$as_ac_var=no"
36139 fi
36140 rm -f conftest.err conftest.$ac_objext \
36141 conftest$ac_exeext conftest.$ac_ext
36142 fi
36143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36145 if test `eval echo '${'$as_ac_var'}'` = yes; then
36146 cat >>confdefs.h <<_ACEOF
36147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36148 _ACEOF
36149
36150 cat >>confdefs.h <<\_ACEOF
36151 #define HAVE_SHL_LOAD 1
36152 _ACEOF
36153
36154 HAVE_SHL_FUNCS=1
36155
36156 else
36157
36158 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 else
36163 ac_check_lib_save_LIBS=$LIBS
36164 LIBS="-lshl_load $LIBS"
36165 cat >conftest.$ac_ext <<_ACEOF
36166 /* confdefs.h. */
36167 _ACEOF
36168 cat confdefs.h >>conftest.$ac_ext
36169 cat >>conftest.$ac_ext <<_ACEOF
36170 /* end confdefs.h. */
36171
36172 /* Override any gcc2 internal prototype to avoid an error. */
36173 #ifdef __cplusplus
36174 extern "C"
36175 #endif
36176 /* We use char because int might match the return type of a gcc2
36177 builtin and then its argument prototype would still apply. */
36178 char dld ();
36179 int
36180 main ()
36181 {
36182 dld ();
36183 ;
36184 return 0;
36185 }
36186 _ACEOF
36187 rm -f conftest.$ac_objext conftest$ac_exeext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36189 (eval $ac_link) 2>conftest.er1
36190 ac_status=$?
36191 grep -v '^ *+' conftest.er1 >conftest.err
36192 rm -f conftest.er1
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try='test -z "$ac_c_werror_flag"
36197 || test ! -s conftest.err'
36198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36199 (eval $ac_try) 2>&5
36200 ac_status=$?
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); }; } &&
36203 { ac_try='test -s conftest$ac_exeext'
36204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205 (eval $ac_try) 2>&5
36206 ac_status=$?
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); }; }; then
36209 ac_cv_lib_shl_load_dld=yes
36210 else
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36213
36214 ac_cv_lib_shl_load_dld=no
36215 fi
36216 rm -f conftest.err conftest.$ac_objext \
36217 conftest$ac_exeext conftest.$ac_ext
36218 LIBS=$ac_check_lib_save_LIBS
36219 fi
36220 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36221 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36222 if test $ac_cv_lib_shl_load_dld = yes; then
36223
36224 HAVE_SHL_FUNCS=1
36225 DL_LINK=" -ldld$DL_LINK"
36226
36227 fi
36228
36229
36230 fi
36231 done
36232
36233
36234 fi
36235
36236
36237 fi
36238 done
36239
36240
36241 if test "$HAVE_DL_FUNCS" = 1; then
36242
36243 for ac_func in dlerror
36244 do
36245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36246 echo "$as_me:$LINENO: checking for $ac_func" >&5
36247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36248 if eval "test \"\${$as_ac_var+set}\" = set"; then
36249 echo $ECHO_N "(cached) $ECHO_C" >&6
36250 else
36251 cat >conftest.$ac_ext <<_ACEOF
36252 /* confdefs.h. */
36253 _ACEOF
36254 cat confdefs.h >>conftest.$ac_ext
36255 cat >>conftest.$ac_ext <<_ACEOF
36256 /* end confdefs.h. */
36257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36259 #define $ac_func innocuous_$ac_func
36260
36261 /* System header to define __stub macros and hopefully few prototypes,
36262 which can conflict with char $ac_func (); below.
36263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36264 <limits.h> exists even on freestanding compilers. */
36265
36266 #ifdef __STDC__
36267 # include <limits.h>
36268 #else
36269 # include <assert.h>
36270 #endif
36271
36272 #undef $ac_func
36273
36274 /* Override any gcc2 internal prototype to avoid an error. */
36275 #ifdef __cplusplus
36276 extern "C"
36277 {
36278 #endif
36279 /* We use char because int might match the return type of a gcc2
36280 builtin and then its argument prototype would still apply. */
36281 char $ac_func ();
36282 /* The GNU C library defines this for functions which it implements
36283 to always fail with ENOSYS. Some functions are actually named
36284 something starting with __ and the normal name is an alias. */
36285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36286 choke me
36287 #else
36288 char (*f) () = $ac_func;
36289 #endif
36290 #ifdef __cplusplus
36291 }
36292 #endif
36293
36294 int
36295 main ()
36296 {
36297 return f != $ac_func;
36298 ;
36299 return 0;
36300 }
36301 _ACEOF
36302 rm -f conftest.$ac_objext conftest$ac_exeext
36303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36304 (eval $ac_link) 2>conftest.er1
36305 ac_status=$?
36306 grep -v '^ *+' conftest.er1 >conftest.err
36307 rm -f conftest.er1
36308 cat conftest.err >&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } &&
36311 { ac_try='test -z "$ac_c_werror_flag"
36312 || test ! -s conftest.err'
36313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314 (eval $ac_try) 2>&5
36315 ac_status=$?
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); }; } &&
36318 { ac_try='test -s conftest$ac_exeext'
36319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36320 (eval $ac_try) 2>&5
36321 ac_status=$?
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); }; }; then
36324 eval "$as_ac_var=yes"
36325 else
36326 echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.$ac_ext >&5
36328
36329 eval "$as_ac_var=no"
36330 fi
36331 rm -f conftest.err conftest.$ac_objext \
36332 conftest$ac_exeext conftest.$ac_ext
36333 fi
36334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36336 if test `eval echo '${'$as_ac_var'}'` = yes; then
36337 cat >>confdefs.h <<_ACEOF
36338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36339 _ACEOF
36340 cat >>confdefs.h <<\_ACEOF
36341 #define HAVE_DLERROR 1
36342 _ACEOF
36343
36344 else
36345
36346 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36347 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36348 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36350 else
36351 ac_check_lib_save_LIBS=$LIBS
36352 LIBS="-ldl $LIBS"
36353 cat >conftest.$ac_ext <<_ACEOF
36354 /* confdefs.h. */
36355 _ACEOF
36356 cat confdefs.h >>conftest.$ac_ext
36357 cat >>conftest.$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36359
36360 /* Override any gcc2 internal prototype to avoid an error. */
36361 #ifdef __cplusplus
36362 extern "C"
36363 #endif
36364 /* We use char because int might match the return type of a gcc2
36365 builtin and then its argument prototype would still apply. */
36366 char dlerror ();
36367 int
36368 main ()
36369 {
36370 dlerror ();
36371 ;
36372 return 0;
36373 }
36374 _ACEOF
36375 rm -f conftest.$ac_objext conftest$ac_exeext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36377 (eval $ac_link) 2>conftest.er1
36378 ac_status=$?
36379 grep -v '^ *+' conftest.er1 >conftest.err
36380 rm -f conftest.er1
36381 cat conftest.err >&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36394 ac_status=$?
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_cv_lib_dl_dlerror=yes
36398 else
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.$ac_ext >&5
36401
36402 ac_cv_lib_dl_dlerror=no
36403 fi
36404 rm -f conftest.err conftest.$ac_objext \
36405 conftest$ac_exeext conftest.$ac_ext
36406 LIBS=$ac_check_lib_save_LIBS
36407 fi
36408 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36409 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36410 if test $ac_cv_lib_dl_dlerror = yes; then
36411 cat >>confdefs.h <<\_ACEOF
36412 #define HAVE_DLERROR 1
36413 _ACEOF
36414
36415 fi
36416
36417
36418
36419 fi
36420 done
36421
36422 fi
36423 fi
36424
36425 if test "$HAVE_DL_FUNCS" = 0; then
36426 if test "$HAVE_SHL_FUNCS" = 0; then
36427 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36428 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36429 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36430 wxUSE_DYNAMIC_LOADER=no
36431 wxUSE_DYNLIB_CLASS=no
36432 else
36433 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36434 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36435 fi
36436 fi
36437 fi
36438 fi
36439 fi
36440
36441 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36442 cat >>confdefs.h <<\_ACEOF
36443 #define wxUSE_DYNAMIC_LOADER 1
36444 _ACEOF
36445
36446 fi
36447 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36448 cat >>confdefs.h <<\_ACEOF
36449 #define wxUSE_DYNLIB_CLASS 1
36450 _ACEOF
36451
36452 fi
36453
36454
36455
36456 if test "$wxUSE_PLUGINS" = "yes" ; then
36457 if test "$wxUSE_SHARED" = "no" ; then
36458 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36459 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36460 wxUSE_PLUGINS=no
36461 fi
36462 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36463 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36464 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36465 wxUSE_PLUGINS=no
36466 fi
36467 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36468 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36469 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36470 wxUSE_PLUGINS=no
36471 fi
36472 if test "$wxUSE_PLUGINS" = "yes" ; then
36473 cat >>confdefs.h <<\_ACEOF
36474 #define wxUSE_PLUGINS 1
36475 _ACEOF
36476
36477 fi
36478 fi
36479
36480
36481 if test "$wxUSE_STL" = "yes"; then
36482 cat >>confdefs.h <<\_ACEOF
36483 #define wxUSE_STL 1
36484 _ACEOF
36485
36486 fi
36487
36488 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36489 cat >>confdefs.h <<\_ACEOF
36490 #define wxUSE_APPLE_IEEE 1
36491 _ACEOF
36492
36493 fi
36494
36495 if test "$wxUSE_TIMER" = "yes"; then
36496 cat >>confdefs.h <<\_ACEOF
36497 #define wxUSE_TIMER 1
36498 _ACEOF
36499
36500 fi
36501
36502 if test "$USE_UNIX" = "1" ; then
36503
36504 for ac_header in sys/soundcard.h
36505 do
36506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36508 echo "$as_me:$LINENO: checking for $ac_header" >&5
36509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36512 fi
36513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36515 else
36516 # Is the header compilable?
36517 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36519 cat >conftest.$ac_ext <<_ACEOF
36520 /* confdefs.h. */
36521 _ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 $ac_includes_default
36526 #include <$ac_header>
36527 _ACEOF
36528 rm -f conftest.$ac_objext
36529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36530 (eval $ac_compile) 2>conftest.er1
36531 ac_status=$?
36532 grep -v '^ *+' conftest.er1 >conftest.err
36533 rm -f conftest.er1
36534 cat conftest.err >&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); } &&
36537 { ac_try='test -z "$ac_c_werror_flag"
36538 || test ! -s conftest.err'
36539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36540 (eval $ac_try) 2>&5
36541 ac_status=$?
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); }; } &&
36544 { ac_try='test -s conftest.$ac_objext'
36545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36546 (eval $ac_try) 2>&5
36547 ac_status=$?
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); }; }; then
36550 ac_header_compiler=yes
36551 else
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36554
36555 ac_header_compiler=no
36556 fi
36557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36559 echo "${ECHO_T}$ac_header_compiler" >&6
36560
36561 # Is the header present?
36562 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36564 cat >conftest.$ac_ext <<_ACEOF
36565 /* confdefs.h. */
36566 _ACEOF
36567 cat confdefs.h >>conftest.$ac_ext
36568 cat >>conftest.$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36570 #include <$ac_header>
36571 _ACEOF
36572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36574 ac_status=$?
36575 grep -v '^ *+' conftest.er1 >conftest.err
36576 rm -f conftest.er1
36577 cat conftest.err >&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } >/dev/null; then
36580 if test -s conftest.err; then
36581 ac_cpp_err=$ac_c_preproc_warn_flag
36582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36583 else
36584 ac_cpp_err=
36585 fi
36586 else
36587 ac_cpp_err=yes
36588 fi
36589 if test -z "$ac_cpp_err"; then
36590 ac_header_preproc=yes
36591 else
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36594
36595 ac_header_preproc=no
36596 fi
36597 rm -f conftest.err conftest.$ac_ext
36598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36599 echo "${ECHO_T}$ac_header_preproc" >&6
36600
36601 # So? What about this header?
36602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36603 yes:no: )
36604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36608 ac_header_preproc=yes
36609 ;;
36610 no:yes:* )
36611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36623 (
36624 cat <<\_ASBOX
36625 ## ----------------------------------------- ##
36626 ## Report this to wx-dev@lists.wxwidgets.org ##
36627 ## ----------------------------------------- ##
36628 _ASBOX
36629 ) |
36630 sed "s/^/$as_me: WARNING: /" >&2
36631 ;;
36632 esac
36633 echo "$as_me:$LINENO: checking for $ac_header" >&5
36634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36636 echo $ECHO_N "(cached) $ECHO_C" >&6
36637 else
36638 eval "$as_ac_Header=\$ac_header_preproc"
36639 fi
36640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36642
36643 fi
36644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36645 cat >>confdefs.h <<_ACEOF
36646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36647 _ACEOF
36648
36649 else
36650 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36651 fi
36652
36653 done
36654
36655 fi
36656 WITH_PLUGIN_SDL=0
36657 if test "$wxUSE_SOUND" = "yes"; then
36658 if test "$USE_UNIX" = "1" ; then
36659 if test "$wxUSE_LIBSDL" != "no"; then
36660
36661 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36662 if test "${with_sdl_prefix+set}" = set; then
36663 withval="$with_sdl_prefix"
36664 sdl_prefix="$withval"
36665 else
36666 sdl_prefix=""
36667 fi;
36668
36669 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36670 if test "${with_sdl_exec_prefix+set}" = set; then
36671 withval="$with_sdl_exec_prefix"
36672 sdl_exec_prefix="$withval"
36673 else
36674 sdl_exec_prefix=""
36675 fi;
36676 # Check whether --enable-sdltest or --disable-sdltest was given.
36677 if test "${enable_sdltest+set}" = set; then
36678 enableval="$enable_sdltest"
36679
36680 else
36681 enable_sdltest=yes
36682 fi;
36683
36684 if test x$sdl_exec_prefix != x ; then
36685 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36686 if test x${SDL_CONFIG+set} != xset ; then
36687 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36688 fi
36689 fi
36690 if test x$sdl_prefix != x ; then
36691 sdl_args="$sdl_args --prefix=$sdl_prefix"
36692 if test x${SDL_CONFIG+set} != xset ; then
36693 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36694 fi
36695 fi
36696
36697
36698 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36699 # Extract the first word of "sdl-config", so it can be a program name with args.
36700 set dummy sdl-config; ac_word=$2
36701 echo "$as_me:$LINENO: checking for $ac_word" >&5
36702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36703 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706 case $SDL_CONFIG in
36707 [\\/]* | ?:[\\/]*)
36708 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36709 ;;
36710 *)
36711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36712 for as_dir in $PATH
36713 do
36714 IFS=$as_save_IFS
36715 test -z "$as_dir" && as_dir=.
36716 for ac_exec_ext in '' $ac_executable_extensions; do
36717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36718 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36720 break 2
36721 fi
36722 done
36723 done
36724
36725 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36726 ;;
36727 esac
36728 fi
36729 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36730
36731 if test -n "$SDL_CONFIG"; then
36732 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36733 echo "${ECHO_T}$SDL_CONFIG" >&6
36734 else
36735 echo "$as_me:$LINENO: result: no" >&5
36736 echo "${ECHO_T}no" >&6
36737 fi
36738
36739 min_sdl_version=1.2.0
36740 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36741 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36742 no_sdl=""
36743 if test "$SDL_CONFIG" = "no" ; then
36744 no_sdl=yes
36745 else
36746 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36747 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36748
36749 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36751 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36753 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36755 if test "x$enable_sdltest" = "xyes" ; then
36756 ac_save_CFLAGS="$CFLAGS"
36757 ac_save_CXXFLAGS="$CXXFLAGS"
36758 ac_save_LIBS="$LIBS"
36759 CFLAGS="$CFLAGS $SDL_CFLAGS"
36760 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36761 LIBS="$LIBS $SDL_LIBS"
36762 rm -f conf.sdltest
36763 if test "$cross_compiling" = yes; then
36764 echo $ac_n "cross compiling; assumed OK... $ac_c"
36765 else
36766 cat >conftest.$ac_ext <<_ACEOF
36767 /* confdefs.h. */
36768 _ACEOF
36769 cat confdefs.h >>conftest.$ac_ext
36770 cat >>conftest.$ac_ext <<_ACEOF
36771 /* end confdefs.h. */
36772
36773 #include <stdio.h>
36774 #include <stdlib.h>
36775 #include <string.h>
36776 #include "SDL.h"
36777
36778 char*
36779 my_strdup (char *str)
36780 {
36781 char *new_str;
36782
36783 if (str)
36784 {
36785 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36786 strcpy (new_str, str);
36787 }
36788 else
36789 new_str = NULL;
36790
36791 return new_str;
36792 }
36793
36794 int main (int argc, char *argv[])
36795 {
36796 int major, minor, micro;
36797 char *tmp_version;
36798
36799 /* This hangs on some systems (?)
36800 system ("touch conf.sdltest");
36801 */
36802 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36803
36804 /* HP/UX 9 (%@#!) writes to sscanf strings */
36805 tmp_version = my_strdup("$min_sdl_version");
36806 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36807 printf("%s, bad version string\n", "$min_sdl_version");
36808 exit(1);
36809 }
36810
36811 if (($sdl_major_version > major) ||
36812 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36813 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36814 {
36815 return 0;
36816 }
36817 else
36818 {
36819 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36820 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36821 printf("*** best to upgrade to the required version.\n");
36822 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36823 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36824 printf("*** config.cache before re-running configure\n");
36825 return 1;
36826 }
36827 }
36828
36829
36830 _ACEOF
36831 rm -f conftest$ac_exeext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36833 (eval $ac_link) 2>&5
36834 ac_status=$?
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838 (eval $ac_try) 2>&5
36839 ac_status=$?
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); }; }; then
36842 :
36843 else
36844 echo "$as_me: program exited with status $ac_status" >&5
36845 echo "$as_me: failed program was:" >&5
36846 sed 's/^/| /' conftest.$ac_ext >&5
36847
36848 ( exit $ac_status )
36849 no_sdl=yes
36850 fi
36851 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36852 fi
36853 CFLAGS="$ac_save_CFLAGS"
36854 CXXFLAGS="$ac_save_CXXFLAGS"
36855 LIBS="$ac_save_LIBS"
36856 fi
36857 fi
36858 if test "x$no_sdl" = x ; then
36859 echo "$as_me:$LINENO: result: yes" >&5
36860 echo "${ECHO_T}yes" >&6
36861
36862 EXTRALIBS_SDL="$SDL_LIBS"
36863 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36864 cat >>confdefs.h <<\_ACEOF
36865 #define wxUSE_LIBSDL 1
36866 _ACEOF
36867
36868
36869 else
36870 echo "$as_me:$LINENO: result: no" >&5
36871 echo "${ECHO_T}no" >&6
36872 if test "$SDL_CONFIG" = "no" ; then
36873 echo "*** The sdl-config script installed by SDL could not be found"
36874 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36875 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36876 echo "*** full path to sdl-config."
36877 else
36878 if test -f conf.sdltest ; then
36879 :
36880 else
36881 echo "*** Could not run SDL test program, checking why..."
36882 CFLAGS="$CFLAGS $SDL_CFLAGS"
36883 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36884 LIBS="$LIBS $SDL_LIBS"
36885 cat >conftest.$ac_ext <<_ACEOF
36886 /* confdefs.h. */
36887 _ACEOF
36888 cat confdefs.h >>conftest.$ac_ext
36889 cat >>conftest.$ac_ext <<_ACEOF
36890 /* end confdefs.h. */
36891
36892 #include <stdio.h>
36893 #include "SDL.h"
36894
36895 int main(int argc, char *argv[])
36896 { return 0; }
36897 #undef main
36898 #define main K_and_R_C_main
36899
36900 int
36901 main ()
36902 {
36903 return 0;
36904 ;
36905 return 0;
36906 }
36907 _ACEOF
36908 rm -f conftest.$ac_objext conftest$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 echo "*** The test program compiled, but did not run. This usually means"
36931 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36932 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36933 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36934 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36935 echo "*** is required on your system"
36936 echo "***"
36937 echo "*** If you have an old version installed, it is best to remove it, although"
36938 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36942
36943 echo "*** The test program failed to compile or link. See the file config.log for the"
36944 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36945 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36946 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36947 fi
36948 rm -f conftest.err conftest.$ac_objext \
36949 conftest$ac_exeext conftest.$ac_ext
36950 CFLAGS="$ac_save_CFLAGS"
36951 CXXFLAGS="$ac_save_CXXFLAGS"
36952 LIBS="$ac_save_LIBS"
36953 fi
36954 fi
36955 SDL_CFLAGS=""
36956 SDL_LIBS=""
36957 wxUSE_LIBSDL="no"
36958 fi
36959
36960
36961 rm -f conf.sdltest
36962
36963 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36964 WITH_PLUGIN_SDL=1
36965 fi
36966 fi
36967 fi
36968
36969 cat >>confdefs.h <<\_ACEOF
36970 #define wxUSE_SOUND 1
36971 _ACEOF
36972
36973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36974 fi
36975
36976 if test "$WXGTK20" = 1; then
36977 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36978 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36979
36980
36981 succeeded=no
36982
36983 if test -z "$PKG_CONFIG"; then
36984 # Extract the first word of "pkg-config", so it can be a program name with args.
36985 set dummy pkg-config; ac_word=$2
36986 echo "$as_me:$LINENO: checking for $ac_word" >&5
36987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36989 echo $ECHO_N "(cached) $ECHO_C" >&6
36990 else
36991 case $PKG_CONFIG in
36992 [\\/]* | ?:[\\/]*)
36993 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36994 ;;
36995 *)
36996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36997 for as_dir in $PATH
36998 do
36999 IFS=$as_save_IFS
37000 test -z "$as_dir" && as_dir=.
37001 for ac_exec_ext in '' $ac_executable_extensions; do
37002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37003 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37005 break 2
37006 fi
37007 done
37008 done
37009
37010 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37011 ;;
37012 esac
37013 fi
37014 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37015
37016 if test -n "$PKG_CONFIG"; then
37017 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37018 echo "${ECHO_T}$PKG_CONFIG" >&6
37019 else
37020 echo "$as_me:$LINENO: result: no" >&5
37021 echo "${ECHO_T}no" >&6
37022 fi
37023
37024 fi
37025
37026 if test "$PKG_CONFIG" = "no" ; then
37027 echo "*** The pkg-config script could not be found. Make sure it is"
37028 echo "*** in your path, or set the PKG_CONFIG environment variable"
37029 echo "*** to the full path to pkg-config."
37030 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37031 else
37032 PKG_CONFIG_MIN_VERSION=0.9.0
37033 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37034 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37035 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37036
37037 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37038 echo "$as_me:$LINENO: result: yes" >&5
37039 echo "${ECHO_T}yes" >&6
37040 succeeded=yes
37041
37042 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37043 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37044 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37045 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37046 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37047
37048 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37049 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37050 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37051 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37052 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37053 else
37054 LIBGNOMEPRINTUI_CFLAGS=""
37055 LIBGNOMEPRINTUI_LIBS=""
37056 ## If we have a custom action on failure, don't print errors, but
37057 ## do set a variable so people can do so.
37058 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37059
37060 fi
37061
37062
37063
37064 else
37065 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37066 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37067 fi
37068 fi
37069
37070 if test $succeeded = yes; then
37071
37072 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37073 cat >>confdefs.h <<\_ACEOF
37074 #define wxUSE_LIBGNOMEPRINT 1
37075 _ACEOF
37076
37077
37078 else
37079
37080 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37081 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37082 wxUSE_LIBGNOMEPRINT="no"
37083
37084
37085 fi
37086
37087 fi
37088 fi
37089 fi
37090
37091
37092 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37093 cat >>confdefs.h <<\_ACEOF
37094 #define wxUSE_CMDLINE_PARSER 1
37095 _ACEOF
37096
37097 fi
37098
37099 if test "$wxUSE_STOPWATCH" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define wxUSE_STOPWATCH 1
37102 _ACEOF
37103
37104 fi
37105
37106 if test "$wxUSE_DATETIME" = "yes"; then
37107 cat >>confdefs.h <<\_ACEOF
37108 #define wxUSE_DATETIME 1
37109 _ACEOF
37110
37111 fi
37112
37113 if test "$wxUSE_FILE" = "yes"; then
37114 cat >>confdefs.h <<\_ACEOF
37115 #define wxUSE_FILE 1
37116 _ACEOF
37117
37118 fi
37119
37120 if test "$wxUSE_FFILE" = "yes"; then
37121 cat >>confdefs.h <<\_ACEOF
37122 #define wxUSE_FFILE 1
37123 _ACEOF
37124
37125 fi
37126
37127 if test "$wxUSE_FILESYSTEM" = "yes"; then
37128 cat >>confdefs.h <<\_ACEOF
37129 #define wxUSE_FILESYSTEM 1
37130 _ACEOF
37131
37132 fi
37133
37134 if test "$wxUSE_FS_ZIP" = "yes"; then
37135 cat >>confdefs.h <<\_ACEOF
37136 #define wxUSE_FS_ZIP 1
37137 _ACEOF
37138
37139 fi
37140
37141 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37142 cat >>confdefs.h <<\_ACEOF
37143 #define wxUSE_ARCHIVE_STREAMS 1
37144 _ACEOF
37145
37146 fi
37147
37148 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37149 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37150 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37151 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37152 elif test "$wxUSE_ZLIB" = "no"; then
37153 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37154 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37155 else
37156 cat >>confdefs.h <<\_ACEOF
37157 #define wxUSE_ZIPSTREAM 1
37158 _ACEOF
37159
37160 fi
37161 fi
37162
37163 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37164 cat >>confdefs.h <<\_ACEOF
37165 #define wxUSE_ON_FATAL_EXCEPTION 1
37166 _ACEOF
37167
37168 fi
37169
37170 if test "$wxUSE_STACKWALKER" = "yes"; then
37171 cat >>confdefs.h <<\_ACEOF
37172 #define wxUSE_STACKWALKER 1
37173 _ACEOF
37174
37175 fi
37176
37177 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37178 if test "$USE_OS2" = "1" -o "$USE_WIN32" = "1"; then
37179 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported by this compiler, disabled" >&5
37180 echo "$as_me: WARNING: Creating debug reports not supported by this compiler, disabled" >&2;}
37181 wxUSE_DEBUGREPORT=no
37182 else
37183 cat >>confdefs.h <<\_ACEOF
37184 #define wxUSE_DEBUGREPORT 1
37185 _ACEOF
37186
37187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37189 fi
37190 fi
37191 fi
37192
37193 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37194 cat >>confdefs.h <<\_ACEOF
37195 #define wxUSE_SNGLINST_CHECKER 1
37196 _ACEOF
37197
37198 fi
37199
37200 if test "$wxUSE_BUSYINFO" = "yes"; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxUSE_BUSYINFO 1
37203 _ACEOF
37204
37205 fi
37206
37207 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37208 cat >>confdefs.h <<\_ACEOF
37209 #define wxUSE_STD_IOSTREAM 1
37210 _ACEOF
37211
37212 fi
37213
37214 if test "$wxUSE_STD_STRING" = "yes"; then
37215 cat >>confdefs.h <<\_ACEOF
37216 #define wxUSE_STD_STRING 1
37217 _ACEOF
37218
37219 fi
37220
37221 if test "$wxUSE_STDPATHS" = "yes"; then
37222 cat >>confdefs.h <<\_ACEOF
37223 #define wxUSE_STDPATHS 1
37224 _ACEOF
37225
37226 fi
37227
37228 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define wxUSE_TEXTBUFFER 1
37231 _ACEOF
37232
37233 fi
37234
37235 if test "$wxUSE_TEXTFILE" = "yes"; then
37236 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37237 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37238 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37239 else
37240 cat >>confdefs.h <<\_ACEOF
37241 #define wxUSE_TEXTFILE 1
37242 _ACEOF
37243
37244 fi
37245 fi
37246
37247 if test "$wxUSE_CONFIG" = "yes" ; then
37248 if test "$wxUSE_TEXTFILE" != "yes"; then
37249 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37250 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37251 else
37252 cat >>confdefs.h <<\_ACEOF
37253 #define wxUSE_CONFIG 1
37254 _ACEOF
37255
37256 cat >>confdefs.h <<\_ACEOF
37257 #define wxUSE_CONFIG_NATIVE 1
37258 _ACEOF
37259
37260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37261 fi
37262 fi
37263
37264 if test "$wxUSE_INTL" = "yes" ; then
37265 if test "$wxUSE_FILE" != "yes"; then
37266 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37267 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37268 else
37269 cat >>confdefs.h <<\_ACEOF
37270 #define wxUSE_INTL 1
37271 _ACEOF
37272
37273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37274 GUIDIST="$GUIDIST INTL_DIST"
37275 fi
37276 fi
37277
37278 if test "$wxUSE_LOG" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define wxUSE_LOG 1
37281 _ACEOF
37282
37283
37284 if test "$wxUSE_LOGGUI" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define wxUSE_LOGGUI 1
37287 _ACEOF
37288
37289 fi
37290
37291 if test "$wxUSE_LOGWINDOW" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_LOGWINDOW 1
37294 _ACEOF
37295
37296 fi
37297
37298 if test "$wxUSE_LOGDIALOG" = "yes"; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define wxUSE_LOG_DIALOG 1
37301 _ACEOF
37302
37303 fi
37304
37305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37306 fi
37307
37308 if test "$wxUSE_LONGLONG" = "yes"; then
37309 cat >>confdefs.h <<\_ACEOF
37310 #define wxUSE_LONGLONG 1
37311 _ACEOF
37312
37313 fi
37314
37315 if test "$wxUSE_GEOMETRY" = "yes"; then
37316 cat >>confdefs.h <<\_ACEOF
37317 #define wxUSE_GEOMETRY 1
37318 _ACEOF
37319
37320 fi
37321
37322 if test "$wxUSE_STREAMS" = "yes" ; then
37323 cat >>confdefs.h <<\_ACEOF
37324 #define wxUSE_STREAMS 1
37325 _ACEOF
37326
37327 fi
37328
37329
37330 if test "$wxUSE_DATETIME" = "yes"; then
37331
37332 for ac_func in strptime
37333 do
37334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37335 echo "$as_me:$LINENO: checking for $ac_func" >&5
37336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37337 if eval "test \"\${$as_ac_var+set}\" = set"; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 else
37340 cat >conftest.$ac_ext <<_ACEOF
37341 /* confdefs.h. */
37342 _ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37348 #define $ac_func innocuous_$ac_func
37349
37350 /* System header to define __stub macros and hopefully few prototypes,
37351 which can conflict with char $ac_func (); below.
37352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37353 <limits.h> exists even on freestanding compilers. */
37354
37355 #ifdef __STDC__
37356 # include <limits.h>
37357 #else
37358 # include <assert.h>
37359 #endif
37360
37361 #undef $ac_func
37362
37363 /* Override any gcc2 internal prototype to avoid an error. */
37364 #ifdef __cplusplus
37365 extern "C"
37366 {
37367 #endif
37368 /* We use char because int might match the return type of a gcc2
37369 builtin and then its argument prototype would still apply. */
37370 char $ac_func ();
37371 /* The GNU C library defines this for functions which it implements
37372 to always fail with ENOSYS. Some functions are actually named
37373 something starting with __ and the normal name is an alias. */
37374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37375 choke me
37376 #else
37377 char (*f) () = $ac_func;
37378 #endif
37379 #ifdef __cplusplus
37380 }
37381 #endif
37382
37383 int
37384 main ()
37385 {
37386 return f != $ac_func;
37387 ;
37388 return 0;
37389 }
37390 _ACEOF
37391 rm -f conftest.$ac_objext conftest$ac_exeext
37392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37393 (eval $ac_link) 2>conftest.er1
37394 ac_status=$?
37395 grep -v '^ *+' conftest.er1 >conftest.err
37396 rm -f conftest.er1
37397 cat conftest.err >&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } &&
37400 { ac_try='test -z "$ac_c_werror_flag"
37401 || test ! -s conftest.err'
37402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403 (eval $ac_try) 2>&5
37404 ac_status=$?
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); }; } &&
37407 { ac_try='test -s conftest$ac_exeext'
37408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37409 (eval $ac_try) 2>&5
37410 ac_status=$?
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); }; }; then
37413 eval "$as_ac_var=yes"
37414 else
37415 echo "$as_me: failed program was:" >&5
37416 sed 's/^/| /' conftest.$ac_ext >&5
37417
37418 eval "$as_ac_var=no"
37419 fi
37420 rm -f conftest.err conftest.$ac_objext \
37421 conftest$ac_exeext conftest.$ac_ext
37422 fi
37423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37425 if test `eval echo '${'$as_ac_var'}'` = yes; then
37426 cat >>confdefs.h <<_ACEOF
37427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37428 _ACEOF
37429
37430 fi
37431 done
37432
37433
37434 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37435 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37436 if test "${wx_cv_var_timezone+set}" = set; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37438 else
37439
37440 cat >conftest.$ac_ext <<_ACEOF
37441 /* confdefs.h. */
37442 _ACEOF
37443 cat confdefs.h >>conftest.$ac_ext
37444 cat >>conftest.$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37446
37447 #include <time.h>
37448
37449 int
37450 main ()
37451 {
37452
37453 int tz;
37454 tz = timezone;
37455
37456 ;
37457 return 0;
37458 }
37459 _ACEOF
37460 rm -f conftest.$ac_objext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37462 (eval $ac_compile) 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try='test -z "$ac_c_werror_flag"
37470 || test ! -s conftest.err'
37471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472 (eval $ac_try) 2>&5
37473 ac_status=$?
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); }; } &&
37476 { ac_try='test -s conftest.$ac_objext'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37479 ac_status=$?
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; }; then
37482
37483 wx_cv_var_timezone=timezone
37484
37485 else
37486 echo "$as_me: failed program was:" >&5
37487 sed 's/^/| /' conftest.$ac_ext >&5
37488
37489
37490 cat >conftest.$ac_ext <<_ACEOF
37491 /* confdefs.h. */
37492 _ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496
37497 #include <time.h>
37498
37499 int
37500 main ()
37501 {
37502
37503 int tz;
37504 tz = _timezone;
37505
37506 ;
37507 return 0;
37508 }
37509 _ACEOF
37510 rm -f conftest.$ac_objext
37511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37512 (eval $ac_compile) 2>conftest.er1
37513 ac_status=$?
37514 grep -v '^ *+' conftest.er1 >conftest.err
37515 rm -f conftest.er1
37516 cat conftest.err >&5
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); } &&
37519 { ac_try='test -z "$ac_c_werror_flag"
37520 || test ! -s conftest.err'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37523 ac_status=$?
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; } &&
37526 { ac_try='test -s conftest.$ac_objext'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37529 ac_status=$?
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; }; then
37532
37533 wx_cv_var_timezone=_timezone
37534
37535 else
37536 echo "$as_me: failed program was:" >&5
37537 sed 's/^/| /' conftest.$ac_ext >&5
37538
37539
37540 cat >conftest.$ac_ext <<_ACEOF
37541 /* confdefs.h. */
37542 _ACEOF
37543 cat confdefs.h >>conftest.$ac_ext
37544 cat >>conftest.$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546
37547 #include <time.h>
37548
37549 int
37550 main ()
37551 {
37552
37553 int tz;
37554 tz = __timezone;
37555
37556 ;
37557 return 0;
37558 }
37559 _ACEOF
37560 rm -f conftest.$ac_objext
37561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37562 (eval $ac_compile) 2>conftest.er1
37563 ac_status=$?
37564 grep -v '^ *+' conftest.er1 >conftest.err
37565 rm -f conftest.er1
37566 cat conftest.err >&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } &&
37569 { ac_try='test -z "$ac_c_werror_flag"
37570 || test ! -s conftest.err'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37573 ac_status=$?
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; } &&
37576 { ac_try='test -s conftest.$ac_objext'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37579 ac_status=$?
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; }; then
37582
37583 wx_cv_var_timezone=__timezone
37584
37585 else
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.$ac_ext >&5
37588
37589
37590 if test "$USE_DOS" = 0 ; then
37591 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37592 echo "$as_me: WARNING: no timezone variable" >&2;}
37593 fi
37594
37595
37596 fi
37597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37598
37599
37600 fi
37601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37602
37603
37604 fi
37605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37606
37607
37608 fi
37609 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37610 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37611
37612 if test "x$wx_cv_var_timezone" != x ; then
37613 cat >>confdefs.h <<_ACEOF
37614 #define WX_TIMEZONE $wx_cv_var_timezone
37615 _ACEOF
37616
37617 fi
37618
37619
37620 for ac_func in localtime
37621 do
37622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37623 echo "$as_me:$LINENO: checking for $ac_func" >&5
37624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37625 if eval "test \"\${$as_ac_var+set}\" = set"; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37627 else
37628 cat >conftest.$ac_ext <<_ACEOF
37629 /* confdefs.h. */
37630 _ACEOF
37631 cat confdefs.h >>conftest.$ac_ext
37632 cat >>conftest.$ac_ext <<_ACEOF
37633 /* end confdefs.h. */
37634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37636 #define $ac_func innocuous_$ac_func
37637
37638 /* System header to define __stub macros and hopefully few prototypes,
37639 which can conflict with char $ac_func (); below.
37640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37641 <limits.h> exists even on freestanding compilers. */
37642
37643 #ifdef __STDC__
37644 # include <limits.h>
37645 #else
37646 # include <assert.h>
37647 #endif
37648
37649 #undef $ac_func
37650
37651 /* Override any gcc2 internal prototype to avoid an error. */
37652 #ifdef __cplusplus
37653 extern "C"
37654 {
37655 #endif
37656 /* We use char because int might match the return type of a gcc2
37657 builtin and then its argument prototype would still apply. */
37658 char $ac_func ();
37659 /* The GNU C library defines this for functions which it implements
37660 to always fail with ENOSYS. Some functions are actually named
37661 something starting with __ and the normal name is an alias. */
37662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37663 choke me
37664 #else
37665 char (*f) () = $ac_func;
37666 #endif
37667 #ifdef __cplusplus
37668 }
37669 #endif
37670
37671 int
37672 main ()
37673 {
37674 return f != $ac_func;
37675 ;
37676 return 0;
37677 }
37678 _ACEOF
37679 rm -f conftest.$ac_objext conftest$ac_exeext
37680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37681 (eval $ac_link) 2>conftest.er1
37682 ac_status=$?
37683 grep -v '^ *+' conftest.er1 >conftest.err
37684 rm -f conftest.er1
37685 cat conftest.err >&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } &&
37688 { ac_try='test -z "$ac_c_werror_flag"
37689 || test ! -s conftest.err'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37692 ac_status=$?
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; } &&
37695 { ac_try='test -s conftest$ac_exeext'
37696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37697 (eval $ac_try) 2>&5
37698 ac_status=$?
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); }; }; then
37701 eval "$as_ac_var=yes"
37702 else
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37705
37706 eval "$as_ac_var=no"
37707 fi
37708 rm -f conftest.err conftest.$ac_objext \
37709 conftest$ac_exeext conftest.$ac_ext
37710 fi
37711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37713 if test `eval echo '${'$as_ac_var'}'` = yes; then
37714 cat >>confdefs.h <<_ACEOF
37715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37716 _ACEOF
37717
37718 fi
37719 done
37720
37721
37722 if test "$ac_cv_func_localtime" = "yes"; then
37723 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37724 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37725 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 else
37728
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735
37736 #include <time.h>
37737
37738 int
37739 main ()
37740 {
37741
37742 struct tm tm;
37743 tm.tm_gmtoff++;
37744
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37751 (eval $ac_compile) 2>conftest.er1
37752 ac_status=$?
37753 grep -v '^ *+' conftest.er1 >conftest.err
37754 rm -f conftest.er1
37755 cat conftest.err >&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } &&
37758 { ac_try='test -z "$ac_c_werror_flag"
37759 || test ! -s conftest.err'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37762 ac_status=$?
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; } &&
37765 { ac_try='test -s conftest.$ac_objext'
37766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767 (eval $ac_try) 2>&5
37768 ac_status=$?
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); }; }; then
37771
37772 wx_cv_struct_tm_has_gmtoff=yes
37773
37774 else
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37777
37778 wx_cv_struct_tm_has_gmtoff=no
37779
37780 fi
37781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37782
37783 fi
37784 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37785 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37786 fi
37787
37788 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37789 cat >>confdefs.h <<\_ACEOF
37790 #define WX_GMTOFF_IN_TM 1
37791 _ACEOF
37792
37793 fi
37794
37795
37796
37797 for ac_func in gettimeofday ftime
37798 do
37799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37800 echo "$as_me:$LINENO: checking for $ac_func" >&5
37801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37802 if eval "test \"\${$as_ac_var+set}\" = set"; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 else
37805 cat >conftest.$ac_ext <<_ACEOF
37806 /* confdefs.h. */
37807 _ACEOF
37808 cat confdefs.h >>conftest.$ac_ext
37809 cat >>conftest.$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37813 #define $ac_func innocuous_$ac_func
37814
37815 /* System header to define __stub macros and hopefully few prototypes,
37816 which can conflict with char $ac_func (); below.
37817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37818 <limits.h> exists even on freestanding compilers. */
37819
37820 #ifdef __STDC__
37821 # include <limits.h>
37822 #else
37823 # include <assert.h>
37824 #endif
37825
37826 #undef $ac_func
37827
37828 /* Override any gcc2 internal prototype to avoid an error. */
37829 #ifdef __cplusplus
37830 extern "C"
37831 {
37832 #endif
37833 /* We use char because int might match the return type of a gcc2
37834 builtin and then its argument prototype would still apply. */
37835 char $ac_func ();
37836 /* The GNU C library defines this for functions which it implements
37837 to always fail with ENOSYS. Some functions are actually named
37838 something starting with __ and the normal name is an alias. */
37839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37840 choke me
37841 #else
37842 char (*f) () = $ac_func;
37843 #endif
37844 #ifdef __cplusplus
37845 }
37846 #endif
37847
37848 int
37849 main ()
37850 {
37851 return f != $ac_func;
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 rm -f conftest.$ac_objext conftest$ac_exeext
37857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37858 (eval $ac_link) 2>conftest.er1
37859 ac_status=$?
37860 grep -v '^ *+' conftest.er1 >conftest.err
37861 rm -f conftest.er1
37862 cat conftest.err >&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } &&
37865 { ac_try='test -z "$ac_c_werror_flag"
37866 || 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_exeext'
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 eval "$as_ac_var=yes"
37879 else
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37882
37883 eval "$as_ac_var=no"
37884 fi
37885 rm -f conftest.err conftest.$ac_objext \
37886 conftest$ac_exeext conftest.$ac_ext
37887 fi
37888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37890 if test `eval echo '${'$as_ac_var'}'` = yes; then
37891 cat >>confdefs.h <<_ACEOF
37892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37893 _ACEOF
37894 break
37895 fi
37896 done
37897
37898
37899 if test "$ac_cv_func_gettimeofday" = "yes"; then
37900 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37901 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37902 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 else
37905
37906
37907
37908 ac_ext=cc
37909 ac_cpp='$CXXCPP $CPPFLAGS'
37910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37913
37914
37915 cat >conftest.$ac_ext <<_ACEOF
37916 /* confdefs.h. */
37917 _ACEOF
37918 cat confdefs.h >>conftest.$ac_ext
37919 cat >>conftest.$ac_ext <<_ACEOF
37920 /* end confdefs.h. */
37921
37922 #include <sys/time.h>
37923 #include <unistd.h>
37924
37925 int
37926 main ()
37927 {
37928
37929 struct timeval tv;
37930 gettimeofday(&tv, NULL);
37931
37932 ;
37933 return 0;
37934 }
37935 _ACEOF
37936 rm -f conftest.$ac_objext
37937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37938 (eval $ac_compile) 2>conftest.er1
37939 ac_status=$?
37940 grep -v '^ *+' conftest.er1 >conftest.err
37941 rm -f conftest.er1
37942 cat conftest.err >&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } &&
37945 { ac_try='test -z "$ac_cxx_werror_flag"
37946 || test ! -s conftest.err'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37949 ac_status=$?
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; } &&
37952 { ac_try='test -s conftest.$ac_objext'
37953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954 (eval $ac_try) 2>&5
37955 ac_status=$?
37956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957 (exit $ac_status); }; }; then
37958 wx_cv_func_gettimeofday_has_2_args=yes
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 cat >conftest.$ac_ext <<_ACEOF
37964 /* confdefs.h. */
37965 _ACEOF
37966 cat confdefs.h >>conftest.$ac_ext
37967 cat >>conftest.$ac_ext <<_ACEOF
37968 /* end confdefs.h. */
37969
37970 #include <sys/time.h>
37971 #include <unistd.h>
37972
37973 int
37974 main ()
37975 {
37976
37977 struct timeval tv;
37978 gettimeofday(&tv);
37979
37980 ;
37981 return 0;
37982 }
37983 _ACEOF
37984 rm -f conftest.$ac_objext
37985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37986 (eval $ac_compile) 2>conftest.er1
37987 ac_status=$?
37988 grep -v '^ *+' conftest.er1 >conftest.err
37989 rm -f conftest.er1
37990 cat conftest.err >&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } &&
37993 { ac_try='test -z "$ac_cxx_werror_flag"
37994 || test ! -s conftest.err'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; } &&
38000 { ac_try='test -s conftest.$ac_objext'
38001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38002 (eval $ac_try) 2>&5
38003 ac_status=$?
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); }; }; then
38006 wx_cv_func_gettimeofday_has_2_args=no
38007 else
38008 echo "$as_me: failed program was:" >&5
38009 sed 's/^/| /' conftest.$ac_ext >&5
38010
38011
38012 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38013 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38014 wx_cv_func_gettimeofday_has_2_args=unknown
38015
38016
38017 fi
38018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38019
38020 fi
38021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38022 ac_ext=c
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38027
38028
38029 fi
38030 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38031 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38032
38033 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38034 cat >>confdefs.h <<\_ACEOF
38035 #define WX_GETTIMEOFDAY_NO_TZ 1
38036 _ACEOF
38037
38038 fi
38039 fi
38040
38041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38042 fi
38043
38044
38045 if test "$wxUSE_SOCKETS" = "yes"; then
38046 if test "$wxUSE_MGL" = "1"; then
38047 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38048 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38049 wxUSE_SOCKETS="no"
38050 fi
38051 fi
38052
38053 if test "$wxUSE_SOCKETS" = "yes"; then
38054 if test "$TOOLKIT" != "MSW"; then
38055 echo "$as_me:$LINENO: checking for socket" >&5
38056 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38057 if test "${ac_cv_func_socket+set}" = set; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38059 else
38060 cat >conftest.$ac_ext <<_ACEOF
38061 /* confdefs.h. */
38062 _ACEOF
38063 cat confdefs.h >>conftest.$ac_ext
38064 cat >>conftest.$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38068 #define socket innocuous_socket
38069
38070 /* System header to define __stub macros and hopefully few prototypes,
38071 which can conflict with char socket (); below.
38072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38073 <limits.h> exists even on freestanding compilers. */
38074
38075 #ifdef __STDC__
38076 # include <limits.h>
38077 #else
38078 # include <assert.h>
38079 #endif
38080
38081 #undef socket
38082
38083 /* Override any gcc2 internal prototype to avoid an error. */
38084 #ifdef __cplusplus
38085 extern "C"
38086 {
38087 #endif
38088 /* We use char because int might match the return type of a gcc2
38089 builtin and then its argument prototype would still apply. */
38090 char socket ();
38091 /* The GNU C library defines this for functions which it implements
38092 to always fail with ENOSYS. Some functions are actually named
38093 something starting with __ and the normal name is an alias. */
38094 #if defined (__stub_socket) || defined (__stub___socket)
38095 choke me
38096 #else
38097 char (*f) () = socket;
38098 #endif
38099 #ifdef __cplusplus
38100 }
38101 #endif
38102
38103 int
38104 main ()
38105 {
38106 return f != socket;
38107 ;
38108 return 0;
38109 }
38110 _ACEOF
38111 rm -f conftest.$ac_objext conftest$ac_exeext
38112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38113 (eval $ac_link) 2>conftest.er1
38114 ac_status=$?
38115 grep -v '^ *+' conftest.er1 >conftest.err
38116 rm -f conftest.er1
38117 cat conftest.err >&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } &&
38120 { ac_try='test -z "$ac_c_werror_flag"
38121 || test ! -s conftest.err'
38122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38123 (eval $ac_try) 2>&5
38124 ac_status=$?
38125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38126 (exit $ac_status); }; } &&
38127 { ac_try='test -s conftest$ac_exeext'
38128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38129 (eval $ac_try) 2>&5
38130 ac_status=$?
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); }; }; then
38133 ac_cv_func_socket=yes
38134 else
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.$ac_ext >&5
38137
38138 ac_cv_func_socket=no
38139 fi
38140 rm -f conftest.err conftest.$ac_objext \
38141 conftest$ac_exeext conftest.$ac_ext
38142 fi
38143 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38144 echo "${ECHO_T}$ac_cv_func_socket" >&6
38145 if test $ac_cv_func_socket = yes; then
38146 :
38147 else
38148
38149 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38150 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38151 if test "${ac_cv_lib_socket_socket+set}" = set; then
38152 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 else
38154 ac_check_lib_save_LIBS=$LIBS
38155 LIBS="-lsocket $LIBS"
38156 cat >conftest.$ac_ext <<_ACEOF
38157 /* confdefs.h. */
38158 _ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38162
38163 /* Override any gcc2 internal prototype to avoid an error. */
38164 #ifdef __cplusplus
38165 extern "C"
38166 #endif
38167 /* We use char because int might match the return type of a gcc2
38168 builtin and then its argument prototype would still apply. */
38169 char socket ();
38170 int
38171 main ()
38172 {
38173 socket ();
38174 ;
38175 return 0;
38176 }
38177 _ACEOF
38178 rm -f conftest.$ac_objext conftest$ac_exeext
38179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38180 (eval $ac_link) 2>conftest.er1
38181 ac_status=$?
38182 grep -v '^ *+' conftest.er1 >conftest.err
38183 rm -f conftest.er1
38184 cat conftest.err >&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); } &&
38187 { ac_try='test -z "$ac_c_werror_flag"
38188 || test ! -s conftest.err'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38191 ac_status=$?
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; } &&
38194 { ac_try='test -s conftest$ac_exeext'
38195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38196 (eval $ac_try) 2>&5
38197 ac_status=$?
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); }; }; then
38200 ac_cv_lib_socket_socket=yes
38201 else
38202 echo "$as_me: failed program was:" >&5
38203 sed 's/^/| /' conftest.$ac_ext >&5
38204
38205 ac_cv_lib_socket_socket=no
38206 fi
38207 rm -f conftest.err conftest.$ac_objext \
38208 conftest$ac_exeext conftest.$ac_ext
38209 LIBS=$ac_check_lib_save_LIBS
38210 fi
38211 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38212 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38213 if test $ac_cv_lib_socket_socket = yes; then
38214 if test "$INET_LINK" != " -lsocket"; then
38215 INET_LINK="$INET_LINK -lsocket"
38216 fi
38217 else
38218
38219 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38220 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38221 wxUSE_SOCKETS=no
38222
38223
38224 fi
38225
38226
38227
38228 fi
38229
38230 fi
38231 fi
38232
38233 if test "$wxUSE_SOCKETS" = "yes" ; then
38234 if test "$TOOLKIT" != "MSW"; then
38235 ac_ext=cc
38236 ac_cpp='$CXXCPP $CPPFLAGS'
38237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38240
38241 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38242 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38243 if test "${wx_cv_type_getsockname3+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246
38247 cat >conftest.$ac_ext <<_ACEOF
38248 /* confdefs.h. */
38249 _ACEOF
38250 cat confdefs.h >>conftest.$ac_ext
38251 cat >>conftest.$ac_ext <<_ACEOF
38252 /* end confdefs.h. */
38253
38254 #include <sys/types.h>
38255 #include <sys/socket.h>
38256
38257 int
38258 main ()
38259 {
38260
38261 socklen_t len;
38262 getsockname(0, 0, &len);
38263
38264 ;
38265 return 0;
38266 }
38267 _ACEOF
38268 rm -f conftest.$ac_objext
38269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38270 (eval $ac_compile) 2>conftest.er1
38271 ac_status=$?
38272 grep -v '^ *+' conftest.er1 >conftest.err
38273 rm -f conftest.er1
38274 cat conftest.err >&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } &&
38277 { ac_try='test -z "$ac_cxx_werror_flag"
38278 || test ! -s conftest.err'
38279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38280 (eval $ac_try) 2>&5
38281 ac_status=$?
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); }; } &&
38284 { ac_try='test -s conftest.$ac_objext'
38285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286 (eval $ac_try) 2>&5
38287 ac_status=$?
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); }; }; then
38290 wx_cv_type_getsockname3=socklen_t
38291 else
38292 echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38294
38295
38296 CFLAGS_OLD="$CFLAGS"
38297 if test "$GCC" = yes ; then
38298 CFLAGS="$CFLAGS -Werror"
38299 fi
38300
38301 cat >conftest.$ac_ext <<_ACEOF
38302 /* confdefs.h. */
38303 _ACEOF
38304 cat confdefs.h >>conftest.$ac_ext
38305 cat >>conftest.$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38307
38308 #include <sys/types.h>
38309 #include <sys/socket.h>
38310
38311 int
38312 main ()
38313 {
38314
38315 size_t len;
38316 getsockname(0, 0, &len);
38317
38318 ;
38319 return 0;
38320 }
38321 _ACEOF
38322 rm -f conftest.$ac_objext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38324 (eval $ac_compile) 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_cxx_werror_flag"
38332 || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try='test -s conftest.$ac_objext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 wx_cv_type_getsockname3=size_t
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 cat >conftest.$ac_ext <<_ACEOF
38350 /* confdefs.h. */
38351 _ACEOF
38352 cat confdefs.h >>conftest.$ac_ext
38353 cat >>conftest.$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38355
38356 #include <sys/types.h>
38357 #include <sys/socket.h>
38358
38359 int
38360 main ()
38361 {
38362
38363 int len;
38364 getsockname(0, 0, &len);
38365
38366 ;
38367 return 0;
38368 }
38369 _ACEOF
38370 rm -f conftest.$ac_objext
38371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38372 (eval $ac_compile) 2>conftest.er1
38373 ac_status=$?
38374 grep -v '^ *+' conftest.er1 >conftest.err
38375 rm -f conftest.er1
38376 cat conftest.err >&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); } &&
38379 { ac_try='test -z "$ac_cxx_werror_flag"
38380 || test ! -s conftest.err'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; } &&
38386 { ac_try='test -s conftest.$ac_objext'
38387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38388 (eval $ac_try) 2>&5
38389 ac_status=$?
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); }; }; then
38392 wx_cv_type_getsockname3=int
38393 else
38394 echo "$as_me: failed program was:" >&5
38395 sed 's/^/| /' conftest.$ac_ext >&5
38396
38397 wx_cv_type_getsockname3=unknown
38398
38399 fi
38400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38401
38402 fi
38403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38404
38405 CFLAGS="$CFLAGS_OLD"
38406
38407
38408 fi
38409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38410
38411 fi
38412 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38413 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38414
38415 if test "$wx_cv_type_getsockname3" = "unknown"; then
38416 wxUSE_SOCKETS=no
38417 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38418 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38419 else
38420 cat >>confdefs.h <<_ACEOF
38421 #define SOCKLEN_T $wx_cv_type_getsockname3
38422 _ACEOF
38423
38424 fi
38425 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38426 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38427 if test "${wx_cv_type_getsockopt5+set}" = set; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 else
38430
38431 cat >conftest.$ac_ext <<_ACEOF
38432 /* confdefs.h. */
38433 _ACEOF
38434 cat confdefs.h >>conftest.$ac_ext
38435 cat >>conftest.$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38437
38438 #include <sys/types.h>
38439 #include <sys/socket.h>
38440
38441 int
38442 main ()
38443 {
38444
38445 socklen_t len;
38446 getsockopt(0, 0, 0, 0, &len);
38447
38448 ;
38449 return 0;
38450 }
38451 _ACEOF
38452 rm -f conftest.$ac_objext
38453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38454 (eval $ac_compile) 2>conftest.er1
38455 ac_status=$?
38456 grep -v '^ *+' conftest.er1 >conftest.err
38457 rm -f conftest.er1
38458 cat conftest.err >&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } &&
38461 { ac_try='test -z "$ac_cxx_werror_flag"
38462 || test ! -s conftest.err'
38463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38464 (eval $ac_try) 2>&5
38465 ac_status=$?
38466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38467 (exit $ac_status); }; } &&
38468 { ac_try='test -s conftest.$ac_objext'
38469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38470 (eval $ac_try) 2>&5
38471 ac_status=$?
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); }; }; then
38474 wx_cv_type_getsockopt5=socklen_t
38475 else
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38478
38479
38480 CFLAGS_OLD="$CFLAGS"
38481 if test "$GCC" = yes ; then
38482 CFLAGS="$CFLAGS -Werror"
38483 fi
38484
38485 cat >conftest.$ac_ext <<_ACEOF
38486 /* confdefs.h. */
38487 _ACEOF
38488 cat confdefs.h >>conftest.$ac_ext
38489 cat >>conftest.$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38491
38492 #include <sys/types.h>
38493 #include <sys/socket.h>
38494
38495 int
38496 main ()
38497 {
38498
38499 size_t len;
38500 getsockopt(0, 0, 0, 0, &len);
38501
38502 ;
38503 return 0;
38504 }
38505 _ACEOF
38506 rm -f conftest.$ac_objext
38507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38508 (eval $ac_compile) 2>conftest.er1
38509 ac_status=$?
38510 grep -v '^ *+' conftest.er1 >conftest.err
38511 rm -f conftest.er1
38512 cat conftest.err >&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); } &&
38515 { ac_try='test -z "$ac_cxx_werror_flag"
38516 || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38519 ac_status=$?
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try='test -s conftest.$ac_objext'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38525 ac_status=$?
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; }; then
38528 wx_cv_type_getsockopt5=size_t
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533 cat >conftest.$ac_ext <<_ACEOF
38534 /* confdefs.h. */
38535 _ACEOF
38536 cat confdefs.h >>conftest.$ac_ext
38537 cat >>conftest.$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38539
38540 #include <sys/types.h>
38541 #include <sys/socket.h>
38542
38543 int
38544 main ()
38545 {
38546
38547 int len;
38548 getsockopt(0, 0, 0, 0, &len);
38549
38550 ;
38551 return 0;
38552 }
38553 _ACEOF
38554 rm -f conftest.$ac_objext
38555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38556 (eval $ac_compile) 2>conftest.er1
38557 ac_status=$?
38558 grep -v '^ *+' conftest.er1 >conftest.err
38559 rm -f conftest.er1
38560 cat conftest.err >&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); } &&
38563 { ac_try='test -z "$ac_cxx_werror_flag"
38564 || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38567 ac_status=$?
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try='test -s conftest.$ac_objext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38573 ac_status=$?
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 wx_cv_type_getsockopt5=int
38577 else
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.$ac_ext >&5
38580
38581 wx_cv_type_getsockopt5=unknown
38582
38583 fi
38584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38585
38586 fi
38587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38588
38589 CFLAGS="$CFLAGS_OLD"
38590
38591
38592 fi
38593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38594
38595 fi
38596 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38597 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38598
38599 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38600 wxUSE_SOCKETS=no
38601 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38602 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38603 else
38604 cat >>confdefs.h <<_ACEOF
38605 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38606 _ACEOF
38607
38608 fi
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615 fi
38616 fi
38617
38618 if test "$wxUSE_SOCKETS" = "yes" ; then
38619 cat >>confdefs.h <<\_ACEOF
38620 #define wxUSE_SOCKETS 1
38621 _ACEOF
38622
38623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38624 fi
38625
38626 if test "$wxUSE_PROTOCOL" = "yes"; then
38627 if test "$wxUSE_SOCKETS" != "yes"; then
38628 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38629 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38630 wxUSE_PROTOCOL=no
38631 fi
38632 fi
38633
38634 if test "$wxUSE_PROTOCOL" = "yes"; then
38635 cat >>confdefs.h <<\_ACEOF
38636 #define wxUSE_PROTOCOL 1
38637 _ACEOF
38638
38639
38640 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38641 cat >>confdefs.h <<\_ACEOF
38642 #define wxUSE_PROTOCOL_HTTP 1
38643 _ACEOF
38644
38645 fi
38646 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38647 cat >>confdefs.h <<\_ACEOF
38648 #define wxUSE_PROTOCOL_FTP 1
38649 _ACEOF
38650
38651 fi
38652 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38653 cat >>confdefs.h <<\_ACEOF
38654 #define wxUSE_PROTOCOL_FILE 1
38655 _ACEOF
38656
38657 fi
38658 else
38659 if test "$wxUSE_FS_INET" = "yes"; then
38660 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38661 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38662 wxUSE_FS_INET="no"
38663 fi
38664 fi
38665
38666 if test "$wxUSE_URL" = "yes"; then
38667 if test "$wxUSE_PROTOCOL" != "yes"; then
38668 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38669 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38670 wxUSE_URL=no
38671 fi
38672 if test "$wxUSE_URL" = "yes"; then
38673 cat >>confdefs.h <<\_ACEOF
38674 #define wxUSE_URL 1
38675 _ACEOF
38676
38677 fi
38678 fi
38679
38680 if test "$wxUSE_FS_INET" = "yes"; then
38681 cat >>confdefs.h <<\_ACEOF
38682 #define wxUSE_FS_INET 1
38683 _ACEOF
38684
38685 fi
38686
38687
38688 if test "$wxUSE_GUI" = "yes"; then
38689 if test "$wxUSE_JOYSTICK" = "yes"; then
38690
38691 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38692
38693 for ac_header in linux/joystick.h
38694 do
38695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38697 echo "$as_me:$LINENO: checking for $ac_header" >&5
38698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38700 echo $ECHO_N "(cached) $ECHO_C" >&6
38701 fi
38702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38704 else
38705 # Is the header compilable?
38706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38708 cat >conftest.$ac_ext <<_ACEOF
38709 /* confdefs.h. */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 $ac_includes_default
38715 #include <$ac_header>
38716 _ACEOF
38717 rm -f conftest.$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38720 ac_status=$?
38721 grep -v '^ *+' conftest.er1 >conftest.err
38722 rm -f conftest.er1
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try='test -z "$ac_c_werror_flag"
38727 || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38730 ac_status=$?
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try='test -s conftest.$ac_objext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38736 ac_status=$?
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 ac_header_compiler=yes
38740 else
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38743
38744 ac_header_compiler=no
38745 fi
38746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38748 echo "${ECHO_T}$ac_header_compiler" >&6
38749
38750 # Is the header present?
38751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38753 cat >conftest.$ac_ext <<_ACEOF
38754 /* confdefs.h. */
38755 _ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 #include <$ac_header>
38760 _ACEOF
38761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38763 ac_status=$?
38764 grep -v '^ *+' conftest.er1 >conftest.err
38765 rm -f conftest.er1
38766 cat conftest.err >&5
38767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38768 (exit $ac_status); } >/dev/null; then
38769 if test -s conftest.err; then
38770 ac_cpp_err=$ac_c_preproc_warn_flag
38771 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38772 else
38773 ac_cpp_err=
38774 fi
38775 else
38776 ac_cpp_err=yes
38777 fi
38778 if test -z "$ac_cpp_err"; then
38779 ac_header_preproc=yes
38780 else
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.$ac_ext >&5
38783
38784 ac_header_preproc=no
38785 fi
38786 rm -f conftest.err conftest.$ac_ext
38787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38788 echo "${ECHO_T}$ac_header_preproc" >&6
38789
38790 # So? What about this header?
38791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38792 yes:no: )
38793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38797 ac_header_preproc=yes
38798 ;;
38799 no:yes:* )
38800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38812 (
38813 cat <<\_ASBOX
38814 ## ----------------------------------------- ##
38815 ## Report this to wx-dev@lists.wxwidgets.org ##
38816 ## ----------------------------------------- ##
38817 _ASBOX
38818 ) |
38819 sed "s/^/$as_me: WARNING: /" >&2
38820 ;;
38821 esac
38822 echo "$as_me:$LINENO: checking for $ac_header" >&5
38823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38826 else
38827 eval "$as_ac_Header=\$ac_header_preproc"
38828 fi
38829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38831
38832 fi
38833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38834 cat >>confdefs.h <<_ACEOF
38835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38836 _ACEOF
38837
38838 fi
38839
38840 done
38841
38842 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38843 wxUSE_JOYSTICK=no
38844 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38845 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38846 fi
38847 else
38848 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38849 wxUSE_JOYSTICK=no
38850 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38851 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38852 fi
38853 fi
38854
38855
38856 if test "$wxUSE_JOYSTICK" = "yes"; then
38857 cat >>confdefs.h <<\_ACEOF
38858 #define wxUSE_JOYSTICK 1
38859 _ACEOF
38860
38861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38862 fi
38863 fi
38864 fi
38865
38866
38867
38868 if test "$wxUSE_FONTMAP" = "yes" ; then
38869 cat >>confdefs.h <<\_ACEOF
38870 #define wxUSE_FONTMAP 1
38871 _ACEOF
38872
38873 fi
38874
38875 if test "$wxUSE_UNICODE" = "yes" ; then
38876 cat >>confdefs.h <<\_ACEOF
38877 #define wxUSE_UNICODE 1
38878 _ACEOF
38879
38880
38881 if test "$USE_WIN32" != 1; then
38882 wxUSE_UNICODE_MSLU=no
38883 fi
38884
38885 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38886 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38887 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38888 if test "${ac_cv_lib_unicows_main+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38890 else
38891 ac_check_lib_save_LIBS=$LIBS
38892 LIBS="-lunicows $LIBS"
38893 cat >conftest.$ac_ext <<_ACEOF
38894 /* confdefs.h. */
38895 _ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899
38900
38901 int
38902 main ()
38903 {
38904 main ();
38905 ;
38906 return 0;
38907 }
38908 _ACEOF
38909 rm -f conftest.$ac_objext conftest$ac_exeext
38910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38911 (eval $ac_link) 2>conftest.er1
38912 ac_status=$?
38913 grep -v '^ *+' conftest.er1 >conftest.err
38914 rm -f conftest.er1
38915 cat conftest.err >&5
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); } &&
38918 { ac_try='test -z "$ac_c_werror_flag"
38919 || test ! -s conftest.err'
38920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921 (eval $ac_try) 2>&5
38922 ac_status=$?
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); }; } &&
38925 { ac_try='test -s conftest$ac_exeext'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38928 ac_status=$?
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; }; then
38931 ac_cv_lib_unicows_main=yes
38932 else
38933 echo "$as_me: failed program was:" >&5
38934 sed 's/^/| /' conftest.$ac_ext >&5
38935
38936 ac_cv_lib_unicows_main=no
38937 fi
38938 rm -f conftest.err conftest.$ac_objext \
38939 conftest$ac_exeext conftest.$ac_ext
38940 LIBS=$ac_check_lib_save_LIBS
38941 fi
38942 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38943 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38944 if test $ac_cv_lib_unicows_main = yes; then
38945
38946 cat >>confdefs.h <<\_ACEOF
38947 #define wxUSE_UNICODE_MSLU 1
38948 _ACEOF
38949
38950
38951 else
38952
38953 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38954 Applications will only run on Windows NT/2000/XP!" >&5
38955 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38956 Applications will only run on Windows NT/2000/XP!" >&2;}
38957 wxUSE_UNICODE_MSLU=no
38958
38959 fi
38960
38961 fi
38962 fi
38963
38964 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38965 cat >>confdefs.h <<\_ACEOF
38966 #define wxUSE_EXPERIMENTAL_PRINTF 1
38967 _ACEOF
38968
38969 fi
38970
38971
38972 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38973 cat >>confdefs.h <<\_ACEOF
38974 #define wxUSE_POSTSCRIPT 1
38975 _ACEOF
38976
38977 fi
38978
38979 cat >>confdefs.h <<\_ACEOF
38980 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38981 _ACEOF
38982
38983
38984 cat >>confdefs.h <<\_ACEOF
38985 #define wxUSE_NORMALIZED_PS_FONTS 1
38986 _ACEOF
38987
38988
38989
38990 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38991 cat >>confdefs.h <<\_ACEOF
38992 #define wxUSE_CONSTRAINTS 1
38993 _ACEOF
38994
38995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38996 fi
38997
38998 if test "$wxUSE_MDI" = "yes"; then
38999 cat >>confdefs.h <<\_ACEOF
39000 #define wxUSE_MDI 1
39001 _ACEOF
39002
39003
39004 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39005 cat >>confdefs.h <<\_ACEOF
39006 #define wxUSE_MDI_ARCHITECTURE 1
39007 _ACEOF
39008
39009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39010 fi
39011 fi
39012
39013 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39014 cat >>confdefs.h <<\_ACEOF
39015 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39016 _ACEOF
39017
39018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39019 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39021 fi
39022 fi
39023
39024 if test "$wxUSE_HELP" = "yes"; then
39025 cat >>confdefs.h <<\_ACEOF
39026 #define wxUSE_HELP 1
39027 _ACEOF
39028
39029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39030
39031 if test "$wxUSE_MSW" = 1; then
39032 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39033 cat >>confdefs.h <<\_ACEOF
39034 #define wxUSE_MS_HTML_HELP 1
39035 _ACEOF
39036
39037 fi
39038 fi
39039
39040 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39041 if test "$wxUSE_HTML" = "yes"; then
39042 cat >>confdefs.h <<\_ACEOF
39043 #define wxUSE_WXHTML_HELP 1
39044 _ACEOF
39045
39046 else
39047 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39048 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39049 wxUSE_WXHTML_HELP=no
39050 fi
39051 fi
39052 fi
39053
39054 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39055 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39056 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39057 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39058 else
39059 cat >>confdefs.h <<\_ACEOF
39060 #define wxUSE_PRINTING_ARCHITECTURE 1
39061 _ACEOF
39062
39063 fi
39064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39065 fi
39066
39067 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39068 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39069 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39070 { (exit 1); exit 1; }; }
39071 fi
39072
39073
39074 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39075 -o "$wxUSE_CLIPBOARD" = "yes" \
39076 -o "$wxUSE_OLE" = "yes" \
39077 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39078
39079 for ac_header in ole2.h
39080 do
39081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39083 echo "$as_me:$LINENO: checking for $ac_header" >&5
39084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39087 fi
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39090 else
39091 # Is the header compilable?
39092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39094 cat >conftest.$ac_ext <<_ACEOF
39095 /* confdefs.h. */
39096 _ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 $ac_includes_default
39101 #include <$ac_header>
39102 _ACEOF
39103 rm -f conftest.$ac_objext
39104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39105 (eval $ac_compile) 2>conftest.er1
39106 ac_status=$?
39107 grep -v '^ *+' conftest.er1 >conftest.err
39108 rm -f conftest.er1
39109 cat conftest.err >&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } &&
39112 { ac_try='test -z "$ac_c_werror_flag"
39113 || test ! -s conftest.err'
39114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39115 (eval $ac_try) 2>&5
39116 ac_status=$?
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); }; } &&
39119 { ac_try='test -s conftest.$ac_objext'
39120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39121 (eval $ac_try) 2>&5
39122 ac_status=$?
39123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39124 (exit $ac_status); }; }; then
39125 ac_header_compiler=yes
39126 else
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39129
39130 ac_header_compiler=no
39131 fi
39132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39134 echo "${ECHO_T}$ac_header_compiler" >&6
39135
39136 # Is the header present?
39137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 #include <$ac_header>
39146 _ACEOF
39147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } >/dev/null; then
39155 if test -s conftest.err; then
39156 ac_cpp_err=$ac_c_preproc_warn_flag
39157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39158 else
39159 ac_cpp_err=
39160 fi
39161 else
39162 ac_cpp_err=yes
39163 fi
39164 if test -z "$ac_cpp_err"; then
39165 ac_header_preproc=yes
39166 else
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39169
39170 ac_header_preproc=no
39171 fi
39172 rm -f conftest.err conftest.$ac_ext
39173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39174 echo "${ECHO_T}$ac_header_preproc" >&6
39175
39176 # So? What about this header?
39177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39178 yes:no: )
39179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39183 ac_header_preproc=yes
39184 ;;
39185 no:yes:* )
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39198 (
39199 cat <<\_ASBOX
39200 ## ----------------------------------------- ##
39201 ## Report this to wx-dev@lists.wxwidgets.org ##
39202 ## ----------------------------------------- ##
39203 _ASBOX
39204 ) |
39205 sed "s/^/$as_me: WARNING: /" >&2
39206 ;;
39207 esac
39208 echo "$as_me:$LINENO: checking for $ac_header" >&5
39209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 else
39213 eval "$as_ac_Header=\$ac_header_preproc"
39214 fi
39215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39217
39218 fi
39219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39220 cat >>confdefs.h <<_ACEOF
39221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39222 _ACEOF
39223
39224 fi
39225
39226 done
39227
39228
39229 if test "$ac_cv_header_ole2_h" = "yes" ; then
39230 if test "$GCC" = yes ; then
39231
39232
39233 ac_ext=cc
39234 ac_cpp='$CXXCPP $CPPFLAGS'
39235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39238
39239
39240 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39241 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39242 cat >conftest.$ac_ext <<_ACEOF
39243 /* confdefs.h. */
39244 _ACEOF
39245 cat confdefs.h >>conftest.$ac_ext
39246 cat >>conftest.$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39248 #include <windows.h>
39249 #include <ole2.h>
39250 int
39251 main ()
39252 {
39253
39254 ;
39255 return 0;
39256 }
39257 _ACEOF
39258 rm -f conftest.$ac_objext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39260 (eval $ac_compile) 2>conftest.er1
39261 ac_status=$?
39262 grep -v '^ *+' conftest.er1 >conftest.err
39263 rm -f conftest.er1
39264 cat conftest.err >&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try='test -z "$ac_cxx_werror_flag"
39268 || test ! -s conftest.err'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39271 ac_status=$?
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; } &&
39274 { ac_try='test -s conftest.$ac_objext'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39277 ac_status=$?
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; }; then
39280 echo "$as_me:$LINENO: result: no" >&5
39281 echo "${ECHO_T}no" >&6
39282 else
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.$ac_ext >&5
39285
39286 echo "$as_me:$LINENO: result: yes" >&5
39287 echo "${ECHO_T}yes" >&6
39288 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39289 fi
39290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39291 ac_ext=c
39292 ac_cpp='$CPP $CPPFLAGS'
39293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39296
39297 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39298 if test "$wxUSE_OLE" = "yes" ; then
39299 cat >>confdefs.h <<\_ACEOF
39300 #define wxUSE_OLE 1
39301 _ACEOF
39302
39303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39304 fi
39305 fi
39306
39307 if test "$wxUSE_DATAOBJ" = "yes" ; then
39308 cat >>confdefs.h <<\_ACEOF
39309 #define wxUSE_DATAOBJ 1
39310 _ACEOF
39311
39312 fi
39313 else
39314 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39315 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39316
39317 wxUSE_CLIPBOARD=no
39318 wxUSE_DRAG_AND_DROP=no
39319 wxUSE_DATAOBJ=no
39320 wxUSE_OLE=no
39321 fi
39322
39323 if test "$wxUSE_METAFILE" = "yes"; then
39324 cat >>confdefs.h <<\_ACEOF
39325 #define wxUSE_METAFILE 1
39326 _ACEOF
39327
39328
39329 cat >>confdefs.h <<\_ACEOF
39330 #define wxUSE_ENH_METAFILE 1
39331 _ACEOF
39332
39333 fi
39334 fi
39335
39336 if test "$wxUSE_IPC" = "yes"; then
39337 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39338 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39339 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39340 wxUSE_IPC=no
39341 fi
39342
39343 if test "$wxUSE_IPC" = "yes"; then
39344 cat >>confdefs.h <<\_ACEOF
39345 #define wxUSE_IPC 1
39346 _ACEOF
39347
39348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39349 fi
39350 fi
39351
39352 if test "$wxUSE_CLIPBOARD" = "yes"; then
39353 if test "$wxUSE_MGL" = 1; then
39354 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39355 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39356 wxUSE_CLIPBOARD=no
39357 fi
39358
39359 if test "$wxUSE_CLIPBOARD" = "yes"; then
39360 cat >>confdefs.h <<\_ACEOF
39361 #define wxUSE_CLIPBOARD 1
39362 _ACEOF
39363
39364
39365 cat >>confdefs.h <<\_ACEOF
39366 #define wxUSE_DATAOBJ 1
39367 _ACEOF
39368
39369 fi
39370 fi
39371
39372 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39373 if test "$wxUSE_GTK" = 1; then
39374 if test "$WXGTK12" != 1; then
39375 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39376 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39377 wxUSE_DRAG_AND_DROP=no
39378 fi
39379 fi
39380
39381 if test "$wxUSE_MOTIF" = 1; then
39382 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39383 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39384 wxUSE_DRAG_AND_DROP=no
39385 fi
39386
39387 if test "$wxUSE_X11" = 1; then
39388 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39389 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39390 wxUSE_DRAG_AND_DROP=no
39391 fi
39392
39393 if test "$wxUSE_MGL" = 1; then
39394 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39395 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39396 wxUSE_DRAG_AND_DROP=no
39397 fi
39398
39399 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39400 cat >>confdefs.h <<\_ACEOF
39401 #define wxUSE_DRAG_AND_DROP 1
39402 _ACEOF
39403
39404 fi
39405
39406 fi
39407
39408 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39410 fi
39411
39412 if test "$wxUSE_SPLINES" = "yes" ; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define wxUSE_SPLINES 1
39415 _ACEOF
39416
39417 fi
39418
39419 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39420 cat >>confdefs.h <<\_ACEOF
39421 #define wxUSE_MOUSEWHEEL 1
39422 _ACEOF
39423
39424 fi
39425
39426
39427 USES_CONTROLS=0
39428 if test "$wxUSE_CONTROLS" = "yes"; then
39429 USES_CONTROLS=1
39430 fi
39431
39432 if test "$wxUSE_ACCEL" = "yes"; then
39433 cat >>confdefs.h <<\_ACEOF
39434 #define wxUSE_ACCEL 1
39435 _ACEOF
39436
39437 USES_CONTROLS=1
39438 fi
39439
39440 if test "$wxUSE_BUTTON" = "yes"; then
39441 cat >>confdefs.h <<\_ACEOF
39442 #define wxUSE_BUTTON 1
39443 _ACEOF
39444
39445 USES_CONTROLS=1
39446 fi
39447
39448 if test "$wxUSE_BMPBUTTON" = "yes"; then
39449 cat >>confdefs.h <<\_ACEOF
39450 #define wxUSE_BMPBUTTON 1
39451 _ACEOF
39452
39453 USES_CONTROLS=1
39454 fi
39455
39456 if test "$wxUSE_CALCTRL" = "yes"; then
39457 cat >>confdefs.h <<\_ACEOF
39458 #define wxUSE_CALENDARCTRL 1
39459 _ACEOF
39460
39461 USES_CONTROLS=1
39462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39463 fi
39464
39465 if test "$wxUSE_CARET" = "yes"; then
39466 cat >>confdefs.h <<\_ACEOF
39467 #define wxUSE_CARET 1
39468 _ACEOF
39469
39470 USES_CONTROLS=1
39471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39472 fi
39473
39474 if test "$wxUSE_COMBOBOX" = "yes"; then
39475 cat >>confdefs.h <<\_ACEOF
39476 #define wxUSE_COMBOBOX 1
39477 _ACEOF
39478
39479 USES_CONTROLS=1
39480 fi
39481
39482 if test "$wxUSE_CHOICE" = "yes"; then
39483 cat >>confdefs.h <<\_ACEOF
39484 #define wxUSE_CHOICE 1
39485 _ACEOF
39486
39487 USES_CONTROLS=1
39488 fi
39489
39490 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39491 cat >>confdefs.h <<\_ACEOF
39492 #define wxUSE_CHOICEBOOK 1
39493 _ACEOF
39494
39495 USES_CONTROLS=1
39496 fi
39497
39498 if test "$wxUSE_CHECKBOX" = "yes"; then
39499 cat >>confdefs.h <<\_ACEOF
39500 #define wxUSE_CHECKBOX 1
39501 _ACEOF
39502
39503 USES_CONTROLS=1
39504 fi
39505
39506 if test "$wxUSE_CHECKLST" = "yes"; then
39507 cat >>confdefs.h <<\_ACEOF
39508 #define wxUSE_CHECKLISTBOX 1
39509 _ACEOF
39510
39511 USES_CONTROLS=1
39512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39513 fi
39514
39515 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39516 cat >>confdefs.h <<\_ACEOF
39517 #define wxUSE_DATEPICKCTRL 1
39518 _ACEOF
39519
39520 USES_CONTROLS=1
39521 fi
39522
39523 if test "$wxUSE_DISPLAY" = "yes"; then
39524 cat >>confdefs.h <<\_ACEOF
39525 #define wxUSE_DISPLAY 1
39526 _ACEOF
39527
39528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39529 fi
39530
39531 if test "$wxUSE_GAUGE" = "yes"; then
39532 cat >>confdefs.h <<\_ACEOF
39533 #define wxUSE_GAUGE 1
39534 _ACEOF
39535
39536 USES_CONTROLS=1
39537 fi
39538
39539 if test "$wxUSE_GRID" = "yes"; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define wxUSE_GRID 1
39542 _ACEOF
39543
39544 USES_CONTROLS=1
39545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39546 fi
39547
39548 if test "$wxUSE_IMAGLIST" = "yes"; then
39549 cat >>confdefs.h <<\_ACEOF
39550 #define wxUSE_IMAGLIST 1
39551 _ACEOF
39552
39553 fi
39554
39555 if test "$wxUSE_LISTBOOK" = "yes"; then
39556 cat >>confdefs.h <<\_ACEOF
39557 #define wxUSE_LISTBOOK 1
39558 _ACEOF
39559
39560 USES_CONTROLS=1
39561 fi
39562
39563 if test "$wxUSE_LISTBOX" = "yes"; then
39564 cat >>confdefs.h <<\_ACEOF
39565 #define wxUSE_LISTBOX 1
39566 _ACEOF
39567
39568 USES_CONTROLS=1
39569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39570 fi
39571
39572 if test "$wxUSE_LISTCTRL" = "yes"; then
39573 if test "$wxUSE_IMAGLIST" = "yes"; then
39574 cat >>confdefs.h <<\_ACEOF
39575 #define wxUSE_LISTCTRL 1
39576 _ACEOF
39577
39578 USES_CONTROLS=1
39579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39580 else
39581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39583 fi
39584 fi
39585
39586 if test "$wxUSE_NOTEBOOK" = "yes"; then
39587 cat >>confdefs.h <<\_ACEOF
39588 #define wxUSE_NOTEBOOK 1
39589 _ACEOF
39590
39591 USES_CONTROLS=1
39592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39593 fi
39594
39595
39596 if test "$wxUSE_RADIOBOX" = "yes"; then
39597 cat >>confdefs.h <<\_ACEOF
39598 #define wxUSE_RADIOBOX 1
39599 _ACEOF
39600
39601 USES_CONTROLS=1
39602 fi
39603
39604 if test "$wxUSE_RADIOBTN" = "yes"; then
39605 cat >>confdefs.h <<\_ACEOF
39606 #define wxUSE_RADIOBTN 1
39607 _ACEOF
39608
39609 USES_CONTROLS=1
39610 fi
39611
39612 if test "$wxUSE_SASH" = "yes"; then
39613 cat >>confdefs.h <<\_ACEOF
39614 #define wxUSE_SASH 1
39615 _ACEOF
39616
39617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39618 fi
39619
39620 if test "$wxUSE_SCROLLBAR" = "yes"; then
39621 cat >>confdefs.h <<\_ACEOF
39622 #define wxUSE_SCROLLBAR 1
39623 _ACEOF
39624
39625 USES_CONTROLS=1
39626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39627 fi
39628
39629 if test "$wxUSE_SLIDER" = "yes"; then
39630 cat >>confdefs.h <<\_ACEOF
39631 #define wxUSE_SLIDER 1
39632 _ACEOF
39633
39634 USES_CONTROLS=1
39635 fi
39636
39637 if test "$wxUSE_SPINBTN" = "yes"; then
39638 cat >>confdefs.h <<\_ACEOF
39639 #define wxUSE_SPINBTN 1
39640 _ACEOF
39641
39642 USES_CONTROLS=1
39643 fi
39644
39645 if test "$wxUSE_SPINCTRL" = "yes"; then
39646 cat >>confdefs.h <<\_ACEOF
39647 #define wxUSE_SPINCTRL 1
39648 _ACEOF
39649
39650 USES_CONTROLS=1
39651 fi
39652
39653 if test "$wxUSE_SPLITTER" = "yes"; then
39654 cat >>confdefs.h <<\_ACEOF
39655 #define wxUSE_SPLITTER 1
39656 _ACEOF
39657
39658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39659 fi
39660
39661 if test "$wxUSE_STATBMP" = "yes"; then
39662 cat >>confdefs.h <<\_ACEOF
39663 #define wxUSE_STATBMP 1
39664 _ACEOF
39665
39666 USES_CONTROLS=1
39667 fi
39668
39669 if test "$wxUSE_STATBOX" = "yes"; then
39670 cat >>confdefs.h <<\_ACEOF
39671 #define wxUSE_STATBOX 1
39672 _ACEOF
39673
39674 USES_CONTROLS=1
39675 fi
39676
39677 if test "$wxUSE_STATTEXT" = "yes"; then
39678 cat >>confdefs.h <<\_ACEOF
39679 #define wxUSE_STATTEXT 1
39680 _ACEOF
39681
39682 USES_CONTROLS=1
39683 fi
39684
39685 if test "$wxUSE_STATLINE" = "yes"; then
39686 cat >>confdefs.h <<\_ACEOF
39687 #define wxUSE_STATLINE 1
39688 _ACEOF
39689
39690 USES_CONTROLS=1
39691 fi
39692
39693 if test "$wxUSE_STATUSBAR" = "yes"; then
39694 cat >>confdefs.h <<\_ACEOF
39695 #define wxUSE_NATIVE_STATUSBAR 1
39696 _ACEOF
39697
39698 cat >>confdefs.h <<\_ACEOF
39699 #define wxUSE_STATUSBAR 1
39700 _ACEOF
39701
39702 USES_CONTROLS=1
39703
39704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39705 fi
39706
39707 if test "$wxUSE_TABDIALOG" = "yes"; then
39708 cat >>confdefs.h <<\_ACEOF
39709 #define wxUSE_TAB_DIALOG 1
39710 _ACEOF
39711
39712 fi
39713
39714 if test "$wxUSE_TEXTCTRL" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define wxUSE_TEXTCTRL 1
39717 _ACEOF
39718
39719 USES_CONTROLS=1
39720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39721 fi
39722
39723 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39724 if test "$wxUSE_COCOA" = 1 ; then
39725 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39726 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39727 wxUSE_TOGGLEBTN=no
39728 fi
39729 if test "$wxUSE_UNIVERSAL" = "yes"; then
39730 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39731 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39732 wxUSE_TOGGLEBTN=no
39733 fi
39734
39735 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39736 cat >>confdefs.h <<\_ACEOF
39737 #define wxUSE_TOGGLEBTN 1
39738 _ACEOF
39739
39740 USES_CONTROLS=1
39741 fi
39742 fi
39743
39744 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39745 cat >>confdefs.h <<\_ACEOF
39746 #define wxUSE_TOOLBAR_SIMPLE 1
39747 _ACEOF
39748
39749 wxUSE_TOOLBAR="yes"
39750 USES_CONTROLS=1
39751 fi
39752
39753 if test "$wxUSE_TOOLBAR" = "yes"; then
39754 cat >>confdefs.h <<\_ACEOF
39755 #define wxUSE_TOOLBAR 1
39756 _ACEOF
39757
39758 USES_CONTROLS=1
39759
39760 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39761 wxUSE_TOOLBAR_NATIVE="yes"
39762 fi
39763
39764 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39765 cat >>confdefs.h <<\_ACEOF
39766 #define wxUSE_TOOLBAR_NATIVE 1
39767 _ACEOF
39768
39769 USES_CONTROLS=1
39770 fi
39771
39772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39773 fi
39774
39775 if test "$wxUSE_TOOLTIPS" = "yes"; then
39776 if test "$wxUSE_MOTIF" = 1; then
39777 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39778 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39779 else
39780 if test "$wxUSE_UNIVERSAL" = "yes"; then
39781 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39782 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39783 else
39784 cat >>confdefs.h <<\_ACEOF
39785 #define wxUSE_TOOLTIPS 1
39786 _ACEOF
39787
39788 fi
39789 fi
39790 fi
39791
39792 if test "$wxUSE_TREECTRL" = "yes"; then
39793 if test "$wxUSE_IMAGLIST" = "yes"; then
39794 cat >>confdefs.h <<\_ACEOF
39795 #define wxUSE_TREECTRL 1
39796 _ACEOF
39797
39798 USES_CONTROLS=1
39799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39800 else
39801 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39802 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39803 fi
39804 fi
39805
39806 if test "$wxUSE_POPUPWIN" = "yes"; then
39807 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39808 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39809 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39810 else
39811 if test "$wxUSE_PM" = 1; then
39812 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39813 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39814 else
39815 cat >>confdefs.h <<\_ACEOF
39816 #define wxUSE_POPUPWIN 1
39817 _ACEOF
39818
39819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39820
39821 USES_CONTROLS=1
39822 fi
39823 fi
39824 fi
39825
39826 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39827 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39828 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39829 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39830 else
39831 cat >>confdefs.h <<\_ACEOF
39832 #define wxUSE_DIALUP_MANAGER 1
39833 _ACEOF
39834
39835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39836 fi
39837 fi
39838
39839 if test "$wxUSE_TIPWINDOW" = "yes"; then
39840 if test "$wxUSE_PM" = 1; then
39841 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39842 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39843 else
39844 cat >>confdefs.h <<\_ACEOF
39845 #define wxUSE_TIPWINDOW 1
39846 _ACEOF
39847
39848 fi
39849 fi
39850
39851 if test "$USES_CONTROLS" = 1; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define wxUSE_CONTROLS 1
39854 _ACEOF
39855
39856 fi
39857
39858
39859 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39860 cat >>confdefs.h <<\_ACEOF
39861 #define wxUSE_ACCESSIBILITY 1
39862 _ACEOF
39863
39864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39865 fi
39866
39867 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39868 cat >>confdefs.h <<\_ACEOF
39869 #define wxUSE_DRAGIMAGE 1
39870 _ACEOF
39871
39872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39873 fi
39874
39875 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39876 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39877 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39878 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39879 else
39880 cat >>confdefs.h <<\_ACEOF
39881 #define wxUSE_EXCEPTIONS 1
39882 _ACEOF
39883
39884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39885 fi
39886 fi
39887
39888 USE_HTML=0
39889 if test "$wxUSE_HTML" = "yes"; then
39890 cat >>confdefs.h <<\_ACEOF
39891 #define wxUSE_HTML 1
39892 _ACEOF
39893
39894 USE_HTML=1
39895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39896 if test "$wxUSE_MAC" = 1; then
39897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39898 fi
39899 fi
39900 if test "$wxUSE_WEBKIT" = "yes"; then
39901 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39902 old_CPPFLAGS="$CPPFLAGS"
39903 CPPFLAGS="$CPPFLAGS -x objective-c++"
39904 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39905 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39906 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39907 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 else
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915 #include <Carbon/Carbon.h>
39916
39917 #include <WebKit/HIWebView.h>
39918 _ACEOF
39919 rm -f conftest.$ac_objext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39921 (eval $ac_compile) 2>conftest.er1
39922 ac_status=$?
39923 grep -v '^ *+' conftest.er1 >conftest.err
39924 rm -f conftest.er1
39925 cat conftest.err >&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try='test -z "$ac_c_werror_flag"
39929 || test ! -s conftest.err'
39930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39931 (eval $ac_try) 2>&5
39932 ac_status=$?
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try='test -s conftest.$ac_objext'
39936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39937 (eval $ac_try) 2>&5
39938 ac_status=$?
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); }; }; then
39941 ac_cv_header_WebKit_HIWebView_h=yes
39942 else
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.$ac_ext >&5
39945
39946 ac_cv_header_WebKit_HIWebView_h=no
39947 fi
39948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39949 fi
39950 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39951 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39952 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39953
39954 cat >>confdefs.h <<\_ACEOF
39955 #define wxUSE_WEBKIT 1
39956 _ACEOF
39957
39958 WEBKIT_LINK="-framework WebKit"
39959
39960 else
39961
39962 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39963 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39964 wxUSE_WEBKIT=no
39965
39966 fi
39967
39968
39969 CPPFLAGS="$old_CPPFLAGS"
39970 elif test "$wxUSE_COCOA" = 1; then
39971 cat >>confdefs.h <<\_ACEOF
39972 #define wxUSE_WEBKIT 1
39973 _ACEOF
39974
39975 else
39976 wxUSE_WEBKIT=no
39977 fi
39978 fi
39979
39980 USE_XRC=0
39981 if test "$wxUSE_XRC" = "yes"; then
39982 if test "$wxUSE_XML" != "yes"; then
39983 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39984 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39985 wxUSE_XRC=no
39986 else
39987 cat >>confdefs.h <<\_ACEOF
39988 #define wxUSE_XRC 1
39989 _ACEOF
39990
39991 USE_XRC=1
39992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39993 fi
39994 fi
39995
39996 if test "$wxUSE_MENUS" = "yes"; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define wxUSE_MENUS 1
39999 _ACEOF
40000
40001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40002 fi
40003
40004 if test "$wxUSE_METAFILE" = "yes"; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define wxUSE_METAFILE 1
40007 _ACEOF
40008
40009 fi
40010
40011 if test "$wxUSE_MIMETYPE" = "yes"; then
40012 cat >>confdefs.h <<\_ACEOF
40013 #define wxUSE_MIMETYPE 1
40014 _ACEOF
40015
40016 fi
40017
40018 if test "$wxUSE_MINIFRAME" = "yes"; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define wxUSE_MINIFRAME 1
40021 _ACEOF
40022
40023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40024 fi
40025
40026 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40027 cat >>confdefs.h <<\_ACEOF
40028 #define wxUSE_SYSTEM_OPTIONS 1
40029 _ACEOF
40030
40031 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40032 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40034 fi
40035 fi
40036
40037
40038 if test "$wxUSE_VALIDATORS" = "yes"; then
40039 cat >>confdefs.h <<\_ACEOF
40040 #define wxUSE_VALIDATORS 1
40041 _ACEOF
40042
40043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40044 fi
40045
40046 if test "$wxUSE_PALETTE" = "yes" ; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define wxUSE_PALETTE 1
40049 _ACEOF
40050
40051 fi
40052
40053 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40054 LIBS=" -lunicows $LIBS"
40055 fi
40056
40057
40058 if test "$wxUSE_IMAGE" = "yes" ; then
40059 cat >>confdefs.h <<\_ACEOF
40060 #define wxUSE_IMAGE 1
40061 _ACEOF
40062
40063
40064 if test "$wxUSE_GIF" = "yes" ; then
40065 cat >>confdefs.h <<\_ACEOF
40066 #define wxUSE_GIF 1
40067 _ACEOF
40068
40069 fi
40070
40071 if test "$wxUSE_PCX" = "yes" ; then
40072 cat >>confdefs.h <<\_ACEOF
40073 #define wxUSE_PCX 1
40074 _ACEOF
40075
40076 fi
40077
40078 if test "$wxUSE_IFF" = "yes" ; then
40079 cat >>confdefs.h <<\_ACEOF
40080 #define wxUSE_IFF 1
40081 _ACEOF
40082
40083 fi
40084
40085 if test "$wxUSE_PNM" = "yes" ; then
40086 cat >>confdefs.h <<\_ACEOF
40087 #define wxUSE_PNM 1
40088 _ACEOF
40089
40090 fi
40091
40092 if test "$wxUSE_XPM" = "yes" ; then
40093 cat >>confdefs.h <<\_ACEOF
40094 #define wxUSE_XPM 1
40095 _ACEOF
40096
40097 fi
40098
40099 if test "$wxUSE_ICO_CUR" = "yes" ; then
40100 cat >>confdefs.h <<\_ACEOF
40101 #define wxUSE_ICO_CUR 1
40102 _ACEOF
40103
40104 fi
40105 fi
40106
40107
40108 if test "$wxUSE_CHOICEDLG" = "yes"; then
40109 cat >>confdefs.h <<\_ACEOF
40110 #define wxUSE_CHOICEDLG 1
40111 _ACEOF
40112
40113 fi
40114
40115 if test "$wxUSE_COLOURDLG" = "yes"; then
40116 cat >>confdefs.h <<\_ACEOF
40117 #define wxUSE_COLOURDLG 1
40118 _ACEOF
40119
40120 fi
40121
40122 if test "$wxUSE_FILEDLG" = "yes"; then
40123 cat >>confdefs.h <<\_ACEOF
40124 #define wxUSE_FILEDLG 1
40125 _ACEOF
40126
40127 fi
40128
40129 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40130 cat >>confdefs.h <<\_ACEOF
40131 #define wxUSE_FINDREPLDLG 1
40132 _ACEOF
40133
40134 fi
40135
40136 if test "$wxUSE_FONTDLG" = "yes"; then
40137 cat >>confdefs.h <<\_ACEOF
40138 #define wxUSE_FONTDLG 1
40139 _ACEOF
40140
40141 fi
40142
40143 if test "$wxUSE_DIRDLG" = "yes"; then
40144 if test "$wxUSE_TREECTRL" != "yes"; then
40145 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40146 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40147 else
40148 cat >>confdefs.h <<\_ACEOF
40149 #define wxUSE_DIRDLG 1
40150 _ACEOF
40151
40152 fi
40153 fi
40154
40155 if test "$wxUSE_MSGDLG" = "yes"; then
40156 cat >>confdefs.h <<\_ACEOF
40157 #define wxUSE_MSGDLG 1
40158 _ACEOF
40159
40160 fi
40161
40162 if test "$wxUSE_NUMBERDLG" = "yes"; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define wxUSE_NUMBERDLG 1
40165 _ACEOF
40166
40167 fi
40168
40169 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40170 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40171 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40172 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40173 else
40174 cat >>confdefs.h <<\_ACEOF
40175 #define wxUSE_PROGRESSDLG 1
40176 _ACEOF
40177
40178 fi
40179 fi
40180
40181 if test "$wxUSE_SPLASH" = "yes"; then
40182 cat >>confdefs.h <<\_ACEOF
40183 #define wxUSE_SPLASH 1
40184 _ACEOF
40185
40186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40187 fi
40188
40189 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40190 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40191 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40192 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40193 else
40194 cat >>confdefs.h <<\_ACEOF
40195 #define wxUSE_STARTUP_TIPS 1
40196 _ACEOF
40197
40198 fi
40199 fi
40200
40201 if test "$wxUSE_TEXTDLG" = "yes"; then
40202 cat >>confdefs.h <<\_ACEOF
40203 #define wxUSE_TEXTDLG 1
40204 _ACEOF
40205
40206 fi
40207
40208 if test "$wxUSE_WIZARDDLG" = "yes"; then
40209 cat >>confdefs.h <<\_ACEOF
40210 #define wxUSE_WIZARDDLG 1
40211 _ACEOF
40212
40213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40214 fi
40215
40216
40217 if test "$wxUSE_MEDIACTRL" = "yes"; then
40218 if test "$wxUSE_MSW" = 1; then
40219 wxUSE_DIRECTSHOW="yes"
40220
40221 for ac_header in dshow.h
40222 do
40223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40224 echo "$as_me:$LINENO: checking for $ac_header" >&5
40225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 else
40229 cat >conftest.$ac_ext <<_ACEOF
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <windows.h>
40236
40237 #include <$ac_header>
40238 _ACEOF
40239 rm -f conftest.$ac_objext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40241 (eval $ac_compile) 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try='test -z "$ac_c_werror_flag"
40249 || test ! -s conftest.err'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40252 ac_status=$?
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; } &&
40255 { ac_try='test -s conftest.$ac_objext'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; }; then
40261 eval "$as_ac_Header=yes"
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40265
40266 eval "$as_ac_Header=no"
40267 fi
40268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40269 fi
40270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40273 cat >>confdefs.h <<_ACEOF
40274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40275 _ACEOF
40276
40277 else
40278
40279 wxUSE_DIRECTSHOW="no"
40280 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
40281 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
40282
40283 fi
40284
40285 done
40286
40287
40288 if test "$wxUSE_DIRECTSHOW" = "yes"; then
40289 cat >>confdefs.h <<\_ACEOF
40290 #define wxUSE_DIRECTSHOW 1
40291 _ACEOF
40292
40293 LIBS="$LIBS -lstrmiids"
40294 fi
40295 fi
40296
40297 if test "$wxUSE_GTK" = 1; then
40298 wxUSE_GSTREAMER="yes"
40299
40300
40301 succeeded=no
40302
40303 if test -z "$PKG_CONFIG"; then
40304 # Extract the first word of "pkg-config", so it can be a program name with args.
40305 set dummy pkg-config; ac_word=$2
40306 echo "$as_me:$LINENO: checking for $ac_word" >&5
40307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40308 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 else
40311 case $PKG_CONFIG in
40312 [\\/]* | ?:[\\/]*)
40313 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40314 ;;
40315 *)
40316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40317 for as_dir in $PATH
40318 do
40319 IFS=$as_save_IFS
40320 test -z "$as_dir" && as_dir=.
40321 for ac_exec_ext in '' $ac_executable_extensions; do
40322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40323 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40325 break 2
40326 fi
40327 done
40328 done
40329
40330 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40331 ;;
40332 esac
40333 fi
40334 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40335
40336 if test -n "$PKG_CONFIG"; then
40337 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40338 echo "${ECHO_T}$PKG_CONFIG" >&6
40339 else
40340 echo "$as_me:$LINENO: result: no" >&5
40341 echo "${ECHO_T}no" >&6
40342 fi
40343
40344 fi
40345
40346 if test "$PKG_CONFIG" = "no" ; then
40347 echo "*** The pkg-config script could not be found. Make sure it is"
40348 echo "*** in your path, or set the PKG_CONFIG environment variable"
40349 echo "*** to the full path to pkg-config."
40350 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40351 else
40352 PKG_CONFIG_MIN_VERSION=0.9.0
40353 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40354 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40355 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40356
40357 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40358 echo "$as_me:$LINENO: result: yes" >&5
40359 echo "${ECHO_T}yes" >&6
40360 succeeded=yes
40361
40362 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40363 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40364 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40365 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40366 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40367
40368 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40369 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40370 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40371 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40372 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40373 else
40374 GSTREAMER_CFLAGS=""
40375 GSTREAMER_LIBS=""
40376 ## If we have a custom action on failure, don't print errors, but
40377 ## do set a variable so people can do so.
40378 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40379
40380 fi
40381
40382
40383
40384 else
40385 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40386 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40387 fi
40388 fi
40389
40390 if test $succeeded = yes; then
40391
40392 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40393 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40394
40395 else
40396
40397 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40398 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40399 wxUSE_GSTREAMER="no"
40400
40401 fi
40402
40403
40404
40405
40406
40407 if test "x$GST_INSPECT" == "x"; then
40408 # Extract the first word of "gst-inspect", so it can be a program name with args.
40409 set dummy gst-inspect; ac_word=$2
40410 echo "$as_me:$LINENO: checking for $ac_word" >&5
40411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40412 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40413 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 else
40415 if test -n "$GST_INSPECT"; then
40416 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40417 else
40418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40419 for as_dir in $PATH
40420 do
40421 IFS=$as_save_IFS
40422 test -z "$as_dir" && as_dir=.
40423 for ac_exec_ext in '' $ac_executable_extensions; do
40424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40425 ac_cv_prog_GST_INSPECT="gst-inspect"
40426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40427 break 2
40428 fi
40429 done
40430 done
40431
40432 fi
40433 fi
40434 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40435 if test -n "$GST_INSPECT"; then
40436 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40437 echo "${ECHO_T}$GST_INSPECT" >&6
40438 else
40439 echo "$as_me:$LINENO: result: no" >&5
40440 echo "${ECHO_T}no" >&6
40441 fi
40442
40443 fi
40444
40445 if test "x$GST_INSPECT" != "x"; then
40446 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40447 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40448 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40449 echo "$as_me:$LINENO: result: found." >&5
40450 echo "${ECHO_T}found." >&6
40451
40452 else
40453 echo "$as_me:$LINENO: result: not found." >&5
40454 echo "${ECHO_T}not found." >&6
40455
40456 wxUSE_GSTREAMER="no"
40457 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40458 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40459
40460 fi
40461 fi
40462
40463
40464 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40465 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40466 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 else
40469 cat >conftest.$ac_ext <<_ACEOF
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475 #include <gst/gst.h>
40476
40477 #include <gst/xoverlay/xoverlay.h>
40478 _ACEOF
40479 rm -f conftest.$ac_objext
40480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40481 (eval $ac_compile) 2>conftest.er1
40482 ac_status=$?
40483 grep -v '^ *+' conftest.er1 >conftest.err
40484 rm -f conftest.er1
40485 cat conftest.err >&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } &&
40488 { ac_try='test -z "$ac_c_werror_flag"
40489 || test ! -s conftest.err'
40490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40491 (eval $ac_try) 2>&5
40492 ac_status=$?
40493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494 (exit $ac_status); }; } &&
40495 { ac_try='test -s conftest.$ac_objext'
40496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40497 (eval $ac_try) 2>&5
40498 ac_status=$?
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); }; }; then
40501 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40502 else
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.$ac_ext >&5
40505
40506 ac_cv_header_gst_xoverlay_xoverlay_h=no
40507 fi
40508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40509 fi
40510 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40511 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40512 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40513 :
40514 else
40515
40516 wxUSE_GSTREAMER="no"
40517 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40518 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40519
40520 fi
40521
40522
40523
40524 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40525 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40526
40527 ac_find_libraries=
40528 for ac_dir in $SEARCH_LIB /usr/lib;
40529 do
40530 for ac_extension in a so sl dylib; do
40531 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40532 ac_find_libraries=$ac_dir
40533 break 2
40534 fi
40535 done
40536 done
40537
40538
40539 if test "$ac_find_libraries" = "" ; then
40540 echo "$as_me:$LINENO: result: no" >&5
40541 echo "${ECHO_T}no" >&6
40542 wxUSE_GSTREAMER="no"
40543 else
40544 echo "$as_me:$LINENO: result: yes" >&5
40545 echo "${ECHO_T}yes" >&6
40546 fi
40547
40548 if test "$wxUSE_GSTREAMER" = "yes"; then
40549 cat >>confdefs.h <<\_ACEOF
40550 #define wxUSE_GSTREAMER 1
40551 _ACEOF
40552
40553 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40554 echo "${ECHO_T}GStreamer detection successful" >&6
40555 fi
40556 fi
40557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40558 cat >>confdefs.h <<\_ACEOF
40559 #define wxUSE_MEDIACTRL 1
40560 _ACEOF
40561
40562 fi
40563
40564
40565 if test "$cross_compiling" = "yes"; then
40566 OSINFO="\"$host\""
40567 else
40568 OSINFO=`uname -s -r -m`
40569 OSINFO="\"$OSINFO\""
40570 fi
40571
40572 cat >>confdefs.h <<_ACEOF
40573 #define WXWIN_OS_DESCRIPTION $OSINFO
40574 _ACEOF
40575
40576
40577
40578 if test "x$prefix" != "xNONE"; then
40579 wxPREFIX=$prefix
40580 else
40581 wxPREFIX=$ac_default_prefix
40582 fi
40583
40584 cat >>confdefs.h <<_ACEOF
40585 #define wxINSTALL_PREFIX "$wxPREFIX"
40586 _ACEOF
40587
40588
40589
40590
40591 CORE_BASE_LIBS="net base"
40592 CORE_GUI_LIBS="adv core"
40593
40594 if test "$wxUSE_XML" = "yes" ; then
40595 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40596 fi
40597 if test "$wxUSE_ODBC" != "no" ; then
40598 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40599 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40600 fi
40601 if test "$wxUSE_HTML" = "yes" ; then
40602 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40603 fi
40604 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40605 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40606 fi
40607 if test "$wxUSE_XRC" = "yes" ; then
40608 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40609 fi
40610
40611 if test "$wxUSE_GUI" != "yes"; then
40612 CORE_GUI_LIBS=""
40613 fi
40614
40615
40616
40617
40618
40619
40620
40621
40622 if test "$wxUSE_MAC" = 1 ; then
40623 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40624 if test "$USE_DARWIN" = 1; then
40625 LDFLAGS="$LDFLAGS -framework QuickTime"
40626 else
40627 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40628 fi
40629 fi
40630 if test "$USE_DARWIN" = 1; then
40631 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40632 else
40633 LDFLAGS="$LDFLAGS -lCarbonLib"
40634 fi
40635 elif test "$USE_DARWIN" = 1; then
40636 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40637 fi
40638 if test "$wxUSE_COCOA" = 1 ; then
40639 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40640 if test "$wxUSE_MEDIACTRL" = "yes"; then
40641 LDFLAGS="$LDFLAGS -framework QuickTime"
40642 fi
40643 fi
40644
40645
40646 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40647
40648 have_cos=0
40649 have_floor=0
40650
40651 for ac_func in cos
40652 do
40653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40656 if eval "test \"\${$as_ac_var+set}\" = set"; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659 cat >conftest.$ac_ext <<_ACEOF
40660 /* confdefs.h. */
40661 _ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40668
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40673
40674 #ifdef __STDC__
40675 # include <limits.h>
40676 #else
40677 # include <assert.h>
40678 #endif
40679
40680 #undef $ac_func
40681
40682 /* Override any gcc2 internal prototype to avoid an error. */
40683 #ifdef __cplusplus
40684 extern "C"
40685 {
40686 #endif
40687 /* We use char because int might match the return type of a gcc2
40688 builtin and then its argument prototype would still apply. */
40689 char $ac_func ();
40690 /* The GNU C library defines this for functions which it implements
40691 to always fail with ENOSYS. Some functions are actually named
40692 something starting with __ and the normal name is an alias. */
40693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40694 choke me
40695 #else
40696 char (*f) () = $ac_func;
40697 #endif
40698 #ifdef __cplusplus
40699 }
40700 #endif
40701
40702 int
40703 main ()
40704 {
40705 return f != $ac_func;
40706 ;
40707 return 0;
40708 }
40709 _ACEOF
40710 rm -f conftest.$ac_objext conftest$ac_exeext
40711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40712 (eval $ac_link) 2>conftest.er1
40713 ac_status=$?
40714 grep -v '^ *+' conftest.er1 >conftest.err
40715 rm -f conftest.er1
40716 cat conftest.err >&5
40717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718 (exit $ac_status); } &&
40719 { ac_try='test -z "$ac_c_werror_flag"
40720 || test ! -s conftest.err'
40721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40722 (eval $ac_try) 2>&5
40723 ac_status=$?
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); }; } &&
40726 { ac_try='test -s conftest$ac_exeext'
40727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40728 (eval $ac_try) 2>&5
40729 ac_status=$?
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); }; }; then
40732 eval "$as_ac_var=yes"
40733 else
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.$ac_ext >&5
40736
40737 eval "$as_ac_var=no"
40738 fi
40739 rm -f conftest.err conftest.$ac_objext \
40740 conftest$ac_exeext conftest.$ac_ext
40741 fi
40742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40744 if test `eval echo '${'$as_ac_var'}'` = yes; then
40745 cat >>confdefs.h <<_ACEOF
40746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40747 _ACEOF
40748 have_cos=1
40749 fi
40750 done
40751
40752
40753 for ac_func in floor
40754 do
40755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40756 echo "$as_me:$LINENO: checking for $ac_func" >&5
40757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40758 if eval "test \"\${$as_ac_var+set}\" = set"; then
40759 echo $ECHO_N "(cached) $ECHO_C" >&6
40760 else
40761 cat >conftest.$ac_ext <<_ACEOF
40762 /* confdefs.h. */
40763 _ACEOF
40764 cat confdefs.h >>conftest.$ac_ext
40765 cat >>conftest.$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40769 #define $ac_func innocuous_$ac_func
40770
40771 /* System header to define __stub macros and hopefully few prototypes,
40772 which can conflict with char $ac_func (); below.
40773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40774 <limits.h> exists even on freestanding compilers. */
40775
40776 #ifdef __STDC__
40777 # include <limits.h>
40778 #else
40779 # include <assert.h>
40780 #endif
40781
40782 #undef $ac_func
40783
40784 /* Override any gcc2 internal prototype to avoid an error. */
40785 #ifdef __cplusplus
40786 extern "C"
40787 {
40788 #endif
40789 /* We use char because int might match the return type of a gcc2
40790 builtin and then its argument prototype would still apply. */
40791 char $ac_func ();
40792 /* The GNU C library defines this for functions which it implements
40793 to always fail with ENOSYS. Some functions are actually named
40794 something starting with __ and the normal name is an alias. */
40795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40796 choke me
40797 #else
40798 char (*f) () = $ac_func;
40799 #endif
40800 #ifdef __cplusplus
40801 }
40802 #endif
40803
40804 int
40805 main ()
40806 {
40807 return f != $ac_func;
40808 ;
40809 return 0;
40810 }
40811 _ACEOF
40812 rm -f conftest.$ac_objext conftest$ac_exeext
40813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40814 (eval $ac_link) 2>conftest.er1
40815 ac_status=$?
40816 grep -v '^ *+' conftest.er1 >conftest.err
40817 rm -f conftest.er1
40818 cat conftest.err >&5
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); } &&
40821 { ac_try='test -z "$ac_c_werror_flag"
40822 || test ! -s conftest.err'
40823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40824 (eval $ac_try) 2>&5
40825 ac_status=$?
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); }; } &&
40828 { ac_try='test -s conftest$ac_exeext'
40829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40830 (eval $ac_try) 2>&5
40831 ac_status=$?
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); }; }; then
40834 eval "$as_ac_var=yes"
40835 else
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40838
40839 eval "$as_ac_var=no"
40840 fi
40841 rm -f conftest.err conftest.$ac_objext \
40842 conftest$ac_exeext conftest.$ac_ext
40843 fi
40844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40846 if test `eval echo '${'$as_ac_var'}'` = yes; then
40847 cat >>confdefs.h <<_ACEOF
40848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40849 _ACEOF
40850 have_floor=1
40851 fi
40852 done
40853
40854 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40855 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40856 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40857 echo "$as_me:$LINENO: result: yes" >&5
40858 echo "${ECHO_T}yes" >&6
40859 else
40860 echo "$as_me:$LINENO: result: no" >&5
40861 echo "${ECHO_T}no" >&6
40862 LIBS="$LIBS -lm"
40863 # use different functions to avoid configure caching
40864 have_sin=0
40865 have_ceil=0
40866
40867 for ac_func in sin
40868 do
40869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40870 echo "$as_me:$LINENO: checking for $ac_func" >&5
40871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40872 if eval "test \"\${$as_ac_var+set}\" = set"; then
40873 echo $ECHO_N "(cached) $ECHO_C" >&6
40874 else
40875 cat >conftest.$ac_ext <<_ACEOF
40876 /* confdefs.h. */
40877 _ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40883 #define $ac_func innocuous_$ac_func
40884
40885 /* System header to define __stub macros and hopefully few prototypes,
40886 which can conflict with char $ac_func (); below.
40887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40888 <limits.h> exists even on freestanding compilers. */
40889
40890 #ifdef __STDC__
40891 # include <limits.h>
40892 #else
40893 # include <assert.h>
40894 #endif
40895
40896 #undef $ac_func
40897
40898 /* Override any gcc2 internal prototype to avoid an error. */
40899 #ifdef __cplusplus
40900 extern "C"
40901 {
40902 #endif
40903 /* We use char because int might match the return type of a gcc2
40904 builtin and then its argument prototype would still apply. */
40905 char $ac_func ();
40906 /* The GNU C library defines this for functions which it implements
40907 to always fail with ENOSYS. Some functions are actually named
40908 something starting with __ and the normal name is an alias. */
40909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40910 choke me
40911 #else
40912 char (*f) () = $ac_func;
40913 #endif
40914 #ifdef __cplusplus
40915 }
40916 #endif
40917
40918 int
40919 main ()
40920 {
40921 return f != $ac_func;
40922 ;
40923 return 0;
40924 }
40925 _ACEOF
40926 rm -f conftest.$ac_objext conftest$ac_exeext
40927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40928 (eval $ac_link) 2>conftest.er1
40929 ac_status=$?
40930 grep -v '^ *+' conftest.er1 >conftest.err
40931 rm -f conftest.er1
40932 cat conftest.err >&5
40933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 (exit $ac_status); } &&
40935 { ac_try='test -z "$ac_c_werror_flag"
40936 || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40939 ac_status=$?
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try='test -s conftest$ac_exeext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40945 ac_status=$?
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 eval "$as_ac_var=yes"
40949 else
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.$ac_ext >&5
40952
40953 eval "$as_ac_var=no"
40954 fi
40955 rm -f conftest.err conftest.$ac_objext \
40956 conftest$ac_exeext conftest.$ac_ext
40957 fi
40958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40960 if test `eval echo '${'$as_ac_var'}'` = yes; then
40961 cat >>confdefs.h <<_ACEOF
40962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40963 _ACEOF
40964 have_sin=1
40965 fi
40966 done
40967
40968
40969 for ac_func in ceil
40970 do
40971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40972 echo "$as_me:$LINENO: checking for $ac_func" >&5
40973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40974 if eval "test \"\${$as_ac_var+set}\" = set"; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40976 else
40977 cat >conftest.$ac_ext <<_ACEOF
40978 /* confdefs.h. */
40979 _ACEOF
40980 cat confdefs.h >>conftest.$ac_ext
40981 cat >>conftest.$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define $ac_func innocuous_$ac_func
40986
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char $ac_func (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40991
40992 #ifdef __STDC__
40993 # include <limits.h>
40994 #else
40995 # include <assert.h>
40996 #endif
40997
40998 #undef $ac_func
40999
41000 /* Override any gcc2 internal prototype to avoid an error. */
41001 #ifdef __cplusplus
41002 extern "C"
41003 {
41004 #endif
41005 /* We use char because int might match the return type of a gcc2
41006 builtin and then its argument prototype would still apply. */
41007 char $ac_func ();
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41012 choke me
41013 #else
41014 char (*f) () = $ac_func;
41015 #endif
41016 #ifdef __cplusplus
41017 }
41018 #endif
41019
41020 int
41021 main ()
41022 {
41023 return f != $ac_func;
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -z "$ac_c_werror_flag"
41038 || test ! -s conftest.err'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41041 ac_status=$?
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; } &&
41044 { ac_try='test -s conftest$ac_exeext'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; }; then
41050 eval "$as_ac_var=yes"
41051 else
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41054
41055 eval "$as_ac_var=no"
41056 fi
41057 rm -f conftest.err conftest.$ac_objext \
41058 conftest$ac_exeext conftest.$ac_ext
41059 fi
41060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41062 if test `eval echo '${'$as_ac_var'}'` = yes; then
41063 cat >>confdefs.h <<_ACEOF
41064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41065 _ACEOF
41066 have_ceil=1
41067 fi
41068 done
41069
41070 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41071 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41072 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41073 echo "$as_me:$LINENO: result: yes" >&5
41074 echo "${ECHO_T}yes" >&6
41075 else
41076 echo "$as_me:$LINENO: result: no" >&5
41077 echo "${ECHO_T}no" >&6
41078 # not sure we should warn the user, crash, etc.
41079 fi
41080 fi
41081
41082 if test "$wxUSE_GUI" = "yes"; then
41083
41084
41085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41086 dynamic erase event exec font image minimal mobile \
41087 mobile/wxedit mobile/styles propsize render \
41088 richedit rotate shaped vscroll widgets"
41089
41090 if test "$wxUSE_MONOLITHIC" != "yes"; then
41091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41092 fi
41093 if test "$TOOLKIT" = "MSW"; then
41094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41095 if test "$wxUSE_UNIVERSAL" != "yes"; then
41096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41097 fi
41098 fi
41099 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41101 fi
41102 else
41103 SAMPLES_SUBDIRS="console"
41104 fi
41105
41106
41107 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41108 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41109
41110 if test "$GXX" = yes ; then
41111 CWARNINGS="-Wall"
41112 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41113 fi
41114
41115 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41116
41117 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41118 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41119 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41120
41121 if test "x$MWCC" = "xyes"; then
41122
41123 CC="$CC -cwd source -I-"
41124 CXX="$CXX -cwd source -I-"
41125 fi
41126
41127
41128 LIBS=`echo $LIBS`
41129 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41130 EXTRALIBS_XML="$EXPAT_LINK"
41131 EXTRALIBS_HTML="$MSPACK_LINK"
41132 EXTRALIBS_ODBC="$ODBC_LINK"
41133 if test "$wxUSE_GUI" = "yes"; then
41134 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41135 fi
41136 if test "$wxUSE_OPENGL" = "yes"; then
41137 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41138 fi
41139
41140 LDFLAGS="$LDFLAGS $PROFILE"
41141
41142 if test "$wxUSE_GTK" = 1; then
41143 WXCONFIG_INCLUDE=
41144 else
41145 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41146 fi
41147
41148 WXCONFIG_EXTRALIBS="$LIBS"
41149
41150 if test "$wxUSE_REGEX" = "builtin" ; then
41151 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41152 fi
41153 if test "$wxUSE_EXPAT" = "builtin" ; then
41154 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41155 fi
41156 if test "$wxUSE_ODBC" = "builtin" ; then
41157 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41158 fi
41159 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41160 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41161 fi
41162 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41163 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41164 fi
41165 if test "$wxUSE_LIBPNG" = "builtin" ; then
41166 wxconfig_3rdparty="png $wxconfig_3rdparty"
41167 fi
41168 if test "$wxUSE_ZLIB" = "builtin" ; then
41169 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41170 fi
41171
41172 for i in $wxconfig_3rdparty ; do
41173 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41174 done
41175
41176
41177 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41178 WXUNIV=1
41179 else
41180 WXUNIV=0
41181 fi
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191 if test $wxUSE_MONOLITHIC = "yes" ; then
41192 MONOLITHIC=1
41193 else
41194 MONOLITHIC=0
41195 fi
41196
41197 if test $wxUSE_PLUGINS = "yes" ; then
41198 USE_PLUGINS=1
41199 else
41200 USE_PLUGINS=0
41201 fi
41202
41203 if test $wxUSE_ODBC != "no" ; then
41204 USE_ODBC=1
41205 else
41206 USE_ODBC=0
41207 fi
41208
41209 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41210 USE_QA=1
41211 else
41212 USE_QA=0
41213 fi
41214
41215 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41216 OFFICIAL_BUILD=1
41217 else
41218 OFFICIAL_BUILD=0
41219 fi
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41244
41245
41246
41247
41248
41249
41250
41251
41252 case "$TOOLKIT" in
41253 GTK)
41254 TOOLKIT_USER="GTK+"
41255 if test "$WXGTK20" = 1; then
41256 TOOLKIT_USER="$TOOLKIT_USER 2"
41257 fi
41258 ;;
41259
41260 *)
41261 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41262 ;;
41263 esac
41264
41265 if test "$wxUSE_WINE" = "yes"; then
41266 BAKEFILE_FORCE_PLATFORM=win32
41267 fi
41268
41269
41270
41271
41272 if test "x$BAKEFILE_HOST" = "x"; then
41273 BAKEFILE_HOST="${host}"
41274 fi
41275
41276 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41277
41278 if test -n "$ac_tool_prefix"; then
41279 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41280 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41281 echo "$as_me:$LINENO: checking for $ac_word" >&5
41282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41283 if test "${ac_cv_prog_RANLIB+set}" = set; then
41284 echo $ECHO_N "(cached) $ECHO_C" >&6
41285 else
41286 if test -n "$RANLIB"; then
41287 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41288 else
41289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41290 for as_dir in $PATH
41291 do
41292 IFS=$as_save_IFS
41293 test -z "$as_dir" && as_dir=.
41294 for ac_exec_ext in '' $ac_executable_extensions; do
41295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41296 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41298 break 2
41299 fi
41300 done
41301 done
41302
41303 fi
41304 fi
41305 RANLIB=$ac_cv_prog_RANLIB
41306 if test -n "$RANLIB"; then
41307 echo "$as_me:$LINENO: result: $RANLIB" >&5
41308 echo "${ECHO_T}$RANLIB" >&6
41309 else
41310 echo "$as_me:$LINENO: result: no" >&5
41311 echo "${ECHO_T}no" >&6
41312 fi
41313
41314 fi
41315 if test -z "$ac_cv_prog_RANLIB"; then
41316 ac_ct_RANLIB=$RANLIB
41317 # Extract the first word of "ranlib", so it can be a program name with args.
41318 set dummy ranlib; ac_word=$2
41319 echo "$as_me:$LINENO: checking for $ac_word" >&5
41320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41321 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41322 echo $ECHO_N "(cached) $ECHO_C" >&6
41323 else
41324 if test -n "$ac_ct_RANLIB"; then
41325 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41326 else
41327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41328 for as_dir in $PATH
41329 do
41330 IFS=$as_save_IFS
41331 test -z "$as_dir" && as_dir=.
41332 for ac_exec_ext in '' $ac_executable_extensions; do
41333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41334 ac_cv_prog_ac_ct_RANLIB="ranlib"
41335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41336 break 2
41337 fi
41338 done
41339 done
41340
41341 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41342 fi
41343 fi
41344 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41345 if test -n "$ac_ct_RANLIB"; then
41346 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41347 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41348 else
41349 echo "$as_me:$LINENO: result: no" >&5
41350 echo "${ECHO_T}no" >&6
41351 fi
41352
41353 RANLIB=$ac_ct_RANLIB
41354 else
41355 RANLIB="$ac_cv_prog_RANLIB"
41356 fi
41357
41358 # Find a good install program. We prefer a C program (faster),
41359 # so one script is as good as another. But avoid the broken or
41360 # incompatible versions:
41361 # SysV /etc/install, /usr/sbin/install
41362 # SunOS /usr/etc/install
41363 # IRIX /sbin/install
41364 # AIX /bin/install
41365 # AmigaOS /C/install, which installs bootblocks on floppy discs
41366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41369 # OS/2's system install, which has a completely different semantic
41370 # ./install, which can be erroneously created by make from ./install.sh.
41371 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41373 if test -z "$INSTALL"; then
41374 if test "${ac_cv_path_install+set}" = set; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41376 else
41377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41378 for as_dir in $PATH
41379 do
41380 IFS=$as_save_IFS
41381 test -z "$as_dir" && as_dir=.
41382 # Account for people who put trailing slashes in PATH elements.
41383 case $as_dir/ in
41384 ./ | .// | /cC/* | \
41385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41386 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41387 /usr/ucb/* ) ;;
41388 *)
41389 # OSF1 and SCO ODT 3.0 have their own names for install.
41390 # Don't use installbsd from OSF since it installs stuff as root
41391 # by default.
41392 for ac_prog in ginstall scoinst install; do
41393 for ac_exec_ext in '' $ac_executable_extensions; do
41394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41395 if test $ac_prog = install &&
41396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41397 # AIX install. It has an incompatible calling convention.
41398 :
41399 elif test $ac_prog = install &&
41400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41401 # program-specific install script used by HP pwplus--don't use.
41402 :
41403 else
41404 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41405 break 3
41406 fi
41407 fi
41408 done
41409 done
41410 ;;
41411 esac
41412 done
41413
41414
41415 fi
41416 if test "${ac_cv_path_install+set}" = set; then
41417 INSTALL=$ac_cv_path_install
41418 else
41419 # As a last resort, use the slow shell script. We don't cache a
41420 # path for INSTALL within a source directory, because that will
41421 # break other packages using the cache if that directory is
41422 # removed, or if the path is relative.
41423 INSTALL=$ac_install_sh
41424 fi
41425 fi
41426 echo "$as_me:$LINENO: result: $INSTALL" >&5
41427 echo "${ECHO_T}$INSTALL" >&6
41428
41429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41430 # It thinks the first close brace ends the variable substitution.
41431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41432
41433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41434
41435 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41436
41437 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41438 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41439 LN_S=$as_ln_s
41440 if test "$LN_S" = "ln -s"; then
41441 echo "$as_me:$LINENO: result: yes" >&5
41442 echo "${ECHO_T}yes" >&6
41443 else
41444 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41445 echo "${ECHO_T}no, using $LN_S" >&6
41446 fi
41447
41448
41449 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41450 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41451 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41452 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 else
41455 cat >conftest.make <<\_ACEOF
41456 all:
41457 @echo 'ac_maketemp="$(MAKE)"'
41458 _ACEOF
41459 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41460 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41461 if test -n "$ac_maketemp"; then
41462 eval ac_cv_prog_make_${ac_make}_set=yes
41463 else
41464 eval ac_cv_prog_make_${ac_make}_set=no
41465 fi
41466 rm -f conftest.make
41467 fi
41468 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41469 echo "$as_me:$LINENO: result: yes" >&5
41470 echo "${ECHO_T}yes" >&6
41471 SET_MAKE=
41472 else
41473 echo "$as_me:$LINENO: result: no" >&5
41474 echo "${ECHO_T}no" >&6
41475 SET_MAKE="MAKE=${MAKE-make}"
41476 fi
41477
41478
41479
41480 if test -n "$ac_tool_prefix"; then
41481 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41482 set dummy ${ac_tool_prefix}ar; ac_word=$2
41483 echo "$as_me:$LINENO: checking for $ac_word" >&5
41484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41485 if test "${ac_cv_prog_AR+set}" = set; then
41486 echo $ECHO_N "(cached) $ECHO_C" >&6
41487 else
41488 if test -n "$AR"; then
41489 ac_cv_prog_AR="$AR" # Let the user override the test.
41490 else
41491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41492 for as_dir in $PATH
41493 do
41494 IFS=$as_save_IFS
41495 test -z "$as_dir" && as_dir=.
41496 for ac_exec_ext in '' $ac_executable_extensions; do
41497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41498 ac_cv_prog_AR="${ac_tool_prefix}ar"
41499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41500 break 2
41501 fi
41502 done
41503 done
41504
41505 fi
41506 fi
41507 AR=$ac_cv_prog_AR
41508 if test -n "$AR"; then
41509 echo "$as_me:$LINENO: result: $AR" >&5
41510 echo "${ECHO_T}$AR" >&6
41511 else
41512 echo "$as_me:$LINENO: result: no" >&5
41513 echo "${ECHO_T}no" >&6
41514 fi
41515
41516 fi
41517 if test -z "$ac_cv_prog_AR"; then
41518 ac_ct_AR=$AR
41519 # Extract the first word of "ar", so it can be a program name with args.
41520 set dummy ar; ac_word=$2
41521 echo "$as_me:$LINENO: checking for $ac_word" >&5
41522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41523 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41524 echo $ECHO_N "(cached) $ECHO_C" >&6
41525 else
41526 if test -n "$ac_ct_AR"; then
41527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41528 else
41529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41530 for as_dir in $PATH
41531 do
41532 IFS=$as_save_IFS
41533 test -z "$as_dir" && as_dir=.
41534 for ac_exec_ext in '' $ac_executable_extensions; do
41535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41536 ac_cv_prog_ac_ct_AR="ar"
41537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41538 break 2
41539 fi
41540 done
41541 done
41542
41543 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41544 fi
41545 fi
41546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41547 if test -n "$ac_ct_AR"; then
41548 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41549 echo "${ECHO_T}$ac_ct_AR" >&6
41550 else
41551 echo "$as_me:$LINENO: result: no" >&5
41552 echo "${ECHO_T}no" >&6
41553 fi
41554
41555 AR=$ac_ct_AR
41556 else
41557 AR="$ac_cv_prog_AR"
41558 fi
41559
41560 if test -n "$ac_tool_prefix"; then
41561 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41562 set dummy ${ac_tool_prefix}strip; ac_word=$2
41563 echo "$as_me:$LINENO: checking for $ac_word" >&5
41564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41565 if test "${ac_cv_prog_STRIP+set}" = set; then
41566 echo $ECHO_N "(cached) $ECHO_C" >&6
41567 else
41568 if test -n "$STRIP"; then
41569 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41570 else
41571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41572 for as_dir in $PATH
41573 do
41574 IFS=$as_save_IFS
41575 test -z "$as_dir" && as_dir=.
41576 for ac_exec_ext in '' $ac_executable_extensions; do
41577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41578 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41580 break 2
41581 fi
41582 done
41583 done
41584
41585 fi
41586 fi
41587 STRIP=$ac_cv_prog_STRIP
41588 if test -n "$STRIP"; then
41589 echo "$as_me:$LINENO: result: $STRIP" >&5
41590 echo "${ECHO_T}$STRIP" >&6
41591 else
41592 echo "$as_me:$LINENO: result: no" >&5
41593 echo "${ECHO_T}no" >&6
41594 fi
41595
41596 fi
41597 if test -z "$ac_cv_prog_STRIP"; then
41598 ac_ct_STRIP=$STRIP
41599 # Extract the first word of "strip", so it can be a program name with args.
41600 set dummy strip; ac_word=$2
41601 echo "$as_me:$LINENO: checking for $ac_word" >&5
41602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41603 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41605 else
41606 if test -n "$ac_ct_STRIP"; then
41607 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41608 else
41609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41610 for as_dir in $PATH
41611 do
41612 IFS=$as_save_IFS
41613 test -z "$as_dir" && as_dir=.
41614 for ac_exec_ext in '' $ac_executable_extensions; do
41615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41616 ac_cv_prog_ac_ct_STRIP="strip"
41617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41618 break 2
41619 fi
41620 done
41621 done
41622
41623 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41624 fi
41625 fi
41626 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41627 if test -n "$ac_ct_STRIP"; then
41628 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41629 echo "${ECHO_T}$ac_ct_STRIP" >&6
41630 else
41631 echo "$as_me:$LINENO: result: no" >&5
41632 echo "${ECHO_T}no" >&6
41633 fi
41634
41635 STRIP=$ac_ct_STRIP
41636 else
41637 STRIP="$ac_cv_prog_STRIP"
41638 fi
41639
41640 if test -n "$ac_tool_prefix"; then
41641 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41642 set dummy ${ac_tool_prefix}nm; ac_word=$2
41643 echo "$as_me:$LINENO: checking for $ac_word" >&5
41644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41645 if test "${ac_cv_prog_NM+set}" = set; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 else
41648 if test -n "$NM"; then
41649 ac_cv_prog_NM="$NM" # Let the user override the test.
41650 else
41651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41652 for as_dir in $PATH
41653 do
41654 IFS=$as_save_IFS
41655 test -z "$as_dir" && as_dir=.
41656 for ac_exec_ext in '' $ac_executable_extensions; do
41657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41658 ac_cv_prog_NM="${ac_tool_prefix}nm"
41659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41660 break 2
41661 fi
41662 done
41663 done
41664
41665 fi
41666 fi
41667 NM=$ac_cv_prog_NM
41668 if test -n "$NM"; then
41669 echo "$as_me:$LINENO: result: $NM" >&5
41670 echo "${ECHO_T}$NM" >&6
41671 else
41672 echo "$as_me:$LINENO: result: no" >&5
41673 echo "${ECHO_T}no" >&6
41674 fi
41675
41676 fi
41677 if test -z "$ac_cv_prog_NM"; then
41678 ac_ct_NM=$NM
41679 # Extract the first word of "nm", so it can be a program name with args.
41680 set dummy nm; ac_word=$2
41681 echo "$as_me:$LINENO: checking for $ac_word" >&5
41682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41683 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686 if test -n "$ac_ct_NM"; then
41687 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41688 else
41689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41690 for as_dir in $PATH
41691 do
41692 IFS=$as_save_IFS
41693 test -z "$as_dir" && as_dir=.
41694 for ac_exec_ext in '' $ac_executable_extensions; do
41695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41696 ac_cv_prog_ac_ct_NM="nm"
41697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41698 break 2
41699 fi
41700 done
41701 done
41702
41703 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41704 fi
41705 fi
41706 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41707 if test -n "$ac_ct_NM"; then
41708 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41709 echo "${ECHO_T}$ac_ct_NM" >&6
41710 else
41711 echo "$as_me:$LINENO: result: no" >&5
41712 echo "${ECHO_T}no" >&6
41713 fi
41714
41715 NM=$ac_ct_NM
41716 else
41717 NM="$ac_cv_prog_NM"
41718 fi
41719
41720
41721 case ${BAKEFILE_HOST} in
41722 *-hp-hpux* )
41723 INSTALL_DIR="mkdir -p"
41724 ;;
41725 *) INSTALL_DIR="$INSTALL -d"
41726 ;;
41727 esac
41728
41729
41730 LDFLAGS_GUI=
41731 case ${BAKEFILE_HOST} in
41732 *-*-cygwin* | *-*-mingw32* )
41733 LDFLAGS_GUI="-mwindows"
41734 esac
41735
41736
41737 fi
41738
41739 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41740 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41741 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41742 echo $ECHO_N "(cached) $ECHO_C" >&6
41743 else
41744
41745 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41746 egrep -s GNU > /dev/null); then
41747 bakefile_cv_prog_makeisgnu="yes"
41748 else
41749 bakefile_cv_prog_makeisgnu="no"
41750 fi
41751
41752 fi
41753 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41754 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41755
41756 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41757 IF_GNU_MAKE=""
41758 else
41759 IF_GNU_MAKE="#"
41760 fi
41761
41762
41763
41764 PLATFORM_UNIX=0
41765 PLATFORM_WIN32=0
41766 PLATFORM_MSDOS=0
41767 PLATFORM_MAC=0
41768 PLATFORM_MACOS=0
41769 PLATFORM_MACOSX=0
41770 PLATFORM_OS2=0
41771 PLATFORM_BEOS=0
41772
41773 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41774 case "${BAKEFILE_HOST}" in
41775 *-*-cygwin* | *-*-mingw32* )
41776 PLATFORM_WIN32=1
41777 ;;
41778 *-pc-msdosdjgpp )
41779 PLATFORM_MSDOS=1
41780 ;;
41781 *-pc-os2_emx | *-pc-os2-emx )
41782 PLATFORM_OS2=1
41783 ;;
41784 powerpc-*-darwin* )
41785 PLATFORM_MAC=1
41786 PLATFORM_MACOSX=1
41787 ;;
41788 *-*-beos* )
41789 PLATFORM_BEOS=1
41790 ;;
41791 powerpc-apple-macos* )
41792 PLATFORM_MAC=1
41793 PLATFORM_MACOS=1
41794 ;;
41795 * )
41796 PLATFORM_UNIX=1
41797 ;;
41798 esac
41799 else
41800 case "$BAKEFILE_FORCE_PLATFORM" in
41801 win32 )
41802 PLATFORM_WIN32=1
41803 ;;
41804 msdos )
41805 PLATFORM_MSDOS=1
41806 ;;
41807 os2 )
41808 PLATFORM_OS2=1
41809 ;;
41810 darwin )
41811 PLATFORM_MAC=1
41812 PLATFORM_MACOSX=1
41813 ;;
41814 unix )
41815 PLATFORM_UNIX=1
41816 ;;
41817 beos )
41818 PLATFORM_BEOS=1
41819 ;;
41820 * )
41821 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41822 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41823 { (exit 1); exit 1; }; }
41824 ;;
41825 esac
41826 fi
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838 # Check whether --enable-omf or --disable-omf was given.
41839 if test "${enable_omf+set}" = set; then
41840 enableval="$enable_omf"
41841 bk_os2_use_omf="$enableval"
41842 fi;
41843
41844 case "${BAKEFILE_HOST}" in
41845 *-*-darwin* )
41846 CFLAGS="$CFLAGS -fno-common"
41847 CXXFLAGS="$CXXFLAGS -fno-common"
41848 ;;
41849
41850 *-pc-os2_emx | *-pc-os2-emx )
41851 if test "x$bk_os2_use_omf" = "xyes" ; then
41852 AR=emxomfar
41853 RANLIB=:
41854 LDFLAGS="-Zomf $LDFLAGS"
41855 CFLAGS="-Zomf $CFLAGS"
41856 CXXFLAGS="-Zomf $CXXFLAGS"
41857 OS2_LIBEXT="lib"
41858 else
41859 OS2_LIBEXT="a"
41860 fi
41861 ;;
41862
41863 i*86-*-beos* )
41864 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41865 ;;
41866 esac
41867
41868
41869 SO_SUFFIX="so"
41870 SO_SUFFIX_MODULE="so"
41871 EXEEXT=""
41872 LIBPREFIX="lib"
41873 LIBEXT=".a"
41874 DLLPREFIX="lib"
41875 DLLPREFIX_MODULE=""
41876 DLLIMP_SUFFIX=""
41877
41878 case "${BAKEFILE_HOST}" in
41879 *-hp-hpux* )
41880 SO_SUFFIX="sl"
41881 SO_SUFFIX_MODULE="sl"
41882 ;;
41883 *-*-aix* )
41884 SO_SUFFIX="a"
41885 SO_SUFFIX_MODULE="a"
41886 ;;
41887 *-*-cygwin* | *-*-mingw32* )
41888 SO_SUFFIX="dll"
41889 SO_SUFFIX_MODULE="dll"
41890 DLLIMP_SUFFIX="dll.a"
41891 EXEEXT=".exe"
41892 DLLPREFIX=""
41893 ;;
41894 *-pc-msdosdjgpp )
41895 EXEEXT=".exe"
41896 DLLPREFIX=""
41897 ;;
41898 *-pc-os2_emx | *-pc-os2-emx )
41899 SO_SUFFIX="dll"
41900 SO_SUFFIX_MODULE="dll"
41901 DLLIMP_SUFFIX=$OS2_LIBEXT
41902 EXEEXT=".exe"
41903 DLLPREFIX=""
41904 LIBPREFIX=""
41905 LIBEXT=".$OS2_LIBEXT"
41906 ;;
41907 powerpc-*-darwin* )
41908 SO_SUFFIX="dylib"
41909 SO_SUFFIX_MODULE="bundle"
41910 ;;
41911 esac
41912
41913 if test "x$DLLIMP_SUFFIX" = "x" ; then
41914 DLLIMP_SUFFIX="$SO_SUFFIX"
41915 fi
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927 PIC_FLAG=""
41928 if test "x$GCC" = "xyes"; then
41929 PIC_FLAG="-fPIC"
41930 fi
41931
41932 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41933 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41934
41935 case "${BAKEFILE_HOST}" in
41936 *-hp-hpux* )
41937 if test "x$GCC" != "xyes"; then
41938 LDFLAGS="$LDFLAGS -L/usr/lib"
41939
41940 SHARED_LD_CC="${CC} -b -o"
41941 SHARED_LD_CXX="${CXX} -b -o"
41942 PIC_FLAG="+Z"
41943 fi
41944 ;;
41945
41946 *-*-linux* )
41947 if test "x$GCC" != "xyes"; then
41948 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41949 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41950 if test "${bakefile_cv_prog_icc+set}" = set; then
41951 echo $ECHO_N "(cached) $ECHO_C" >&6
41952 else
41953
41954 cat >conftest.$ac_ext <<_ACEOF
41955 /* confdefs.h. */
41956 _ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960
41961 int
41962 main ()
41963 {
41964
41965 #ifndef __INTEL_COMPILER
41966 #error Not icc
41967 #endif
41968
41969 ;
41970 return 0;
41971 }
41972 _ACEOF
41973 rm -f conftest.$ac_objext
41974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41975 (eval $ac_compile) 2>conftest.er1
41976 ac_status=$?
41977 grep -v '^ *+' conftest.er1 >conftest.err
41978 rm -f conftest.er1
41979 cat conftest.err >&5
41980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41981 (exit $ac_status); } &&
41982 { ac_try='test -z "$ac_c_werror_flag"
41983 || test ! -s conftest.err'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41986 ac_status=$?
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; } &&
41989 { ac_try='test -s conftest.$ac_objext'
41990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41991 (eval $ac_try) 2>&5
41992 ac_status=$?
41993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41994 (exit $ac_status); }; }; then
41995 bakefile_cv_prog_icc=yes
41996 else
41997 echo "$as_me: failed program was:" >&5
41998 sed 's/^/| /' conftest.$ac_ext >&5
41999
42000 bakefile_cv_prog_icc=no
42001
42002 fi
42003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42004
42005 fi
42006 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42007 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42008 if test "$bakefile_cv_prog_icc" = "yes"; then
42009 PIC_FLAG="-KPIC"
42010 fi
42011 fi
42012 ;;
42013
42014 *-*-solaris2* )
42015 if test "x$GCC" != xyes ; then
42016 SHARED_LD_CC="${CC} -G -o"
42017 SHARED_LD_CXX="${CXX} -G -o"
42018 PIC_FLAG="-KPIC"
42019 fi
42020 ;;
42021
42022 *-*-darwin* )
42023
42024 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42025 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42026 if test "${wx_cv_gcc31+set}" = set; then
42027 echo $ECHO_N "(cached) $ECHO_C" >&6
42028 else
42029
42030 cat >conftest.$ac_ext <<_ACEOF
42031 /* confdefs.h. */
42032 _ACEOF
42033 cat confdefs.h >>conftest.$ac_ext
42034 cat >>conftest.$ac_ext <<_ACEOF
42035 /* end confdefs.h. */
42036
42037 int
42038 main ()
42039 {
42040
42041 #if (__GNUC__ < 3) || \
42042 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42043 #error old gcc
42044 #endif
42045
42046 ;
42047 return 0;
42048 }
42049 _ACEOF
42050 rm -f conftest.$ac_objext
42051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42052 (eval $ac_compile) 2>conftest.er1
42053 ac_status=$?
42054 grep -v '^ *+' conftest.er1 >conftest.err
42055 rm -f conftest.er1
42056 cat conftest.err >&5
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); } &&
42059 { ac_try='test -z "$ac_c_werror_flag"
42060 || test ! -s conftest.err'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42063 ac_status=$?
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; } &&
42066 { ac_try='test -s conftest.$ac_objext'
42067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068 (eval $ac_try) 2>&5
42069 ac_status=$?
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; }; then
42072
42073 wx_cv_gcc31=yes
42074
42075 else
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.$ac_ext >&5
42078
42079
42080 wx_cv_gcc31=no
42081
42082
42083 fi
42084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42085
42086 fi
42087 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42088 echo "${ECHO_T}$wx_cv_gcc31" >&6
42089 if test "$wx_cv_gcc31" = "no"; then
42090
42091 D='$'
42092 cat <<EOF >shared-ld-sh
42093 #!/bin/sh
42094 #-----------------------------------------------------------------------------
42095 #-- Name: distrib/mac/shared-ld-sh
42096 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42097 #-- Author: Gilles Depeyrot
42098 #-- Copyright: (c) 2002 Gilles Depeyrot
42099 #-- Licence: any use permitted
42100 #-----------------------------------------------------------------------------
42101
42102 verbose=0
42103 args=""
42104 objects=""
42105 linking_flag="-dynamiclib"
42106
42107 while test ${D}# -gt 0; do
42108 case ${D}1 in
42109
42110 -v)
42111 verbose=1
42112 ;;
42113
42114 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42115 # collect these options and values
42116 args="${D}{args} ${D}1 ${D}2"
42117 shift
42118 ;;
42119
42120 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42121 # collect these options
42122 args="${D}{args} ${D}1"
42123 ;;
42124
42125 -dynamiclib|-bundle)
42126 linking_flag="${D}1"
42127 ;;
42128
42129 -*)
42130 echo "shared-ld: unhandled option '${D}1'"
42131 exit 1
42132 ;;
42133
42134 *.o | *.a | *.dylib)
42135 # collect object files
42136 objects="${D}{objects} ${D}1"
42137 ;;
42138
42139 *)
42140 echo "shared-ld: unhandled argument '${D}1'"
42141 exit 1
42142 ;;
42143
42144 esac
42145 shift
42146 done
42147
42148 #
42149 # Link one module containing all the others
42150 #
42151 if test ${D}{verbose} = 1; then
42152 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42153 fi
42154 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42155 status=${D}?
42156 if test ${D}{status} != 0; then
42157 exit ${D}{status}
42158 fi
42159
42160 #
42161 # Link the shared library from the single module created
42162 #
42163 if test ${D}{verbose} = 1; then
42164 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42165 fi
42166 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42167 status=${D}?
42168 if test ${D}{status} != 0; then
42169 exit ${D}{status}
42170 fi
42171
42172 #
42173 # Remove intermediate module
42174 #
42175 rm -f master.${D}${D}.o
42176
42177 exit 0
42178 EOF
42179
42180 chmod +x shared-ld-sh
42181
42182 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42183 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42184 SHARED_LD_CXX="$SHARED_LD_CC"
42185 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42186 else
42187 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42188 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42189 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42190 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42191 fi
42192
42193 PIC_FLAG="-dynamic -fPIC"
42194 ;;
42195
42196 *-*-aix* )
42197 if test "x$GCC" != "xyes"; then
42198 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42199 set dummy makeC++SharedLib; ac_word=$2
42200 echo "$as_me:$LINENO: checking for $ac_word" >&5
42201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42202 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42204 else
42205 if test -n "$AIX_CXX_LD"; then
42206 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42207 else
42208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42209 for as_dir in $PATH
42210 do
42211 IFS=$as_save_IFS
42212 test -z "$as_dir" && as_dir=.
42213 for ac_exec_ext in '' $ac_executable_extensions; do
42214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42215 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42217 break 2
42218 fi
42219 done
42220 done
42221
42222 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42223 fi
42224 fi
42225 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42226 if test -n "$AIX_CXX_LD"; then
42227 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42228 echo "${ECHO_T}$AIX_CXX_LD" >&6
42229 else
42230 echo "$as_me:$LINENO: result: no" >&5
42231 echo "${ECHO_T}no" >&6
42232 fi
42233
42234 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42235 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42236 fi
42237 ;;
42238
42239 *-*-beos* )
42240 SHARED_LD_CC="${LD} -nostart -o"
42241 SHARED_LD_CXX="${LD} -nostart -o"
42242 ;;
42243
42244 *-*-irix* )
42245 if test "x$GCC" != "xyes"; then
42246 PIC_FLAG="-KPIC"
42247 fi
42248 ;;
42249
42250 *-*-cygwin* | *-*-mingw32* )
42251 PIC_FLAG=""
42252 SHARED_LD_CC="\$(CC) -shared -o"
42253 SHARED_LD_CXX="\$(CXX) -shared -o"
42254 ;;
42255
42256 *-pc-os2_emx | *-pc-os2-emx )
42257 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42258 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42259 PIC_FLAG=""
42260
42261 D='$'
42262 cat <<EOF >dllar.sh
42263 #!/bin/sh
42264 #
42265 # dllar - a tool to build both a .dll and an .a file
42266 # from a set of object (.o) files for EMX/OS2.
42267 #
42268 # Written by Andrew Zabolotny, bit@freya.etu.ru
42269 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42270 #
42271 # This script will accept a set of files on the command line.
42272 # All the public symbols from the .o files will be exported into
42273 # a .DEF file, then linker will be run (through gcc) against them to
42274 # build a shared library consisting of all given .o files. All libraries
42275 # (.a) will be first decompressed into component .o files then act as
42276 # described above. You can optionally give a description (-d "description")
42277 # which will be put into .DLL. To see the list of accepted options (as well
42278 # as command-line format) simply run this program without options. The .DLL
42279 # is built to be imported by name (there is no guarantee that new versions
42280 # of the library you build will have same ordinals for same symbols).
42281 #
42282 # dllar is free software; you can redistribute it and/or modify
42283 # it under the terms of the GNU General Public License as published by
42284 # the Free Software Foundation; either version 2, or (at your option)
42285 # any later version.
42286 #
42287 # dllar is distributed in the hope that it will be useful,
42288 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42289 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42290 # GNU General Public License for more details.
42291 #
42292 # You should have received a copy of the GNU General Public License
42293 # along with dllar; see the file COPYING. If not, write to the Free
42294 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42295 # 02111-1307, USA.
42296
42297 # To successfuly run this program you will need:
42298 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42299 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42300 # - gcc
42301 # (used to build the .dll)
42302 # - emxexp
42303 # (used to create .def file from .o files)
42304 # - emximp
42305 # (used to create .a file from .def file)
42306 # - GNU text utilites (cat, sort, uniq)
42307 # used to process emxexp output
42308 # - GNU file utilities (mv, rm)
42309 # - GNU sed
42310 # - lxlite (optional, see flag below)
42311 # (used for general .dll cleanup)
42312 #
42313
42314 flag_USE_LXLITE=1;
42315
42316 #
42317 # helper functions
42318 # basnam, variant of basename, which does _not_ remove the path, _iff_
42319 # second argument (suffix to remove) is given
42320 basnam(){
42321 case ${D}# in
42322 1)
42323 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42324 ;;
42325 2)
42326 echo ${D}1 | sed 's/'${D}2'${D}//'
42327 ;;
42328 *)
42329 echo "error in basnam ${D}*"
42330 exit 8
42331 ;;
42332 esac
42333 }
42334
42335 # Cleanup temporary files and output
42336 CleanUp() {
42337 cd ${D}curDir
42338 for i in ${D}inputFiles ; do
42339 case ${D}i in
42340 *!)
42341 rm -rf \`basnam ${D}i !\`
42342 ;;
42343 *)
42344 ;;
42345 esac
42346 done
42347
42348 # Kill result in case of failure as there is just to many stupid make/nmake
42349 # things out there which doesn't do this.
42350 if [ ${D}# -eq 0 ]; then
42351 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42352 fi
42353 }
42354
42355 # Print usage and exit script with rc=1.
42356 PrintHelp() {
42357 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42358 echo ' [-name-mangler-script script.sh]'
42359 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42360 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42361 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42362 echo ' [*.o] [*.a]'
42363 echo '*> "output_file" should have no extension.'
42364 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42365 echo ' The import library name is derived from this and is set to "name".a,'
42366 echo ' unless overridden by -import'
42367 echo '*> "importlib_name" should have no extension.'
42368 echo ' If it has the .o, or .a extension, it is automatically removed.'
42369 echo ' This name is used as the import library name and may be longer and'
42370 echo ' more descriptive than the DLL name which has to follow the old '
42371 echo ' 8.3 convention of FAT.'
42372 echo '*> "script.sh may be given to override the output_file name by a'
42373 echo ' different name. It is mainly useful if the regular make process'
42374 echo ' of some package does not take into account OS/2 restriction of'
42375 echo ' DLL name lengths. It takes the importlib name as input and is'
42376 echo ' supposed to procude a shorter name as output. The script should'
42377 echo ' expect to get importlib_name without extension and should produce'
42378 echo ' a (max.) 8 letter name without extension.'
42379 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42380 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42381 echo ' These flags will be put at the start of GCC command line.'
42382 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42383 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42384 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42385 echo ' If the last character of a symbol is "*", all symbols beginning'
42386 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42387 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42388 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42389 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42390 echo ' C runtime DLLs.'
42391 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42392 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42393 echo ' unchanged to GCC at the end of command line.'
42394 echo '*> If you create a DLL from a library and you do not specify -o,'
42395 echo ' the basename for DLL and import library will be set to library name,'
42396 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42397 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42398 echo ' library will be renamed into gcc_s.a.'
42399 echo '--------'
42400 echo 'Example:'
42401 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42402 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42403 CleanUp
42404 exit 1
42405 }
42406
42407 # Execute a command.
42408 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42409 # @Uses Whatever CleanUp() uses.
42410 doCommand() {
42411 echo "${D}*"
42412 eval ${D}*
42413 rcCmd=${D}?
42414
42415 if [ ${D}rcCmd -ne 0 ]; then
42416 echo "command failed, exit code="${D}rcCmd
42417 CleanUp
42418 exit ${D}rcCmd
42419 fi
42420 }
42421
42422 # main routine
42423 # setup globals
42424 cmdLine=${D}*
42425 outFile=""
42426 outimpFile=""
42427 inputFiles=""
42428 renameScript=""
42429 description=""
42430 CC=gcc.exe
42431 CFLAGS="-s -Zcrtdll"
42432 EXTRA_CFLAGS=""
42433 EXPORT_BY_ORDINALS=0
42434 exclude_symbols=""
42435 library_flags=""
42436 curDir=\`pwd\`
42437 curDirS=curDir
42438 case ${D}curDirS in
42439 */)
42440 ;;
42441 *)
42442 curDirS=${D}{curDirS}"/"
42443 ;;
42444 esac
42445 # Parse commandline
42446 libsToLink=0
42447 omfLinking=0
42448 while [ ${D}1 ]; do
42449 case ${D}1 in
42450 -ord*)
42451 EXPORT_BY_ORDINALS=1;
42452 ;;
42453 -o*)
42454 shift
42455 outFile=${D}1
42456 ;;
42457 -i*)
42458 shift
42459 outimpFile=${D}1
42460 ;;
42461 -name-mangler-script)
42462 shift
42463 renameScript=${D}1
42464 ;;
42465 -d*)
42466 shift
42467 description=${D}1
42468 ;;
42469 -f*)
42470 shift
42471 CFLAGS=${D}1
42472 ;;
42473 -c*)
42474 shift
42475 CC=${D}1
42476 ;;
42477 -h*)
42478 PrintHelp
42479 ;;
42480 -ex*)
42481 shift
42482 exclude_symbols=${D}{exclude_symbols}${D}1" "
42483 ;;
42484 -libf*)
42485 shift
42486 library_flags=${D}{library_flags}${D}1" "
42487 ;;
42488 -nocrt*)
42489 CFLAGS="-s"
42490 ;;
42491 -nolxl*)
42492 flag_USE_LXLITE=0
42493 ;;
42494 -* | /*)
42495 case ${D}1 in
42496 -L* | -l*)
42497 libsToLink=1
42498 ;;
42499 -Zomf)
42500 omfLinking=1
42501 ;;
42502 *)
42503 ;;
42504 esac
42505 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42506 ;;
42507 *.dll)
42508 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42509 if [ ${D}omfLinking -eq 1 ]; then
42510 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42511 else
42512 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42513 fi
42514 ;;
42515 *)
42516 found=0;
42517 if [ ${D}libsToLink -ne 0 ]; then
42518 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42519 else
42520 for file in ${D}1 ; do
42521 if [ -f ${D}file ]; then
42522 inputFiles="${D}{inputFiles} ${D}file"
42523 found=1
42524 fi
42525 done
42526 if [ ${D}found -eq 0 ]; then
42527 echo "ERROR: No file(s) found: "${D}1
42528 exit 8
42529 fi
42530 fi
42531 ;;
42532 esac
42533 shift
42534 done # iterate cmdline words
42535
42536 #
42537 if [ -z "${D}inputFiles" ]; then
42538 echo "dllar: no input files"
42539 PrintHelp
42540 fi
42541
42542 # Now extract all .o files from .a files
42543 newInputFiles=""
42544 for file in ${D}inputFiles ; do
42545 case ${D}file in
42546 *.a | *.lib)
42547 case ${D}file in
42548 *.a)
42549 suffix=".a"
42550 AR="ar"
42551 ;;
42552 *.lib)
42553 suffix=".lib"
42554 AR="emxomfar"
42555 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42556 ;;
42557 *)
42558 ;;
42559 esac
42560 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42561 mkdir ${D}dirname
42562 if [ ${D}? -ne 0 ]; then
42563 echo "Failed to create subdirectory ./${D}dirname"
42564 CleanUp
42565 exit 8;
42566 fi
42567 # Append '!' to indicate archive
42568 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42569 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42570 cd ${D}curDir
42571 found=0;
42572 for subfile in ${D}dirname/*.o* ; do
42573 if [ -f ${D}subfile ]; then
42574 found=1
42575 if [ -s ${D}subfile ]; then
42576 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42577 newInputFiles="${D}newInputFiles ${D}subfile"
42578 fi
42579 fi
42580 done
42581 if [ ${D}found -eq 0 ]; then
42582 echo "WARNING: there are no files in archive \\'${D}file\\'"
42583 fi
42584 ;;
42585 *)
42586 newInputFiles="${D}{newInputFiles} ${D}file"
42587 ;;
42588 esac
42589 done
42590 inputFiles="${D}newInputFiles"
42591
42592 # Output filename(s).
42593 do_backup=0;
42594 if [ -z ${D}outFile ]; then
42595 do_backup=1;
42596 set outFile ${D}inputFiles; outFile=${D}2
42597 fi
42598
42599 # If it is an archive, remove the '!' and the '_%' suffixes
42600 case ${D}outFile in
42601 *_%!)
42602 outFile=\`basnam ${D}outFile _%!\`
42603 ;;
42604 *)
42605 ;;
42606 esac
42607 case ${D}outFile in
42608 *.dll)
42609 outFile=\`basnam ${D}outFile .dll\`
42610 ;;
42611 *.DLL)
42612 outFile=\`basnam ${D}outFile .DLL\`
42613 ;;
42614 *.o)
42615 outFile=\`basnam ${D}outFile .o\`
42616 ;;
42617 *.obj)
42618 outFile=\`basnam ${D}outFile .obj\`
42619 ;;
42620 *.a)
42621 outFile=\`basnam ${D}outFile .a\`
42622 ;;
42623 *.lib)
42624 outFile=\`basnam ${D}outFile .lib\`
42625 ;;
42626 *)
42627 ;;
42628 esac
42629 case ${D}outimpFile in
42630 *.a)
42631 outimpFile=\`basnam ${D}outimpFile .a\`
42632 ;;
42633 *.lib)
42634 outimpFile=\`basnam ${D}outimpFile .lib\`
42635 ;;
42636 *)
42637 ;;
42638 esac
42639 if [ -z ${D}outimpFile ]; then
42640 outimpFile=${D}outFile
42641 fi
42642 defFile="${D}{outFile}.def"
42643 arcFile="${D}{outimpFile}.a"
42644 arcFile2="${D}{outimpFile}.lib"
42645
42646 #create ${D}dllFile as something matching 8.3 restrictions,
42647 if [ -z ${D}renameScript ] ; then
42648 dllFile="${D}outFile"
42649 else
42650 dllFile=\`${D}renameScript ${D}outimpFile\`
42651 fi
42652
42653 if [ ${D}do_backup -ne 0 ] ; then
42654 if [ -f ${D}arcFile ] ; then
42655 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42656 fi
42657 if [ -f ${D}arcFile2 ] ; then
42658 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42659 fi
42660 fi
42661
42662 # Extract public symbols from all the object files.
42663 tmpdefFile=${D}{defFile}_%
42664 rm -f ${D}tmpdefFile
42665 for file in ${D}inputFiles ; do
42666 case ${D}file in
42667 *!)
42668 ;;
42669 *)
42670 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42671 ;;
42672 esac
42673 done
42674
42675 # Create the def file.
42676 rm -f ${D}defFile
42677 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42678 dllFile="${D}{dllFile}.dll"
42679 if [ ! -z ${D}description ]; then
42680 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42681 fi
42682 echo "EXPORTS" >> ${D}defFile
42683
42684 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42685 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42686
42687 # Checks if the export is ok or not.
42688 for word in ${D}exclude_symbols; do
42689 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42690 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42691 done
42692
42693
42694 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42695 sed "=" < ${D}tmpdefFile | \\
42696 sed '
42697 N
42698 : loop
42699 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42700 t loop
42701 ' > ${D}{tmpdefFile}%
42702 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42703 else
42704 rm -f ${D}{tmpdefFile}%
42705 fi
42706 cat ${D}tmpdefFile >> ${D}defFile
42707 rm -f ${D}tmpdefFile
42708
42709 # Do linking, create implib, and apply lxlite.
42710 gccCmdl="";
42711 for file in ${D}inputFiles ; do
42712 case ${D}file in
42713 *!)
42714 ;;
42715 *)
42716 gccCmdl="${D}gccCmdl ${D}file"
42717 ;;
42718 esac
42719 done
42720 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42721 touch "${D}{outFile}.dll"
42722
42723 doCommand "emximp -o ${D}arcFile ${D}defFile"
42724 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42725 add_flags="";
42726 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42727 add_flags="-ynd"
42728 fi
42729 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42730 fi
42731 doCommand "emxomf -s -l ${D}arcFile"
42732
42733 # Successful exit.
42734 CleanUp 1
42735 exit 0
42736 EOF
42737
42738 chmod +x dllar.sh
42739 ;;
42740
42741 powerpc-apple-macos* | \
42742 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42743 *-*-sunos4* | \
42744 *-*-osf* | \
42745 *-*-dgux5* | \
42746 *-*-sysv5* | \
42747 *-pc-msdosdjgpp )
42748 ;;
42749
42750 *)
42751 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42752 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42753 { (exit 1); exit 1; }; }
42754 esac
42755
42756 if test "x$PIC_FLAG" != "x" ; then
42757 PIC_FLAG="$PIC_FLAG -DPIC"
42758 fi
42759
42760 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42761 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42762 fi
42763 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42764 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42765 fi
42766
42767
42768
42769
42770
42771
42772
42773
42774 USE_SOVERSION=0
42775 USE_SOVERLINUX=0
42776 USE_SOVERSOLARIS=0
42777 USE_SOSYMLINKS=0
42778 USE_MACVERSION=0
42779 SONAME_FLAG=
42780
42781 case "${BAKEFILE_HOST}" in
42782 *-*-linux* | *-*-freebsd* )
42783 SONAME_FLAG="-Wl,-soname,"
42784 USE_SOVERSION=1
42785 USE_SOVERLINUX=1
42786 USE_SOSYMLINKS=1
42787 ;;
42788
42789 *-*-solaris2* )
42790 SONAME_FLAG="-h "
42791 USE_SOVERSION=1
42792 USE_SOVERSOLARIS=1
42793 USE_SOSYMLINKS=1
42794 ;;
42795
42796 *-*-darwin* )
42797 USE_MACVERSION=1
42798 USE_SOVERSION=1
42799 USE_SOSYMLINKS=1
42800 ;;
42801 esac
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42812 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42813 DEPS_TRACKING=0
42814
42815 if test "x$GCC" = "xyes"; then
42816 DEPSMODE=gcc
42817 DEPS_TRACKING=1
42818 case "${BAKEFILE_HOST}" in
42819 powerpc-*-darwin* )
42820 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42821 ;;
42822 * )
42823 DEPSFLAG_GCC="-MMD"
42824 ;;
42825 esac
42826 echo "$as_me:$LINENO: result: gcc" >&5
42827 echo "${ECHO_T}gcc" >&6
42828 elif test "x$MWCC" = "xyes"; then
42829 DEPSMODE=mwcc
42830 DEPS_TRACKING=1
42831 DEPSFLAG_MWCC="-MM"
42832 echo "$as_me:$LINENO: result: mwcc" >&5
42833 echo "${ECHO_T}mwcc" >&6
42834 else
42835 echo "$as_me:$LINENO: result: none" >&5
42836 echo "${ECHO_T}none" >&6
42837 fi
42838
42839 if test $DEPS_TRACKING = 1 ; then
42840
42841 D='$'
42842 cat <<EOF >bk-deps
42843 #!/bin/sh
42844
42845 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42846 # script. It is used to track C/C++ files dependencies in portable way.
42847 #
42848 # Permission is given to use this file in any way.
42849
42850 DEPSMODE=${DEPSMODE}
42851 DEPSDIR=.deps
42852 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42853 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42854
42855 mkdir -p ${D}DEPSDIR
42856
42857 if test ${D}DEPSMODE = gcc ; then
42858 ${D}* ${D}{DEPSFLAG_GCC}
42859 status=${D}?
42860 if test ${D}{status} != 0 ; then
42861 exit ${D}{status}
42862 fi
42863 # move created file to the location we want it in:
42864 while test ${D}# -gt 0; do
42865 case "${D}1" in
42866 -o )
42867 shift
42868 objfile=${D}1
42869 ;;
42870 -* )
42871 ;;
42872 * )
42873 srcfile=${D}1
42874 ;;
42875 esac
42876 shift
42877 done
42878 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42879 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42880 if test -f ${D}depfile ; then
42881 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42882 rm -f ${D}depfile
42883 else
42884 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42885 if test -f ${D}depfile ; then
42886 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42887 rm -f ${D}depfile
42888 fi
42889 fi
42890 exit 0
42891 elif test ${D}DEPSMODE = mwcc ; then
42892 ${D}*
42893 status=${D}?
42894 if test ${D}{status} != 0 ; then
42895 exit ${D}{status}
42896 fi
42897 # Run mwcc again with -MM and redirect into the dep file we want
42898 # NOTE: We can't use shift here because we need ${D}* to be valid
42899 prevarg=
42900 for arg in ${D}* ; do
42901 if test "${D}prevarg" = "-o"; then
42902 objfile=${D}arg
42903 else
42904 case "${D}arg" in
42905 -* )
42906 ;;
42907 * )
42908 srcfile=${D}arg
42909 ;;
42910 esac
42911 fi
42912 prevarg="${D}arg"
42913 done
42914 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42915 exit 0
42916 else
42917 ${D}*
42918 exit ${D}?
42919 fi
42920 EOF
42921
42922 chmod +x bk-deps
42923 fi
42924
42925
42926
42927
42928 RESCOMP=
42929 SETFILE=
42930
42931 case ${BAKEFILE_HOST} in
42932 *-*-cygwin* | *-*-mingw32* )
42933 if test "$build" != "$host" ; then
42934 RESCOMP=$host_alias-windres
42935 else
42936 # Extract the first word of "windres", so it can be a program name with args.
42937 set dummy windres; ac_word=$2
42938 echo "$as_me:$LINENO: checking for $ac_word" >&5
42939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42940 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42942 else
42943 if test -n "$RESCOMP"; then
42944 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42945 else
42946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42947 for as_dir in $PATH
42948 do
42949 IFS=$as_save_IFS
42950 test -z "$as_dir" && as_dir=.
42951 for ac_exec_ext in '' $ac_executable_extensions; do
42952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42953 ac_cv_prog_RESCOMP="windres"
42954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42955 break 2
42956 fi
42957 done
42958 done
42959
42960 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42961 fi
42962 fi
42963 RESCOMP=$ac_cv_prog_RESCOMP
42964 if test -n "$RESCOMP"; then
42965 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42966 echo "${ECHO_T}$RESCOMP" >&6
42967 else
42968 echo "$as_me:$LINENO: result: no" >&5
42969 echo "${ECHO_T}no" >&6
42970 fi
42971
42972 fi
42973 ;;
42974
42975 *-*-darwin* | powerpc-apple-macos* )
42976 # Extract the first word of "Rez", so it can be a program name with args.
42977 set dummy Rez; ac_word=$2
42978 echo "$as_me:$LINENO: checking for $ac_word" >&5
42979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42980 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42981 echo $ECHO_N "(cached) $ECHO_C" >&6
42982 else
42983 if test -n "$RESCOMP"; then
42984 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42985 else
42986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42987 for as_dir in $PATH
42988 do
42989 IFS=$as_save_IFS
42990 test -z "$as_dir" && as_dir=.
42991 for ac_exec_ext in '' $ac_executable_extensions; do
42992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42993 ac_cv_prog_RESCOMP="Rez"
42994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42995 break 2
42996 fi
42997 done
42998 done
42999
43000 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43001 fi
43002 fi
43003 RESCOMP=$ac_cv_prog_RESCOMP
43004 if test -n "$RESCOMP"; then
43005 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43006 echo "${ECHO_T}$RESCOMP" >&6
43007 else
43008 echo "$as_me:$LINENO: result: no" >&5
43009 echo "${ECHO_T}no" >&6
43010 fi
43011
43012 # Extract the first word of "SetFile", so it can be a program name with args.
43013 set dummy SetFile; ac_word=$2
43014 echo "$as_me:$LINENO: checking for $ac_word" >&5
43015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43016 if test "${ac_cv_prog_SETFILE+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43018 else
43019 if test -n "$SETFILE"; then
43020 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43021 else
43022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43023 for as_dir in $PATH
43024 do
43025 IFS=$as_save_IFS
43026 test -z "$as_dir" && as_dir=.
43027 for ac_exec_ext in '' $ac_executable_extensions; do
43028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43029 ac_cv_prog_SETFILE="SetFile"
43030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43031 break 2
43032 fi
43033 done
43034 done
43035
43036 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43037 fi
43038 fi
43039 SETFILE=$ac_cv_prog_SETFILE
43040 if test -n "$SETFILE"; then
43041 echo "$as_me:$LINENO: result: $SETFILE" >&5
43042 echo "${ECHO_T}$SETFILE" >&6
43043 else
43044 echo "$as_me:$LINENO: result: no" >&5
43045 echo "${ECHO_T}no" >&6
43046 fi
43047
43048 ;;
43049 esac
43050
43051
43052
43053
43054
43055 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
43056
43057
43058 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
43059
43060
43061
43062 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43063 if test "${enable_precomp_headers+set}" = set; then
43064 enableval="$enable_precomp_headers"
43065 bk_use_pch="$enableval"
43066 fi;
43067
43068 GCC_PCH=0
43069
43070 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43071 if test "x$GCC" = "xyes"; then
43072 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43073 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43074 cat >conftest.$ac_ext <<_ACEOF
43075 /* confdefs.h. */
43076 _ACEOF
43077 cat confdefs.h >>conftest.$ac_ext
43078 cat >>conftest.$ac_ext <<_ACEOF
43079 /* end confdefs.h. */
43080
43081 int
43082 main ()
43083 {
43084
43085 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43086 #error "no pch support"
43087 #endif
43088 #if (__GNUC__ < 3)
43089 #error "no pch support"
43090 #endif
43091 #if (__GNUC__ == 3) && \
43092 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43093 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43094 #error "no pch support"
43095 #endif
43096
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 rm -f conftest.$ac_objext
43102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43103 (eval $ac_compile) 2>conftest.er1
43104 ac_status=$?
43105 grep -v '^ *+' conftest.er1 >conftest.err
43106 rm -f conftest.er1
43107 cat conftest.err >&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); } &&
43110 { ac_try='test -z "$ac_c_werror_flag"
43111 || test ! -s conftest.err'
43112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43113 (eval $ac_try) 2>&5
43114 ac_status=$?
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); }; } &&
43117 { ac_try='test -s conftest.$ac_objext'
43118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43119 (eval $ac_try) 2>&5
43120 ac_status=$?
43121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43122 (exit $ac_status); }; }; then
43123
43124 echo "$as_me:$LINENO: result: yes" >&5
43125 echo "${ECHO_T}yes" >&6
43126 GCC_PCH=1
43127
43128 else
43129 echo "$as_me: failed program was:" >&5
43130 sed 's/^/| /' conftest.$ac_ext >&5
43131
43132
43133 echo "$as_me:$LINENO: result: no" >&5
43134 echo "${ECHO_T}no" >&6
43135
43136 fi
43137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43138 if test $GCC_PCH = 1 ; then
43139
43140 D='$'
43141 cat <<EOF >bk-make-pch
43142 #!/bin/sh
43143
43144 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43145 # script. It is used to generated precompiled headers.
43146 #
43147 # Permission is given to use this file in any way.
43148
43149 outfile="${D}{1}"
43150 header="${D}{2}"
43151 shift
43152 shift
43153
43154 compiler=
43155 headerfile=
43156 while test ${D}{#} -gt 0; do
43157 case "${D}{1}" in
43158 -I* )
43159 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43160 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43161 headerfile="${D}{incdir}/${D}{header}"
43162 fi
43163 ;;
43164 esac
43165 compiler="${D}{compiler} ${D}{1}"
43166 shift
43167 done
43168
43169 if test "x${D}{headerfile}" = "x" ; then
43170 echo "error: can't find header ${D}{header} in include paths" >2
43171 else
43172 if test -f ${D}{outfile} ; then
43173 rm -f ${D}{outfile}
43174 else
43175 mkdir -p \`dirname ${D}{outfile}\`
43176 fi
43177 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43178 mkdir -p .deps
43179 # can do this because gcc is >= 3.4:
43180 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43181 exit ${D}{?}
43182 fi
43183 EOF
43184
43185 chmod +x bk-make-pch
43186 fi
43187 fi
43188 fi
43189
43190
43191
43192 COND_BUILD_DEBUG="#"
43193 if test "x$BUILD" = "xdebug" ; then
43194 COND_BUILD_DEBUG=""
43195 fi
43196
43197 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43198 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43199 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43200 fi
43201
43202 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43203 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43204 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43205 fi
43206
43207 COND_BUILD_DEBUG_UNICODE_0="#"
43208 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43209 COND_BUILD_DEBUG_UNICODE_0=""
43210 fi
43211
43212 COND_BUILD_DEBUG_UNICODE_1="#"
43213 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43214 COND_BUILD_DEBUG_UNICODE_1=""
43215 fi
43216
43217 COND_BUILD_RELEASE="#"
43218 if test "x$BUILD" = "xrelease" ; then
43219 COND_BUILD_RELEASE=""
43220 fi
43221
43222 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43223 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43224 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43225 fi
43226
43227 COND_BUILD_RELEASE_UNICODE_0="#"
43228 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43229 COND_BUILD_RELEASE_UNICODE_0=""
43230 fi
43231
43232 COND_BUILD_RELEASE_UNICODE_1="#"
43233 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43234 COND_BUILD_RELEASE_UNICODE_1=""
43235 fi
43236
43237 COND_DEBUG_FLAG_1="#"
43238 if test "x$DEBUG_FLAG" = "x1" ; then
43239 COND_DEBUG_FLAG_1=""
43240 fi
43241
43242 COND_DEBUG_INFO_0="#"
43243 if test "x$DEBUG_INFO" = "x0" ; then
43244 COND_DEBUG_INFO_0=""
43245 fi
43246
43247 COND_DEBUG_INFO_1="#"
43248 if test "x$DEBUG_INFO" = "x1" ; then
43249 COND_DEBUG_INFO_1=""
43250 fi
43251
43252 COND_DEPS_TRACKING_0="#"
43253 if test "x$DEPS_TRACKING" = "x0" ; then
43254 COND_DEPS_TRACKING_0=""
43255 fi
43256
43257 COND_DEPS_TRACKING_1="#"
43258 if test "x$DEPS_TRACKING" = "x1" ; then
43259 COND_DEPS_TRACKING_1=""
43260 fi
43261
43262 COND_GCC_PCH_1="#"
43263 if test "x$GCC_PCH" = "x1" ; then
43264 COND_GCC_PCH_1=""
43265 fi
43266
43267 COND_MONOLITHIC_0="#"
43268 if test "x$MONOLITHIC" = "x0" ; then
43269 COND_MONOLITHIC_0=""
43270 fi
43271
43272 COND_MONOLITHIC_0_SHARED_0="#"
43273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43274 COND_MONOLITHIC_0_SHARED_0=""
43275 fi
43276
43277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43279 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43280 fi
43281
43282 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43284 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43285 fi
43286
43287 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43290 fi
43291
43292 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43295 fi
43296
43297 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43299 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43300 fi
43301
43302 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43304 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43305 fi
43306
43307 COND_MONOLITHIC_0_SHARED_1="#"
43308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43309 COND_MONOLITHIC_0_SHARED_1=""
43310 fi
43311
43312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43313 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43315 fi
43316
43317 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43318 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43319 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43320 fi
43321
43322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43323 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43324 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43325 fi
43326
43327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43328 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43329 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43330 fi
43331
43332 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43333 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43334 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43335 fi
43336
43337 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43338 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43339 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43340 fi
43341
43342 COND_MONOLITHIC_0_USE_ODBC_1="#"
43343 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43344 COND_MONOLITHIC_0_USE_ODBC_1=""
43345 fi
43346
43347 COND_MONOLITHIC_1="#"
43348 if test "x$MONOLITHIC" = "x1" ; then
43349 COND_MONOLITHIC_1=""
43350 fi
43351
43352 COND_MONOLITHIC_1_SHARED_0="#"
43353 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43354 COND_MONOLITHIC_1_SHARED_0=""
43355 fi
43356
43357 COND_MONOLITHIC_1_SHARED_1="#"
43358 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43359 COND_MONOLITHIC_1_SHARED_1=""
43360 fi
43361
43362 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43363 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43364 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43365 fi
43366
43367 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43368 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43369 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43370 fi
43371
43372 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43373 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43374 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43375 fi
43376
43377 COND_PLATFORM_MACOSX_1="#"
43378 if test "x$PLATFORM_MACOSX" = "x1" ; then
43379 COND_PLATFORM_MACOSX_1=""
43380 fi
43381
43382 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43383 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43384 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43385 fi
43386
43387 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43388 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43389 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43390 fi
43391
43392 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43393 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43394 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43395 fi
43396
43397 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43398 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43399 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43400 fi
43401
43402 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43403 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43404 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43405 fi
43406
43407 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43408 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43409 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43410 fi
43411
43412 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43414 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43415 fi
43416
43417 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43419 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43420 fi
43421
43422 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43424 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43425 fi
43426
43427 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43429 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43430 fi
43431
43432 COND_PLATFORM_MACOS_1="#"
43433 if test "x$PLATFORM_MACOS" = "x1" ; then
43434 COND_PLATFORM_MACOS_1=""
43435 fi
43436
43437 COND_PLATFORM_MAC_1="#"
43438 if test "x$PLATFORM_MAC" = "x1" ; then
43439 COND_PLATFORM_MAC_1=""
43440 fi
43441
43442 COND_PLATFORM_MSDOS_1="#"
43443 if test "x$PLATFORM_MSDOS" = "x1" ; then
43444 COND_PLATFORM_MSDOS_1=""
43445 fi
43446
43447 COND_PLATFORM_OS2_1="#"
43448 if test "x$PLATFORM_OS2" = "x1" ; then
43449 COND_PLATFORM_OS2_1=""
43450 fi
43451
43452 COND_PLATFORM_UNIX_0="#"
43453 if test "x$PLATFORM_UNIX" = "x0" ; then
43454 COND_PLATFORM_UNIX_0=""
43455 fi
43456
43457 COND_PLATFORM_UNIX_1="#"
43458 if test "x$PLATFORM_UNIX" = "x1" ; then
43459 COND_PLATFORM_UNIX_1=""
43460 fi
43461
43462 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43463 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43464 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43465 fi
43466
43467 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43468 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43469 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43470 fi
43471
43472 COND_PLATFORM_WIN32_0="#"
43473 if test "x$PLATFORM_WIN32" = "x0" ; then
43474 COND_PLATFORM_WIN32_0=""
43475 fi
43476
43477 COND_PLATFORM_WIN32_1="#"
43478 if test "x$PLATFORM_WIN32" = "x1" ; then
43479 COND_PLATFORM_WIN32_1=""
43480 fi
43481
43482 COND_SHARED_0="#"
43483 if test "x$SHARED" = "x0" ; then
43484 COND_SHARED_0=""
43485 fi
43486
43487 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43488 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43489 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43490 fi
43491
43492 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43493 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43494 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43495 fi
43496
43497 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43498 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43499 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43500 fi
43501
43502 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43503 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43504 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43505 fi
43506
43507 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43508 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43509 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43510 fi
43511
43512 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43513 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43514 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43515 fi
43516
43517 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43518 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43519 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43520 fi
43521
43522 COND_SHARED_0_USE_XRC_1="#"
43523 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43524 COND_SHARED_0_USE_XRC_1=""
43525 fi
43526
43527 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43528 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43529 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43530 fi
43531
43532 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43533 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43534 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43535 fi
43536
43537 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43538 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43539 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43540 fi
43541
43542 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43543 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43544 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43545 fi
43546
43547 COND_SHARED_1="#"
43548 if test "x$SHARED" = "x1" ; then
43549 COND_SHARED_1=""
43550 fi
43551
43552 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43553 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43554 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43555 fi
43556
43557 COND_SHARED_1_USE_XRC_1="#"
43558 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43559 COND_SHARED_1_USE_XRC_1=""
43560 fi
43561
43562 COND_TOOLKIT_="#"
43563 if test "x$TOOLKIT" = "x" ; then
43564 COND_TOOLKIT_=""
43565 fi
43566
43567 COND_TOOLKIT_COCOA="#"
43568 if test "x$TOOLKIT" = "xCOCOA" ; then
43569 COND_TOOLKIT_COCOA=""
43570 fi
43571
43572 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43573 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43574 COND_TOOLKIT_COCOA_USE_GUI_1=""
43575 fi
43576
43577 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43578 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43579 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43580 fi
43581
43582 COND_TOOLKIT_GTK="#"
43583 if test "x$TOOLKIT" = "xGTK" ; then
43584 COND_TOOLKIT_GTK=""
43585 fi
43586
43587 COND_TOOLKIT_GTK_USE_GUI_1="#"
43588 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43589 COND_TOOLKIT_GTK_USE_GUI_1=""
43590 fi
43591
43592 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43593 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43594 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43595 fi
43596
43597 COND_TOOLKIT_MAC="#"
43598 if test "x$TOOLKIT" = "xMAC" ; then
43599 COND_TOOLKIT_MAC=""
43600 fi
43601
43602 COND_TOOLKIT_MAC_USE_GUI_1="#"
43603 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43604 COND_TOOLKIT_MAC_USE_GUI_1=""
43605 fi
43606
43607 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43608 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43609 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43610 fi
43611
43612 COND_TOOLKIT_MGL="#"
43613 if test "x$TOOLKIT" = "xMGL" ; then
43614 COND_TOOLKIT_MGL=""
43615 fi
43616
43617 COND_TOOLKIT_MGL_USE_GUI_1="#"
43618 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43619 COND_TOOLKIT_MGL_USE_GUI_1=""
43620 fi
43621
43622 COND_TOOLKIT_MOTIF="#"
43623 if test "x$TOOLKIT" = "xMOTIF" ; then
43624 COND_TOOLKIT_MOTIF=""
43625 fi
43626
43627 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43628 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43629 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43630 fi
43631
43632 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43633 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43634 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43635 fi
43636
43637 COND_TOOLKIT_MSW="#"
43638 if test "x$TOOLKIT" = "xMSW" ; then
43639 COND_TOOLKIT_MSW=""
43640 fi
43641
43642 COND_TOOLKIT_MSW_USE_GUI_1="#"
43643 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43644 COND_TOOLKIT_MSW_USE_GUI_1=""
43645 fi
43646
43647 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43648 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43649 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43650 fi
43651
43652 COND_TOOLKIT_PM="#"
43653 if test "x$TOOLKIT" = "xPM" ; then
43654 COND_TOOLKIT_PM=""
43655 fi
43656
43657 COND_TOOLKIT_PM_USE_GUI_1="#"
43658 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43659 COND_TOOLKIT_PM_USE_GUI_1=""
43660 fi
43661
43662 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43663 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43664 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43665 fi
43666
43667 COND_TOOLKIT_WINCE="#"
43668 if test "x$TOOLKIT" = "xWINCE" ; then
43669 COND_TOOLKIT_WINCE=""
43670 fi
43671
43672 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43673 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43674 COND_TOOLKIT_WINCE_USE_GUI_1=""
43675 fi
43676
43677 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43678 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43679 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43680 fi
43681
43682 COND_TOOLKIT_X11="#"
43683 if test "x$TOOLKIT" = "xX11" ; then
43684 COND_TOOLKIT_X11=""
43685 fi
43686
43687 COND_TOOLKIT_X11_USE_GUI_1="#"
43688 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43689 COND_TOOLKIT_X11_USE_GUI_1=""
43690 fi
43691
43692 COND_UNICODE_1="#"
43693 if test "x$UNICODE" = "x1" ; then
43694 COND_UNICODE_1=""
43695 fi
43696
43697 COND_USE_EXCEPTIONS_0="#"
43698 if test "x$USE_EXCEPTIONS" = "x0" ; then
43699 COND_USE_EXCEPTIONS_0=""
43700 fi
43701
43702 COND_USE_EXCEPTIONS_1="#"
43703 if test "x$USE_EXCEPTIONS" = "x1" ; then
43704 COND_USE_EXCEPTIONS_1=""
43705 fi
43706
43707 COND_USE_GUI_0="#"
43708 if test "x$USE_GUI" = "x0" ; then
43709 COND_USE_GUI_0=""
43710 fi
43711
43712 COND_USE_GUI_1="#"
43713 if test "x$USE_GUI" = "x1" ; then
43714 COND_USE_GUI_1=""
43715 fi
43716
43717 COND_USE_GUI_1_WXUNIV_0="#"
43718 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43719 COND_USE_GUI_1_WXUNIV_0=""
43720 fi
43721
43722 COND_USE_GUI_1_WXUNIV_1="#"
43723 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43724 COND_USE_GUI_1_WXUNIV_1=""
43725 fi
43726
43727 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43728 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43729 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43730 fi
43731
43732 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43733 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43734 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43735 fi
43736
43737 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43738 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43739 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43740 fi
43741
43742 COND_USE_ODBC_1="#"
43743 if test "x$USE_ODBC" = "x1" ; then
43744 COND_USE_ODBC_1=""
43745 fi
43746
43747 COND_USE_OPENGL_1="#"
43748 if test "x$USE_OPENGL" = "x1" ; then
43749 COND_USE_OPENGL_1=""
43750 fi
43751
43752 COND_USE_PLUGINS_0="#"
43753 if test "x$USE_PLUGINS" = "x0" ; then
43754 COND_USE_PLUGINS_0=""
43755 fi
43756
43757 COND_USE_RTTI_0="#"
43758 if test "x$USE_RTTI" = "x0" ; then
43759 COND_USE_RTTI_0=""
43760 fi
43761
43762 COND_USE_RTTI_1="#"
43763 if test "x$USE_RTTI" = "x1" ; then
43764 COND_USE_RTTI_1=""
43765 fi
43766
43767 COND_USE_SOSYMLINKS_1="#"
43768 if test "x$USE_SOSYMLINKS" = "x1" ; then
43769 COND_USE_SOSYMLINKS_1=""
43770 fi
43771
43772 COND_USE_SOVERLINUX_1="#"
43773 if test "x$USE_SOVERLINUX" = "x1" ; then
43774 COND_USE_SOVERLINUX_1=""
43775 fi
43776
43777 COND_USE_SOVERSION_0="#"
43778 if test "x$USE_SOVERSION" = "x0" ; then
43779 COND_USE_SOVERSION_0=""
43780 fi
43781
43782 COND_USE_SOVERSOLARIS_1="#"
43783 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43784 COND_USE_SOVERSOLARIS_1=""
43785 fi
43786
43787 COND_USE_THREADS_0="#"
43788 if test "x$USE_THREADS" = "x0" ; then
43789 COND_USE_THREADS_0=""
43790 fi
43791
43792 COND_USE_THREADS_1="#"
43793 if test "x$USE_THREADS" = "x1" ; then
43794 COND_USE_THREADS_1=""
43795 fi
43796
43797 COND_USE_XRC_1="#"
43798 if test "x$USE_XRC" = "x1" ; then
43799 COND_USE_XRC_1=""
43800 fi
43801
43802 COND_WITH_PLUGIN_SDL_1="#"
43803 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43804 COND_WITH_PLUGIN_SDL_1=""
43805 fi
43806
43807 COND_WXUNIV_0="#"
43808 if test "x$WXUNIV" = "x0" ; then
43809 COND_WXUNIV_0=""
43810 fi
43811
43812 COND_WXUNIV_1="#"
43813 if test "x$WXUNIV" = "x1" ; then
43814 COND_WXUNIV_1=""
43815 fi
43816
43817 COND_WXUSE_EXPAT_BUILTIN="#"
43818 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43819 COND_WXUSE_EXPAT_BUILTIN=""
43820 fi
43821
43822 COND_WXUSE_LIBJPEG_BUILTIN="#"
43823 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43824 COND_WXUSE_LIBJPEG_BUILTIN=""
43825 fi
43826
43827 COND_WXUSE_LIBPNG_BUILTIN="#"
43828 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43829 COND_WXUSE_LIBPNG_BUILTIN=""
43830 fi
43831
43832 COND_WXUSE_LIBTIFF_BUILTIN="#"
43833 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43834 COND_WXUSE_LIBTIFF_BUILTIN=""
43835 fi
43836
43837 COND_WXUSE_ODBC_BUILTIN="#"
43838 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43839 COND_WXUSE_ODBC_BUILTIN=""
43840 fi
43841
43842 COND_WXUSE_REGEX_BUILTIN="#"
43843 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43844 COND_WXUSE_REGEX_BUILTIN=""
43845 fi
43846
43847 COND_WXUSE_ZLIB_BUILTIN="#"
43848 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43849 COND_WXUSE_ZLIB_BUILTIN=""
43850 fi
43851
43852
43853
43854 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43855 { { 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
43856 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;}
43857 { (exit 1); exit 1; }; }
43858 fi
43859
43860
43861 if test "$wxUSE_WINE" = "yes"; then
43862 RESCOMP=wrc
43863 fi
43864
43865 if test "$wxUSE_SHARED" = "yes"; then
43866
43867 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43868 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43869
43870 case "${host}" in
43871 *-pc-os2_emx | *-pc-os2-emx )
43872 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43873 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43874 cp -p ${srcdir}/src/os2/dllnames.sh .
43875 cp -p ${srcdir}/src/os2/dllar.sh .
43876 ;;
43877 esac
43878 else
43879
43880 EXE_LINKER="$CXX -o"
43881
43882 fi
43883 if test "$wxUSE_OMF" = "yes"; then
43884 case "${host}" in
43885 *-pc-os2_emx | *-pc-os2-emx )
43886 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
43887 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43888 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43889 ;;
43890 esac
43891 fi
43892
43893 GCC_PRAGMA_FLAGS=""
43894 PCH_FLAGS=""
43895 if test $GCC_PCH = 1 ; then
43896 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43897 PCH_FLAGS="-DWX_PRECOMP"
43898 else
43899 case "${host}" in
43900 powerpc-*-darwin* )
43901 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43902 ;;
43903 *-*-mingw32* )
43904 if test "$wxUSE_STL" = "yes" -o \
43905 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43906 "$wxUSE_NO_RTTI" != "yes"; then
43907 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43908 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43909 cat >conftest.$ac_ext <<_ACEOF
43910 /* confdefs.h. */
43911 _ACEOF
43912 cat confdefs.h >>conftest.$ac_ext
43913 cat >>conftest.$ac_ext <<_ACEOF
43914 /* end confdefs.h. */
43915
43916 int
43917 main ()
43918 {
43919 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43920 #error "Not GCC 3.2 or greater"
43921 #endif
43922
43923 ;
43924 return 0;
43925 }
43926 _ACEOF
43927 rm -f conftest.$ac_objext
43928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43929 (eval $ac_compile) 2>conftest.er1
43930 ac_status=$?
43931 grep -v '^ *+' conftest.er1 >conftest.err
43932 rm -f conftest.er1
43933 cat conftest.err >&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); } &&
43936 { ac_try='test -z "$ac_c_werror_flag"
43937 || test ! -s conftest.err'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43940 ac_status=$?
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; } &&
43943 { ac_try='test -s conftest.$ac_objext'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43946 ac_status=$?
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; }; then
43949 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43950 echo "$as_me:$LINENO: result: yes" >&5
43951 echo "${ECHO_T}yes" >&6
43952 else
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43955
43956 echo "$as_me:$LINENO: result: no" >&5
43957 echo "${ECHO_T}no" >&6
43958 fi
43959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43960 fi
43961 ;;
43962 *-pc-os2_emx | *-pc-os2-emx )
43963 if test "$wxUSE_STL" = "yes"; then
43964 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43965 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43966 cat >conftest.$ac_ext <<_ACEOF
43967 /* confdefs.h. */
43968 _ACEOF
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h. */
43972
43973 int
43974 main ()
43975 {
43976 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43977 #error "Not GCC 3.2 or greater"
43978 #endif
43979
43980 ;
43981 return 0;
43982 }
43983 _ACEOF
43984 rm -f conftest.$ac_objext
43985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43986 (eval $ac_compile) 2>conftest.er1
43987 ac_status=$?
43988 grep -v '^ *+' conftest.er1 >conftest.err
43989 rm -f conftest.er1
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } &&
43993 { ac_try='test -z "$ac_c_werror_flag"
43994 || test ! -s conftest.err'
43995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43996 (eval $ac_try) 2>&5
43997 ac_status=$?
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); }; } &&
44000 { ac_try='test -s conftest.$ac_objext'
44001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002 (eval $ac_try) 2>&5
44003 ac_status=$?
44004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005 (exit $ac_status); }; }; then
44006 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44007 echo "$as_me:$LINENO: result: yes" >&5
44008 echo "${ECHO_T}yes" >&6
44009 else
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44012
44013 echo "$as_me:$LINENO: result: no" >&5
44014 echo "${ECHO_T}no" >&6
44015 fi
44016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44017 fi
44018 ;;
44019 esac
44020 fi
44021 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44022
44023
44024 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44089 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44090 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44091 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44093 else
44094 cat >conftest.make <<\_ACEOF
44095 all:
44096 @echo 'ac_maketemp="$(MAKE)"'
44097 _ACEOF
44098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44099 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44100 if test -n "$ac_maketemp"; then
44101 eval ac_cv_prog_make_${ac_make}_set=yes
44102 else
44103 eval ac_cv_prog_make_${ac_make}_set=no
44104 fi
44105 rm -f conftest.make
44106 fi
44107 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44108 echo "$as_me:$LINENO: result: yes" >&5
44109 echo "${ECHO_T}yes" >&6
44110 SET_MAKE=
44111 else
44112 echo "$as_me:$LINENO: result: no" >&5
44113 echo "${ECHO_T}no" >&6
44114 SET_MAKE="MAKE=${MAKE-make}"
44115 fi
44116
44117
44118
44119 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44120
44121
44122 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44123
44124
44125 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44126
44127
44128 ac_config_files="$ac_config_files version-script Makefile"
44129
44130
44131 ac_config_commands="$ac_config_commands wx-config
44132 "
44133
44134
44135
44136
44137 if test "$wxUSE_GUI" = "yes"; then
44138 SUBDIRS="samples demos utils contrib"
44139 else SUBDIRS="samples utils"
44140 fi
44141
44142
44143
44144 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44145 if test "${with_cppunit_prefix+set}" = set; then
44146 withval="$with_cppunit_prefix"
44147 cppunit_config_prefix="$withval"
44148 else
44149 cppunit_config_prefix=""
44150 fi;
44151
44152 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44153 if test "${with_cppunit_exec_prefix+set}" = set; then
44154 withval="$with_cppunit_exec_prefix"
44155 cppunit_config_exec_prefix="$withval"
44156 else
44157 cppunit_config_exec_prefix=""
44158 fi;
44159
44160 if test x$cppunit_config_exec_prefix != x ; then
44161 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44162 if test x${CPPUNIT_CONFIG+set} != xset ; then
44163 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44164 fi
44165 fi
44166 if test x$cppunit_config_prefix != x ; then
44167 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44168 if test x${CPPUNIT_CONFIG+set} != xset ; then
44169 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44170 fi
44171 fi
44172
44173 # Extract the first word of "cppunit-config", so it can be a program name with args.
44174 set dummy cppunit-config; ac_word=$2
44175 echo "$as_me:$LINENO: checking for $ac_word" >&5
44176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44177 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44179 else
44180 case $CPPUNIT_CONFIG in
44181 [\\/]* | ?:[\\/]*)
44182 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44183 ;;
44184 *)
44185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44186 for as_dir in $PATH
44187 do
44188 IFS=$as_save_IFS
44189 test -z "$as_dir" && as_dir=.
44190 for ac_exec_ext in '' $ac_executable_extensions; do
44191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44192 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44194 break 2
44195 fi
44196 done
44197 done
44198
44199 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44200 ;;
44201 esac
44202 fi
44203 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44204
44205 if test -n "$CPPUNIT_CONFIG"; then
44206 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44207 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44208 else
44209 echo "$as_me:$LINENO: result: no" >&5
44210 echo "${ECHO_T}no" >&6
44211 fi
44212
44213 cppunit_version_min=1.8.0
44214
44215 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44216 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44217 no_cppunit=""
44218 if test "$CPPUNIT_CONFIG" = "no" ; then
44219 no_cppunit=yes
44220 else
44221 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44222 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44223 cppunit_version=`$CPPUNIT_CONFIG --version`
44224
44225 cppunit_major_version=`echo $cppunit_version | \
44226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44227 cppunit_minor_version=`echo $cppunit_version | \
44228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44229 cppunit_micro_version=`echo $cppunit_version | \
44230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44231
44232 cppunit_major_min=`echo $cppunit_version_min | \
44233 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44234 cppunit_minor_min=`echo $cppunit_version_min | \
44235 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44236 cppunit_micro_min=`echo $cppunit_version_min | \
44237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44238
44239 cppunit_version_proper=`expr \
44240 $cppunit_major_version \> $cppunit_major_min \| \
44241 $cppunit_major_version \= $cppunit_major_min \& \
44242 $cppunit_minor_version \> $cppunit_minor_min \| \
44243 $cppunit_major_version \= $cppunit_major_min \& \
44244 $cppunit_minor_version \= $cppunit_minor_min \& \
44245 $cppunit_micro_version \>= $cppunit_micro_min `
44246
44247 if test "$cppunit_version_proper" = "1" ; then
44248 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44249 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44250 else
44251 echo "$as_me:$LINENO: result: no" >&5
44252 echo "${ECHO_T}no" >&6
44253 no_cppunit=yes
44254 fi
44255 fi
44256
44257 if test "x$no_cppunit" = x ; then
44258 SUBDIRS="$SUBDIRS tests"
44259 else
44260 CPPUNIT_CFLAGS=""
44261 CPPUNIT_LIBS=""
44262 :
44263 fi
44264
44265
44266
44267
44268
44269 for subdir in `echo $SUBDIRS`; do
44270 if test -d ${srcdir}/${subdir} ; then
44271 if test "$wxUSE_GUI" = "yes"; then
44272 if test ${subdir} = "samples"; then
44273 makefiles="samples/Makefile.in $makefiles"
44274 for sample in `echo $SAMPLES_SUBDIRS`; do
44275 if test -d $srcdir/samples/$sample; then
44276 makefiles="samples/$sample/Makefile.in $makefiles"
44277 fi
44278 done
44279 else
44280 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44281 eval "disabled=\$$disabled_var"
44282 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44283 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44284 fi
44285 else if test ${subdir} = "samples"; then
44286 makefiles="samples/Makefile.in samples/console/Makefile.in"
44287 elif test ${subdir} = "utils"; then
44288 makefiles=""
44289 for util in HelpGen tex2rtf ; do
44290 if test -d $srcdir/utils/$util ; then
44291 makefiles="utils/$util/Makefile.in \
44292 utils/$util/src/Makefile.in \
44293 $makefiles"
44294 fi
44295 done
44296 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44297 fi
44298 fi
44299
44300 for mkin in $makefiles ; do
44301 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44302 ac_config_files="$ac_config_files $mk"
44303
44304 done
44305 fi
44306 done
44307
44308
44309 cat >confcache <<\_ACEOF
44310 # This file is a shell script that caches the results of configure
44311 # tests run on this system so they can be shared between configure
44312 # scripts and configure runs, see configure's option --config-cache.
44313 # It is not useful on other systems. If it contains results you don't
44314 # want to keep, you may remove or edit it.
44315 #
44316 # config.status only pays attention to the cache file if you give it
44317 # the --recheck option to rerun configure.
44318 #
44319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44321 # following values.
44322
44323 _ACEOF
44324
44325 # The following way of writing the cache mishandles newlines in values,
44326 # but we know of no workaround that is simple, portable, and efficient.
44327 # So, don't put newlines in cache variables' values.
44328 # Ultrix sh set writes to stderr and can't be redirected directly,
44329 # and sets the high bit in the cache file unless we assign to the vars.
44330 {
44331 (set) 2>&1 |
44332 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44333 *ac_space=\ *)
44334 # `set' does not quote correctly, so add quotes (double-quote
44335 # substitution turns \\\\ into \\, and sed turns \\ into \).
44336 sed -n \
44337 "s/'/'\\\\''/g;
44338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44339 ;;
44340 *)
44341 # `set' quotes correctly as required by POSIX, so do not add quotes.
44342 sed -n \
44343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44344 ;;
44345 esac;
44346 } |
44347 sed '
44348 t clear
44349 : clear
44350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44351 t end
44352 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44353 : end' >>confcache
44354 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44355 if test -w $cache_file; then
44356 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44357 cat confcache >$cache_file
44358 else
44359 echo "not updating unwritable cache $cache_file"
44360 fi
44361 fi
44362 rm -f confcache
44363
44364 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44365 # Let make expand exec_prefix.
44366 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44367
44368 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44369 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44370 # trailing colons and then remove the whole line if VPATH becomes empty
44371 # (actually we leave an empty line to preserve line numbers).
44372 if test "x$srcdir" = x.; then
44373 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44374 s/:*\$(srcdir):*/:/;
44375 s/:*\${srcdir}:*/:/;
44376 s/:*@srcdir@:*/:/;
44377 s/^\([^=]*=[ ]*\):*/\1/;
44378 s/:*$//;
44379 s/^[^=]*=[ ]*$//;
44380 }'
44381 fi
44382
44383 DEFS=-DHAVE_CONFIG_H
44384
44385 ac_libobjs=
44386 ac_ltlibobjs=
44387 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44388 # 1. Remove the extension, and $U if already installed.
44389 ac_i=`echo "$ac_i" |
44390 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44391 # 2. Add them.
44392 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44393 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44394 done
44395 LIBOBJS=$ac_libobjs
44396
44397 LTLIBOBJS=$ac_ltlibobjs
44398
44399
44400
44401 : ${CONFIG_STATUS=./config.status}
44402 ac_clean_files_save=$ac_clean_files
44403 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44404 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44405 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44406 cat >$CONFIG_STATUS <<_ACEOF
44407 #! $SHELL
44408 # Generated by $as_me.
44409 # Run this file to recreate the current configuration.
44410 # Compiler output produced by configure, useful for debugging
44411 # configure, is in config.log if it exists.
44412
44413 debug=false
44414 ac_cs_recheck=false
44415 ac_cs_silent=false
44416 SHELL=\${CONFIG_SHELL-$SHELL}
44417 _ACEOF
44418
44419 cat >>$CONFIG_STATUS <<\_ACEOF
44420 ## --------------------- ##
44421 ## M4sh Initialization. ##
44422 ## --------------------- ##
44423
44424 # Be Bourne compatible
44425 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44426 emulate sh
44427 NULLCMD=:
44428 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44429 # is contrary to our usage. Disable this feature.
44430 alias -g '${1+"$@"}'='"$@"'
44431 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44432 set -o posix
44433 fi
44434 DUALCASE=1; export DUALCASE # for MKS sh
44435
44436 # Support unset when possible.
44437 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44438 as_unset=unset
44439 else
44440 as_unset=false
44441 fi
44442
44443
44444 # Work around bugs in pre-3.0 UWIN ksh.
44445 $as_unset ENV MAIL MAILPATH
44446 PS1='$ '
44447 PS2='> '
44448 PS4='+ '
44449
44450 # NLS nuisances.
44451 for as_var in \
44452 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44453 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44454 LC_TELEPHONE LC_TIME
44455 do
44456 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44457 eval $as_var=C; export $as_var
44458 else
44459 $as_unset $as_var
44460 fi
44461 done
44462
44463 # Required to use basename.
44464 if expr a : '\(a\)' >/dev/null 2>&1; then
44465 as_expr=expr
44466 else
44467 as_expr=false
44468 fi
44469
44470 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44471 as_basename=basename
44472 else
44473 as_basename=false
44474 fi
44475
44476
44477 # Name of the executable.
44478 as_me=`$as_basename "$0" ||
44479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44480 X"$0" : 'X\(//\)$' \| \
44481 X"$0" : 'X\(/\)$' \| \
44482 . : '\(.\)' 2>/dev/null ||
44483 echo X/"$0" |
44484 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44485 /^X\/\(\/\/\)$/{ s//\1/; q; }
44486 /^X\/\(\/\).*/{ s//\1/; q; }
44487 s/.*/./; q'`
44488
44489
44490 # PATH needs CR, and LINENO needs CR and PATH.
44491 # Avoid depending upon Character Ranges.
44492 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44493 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44494 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44495 as_cr_digits='0123456789'
44496 as_cr_alnum=$as_cr_Letters$as_cr_digits
44497
44498 # The user is always right.
44499 if test "${PATH_SEPARATOR+set}" != set; then
44500 echo "#! /bin/sh" >conf$$.sh
44501 echo "exit 0" >>conf$$.sh
44502 chmod +x conf$$.sh
44503 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44504 PATH_SEPARATOR=';'
44505 else
44506 PATH_SEPARATOR=:
44507 fi
44508 rm -f conf$$.sh
44509 fi
44510
44511
44512 as_lineno_1=$LINENO
44513 as_lineno_2=$LINENO
44514 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44515 test "x$as_lineno_1" != "x$as_lineno_2" &&
44516 test "x$as_lineno_3" = "x$as_lineno_2" || {
44517 # Find who we are. Look in the path if we contain no path at all
44518 # relative or not.
44519 case $0 in
44520 *[\\/]* ) as_myself=$0 ;;
44521 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44522 for as_dir in $PATH
44523 do
44524 IFS=$as_save_IFS
44525 test -z "$as_dir" && as_dir=.
44526 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44527 done
44528
44529 ;;
44530 esac
44531 # We did not find ourselves, most probably we were run as `sh COMMAND'
44532 # in which case we are not to be found in the path.
44533 if test "x$as_myself" = x; then
44534 as_myself=$0
44535 fi
44536 if test ! -f "$as_myself"; then
44537 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44538 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44539 { (exit 1); exit 1; }; }
44540 fi
44541 case $CONFIG_SHELL in
44542 '')
44543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44544 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44545 do
44546 IFS=$as_save_IFS
44547 test -z "$as_dir" && as_dir=.
44548 for as_base in sh bash ksh sh5; do
44549 case $as_dir in
44550 /*)
44551 if ("$as_dir/$as_base" -c '
44552 as_lineno_1=$LINENO
44553 as_lineno_2=$LINENO
44554 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44555 test "x$as_lineno_1" != "x$as_lineno_2" &&
44556 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44557 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44558 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44559 CONFIG_SHELL=$as_dir/$as_base
44560 export CONFIG_SHELL
44561 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44562 fi;;
44563 esac
44564 done
44565 done
44566 ;;
44567 esac
44568
44569 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44570 # uniformly replaced by the line number. The first 'sed' inserts a
44571 # line-number line before each line; the second 'sed' does the real
44572 # work. The second script uses 'N' to pair each line-number line
44573 # with the numbered line, and appends trailing '-' during
44574 # substitution so that $LINENO is not a special case at line end.
44575 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44576 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44577 sed '=' <$as_myself |
44578 sed '
44579 N
44580 s,$,-,
44581 : loop
44582 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44583 t loop
44584 s,-$,,
44585 s,^['$as_cr_digits']*\n,,
44586 ' >$as_me.lineno &&
44587 chmod +x $as_me.lineno ||
44588 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44589 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44590 { (exit 1); exit 1; }; }
44591
44592 # Don't try to exec as it changes $[0], causing all sort of problems
44593 # (the dirname of $[0] is not the place where we might find the
44594 # original and so on. Autoconf is especially sensible to this).
44595 . ./$as_me.lineno
44596 # Exit status is that of the last command.
44597 exit
44598 }
44599
44600
44601 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44602 *c*,-n*) ECHO_N= ECHO_C='
44603 ' ECHO_T=' ' ;;
44604 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44605 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44606 esac
44607
44608 if expr a : '\(a\)' >/dev/null 2>&1; then
44609 as_expr=expr
44610 else
44611 as_expr=false
44612 fi
44613
44614 rm -f conf$$ conf$$.exe conf$$.file
44615 echo >conf$$.file
44616 if ln -s conf$$.file conf$$ 2>/dev/null; then
44617 # We could just check for DJGPP; but this test a) works b) is more generic
44618 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44619 if test -f conf$$.exe; then
44620 # Don't use ln at all; we don't have any links
44621 as_ln_s='cp -p'
44622 else
44623 as_ln_s='ln -s'
44624 fi
44625 elif ln conf$$.file conf$$ 2>/dev/null; then
44626 as_ln_s=ln
44627 else
44628 as_ln_s='cp -p'
44629 fi
44630 rm -f conf$$ conf$$.exe conf$$.file
44631
44632 if mkdir -p . 2>/dev/null; then
44633 as_mkdir_p=:
44634 else
44635 test -d ./-p && rmdir ./-p
44636 as_mkdir_p=false
44637 fi
44638
44639 as_executable_p="test -f"
44640
44641 # Sed expression to map a string onto a valid CPP name.
44642 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44643
44644 # Sed expression to map a string onto a valid variable name.
44645 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44646
44647
44648 # IFS
44649 # We need space, tab and new line, in precisely that order.
44650 as_nl='
44651 '
44652 IFS=" $as_nl"
44653
44654 # CDPATH.
44655 $as_unset CDPATH
44656
44657 exec 6>&1
44658
44659 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44660 # report actual input values of CONFIG_FILES etc. instead of their
44661 # values after options handling. Logging --version etc. is OK.
44662 exec 5>>config.log
44663 {
44664 echo
44665 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44666 ## Running $as_me. ##
44667 _ASBOX
44668 } >&5
44669 cat >&5 <<_CSEOF
44670
44671 This file was extended by wxWidgets $as_me 2.6.0, which was
44672 generated by GNU Autoconf 2.59. Invocation command line was
44673
44674 CONFIG_FILES = $CONFIG_FILES
44675 CONFIG_HEADERS = $CONFIG_HEADERS
44676 CONFIG_LINKS = $CONFIG_LINKS
44677 CONFIG_COMMANDS = $CONFIG_COMMANDS
44678 $ $0 $@
44679
44680 _CSEOF
44681 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44682 echo >&5
44683 _ACEOF
44684
44685 # Files that config.status was made for.
44686 if test -n "$ac_config_files"; then
44687 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44688 fi
44689
44690 if test -n "$ac_config_headers"; then
44691 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44692 fi
44693
44694 if test -n "$ac_config_links"; then
44695 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44696 fi
44697
44698 if test -n "$ac_config_commands"; then
44699 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44700 fi
44701
44702 cat >>$CONFIG_STATUS <<\_ACEOF
44703
44704 ac_cs_usage="\
44705 \`$as_me' instantiates files from templates according to the
44706 current configuration.
44707
44708 Usage: $0 [OPTIONS] [FILE]...
44709
44710 -h, --help print this help, then exit
44711 -V, --version print version number, then exit
44712 -q, --quiet do not print progress messages
44713 -d, --debug don't remove temporary files
44714 --recheck update $as_me by reconfiguring in the same conditions
44715 --file=FILE[:TEMPLATE]
44716 instantiate the configuration file FILE
44717 --header=FILE[:TEMPLATE]
44718 instantiate the configuration header FILE
44719
44720 Configuration files:
44721 $config_files
44722
44723 Configuration headers:
44724 $config_headers
44725
44726 Configuration commands:
44727 $config_commands
44728
44729 Report bugs to <bug-autoconf@gnu.org>."
44730 _ACEOF
44731
44732 cat >>$CONFIG_STATUS <<_ACEOF
44733 ac_cs_version="\\
44734 wxWidgets config.status 2.6.0
44735 configured by $0, generated by GNU Autoconf 2.59,
44736 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44737
44738 Copyright (C) 2003 Free Software Foundation, Inc.
44739 This config.status script is free software; the Free Software Foundation
44740 gives unlimited permission to copy, distribute and modify it."
44741 srcdir=$srcdir
44742 INSTALL="$INSTALL"
44743 _ACEOF
44744
44745 cat >>$CONFIG_STATUS <<\_ACEOF
44746 # If no file are specified by the user, then we need to provide default
44747 # value. By we need to know if files were specified by the user.
44748 ac_need_defaults=:
44749 while test $# != 0
44750 do
44751 case $1 in
44752 --*=*)
44753 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44754 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44755 ac_shift=:
44756 ;;
44757 -*)
44758 ac_option=$1
44759 ac_optarg=$2
44760 ac_shift=shift
44761 ;;
44762 *) # This is not an option, so the user has probably given explicit
44763 # arguments.
44764 ac_option=$1
44765 ac_need_defaults=false;;
44766 esac
44767
44768 case $ac_option in
44769 # Handling of the options.
44770 _ACEOF
44771 cat >>$CONFIG_STATUS <<\_ACEOF
44772 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44773 ac_cs_recheck=: ;;
44774 --version | --vers* | -V )
44775 echo "$ac_cs_version"; exit 0 ;;
44776 --he | --h)
44777 # Conflict between --help and --header
44778 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44779 Try \`$0 --help' for more information." >&5
44780 echo "$as_me: error: ambiguous option: $1
44781 Try \`$0 --help' for more information." >&2;}
44782 { (exit 1); exit 1; }; };;
44783 --help | --hel | -h )
44784 echo "$ac_cs_usage"; exit 0 ;;
44785 --debug | --d* | -d )
44786 debug=: ;;
44787 --file | --fil | --fi | --f )
44788 $ac_shift
44789 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44790 ac_need_defaults=false;;
44791 --header | --heade | --head | --hea )
44792 $ac_shift
44793 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44794 ac_need_defaults=false;;
44795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44796 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44797 ac_cs_silent=: ;;
44798
44799 # This is an error.
44800 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44801 Try \`$0 --help' for more information." >&5
44802 echo "$as_me: error: unrecognized option: $1
44803 Try \`$0 --help' for more information." >&2;}
44804 { (exit 1); exit 1; }; } ;;
44805
44806 *) ac_config_targets="$ac_config_targets $1" ;;
44807
44808 esac
44809 shift
44810 done
44811
44812 ac_configure_extra_args=
44813
44814 if $ac_cs_silent; then
44815 exec 6>/dev/null
44816 ac_configure_extra_args="$ac_configure_extra_args --silent"
44817 fi
44818
44819 _ACEOF
44820 cat >>$CONFIG_STATUS <<_ACEOF
44821 if \$ac_cs_recheck; then
44822 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44823 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44824 fi
44825
44826 _ACEOF
44827
44828 cat >>$CONFIG_STATUS <<_ACEOF
44829 #
44830 # INIT-COMMANDS section.
44831 #
44832
44833 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44834 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44835 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44836 LN_S="${LN_S}"
44837
44838
44839 _ACEOF
44840
44841
44842
44843 cat >>$CONFIG_STATUS <<\_ACEOF
44844 for ac_config_target in $ac_config_targets
44845 do
44846 case "$ac_config_target" in
44847 # Handling of arguments.
44848 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44849 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44850 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44851 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44852 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44853 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44854 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44855 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44856 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44857 { (exit 1); exit 1; }; };;
44858 esac
44859 done
44860
44861 # If the user did not use the arguments to specify the items to instantiate,
44862 # then the envvar interface is used. Set only those that are not.
44863 # We use the long form for the default assignment because of an extremely
44864 # bizarre bug on SunOS 4.1.3.
44865 if $ac_need_defaults; then
44866 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44867 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44868 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44869 fi
44870
44871 # Have a temporary directory for convenience. Make it in the build tree
44872 # simply because there is no reason to put it here, and in addition,
44873 # creating and moving files from /tmp can sometimes cause problems.
44874 # Create a temporary directory, and hook for its removal unless debugging.
44875 $debug ||
44876 {
44877 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44878 trap '{ (exit 1); exit 1; }' 1 2 13 15
44879 }
44880
44881 # Create a (secure) tmp directory for tmp files.
44882
44883 {
44884 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44885 test -n "$tmp" && test -d "$tmp"
44886 } ||
44887 {
44888 tmp=./confstat$$-$RANDOM
44889 (umask 077 && mkdir $tmp)
44890 } ||
44891 {
44892 echo "$me: cannot create a temporary directory in ." >&2
44893 { (exit 1); exit 1; }
44894 }
44895
44896 _ACEOF
44897
44898 cat >>$CONFIG_STATUS <<_ACEOF
44899
44900 #
44901 # CONFIG_FILES section.
44902 #
44903
44904 # No need to generate the scripts if there are no CONFIG_FILES.
44905 # This happens for instance when ./config.status config.h
44906 if test -n "\$CONFIG_FILES"; then
44907 # Protect against being on the right side of a sed subst in config.status.
44908 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44909 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44910 s,@SHELL@,$SHELL,;t t
44911 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44912 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44913 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44914 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44915 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44916 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44917 s,@exec_prefix@,$exec_prefix,;t t
44918 s,@prefix@,$prefix,;t t
44919 s,@program_transform_name@,$program_transform_name,;t t
44920 s,@bindir@,$bindir,;t t
44921 s,@sbindir@,$sbindir,;t t
44922 s,@libexecdir@,$libexecdir,;t t
44923 s,@datadir@,$datadir,;t t
44924 s,@sysconfdir@,$sysconfdir,;t t
44925 s,@sharedstatedir@,$sharedstatedir,;t t
44926 s,@localstatedir@,$localstatedir,;t t
44927 s,@libdir@,$libdir,;t t
44928 s,@includedir@,$includedir,;t t
44929 s,@oldincludedir@,$oldincludedir,;t t
44930 s,@infodir@,$infodir,;t t
44931 s,@mandir@,$mandir,;t t
44932 s,@build_alias@,$build_alias,;t t
44933 s,@host_alias@,$host_alias,;t t
44934 s,@target_alias@,$target_alias,;t t
44935 s,@DEFS@,$DEFS,;t t
44936 s,@ECHO_C@,$ECHO_C,;t t
44937 s,@ECHO_N@,$ECHO_N,;t t
44938 s,@ECHO_T@,$ECHO_T,;t t
44939 s,@LIBS@,$LIBS,;t t
44940 s,@build@,$build,;t t
44941 s,@build_cpu@,$build_cpu,;t t
44942 s,@build_vendor@,$build_vendor,;t t
44943 s,@build_os@,$build_os,;t t
44944 s,@host@,$host,;t t
44945 s,@host_cpu@,$host_cpu,;t t
44946 s,@host_vendor@,$host_vendor,;t t
44947 s,@host_os@,$host_os,;t t
44948 s,@target@,$target,;t t
44949 s,@target_cpu@,$target_cpu,;t t
44950 s,@target_vendor@,$target_vendor,;t t
44951 s,@target_os@,$target_os,;t t
44952 s,@CC@,$CC,;t t
44953 s,@CFLAGS@,$CFLAGS,;t t
44954 s,@LDFLAGS@,$LDFLAGS,;t t
44955 s,@CPPFLAGS@,$CPPFLAGS,;t t
44956 s,@ac_ct_CC@,$ac_ct_CC,;t t
44957 s,@EXEEXT@,$EXEEXT,;t t
44958 s,@OBJEXT@,$OBJEXT,;t t
44959 s,@CPP@,$CPP,;t t
44960 s,@EGREP@,$EGREP,;t t
44961 s,@CXX@,$CXX,;t t
44962 s,@CXXFLAGS@,$CXXFLAGS,;t t
44963 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44964 s,@RANLIB@,$RANLIB,;t t
44965 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44966 s,@AR@,$AR,;t t
44967 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44968 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44969 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44970 s,@STRIP@,$STRIP,;t t
44971 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44972 s,@LN_S@,$LN_S,;t t
44973 s,@CXXCPP@,$CXXCPP,;t t
44974 s,@subdirs@,$subdirs,;t t
44975 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44976 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44977 s,@GTK_LIBS@,$GTK_LIBS,;t t
44978 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44979 s,@X_CFLAGS@,$X_CFLAGS,;t t
44980 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44981 s,@X_LIBS@,$X_LIBS,;t t
44982 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44983 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44984 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44985 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44986 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44987 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44988 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44989 s,@RESCOMP@,$RESCOMP,;t t
44990 s,@DEREZ@,$DEREZ,;t t
44991 s,@SETFILE@,$SETFILE,;t t
44992 s,@LIBICONV@,$LIBICONV,;t t
44993 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44994 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44995 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44996 s,@SDL_LIBS@,$SDL_LIBS,;t t
44997 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44998 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44999 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45000 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45001 s,@GST_INSPECT@,$GST_INSPECT,;t t
45002 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45003 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45004 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45005 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45006 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45007 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45008 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45009 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45010 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45011 s,@VENDOR@,$VENDOR,;t t
45012 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45013 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45014 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45015 s,@WXUNIV@,$WXUNIV,;t t
45016 s,@MONOLITHIC@,$MONOLITHIC,;t t
45017 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45018 s,@EXTRALIBS@,$EXTRALIBS,;t t
45019 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45020 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45021 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45022 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45023 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45024 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45025 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45026 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45027 s,@UNICODE@,$UNICODE,;t t
45028 s,@BUILD@,$BUILD,;t t
45029 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45030 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45031 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45032 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45033 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45034 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45035 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45036 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45037 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45038 s,@SET_MAKE@,$SET_MAKE,;t t
45039 s,@MAKE_SET@,$MAKE_SET,;t t
45040 s,@ac_ct_AR@,$ac_ct_AR,;t t
45041 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45042 s,@NM@,$NM,;t t
45043 s,@ac_ct_NM@,$ac_ct_NM,;t t
45044 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45045 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45046 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45047 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45048 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45049 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45050 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45051 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45052 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45053 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45054 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45055 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45056 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45057 s,@LIBPREFIX@,$LIBPREFIX,;t t
45058 s,@LIBEXT@,$LIBEXT,;t t
45059 s,@DLLPREFIX@,$DLLPREFIX,;t t
45060 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45061 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45062 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45063 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45064 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45065 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45066 s,@PIC_FLAG@,$PIC_FLAG,;t t
45067 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45068 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45069 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45070 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45071 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45072 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45073 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45074 s,@GCC_PCH@,$GCC_PCH,;t t
45075 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45076 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45077 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45078 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45079 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45080 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45081 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45082 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45083 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45084 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45085 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45086 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45087 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45088 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45089 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45090 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45091 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45092 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45093 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
45094 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
45095 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
45096 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45097 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45098 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45099 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45100 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
45101 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
45102 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
45103 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45104 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45105 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45106 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45107 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45108 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45109 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45110 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45111 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45112 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45113 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45114 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45115 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45116 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45117 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45118 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
45119 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45120 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45121 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45122 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45123 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45124 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45125 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45126 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45127 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45128 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45129 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45130 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45131 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45132 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45133 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45134 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45135 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45136 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45137 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45138 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45139 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45140 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45141 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45142 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45143 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45144 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45145 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45146 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45147 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45148 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45149 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45150 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45151 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45152 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45153 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45154 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45155 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45156 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45157 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45158 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45159 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45160 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45161 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45162 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45163 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45164 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45165 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45166 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45167 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45168 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45169 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45170 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45171 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45172 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45173 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45174 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45175 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45176 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45177 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45178 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45179 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45180 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45181 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45182 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45183 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45184 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45185 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45186 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45187 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45188 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45189 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45190 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45191 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45192 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45193 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45194 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45195 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45196 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45197 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45198 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45199 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45200 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45201 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45202 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45203 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45204 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45205 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45206 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45207 s,@SHARED@,$SHARED,;t t
45208 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45209 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45210 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45211 s,@USE_GUI@,$USE_GUI,;t t
45212 s,@AFMINSTALL@,$AFMINSTALL,;t t
45213 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45214 s,@TOOLKIT@,$TOOLKIT,;t t
45215 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45216 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45217 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45218 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45219 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45220 s,@cross_compiling@,$cross_compiling,;t t
45221 s,@WIDGET_SET@,$WIDGET_SET,;t t
45222 s,@WX_RELEASE@,$WX_RELEASE,;t t
45223 s,@WX_VERSION@,$WX_VERSION,;t t
45224 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45225 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45226 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45227 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45228 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45229 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45230 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45231 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45232 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45233 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45234 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45235 s,@EXE_LINKER@,$EXE_LINKER,;t t
45236 s,@GUIDIST@,$GUIDIST,;t t
45237 s,@DISTDIR@,$DISTDIR,;t t
45238 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45239 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45240 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45241 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45242 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45243 s,@RESFLAGS@,$RESFLAGS,;t t
45244 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45245 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45246 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45247 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45248 s,@MACRESCOMP@,$MACRESCOMP,;t t
45249 s,@MACSETFILE@,$MACSETFILE,;t t
45250 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45251 s,@GCC@,$GCC,;t t
45252 s,@DLLTOOL@,$DLLTOOL,;t t
45253 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45254 s,@LIBOBJS@,$LIBOBJS,;t t
45255 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45256 CEOF
45257
45258 _ACEOF
45259
45260 cat >>$CONFIG_STATUS <<\_ACEOF
45261 # Split the substitutions into bite-sized pieces for seds with
45262 # small command number limits, like on Digital OSF/1 and HP-UX.
45263 ac_max_sed_lines=48
45264 ac_sed_frag=1 # Number of current file.
45265 ac_beg=1 # First line for current file.
45266 ac_end=$ac_max_sed_lines # Line after last line for current file.
45267 ac_more_lines=:
45268 ac_sed_cmds=
45269 while $ac_more_lines; do
45270 if test $ac_beg -gt 1; then
45271 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45272 else
45273 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45274 fi
45275 if test ! -s $tmp/subs.frag; then
45276 ac_more_lines=false
45277 else
45278 # The purpose of the label and of the branching condition is to
45279 # speed up the sed processing (if there are no `@' at all, there
45280 # is no need to browse any of the substitutions).
45281 # These are the two extra sed commands mentioned above.
45282 (echo ':t
45283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45284 if test -z "$ac_sed_cmds"; then
45285 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45286 else
45287 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45288 fi
45289 ac_sed_frag=`expr $ac_sed_frag + 1`
45290 ac_beg=$ac_end
45291 ac_end=`expr $ac_end + $ac_max_sed_lines`
45292 fi
45293 done
45294 if test -z "$ac_sed_cmds"; then
45295 ac_sed_cmds=cat
45296 fi
45297 fi # test -n "$CONFIG_FILES"
45298
45299 _ACEOF
45300 cat >>$CONFIG_STATUS <<\_ACEOF
45301 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45302 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45303 case $ac_file in
45304 - | *:- | *:-:* ) # input from stdin
45305 cat >$tmp/stdin
45306 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45307 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45308 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45309 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45310 * ) ac_file_in=$ac_file.in ;;
45311 esac
45312
45313 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45314 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45315 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45316 X"$ac_file" : 'X\(//\)[^/]' \| \
45317 X"$ac_file" : 'X\(//\)$' \| \
45318 X"$ac_file" : 'X\(/\)' \| \
45319 . : '\(.\)' 2>/dev/null ||
45320 echo X"$ac_file" |
45321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45323 /^X\(\/\/\)$/{ s//\1/; q; }
45324 /^X\(\/\).*/{ s//\1/; q; }
45325 s/.*/./; q'`
45326 { if $as_mkdir_p; then
45327 mkdir -p "$ac_dir"
45328 else
45329 as_dir="$ac_dir"
45330 as_dirs=
45331 while test ! -d "$as_dir"; do
45332 as_dirs="$as_dir $as_dirs"
45333 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45335 X"$as_dir" : 'X\(//\)[^/]' \| \
45336 X"$as_dir" : 'X\(//\)$' \| \
45337 X"$as_dir" : 'X\(/\)' \| \
45338 . : '\(.\)' 2>/dev/null ||
45339 echo X"$as_dir" |
45340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45342 /^X\(\/\/\)$/{ s//\1/; q; }
45343 /^X\(\/\).*/{ s//\1/; q; }
45344 s/.*/./; q'`
45345 done
45346 test ! -n "$as_dirs" || mkdir $as_dirs
45347 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45349 { (exit 1); exit 1; }; }; }
45350
45351 ac_builddir=.
45352
45353 if test "$ac_dir" != .; then
45354 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45355 # A "../" for each directory in $ac_dir_suffix.
45356 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45357 else
45358 ac_dir_suffix= ac_top_builddir=
45359 fi
45360
45361 case $srcdir in
45362 .) # No --srcdir option. We are building in place.
45363 ac_srcdir=.
45364 if test -z "$ac_top_builddir"; then
45365 ac_top_srcdir=.
45366 else
45367 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45368 fi ;;
45369 [\\/]* | ?:[\\/]* ) # Absolute path.
45370 ac_srcdir=$srcdir$ac_dir_suffix;
45371 ac_top_srcdir=$srcdir ;;
45372 *) # Relative path.
45373 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45374 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45375 esac
45376
45377 # Do not use `cd foo && pwd` to compute absolute paths, because
45378 # the directories may not exist.
45379 case `pwd` in
45380 .) ac_abs_builddir="$ac_dir";;
45381 *)
45382 case "$ac_dir" in
45383 .) ac_abs_builddir=`pwd`;;
45384 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45385 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45386 esac;;
45387 esac
45388 case $ac_abs_builddir in
45389 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45390 *)
45391 case ${ac_top_builddir}. in
45392 .) ac_abs_top_builddir=$ac_abs_builddir;;
45393 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45394 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45395 esac;;
45396 esac
45397 case $ac_abs_builddir in
45398 .) ac_abs_srcdir=$ac_srcdir;;
45399 *)
45400 case $ac_srcdir in
45401 .) ac_abs_srcdir=$ac_abs_builddir;;
45402 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45403 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45404 esac;;
45405 esac
45406 case $ac_abs_builddir in
45407 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45408 *)
45409 case $ac_top_srcdir in
45410 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45411 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45412 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45413 esac;;
45414 esac
45415
45416
45417 case $INSTALL in
45418 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45419 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45420 esac
45421
45422 if test x"$ac_file" != x-; then
45423 { echo "$as_me:$LINENO: creating $ac_file" >&5
45424 echo "$as_me: creating $ac_file" >&6;}
45425 rm -f "$ac_file"
45426 fi
45427 # Let's still pretend it is `configure' which instantiates (i.e., don't
45428 # use $as_me), people would be surprised to read:
45429 # /* config.h. Generated by config.status. */
45430 if test x"$ac_file" = x-; then
45431 configure_input=
45432 else
45433 configure_input="$ac_file. "
45434 fi
45435 configure_input=$configure_input"Generated from `echo $ac_file_in |
45436 sed 's,.*/,,'` by configure."
45437
45438 # First look for the input files in the build tree, otherwise in the
45439 # src tree.
45440 ac_file_inputs=`IFS=:
45441 for f in $ac_file_in; do
45442 case $f in
45443 -) echo $tmp/stdin ;;
45444 [\\/$]*)
45445 # Absolute (can't be DOS-style, as IFS=:)
45446 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45447 echo "$as_me: error: cannot find input file: $f" >&2;}
45448 { (exit 1); exit 1; }; }
45449 echo "$f";;
45450 *) # Relative
45451 if test -f "$f"; then
45452 # Build tree
45453 echo "$f"
45454 elif test -f "$srcdir/$f"; then
45455 # Source tree
45456 echo "$srcdir/$f"
45457 else
45458 # /dev/null tree
45459 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45460 echo "$as_me: error: cannot find input file: $f" >&2;}
45461 { (exit 1); exit 1; }; }
45462 fi;;
45463 esac
45464 done` || { (exit 1); exit 1; }
45465 _ACEOF
45466 cat >>$CONFIG_STATUS <<_ACEOF
45467 sed "$ac_vpsub
45468 $extrasub
45469 _ACEOF
45470 cat >>$CONFIG_STATUS <<\_ACEOF
45471 :t
45472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45473 s,@configure_input@,$configure_input,;t t
45474 s,@srcdir@,$ac_srcdir,;t t
45475 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45476 s,@top_srcdir@,$ac_top_srcdir,;t t
45477 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45478 s,@builddir@,$ac_builddir,;t t
45479 s,@abs_builddir@,$ac_abs_builddir,;t t
45480 s,@top_builddir@,$ac_top_builddir,;t t
45481 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45482 s,@INSTALL@,$ac_INSTALL,;t t
45483 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45484 rm -f $tmp/stdin
45485 if test x"$ac_file" != x-; then
45486 mv $tmp/out $ac_file
45487 else
45488 cat $tmp/out
45489 rm -f $tmp/out
45490 fi
45491
45492 # Run the commands associated with the file.
45493 case $ac_file in
45494 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45495 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45496 esac
45497 done
45498 _ACEOF
45499 cat >>$CONFIG_STATUS <<\_ACEOF
45500
45501 #
45502 # CONFIG_HEADER section.
45503 #
45504
45505 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45506 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45507 #
45508 # ac_d sets the value in "#define NAME VALUE" lines.
45509 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45510 ac_dB='[ ].*$,\1#\2'
45511 ac_dC=' '
45512 ac_dD=',;t'
45513 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45514 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45515 ac_uB='$,\1#\2define\3'
45516 ac_uC=' '
45517 ac_uD=',;t'
45518
45519 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45520 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45521 case $ac_file in
45522 - | *:- | *:-:* ) # input from stdin
45523 cat >$tmp/stdin
45524 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45525 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45526 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45527 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45528 * ) ac_file_in=$ac_file.in ;;
45529 esac
45530
45531 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45532 echo "$as_me: creating $ac_file" >&6;}
45533
45534 # First look for the input files in the build tree, otherwise in the
45535 # src tree.
45536 ac_file_inputs=`IFS=:
45537 for f in $ac_file_in; do
45538 case $f in
45539 -) echo $tmp/stdin ;;
45540 [\\/$]*)
45541 # Absolute (can't be DOS-style, as IFS=:)
45542 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45543 echo "$as_me: error: cannot find input file: $f" >&2;}
45544 { (exit 1); exit 1; }; }
45545 # Do quote $f, to prevent DOS paths from being IFS'd.
45546 echo "$f";;
45547 *) # Relative
45548 if test -f "$f"; then
45549 # Build tree
45550 echo "$f"
45551 elif test -f "$srcdir/$f"; then
45552 # Source tree
45553 echo "$srcdir/$f"
45554 else
45555 # /dev/null tree
45556 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45557 echo "$as_me: error: cannot find input file: $f" >&2;}
45558 { (exit 1); exit 1; }; }
45559 fi;;
45560 esac
45561 done` || { (exit 1); exit 1; }
45562 # Remove the trailing spaces.
45563 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45564
45565 _ACEOF
45566
45567 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45568 # `conftest.undefs', that substitutes the proper values into
45569 # config.h.in to produce config.h. The first handles `#define'
45570 # templates, and the second `#undef' templates.
45571 # And first: Protect against being on the right side of a sed subst in
45572 # config.status. Protect against being in an unquoted here document
45573 # in config.status.
45574 rm -f conftest.defines conftest.undefs
45575 # Using a here document instead of a string reduces the quoting nightmare.
45576 # Putting comments in sed scripts is not portable.
45577 #
45578 # `end' is used to avoid that the second main sed command (meant for
45579 # 0-ary CPP macros) applies to n-ary macro definitions.
45580 # See the Autoconf documentation for `clear'.
45581 cat >confdef2sed.sed <<\_ACEOF
45582 s/[\\&,]/\\&/g
45583 s,[\\$`],\\&,g
45584 t clear
45585 : clear
45586 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45587 t end
45588 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45589 : end
45590 _ACEOF
45591 # If some macros were called several times there might be several times
45592 # the same #defines, which is useless. Nevertheless, we may not want to
45593 # sort them, since we want the *last* AC-DEFINE to be honored.
45594 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45595 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45596 rm -f confdef2sed.sed
45597
45598 # This sed command replaces #undef with comments. This is necessary, for
45599 # example, in the case of _POSIX_SOURCE, which is predefined and required
45600 # on some systems where configure will not decide to define it.
45601 cat >>conftest.undefs <<\_ACEOF
45602 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45603 _ACEOF
45604
45605 # Break up conftest.defines because some shells have a limit on the size
45606 # of here documents, and old seds have small limits too (100 cmds).
45607 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45608 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45609 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45610 echo ' :' >>$CONFIG_STATUS
45611 rm -f conftest.tail
45612 while grep . conftest.defines >/dev/null
45613 do
45614 # Write a limited-size here document to $tmp/defines.sed.
45615 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45616 # Speed up: don't consider the non `#define' lines.
45617 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45618 # Work around the forget-to-reset-the-flag bug.
45619 echo 't clr' >>$CONFIG_STATUS
45620 echo ': clr' >>$CONFIG_STATUS
45621 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45622 echo 'CEOF
45623 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45624 rm -f $tmp/in
45625 mv $tmp/out $tmp/in
45626 ' >>$CONFIG_STATUS
45627 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45628 rm -f conftest.defines
45629 mv conftest.tail conftest.defines
45630 done
45631 rm -f conftest.defines
45632 echo ' fi # grep' >>$CONFIG_STATUS
45633 echo >>$CONFIG_STATUS
45634
45635 # Break up conftest.undefs because some shells have a limit on the size
45636 # of here documents, and old seds have small limits too (100 cmds).
45637 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45638 rm -f conftest.tail
45639 while grep . conftest.undefs >/dev/null
45640 do
45641 # Write a limited-size here document to $tmp/undefs.sed.
45642 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45643 # Speed up: don't consider the non `#undef'
45644 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45645 # Work around the forget-to-reset-the-flag bug.
45646 echo 't clr' >>$CONFIG_STATUS
45647 echo ': clr' >>$CONFIG_STATUS
45648 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45649 echo 'CEOF
45650 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45651 rm -f $tmp/in
45652 mv $tmp/out $tmp/in
45653 ' >>$CONFIG_STATUS
45654 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45655 rm -f conftest.undefs
45656 mv conftest.tail conftest.undefs
45657 done
45658 rm -f conftest.undefs
45659
45660 cat >>$CONFIG_STATUS <<\_ACEOF
45661 # Let's still pretend it is `configure' which instantiates (i.e., don't
45662 # use $as_me), people would be surprised to read:
45663 # /* config.h. Generated by config.status. */
45664 if test x"$ac_file" = x-; then
45665 echo "/* Generated by configure. */" >$tmp/config.h
45666 else
45667 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45668 fi
45669 cat $tmp/in >>$tmp/config.h
45670 rm -f $tmp/in
45671 if test x"$ac_file" != x-; then
45672 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45673 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45674 echo "$as_me: $ac_file is unchanged" >&6;}
45675 else
45676 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45678 X"$ac_file" : 'X\(//\)[^/]' \| \
45679 X"$ac_file" : 'X\(//\)$' \| \
45680 X"$ac_file" : 'X\(/\)' \| \
45681 . : '\(.\)' 2>/dev/null ||
45682 echo X"$ac_file" |
45683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45685 /^X\(\/\/\)$/{ s//\1/; q; }
45686 /^X\(\/\).*/{ s//\1/; q; }
45687 s/.*/./; q'`
45688 { if $as_mkdir_p; then
45689 mkdir -p "$ac_dir"
45690 else
45691 as_dir="$ac_dir"
45692 as_dirs=
45693 while test ! -d "$as_dir"; do
45694 as_dirs="$as_dir $as_dirs"
45695 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45697 X"$as_dir" : 'X\(//\)[^/]' \| \
45698 X"$as_dir" : 'X\(//\)$' \| \
45699 X"$as_dir" : 'X\(/\)' \| \
45700 . : '\(.\)' 2>/dev/null ||
45701 echo X"$as_dir" |
45702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45704 /^X\(\/\/\)$/{ s//\1/; q; }
45705 /^X\(\/\).*/{ s//\1/; q; }
45706 s/.*/./; q'`
45707 done
45708 test ! -n "$as_dirs" || mkdir $as_dirs
45709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45711 { (exit 1); exit 1; }; }; }
45712
45713 rm -f $ac_file
45714 mv $tmp/config.h $ac_file
45715 fi
45716 else
45717 cat $tmp/config.h
45718 rm -f $tmp/config.h
45719 fi
45720 done
45721 _ACEOF
45722 cat >>$CONFIG_STATUS <<\_ACEOF
45723
45724 #
45725 # CONFIG_COMMANDS section.
45726 #
45727 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45728 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45729 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45730 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45731 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45732 X"$ac_dest" : 'X\(//\)[^/]' \| \
45733 X"$ac_dest" : 'X\(//\)$' \| \
45734 X"$ac_dest" : 'X\(/\)' \| \
45735 . : '\(.\)' 2>/dev/null ||
45736 echo X"$ac_dest" |
45737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45738 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45739 /^X\(\/\/\)$/{ s//\1/; q; }
45740 /^X\(\/\).*/{ s//\1/; q; }
45741 s/.*/./; q'`
45742 { if $as_mkdir_p; then
45743 mkdir -p "$ac_dir"
45744 else
45745 as_dir="$ac_dir"
45746 as_dirs=
45747 while test ! -d "$as_dir"; do
45748 as_dirs="$as_dir $as_dirs"
45749 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45751 X"$as_dir" : 'X\(//\)[^/]' \| \
45752 X"$as_dir" : 'X\(//\)$' \| \
45753 X"$as_dir" : 'X\(/\)' \| \
45754 . : '\(.\)' 2>/dev/null ||
45755 echo X"$as_dir" |
45756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45758 /^X\(\/\/\)$/{ s//\1/; q; }
45759 /^X\(\/\).*/{ s//\1/; q; }
45760 s/.*/./; q'`
45761 done
45762 test ! -n "$as_dirs" || mkdir $as_dirs
45763 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45764 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45765 { (exit 1); exit 1; }; }; }
45766
45767 ac_builddir=.
45768
45769 if test "$ac_dir" != .; then
45770 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45771 # A "../" for each directory in $ac_dir_suffix.
45772 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45773 else
45774 ac_dir_suffix= ac_top_builddir=
45775 fi
45776
45777 case $srcdir in
45778 .) # No --srcdir option. We are building in place.
45779 ac_srcdir=.
45780 if test -z "$ac_top_builddir"; then
45781 ac_top_srcdir=.
45782 else
45783 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45784 fi ;;
45785 [\\/]* | ?:[\\/]* ) # Absolute path.
45786 ac_srcdir=$srcdir$ac_dir_suffix;
45787 ac_top_srcdir=$srcdir ;;
45788 *) # Relative path.
45789 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45790 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45791 esac
45792
45793 # Do not use `cd foo && pwd` to compute absolute paths, because
45794 # the directories may not exist.
45795 case `pwd` in
45796 .) ac_abs_builddir="$ac_dir";;
45797 *)
45798 case "$ac_dir" in
45799 .) ac_abs_builddir=`pwd`;;
45800 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45801 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45802 esac;;
45803 esac
45804 case $ac_abs_builddir in
45805 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45806 *)
45807 case ${ac_top_builddir}. in
45808 .) ac_abs_top_builddir=$ac_abs_builddir;;
45809 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45810 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45811 esac;;
45812 esac
45813 case $ac_abs_builddir in
45814 .) ac_abs_srcdir=$ac_srcdir;;
45815 *)
45816 case $ac_srcdir in
45817 .) ac_abs_srcdir=$ac_abs_builddir;;
45818 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45819 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45820 esac;;
45821 esac
45822 case $ac_abs_builddir in
45823 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45824 *)
45825 case $ac_top_srcdir in
45826 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45827 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45828 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45829 esac;;
45830 esac
45831
45832
45833 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45834 echo "$as_me: executing $ac_dest commands" >&6;}
45835 case $ac_dest in
45836 wx-config ) rm -f wx-config
45837 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45838 ;;
45839 esac
45840 done
45841 _ACEOF
45842
45843 cat >>$CONFIG_STATUS <<\_ACEOF
45844
45845 { (exit 0); exit 0; }
45846 _ACEOF
45847 chmod +x $CONFIG_STATUS
45848 ac_clean_files=$ac_clean_files_save
45849
45850
45851 # configure is writing to config.log, and then calls config.status.
45852 # config.status does its own redirection, appending to config.log.
45853 # Unfortunately, on DOS this fails, as config.log is still kept open
45854 # by configure, so config.status won't be able to write to it; its
45855 # output is simply discarded. So we exec the FD to /dev/null,
45856 # effectively closing config.log, so it can be properly (re)opened and
45857 # appended to by config.status. When coming back to configure, we
45858 # need to make the FD available again.
45859 if test "$no_create" != yes; then
45860 ac_cs_success=:
45861 ac_config_status_args=
45862 test "$silent" = yes &&
45863 ac_config_status_args="$ac_config_status_args --quiet"
45864 exec 5>/dev/null
45865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45866 exec 5>>config.log
45867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45868 # would make configure fail if this is the last instruction.
45869 $ac_cs_success || { (exit 1); exit 1; }
45870 fi
45871
45872 #
45873 # CONFIG_SUBDIRS section.
45874 #
45875 if test "$no_recursion" != yes; then
45876
45877 # Remove --cache-file and --srcdir arguments so they do not pile up.
45878 ac_sub_configure_args=
45879 ac_prev=
45880 for ac_arg in $ac_configure_args; do
45881 if test -n "$ac_prev"; then
45882 ac_prev=
45883 continue
45884 fi
45885 case $ac_arg in
45886 -cache-file | --cache-file | --cache-fil | --cache-fi \
45887 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45888 ac_prev=cache_file ;;
45889 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45890 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45891 | --c=*)
45892 ;;
45893 --config-cache | -C)
45894 ;;
45895 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45896 ac_prev=srcdir ;;
45897 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45898 ;;
45899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45900 ac_prev=prefix ;;
45901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45902 ;;
45903 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45904 esac
45905 done
45906
45907 # Always prepend --prefix to ensure using the same prefix
45908 # in subdir configurations.
45909 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45910
45911 ac_popdir=`pwd`
45912 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45913
45914 # Do not complain, so a configure script can configure whichever
45915 # parts of a large source tree are present.
45916 test -d $srcdir/$ac_dir || continue
45917
45918 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45919 echo "$as_me: configuring in $ac_dir" >&6;}
45920 { if $as_mkdir_p; then
45921 mkdir -p "$ac_dir"
45922 else
45923 as_dir="$ac_dir"
45924 as_dirs=
45925 while test ! -d "$as_dir"; do
45926 as_dirs="$as_dir $as_dirs"
45927 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45929 X"$as_dir" : 'X\(//\)[^/]' \| \
45930 X"$as_dir" : 'X\(//\)$' \| \
45931 X"$as_dir" : 'X\(/\)' \| \
45932 . : '\(.\)' 2>/dev/null ||
45933 echo X"$as_dir" |
45934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45936 /^X\(\/\/\)$/{ s//\1/; q; }
45937 /^X\(\/\).*/{ s//\1/; q; }
45938 s/.*/./; q'`
45939 done
45940 test ! -n "$as_dirs" || mkdir $as_dirs
45941 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45942 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45943 { (exit 1); exit 1; }; }; }
45944
45945 ac_builddir=.
45946
45947 if test "$ac_dir" != .; then
45948 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45949 # A "../" for each directory in $ac_dir_suffix.
45950 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45951 else
45952 ac_dir_suffix= ac_top_builddir=
45953 fi
45954
45955 case $srcdir in
45956 .) # No --srcdir option. We are building in place.
45957 ac_srcdir=.
45958 if test -z "$ac_top_builddir"; then
45959 ac_top_srcdir=.
45960 else
45961 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45962 fi ;;
45963 [\\/]* | ?:[\\/]* ) # Absolute path.
45964 ac_srcdir=$srcdir$ac_dir_suffix;
45965 ac_top_srcdir=$srcdir ;;
45966 *) # Relative path.
45967 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45968 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45969 esac
45970
45971 # Do not use `cd foo && pwd` to compute absolute paths, because
45972 # the directories may not exist.
45973 case `pwd` in
45974 .) ac_abs_builddir="$ac_dir";;
45975 *)
45976 case "$ac_dir" in
45977 .) ac_abs_builddir=`pwd`;;
45978 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45979 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45980 esac;;
45981 esac
45982 case $ac_abs_builddir in
45983 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45984 *)
45985 case ${ac_top_builddir}. in
45986 .) ac_abs_top_builddir=$ac_abs_builddir;;
45987 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45988 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45989 esac;;
45990 esac
45991 case $ac_abs_builddir in
45992 .) ac_abs_srcdir=$ac_srcdir;;
45993 *)
45994 case $ac_srcdir in
45995 .) ac_abs_srcdir=$ac_abs_builddir;;
45996 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45997 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45998 esac;;
45999 esac
46000 case $ac_abs_builddir in
46001 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46002 *)
46003 case $ac_top_srcdir in
46004 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46005 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46006 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46007 esac;;
46008 esac
46009
46010
46011 cd $ac_dir
46012
46013 # Check for guested configure; otherwise get Cygnus style configure.
46014 if test -f $ac_srcdir/configure.gnu; then
46015 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46016 elif test -f $ac_srcdir/configure; then
46017 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46018 elif test -f $ac_srcdir/configure.in; then
46019 ac_sub_configure=$ac_configure
46020 else
46021 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46023 ac_sub_configure=
46024 fi
46025
46026 # The recursion is here.
46027 if test -n "$ac_sub_configure"; then
46028 # Make the cache file name correct relative to the subdirectory.
46029 case $cache_file in
46030 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46031 *) # Relative path.
46032 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46033 esac
46034
46035 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46036 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46037 # The eval makes quoting arguments work.
46038 eval $ac_sub_configure $ac_sub_configure_args \
46039 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46040 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46041 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46042 { (exit 1); exit 1; }; }
46043 fi
46044
46045 cd $ac_popdir
46046 done
46047 fi
46048
46049
46050 echo
46051 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46052 echo ""
46053 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46054 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46055
46056 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46057 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46058 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46059
46060 echo " What level of wxWidgets compatibility should be enabled?"
46061 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46062 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46063
46064 echo " Which libraries should wxWidgets use?"
46065 echo " jpeg ${wxUSE_LIBJPEG-none}"
46066 echo " png ${wxUSE_LIBPNG-none}"
46067 echo " regex ${wxUSE_REGEX}"
46068 echo " tiff ${wxUSE_LIBTIFF-none}"
46069 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46070 echo " xpm ${wxUSE_LIBXPM-none}"
46071 fi
46072 echo " zlib ${wxUSE_ZLIB}"
46073 echo " odbc ${wxUSE_ODBC}"
46074 echo " expat ${wxUSE_EXPAT}"
46075 echo " libmspack ${wxUSE_LIBMSPACK}"
46076 echo " sdl ${wxUSE_LIBSDL}"
46077 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46078
46079 echo ""
46080