]> git.saurik.com Git - wxWidgets.git/blob - configure
that was a memory leak
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.5'
274 PACKAGE_STRING='wxWidgets 2.5.5'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.5 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.5:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support in wxProtocol
944 --enable-protocol-ftp FTP support in wxProtocol
945 --enable-protocol-file FILE support in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use help subsystem
949 --enable-mshtmlhelp use MS HTML Help (win32)
950 --enable-html use wxHTML sub-library
951 --enable-htmlhelp use wxHTML-based help
952 --enable-xrc use XRC resources sub-library
953 --enable-constraints use layout-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl (Mac)
961 --enable-postscript use wxPostscriptDC device context (default for gtk+)
962 --enable-prologio not available; see contrib
963 --enable-resources not available; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile (Windows only)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images (GIF file format)
1036 --enable-pcx use pcx images (PCX file format)
1037 --enable-iff use iff images (IFF file format)
1038 --enable-pnm use pnm images (PNM file format)
1039 --enable-xpm use xpm images (XPM file format)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets (win32 DLL only)
1042 --enable-vendor=VENDOR vendor name (win32 DLL only)
1043 --disable-largefile omit support for large files
1044 --disable-gtktest do not try to compile and run a test GTK+ program
1045 --disable-gtktest Do not try to compile and run a test GTK program
1046 --disable-sdltest Do not try to compile and run a test SDL program
1047 --enable-omf use OMF object format (OS/2)
1048 --disable-precomp-headers
1049 don't use precompiled headers even if compiler can
1050
1051 Optional Packages:
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-gtk use GTK+
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1063 --with-x11 use X11
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1094 CPP C preprocessor
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1098
1099 Use these variables to override the choices made by `configure' or to help
1100 it to find libraries and programs with nonstandard names/locations.
1101
1102 Report bugs to <wx-dev@lists.wxwidgets.org>.
1103 _ACEOF
1104 fi
1105
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1108 ac_popdir=`pwd`
1109 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1110 test -d $ac_dir || continue
1111 ac_builddir=.
1112
1113 if test "$ac_dir" != .; then
1114 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 else
1118 ac_dir_suffix= ac_top_builddir=
1119 fi
1120
1121 case $srcdir in
1122 .) # No --srcdir option. We are building in place.
1123 ac_srcdir=.
1124 if test -z "$ac_top_builddir"; then
1125 ac_top_srcdir=.
1126 else
1127 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1128 fi ;;
1129 [\\/]* | ?:[\\/]* ) # Absolute path.
1130 ac_srcdir=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir=$srcdir ;;
1132 *) # Relative path.
1133 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1135 esac
1136
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1139 case `pwd` in
1140 .) ac_abs_builddir="$ac_dir";;
1141 *)
1142 case "$ac_dir" in
1143 .) ac_abs_builddir=`pwd`;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1145 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *)
1151 case ${ac_top_builddir}. in
1152 .) ac_abs_top_builddir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_srcdir=$ac_srcdir;;
1159 *)
1160 case $ac_srcdir in
1161 .) ac_abs_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1163 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *)
1169 case $ac_top_srcdir in
1170 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 esac;;
1174 esac
1175
1176 cd $ac_dir
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu; then
1179 echo
1180 $SHELL $ac_srcdir/configure.gnu --help=recursive
1181 elif test -f $ac_srcdir/configure; then
1182 echo
1183 $SHELL $ac_srcdir/configure --help=recursive
1184 elif test -f $ac_srcdir/configure.ac ||
1185 test -f $ac_srcdir/configure.in; then
1186 echo
1187 $ac_configure --help
1188 else
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1190 fi
1191 cd $ac_popdir
1192 done
1193 fi
1194
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1197 cat <<\_ACEOF
1198 wxWidgets configure 2.5.5
1199 generated by GNU Autoconf 2.59
1200
1201 Copyright (C) 2003 Free Software Foundation, Inc.
1202 This configure script is free software; the Free Software Foundation
1203 gives unlimited permission to copy, distribute and modify it.
1204 _ACEOF
1205 exit 0
1206 fi
1207 exec 5>config.log
1208 cat >&5 <<_ACEOF
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1211
1212 It was created by wxWidgets $as_me 2.5.5, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1214
1215 $ $0 $@
1216
1217 _ACEOF
1218 {
1219 cat <<_ASUNAME
1220 ## --------- ##
1221 ## Platform. ##
1222 ## --------- ##
1223
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1240
1241 _ASUNAME
1242
1243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1244 for as_dir in $PATH
1245 do
1246 IFS=$as_save_IFS
1247 test -z "$as_dir" && as_dir=.
1248 echo "PATH: $as_dir"
1249 done
1250
1251 } >&5
1252
1253 cat >&5 <<_ACEOF
1254
1255
1256 ## ----------- ##
1257 ## Core tests. ##
1258 ## ----------- ##
1259
1260 _ACEOF
1261
1262
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_configure_args=
1269 ac_configure_args0=
1270 ac_configure_args1=
1271 ac_sep=
1272 ac_must_keep_next=false
1273 for ac_pass in 1 2
1274 do
1275 for ac_arg
1276 do
1277 case $ac_arg in
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1281 continue ;;
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 esac
1285 case $ac_pass in
1286 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1287 2)
1288 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true; then
1290 ac_must_keep_next=false # Got value, back to normal.
1291 else
1292 case $ac_arg in
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1299 esac
1300 ;;
1301 -* ) ac_must_keep_next=true ;;
1302 esac
1303 fi
1304 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1306 ac_sep=" "
1307 ;;
1308 esac
1309 done
1310 done
1311 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1312 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1313
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1321 {
1322 echo
1323
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 # The following way of writing the cache mishandles newlines in values,
1331 {
1332 (set) 2>&1 |
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1334 *ac_space=\ *)
1335 sed -n \
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1338 ;;
1339 *)
1340 sed -n \
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ;;
1343 esac;
1344 }
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1351 _ASBOX
1352 echo
1353 for ac_var in $ac_subst_vars
1354 do
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1357 done | sort
1358 echo
1359
1360 if test -n "$ac_subst_files"; then
1361 cat <<\_ASBOX
1362 ## ------------- ##
1363 ## Output files. ##
1364 ## ------------- ##
1365 _ASBOX
1366 echo
1367 for ac_var in $ac_subst_files
1368 do
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1371 done | sort
1372 echo
1373 fi
1374
1375 if test -s confdefs.h; then
1376 cat <<\_ASBOX
1377 ## ----------- ##
1378 ## confdefs.h. ##
1379 ## ----------- ##
1380 _ASBOX
1381 echo
1382 sed "/^$/d" confdefs.h | sort
1383 echo
1384 fi
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1388 } >&5
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1391 exit $exit_status
1392 ' 0
1393 for ac_signal in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1395 done
1396 ac_signal=0
1397
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1401 echo >confdefs.h
1402
1403 # Predefined preprocessor variables.
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1427 _ACEOF
1428
1429
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE; then
1434 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1435 else
1436 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1437 fi
1438 fi
1439 for ac_site_file in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1444 . "$ac_site_file"
1445 fi
1446 done
1447
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1454 case $cache_file in
1455 [\\/]* | ?:[\\/]* ) . $cache_file;;
1456 *) . ./$cache_file;;
1457 esac
1458 fi
1459 else
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1462 >$cache_file
1463 fi
1464
1465 # Check that the precious variables saved in the cache have kept the same
1466 # value.
1467 ac_cache_corrupted=false
1468 for ac_var in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1471 eval ac_new_set=\$ac_env_${ac_var}_set
1472 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1475 set,)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,set)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,);;
1484 *)
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted=:
1493 fi;;
1494 esac
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1497 case $ac_new_val in
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg=$ac_var=$ac_new_val ;;
1501 esac
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1505 esac
1506 fi
1507 done
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515
1516 ac_ext=c
1517 ac_cpp='$CPP $CPPFLAGS'
1518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551 ac_aux_dir=
1552 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1553 if test -f $ac_dir/install-sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install-sh -c"
1556 break
1557 elif test -f $ac_dir/install.sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install.sh -c"
1560 break
1561 elif test -f $ac_dir/shtool; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/shtool install -c"
1564 break
1565 fi
1566 done
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4 >/dev/null 2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587 ac_cv_build_alias=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1598
1599 fi
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1602 build=$ac_cv_build
1603 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1606
1607
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 else
1613 ac_cv_host_alias=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias=$ac_cv_build_alias
1616 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1620
1621 fi
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1624 host=$ac_cv_host
1625 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1628
1629
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 else
1635 ac_cv_target_alias=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias=$ac_cv_host_alias
1638 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1642
1643 fi
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target=$ac_cv_target
1647 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650
1651
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1656 NONENONEs,x,x, &&
1657 program_prefix=${target_alias}-
1658
1659
1660
1661 wx_major_version_number=2
1662 wx_minor_version_number=5
1663 wx_release_number=5
1664 wx_subrelease_number=0
1665
1666 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1667 WX_VERSION=$WX_RELEASE.$wx_release_number
1668 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1669
1670 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1671
1672 WX_CURRENT=5
1673 WX_REVISION=0
1674 WX_AGE=5
1675
1676
1677
1678 USE_UNIX=1
1679 USE_OS2=0
1680 USE_WIN32=0
1681 USE_DOS=0
1682 USE_BEOS=0
1683 USE_MAC=0
1684
1685 USE_AIX=
1686 USE_BSD= USE_DARWIN= USE_FREEBSD=
1687 USE_GNU= USE_HPUX=
1688 USE_LINUX=
1689 USE_NETBSD=
1690 USE_OPENBSD=
1691 USE_OSF= USE_SGI=
1692 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1693 USE_ULTRIX=
1694 USE_UNIXWARE=
1695
1696 USE_ALPHA=
1697
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1699
1700 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701
1702 DEFAULT_wxUSE_COCOA=0
1703 DEFAULT_wxUSE_GTK=0
1704 DEFAULT_wxUSE_MAC=0
1705 DEFAULT_wxUSE_MGL=0
1706 DEFAULT_wxUSE_MICROWIN=0
1707 DEFAULT_wxUSE_MOTIF=0
1708 DEFAULT_wxUSE_MSW=0
1709 DEFAULT_wxUSE_PM=0
1710 DEFAULT_wxUSE_X11=0
1711
1712 DEFAULT_DEFAULT_wxUSE_COCOA=0
1713 DEFAULT_DEFAULT_wxUSE_GTK=0
1714 DEFAULT_DEFAULT_wxUSE_MAC=0
1715 DEFAULT_DEFAULT_wxUSE_MGL=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1718 DEFAULT_DEFAULT_wxUSE_MSW=0
1719 DEFAULT_DEFAULT_wxUSE_PM=0
1720 DEFAULT_DEFAULT_wxUSE_X11=0
1721
1722 PROGRAM_EXT=
1723 SO_SUFFIX=so
1724 SAMPLES_RPATH_FLAG=
1725 SAMPLES_RPATH_POSTLINK=
1726
1727 case "${host}" in
1728 *-hp-hpux* )
1729 USE_HPUX=1
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1732 SO_SUFFIX=sl
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __HPUX__ 1
1735 _ACEOF
1736
1737 ;;
1738 *-*-linux* )
1739 USE_LINUX=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __LINUX__ 1
1742 _ACEOF
1743
1744 TMP=`uname -m`
1745 if test "x$TMP" = "xalpha"; then
1746 USE_ALPHA=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __ALPHA__ 1
1749 _ACEOF
1750
1751 fi
1752 DEFAULT_DEFAULT_wxUSE_GTK=1
1753 ;;
1754 *-*-gnu* | *-*-k*bsd*-gnu )
1755 USE_GNU=1
1756 TMP=`uname -m`
1757 if test "x$TMP" = "xalpha"; then
1758 USE_ALPHA=1
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __ALPHA__ 1
1761 _ACEOF
1762
1763 fi
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-irix5* | *-*-irix6* )
1767 USE_SGI=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SGI__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SVR4__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1778 ;;
1779 *-*-solaris2* )
1780 USE_SUN=1
1781 USE_SOLARIS=1
1782 USE_SVR4=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SUN__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SOLARIS__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SVR4__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1797 ;;
1798 *-*-sunos4* )
1799 USE_SUN=1
1800 USE_SUNOS=1
1801 USE_BSD=1
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __SUN__ 1
1804 _ACEOF
1805
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUNOS__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __BSD__ 1
1812 _ACEOF
1813
1814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1815 ;;
1816 *-*-freebsd*)
1817 USE_BSD=1
1818 USE_FREEBSD=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __FREEBSD__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __BSD__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_GTK=1
1828 ;;
1829 *-*-openbsd*)
1830 USE_BSD=1
1831 USE_OPENBSD=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __OPENBSD__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __BSD__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 ;;
1842 *-*-netbsd*)
1843 USE_BSD=1
1844 USE_NETBSD=1
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __NETBSD__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __BSD__ 1
1851 _ACEOF
1852
1853 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 ;;
1855 *-*-osf* )
1856 USE_ALPHA=1
1857 USE_OSF=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __OSF__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 ;;
1869 *-*-dgux5* )
1870 USE_ALPHA=1
1871 USE_SVR4=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __SVR4__ 1
1878 _ACEOF
1879
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 ;;
1882 *-*-sysv5* )
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __SYSV__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-aix* )
1896 USE_AIX=1
1897 USE_SYSV=1
1898 USE_SVR4=1
1899 SO_SUFFIX=a
1900 cat >>confdefs.h <<\_ACEOF
1901 #define __AIX__ 1
1902 _ACEOF
1903
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914
1915 *-*-*UnixWare*)
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 USE_UNIXWARE=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __UNIXWARE__ 1
1921 _ACEOF
1922
1923 ;;
1924
1925 *-*-cygwin* | *-*-mingw32* )
1926 SO_SUFFIX=dll
1927 PROGRAM_EXT=".exe"
1928 RESCOMP=windres
1929 DEFAULT_DEFAULT_wxUSE_MSW=1
1930 ;;
1931
1932 *-pc-msdosdjgpp )
1933 USE_UNIX=0
1934 USE_DOS=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DOS__ 1
1937 _ACEOF
1938
1939 PROGRAM_EXT=".exe"
1940 DEFAULT_DEFAULT_wxUSE_MGL=1
1941 LIBS="$LIBS -lstdc++"
1942 ;;
1943
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __EMX__ 1
1947 _ACEOF
1948
1949 USE_OS2=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __OS2__ 1
1952 _ACEOF
1953
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_PM=1
1956 CXX=gcc
1957 LDFLAGS="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions=".exe"
1959 export ac_executable_extensions
1960 ac_save_IFS="$IFS"
1961 IFS='\\'
1962 ac_TEMP_PATH=
1963 for ac_dir in $PATH; do
1964 IFS=$ac_save_IFS
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH="$ac_dir"
1967 else
1968 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1969 fi
1970 done
1971 export PATH="$ac_TEMP_PATH"
1972 unset ac_TEMP_PATH
1973 ;;
1974
1975 powerpc-*-darwin* )
1976 USE_BSD=1
1977 USE_DARWIN=1
1978 SO_SUFFIX=dylib
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __DARWIN__ 1
1985 _ACEOF
1986
1987 cat >>confdefs.h <<\_ACEOF
1988 #define TARGET_CARBON 1
1989 _ACEOF
1990
1991 DEFAULT_DEFAULT_wxUSE_MAC=1
1992 ;;
1993 powerpc-apple-macos* )
1994 USE_UNIX=0
1995 ac_cv_c_bigendian=yes
1996 SO_SUFFIX=shlib
1997 DEFAULT_DEFAULT_wxUSE_MAC=1
1998 ;;
1999
2000 *-*-beos* )
2001 USE_BEOS=1
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BEOS__ 1
2004 _ACEOF
2005
2006 ;;
2007
2008 *)
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2012 esac
2013
2014
2015
2016
2017 wx_arg_cache_file="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2022
2023
2024 DEBUG_CONFIGURE=0
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL=no
2027 DEFAULT_wxUSE_STL=no
2028
2029 DEFAULT_wxUSE_NANOX=no
2030
2031 DEFAULT_wxUSE_THREADS=yes
2032
2033 DEFAULT_wxUSE_SHARED=yes
2034 DEFAULT_wxUSE_OPTIMISE=no
2035 DEFAULT_wxUSE_PROFILE=no
2036 DEFAULT_wxUSE_NO_DEPS=no
2037 DEFAULT_wxUSE_NO_RTTI=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2039 DEFAULT_wxUSE_RPATH=yes
2040 DEFAULT_wxUSE_PERMISSIVE=no
2041 DEFAULT_wxUSE_DEBUG_FLAG=yes
2042 DEFAULT_wxUSE_DEBUG_INFO=yes
2043 DEFAULT_wxUSE_DEBUG_GDB=yes
2044 DEFAULT_wxUSE_MEM_TRACING=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2046 DEFAULT_wxUSE_DMALLOC=no
2047 DEFAULT_wxUSE_APPLE_IEEE=no
2048
2049 DEFAULT_wxUSE_EXCEPTIONS=no
2050 DEFAULT_wxUSE_LOG=yes
2051 DEFAULT_wxUSE_LOGWINDOW=no
2052 DEFAULT_wxUSE_LOGGUI=no
2053 DEFAULT_wxUSE_LOGDIALOG=no
2054
2055 DEFAULT_wxUSE_GUI=yes
2056 DEFAULT_wxUSE_CONTROLS=no
2057
2058 DEFAULT_wxUSE_REGEX=no
2059 DEFAULT_wxUSE_XML=no
2060 DEFAULT_wxUSE_EXPAT=no
2061 DEFAULT_wxUSE_ZLIB=no
2062 DEFAULT_wxUSE_LIBPNG=no
2063 DEFAULT_wxUSE_LIBJPEG=no
2064 DEFAULT_wxUSE_LIBTIFF=no
2065 DEFAULT_wxUSE_LIBXPM=no
2066 DEFAULT_wxUSE_LIBMSPACK=no
2067 DEFAULT_wxUSE_LIBSDL=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2069 DEFAULT_wxUSE_ODBC=no
2070 DEFAULT_wxUSE_OPENGL=no
2071
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2073 DEFAULT_wxUSE_STACKWALKER=no
2074 DEFAULT_wxUSE_DEBUGREPORT=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_STDPATHS=no
2084 DEFAULT_wxUSE_TEXTBUFFER=no
2085 DEFAULT_wxUSE_TEXTFILE=no
2086 DEFAULT_wxUSE_SOUND=no
2087 DEFAULT_wxUSE_MEDIACTRL=no
2088 DEFAULT_wxUSE_DIRECTSHOW=no
2089 DEFAULT_wxUSE_INTL=no
2090 DEFAULT_wxUSE_CONFIG=no
2091 DEFAULT_wxUSE_FONTMAP=no
2092 DEFAULT_wxUSE_STREAMS=no
2093 DEFAULT_wxUSE_SOCKETS=no
2094 DEFAULT_wxUSE_OLE=no
2095 DEFAULT_wxUSE_DATAOBJ=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER=no
2097 DEFAULT_wxUSE_JOYSTICK=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2100 DEFAULT_wxUSE_LONGLONG=no
2101 DEFAULT_wxUSE_GEOMETRY=no
2102
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2105 DEFAULT_wxUSE_POSTSCRIPT=no
2106
2107 DEFAULT_wxUSE_CLIPBOARD=no
2108 DEFAULT_wxUSE_TOOLTIPS=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP=no
2110 DEFAULT_wxUSE_DRAGIMAGE=no
2111 DEFAULT_wxUSE_SPLINES=no
2112
2113 DEFAULT_wxUSE_MDI=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2117
2118 DEFAULT_wxUSE_RESOURCES=no
2119 DEFAULT_wxUSE_CONSTRAINTS=no
2120 DEFAULT_wxUSE_IPC=no
2121 DEFAULT_wxUSE_HELP=no
2122 DEFAULT_wxUSE_MS_HTML_HELP=no
2123 DEFAULT_wxUSE_WXHTML_HELP=no
2124 DEFAULT_wxUSE_TREELAYOUT=no
2125 DEFAULT_wxUSE_METAFILE=no
2126 DEFAULT_wxUSE_MIMETYPE=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2128 DEFAULT_wxUSE_PROTOCOL=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE=no
2132 DEFAULT_wxUSE_URL=no
2133
2134 DEFAULT_wxUSE_COMMONDLGS=no
2135 DEFAULT_wxUSE_CHOICEDLG=no
2136 DEFAULT_wxUSE_COLOURDLG=no
2137 DEFAULT_wxUSE_DIRDLG=no
2138 DEFAULT_wxUSE_FILEDLG=no
2139 DEFAULT_wxUSE_FINDREPLDLG=no
2140 DEFAULT_wxUSE_FONTDLG=no
2141 DEFAULT_wxUSE_MSGDLG=no
2142 DEFAULT_wxUSE_NUMBERDLG=no
2143 DEFAULT_wxUSE_TEXTDLG=no
2144 DEFAULT_wxUSE_SPLASH=no
2145 DEFAULT_wxUSE_STARTUP_TIPS=no
2146 DEFAULT_wxUSE_PROGRESSDLG=no
2147 DEFAULT_wxUSE_WIZARDDLG=no
2148
2149 DEFAULT_wxUSE_MENUS=no
2150 DEFAULT_wxUSE_MINIFRAME=no
2151 DEFAULT_wxUSE_HTML=no
2152 DEFAULT_wxUSE_XRC=no
2153 DEFAULT_wxUSE_WEBKIT=no
2154 DEFAULT_wxUSE_FILESYSTEM=no
2155 DEFAULT_wxUSE_FS_INET=no
2156 DEFAULT_wxUSE_FS_ZIP=no
2157 DEFAULT_wxUSE_BUSYINFO=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2159 DEFAULT_wxUSE_ZIPSTREAM=no
2160 DEFAULT_wxUSE_VALIDATORS=no
2161
2162 DEFAULT_wxUSE_ACCEL=no
2163 DEFAULT_wxUSE_BUTTON=no
2164 DEFAULT_wxUSE_BMPBUTTON=no
2165 DEFAULT_wxUSE_CALCTRL=no
2166 DEFAULT_wxUSE_CARET=no
2167 DEFAULT_wxUSE_CHECKBOX=no
2168 DEFAULT_wxUSE_CHECKLST=no
2169 DEFAULT_wxUSE_CHOICE=no
2170 DEFAULT_wxUSE_CHOICEBOOK=no
2171 DEFAULT_wxUSE_COMBOBOX=no
2172 DEFAULT_wxUSE_DATEPICKCTRL=no
2173 DEFAULT_wxUSE_DISPLAY=no
2174 DEFAULT_wxUSE_GAUGE=no
2175 DEFAULT_wxUSE_GRID=no
2176 DEFAULT_wxUSE_IMAGLIST=no
2177 DEFAULT_wxUSE_LISTBOOK=no
2178 DEFAULT_wxUSE_LISTBOX=no
2179 DEFAULT_wxUSE_LISTCTRL=no
2180 DEFAULT_wxUSE_NOTEBOOK=no
2181 DEFAULT_wxUSE_RADIOBOX=no
2182 DEFAULT_wxUSE_RADIOBTN=no
2183 DEFAULT_wxUSE_SASH=no
2184 DEFAULT_wxUSE_SCROLLBAR=no
2185 DEFAULT_wxUSE_SLIDER=no
2186 DEFAULT_wxUSE_SPINBTN=no
2187 DEFAULT_wxUSE_SPINCTRL=no
2188 DEFAULT_wxUSE_SPLITTER=no
2189 DEFAULT_wxUSE_STATBMP=no
2190 DEFAULT_wxUSE_STATBOX=no
2191 DEFAULT_wxUSE_STATLINE=no
2192 DEFAULT_wxUSE_STATTEXT=no
2193 DEFAULT_wxUSE_STATUSBAR=yes
2194 DEFAULT_wxUSE_TABDIALOG=no
2195 DEFAULT_wxUSE_TEXTCTRL=no
2196 DEFAULT_wxUSE_TOGGLEBTN=no
2197 DEFAULT_wxUSE_TOOLBAR=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2200 DEFAULT_wxUSE_TREECTRL=no
2201 DEFAULT_wxUSE_POPUPWIN=no
2202 DEFAULT_wxUSE_TIPWINDOW=no
2203
2204 DEFAULT_wxUSE_UNICODE=no
2205 DEFAULT_wxUSE_UNICODE_MSLU=no
2206 DEFAULT_wxUSE_WCSRTOMBS=no
2207
2208 DEFAULT_wxUSE_PALETTE=no
2209 DEFAULT_wxUSE_IMAGE=no
2210 DEFAULT_wxUSE_GIF=no
2211 DEFAULT_wxUSE_PCX=no
2212 DEFAULT_wxUSE_PNM=no
2213 DEFAULT_wxUSE_IFF=no
2214 DEFAULT_wxUSE_XPM=no
2215 DEFAULT_wxUSE_ICO_CUR=no
2216 DEFAULT_wxUSE_ACCESSIBILITY=no
2217
2218 DEFAULT_wxUSE_MONOLITHIC=no
2219 DEFAULT_wxUSE_PLUGINS=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2221 else
2222 DEFAULT_wxUSE_UNIVERSAL=no
2223 DEFAULT_wxUSE_STL=no
2224
2225 DEFAULT_wxUSE_NANOX=no
2226
2227 DEFAULT_wxUSE_THREADS=yes
2228
2229 DEFAULT_wxUSE_SHARED=yes
2230 DEFAULT_wxUSE_OPTIMISE=yes
2231 DEFAULT_wxUSE_PROFILE=no
2232 DEFAULT_wxUSE_NO_DEPS=no
2233 DEFAULT_wxUSE_NO_RTTI=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2235 DEFAULT_wxUSE_RPATH=yes
2236 DEFAULT_wxUSE_PERMISSIVE=no
2237 DEFAULT_wxUSE_DEBUG_FLAG=no
2238 DEFAULT_wxUSE_DEBUG_INFO=no
2239 DEFAULT_wxUSE_DEBUG_GDB=no
2240 DEFAULT_wxUSE_MEM_TRACING=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2242 DEFAULT_wxUSE_DMALLOC=no
2243 DEFAULT_wxUSE_APPLE_IEEE=yes
2244
2245 DEFAULT_wxUSE_EXCEPTIONS=yes
2246 DEFAULT_wxUSE_LOG=yes
2247 DEFAULT_wxUSE_LOGWINDOW=yes
2248 DEFAULT_wxUSE_LOGGUI=yes
2249 DEFAULT_wxUSE_LOGDIALOG=yes
2250
2251 DEFAULT_wxUSE_GUI=yes
2252
2253 DEFAULT_wxUSE_REGEX=yes
2254 DEFAULT_wxUSE_XML=yes
2255 DEFAULT_wxUSE_EXPAT=yes
2256 DEFAULT_wxUSE_ZLIB=yes
2257 DEFAULT_wxUSE_LIBPNG=yes
2258 DEFAULT_wxUSE_LIBJPEG=yes
2259 DEFAULT_wxUSE_LIBTIFF=yes
2260 DEFAULT_wxUSE_LIBXPM=yes
2261 DEFAULT_wxUSE_LIBMSPACK=yes
2262 DEFAULT_wxUSE_LIBSDL=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2264 DEFAULT_wxUSE_ODBC=no
2265 DEFAULT_wxUSE_OPENGL=no
2266
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2268 DEFAULT_wxUSE_STACKWALKER=yes
2269 DEFAULT_wxUSE_DEBUGREPORT=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2273 DEFAULT_wxUSE_DATETIME=yes
2274 DEFAULT_wxUSE_TIMER=yes
2275 DEFAULT_wxUSE_STOPWATCH=yes
2276 DEFAULT_wxUSE_FILE=yes
2277 DEFAULT_wxUSE_FFILE=yes
2278 DEFAULT_wxUSE_STDPATHS=yes
2279 DEFAULT_wxUSE_TEXTBUFFER=yes
2280 DEFAULT_wxUSE_TEXTFILE=yes
2281 DEFAULT_wxUSE_SOUND=yes
2282 DEFAULT_wxUSE_MEDIACTRL=no
2283 DEFAULT_wxUSE_DIRECTSHOW=no
2284 DEFAULT_wxUSE_INTL=yes
2285 DEFAULT_wxUSE_CONFIG=yes
2286 DEFAULT_wxUSE_FONTMAP=yes
2287 DEFAULT_wxUSE_STREAMS=yes
2288 DEFAULT_wxUSE_SOCKETS=yes
2289 DEFAULT_wxUSE_OLE=yes
2290 DEFAULT_wxUSE_DATAOBJ=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2292 DEFAULT_wxUSE_JOYSTICK=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2295 DEFAULT_wxUSE_LONGLONG=yes
2296 DEFAULT_wxUSE_GEOMETRY=yes
2297
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2300 DEFAULT_wxUSE_POSTSCRIPT=yes
2301
2302 DEFAULT_wxUSE_CLIPBOARD=yes
2303 DEFAULT_wxUSE_TOOLTIPS=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2305 DEFAULT_wxUSE_DRAGIMAGE=yes
2306 DEFAULT_wxUSE_SPLINES=yes
2307
2308 DEFAULT_wxUSE_MDI=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2312
2313 DEFAULT_wxUSE_RESOURCES=no
2314 DEFAULT_wxUSE_CONSTRAINTS=yes
2315 DEFAULT_wxUSE_IPC=yes
2316 DEFAULT_wxUSE_HELP=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP=yes
2318 DEFAULT_wxUSE_WXHTML_HELP=yes
2319 DEFAULT_wxUSE_TREELAYOUT=yes
2320 DEFAULT_wxUSE_METAFILE=yes
2321 DEFAULT_wxUSE_MIMETYPE=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2323 DEFAULT_wxUSE_PROTOCOL=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2327 DEFAULT_wxUSE_URL=yes
2328
2329 DEFAULT_wxUSE_COMMONDLGS=yes
2330 DEFAULT_wxUSE_CHOICEDLG=yes
2331 DEFAULT_wxUSE_COLOURDLG=yes
2332 DEFAULT_wxUSE_DIRDLG=yes
2333 DEFAULT_wxUSE_FILEDLG=yes
2334 DEFAULT_wxUSE_FINDREPLDLG=yes
2335 DEFAULT_wxUSE_FONTDLG=yes
2336 DEFAULT_wxUSE_MSGDLG=yes
2337 DEFAULT_wxUSE_NUMBERDLG=yes
2338 DEFAULT_wxUSE_TEXTDLG=yes
2339 DEFAULT_wxUSE_SPLASH=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS=yes
2341 DEFAULT_wxUSE_PROGRESSDLG=yes
2342 DEFAULT_wxUSE_WIZARDDLG=yes
2343
2344 DEFAULT_wxUSE_MENUS=yes
2345 DEFAULT_wxUSE_MINIFRAME=yes
2346 DEFAULT_wxUSE_HTML=yes
2347 DEFAULT_wxUSE_XRC=yes
2348 DEFAULT_wxUSE_WEBKIT=yes
2349 DEFAULT_wxUSE_FILESYSTEM=yes
2350 DEFAULT_wxUSE_FS_INET=yes
2351 DEFAULT_wxUSE_FS_ZIP=yes
2352 DEFAULT_wxUSE_BUSYINFO=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2354 DEFAULT_wxUSE_ZIPSTREAM=yes
2355 DEFAULT_wxUSE_VALIDATORS=yes
2356
2357 DEFAULT_wxUSE_ACCEL=yes
2358 DEFAULT_wxUSE_BUTTON=yes
2359 DEFAULT_wxUSE_BMPBUTTON=yes
2360 DEFAULT_wxUSE_CALCTRL=yes
2361 DEFAULT_wxUSE_CARET=yes
2362 DEFAULT_wxUSE_CHECKBOX=yes
2363 DEFAULT_wxUSE_CHECKLST=yes
2364 DEFAULT_wxUSE_CHOICE=yes
2365 DEFAULT_wxUSE_CHOICEBOOK=yes
2366 DEFAULT_wxUSE_COMBOBOX=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL=yes
2368 DEFAULT_wxUSE_DISPLAY=yes
2369 DEFAULT_wxUSE_GAUGE=yes
2370 DEFAULT_wxUSE_GRID=yes
2371 DEFAULT_wxUSE_IMAGLIST=yes
2372 DEFAULT_wxUSE_LISTBOOK=yes
2373 DEFAULT_wxUSE_LISTBOX=yes
2374 DEFAULT_wxUSE_LISTCTRL=yes
2375 DEFAULT_wxUSE_NOTEBOOK=yes
2376 DEFAULT_wxUSE_RADIOBOX=yes
2377 DEFAULT_wxUSE_RADIOBTN=yes
2378 DEFAULT_wxUSE_SASH=yes
2379 DEFAULT_wxUSE_SCROLLBAR=yes
2380 DEFAULT_wxUSE_SLIDER=yes
2381 DEFAULT_wxUSE_SPINBTN=yes
2382 DEFAULT_wxUSE_SPINCTRL=yes
2383 DEFAULT_wxUSE_SPLITTER=yes
2384 DEFAULT_wxUSE_STATBMP=yes
2385 DEFAULT_wxUSE_STATBOX=yes
2386 DEFAULT_wxUSE_STATLINE=yes
2387 DEFAULT_wxUSE_STATTEXT=yes
2388 DEFAULT_wxUSE_STATUSBAR=yes
2389 DEFAULT_wxUSE_TABDIALOG=no
2390 DEFAULT_wxUSE_TEXTCTRL=yes
2391 DEFAULT_wxUSE_TOGGLEBTN=yes
2392 DEFAULT_wxUSE_TOOLBAR=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2395 DEFAULT_wxUSE_TREECTRL=yes
2396 DEFAULT_wxUSE_POPUPWIN=yes
2397 DEFAULT_wxUSE_TIPWINDOW=yes
2398
2399 DEFAULT_wxUSE_UNICODE=no
2400 DEFAULT_wxUSE_UNICODE_MSLU=yes
2401 DEFAULT_wxUSE_WCSRTOMBS=no
2402
2403 DEFAULT_wxUSE_PALETTE=yes
2404 DEFAULT_wxUSE_IMAGE=yes
2405 DEFAULT_wxUSE_GIF=yes
2406 DEFAULT_wxUSE_PCX=yes
2407 DEFAULT_wxUSE_IFF=no
2408 DEFAULT_wxUSE_PNM=yes
2409 DEFAULT_wxUSE_XPM=yes
2410 DEFAULT_wxUSE_ICO_CUR=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY=no
2412
2413 DEFAULT_wxUSE_MONOLITHIC=no
2414 DEFAULT_wxUSE_PLUGINS=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2416
2417 DEFAULT_wxUSE_GTK2=yes
2418 fi
2419
2420
2421
2422 for toolkit in `echo $ALL_TOOLKITS`; do
2423 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2428 fi
2429 done
2430
2431
2432
2433 enablestring=
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2436 no_cache=0
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval="$enable_gui"
2440
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui='wxUSE_GUI=yes'
2443 else
2444 ac_cv_use_gui='wxUSE_GUI=no'
2445 fi
2446
2447 else
2448
2449 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x ; then
2451 eval "DEFAULT_$LINE"
2452 else
2453 no_cache=1
2454 fi
2455
2456 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457
2458 fi;
2459
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2463 fi
2464
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2468 else
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2471 fi
2472
2473
2474 enablestring=
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2477 no_cache=0
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval="$enable_monolithic"
2481
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2484 else
2485 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2486 fi
2487
2488 else
2489
2490 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x ; then
2492 eval "DEFAULT_$LINE"
2493 else
2494 no_cache=1
2495 fi
2496
2497 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498
2499 fi;
2500
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2504 fi
2505
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509 else
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2512 fi
2513
2514
2515 enablestring=
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2518 no_cache=0
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval="$enable_plugins"
2522
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2525 else
2526 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2527 fi
2528
2529 else
2530
2531 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x ; then
2533 eval "DEFAULT_$LINE"
2534 else
2535 no_cache=1
2536 fi
2537
2538 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539
2540 fi;
2541
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2545 fi
2546
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2550 else
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2553 fi
2554
2555
2556 if test "$wxUSE_GUI" = "yes"; then
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval="$enable_universal"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2569 else
2570 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583
2584 fi;
2585
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2602 withval="$with_gtk"
2603 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval="$with_motif"
2609 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2614 withval="$with_mac"
2615 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval="$with_cocoa"
2621 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2622 fi;
2623
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval="$with_wine"
2627 wxUSE_WINE="$withval" CACHE_WINE=1
2628 fi;
2629
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2632 withval="$with_msw"
2633 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2634 fi;
2635
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2638 withval="$with_pm"
2639 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2644 withval="$with_mgl"
2645 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval="$with_microwin"
2651 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2656 withval="$with_x11"
2657 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval="$enable_nanox"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox='wxUSE_NANOX=yes'
2670 else
2671 ac_cv_use_nanox='wxUSE_NANOX=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684
2685 fi;
2686
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701
2702 enablestring=
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2705 no_cache=0
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval="$enable_gtk2"
2709
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2712 else
2713 ac_cv_use_gtk2='wxUSE_GTK2=no'
2714 fi
2715
2716 else
2717
2718 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x ; then
2720 eval "DEFAULT_$LINE"
2721 else
2722 no_cache=1
2723 fi
2724
2725 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726
2727 fi;
2728
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2732 fi
2733
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742
2743 enablestring=
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2746 no_cache=0
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval="$enable_gpe"
2750
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe='wxUSE_GPE=yes'
2753 else
2754 ac_cv_use_gpe='wxUSE_GPE=no'
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767
2768 fi;
2769
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 else
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 fi
2782
2783
2784
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2787 no_cache=0
2788
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval="$with_libpng"
2792
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no; then
2796 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys; then
2798 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2801 else
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2805 fi
2806
2807 else
2808
2809 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x ; then
2811 eval "DEFAULT_$LINE"
2812 else
2813 no_cache=1
2814 fi
2815
2816 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817
2818 fi;
2819
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2823 fi
2824
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2837 else
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2841 fi
2842
2843
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2846 no_cache=0
2847
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval="$with_libjpeg"
2851
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2860 else
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2864 fi
2865
2866 else
2867
2868 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2871 else
2872 no_cache=1
2873 fi
2874
2875 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876
2877 fi;
2878
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2882 fi
2883
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2896 else
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2900 fi
2901
2902
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2905 no_cache=0
2906
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval="$with_libtiff"
2910
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925 else
2926
2927 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2930 else
2931 no_cache=1
2932 fi
2933
2934 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935
2936 fi;
2937
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2941 fi
2942
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2955 else
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2959 fi
2960
2961
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2964 no_cache=0
2965
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval="$with_libxpm"
2969
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2978 else
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994
2995 fi;
2996
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3014 else
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3018 fi
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval="$with_libmspack"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3031 else
3032 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 else
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 fi
3060
3061
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3064 no_cache=0
3065
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3068 withval="$with_sdl"
3069
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3072 else
3073 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3074 fi
3075
3076 else
3077
3078 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x ; then
3080 eval "DEFAULT_$LINE"
3081 else
3082 no_cache=1
3083 fi
3084
3085 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086
3087 fi;
3088
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval="$with_gnomeprint"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3113 else
3114 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127
3128 fi;
3129
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3146 no_cache=0
3147
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval="$with_opengl"
3151
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3154 else
3155 ac_cv_use_opengl='wxUSE_OPENGL=no'
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168
3169 fi;
3170
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 else
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 fi
3183
3184
3185 fi
3186
3187
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3190 no_cache=0
3191
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval="$with_dmalloc"
3195
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3198 else
3199 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3200 fi
3201
3202 else
3203
3204 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x ; then
3206 eval "DEFAULT_$LINE"
3207 else
3208 no_cache=1
3209 fi
3210
3211 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212
3213 fi;
3214
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3218 fi
3219
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3223 else
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3226 fi
3227
3228
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval="$with_regex"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex='wxUSE_REGEX=yes'
3239 elif test "$withval" = no; then
3240 ac_cv_use_regex='wxUSE_REGEX=no'
3241 elif test "$withval" = sys; then
3242 ac_cv_use_regex='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex='wxUSE_REGEX=builtin'
3245 else
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261
3262 fi;
3263
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3281 else
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3285 fi
3286
3287
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3290 no_cache=0
3291
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval="$with_zlib"
3295
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no; then
3299 ac_cv_use_zlib='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys; then
3301 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3304 else
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320
3321 fi;
3322
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3340 else
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3344 fi
3345
3346
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3349 no_cache=0
3350
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval="$with_odbc"
3354
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc='wxUSE_ODBC=yes'
3357 elif test "$withval" = no; then
3358 ac_cv_use_odbc='wxUSE_ODBC=no'
3359 elif test "$withval" = sys; then
3360 ac_cv_use_odbc='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3363 else
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3399 else
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3403 fi
3404
3405
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval="$with_expat"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no; then
3417 ac_cv_use_expat='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys; then
3419 ac_cv_use_expat='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3422 else
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3426 fi
3427
3428 else
3429
3430 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x ; then
3432 eval "DEFAULT_$LINE"
3433 else
3434 no_cache=1
3435 fi
3436
3437 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438
3439 fi;
3440
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3444 fi
3445
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3458 else
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3462 fi
3463
3464
3465
3466
3467 enablestring=
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3470 no_cache=0
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval="$enable_shared"
3474
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared='wxUSE_SHARED=yes'
3477 else
3478 ac_cv_use_shared='wxUSE_SHARED=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491
3492 fi;
3493
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 enablestring=
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3511 no_cache=0
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval="$enable_optimise"
3515
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3518 else
3519 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532
3533 fi;
3534
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval="$enable_debug"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug='wxUSE_DEBUG=yes'
3559 else
3560 ac_cv_use_debug='wxUSE_DEBUG=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573
3574 fi;
3575
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589
3590 enablestring=
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3593 no_cache=0
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval="$enable_stl"
3597
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl='wxUSE_STL=yes'
3600 else
3601 ac_cv_use_stl='wxUSE_STL=no'
3602 fi
3603
3604 else
3605
3606 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x ; then
3608 eval "DEFAULT_$LINE"
3609 else
3610 no_cache=1
3611 fi
3612
3613 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3614
3615 fi;
3616
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3625 else
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3628 fi
3629
3630 if test "$USE_OS2" = "1"; then
3631 DEFAULT_wxUSE_OMF=no
3632
3633 enablestring=
3634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3635 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3636 no_cache=0
3637 # Check whether --enable-omf or --disable-omf was given.
3638 if test "${enable_omf+set}" = set; then
3639 enableval="$enable_omf"
3640
3641 if test "$enableval" = yes; then
3642 ac_cv_use_omf='wxUSE_OMF=yes'
3643 else
3644 ac_cv_use_omf='wxUSE_OMF=no'
3645 fi
3646
3647 else
3648
3649 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3652 else
3653 no_cache=1
3654 fi
3655
3656 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3657
3658 fi;
3659
3660 eval "$ac_cv_use_omf"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3663 fi
3664
3665 if test "$wxUSE_OMF" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3668 else
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 fi
3672
3673 fi
3674
3675 if test "$wxUSE_DEBUG" = "yes"; then
3676 DEFAULT_wxUSE_DEBUG_FLAG=yes
3677 DEFAULT_wxUSE_DEBUG_INFO=yes
3678 BUILD=debug
3679 elif test "$wxUSE_DEBUG" = "no"; then
3680 DEFAULT_wxUSE_DEBUG_FLAG=no
3681 DEFAULT_wxUSE_DEBUG_INFO=no
3682 BUILD=release
3683 fi
3684
3685
3686 enablestring=
3687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3688 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3689 no_cache=0
3690 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3691 if test "${enable_debug_flag+set}" = set; then
3692 enableval="$enable_debug_flag"
3693
3694 if test "$enableval" = yes; then
3695 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3696 else
3697 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3698 fi
3699
3700 else
3701
3702 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3705 else
3706 no_cache=1
3707 fi
3708
3709 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3710
3711 fi;
3712
3713 eval "$ac_cv_use_debug_flag"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3716 fi
3717
3718 if test "$wxUSE_DEBUG_FLAG" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3721 else
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3724 fi
3725
3726
3727 enablestring=
3728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3729 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3730 no_cache=0
3731 # Check whether --enable-debug_info or --disable-debug_info was given.
3732 if test "${enable_debug_info+set}" = set; then
3733 enableval="$enable_debug_info"
3734
3735 if test "$enableval" = yes; then
3736 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3737 else
3738 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3739 fi
3740
3741 else
3742
3743 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3746 else
3747 no_cache=1
3748 fi
3749
3750 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3751
3752 fi;
3753
3754 eval "$ac_cv_use_debug_info"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3757 fi
3758
3759 if test "$wxUSE_DEBUG_INFO" = yes; then
3760 echo "$as_me:$LINENO: result: yes" >&5
3761 echo "${ECHO_T}yes" >&6
3762 else
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3765 fi
3766
3767
3768 enablestring=
3769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3770 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3771 no_cache=0
3772 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3773 if test "${enable_debug_gdb+set}" = set; then
3774 enableval="$enable_debug_gdb"
3775
3776 if test "$enableval" = yes; then
3777 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3778 else
3779 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3780 fi
3781
3782 else
3783
3784 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3787 else
3788 no_cache=1
3789 fi
3790
3791 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3792
3793 fi;
3794
3795 eval "$ac_cv_use_debug_gdb"
3796 if test "$no_cache" != 1; then
3797 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3798 fi
3799
3800 if test "$wxUSE_DEBUG_GDB" = yes; then
3801 echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6
3803 else
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3806 fi
3807
3808
3809 enablestring=
3810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3811 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3812 no_cache=0
3813 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3814 if test "${enable_debug_cntxt+set}" = set; then
3815 enableval="$enable_debug_cntxt"
3816
3817 if test "$enableval" = yes; then
3818 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3819 else
3820 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3821 fi
3822
3823 else
3824
3825 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3826 if test "x$LINE" != x ; then
3827 eval "DEFAULT_$LINE"
3828 else
3829 no_cache=1
3830 fi
3831
3832 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3833
3834 fi;
3835
3836 eval "$ac_cv_use_debug_cntxt"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3839 fi
3840
3841 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3842 echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6
3844 else
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3847 fi
3848
3849
3850 enablestring=
3851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3852 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3853 no_cache=0
3854 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3855 if test "${enable_mem_tracing+set}" = set; then
3856 enableval="$enable_mem_tracing"
3857
3858 if test "$enableval" = yes; then
3859 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3860 else
3861 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3862 fi
3863
3864 else
3865
3866 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3867 if test "x$LINE" != x ; then
3868 eval "DEFAULT_$LINE"
3869 else
3870 no_cache=1
3871 fi
3872
3873 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3874
3875 fi;
3876
3877 eval "$ac_cv_use_mem_tracing"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3880 fi
3881
3882 if test "$wxUSE_MEM_TRACING" = yes; then
3883 echo "$as_me:$LINENO: result: yes" >&5
3884 echo "${ECHO_T}yes" >&6
3885 else
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3888 fi
3889
3890
3891 enablestring=
3892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3893 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3894 no_cache=0
3895 # Check whether --enable-profile or --disable-profile was given.
3896 if test "${enable_profile+set}" = set; then
3897 enableval="$enable_profile"
3898
3899 if test "$enableval" = yes; then
3900 ac_cv_use_profile='wxUSE_PROFILE=yes'
3901 else
3902 ac_cv_use_profile='wxUSE_PROFILE=no'
3903 fi
3904
3905 else
3906
3907 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x ; then
3909 eval "DEFAULT_$LINE"
3910 else
3911 no_cache=1
3912 fi
3913
3914 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3915
3916 fi;
3917
3918 eval "$ac_cv_use_profile"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3921 fi
3922
3923 if test "$wxUSE_PROFILE" = yes; then
3924 echo "$as_me:$LINENO: result: yes" >&5
3925 echo "${ECHO_T}yes" >&6
3926 else
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3929 fi
3930
3931
3932 enablestring=
3933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3934 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3935 no_cache=0
3936 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3937 if test "${enable_no_rtti+set}" = set; then
3938 enableval="$enable_no_rtti"
3939
3940 if test "$enableval" = yes; then
3941 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3942 else
3943 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3944 fi
3945
3946 else
3947
3948 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3956
3957 fi;
3958
3959 eval "$ac_cv_use_no_rtti"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3962 fi
3963
3964 if test "$wxUSE_NO_RTTI" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3967 else
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3970 fi
3971
3972
3973 enablestring=
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3976 no_cache=0
3977 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3978 if test "${enable_no_exceptions+set}" = set; then
3979 enableval="$enable_no_exceptions"
3980
3981 if test "$enableval" = yes; then
3982 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3983 else
3984 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3985 fi
3986
3987 else
3988
3989 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 else
3993 no_cache=1
3994 fi
3995
3996 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3997
3998 fi;
3999
4000 eval "$ac_cv_use_no_exceptions"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4003 fi
4004
4005 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4006 echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6
4008 else
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4011 fi
4012
4013
4014 enablestring=
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4017 no_cache=0
4018 # Check whether --enable-permissive or --disable-permissive was given.
4019 if test "${enable_permissive+set}" = set; then
4020 enableval="$enable_permissive"
4021
4022 if test "$enableval" = yes; then
4023 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4024 else
4025 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4026 fi
4027
4028 else
4029
4030 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4033 else
4034 no_cache=1
4035 fi
4036
4037 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4038
4039 fi;
4040
4041 eval "$ac_cv_use_permissive"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_PERMISSIVE" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054
4055 enablestring=
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4058 no_cache=0
4059 # Check whether --enable-no_deps or --disable-no_deps was given.
4060 if test "${enable_no_deps+set}" = set; then
4061 enableval="$enable_no_deps"
4062
4063 if test "$enableval" = yes; then
4064 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4065 else
4066 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4079
4080 fi;
4081
4082 eval "$ac_cv_use_no_deps"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test "$wxUSE_NO_DEPS" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095
4096
4097 enablestring=
4098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4099 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4100 no_cache=0
4101 # Check whether --enable-compat22 or --disable-compat22 was given.
4102 if test "${enable_compat22+set}" = set; then
4103 enableval="$enable_compat22"
4104
4105 if test "$enableval" = yes; then
4106 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4107 else
4108 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4109 fi
4110
4111 else
4112
4113 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x ; then
4115 eval "DEFAULT_$LINE"
4116 else
4117 no_cache=1
4118 fi
4119
4120 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4121
4122 fi;
4123
4124 eval "$ac_cv_use_compat22"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4127 fi
4128
4129 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4130 echo "$as_me:$LINENO: result: yes" >&5
4131 echo "${ECHO_T}yes" >&6
4132 else
4133 echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6
4135 fi
4136
4137
4138 enablestring=disable
4139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4140 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4141 no_cache=0
4142 # Check whether --enable-compat24 or --disable-compat24 was given.
4143 if test "${enable_compat24+set}" = set; then
4144 enableval="$enable_compat24"
4145
4146 if test "$enableval" = yes; then
4147 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4148 else
4149 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4150 fi
4151
4152 else
4153
4154 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4157 else
4158 no_cache=1
4159 fi
4160
4161 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4162
4163 fi;
4164
4165 eval "$ac_cv_use_compat24"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4168 fi
4169
4170 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4171 echo "$as_me:$LINENO: result: yes" >&5
4172 echo "${ECHO_T}yes" >&6
4173 else
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4176 fi
4177
4178
4179
4180 enablestring=
4181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4183 no_cache=0
4184 # Check whether --enable-rpath or --disable-rpath was given.
4185 if test "${enable_rpath+set}" = set; then
4186 enableval="$enable_rpath"
4187
4188 if test "$enableval" = yes; then
4189 ac_cv_use_rpath='wxUSE_RPATH=yes'
4190 else
4191 ac_cv_use_rpath='wxUSE_RPATH=no'
4192 fi
4193
4194 else
4195
4196 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4199 else
4200 no_cache=1
4201 fi
4202
4203 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4204
4205 fi;
4206
4207 eval "$ac_cv_use_rpath"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4210 fi
4211
4212 if test "$wxUSE_RPATH" = yes; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4215 else
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4218 fi
4219
4220
4221
4222
4223
4224 enablestring=
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4227 no_cache=0
4228 # Check whether --enable-intl or --disable-intl was given.
4229 if test "${enable_intl+set}" = set; then
4230 enableval="$enable_intl"
4231
4232 if test "$enableval" = yes; then
4233 ac_cv_use_intl='wxUSE_INTL=yes'
4234 else
4235 ac_cv_use_intl='wxUSE_INTL=no'
4236 fi
4237
4238 else
4239
4240 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x ; then
4242 eval "DEFAULT_$LINE"
4243 else
4244 no_cache=1
4245 fi
4246
4247 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4248
4249 fi;
4250
4251 eval "$ac_cv_use_intl"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4254 fi
4255
4256 if test "$wxUSE_INTL" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4259 else
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4262 fi
4263
4264
4265 enablestring=
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4268 no_cache=0
4269 # Check whether --enable-config or --disable-config was given.
4270 if test "${enable_config+set}" = set; then
4271 enableval="$enable_config"
4272
4273 if test "$enableval" = yes; then
4274 ac_cv_use_config='wxUSE_CONFIG=yes'
4275 else
4276 ac_cv_use_config='wxUSE_CONFIG=no'
4277 fi
4278
4279 else
4280
4281 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x ; then
4283 eval "DEFAULT_$LINE"
4284 else
4285 no_cache=1
4286 fi
4287
4288 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4289
4290 fi;
4291
4292 eval "$ac_cv_use_config"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4295 fi
4296
4297 if test "$wxUSE_CONFIG" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4300 else
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4303 fi
4304
4305
4306
4307 enablestring=
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4310 no_cache=0
4311 # Check whether --enable-protocols or --disable-protocols was given.
4312 if test "${enable_protocols+set}" = set; then
4313 enableval="$enable_protocols"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4317 else
4318 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4319 fi
4320
4321 else
4322
4323 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4331
4332 fi;
4333
4334 eval "$ac_cv_use_protocols"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4337 fi
4338
4339 if test "$wxUSE_PROTOCOL" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4342 else
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347
4348 enablestring=
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4351 no_cache=0
4352 # Check whether --enable-ftp or --disable-ftp was given.
4353 if test "${enable_ftp+set}" = set; then
4354 enableval="$enable_ftp"
4355
4356 if test "$enableval" = yes; then
4357 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4358 else
4359 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4360 fi
4361
4362 else
4363
4364 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x ; then
4366 eval "DEFAULT_$LINE"
4367 else
4368 no_cache=1
4369 fi
4370
4371 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4372
4373 fi;
4374
4375 eval "$ac_cv_use_ftp"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4383 else
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4386 fi
4387
4388
4389 enablestring=
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4392 no_cache=0
4393 # Check whether --enable-http or --disable-http was given.
4394 if test "${enable_http+set}" = set; then
4395 enableval="$enable_http"
4396
4397 if test "$enableval" = yes; then
4398 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4399 else
4400 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4401 fi
4402
4403 else
4404
4405 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4408 else
4409 no_cache=1
4410 fi
4411
4412 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4413
4414 fi;
4415
4416 eval "$ac_cv_use_http"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4419 fi
4420
4421 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4424 else
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4427 fi
4428
4429
4430 enablestring=
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4433 no_cache=0
4434 # Check whether --enable-fileproto or --disable-fileproto was given.
4435 if test "${enable_fileproto+set}" = set; then
4436 enableval="$enable_fileproto"
4437
4438 if test "$enableval" = yes; then
4439 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4440 else
4441 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4442 fi
4443
4444 else
4445
4446 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4449 else
4450 no_cache=1
4451 fi
4452
4453 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4454
4455 fi;
4456
4457 eval "$ac_cv_use_fileproto"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4465 else
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4468 fi
4469
4470
4471 enablestring=
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4474 no_cache=0
4475 # Check whether --enable-sockets or --disable-sockets was given.
4476 if test "${enable_sockets+set}" = set; then
4477 enableval="$enable_sockets"
4478
4479 if test "$enableval" = yes; then
4480 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4481 else
4482 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4483 fi
4484
4485 else
4486
4487 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4490 else
4491 no_cache=1
4492 fi
4493
4494 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4495
4496 fi;
4497
4498 eval "$ac_cv_use_sockets"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4501 fi
4502
4503 if test "$wxUSE_SOCKETS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4506 else
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4509 fi
4510
4511
4512 enablestring=
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4515 no_cache=0
4516 # Check whether --enable-ole or --disable-ole was given.
4517 if test "${enable_ole+set}" = set; then
4518 enableval="$enable_ole"
4519
4520 if test "$enableval" = yes; then
4521 ac_cv_use_ole='wxUSE_OLE=yes'
4522 else
4523 ac_cv_use_ole='wxUSE_OLE=no'
4524 fi
4525
4526 else
4527
4528 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x ; then
4530 eval "DEFAULT_$LINE"
4531 else
4532 no_cache=1
4533 fi
4534
4535 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4536
4537 fi;
4538
4539 eval "$ac_cv_use_ole"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 if test "$wxUSE_OLE" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4547 else
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4550 fi
4551
4552
4553 enablestring=
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4556 no_cache=0
4557 # Check whether --enable-dataobj or --disable-dataobj was given.
4558 if test "${enable_dataobj+set}" = set; then
4559 enableval="$enable_dataobj"
4560
4561 if test "$enableval" = yes; then
4562 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4563 else
4564 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4565 fi
4566
4567 else
4568
4569 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x ; then
4571 eval "DEFAULT_$LINE"
4572 else
4573 no_cache=1
4574 fi
4575
4576 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4577
4578 fi;
4579
4580 eval "$ac_cv_use_dataobj"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4583 fi
4584
4585 if test "$wxUSE_DATAOBJ" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4588 else
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4591 fi
4592
4593
4594
4595 enablestring=
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4598 no_cache=0
4599 # Check whether --enable-ipc or --disable-ipc was given.
4600 if test "${enable_ipc+set}" = set; then
4601 enableval="$enable_ipc"
4602
4603 if test "$enableval" = yes; then
4604 ac_cv_use_ipc='wxUSE_IPC=yes'
4605 else
4606 ac_cv_use_ipc='wxUSE_IPC=no'
4607 fi
4608
4609 else
4610
4611 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4619
4620 fi;
4621
4622 eval "$ac_cv_use_ipc"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4625 fi
4626
4627 if test "$wxUSE_IPC" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4630 else
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4633 fi
4634
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4642 if test "${enable_apple_ieee+set}" = set; then
4643 enableval="$enable_apple_ieee"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4647 else
4648 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4661
4662 fi;
4663
4664 eval "$ac_cv_use_apple_ieee"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_APPLE_IEEE" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678 enablestring=
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4681 no_cache=0
4682 # Check whether --enable-arcstream or --disable-arcstream was given.
4683 if test "${enable_arcstream+set}" = set; then
4684 enableval="$enable_arcstream"
4685
4686 if test "$enableval" = yes; then
4687 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4688 else
4689 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4690 fi
4691
4692 else
4693
4694 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x ; then
4696 eval "DEFAULT_$LINE"
4697 else
4698 no_cache=1
4699 fi
4700
4701 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4702
4703 fi;
4704
4705 eval "$ac_cv_use_arcstream"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4713 else
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4716 fi
4717
4718
4719 enablestring=
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4722 no_cache=0
4723 # Check whether --enable-backtrace or --disable-backtrace was given.
4724 if test "${enable_backtrace+set}" = set; then
4725 enableval="$enable_backtrace"
4726
4727 if test "$enableval" = yes; then
4728 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4729 else
4730 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4731 fi
4732
4733 else
4734
4735 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x ; then
4737 eval "DEFAULT_$LINE"
4738 else
4739 no_cache=1
4740 fi
4741
4742 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4743
4744 fi;
4745
4746 eval "$ac_cv_use_backtrace"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_STACKWALKER" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4754 else
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4757 fi
4758
4759
4760 enablestring=
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4763 no_cache=0
4764 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4765 if test "${enable_catch_segvs+set}" = set; then
4766 enableval="$enable_catch_segvs"
4767
4768 if test "$enableval" = yes; then
4769 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4770 else
4771 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4772 fi
4773
4774 else
4775
4776 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 else
4780 no_cache=1
4781 fi
4782
4783 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4784
4785 fi;
4786
4787 eval "$ac_cv_use_catch_segvs"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4795 else
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4798 fi
4799
4800
4801 enablestring=
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4804 no_cache=0
4805 # Check whether --enable-cmdline or --disable-cmdline was given.
4806 if test "${enable_cmdline+set}" = set; then
4807 enableval="$enable_cmdline"
4808
4809 if test "$enableval" = yes; then
4810 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4811 else
4812 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4813 fi
4814
4815 else
4816
4817 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x ; then
4819 eval "DEFAULT_$LINE"
4820 else
4821 no_cache=1
4822 fi
4823
4824 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4825
4826 fi;
4827
4828 eval "$ac_cv_use_cmdline"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4836 else
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4839 fi
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-datetime or --disable-datetime was given.
4847 if test "${enable_datetime+set}" = set; then
4848 enableval="$enable_datetime"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4852 else
4853 ac_cv_use_datetime='wxUSE_DATETIME=no'
4854 fi
4855
4856 else
4857
4858 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4866
4867 fi;
4868
4869 eval "$ac_cv_use_datetime"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_DATETIME" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-debugreport or --disable-debugreport was given.
4888 if test "${enable_debugreport+set}" = set; then
4889 enableval="$enable_debugreport"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4893 else
4894 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4895 fi
4896
4897 else
4898
4899 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4907
4908 fi;
4909
4910 eval "$ac_cv_use_debugreport"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_DEBUGREPORT" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924 enablestring=
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-dialupman or --disable-dialupman was given.
4929 if test "${enable_dialupman+set}" = set; then
4930 enableval="$enable_dialupman"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4934 else
4935 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4936 fi
4937
4938 else
4939
4940 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4948
4949 fi;
4950
4951 eval "$ac_cv_use_dialupman"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4962 fi
4963
4964
4965 enablestring=
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4968 no_cache=0
4969 # Check whether --enable-dynlib or --disable-dynlib was given.
4970 if test "${enable_dynlib+set}" = set; then
4971 enableval="$enable_dynlib"
4972
4973 if test "$enableval" = yes; then
4974 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4975 else
4976 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4977 fi
4978
4979 else
4980
4981 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x ; then
4983 eval "DEFAULT_$LINE"
4984 else
4985 no_cache=1
4986 fi
4987
4988 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4989
4990 fi;
4991
4992 eval "$ac_cv_use_dynlib"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5000 else
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5003 fi
5004
5005
5006 enablestring=
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5009 no_cache=0
5010 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5011 if test "${enable_dynamicloader+set}" = set; then
5012 enableval="$enable_dynamicloader"
5013
5014 if test "$enableval" = yes; then
5015 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5016 else
5017 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5018 fi
5019
5020 else
5021
5022 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x ; then
5024 eval "DEFAULT_$LINE"
5025 else
5026 no_cache=1
5027 fi
5028
5029 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5030
5031 fi;
5032
5033 eval "$ac_cv_use_dynamicloader"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5041 else
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5044 fi
5045
5046
5047 enablestring=
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5050 no_cache=0
5051 # Check whether --enable-exceptions or --disable-exceptions was given.
5052 if test "${enable_exceptions+set}" = set; then
5053 enableval="$enable_exceptions"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5057 else
5058 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5059 fi
5060
5061 else
5062
5063 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5071
5072 fi;
5073
5074 eval "$ac_cv_use_exceptions"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_EXCEPTIONS" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5082 else
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5085 fi
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-ffile or --disable-ffile was given.
5093 if test "${enable_ffile+set}" = set; then
5094 enableval="$enable_ffile"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_ffile='wxUSE_FFILE=yes'
5098 else
5099 ac_cv_use_ffile='wxUSE_FFILE=no'
5100 fi
5101
5102 else
5103
5104 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5112
5113 fi;
5114
5115 eval "$ac_cv_use_ffile"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_FFILE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-file or --disable-file was given.
5134 if test "${enable_file+set}" = set; then
5135 enableval="$enable_file"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_file='wxUSE_FILE=yes'
5139 else
5140 ac_cv_use_file='wxUSE_FILE=no'
5141 fi
5142
5143 else
5144
5145 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5153
5154 fi;
5155
5156 eval "$ac_cv_use_file"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_FILE" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-filesystem or --disable-filesystem was given.
5175 if test "${enable_filesystem+set}" = set; then
5176 enableval="$enable_filesystem"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5180 else
5181 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5182 fi
5183
5184 else
5185
5186 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5194
5195 fi;
5196
5197 eval "$ac_cv_use_filesystem"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_FILESYSTEM" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-fontmap or --disable-fontmap was given.
5216 if test "${enable_fontmap+set}" = set; then
5217 enableval="$enable_fontmap"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5221 else
5222 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5223 fi
5224
5225 else
5226
5227 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5235
5236 fi;
5237
5238 eval "$ac_cv_use_fontmap"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_FONTMAP" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252 enablestring=
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5255 no_cache=0
5256 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5257 if test "${enable_fs_inet+set}" = set; then
5258 enableval="$enable_fs_inet"
5259
5260 if test "$enableval" = yes; then
5261 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5262 else
5263 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5264 fi
5265
5266 else
5267
5268 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5271 else
5272 no_cache=1
5273 fi
5274
5275 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5276
5277 fi;
5278
5279 eval "$ac_cv_use_fs_inet"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test "$wxUSE_FS_INET" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5287 else
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5290 fi
5291
5292
5293 enablestring=
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5296 no_cache=0
5297 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5298 if test "${enable_fs_zip+set}" = set; then
5299 enableval="$enable_fs_zip"
5300
5301 if test "$enableval" = yes; then
5302 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5303 else
5304 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5305 fi
5306
5307 else
5308
5309 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5312 else
5313 no_cache=1
5314 fi
5315
5316 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5317
5318 fi;
5319
5320 eval "$ac_cv_use_fs_zip"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test "$wxUSE_FS_ZIP" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5328 else
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5331 fi
5332
5333
5334 enablestring=
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5337 no_cache=0
5338 # Check whether --enable-geometry or --disable-geometry was given.
5339 if test "${enable_geometry+set}" = set; then
5340 enableval="$enable_geometry"
5341
5342 if test "$enableval" = yes; then
5343 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5344 else
5345 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5346 fi
5347
5348 else
5349
5350 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5353 else
5354 no_cache=1
5355 fi
5356
5357 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5358
5359 fi;
5360
5361 eval "$ac_cv_use_geometry"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5364 fi
5365
5366 if test "$wxUSE_GEOMETRY" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5369 else
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5372 fi
5373
5374
5375 enablestring=
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5378 no_cache=0
5379 # Check whether --enable-log or --disable-log was given.
5380 if test "${enable_log+set}" = set; then
5381 enableval="$enable_log"
5382
5383 if test "$enableval" = yes; then
5384 ac_cv_use_log='wxUSE_LOG=yes'
5385 else
5386 ac_cv_use_log='wxUSE_LOG=no'
5387 fi
5388
5389 else
5390
5391 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5394 else
5395 no_cache=1
5396 fi
5397
5398 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5399
5400 fi;
5401
5402 eval "$ac_cv_use_log"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5405 fi
5406
5407 if test "$wxUSE_LOG" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5410 else
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5413 fi
5414
5415
5416 enablestring=
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5419 no_cache=0
5420 # Check whether --enable-longlong or --disable-longlong was given.
5421 if test "${enable_longlong+set}" = set; then
5422 enableval="$enable_longlong"
5423
5424 if test "$enableval" = yes; then
5425 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5426 else
5427 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5428 fi
5429
5430 else
5431
5432 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5435 else
5436 no_cache=1
5437 fi
5438
5439 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5440
5441 fi;
5442
5443 eval "$ac_cv_use_longlong"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_LONGLONG" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5451 else
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5454 fi
5455
5456
5457 enablestring=
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5460 no_cache=0
5461 # Check whether --enable-mimetype or --disable-mimetype was given.
5462 if test "${enable_mimetype+set}" = set; then
5463 enableval="$enable_mimetype"
5464
5465 if test "$enableval" = yes; then
5466 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5467 else
5468 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5469 fi
5470
5471 else
5472
5473 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5476 else
5477 no_cache=1
5478 fi
5479
5480 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5481
5482 fi;
5483
5484 eval "$ac_cv_use_mimetype"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_MIMETYPE" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5492 else
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5495 fi
5496
5497
5498 enablestring=
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5501 no_cache=0
5502 # Check whether --enable-mslu or --disable-mslu was given.
5503 if test "${enable_mslu+set}" = set; then
5504 enableval="$enable_mslu"
5505
5506 if test "$enableval" = yes; then
5507 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5508 else
5509 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5510 fi
5511
5512 else
5513
5514 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5517 else
5518 no_cache=1
5519 fi
5520
5521 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5522
5523 fi;
5524
5525 eval "$ac_cv_use_mslu"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5528 fi
5529
5530 if test "$wxUSE_UNICODE_MSLU" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5533 else
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5536 fi
5537
5538
5539 enablestring=
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5542 no_cache=0
5543 # Check whether --enable-snglinst or --disable-snglinst was given.
5544 if test "${enable_snglinst+set}" = set; then
5545 enableval="$enable_snglinst"
5546
5547 if test "$enableval" = yes; then
5548 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5549 else
5550 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5551 fi
5552
5553 else
5554
5555 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5558 else
5559 no_cache=1
5560 fi
5561
5562 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5563
5564 fi;
5565
5566 eval "$ac_cv_use_snglinst"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5574 else
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5577 fi
5578
5579
5580 enablestring=
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5583 no_cache=0
5584 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5585 if test "${enable_std_iostreams+set}" = set; then
5586 enableval="$enable_std_iostreams"
5587
5588 if test "$enableval" = yes; then
5589 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5590 else
5591 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5592 fi
5593
5594 else
5595
5596 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x ; then
5598 eval "DEFAULT_$LINE"
5599 else
5600 no_cache=1
5601 fi
5602
5603 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5604
5605 fi;
5606
5607 eval "$ac_cv_use_std_iostreams"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test "$wxUSE_STD_IOSTREAM" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5615 else
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5618 fi
5619
5620
5621 enablestring=
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5624 no_cache=0
5625 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5626 if test "${enable_stdpaths+set}" = set; then
5627 enableval="$enable_stdpaths"
5628
5629 if test "$enableval" = yes; then
5630 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5631 else
5632 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5633 fi
5634
5635 else
5636
5637 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x ; then
5639 eval "DEFAULT_$LINE"
5640 else
5641 no_cache=1
5642 fi
5643
5644 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5645
5646 fi;
5647
5648 eval "$ac_cv_use_stdpaths"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5651 fi
5652
5653 if test "$wxUSE_STDPATHS" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5656 else
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5659 fi
5660
5661
5662 enablestring=
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5665 no_cache=0
5666 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5667 if test "${enable_stopwatch+set}" = set; then
5668 enableval="$enable_stopwatch"
5669
5670 if test "$enableval" = yes; then
5671 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5672 else
5673 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5674 fi
5675
5676 else
5677
5678 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5681 else
5682 no_cache=1
5683 fi
5684
5685 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5686
5687 fi;
5688
5689 eval "$ac_cv_use_stopwatch"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5692 fi
5693
5694 if test "$wxUSE_STOPWATCH" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5697 else
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5700 fi
5701
5702
5703 enablestring=
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5706 no_cache=0
5707 # Check whether --enable-streams or --disable-streams was given.
5708 if test "${enable_streams+set}" = set; then
5709 enableval="$enable_streams"
5710
5711 if test "$enableval" = yes; then
5712 ac_cv_use_streams='wxUSE_STREAMS=yes'
5713 else
5714 ac_cv_use_streams='wxUSE_STREAMS=no'
5715 fi
5716
5717 else
5718
5719 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5722 else
5723 no_cache=1
5724 fi
5725
5726 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5727
5728 fi;
5729
5730 eval "$ac_cv_use_streams"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5733 fi
5734
5735 if test "$wxUSE_STREAMS" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5738 else
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5741 fi
5742
5743
5744 enablestring=
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5747 no_cache=0
5748 # Check whether --enable-system_options or --disable-system_options was given.
5749 if test "${enable_system_options+set}" = set; then
5750 enableval="$enable_system_options"
5751
5752 if test "$enableval" = yes; then
5753 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5754 else
5755 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5756 fi
5757
5758 else
5759
5760 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5763 else
5764 no_cache=1
5765 fi
5766
5767 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5768
5769 fi;
5770
5771 eval "$ac_cv_use_system_options"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5779 else
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5782 fi
5783
5784
5785 enablestring=
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5788 no_cache=0
5789 # Check whether --enable-textbuf or --disable-textbuf was given.
5790 if test "${enable_textbuf+set}" = set; then
5791 enableval="$enable_textbuf"
5792
5793 if test "$enableval" = yes; then
5794 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5795 else
5796 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5797 fi
5798
5799 else
5800
5801 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 else
5805 no_cache=1
5806 fi
5807
5808 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5809
5810 fi;
5811
5812 eval "$ac_cv_use_textbuf"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5815 fi
5816
5817 if test "$wxUSE_TEXTBUFFER" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5820 else
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5823 fi
5824
5825
5826 enablestring=
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5829 no_cache=0
5830 # Check whether --enable-textfile or --disable-textfile was given.
5831 if test "${enable_textfile+set}" = set; then
5832 enableval="$enable_textfile"
5833
5834 if test "$enableval" = yes; then
5835 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5836 else
5837 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5838 fi
5839
5840 else
5841
5842 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 else
5846 no_cache=1
5847 fi
5848
5849 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5850
5851 fi;
5852
5853 eval "$ac_cv_use_textfile"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5856 fi
5857
5858 if test "$wxUSE_TEXTFILE" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5861 else
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5864 fi
5865
5866
5867 enablestring=
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5870 no_cache=0
5871 # Check whether --enable-timer or --disable-timer was given.
5872 if test "${enable_timer+set}" = set; then
5873 enableval="$enable_timer"
5874
5875 if test "$enableval" = yes; then
5876 ac_cv_use_timer='wxUSE_TIMER=yes'
5877 else
5878 ac_cv_use_timer='wxUSE_TIMER=no'
5879 fi
5880
5881 else
5882
5883 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5886 else
5887 no_cache=1
5888 fi
5889
5890 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5891
5892 fi;
5893
5894 eval "$ac_cv_use_timer"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5897 fi
5898
5899 if test "$wxUSE_TIMER" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5902 else
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5905 fi
5906
5907
5908 enablestring=
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5911 no_cache=0
5912 # Check whether --enable-unicode or --disable-unicode was given.
5913 if test "${enable_unicode+set}" = set; then
5914 enableval="$enable_unicode"
5915
5916 if test "$enableval" = yes; then
5917 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5918 else
5919 ac_cv_use_unicode='wxUSE_UNICODE=no'
5920 fi
5921
5922 else
5923
5924 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 else
5928 no_cache=1
5929 fi
5930
5931 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5932
5933 fi;
5934
5935 eval "$ac_cv_use_unicode"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5938 fi
5939
5940 if test "$wxUSE_UNICODE" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5943 else
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5946 fi
5947
5948
5949 enablestring=
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5952 no_cache=0
5953 # Check whether --enable-sound or --disable-sound was given.
5954 if test "${enable_sound+set}" = set; then
5955 enableval="$enable_sound"
5956
5957 if test "$enableval" = yes; then
5958 ac_cv_use_sound='wxUSE_SOUND=yes'
5959 else
5960 ac_cv_use_sound='wxUSE_SOUND=no'
5961 fi
5962
5963 else
5964
5965 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 else
5969 no_cache=1
5970 fi
5971
5972 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5973
5974 fi;
5975
5976 eval "$ac_cv_use_sound"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5979 fi
5980
5981 if test "$wxUSE_SOUND" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5984 else
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5987 fi
5988
5989
5990 enablestring=
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5993 no_cache=0
5994 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5995 if test "${enable_mediactrl+set}" = set; then
5996 enableval="$enable_mediactrl"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6000 else
6001 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6014
6015 fi;
6016
6017 eval "$ac_cv_use_mediactrl"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6020 fi
6021
6022 if test "$wxUSE_MEDIACTRL" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6025 else
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6028 fi
6029
6030
6031 enablestring=
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6034 no_cache=0
6035 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6036 if test "${enable_wxprintfv+set}" = set; then
6037 enableval="$enable_wxprintfv"
6038
6039 if test "$enableval" = yes; then
6040 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6041 else
6042 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6043 fi
6044
6045 else
6046
6047 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6050 else
6051 no_cache=1
6052 fi
6053
6054 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6055
6056 fi;
6057
6058 eval "$ac_cv_use_wxprintfv"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6061 fi
6062
6063 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6066 else
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6069 fi
6070
6071
6072 enablestring=
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6075 no_cache=0
6076 # Check whether --enable-zipstream or --disable-zipstream was given.
6077 if test "${enable_zipstream+set}" = set; then
6078 enableval="$enable_zipstream"
6079
6080 if test "$enableval" = yes; then
6081 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6082 else
6083 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6084 fi
6085
6086 else
6087
6088 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6091 else
6092 no_cache=1
6093 fi
6094
6095 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6096
6097 fi;
6098
6099 eval "$ac_cv_use_zipstream"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test "$wxUSE_ZIPSTREAM" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6107 else
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6110 fi
6111
6112
6113
6114 enablestring=
6115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6117 no_cache=0
6118 # Check whether --enable-url or --disable-url was given.
6119 if test "${enable_url+set}" = set; then
6120 enableval="$enable_url"
6121
6122 if test "$enableval" = yes; then
6123 ac_cv_use_url='wxUSE_URL=yes'
6124 else
6125 ac_cv_use_url='wxUSE_URL=no'
6126 fi
6127
6128 else
6129
6130 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6133 else
6134 no_cache=1
6135 fi
6136
6137 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6138
6139 fi;
6140
6141 eval "$ac_cv_use_url"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6144 fi
6145
6146 if test "$wxUSE_URL" = yes; then
6147 echo "$as_me:$LINENO: result: yes" >&5
6148 echo "${ECHO_T}yes" >&6
6149 else
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6152 fi
6153
6154
6155 enablestring=
6156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6158 no_cache=0
6159 # Check whether --enable-protocol or --disable-protocol was given.
6160 if test "${enable_protocol+set}" = set; then
6161 enableval="$enable_protocol"
6162
6163 if test "$enableval" = yes; then
6164 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6165 else
6166 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6167 fi
6168
6169 else
6170
6171 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x ; then
6173 eval "DEFAULT_$LINE"
6174 else
6175 no_cache=1
6176 fi
6177
6178 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6179
6180 fi;
6181
6182 eval "$ac_cv_use_protocol"
6183 if test "$no_cache" != 1; then
6184 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6185 fi
6186
6187 if test "$wxUSE_PROTOCOL" = yes; then
6188 echo "$as_me:$LINENO: result: yes" >&5
6189 echo "${ECHO_T}yes" >&6
6190 else
6191 echo "$as_me:$LINENO: result: no" >&5
6192 echo "${ECHO_T}no" >&6
6193 fi
6194
6195
6196 enablestring=
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6199 no_cache=0
6200 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6201 if test "${enable_protocol_http+set}" = set; then
6202 enableval="$enable_protocol_http"
6203
6204 if test "$enableval" = yes; then
6205 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6206 else
6207 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6208 fi
6209
6210 else
6211
6212 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6215 else
6216 no_cache=1
6217 fi
6218
6219 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6220
6221 fi;
6222
6223 eval "$ac_cv_use_protocol_http"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6226 fi
6227
6228 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6231 else
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6234 fi
6235
6236
6237 enablestring=
6238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6240 no_cache=0
6241 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6242 if test "${enable_protocol_ftp+set}" = set; then
6243 enableval="$enable_protocol_ftp"
6244
6245 if test "$enableval" = yes; then
6246 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6247 else
6248 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6249 fi
6250
6251 else
6252
6253 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6256 else
6257 no_cache=1
6258 fi
6259
6260 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6261
6262 fi;
6263
6264 eval "$ac_cv_use_protocol_ftp"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6267 fi
6268
6269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6270 echo "$as_me:$LINENO: result: yes" >&5
6271 echo "${ECHO_T}yes" >&6
6272 else
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6275 fi
6276
6277
6278 enablestring=
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6281 no_cache=0
6282 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6283 if test "${enable_protocol_file+set}" = set; then
6284 enableval="$enable_protocol_file"
6285
6286 if test "$enableval" = yes; then
6287 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6288 else
6289 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6302
6303 fi;
6304
6305 eval "$ac_cv_use_protocol_file"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6308 fi
6309
6310 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6311 echo "$as_me:$LINENO: result: yes" >&5
6312 echo "${ECHO_T}yes" >&6
6313 else
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6316 fi
6317
6318
6319
6320
6321
6322 enablestring=
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6325 no_cache=0
6326 # Check whether --enable-threads or --disable-threads was given.
6327 if test "${enable_threads+set}" = set; then
6328 enableval="$enable_threads"
6329
6330 if test "$enableval" = yes; then
6331 ac_cv_use_threads='wxUSE_THREADS=yes'
6332 else
6333 ac_cv_use_threads='wxUSE_THREADS=no'
6334 fi
6335
6336 else
6337
6338 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6341 else
6342 no_cache=1
6343 fi
6344
6345 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6346
6347 fi;
6348
6349 eval "$ac_cv_use_threads"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6352 fi
6353
6354 if test "$wxUSE_THREADS" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356 echo "${ECHO_T}yes" >&6
6357 else
6358 echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6
6360 fi
6361
6362
6363 if test "$wxUSE_GUI" = "yes"; then
6364
6365
6366
6367 enablestring=
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6370 no_cache=0
6371 # Check whether --enable-docview or --disable-docview was given.
6372 if test "${enable_docview+set}" = set; then
6373 enableval="$enable_docview"
6374
6375 if test "$enableval" = yes; then
6376 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6377 else
6378 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6379 fi
6380
6381 else
6382
6383 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x ; then
6385 eval "DEFAULT_$LINE"
6386 else
6387 no_cache=1
6388 fi
6389
6390 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6391
6392 fi;
6393
6394 eval "$ac_cv_use_docview"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6397 fi
6398
6399 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6402 else
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6405 fi
6406
6407
6408 enablestring=
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6411 no_cache=0
6412 # Check whether --enable-help or --disable-help was given.
6413 if test "${enable_help+set}" = set; then
6414 enableval="$enable_help"
6415
6416 if test "$enableval" = yes; then
6417 ac_cv_use_help='wxUSE_HELP=yes'
6418 else
6419 ac_cv_use_help='wxUSE_HELP=no'
6420 fi
6421
6422 else
6423
6424 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6427 else
6428 no_cache=1
6429 fi
6430
6431 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6432
6433 fi;
6434
6435 eval "$ac_cv_use_help"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6438 fi
6439
6440 if test "$wxUSE_HELP" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6443 else
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6446 fi
6447
6448
6449 enablestring=
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6452 no_cache=0
6453 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6454 if test "${enable_mshtmlhelp+set}" = set; then
6455 enableval="$enable_mshtmlhelp"
6456
6457 if test "$enableval" = yes; then
6458 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6459 else
6460 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6461 fi
6462
6463 else
6464
6465 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x ; then
6467 eval "DEFAULT_$LINE"
6468 else
6469 no_cache=1
6470 fi
6471
6472 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6473
6474 fi;
6475
6476 eval "$ac_cv_use_mshtmlhelp"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6479 fi
6480
6481 if test "$wxUSE_MS_HTML_HELP" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6484 else
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6487 fi
6488
6489
6490 enablestring=
6491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6493 no_cache=0
6494 # Check whether --enable-html or --disable-html was given.
6495 if test "${enable_html+set}" = set; then
6496 enableval="$enable_html"
6497
6498 if test "$enableval" = yes; then
6499 ac_cv_use_html='wxUSE_HTML=yes'
6500 else
6501 ac_cv_use_html='wxUSE_HTML=no'
6502 fi
6503
6504 else
6505
6506 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x ; then
6508 eval "DEFAULT_$LINE"
6509 else
6510 no_cache=1
6511 fi
6512
6513 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6514
6515 fi;
6516
6517 eval "$ac_cv_use_html"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6520 fi
6521
6522 if test "$wxUSE_HTML" = yes; then
6523 echo "$as_me:$LINENO: result: yes" >&5
6524 echo "${ECHO_T}yes" >&6
6525 else
6526 echo "$as_me:$LINENO: result: no" >&5
6527 echo "${ECHO_T}no" >&6
6528 fi
6529
6530
6531 enablestring=
6532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6533 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6534 no_cache=0
6535 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6536 if test "${enable_htmlhelp+set}" = set; then
6537 enableval="$enable_htmlhelp"
6538
6539 if test "$enableval" = yes; then
6540 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6541 else
6542 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6543 fi
6544
6545 else
6546
6547 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6548 if test "x$LINE" != x ; then
6549 eval "DEFAULT_$LINE"
6550 else
6551 no_cache=1
6552 fi
6553
6554 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6555
6556 fi;
6557
6558 eval "$ac_cv_use_htmlhelp"
6559 if test "$no_cache" != 1; then
6560 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6561 fi
6562
6563 if test "$wxUSE_WXHTML_HELP" = yes; then
6564 echo "$as_me:$LINENO: result: yes" >&5
6565 echo "${ECHO_T}yes" >&6
6566 else
6567 echo "$as_me:$LINENO: result: no" >&5
6568 echo "${ECHO_T}no" >&6
6569 fi
6570
6571
6572 enablestring=
6573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6574 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6575 no_cache=0
6576 # Check whether --enable-xrc or --disable-xrc was given.
6577 if test "${enable_xrc+set}" = set; then
6578 enableval="$enable_xrc"
6579
6580 if test "$enableval" = yes; then
6581 ac_cv_use_xrc='wxUSE_XRC=yes'
6582 else
6583 ac_cv_use_xrc='wxUSE_XRC=no'
6584 fi
6585
6586 else
6587
6588 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x ; then
6590 eval "DEFAULT_$LINE"
6591 else
6592 no_cache=1
6593 fi
6594
6595 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6596
6597 fi;
6598
6599 eval "$ac_cv_use_xrc"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6602 fi
6603
6604 if test "$wxUSE_XRC" = yes; then
6605 echo "$as_me:$LINENO: result: yes" >&5
6606 echo "${ECHO_T}yes" >&6
6607 else
6608 echo "$as_me:$LINENO: result: no" >&5
6609 echo "${ECHO_T}no" >&6
6610 fi
6611
6612
6613 enablestring=
6614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6616 no_cache=0
6617 # Check whether --enable-constraints or --disable-constraints was given.
6618 if test "${enable_constraints+set}" = set; then
6619 enableval="$enable_constraints"
6620
6621 if test "$enableval" = yes; then
6622 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6623 else
6624 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6625 fi
6626
6627 else
6628
6629 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x ; then
6631 eval "DEFAULT_$LINE"
6632 else
6633 no_cache=1
6634 fi
6635
6636 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6637
6638 fi;
6639
6640 eval "$ac_cv_use_constraints"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6643 fi
6644
6645 if test "$wxUSE_CONSTRAINTS" = yes; then
6646 echo "$as_me:$LINENO: result: yes" >&5
6647 echo "${ECHO_T}yes" >&6
6648 else
6649 echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6
6651 fi
6652
6653
6654 enablestring=
6655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6657 no_cache=0
6658 # Check whether --enable-printarch or --disable-printarch was given.
6659 if test "${enable_printarch+set}" = set; then
6660 enableval="$enable_printarch"
6661
6662 if test "$enableval" = yes; then
6663 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6664 else
6665 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6666 fi
6667
6668 else
6669
6670 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x ; then
6672 eval "DEFAULT_$LINE"
6673 else
6674 no_cache=1
6675 fi
6676
6677 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6678
6679 fi;
6680
6681 eval "$ac_cv_use_printarch"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6684 fi
6685
6686 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6687 echo "$as_me:$LINENO: result: yes" >&5
6688 echo "${ECHO_T}yes" >&6
6689 else
6690 echo "$as_me:$LINENO: result: no" >&5
6691 echo "${ECHO_T}no" >&6
6692 fi
6693
6694
6695 enablestring=
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6698 no_cache=0
6699 # Check whether --enable-mdi or --disable-mdi was given.
6700 if test "${enable_mdi+set}" = set; then
6701 enableval="$enable_mdi"
6702
6703 if test "$enableval" = yes; then
6704 ac_cv_use_mdi='wxUSE_MDI=yes'
6705 else
6706 ac_cv_use_mdi='wxUSE_MDI=no'
6707 fi
6708
6709 else
6710
6711 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x ; then
6713 eval "DEFAULT_$LINE"
6714 else
6715 no_cache=1
6716 fi
6717
6718 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6719
6720 fi;
6721
6722 eval "$ac_cv_use_mdi"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6725 fi
6726
6727 if test "$wxUSE_MDI" = yes; then
6728 echo "$as_me:$LINENO: result: yes" >&5
6729 echo "${ECHO_T}yes" >&6
6730 else
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6733 fi
6734
6735
6736 enablestring=
6737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6739 no_cache=0
6740 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6741 if test "${enable_mdidoc+set}" = set; then
6742 enableval="$enable_mdidoc"
6743
6744 if test "$enableval" = yes; then
6745 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6746 else
6747 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6748 fi
6749
6750 else
6751
6752 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6755 else
6756 no_cache=1
6757 fi
6758
6759 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6760
6761 fi;
6762
6763 eval "$ac_cv_use_mdidoc"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6766 fi
6767
6768 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6769 echo "$as_me:$LINENO: result: yes" >&5
6770 echo "${ECHO_T}yes" >&6
6771 else
6772 echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6
6774 fi
6775
6776
6777 enablestring=
6778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6780 no_cache=0
6781 # Check whether --enable-loggui or --disable-loggui was given.
6782 if test "${enable_loggui+set}" = set; then
6783 enableval="$enable_loggui"
6784
6785 if test "$enableval" = yes; then
6786 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6787 else
6788 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6789 fi
6790
6791 else
6792
6793 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6794 if test "x$LINE" != x ; then
6795 eval "DEFAULT_$LINE"
6796 else
6797 no_cache=1
6798 fi
6799
6800 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6801
6802 fi;
6803
6804 eval "$ac_cv_use_loggui"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6807 fi
6808
6809 if test "$wxUSE_LOGGUI" = yes; then
6810 echo "$as_me:$LINENO: result: yes" >&5
6811 echo "${ECHO_T}yes" >&6
6812 else
6813 echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6
6815 fi
6816
6817
6818 enablestring=
6819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6821 no_cache=0
6822 # Check whether --enable-logwin or --disable-logwin was given.
6823 if test "${enable_logwin+set}" = set; then
6824 enableval="$enable_logwin"
6825
6826 if test "$enableval" = yes; then
6827 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6828 else
6829 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6830 fi
6831
6832 else
6833
6834 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x ; then
6836 eval "DEFAULT_$LINE"
6837 else
6838 no_cache=1
6839 fi
6840
6841 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6842
6843 fi;
6844
6845 eval "$ac_cv_use_logwin"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6848 fi
6849
6850 if test "$wxUSE_LOGWINDOW" = yes; then
6851 echo "$as_me:$LINENO: result: yes" >&5
6852 echo "${ECHO_T}yes" >&6
6853 else
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6856 fi
6857
6858
6859 enablestring=
6860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6862 no_cache=0
6863 # Check whether --enable-logdialog or --disable-logdialog was given.
6864 if test "${enable_logdialog+set}" = set; then
6865 enableval="$enable_logdialog"
6866
6867 if test "$enableval" = yes; then
6868 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6869 else
6870 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6871 fi
6872
6873 else
6874
6875 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x ; then
6877 eval "DEFAULT_$LINE"
6878 else
6879 no_cache=1
6880 fi
6881
6882 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6883
6884 fi;
6885
6886 eval "$ac_cv_use_logdialog"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6889 fi
6890
6891 if test "$wxUSE_LOGDIALOG" = yes; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893 echo "${ECHO_T}yes" >&6
6894 else
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6897 fi
6898
6899
6900 enablestring=
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6903 no_cache=0
6904 # Check whether --enable-webkit or --disable-webkit was given.
6905 if test "${enable_webkit+set}" = set; then
6906 enableval="$enable_webkit"
6907
6908 if test "$enableval" = yes; then
6909 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6910 else
6911 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6912 fi
6913
6914 else
6915
6916 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x ; then
6918 eval "DEFAULT_$LINE"
6919 else
6920 no_cache=1
6921 fi
6922
6923 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6924
6925 fi;
6926
6927 eval "$ac_cv_use_webkit"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6930 fi
6931
6932 if test "$wxUSE_WEBKIT" = yes; then
6933 echo "$as_me:$LINENO: result: yes" >&5
6934 echo "${ECHO_T}yes" >&6
6935 else
6936 echo "$as_me:$LINENO: result: no" >&5
6937 echo "${ECHO_T}no" >&6
6938 fi
6939
6940
6941
6942 enablestring=
6943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6945 no_cache=0
6946 # Check whether --enable-postscript or --disable-postscript was given.
6947 if test "${enable_postscript+set}" = set; then
6948 enableval="$enable_postscript"
6949
6950 if test "$enableval" = yes; then
6951 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6952 else
6953 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6954 fi
6955
6956 else
6957
6958 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x ; then
6960 eval "DEFAULT_$LINE"
6961 else
6962 no_cache=1
6963 fi
6964
6965 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6966
6967 fi;
6968
6969 eval "$ac_cv_use_postscript"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6972 fi
6973
6974 if test "$wxUSE_POSTSCRIPT" = yes; then
6975 echo "$as_me:$LINENO: result: yes" >&5
6976 echo "${ECHO_T}yes" >&6
6977 else
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6980 fi
6981
6982
6983
6984
6985
6986 enablestring=
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6989 no_cache=0
6990 # Check whether --enable-prologio or --disable-prologio was given.
6991 if test "${enable_prologio+set}" = set; then
6992 enableval="$enable_prologio"
6993
6994 if test "$enableval" = yes; then
6995 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6996 else
6997 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6998 fi
6999
7000 else
7001
7002 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7005 else
7006 no_cache=1
7007 fi
7008
7009 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7010
7011 fi;
7012
7013 eval "$ac_cv_use_prologio"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7016 fi
7017
7018 if test "$wxUSE_PROLOGIO" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7021 else
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7024 fi
7025
7026
7027 enablestring=
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7030 no_cache=0
7031 # Check whether --enable-resources or --disable-resources was given.
7032 if test "${enable_resources+set}" = set; then
7033 enableval="$enable_resources"
7034
7035 if test "$enableval" = yes; then
7036 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7037 else
7038 ac_cv_use_resources='wxUSE_RESOURCES=no'
7039 fi
7040
7041 else
7042
7043 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 else
7047 no_cache=1
7048 fi
7049
7050 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7051
7052 fi;
7053
7054 eval "$ac_cv_use_resources"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7057 fi
7058
7059 if test "$wxUSE_RESOURCES" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7062 else
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7065 fi
7066
7067
7068
7069
7070 enablestring=
7071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7073 no_cache=0
7074 # Check whether --enable-clipboard or --disable-clipboard was given.
7075 if test "${enable_clipboard+set}" = set; then
7076 enableval="$enable_clipboard"
7077
7078 if test "$enableval" = yes; then
7079 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7080 else
7081 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7082 fi
7083
7084 else
7085
7086 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x ; then
7088 eval "DEFAULT_$LINE"
7089 else
7090 no_cache=1
7091 fi
7092
7093 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7094
7095 fi;
7096
7097 eval "$ac_cv_use_clipboard"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7100 fi
7101
7102 if test "$wxUSE_CLIPBOARD" = yes; then
7103 echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6
7105 else
7106 echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6
7108 fi
7109
7110
7111 enablestring=
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7114 no_cache=0
7115 # Check whether --enable-dnd or --disable-dnd was given.
7116 if test "${enable_dnd+set}" = set; then
7117 enableval="$enable_dnd"
7118
7119 if test "$enableval" = yes; then
7120 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7121 else
7122 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7123 fi
7124
7125 else
7126
7127 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x ; then
7129 eval "DEFAULT_$LINE"
7130 else
7131 no_cache=1
7132 fi
7133
7134 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7135
7136 fi;
7137
7138 eval "$ac_cv_use_dnd"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7141 fi
7142
7143 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7146 else
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7149 fi
7150
7151
7152 enablestring=
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7155 no_cache=0
7156 # Check whether --enable-metafile or --disable-metafile was given.
7157 if test "${enable_metafile+set}" = set; then
7158 enableval="$enable_metafile"
7159
7160 if test "$enableval" = yes; then
7161 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7162 else
7163 ac_cv_use_metafile='wxUSE_METAFILE=no'
7164 fi
7165
7166 else
7167
7168 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x ; then
7170 eval "DEFAULT_$LINE"
7171 else
7172 no_cache=1
7173 fi
7174
7175 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7176
7177 fi;
7178
7179 eval "$ac_cv_use_metafile"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7182 fi
7183
7184 if test "$wxUSE_METAFILE" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6
7187 else
7188 echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6
7190 fi
7191
7192
7193
7194
7195
7196 enablestring=
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7199 no_cache=0
7200 # Check whether --enable-controls or --disable-controls was given.
7201 if test "${enable_controls+set}" = set; then
7202 enableval="$enable_controls"
7203
7204 if test "$enableval" = yes; then
7205 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7206 else
7207 ac_cv_use_controls='wxUSE_CONTROLS=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7220
7221 fi;
7222
7223 eval "$ac_cv_use_controls"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7226 fi
7227
7228 if test "$wxUSE_CONTROLS" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7231 else
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7234 fi
7235
7236
7237 if test "$wxUSE_CONTROLS" = "yes"; then
7238 DEFAULT_wxUSE_ACCEL=yes
7239 DEFAULT_wxUSE_BMPBUTTON=yes
7240 DEFAULT_wxUSE_BUTTON=yes
7241 DEFAULT_wxUSE_CALCTRL=yes
7242 DEFAULT_wxUSE_CARET=yes
7243 DEFAULT_wxUSE_COMBOBOX=yes
7244 DEFAULT_wxUSE_CHECKBOX=yes
7245 DEFAULT_wxUSE_CHECKLISTBOX=yes
7246 DEFAULT_wxUSE_CHOICE=yes
7247 DEFAULT_wxUSE_CHOICEBOOK=yes
7248 DEFAULT_wxUSE_DATEPICKCTRL=yes
7249 DEFAULT_wxUSE_GAUGE=yes
7250 DEFAULT_wxUSE_GRID=yes
7251 DEFAULT_wxUSE_IMAGLIST=yes
7252 DEFAULT_wxUSE_LISTBOOK=yes
7253 DEFAULT_wxUSE_LISTBOX=yes
7254 DEFAULT_wxUSE_LISTCTRL=yes
7255 DEFAULT_wxUSE_NOTEBOOK=yes
7256 DEFAULT_wxUSE_RADIOBOX=yes
7257 DEFAULT_wxUSE_RADIOBTN=yes
7258 DEFAULT_wxUSE_SASH=yes
7259 DEFAULT_wxUSE_SCROLLBAR=yes
7260 DEFAULT_wxUSE_SLIDER=yes
7261 DEFAULT_wxUSE_SPINBTN=yes
7262 DEFAULT_wxUSE_SPINCTRL=yes
7263 DEFAULT_wxUSE_SPLITTER=yes
7264 DEFAULT_wxUSE_STATBMP=yes
7265 DEFAULT_wxUSE_STATBOX=yes
7266 DEFAULT_wxUSE_STATLINE=yes
7267 DEFAULT_wxUSE_STATUSBAR=yes
7268 DEFAULT_wxUSE_TAB_DIALOG=yes
7269 DEFAULT_wxUSE_TOGGLEBTN=yes
7270 DEFAULT_wxUSE_TOOLBAR=yes
7271 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7272 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7273 DEFAULT_wxUSE_TOOLTIPS=yes
7274 DEFAULT_wxUSE_TREECTRL=yes
7275 DEFAULT_wxUSE_POPUPWIN=yes
7276 DEFAULT_wxUSE_TIPWINDOW=yes
7277 elif test "$wxUSE_CONTROLS" = "no"; then
7278 DEFAULT_wxUSE_ACCEL=no
7279 DEFAULT_wxUSE_BMPBUTTON=no
7280 DEFAULT_wxUSE_BUTTON=no
7281 DEFAULT_wxUSE_CALCTRL=no
7282 DEFAULT_wxUSE_CARET=no
7283 DEFAULT_wxUSE_COMBOBOX=no
7284 DEFAULT_wxUSE_CHECKBOX=no
7285 DEFAULT_wxUSE_CHECKLISTBOX=no
7286 DEFAULT_wxUSE_CHOICE=no
7287 DEFAULT_wxUSE_CHOICEBOOK=no
7288 DEFAULT_wxUSE_DATEPICKCTRL=no
7289 DEFAULT_wxUSE_GAUGE=no
7290 DEFAULT_wxUSE_GRID=no
7291 DEFAULT_wxUSE_IMAGLIST=no
7292 DEFAULT_wxUSE_LISTBOOK=no
7293 DEFAULT_wxUSE_LISTBOX=no
7294 DEFAULT_wxUSE_LISTCTRL=no
7295 DEFAULT_wxUSE_NOTEBOOK=no
7296 DEFAULT_wxUSE_RADIOBOX=no
7297 DEFAULT_wxUSE_RADIOBTN=no
7298 DEFAULT_wxUSE_SASH=no
7299 DEFAULT_wxUSE_SCROLLBAR=no
7300 DEFAULT_wxUSE_SLIDER=no
7301 DEFAULT_wxUSE_SPINBTN=no
7302 DEFAULT_wxUSE_SPINCTRL=no
7303 DEFAULT_wxUSE_SPLITTER=no
7304 DEFAULT_wxUSE_STATBMP=no
7305 DEFAULT_wxUSE_STATBOX=no
7306 DEFAULT_wxUSE_STATLINE=no
7307 DEFAULT_wxUSE_STATUSBAR=no
7308 DEFAULT_wxUSE_TAB_DIALOG=no
7309 DEFAULT_wxUSE_TOGGLEBTN=no
7310 DEFAULT_wxUSE_TOOLBAR=no
7311 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7312 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7313 DEFAULT_wxUSE_TOOLTIPS=no
7314 DEFAULT_wxUSE_TREECTRL=no
7315 DEFAULT_wxUSE_POPUPWIN=no
7316 DEFAULT_wxUSE_TIPWINDOW=no
7317 fi
7318
7319
7320 enablestring=
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7323 no_cache=0
7324 # Check whether --enable-accel or --disable-accel was given.
7325 if test "${enable_accel+set}" = set; then
7326 enableval="$enable_accel"
7327
7328 if test "$enableval" = yes; then
7329 ac_cv_use_accel='wxUSE_ACCEL=yes'
7330 else
7331 ac_cv_use_accel='wxUSE_ACCEL=no'
7332 fi
7333
7334 else
7335
7336 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7339 else
7340 no_cache=1
7341 fi
7342
7343 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7344
7345 fi;
7346
7347 eval "$ac_cv_use_accel"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_ACCEL" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7355 else
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7358 fi
7359
7360
7361 enablestring=
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7364 no_cache=0
7365 # Check whether --enable-button or --disable-button was given.
7366 if test "${enable_button+set}" = set; then
7367 enableval="$enable_button"
7368
7369 if test "$enableval" = yes; then
7370 ac_cv_use_button='wxUSE_BUTTON=yes'
7371 else
7372 ac_cv_use_button='wxUSE_BUTTON=no'
7373 fi
7374
7375 else
7376
7377 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x ; then
7379 eval "DEFAULT_$LINE"
7380 else
7381 no_cache=1
7382 fi
7383
7384 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7385
7386 fi;
7387
7388 eval "$ac_cv_use_button"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_BUTTON" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7396 else
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7399 fi
7400
7401
7402 enablestring=
7403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7405 no_cache=0
7406 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7407 if test "${enable_bmpbutton+set}" = set; then
7408 enableval="$enable_bmpbutton"
7409
7410 if test "$enableval" = yes; then
7411 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7412 else
7413 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7414 fi
7415
7416 else
7417
7418 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x ; then
7420 eval "DEFAULT_$LINE"
7421 else
7422 no_cache=1
7423 fi
7424
7425 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7426
7427 fi;
7428
7429 eval "$ac_cv_use_bmpbutton"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7432 fi
7433
7434 if test "$wxUSE_BMPBUTTON" = yes; then
7435 echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7437 else
7438 echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7440 fi
7441
7442
7443 enablestring=
7444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7446 no_cache=0
7447 # Check whether --enable-calendar or --disable-calendar was given.
7448 if test "${enable_calendar+set}" = set; then
7449 enableval="$enable_calendar"
7450
7451 if test "$enableval" = yes; then
7452 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7453 else
7454 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7455 fi
7456
7457 else
7458
7459 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x ; then
7461 eval "DEFAULT_$LINE"
7462 else
7463 no_cache=1
7464 fi
7465
7466 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7467
7468 fi;
7469
7470 eval "$ac_cv_use_calendar"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7473 fi
7474
7475 if test "$wxUSE_CALCTRL" = yes; then
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7478 else
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7481 fi
7482
7483
7484 enablestring=
7485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7487 no_cache=0
7488 # Check whether --enable-caret or --disable-caret was given.
7489 if test "${enable_caret+set}" = set; then
7490 enableval="$enable_caret"
7491
7492 if test "$enableval" = yes; then
7493 ac_cv_use_caret='wxUSE_CARET=yes'
7494 else
7495 ac_cv_use_caret='wxUSE_CARET=no'
7496 fi
7497
7498 else
7499
7500 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x ; then
7502 eval "DEFAULT_$LINE"
7503 else
7504 no_cache=1
7505 fi
7506
7507 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7508
7509 fi;
7510
7511 eval "$ac_cv_use_caret"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7514 fi
7515
7516 if test "$wxUSE_CARET" = yes; then
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7519 else
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7522 fi
7523
7524
7525 enablestring=
7526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7528 no_cache=0
7529 # Check whether --enable-checkbox or --disable-checkbox was given.
7530 if test "${enable_checkbox+set}" = set; then
7531 enableval="$enable_checkbox"
7532
7533 if test "$enableval" = yes; then
7534 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7535 else
7536 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7549
7550 fi;
7551
7552 eval "$ac_cv_use_checkbox"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7555 fi
7556
7557 if test "$wxUSE_CHECKBOX" = yes; then
7558 echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7560 else
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7563 fi
7564
7565
7566 enablestring=
7567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7569 no_cache=0
7570 # Check whether --enable-checklst or --disable-checklst was given.
7571 if test "${enable_checklst+set}" = set; then
7572 enableval="$enable_checklst"
7573
7574 if test "$enableval" = yes; then
7575 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7576 else
7577 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7578 fi
7579
7580 else
7581
7582 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7590
7591 fi;
7592
7593 eval "$ac_cv_use_checklst"
7594 if test "$no_cache" != 1; then
7595 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7596 fi
7597
7598 if test "$wxUSE_CHECKLST" = yes; then
7599 echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7601 else
7602 echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7604 fi
7605
7606
7607 enablestring=
7608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7610 no_cache=0
7611 # Check whether --enable-choice or --disable-choice was given.
7612 if test "${enable_choice+set}" = set; then
7613 enableval="$enable_choice"
7614
7615 if test "$enableval" = yes; then
7616 ac_cv_use_choice='wxUSE_CHOICE=yes'
7617 else
7618 ac_cv_use_choice='wxUSE_CHOICE=no'
7619 fi
7620
7621 else
7622
7623 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7626 else
7627 no_cache=1
7628 fi
7629
7630 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7631
7632 fi;
7633
7634 eval "$ac_cv_use_choice"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7637 fi
7638
7639 if test "$wxUSE_CHOICE" = yes; then
7640 echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7642 else
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7645 fi
7646
7647
7648 enablestring=
7649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7651 no_cache=0
7652 # Check whether --enable-choicebook or --disable-choicebook was given.
7653 if test "${enable_choicebook+set}" = set; then
7654 enableval="$enable_choicebook"
7655
7656 if test "$enableval" = yes; then
7657 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7658 else
7659 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7672
7673 fi;
7674
7675 eval "$ac_cv_use_choicebook"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7678 fi
7679
7680 if test "$wxUSE_CHOICEBOOK" = yes; then
7681 echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7683 else
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7686 fi
7687
7688
7689 enablestring=
7690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7692 no_cache=0
7693 # Check whether --enable-combobox or --disable-combobox was given.
7694 if test "${enable_combobox+set}" = set; then
7695 enableval="$enable_combobox"
7696
7697 if test "$enableval" = yes; then
7698 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7699 else
7700 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7713
7714 fi;
7715
7716 eval "$ac_cv_use_combobox"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7719 fi
7720
7721 if test "$wxUSE_COMBOBOX" = yes; then
7722 echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7724 else
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7727 fi
7728
7729
7730 enablestring=
7731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7733 no_cache=0
7734 # Check whether --enable-datepick or --disable-datepick was given.
7735 if test "${enable_datepick+set}" = set; then
7736 enableval="$enable_datepick"
7737
7738 if test "$enableval" = yes; then
7739 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7740 else
7741 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7754
7755 fi;
7756
7757 eval "$ac_cv_use_datepick"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7760 fi
7761
7762 if test "$wxUSE_DATEPICKCTRL" = yes; then
7763 echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7765 else
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7768 fi
7769
7770
7771 enablestring=
7772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7774 no_cache=0
7775 # Check whether --enable-display or --disable-display was given.
7776 if test "${enable_display+set}" = set; then
7777 enableval="$enable_display"
7778
7779 if test "$enableval" = yes; then
7780 ac_cv_use_display='wxUSE_DISPLAY=yes'
7781 else
7782 ac_cv_use_display='wxUSE_DISPLAY=no'
7783 fi
7784
7785 else
7786
7787 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x ; then
7789 eval "DEFAULT_$LINE"
7790 else
7791 no_cache=1
7792 fi
7793
7794 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7795
7796 fi;
7797
7798 eval "$ac_cv_use_display"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7801 fi
7802
7803 if test "$wxUSE_DISPLAY" = yes; then
7804 echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7806 else
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7809 fi
7810
7811
7812 enablestring=
7813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7815 no_cache=0
7816 # Check whether --enable-gauge or --disable-gauge was given.
7817 if test "${enable_gauge+set}" = set; then
7818 enableval="$enable_gauge"
7819
7820 if test "$enableval" = yes; then
7821 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7822 else
7823 ac_cv_use_gauge='wxUSE_GAUGE=no'
7824 fi
7825
7826 else
7827
7828 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7831 else
7832 no_cache=1
7833 fi
7834
7835 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7836
7837 fi;
7838
7839 eval "$ac_cv_use_gauge"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7842 fi
7843
7844 if test "$wxUSE_GAUGE" = yes; then
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7847 else
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7850 fi
7851
7852
7853 enablestring=
7854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7856 no_cache=0
7857 # Check whether --enable-grid or --disable-grid was given.
7858 if test "${enable_grid+set}" = set; then
7859 enableval="$enable_grid"
7860
7861 if test "$enableval" = yes; then
7862 ac_cv_use_grid='wxUSE_GRID=yes'
7863 else
7864 ac_cv_use_grid='wxUSE_GRID=no'
7865 fi
7866
7867 else
7868
7869 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x ; then
7871 eval "DEFAULT_$LINE"
7872 else
7873 no_cache=1
7874 fi
7875
7876 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7877
7878 fi;
7879
7880 eval "$ac_cv_use_grid"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7883 fi
7884
7885 if test "$wxUSE_GRID" = yes; then
7886 echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7888 else
7889 echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7891 fi
7892
7893
7894 enablestring=
7895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7897 no_cache=0
7898 # Check whether --enable-imaglist or --disable-imaglist was given.
7899 if test "${enable_imaglist+set}" = set; then
7900 enableval="$enable_imaglist"
7901
7902 if test "$enableval" = yes; then
7903 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7904 else
7905 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7906 fi
7907
7908 else
7909
7910 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x ; then
7912 eval "DEFAULT_$LINE"
7913 else
7914 no_cache=1
7915 fi
7916
7917 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7918
7919 fi;
7920
7921 eval "$ac_cv_use_imaglist"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7924 fi
7925
7926 if test "$wxUSE_IMAGLIST" = yes; then
7927 echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7929 else
7930 echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7932 fi
7933
7934
7935 enablestring=
7936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7938 no_cache=0
7939 # Check whether --enable-listbook or --disable-listbook was given.
7940 if test "${enable_listbook+set}" = set; then
7941 enableval="$enable_listbook"
7942
7943 if test "$enableval" = yes; then
7944 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7945 else
7946 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7947 fi
7948
7949 else
7950
7951 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x ; then
7953 eval "DEFAULT_$LINE"
7954 else
7955 no_cache=1
7956 fi
7957
7958 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7959
7960 fi;
7961
7962 eval "$ac_cv_use_listbook"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7965 fi
7966
7967 if test "$wxUSE_LISTBOOK" = yes; then
7968 echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7970 else
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7973 fi
7974
7975
7976 enablestring=
7977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7979 no_cache=0
7980 # Check whether --enable-listbox or --disable-listbox was given.
7981 if test "${enable_listbox+set}" = set; then
7982 enableval="$enable_listbox"
7983
7984 if test "$enableval" = yes; then
7985 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7986 else
7987 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7988 fi
7989
7990 else
7991
7992 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x ; then
7994 eval "DEFAULT_$LINE"
7995 else
7996 no_cache=1
7997 fi
7998
7999 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8000
8001 fi;
8002
8003 eval "$ac_cv_use_listbox"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8006 fi
8007
8008 if test "$wxUSE_LISTBOX" = yes; then
8009 echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8011 else
8012 echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8014 fi
8015
8016
8017 enablestring=
8018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8020 no_cache=0
8021 # Check whether --enable-listctrl or --disable-listctrl was given.
8022 if test "${enable_listctrl+set}" = set; then
8023 enableval="$enable_listctrl"
8024
8025 if test "$enableval" = yes; then
8026 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8027 else
8028 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8029 fi
8030
8031 else
8032
8033 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8036 else
8037 no_cache=1
8038 fi
8039
8040 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8041
8042 fi;
8043
8044 eval "$ac_cv_use_listctrl"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8047 fi
8048
8049 if test "$wxUSE_LISTCTRL" = yes; then
8050 echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8052 else
8053 echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8055 fi
8056
8057
8058 enablestring=
8059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8061 no_cache=0
8062 # Check whether --enable-notebook or --disable-notebook was given.
8063 if test "${enable_notebook+set}" = set; then
8064 enableval="$enable_notebook"
8065
8066 if test "$enableval" = yes; then
8067 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8068 else
8069 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8070 fi
8071
8072 else
8073
8074 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x ; then
8076 eval "DEFAULT_$LINE"
8077 else
8078 no_cache=1
8079 fi
8080
8081 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8082
8083 fi;
8084
8085 eval "$ac_cv_use_notebook"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8088 fi
8089
8090 if test "$wxUSE_NOTEBOOK" = yes; then
8091 echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8093 else
8094 echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8096 fi
8097
8098
8099 enablestring=
8100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8102 no_cache=0
8103 # Check whether --enable-radiobox or --disable-radiobox was given.
8104 if test "${enable_radiobox+set}" = set; then
8105 enableval="$enable_radiobox"
8106
8107 if test "$enableval" = yes; then
8108 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8109 else
8110 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8111 fi
8112
8113 else
8114
8115 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x ; then
8117 eval "DEFAULT_$LINE"
8118 else
8119 no_cache=1
8120 fi
8121
8122 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8123
8124 fi;
8125
8126 eval "$ac_cv_use_radiobox"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8129 fi
8130
8131 if test "$wxUSE_RADIOBOX" = yes; then
8132 echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8134 else
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8137 fi
8138
8139
8140 enablestring=
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8143 no_cache=0
8144 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8145 if test "${enable_radiobtn+set}" = set; then
8146 enableval="$enable_radiobtn"
8147
8148 if test "$enableval" = yes; then
8149 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8150 else
8151 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8152 fi
8153
8154 else
8155
8156 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8159 else
8160 no_cache=1
8161 fi
8162
8163 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8164
8165 fi;
8166
8167 eval "$ac_cv_use_radiobtn"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8170 fi
8171
8172 if test "$wxUSE_RADIOBTN" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8175 else
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8178 fi
8179
8180
8181 enablestring=
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8184 no_cache=0
8185 # Check whether --enable-sash or --disable-sash was given.
8186 if test "${enable_sash+set}" = set; then
8187 enableval="$enable_sash"
8188
8189 if test "$enableval" = yes; then
8190 ac_cv_use_sash='wxUSE_SASH=yes'
8191 else
8192 ac_cv_use_sash='wxUSE_SASH=no'
8193 fi
8194
8195 else
8196
8197 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8200 else
8201 no_cache=1
8202 fi
8203
8204 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8205
8206 fi;
8207
8208 eval "$ac_cv_use_sash"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8211 fi
8212
8213 if test "$wxUSE_SASH" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8216 else
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8219 fi
8220
8221
8222 enablestring=
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8225 no_cache=0
8226 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8227 if test "${enable_scrollbar+set}" = set; then
8228 enableval="$enable_scrollbar"
8229
8230 if test "$enableval" = yes; then
8231 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8232 else
8233 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8234 fi
8235
8236 else
8237
8238 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8241 else
8242 no_cache=1
8243 fi
8244
8245 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8246
8247 fi;
8248
8249 eval "$ac_cv_use_scrollbar"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8252 fi
8253
8254 if test "$wxUSE_SCROLLBAR" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8257 else
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8260 fi
8261
8262
8263 enablestring=
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8266 no_cache=0
8267 # Check whether --enable-slider or --disable-slider was given.
8268 if test "${enable_slider+set}" = set; then
8269 enableval="$enable_slider"
8270
8271 if test "$enableval" = yes; then
8272 ac_cv_use_slider='wxUSE_SLIDER=yes'
8273 else
8274 ac_cv_use_slider='wxUSE_SLIDER=no'
8275 fi
8276
8277 else
8278
8279 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8282 else
8283 no_cache=1
8284 fi
8285
8286 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8287
8288 fi;
8289
8290 eval "$ac_cv_use_slider"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8293 fi
8294
8295 if test "$wxUSE_SLIDER" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8298 else
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8301 fi
8302
8303
8304 enablestring=
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8307 no_cache=0
8308 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8309 if test "${enable_spinbtn+set}" = set; then
8310 enableval="$enable_spinbtn"
8311
8312 if test "$enableval" = yes; then
8313 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8314 else
8315 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8316 fi
8317
8318 else
8319
8320 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8323 else
8324 no_cache=1
8325 fi
8326
8327 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8328
8329 fi;
8330
8331 eval "$ac_cv_use_spinbtn"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8334 fi
8335
8336 if test "$wxUSE_SPINBTN" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8339 else
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8342 fi
8343
8344
8345 enablestring=
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8348 no_cache=0
8349 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8350 if test "${enable_spinctrl+set}" = set; then
8351 enableval="$enable_spinctrl"
8352
8353 if test "$enableval" = yes; then
8354 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8355 else
8356 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8357 fi
8358
8359 else
8360
8361 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8364 else
8365 no_cache=1
8366 fi
8367
8368 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8369
8370 fi;
8371
8372 eval "$ac_cv_use_spinctrl"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8375 fi
8376
8377 if test "$wxUSE_SPINCTRL" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8380 else
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8383 fi
8384
8385
8386 enablestring=
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8389 no_cache=0
8390 # Check whether --enable-splitter or --disable-splitter was given.
8391 if test "${enable_splitter+set}" = set; then
8392 enableval="$enable_splitter"
8393
8394 if test "$enableval" = yes; then
8395 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8396 else
8397 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8398 fi
8399
8400 else
8401
8402 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8405 else
8406 no_cache=1
8407 fi
8408
8409 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8410
8411 fi;
8412
8413 eval "$ac_cv_use_splitter"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8416 fi
8417
8418 if test "$wxUSE_SPLITTER" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8421 else
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8424 fi
8425
8426
8427 enablestring=
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8430 no_cache=0
8431 # Check whether --enable-statbmp or --disable-statbmp was given.
8432 if test "${enable_statbmp+set}" = set; then
8433 enableval="$enable_statbmp"
8434
8435 if test "$enableval" = yes; then
8436 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8437 else
8438 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8439 fi
8440
8441 else
8442
8443 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8446 else
8447 no_cache=1
8448 fi
8449
8450 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8451
8452 fi;
8453
8454 eval "$ac_cv_use_statbmp"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8457 fi
8458
8459 if test "$wxUSE_STATBMP" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8462 else
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8465 fi
8466
8467
8468 enablestring=
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8471 no_cache=0
8472 # Check whether --enable-statbox or --disable-statbox was given.
8473 if test "${enable_statbox+set}" = set; then
8474 enableval="$enable_statbox"
8475
8476 if test "$enableval" = yes; then
8477 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8478 else
8479 ac_cv_use_statbox='wxUSE_STATBOX=no'
8480 fi
8481
8482 else
8483
8484 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x ; then
8486 eval "DEFAULT_$LINE"
8487 else
8488 no_cache=1
8489 fi
8490
8491 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8492
8493 fi;
8494
8495 eval "$ac_cv_use_statbox"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8498 fi
8499
8500 if test "$wxUSE_STATBOX" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8503 else
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8506 fi
8507
8508
8509 enablestring=
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8512 no_cache=0
8513 # Check whether --enable-statline or --disable-statline was given.
8514 if test "${enable_statline+set}" = set; then
8515 enableval="$enable_statline"
8516
8517 if test "$enableval" = yes; then
8518 ac_cv_use_statline='wxUSE_STATLINE=yes'
8519 else
8520 ac_cv_use_statline='wxUSE_STATLINE=no'
8521 fi
8522
8523 else
8524
8525 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8528 else
8529 no_cache=1
8530 fi
8531
8532 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8533
8534 fi;
8535
8536 eval "$ac_cv_use_statline"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8539 fi
8540
8541 if test "$wxUSE_STATLINE" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8544 else
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8547 fi
8548
8549
8550 enablestring=
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8553 no_cache=0
8554 # Check whether --enable-stattext or --disable-stattext was given.
8555 if test "${enable_stattext+set}" = set; then
8556 enableval="$enable_stattext"
8557
8558 if test "$enableval" = yes; then
8559 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8560 else
8561 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8562 fi
8563
8564 else
8565
8566 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 else
8570 no_cache=1
8571 fi
8572
8573 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8574
8575 fi;
8576
8577 eval "$ac_cv_use_stattext"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8580 fi
8581
8582 if test "$wxUSE_STATTEXT" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8585 else
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8588 fi
8589
8590
8591 enablestring=
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8594 no_cache=0
8595 # Check whether --enable-statusbar or --disable-statusbar was given.
8596 if test "${enable_statusbar+set}" = set; then
8597 enableval="$enable_statusbar"
8598
8599 if test "$enableval" = yes; then
8600 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8601 else
8602 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8603 fi
8604
8605 else
8606
8607 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8610 else
8611 no_cache=1
8612 fi
8613
8614 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8615
8616 fi;
8617
8618 eval "$ac_cv_use_statusbar"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8621 fi
8622
8623 if test "$wxUSE_STATUSBAR" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8626 else
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8629 fi
8630
8631
8632 enablestring=
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8635 no_cache=0
8636 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8637 if test "${enable_tabdialog+set}" = set; then
8638 enableval="$enable_tabdialog"
8639
8640 if test "$enableval" = yes; then
8641 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8642 else
8643 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8644 fi
8645
8646 else
8647
8648 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8651 else
8652 no_cache=1
8653 fi
8654
8655 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8656
8657 fi;
8658
8659 eval "$ac_cv_use_tabdialog"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8662 fi
8663
8664 if test "$wxUSE_TABDIALOG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8667 else
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8670 fi
8671
8672
8673 enablestring=
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8676 no_cache=0
8677 # Check whether --enable-textctrl or --disable-textctrl was given.
8678 if test "${enable_textctrl+set}" = set; then
8679 enableval="$enable_textctrl"
8680
8681 if test "$enableval" = yes; then
8682 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8683 else
8684 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8685 fi
8686
8687 else
8688
8689 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x ; then
8691 eval "DEFAULT_$LINE"
8692 else
8693 no_cache=1
8694 fi
8695
8696 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8697
8698 fi;
8699
8700 eval "$ac_cv_use_textctrl"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8703 fi
8704
8705 if test "$wxUSE_TEXTCTRL" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8708 else
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8711 fi
8712
8713
8714 enablestring=
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8717 no_cache=0
8718 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8719 if test "${enable_togglebtn+set}" = set; then
8720 enableval="$enable_togglebtn"
8721
8722 if test "$enableval" = yes; then
8723 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8724 else
8725 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8726 fi
8727
8728 else
8729
8730 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8733 else
8734 no_cache=1
8735 fi
8736
8737 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8738
8739 fi;
8740
8741 eval "$ac_cv_use_togglebtn"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8744 fi
8745
8746 if test "$wxUSE_TOGGLEBTN" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8749 else
8750 echo "$as_me:$LINENO: result: no" >&5
8751 echo "${ECHO_T}no" >&6
8752 fi
8753
8754
8755 enablestring=
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8758 no_cache=0
8759 # Check whether --enable-toolbar or --disable-toolbar was given.
8760 if test "${enable_toolbar+set}" = set; then
8761 enableval="$enable_toolbar"
8762
8763 if test "$enableval" = yes; then
8764 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8765 else
8766 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8767 fi
8768
8769 else
8770
8771 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x ; then
8773 eval "DEFAULT_$LINE"
8774 else
8775 no_cache=1
8776 fi
8777
8778 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8779
8780 fi;
8781
8782 eval "$ac_cv_use_toolbar"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8785 fi
8786
8787 if test "$wxUSE_TOOLBAR" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8790 else
8791 echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6
8793 fi
8794
8795
8796 enablestring=
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8799 no_cache=0
8800 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8801 if test "${enable_tbarnative+set}" = set; then
8802 enableval="$enable_tbarnative"
8803
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8806 else
8807 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8808 fi
8809
8810 else
8811
8812 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8815 else
8816 no_cache=1
8817 fi
8818
8819 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8820
8821 fi;
8822
8823 eval "$ac_cv_use_tbarnative"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8826 fi
8827
8828 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830 echo "${ECHO_T}yes" >&6
8831 else
8832 echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6
8834 fi
8835
8836
8837 enablestring=
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8840 no_cache=0
8841 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8842 if test "${enable_tbarsmpl+set}" = set; then
8843 enableval="$enable_tbarsmpl"
8844
8845 if test "$enableval" = yes; then
8846 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8847 else
8848 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8849 fi
8850
8851 else
8852
8853 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x ; then
8855 eval "DEFAULT_$LINE"
8856 else
8857 no_cache=1
8858 fi
8859
8860 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8861
8862 fi;
8863
8864 eval "$ac_cv_use_tbarsmpl"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8867 fi
8868
8869 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6
8872 else
8873 echo "$as_me:$LINENO: result: no" >&5
8874 echo "${ECHO_T}no" >&6
8875 fi
8876
8877
8878 enablestring=
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8881 no_cache=0
8882 # Check whether --enable-treectrl or --disable-treectrl was given.
8883 if test "${enable_treectrl+set}" = set; then
8884 enableval="$enable_treectrl"
8885
8886 if test "$enableval" = yes; then
8887 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8888 else
8889 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8890 fi
8891
8892 else
8893
8894 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8902
8903 fi;
8904
8905 eval "$ac_cv_use_treectrl"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8908 fi
8909
8910 if test "$wxUSE_TREECTRL" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912 echo "${ECHO_T}yes" >&6
8913 else
8914 echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6
8916 fi
8917
8918
8919 enablestring=
8920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8921 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8922 no_cache=0
8923 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8924 if test "${enable_tipwindow+set}" = set; then
8925 enableval="$enable_tipwindow"
8926
8927 if test "$enableval" = yes; then
8928 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8929 else
8930 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8931 fi
8932
8933 else
8934
8935 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8943
8944 fi;
8945
8946 eval "$ac_cv_use_tipwindow"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8949 fi
8950
8951 if test "$wxUSE_TIPWINDOW" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953 echo "${ECHO_T}yes" >&6
8954 else
8955 echo "$as_me:$LINENO: result: no" >&5
8956 echo "${ECHO_T}no" >&6
8957 fi
8958
8959
8960 enablestring=
8961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8963 no_cache=0
8964 # Check whether --enable-popupwin or --disable-popupwin was given.
8965 if test "${enable_popupwin+set}" = set; then
8966 enableval="$enable_popupwin"
8967
8968 if test "$enableval" = yes; then
8969 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8970 else
8971 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8972 fi
8973
8974 else
8975
8976 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8984
8985 fi;
8986
8987 eval "$ac_cv_use_popupwin"
8988 if test "$no_cache" != 1; then
8989 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8990 fi
8991
8992 if test "$wxUSE_POPUPWIN" = yes; then
8993 echo "$as_me:$LINENO: result: yes" >&5
8994 echo "${ECHO_T}yes" >&6
8995 else
8996 echo "$as_me:$LINENO: result: no" >&5
8997 echo "${ECHO_T}no" >&6
8998 fi
8999
9000
9001
9002
9003 enablestring=
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9006 no_cache=0
9007 # Check whether --enable-commondlg or --disable-commondlg was given.
9008 if test "${enable_commondlg+set}" = set; then
9009 enableval="$enable_commondlg"
9010
9011 if test "$enableval" = yes; then
9012 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9013 else
9014 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9015 fi
9016
9017 else
9018
9019 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9022 else
9023 no_cache=1
9024 fi
9025
9026 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9027
9028 fi;
9029
9030 eval "$ac_cv_use_commondlg"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9033 fi
9034
9035 if test "$wxUSE_COMMONDLGS" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9038 else
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9041 fi
9042
9043
9044 enablestring=
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9047 no_cache=0
9048 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9049 if test "${enable_choicedlg+set}" = set; then
9050 enableval="$enable_choicedlg"
9051
9052 if test "$enableval" = yes; then
9053 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9054 else
9055 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9056 fi
9057
9058 else
9059
9060 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 else
9064 no_cache=1
9065 fi
9066
9067 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9068
9069 fi;
9070
9071 eval "$ac_cv_use_choicedlg"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9074 fi
9075
9076 if test "$wxUSE_CHOICEDLG" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9079 else
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9082 fi
9083
9084
9085 enablestring=
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9088 no_cache=0
9089 # Check whether --enable-coldlg or --disable-coldlg was given.
9090 if test "${enable_coldlg+set}" = set; then
9091 enableval="$enable_coldlg"
9092
9093 if test "$enableval" = yes; then
9094 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9095 else
9096 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9097 fi
9098
9099 else
9100
9101 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9104 else
9105 no_cache=1
9106 fi
9107
9108 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9109
9110 fi;
9111
9112 eval "$ac_cv_use_coldlg"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9115 fi
9116
9117 if test "$wxUSE_COLOURDLG" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9120 else
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9123 fi
9124
9125
9126 enablestring=
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9129 no_cache=0
9130 # Check whether --enable-filedlg or --disable-filedlg was given.
9131 if test "${enable_filedlg+set}" = set; then
9132 enableval="$enable_filedlg"
9133
9134 if test "$enableval" = yes; then
9135 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9136 else
9137 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9138 fi
9139
9140 else
9141
9142 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9145 else
9146 no_cache=1
9147 fi
9148
9149 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9150
9151 fi;
9152
9153 eval "$ac_cv_use_filedlg"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9156 fi
9157
9158 if test "$wxUSE_FILEDLG" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9161 else
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9164 fi
9165
9166
9167 enablestring=
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9170 no_cache=0
9171 # Check whether --enable-finddlg or --disable-finddlg was given.
9172 if test "${enable_finddlg+set}" = set; then
9173 enableval="$enable_finddlg"
9174
9175 if test "$enableval" = yes; then
9176 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9177 else
9178 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9179 fi
9180
9181 else
9182
9183 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9186 else
9187 no_cache=1
9188 fi
9189
9190 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9191
9192 fi;
9193
9194 eval "$ac_cv_use_finddlg"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9197 fi
9198
9199 if test "$wxUSE_FINDREPLDLG" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9202 else
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9205 fi
9206
9207
9208 enablestring=
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9211 no_cache=0
9212 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9213 if test "${enable_fontdlg+set}" = set; then
9214 enableval="$enable_fontdlg"
9215
9216 if test "$enableval" = yes; then
9217 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9218 else
9219 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9220 fi
9221
9222 else
9223
9224 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9227 else
9228 no_cache=1
9229 fi
9230
9231 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9232
9233 fi;
9234
9235 eval "$ac_cv_use_fontdlg"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9238 fi
9239
9240 if test "$wxUSE_FONTDLG" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9243 else
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9246 fi
9247
9248
9249 enablestring=
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9252 no_cache=0
9253 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9254 if test "${enable_dirdlg+set}" = set; then
9255 enableval="$enable_dirdlg"
9256
9257 if test "$enableval" = yes; then
9258 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9259 else
9260 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9261 fi
9262
9263 else
9264
9265 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9268 else
9269 no_cache=1
9270 fi
9271
9272 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9273
9274 fi;
9275
9276 eval "$ac_cv_use_dirdlg"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9279 fi
9280
9281 if test "$wxUSE_DIRDLG" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9284 else
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9287 fi
9288
9289
9290 enablestring=
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9293 no_cache=0
9294 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9295 if test "${enable_msgdlg+set}" = set; then
9296 enableval="$enable_msgdlg"
9297
9298 if test "$enableval" = yes; then
9299 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9300 else
9301 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9302 fi
9303
9304 else
9305
9306 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9309 else
9310 no_cache=1
9311 fi
9312
9313 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9314
9315 fi;
9316
9317 eval "$ac_cv_use_msgdlg"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9320 fi
9321
9322 if test "$wxUSE_MSGDLG" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9325 else
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9328 fi
9329
9330
9331 enablestring=
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9334 no_cache=0
9335 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9336 if test "${enable_numberdlg+set}" = set; then
9337 enableval="$enable_numberdlg"
9338
9339 if test "$enableval" = yes; then
9340 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9341 else
9342 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9343 fi
9344
9345 else
9346
9347 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x ; then
9349 eval "DEFAULT_$LINE"
9350 else
9351 no_cache=1
9352 fi
9353
9354 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9355
9356 fi;
9357
9358 eval "$ac_cv_use_numberdlg"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9361 fi
9362
9363 if test "$wxUSE_NUMBERDLG" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9366 else
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9369 fi
9370
9371
9372 enablestring=
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9375 no_cache=0
9376 # Check whether --enable-splash or --disable-splash was given.
9377 if test "${enable_splash+set}" = set; then
9378 enableval="$enable_splash"
9379
9380 if test "$enableval" = yes; then
9381 ac_cv_use_splash='wxUSE_SPLASH=yes'
9382 else
9383 ac_cv_use_splash='wxUSE_SPLASH=no'
9384 fi
9385
9386 else
9387
9388 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 else
9392 no_cache=1
9393 fi
9394
9395 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9396
9397 fi;
9398
9399 eval "$ac_cv_use_splash"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9402 fi
9403
9404 if test "$wxUSE_SPLASH" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9407 else
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9410 fi
9411
9412
9413 enablestring=
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9416 no_cache=0
9417 # Check whether --enable-textdlg or --disable-textdlg was given.
9418 if test "${enable_textdlg+set}" = set; then
9419 enableval="$enable_textdlg"
9420
9421 if test "$enableval" = yes; then
9422 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9423 else
9424 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9425 fi
9426
9427 else
9428
9429 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x ; then
9431 eval "DEFAULT_$LINE"
9432 else
9433 no_cache=1
9434 fi
9435
9436 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9437
9438 fi;
9439
9440 eval "$ac_cv_use_textdlg"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9443 fi
9444
9445 if test "$wxUSE_TEXTDLG" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9448 else
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9451 fi
9452
9453
9454 enablestring=
9455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9457 no_cache=0
9458 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9459 if test "${enable_tipdlg+set}" = set; then
9460 enableval="$enable_tipdlg"
9461
9462 if test "$enableval" = yes; then
9463 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9464 else
9465 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9466 fi
9467
9468 else
9469
9470 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x ; then
9472 eval "DEFAULT_$LINE"
9473 else
9474 no_cache=1
9475 fi
9476
9477 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9478
9479 fi;
9480
9481 eval "$ac_cv_use_tipdlg"
9482 if test "$no_cache" != 1; then
9483 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9484 fi
9485
9486 if test "$wxUSE_STARTUP_TIPS" = yes; then
9487 echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6
9489 else
9490 echo "$as_me:$LINENO: result: no" >&5
9491 echo "${ECHO_T}no" >&6
9492 fi
9493
9494
9495 enablestring=
9496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9498 no_cache=0
9499 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9500 if test "${enable_progressdlg+set}" = set; then
9501 enableval="$enable_progressdlg"
9502
9503 if test "$enableval" = yes; then
9504 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9505 else
9506 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9507 fi
9508
9509 else
9510
9511 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9514 else
9515 no_cache=1
9516 fi
9517
9518 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9519
9520 fi;
9521
9522 eval "$ac_cv_use_progressdlg"
9523 if test "$no_cache" != 1; then
9524 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9525 fi
9526
9527 if test "$wxUSE_PROGRESSDLG" = yes; then
9528 echo "$as_me:$LINENO: result: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9530 else
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9533 fi
9534
9535
9536 enablestring=
9537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9539 no_cache=0
9540 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9541 if test "${enable_wizarddlg+set}" = set; then
9542 enableval="$enable_wizarddlg"
9543
9544 if test "$enableval" = yes; then
9545 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9546 else
9547 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9548 fi
9549
9550 else
9551
9552 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9555 else
9556 no_cache=1
9557 fi
9558
9559 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9560
9561 fi;
9562
9563 eval "$ac_cv_use_wizarddlg"
9564 if test "$no_cache" != 1; then
9565 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9566 fi
9567
9568 if test "$wxUSE_WIZARDDLG" = yes; then
9569 echo "$as_me:$LINENO: result: yes" >&5
9570 echo "${ECHO_T}yes" >&6
9571 else
9572 echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6
9574 fi
9575
9576
9577
9578
9579 enablestring=
9580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9582 no_cache=0
9583 # Check whether --enable-menus or --disable-menus was given.
9584 if test "${enable_menus+set}" = set; then
9585 enableval="$enable_menus"
9586
9587 if test "$enableval" = yes; then
9588 ac_cv_use_menus='wxUSE_MENUS=yes'
9589 else
9590 ac_cv_use_menus='wxUSE_MENUS=no'
9591 fi
9592
9593 else
9594
9595 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9596 if test "x$LINE" != x ; then
9597 eval "DEFAULT_$LINE"
9598 else
9599 no_cache=1
9600 fi
9601
9602 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9603
9604 fi;
9605
9606 eval "$ac_cv_use_menus"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9609 fi
9610
9611 if test "$wxUSE_MENUS" = yes; then
9612 echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6
9614 else
9615 echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6
9617 fi
9618
9619
9620 enablestring=
9621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9623 no_cache=0
9624 # Check whether --enable-miniframe or --disable-miniframe was given.
9625 if test "${enable_miniframe+set}" = set; then
9626 enableval="$enable_miniframe"
9627
9628 if test "$enableval" = yes; then
9629 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9630 else
9631 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9632 fi
9633
9634 else
9635
9636 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x ; then
9638 eval "DEFAULT_$LINE"
9639 else
9640 no_cache=1
9641 fi
9642
9643 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9644
9645 fi;
9646
9647 eval "$ac_cv_use_miniframe"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9650 fi
9651
9652 if test "$wxUSE_MINIFRAME" = yes; then
9653 echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6
9655 else
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9658 fi
9659
9660
9661 enablestring=
9662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9664 no_cache=0
9665 # Check whether --enable-tooltips or --disable-tooltips was given.
9666 if test "${enable_tooltips+set}" = set; then
9667 enableval="$enable_tooltips"
9668
9669 if test "$enableval" = yes; then
9670 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9671 else
9672 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9673 fi
9674
9675 else
9676
9677 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9678 if test "x$LINE" != x ; then
9679 eval "DEFAULT_$LINE"
9680 else
9681 no_cache=1
9682 fi
9683
9684 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9685
9686 fi;
9687
9688 eval "$ac_cv_use_tooltips"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test "$wxUSE_TOOLTIPS" = yes; then
9694 echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6
9696 else
9697 echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6
9699 fi
9700
9701
9702 enablestring=
9703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9705 no_cache=0
9706 # Check whether --enable-splines or --disable-splines was given.
9707 if test "${enable_splines+set}" = set; then
9708 enableval="$enable_splines"
9709
9710 if test "$enableval" = yes; then
9711 ac_cv_use_splines='wxUSE_SPLINES=yes'
9712 else
9713 ac_cv_use_splines='wxUSE_SPLINES=no'
9714 fi
9715
9716 else
9717
9718 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x ; then
9720 eval "DEFAULT_$LINE"
9721 else
9722 no_cache=1
9723 fi
9724
9725 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9726
9727 fi;
9728
9729 eval "$ac_cv_use_splines"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9732 fi
9733
9734 if test "$wxUSE_SPLINES" = yes; then
9735 echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6
9737 else
9738 echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6
9740 fi
9741
9742
9743 enablestring=
9744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9746 no_cache=0
9747 # Check whether --enable-validators or --disable-validators was given.
9748 if test "${enable_validators+set}" = set; then
9749 enableval="$enable_validators"
9750
9751 if test "$enableval" = yes; then
9752 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9753 else
9754 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9755 fi
9756
9757 else
9758
9759 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9760 if test "x$LINE" != x ; then
9761 eval "DEFAULT_$LINE"
9762 else
9763 no_cache=1
9764 fi
9765
9766 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9767
9768 fi;
9769
9770 eval "$ac_cv_use_validators"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test "$wxUSE_VALIDATORS" = yes; then
9776 echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6
9778 else
9779 echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6
9781 fi
9782
9783
9784 enablestring=
9785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9787 no_cache=0
9788 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9789 if test "${enable_busyinfo+set}" = set; then
9790 enableval="$enable_busyinfo"
9791
9792 if test "$enableval" = yes; then
9793 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9794 else
9795 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9796 fi
9797
9798 else
9799
9800 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9801 if test "x$LINE" != x ; then
9802 eval "DEFAULT_$LINE"
9803 else
9804 no_cache=1
9805 fi
9806
9807 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9808
9809 fi;
9810
9811 eval "$ac_cv_use_busyinfo"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9814 fi
9815
9816 if test "$wxUSE_BUSYINFO" = yes; then
9817 echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6
9819 else
9820 echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6
9822 fi
9823
9824
9825 enablestring=
9826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9828 no_cache=0
9829 # Check whether --enable-joystick or --disable-joystick was given.
9830 if test "${enable_joystick+set}" = set; then
9831 enableval="$enable_joystick"
9832
9833 if test "$enableval" = yes; then
9834 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9835 else
9836 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9837 fi
9838
9839 else
9840
9841 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9842 if test "x$LINE" != x ; then
9843 eval "DEFAULT_$LINE"
9844 else
9845 no_cache=1
9846 fi
9847
9848 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9849
9850 fi;
9851
9852 eval "$ac_cv_use_joystick"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test "$wxUSE_JOYSTICK" = yes; then
9858 echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6
9860 else
9861 echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6
9863 fi
9864
9865
9866 enablestring=
9867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9869 no_cache=0
9870 # Check whether --enable-metafile or --disable-metafile was given.
9871 if test "${enable_metafile+set}" = set; then
9872 enableval="$enable_metafile"
9873
9874 if test "$enableval" = yes; then
9875 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9876 else
9877 ac_cv_use_metafile='wxUSE_METAFILE=no'
9878 fi
9879
9880 else
9881
9882 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9883 if test "x$LINE" != x ; then
9884 eval "DEFAULT_$LINE"
9885 else
9886 no_cache=1
9887 fi
9888
9889 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9890
9891 fi;
9892
9893 eval "$ac_cv_use_metafile"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9896 fi
9897
9898 if test "$wxUSE_METAFILE" = yes; then
9899 echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6
9901 else
9902 echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6
9904 fi
9905
9906
9907 enablestring=
9908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9910 no_cache=0
9911 # Check whether --enable-dragimage or --disable-dragimage was given.
9912 if test "${enable_dragimage+set}" = set; then
9913 enableval="$enable_dragimage"
9914
9915 if test "$enableval" = yes; then
9916 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9917 else
9918 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9919 fi
9920
9921 else
9922
9923 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9924 if test "x$LINE" != x ; then
9925 eval "DEFAULT_$LINE"
9926 else
9927 no_cache=1
9928 fi
9929
9930 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9931
9932 fi;
9933
9934 eval "$ac_cv_use_dragimage"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test "$wxUSE_DRAGIMAGE" = yes; then
9940 echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6
9942 else
9943 echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6
9945 fi
9946
9947
9948 enablestring=
9949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9951 no_cache=0
9952 # Check whether --enable-accessibility or --disable-accessibility was given.
9953 if test "${enable_accessibility+set}" = set; then
9954 enableval="$enable_accessibility"
9955
9956 if test "$enableval" = yes; then
9957 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9958 else
9959 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9960 fi
9961
9962 else
9963
9964 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9965 if test "x$LINE" != x ; then
9966 eval "DEFAULT_$LINE"
9967 else
9968 no_cache=1
9969 fi
9970
9971 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9972
9973 fi;
9974
9975 eval "$ac_cv_use_accessibility"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test "$wxUSE_ACCESSIBILITY" = yes; then
9981 echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6
9983 else
9984 echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6
9986 fi
9987
9988
9989
9990
9991 enablestring=
9992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9994 no_cache=0
9995 # Check whether --enable-palette or --disable-palette was given.
9996 if test "${enable_palette+set}" = set; then
9997 enableval="$enable_palette"
9998
9999 if test "$enableval" = yes; then
10000 ac_cv_use_palette='wxUSE_PALETTE=yes'
10001 else
10002 ac_cv_use_palette='wxUSE_PALETTE=no'
10003 fi
10004
10005 else
10006
10007 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10010 else
10011 no_cache=1
10012 fi
10013
10014 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10015
10016 fi;
10017
10018 eval "$ac_cv_use_palette"
10019 if test "$no_cache" != 1; then
10020 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10021 fi
10022
10023 if test "$wxUSE_PALETTE" = yes; then
10024 echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6
10026 else
10027 echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6
10029 fi
10030
10031
10032 enablestring=
10033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10035 no_cache=0
10036 # Check whether --enable-image or --disable-image was given.
10037 if test "${enable_image+set}" = set; then
10038 enableval="$enable_image"
10039
10040 if test "$enableval" = yes; then
10041 ac_cv_use_image='wxUSE_IMAGE=yes'
10042 else
10043 ac_cv_use_image='wxUSE_IMAGE=no'
10044 fi
10045
10046 else
10047
10048 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10049 if test "x$LINE" != x ; then
10050 eval "DEFAULT_$LINE"
10051 else
10052 no_cache=1
10053 fi
10054
10055 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10056
10057 fi;
10058
10059 eval "$ac_cv_use_image"
10060 if test "$no_cache" != 1; then
10061 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10062 fi
10063
10064 if test "$wxUSE_IMAGE" = yes; then
10065 echo "$as_me:$LINENO: result: yes" >&5
10066 echo "${ECHO_T}yes" >&6
10067 else
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10070 fi
10071
10072
10073 enablestring=
10074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10076 no_cache=0
10077 # Check whether --enable-gif or --disable-gif was given.
10078 if test "${enable_gif+set}" = set; then
10079 enableval="$enable_gif"
10080
10081 if test "$enableval" = yes; then
10082 ac_cv_use_gif='wxUSE_GIF=yes'
10083 else
10084 ac_cv_use_gif='wxUSE_GIF=no'
10085 fi
10086
10087 else
10088
10089 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10090 if test "x$LINE" != x ; then
10091 eval "DEFAULT_$LINE"
10092 else
10093 no_cache=1
10094 fi
10095
10096 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10097
10098 fi;
10099
10100 eval "$ac_cv_use_gif"
10101 if test "$no_cache" != 1; then
10102 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10103 fi
10104
10105 if test "$wxUSE_GIF" = yes; then
10106 echo "$as_me:$LINENO: result: yes" >&5
10107 echo "${ECHO_T}yes" >&6
10108 else
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10111 fi
10112
10113
10114 enablestring=
10115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10117 no_cache=0
10118 # Check whether --enable-pcx or --disable-pcx was given.
10119 if test "${enable_pcx+set}" = set; then
10120 enableval="$enable_pcx"
10121
10122 if test "$enableval" = yes; then
10123 ac_cv_use_pcx='wxUSE_PCX=yes'
10124 else
10125 ac_cv_use_pcx='wxUSE_PCX=no'
10126 fi
10127
10128 else
10129
10130 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x ; then
10132 eval "DEFAULT_$LINE"
10133 else
10134 no_cache=1
10135 fi
10136
10137 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10138
10139 fi;
10140
10141 eval "$ac_cv_use_pcx"
10142 if test "$no_cache" != 1; then
10143 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10144 fi
10145
10146 if test "$wxUSE_PCX" = yes; then
10147 echo "$as_me:$LINENO: result: yes" >&5
10148 echo "${ECHO_T}yes" >&6
10149 else
10150 echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6
10152 fi
10153
10154
10155 enablestring=
10156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10158 no_cache=0
10159 # Check whether --enable-iff or --disable-iff was given.
10160 if test "${enable_iff+set}" = set; then
10161 enableval="$enable_iff"
10162
10163 if test "$enableval" = yes; then
10164 ac_cv_use_iff='wxUSE_IFF=yes'
10165 else
10166 ac_cv_use_iff='wxUSE_IFF=no'
10167 fi
10168
10169 else
10170
10171 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10172 if test "x$LINE" != x ; then
10173 eval "DEFAULT_$LINE"
10174 else
10175 no_cache=1
10176 fi
10177
10178 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10179
10180 fi;
10181
10182 eval "$ac_cv_use_iff"
10183 if test "$no_cache" != 1; then
10184 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10185 fi
10186
10187 if test "$wxUSE_IFF" = yes; then
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10190 else
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10193 fi
10194
10195
10196 enablestring=
10197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10199 no_cache=0
10200 # Check whether --enable-pnm or --disable-pnm was given.
10201 if test "${enable_pnm+set}" = set; then
10202 enableval="$enable_pnm"
10203
10204 if test "$enableval" = yes; then
10205 ac_cv_use_pnm='wxUSE_PNM=yes'
10206 else
10207 ac_cv_use_pnm='wxUSE_PNM=no'
10208 fi
10209
10210 else
10211
10212 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10213 if test "x$LINE" != x ; then
10214 eval "DEFAULT_$LINE"
10215 else
10216 no_cache=1
10217 fi
10218
10219 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10220
10221 fi;
10222
10223 eval "$ac_cv_use_pnm"
10224 if test "$no_cache" != 1; then
10225 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10226 fi
10227
10228 if test "$wxUSE_PNM" = yes; then
10229 echo "$as_me:$LINENO: result: yes" >&5
10230 echo "${ECHO_T}yes" >&6
10231 else
10232 echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6
10234 fi
10235
10236
10237 enablestring=
10238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10240 no_cache=0
10241 # Check whether --enable-xpm or --disable-xpm was given.
10242 if test "${enable_xpm+set}" = set; then
10243 enableval="$enable_xpm"
10244
10245 if test "$enableval" = yes; then
10246 ac_cv_use_xpm='wxUSE_XPM=yes'
10247 else
10248 ac_cv_use_xpm='wxUSE_XPM=no'
10249 fi
10250
10251 else
10252
10253 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10254 if test "x$LINE" != x ; then
10255 eval "DEFAULT_$LINE"
10256 else
10257 no_cache=1
10258 fi
10259
10260 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10261
10262 fi;
10263
10264 eval "$ac_cv_use_xpm"
10265 if test "$no_cache" != 1; then
10266 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10267 fi
10268
10269 if test "$wxUSE_XPM" = yes; then
10270 echo "$as_me:$LINENO: result: yes" >&5
10271 echo "${ECHO_T}yes" >&6
10272 else
10273 echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6
10275 fi
10276
10277
10278 enablestring=
10279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10281 no_cache=0
10282 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10283 if test "${enable_ico_cur+set}" = set; then
10284 enableval="$enable_ico_cur"
10285
10286 if test "$enableval" = yes; then
10287 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10288 else
10289 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10290 fi
10291
10292 else
10293
10294 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10295 if test "x$LINE" != x ; then
10296 eval "DEFAULT_$LINE"
10297 else
10298 no_cache=1
10299 fi
10300
10301 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10302
10303 fi;
10304
10305 eval "$ac_cv_use_ico_cur"
10306 if test "$no_cache" != 1; then
10307 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10308 fi
10309
10310 if test "$wxUSE_ICO_CUR" = yes; then
10311 echo "$as_me:$LINENO: result: yes" >&5
10312 echo "${ECHO_T}yes" >&6
10313 else
10314 echo "$as_me:$LINENO: result: no" >&5
10315 echo "${ECHO_T}no" >&6
10316 fi
10317
10318
10319 fi
10320
10321
10322
10323 # Check whether --with-flavour or --without-flavour was given.
10324 if test "${with_flavour+set}" = set; then
10325 withval="$with_flavour"
10326 WX_FLAVOUR="$withval"
10327 fi;
10328
10329
10330
10331 enablestring=
10332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10334 no_cache=0
10335 # Check whether --enable-official_build or --disable-official_build was given.
10336 if test "${enable_official_build+set}" = set; then
10337 enableval="$enable_official_build"
10338
10339 if test "$enableval" = yes; then
10340 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10341 else
10342 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10343 fi
10344
10345 else
10346
10347 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x ; then
10349 eval "DEFAULT_$LINE"
10350 else
10351 no_cache=1
10352 fi
10353
10354 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10355
10356 fi;
10357
10358 eval "$ac_cv_use_official_build"
10359 if test "$no_cache" != 1; then
10360 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10361 fi
10362
10363 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10364 echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6
10366 else
10367 echo "$as_me:$LINENO: result: no" >&5
10368 echo "${ECHO_T}no" >&6
10369 fi
10370
10371 # Check whether --enable-vendor or --disable-vendor was given.
10372 if test "${enable_vendor+set}" = set; then
10373 enableval="$enable_vendor"
10374 VENDOR="$enableval"
10375 fi;
10376 if test "x$VENDOR" = "x"; then
10377 VENDOR="custom"
10378 fi
10379
10380
10381
10382
10383 echo "saving argument cache $wx_arg_cache_file"
10384 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10385
10386
10387
10388 echo "$as_me:$LINENO: checking for toolkit" >&5
10389 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10390
10391 # In Wine, we need to default to MSW, not GTK or MOTIF
10392 if test "$wxUSE_WINE" = "yes"; then
10393 DEFAULT_DEFAULT_wxUSE_GTK=0
10394 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10395 DEFAULT_DEFAULT_wxUSE_MSW=1
10396 wxUSE_SHARED=no
10397 fi
10398
10399 if test "$wxUSE_GUI" = "yes"; then
10400
10401 if test "$USE_BEOS" = 1; then
10402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10404 { (exit 1); exit 1; }; }
10405 fi
10406
10407 if test "$TOOLKIT_GIVEN" = 1; then
10408 for toolkit in `echo $ALL_TOOLKITS`; do
10409 var=wxUSE_$toolkit
10410 eval "value=\$${var}"
10411 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10412 done
10413 else
10414 for toolkit in `echo $ALL_TOOLKITS`; do
10415 if test "$has_toolkit_in_cache" != 1; then
10416 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10417 else
10418 var=DEFAULT_wxUSE_$toolkit
10419 fi
10420 eval "wxUSE_$toolkit=\$${var}"
10421 done
10422 fi
10423
10424 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10425 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10426 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10427
10428 case "${host}" in
10429 *-pc-os2_emx | *-pc-os2-emx )
10430 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10431 esac
10432
10433 case "$NUM_TOOLKITS" in
10434 1)
10435 ;;
10436 0)
10437 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10438 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10439 { (exit 1); exit 1; }; }
10440 ;;
10441 *)
10442 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10443 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10444 { (exit 1); exit 1; }; }
10445 esac
10446
10447 for toolkit in `echo $ALL_TOOLKITS`; do
10448 var=wxUSE_$toolkit
10449 eval "value=\$${var}"
10450 if test "x$value" != x; then
10451 cache_var=CACHE_$toolkit
10452 eval "cache=\$${cache_var}"
10453 if test "$cache" = 1; then
10454 echo "$var=$value" >> ${wx_arg_cache_file}
10455 fi
10456 if test "$value" = 1; then
10457 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10458 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10459 echo "${ECHO_T}$toolkit_echo" >&6
10460 fi
10461 fi
10462 done
10463 else
10464 if test "x$host_alias" != "x"; then
10465 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10466 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10467 else
10468 echo "$as_me:$LINENO: result: base only" >&5
10469 echo "${ECHO_T}base only" >&6
10470 fi
10471 fi
10472
10473 wants_win32=0
10474 doesnt_want_win32=0
10475 case "${host}" in
10476 *-*-cygwin*)
10477 if test "$wxUSE_MSW" = 1 ; then
10478 wants_win32=1
10479 else
10480 doesnt_want_win32=1
10481 fi
10482 ;;
10483 *-*-mingw*)
10484 wants_win32=1
10485 ;;
10486 esac
10487
10488 if test "$wxUSE_WINE" = "yes"; then
10489 wants_win32=1
10490 CC=winegcc
10491 CXX=wineg++
10492 RESCOMP=wrc
10493 LDFLAGS_GUI="-mwindows"
10494 fi
10495
10496 if test "$wants_win32" = 1 ; then
10497 USE_UNIX=0
10498 USE_WIN32=1
10499 cat >>confdefs.h <<\_ACEOF
10500 #define __WIN32__ 1
10501 _ACEOF
10502
10503 cat >>confdefs.h <<\_ACEOF
10504 #define __WIN95__ 1
10505 _ACEOF
10506
10507 cat >>confdefs.h <<\_ACEOF
10508 #define __WINDOWS__ 1
10509 _ACEOF
10510
10511 cat >>confdefs.h <<\_ACEOF
10512 #define __GNUWIN32__ 1
10513 _ACEOF
10514
10515 cat >>confdefs.h <<\_ACEOF
10516 #define STRICT 1
10517 _ACEOF
10518
10519 cat >>confdefs.h <<\_ACEOF
10520 #define WINVER 0x0400
10521 _ACEOF
10522
10523 fi
10524 if test "$doesnt_want_win32" = 1 ; then
10525 USE_UNIX=1
10526 USE_WIN32=0
10527 fi
10528
10529 if test "$USE_UNIX" = 1 ; then
10530 wxUSE_UNIX=yes
10531 cat >>confdefs.h <<\_ACEOF
10532 #define __UNIX__ 1
10533 _ACEOF
10534
10535 fi
10536
10537
10538 cat >confcache <<\_ACEOF
10539 # This file is a shell script that caches the results of configure
10540 # tests run on this system so they can be shared between configure
10541 # scripts and configure runs, see configure's option --config-cache.
10542 # It is not useful on other systems. If it contains results you don't
10543 # want to keep, you may remove or edit it.
10544 #
10545 # config.status only pays attention to the cache file if you give it
10546 # the --recheck option to rerun configure.
10547 #
10548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10550 # following values.
10551
10552 _ACEOF
10553
10554 # The following way of writing the cache mishandles newlines in values,
10555 # but we know of no workaround that is simple, portable, and efficient.
10556 # So, don't put newlines in cache variables' values.
10557 # Ultrix sh set writes to stderr and can't be redirected directly,
10558 # and sets the high bit in the cache file unless we assign to the vars.
10559 {
10560 (set) 2>&1 |
10561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10562 *ac_space=\ *)
10563 # `set' does not quote correctly, so add quotes (double-quote
10564 # substitution turns \\\\ into \\, and sed turns \\ into \).
10565 sed -n \
10566 "s/'/'\\\\''/g;
10567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10568 ;;
10569 *)
10570 # `set' quotes correctly as required by POSIX, so do not add quotes.
10571 sed -n \
10572 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10573 ;;
10574 esac;
10575 } |
10576 sed '
10577 t clear
10578 : clear
10579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10580 t end
10581 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10582 : end' >>confcache
10583 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10584 if test -w $cache_file; then
10585 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10586 cat confcache >$cache_file
10587 else
10588 echo "not updating unwritable cache $cache_file"
10589 fi
10590 fi
10591 rm -f confcache
10592
10593 if test "$build" != "$host" ; then
10594 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10595 CC=$host_alias-gcc
10596 CXX=$host_alias-c++
10597 AR=$host_alias-ar
10598 RANLIB=$host_alias-ranlib
10599 DLLTOOL=$host_alias-dlltool
10600 RESCOMP=$host_alias-windres
10601 STRIP=$host_alias-strip
10602 elif test "x$CC" '!=' "x"; then
10603 echo "You set CC, I assume you know what you are doing."
10604 else
10605 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10606 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10607 { (exit 1); exit 1; }; }
10608 fi
10609 fi
10610
10611 CFLAGS=${CFLAGS:=}
10612
10613
10614 ac_ext=c
10615 ac_cpp='$CPP $CPPFLAGS'
10616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10619 if test -n "$ac_tool_prefix"; then
10620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10622 echo "$as_me:$LINENO: checking for $ac_word" >&5
10623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10624 if test "${ac_cv_prog_CC+set}" = set; then
10625 echo $ECHO_N "(cached) $ECHO_C" >&6
10626 else
10627 if test -n "$CC"; then
10628 ac_cv_prog_CC="$CC" # Let the user override the test.
10629 else
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10632 do
10633 IFS=$as_save_IFS
10634 test -z "$as_dir" && as_dir=.
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10639 break 2
10640 fi
10641 done
10642 done
10643
10644 fi
10645 fi
10646 CC=$ac_cv_prog_CC
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10650 else
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10653 fi
10654
10655 fi
10656 if test -z "$ac_cv_prog_CC"; then
10657 ac_ct_CC=$CC
10658 # Extract the first word of "gcc", so it can be a program name with args.
10659 set dummy gcc; ac_word=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10667 else
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $PATH
10670 do
10671 IFS=$as_save_IFS
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC="gcc"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 break 2
10678 fi
10679 done
10680 done
10681
10682 fi
10683 fi
10684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10688 else
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10691 fi
10692
10693 CC=$ac_ct_CC
10694 else
10695 CC="$ac_cv_prog_CC"
10696 fi
10697
10698 if test -z "$CC"; then
10699 if test -n "$ac_tool_prefix"; then
10700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10701 set dummy ${ac_tool_prefix}cc; ac_word=$2
10702 echo "$as_me:$LINENO: checking for $ac_word" >&5
10703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10704 if test "${ac_cv_prog_CC+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 else
10707 if test -n "$CC"; then
10708 ac_cv_prog_CC="$CC" # Let the user override the test.
10709 else
10710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10711 for as_dir in $PATH
10712 do
10713 IFS=$as_save_IFS
10714 test -z "$as_dir" && as_dir=.
10715 for ac_exec_ext in '' $ac_executable_extensions; do
10716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10717 ac_cv_prog_CC="${ac_tool_prefix}cc"
10718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10719 break 2
10720 fi
10721 done
10722 done
10723
10724 fi
10725 fi
10726 CC=$ac_cv_prog_CC
10727 if test -n "$CC"; then
10728 echo "$as_me:$LINENO: result: $CC" >&5
10729 echo "${ECHO_T}$CC" >&6
10730 else
10731 echo "$as_me:$LINENO: result: no" >&5
10732 echo "${ECHO_T}no" >&6
10733 fi
10734
10735 fi
10736 if test -z "$ac_cv_prog_CC"; then
10737 ac_ct_CC=$CC
10738 # Extract the first word of "cc", so it can be a program name with args.
10739 set dummy cc; ac_word=$2
10740 echo "$as_me:$LINENO: checking for $ac_word" >&5
10741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 else
10745 if test -n "$ac_ct_CC"; then
10746 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10747 else
10748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10749 for as_dir in $PATH
10750 do
10751 IFS=$as_save_IFS
10752 test -z "$as_dir" && as_dir=.
10753 for ac_exec_ext in '' $ac_executable_extensions; do
10754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10755 ac_cv_prog_ac_ct_CC="cc"
10756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10757 break 2
10758 fi
10759 done
10760 done
10761
10762 fi
10763 fi
10764 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10765 if test -n "$ac_ct_CC"; then
10766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10767 echo "${ECHO_T}$ac_ct_CC" >&6
10768 else
10769 echo "$as_me:$LINENO: result: no" >&5
10770 echo "${ECHO_T}no" >&6
10771 fi
10772
10773 CC=$ac_ct_CC
10774 else
10775 CC="$ac_cv_prog_CC"
10776 fi
10777
10778 fi
10779 if test -z "$CC"; then
10780 # Extract the first word of "cc", so it can be a program name with args.
10781 set dummy cc; ac_word=$2
10782 echo "$as_me:$LINENO: checking for $ac_word" >&5
10783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10784 if test "${ac_cv_prog_CC+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 else
10787 if test -n "$CC"; then
10788 ac_cv_prog_CC="$CC" # Let the user override the test.
10789 else
10790 ac_prog_rejected=no
10791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10792 for as_dir in $PATH
10793 do
10794 IFS=$as_save_IFS
10795 test -z "$as_dir" && as_dir=.
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10798 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10799 ac_prog_rejected=yes
10800 continue
10801 fi
10802 ac_cv_prog_CC="cc"
10803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10804 break 2
10805 fi
10806 done
10807 done
10808
10809 if test $ac_prog_rejected = yes; then
10810 # We found a bogon in the path, so make sure we never use it.
10811 set dummy $ac_cv_prog_CC
10812 shift
10813 if test $# != 0; then
10814 # We chose a different compiler from the bogus one.
10815 # However, it has the same basename, so the bogon will be chosen
10816 # first if we set CC to just the basename; use the full file name.
10817 shift
10818 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10819 fi
10820 fi
10821 fi
10822 fi
10823 CC=$ac_cv_prog_CC
10824 if test -n "$CC"; then
10825 echo "$as_me:$LINENO: result: $CC" >&5
10826 echo "${ECHO_T}$CC" >&6
10827 else
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10830 fi
10831
10832 fi
10833 if test -z "$CC"; then
10834 if test -n "$ac_tool_prefix"; then
10835 for ac_prog in cl
10836 do
10837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10839 echo "$as_me:$LINENO: checking for $ac_word" >&5
10840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10841 if test "${ac_cv_prog_CC+set}" = set; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 else
10844 if test -n "$CC"; then
10845 ac_cv_prog_CC="$CC" # Let the user override the test.
10846 else
10847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10848 for as_dir in $PATH
10849 do
10850 IFS=$as_save_IFS
10851 test -z "$as_dir" && as_dir=.
10852 for ac_exec_ext in '' $ac_executable_extensions; do
10853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 break 2
10857 fi
10858 done
10859 done
10860
10861 fi
10862 fi
10863 CC=$ac_cv_prog_CC
10864 if test -n "$CC"; then
10865 echo "$as_me:$LINENO: result: $CC" >&5
10866 echo "${ECHO_T}$CC" >&6
10867 else
10868 echo "$as_me:$LINENO: result: no" >&5
10869 echo "${ECHO_T}no" >&6
10870 fi
10871
10872 test -n "$CC" && break
10873 done
10874 fi
10875 if test -z "$CC"; then
10876 ac_ct_CC=$CC
10877 for ac_prog in cl
10878 do
10879 # Extract the first word of "$ac_prog", so it can be a program name with args.
10880 set dummy $ac_prog; ac_word=$2
10881 echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 else
10886 if test -n "$ac_ct_CC"; then
10887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10888 else
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10891 do
10892 IFS=$as_save_IFS
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896 ac_cv_prog_ac_ct_CC="$ac_prog"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 break 2
10899 fi
10900 done
10901 done
10902
10903 fi
10904 fi
10905 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10906 if test -n "$ac_ct_CC"; then
10907 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10908 echo "${ECHO_T}$ac_ct_CC" >&6
10909 else
10910 echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6
10912 fi
10913
10914 test -n "$ac_ct_CC" && break
10915 done
10916
10917 CC=$ac_ct_CC
10918 fi
10919
10920 fi
10921
10922
10923 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10924 See \`config.log' for more details." >&5
10925 echo "$as_me: error: no acceptable C compiler found in \$PATH
10926 See \`config.log' for more details." >&2;}
10927 { (exit 1); exit 1; }; }
10928
10929 # Provide some information about the compiler.
10930 echo "$as_me:$LINENO:" \
10931 "checking for C compiler version" >&5
10932 ac_compiler=`set X $ac_compile; echo $2`
10933 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10934 (eval $ac_compiler --version </dev/null >&5) 2>&5
10935 ac_status=$?
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10938 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10939 (eval $ac_compiler -v </dev/null >&5) 2>&5
10940 ac_status=$?
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }
10943 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10944 (eval $ac_compiler -V </dev/null >&5) 2>&5
10945 ac_status=$?
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }
10948
10949 cat >conftest.$ac_ext <<_ACEOF
10950 /* confdefs.h. */
10951 _ACEOF
10952 cat confdefs.h >>conftest.$ac_ext
10953 cat >>conftest.$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10955
10956 int
10957 main ()
10958 {
10959
10960 ;
10961 return 0;
10962 }
10963 _ACEOF
10964 ac_clean_files_save=$ac_clean_files
10965 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10966 # Try to create an executable without -o first, disregard a.out.
10967 # It will help us diagnose broken compilers, and finding out an intuition
10968 # of exeext.
10969 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10970 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10971 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10973 (eval $ac_link_default) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; then
10977 # Find the output, starting from the most likely. This scheme is
10978 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10979 # resort.
10980
10981 # Be careful to initialize this variable, since it used to be cached.
10982 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10983 ac_cv_exeext=
10984 # b.out is created by i960 compilers.
10985 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10986 do
10987 test -f "$ac_file" || continue
10988 case $ac_file in
10989 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10990 ;;
10991 conftest.$ac_ext )
10992 # This is the source file.
10993 ;;
10994 [ab].out )
10995 # We found the default executable, but exeext='' is most
10996 # certainly right.
10997 break;;
10998 *.* )
10999 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11000 # FIXME: I believe we export ac_cv_exeext for Libtool,
11001 # but it would be cool to find out if it's true. Does anybody
11002 # maintain Libtool? --akim.
11003 export ac_cv_exeext
11004 break;;
11005 * )
11006 break;;
11007 esac
11008 done
11009 else
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11012
11013 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C compiler cannot create executables
11016 See \`config.log' for more details." >&2;}
11017 { (exit 77); exit 77; }; }
11018 fi
11019
11020 ac_exeext=$ac_cv_exeext
11021 echo "$as_me:$LINENO: result: $ac_file" >&5
11022 echo "${ECHO_T}$ac_file" >&6
11023
11024 # Check the compiler produces executables we can run. If not, either
11025 # the compiler is broken, or we cross compile.
11026 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11027 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11028 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11029 # If not cross compiling, check that we can run a simple program.
11030 if test "$cross_compiling" != yes; then
11031 if { ac_try='./$ac_file'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11034 ac_status=$?
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11037 cross_compiling=no
11038 else
11039 if test "$cross_compiling" = maybe; then
11040 cross_compiling=yes
11041 else
11042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&5
11045 echo "$as_me: error: cannot run C compiled programs.
11046 If you meant to cross compile, use \`--host'.
11047 See \`config.log' for more details." >&2;}
11048 { (exit 1); exit 1; }; }
11049 fi
11050 fi
11051 fi
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11054
11055 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11056 ac_clean_files=$ac_clean_files_save
11057 # Check the compiler produces executables we can run. If not, either
11058 # the compiler is broken, or we cross compile.
11059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11062 echo "${ECHO_T}$cross_compiling" >&6
11063
11064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11067 (eval $ac_link) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; then
11071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11073 # work properly (i.e., refer to `conftest.exe'), while it won't with
11074 # `rm'.
11075 for ac_file in conftest.exe conftest conftest.*; do
11076 test -f "$ac_file" || continue
11077 case $ac_file in
11078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11080 export ac_cv_exeext
11081 break;;
11082 * ) break;;
11083 esac
11084 done
11085 else
11086 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11087 See \`config.log' for more details." >&5
11088 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11089 See \`config.log' for more details." >&2;}
11090 { (exit 1); exit 1; }; }
11091 fi
11092
11093 rm -f conftest$ac_cv_exeext
11094 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11095 echo "${ECHO_T}$ac_cv_exeext" >&6
11096
11097 rm -f conftest.$ac_ext
11098 EXEEXT=$ac_cv_exeext
11099 ac_exeext=$EXEEXT
11100 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11101 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11102 if test "${ac_cv_objext+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 else
11105 cat >conftest.$ac_ext <<_ACEOF
11106 /* confdefs.h. */
11107 _ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111
11112 int
11113 main ()
11114 {
11115
11116 ;
11117 return 0;
11118 }
11119 _ACEOF
11120 rm -f conftest.o conftest.obj
11121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122 (eval $ac_compile) 2>&5
11123 ac_status=$?
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; then
11126 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11127 case $ac_file in
11128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11129 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11130 break;;
11131 esac
11132 done
11133 else
11134 echo "$as_me: failed program was:" >&5
11135 sed 's/^/| /' conftest.$ac_ext >&5
11136
11137 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11138 See \`config.log' for more details." >&5
11139 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11140 See \`config.log' for more details." >&2;}
11141 { (exit 1); exit 1; }; }
11142 fi
11143
11144 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11145 fi
11146 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11147 echo "${ECHO_T}$ac_cv_objext" >&6
11148 OBJEXT=$ac_cv_objext
11149 ac_objext=$OBJEXT
11150 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11151 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 else
11155 cat >conftest.$ac_ext <<_ACEOF
11156 /* confdefs.h. */
11157 _ACEOF
11158 cat confdefs.h >>conftest.$ac_ext
11159 cat >>conftest.$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11161
11162 int
11163 main ()
11164 {
11165 #ifndef __GNUC__
11166 choke me
11167 #endif
11168
11169 ;
11170 return 0;
11171 }
11172 _ACEOF
11173 rm -f conftest.$ac_objext
11174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11175 (eval $ac_compile) 2>conftest.er1
11176 ac_status=$?
11177 grep -v '^ *+' conftest.er1 >conftest.err
11178 rm -f conftest.er1
11179 cat conftest.err >&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); } &&
11182 { ac_try='test -z "$ac_c_werror_flag"
11183 || test ! -s conftest.err'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11186 ac_status=$?
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; } &&
11189 { ac_try='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 ac_compiler_gnu=yes
11196 else
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11199
11200 ac_compiler_gnu=no
11201 fi
11202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11203 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11204
11205 fi
11206 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11207 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11208 GCC=`test $ac_compiler_gnu = yes && echo yes`
11209 ac_test_CFLAGS=${CFLAGS+set}
11210 ac_save_CFLAGS=$CFLAGS
11211 CFLAGS="-g"
11212 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11213 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11214 if test "${ac_cv_prog_cc_g+set}" = set; then
11215 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 else
11217 cat >conftest.$ac_ext <<_ACEOF
11218 /* confdefs.h. */
11219 _ACEOF
11220 cat confdefs.h >>conftest.$ac_ext
11221 cat >>conftest.$ac_ext <<_ACEOF
11222 /* end confdefs.h. */
11223
11224 int
11225 main ()
11226 {
11227
11228 ;
11229 return 0;
11230 }
11231 _ACEOF
11232 rm -f conftest.$ac_objext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11234 (eval $ac_compile) 2>conftest.er1
11235 ac_status=$?
11236 grep -v '^ *+' conftest.er1 >conftest.err
11237 rm -f conftest.er1
11238 cat conftest.err >&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try='test -z "$ac_c_werror_flag"
11242 || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_prog_cc_g=yes
11255 else
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11258
11259 ac_cv_prog_cc_g=no
11260 fi
11261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11262 fi
11263 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11264 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11265 if test "$ac_test_CFLAGS" = set; then
11266 CFLAGS=$ac_save_CFLAGS
11267 elif test $ac_cv_prog_cc_g = yes; then
11268 if test "$GCC" = yes; then
11269 CFLAGS="-g -O2"
11270 else
11271 CFLAGS="-g"
11272 fi
11273 else
11274 if test "$GCC" = yes; then
11275 CFLAGS="-O2"
11276 else
11277 CFLAGS=
11278 fi
11279 fi
11280 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11281 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11282 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 else
11285 ac_cv_prog_cc_stdc=no
11286 ac_save_CC=$CC
11287 cat >conftest.$ac_ext <<_ACEOF
11288 /* confdefs.h. */
11289 _ACEOF
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 #include <stdarg.h>
11294 #include <stdio.h>
11295 #include <sys/types.h>
11296 #include <sys/stat.h>
11297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11298 struct buf { int x; };
11299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11300 static char *e (p, i)
11301 char **p;
11302 int i;
11303 {
11304 return p[i];
11305 }
11306 static char *f (char * (*g) (char **, int), char **p, ...)
11307 {
11308 char *s;
11309 va_list v;
11310 va_start (v,p);
11311 s = g (p, va_arg (v,int));
11312 va_end (v);
11313 return s;
11314 }
11315
11316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11317 function prototypes and stuff, but not '\xHH' hex character constants.
11318 These don't provoke an error unfortunately, instead are silently treated
11319 as 'x'. The following induces an error, until -std1 is added to get
11320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11321 array size at least. It's necessary to write '\x00'==0 to get something
11322 that's true only with -std1. */
11323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11324
11325 int test (int i, double x);
11326 struct s1 {int (*f) (int a);};
11327 struct s2 {int (*f) (double a);};
11328 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11329 int argc;
11330 char **argv;
11331 int
11332 main ()
11333 {
11334 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11335 ;
11336 return 0;
11337 }
11338 _ACEOF
11339 # Don't try gcc -ansi; that turns off useful extensions and
11340 # breaks some systems' header files.
11341 # AIX -qlanglvl=ansi
11342 # Ultrix and OSF/1 -std1
11343 # HP-UX 10.20 and later -Ae
11344 # HP-UX older versions -Aa -D_HPUX_SOURCE
11345 # SVR4 -Xc -D__EXTENSIONS__
11346 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11347 do
11348 CC="$ac_save_CC $ac_arg"
11349 rm -f conftest.$ac_objext
11350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11351 (eval $ac_compile) 2>conftest.er1
11352 ac_status=$?
11353 grep -v '^ *+' conftest.er1 >conftest.err
11354 rm -f conftest.er1
11355 cat conftest.err >&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } &&
11358 { ac_try='test -z "$ac_c_werror_flag"
11359 || test ! -s conftest.err'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11362 ac_status=$?
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; } &&
11365 { ac_try='test -s conftest.$ac_objext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11368 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 ac_cv_prog_cc_stdc=$ac_arg
11372 break
11373 else
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11376
11377 fi
11378 rm -f conftest.err conftest.$ac_objext
11379 done
11380 rm -f conftest.$ac_ext conftest.$ac_objext
11381 CC=$ac_save_CC
11382
11383 fi
11384
11385 case "x$ac_cv_prog_cc_stdc" in
11386 x|xno)
11387 echo "$as_me:$LINENO: result: none needed" >&5
11388 echo "${ECHO_T}none needed" >&6 ;;
11389 *)
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11392 CC="$CC $ac_cv_prog_cc_stdc" ;;
11393 esac
11394
11395 # Some people use a C++ compiler to compile C. Since we use `exit',
11396 # in C++ we need to declare it. In case someone uses the same compiler
11397 # for both compiling C and C++ we need to have the C++ compiler decide
11398 # the declaration of exit, since it's the most demanding environment.
11399 cat >conftest.$ac_ext <<_ACEOF
11400 #ifndef __cplusplus
11401 choke me
11402 #endif
11403 _ACEOF
11404 rm -f conftest.$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>conftest.er1
11407 ac_status=$?
11408 grep -v '^ *+' conftest.er1 >conftest.err
11409 rm -f conftest.er1
11410 cat conftest.err >&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11417 ac_status=$?
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try='test -s conftest.$ac_objext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11423 ac_status=$?
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11426 for ac_declaration in \
11427 '' \
11428 'extern "C" void std::exit (int) throw (); using std::exit;' \
11429 'extern "C" void std::exit (int); using std::exit;' \
11430 'extern "C" void exit (int) throw ();' \
11431 'extern "C" void exit (int);' \
11432 'void exit (int);'
11433 do
11434 cat >conftest.$ac_ext <<_ACEOF
11435 /* confdefs.h. */
11436 _ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11440 $ac_declaration
11441 #include <stdlib.h>
11442 int
11443 main ()
11444 {
11445 exit (42);
11446 ;
11447 return 0;
11448 }
11449 _ACEOF
11450 rm -f conftest.$ac_objext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11452 (eval $ac_compile) 2>conftest.er1
11453 ac_status=$?
11454 grep -v '^ *+' conftest.er1 >conftest.err
11455 rm -f conftest.er1
11456 cat conftest.err >&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try='test -z "$ac_c_werror_flag"
11460 || test ! -s conftest.err'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11463 ac_status=$?
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try='test -s conftest.$ac_objext'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11469 ac_status=$?
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; }; then
11472 :
11473 else
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.$ac_ext >&5
11476
11477 continue
11478 fi
11479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11480 cat >conftest.$ac_ext <<_ACEOF
11481 /* confdefs.h. */
11482 _ACEOF
11483 cat confdefs.h >>conftest.$ac_ext
11484 cat >>conftest.$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11486 $ac_declaration
11487 int
11488 main ()
11489 {
11490 exit (42);
11491 ;
11492 return 0;
11493 }
11494 _ACEOF
11495 rm -f conftest.$ac_objext
11496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11497 (eval $ac_compile) 2>conftest.er1
11498 ac_status=$?
11499 grep -v '^ *+' conftest.er1 >conftest.err
11500 rm -f conftest.er1
11501 cat conftest.err >&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } &&
11504 { ac_try='test -z "$ac_c_werror_flag"
11505 || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11508 ac_status=$?
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11514 ac_status=$?
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 break
11518 else
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.$ac_ext >&5
11521
11522 fi
11523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11524 done
11525 rm -f conftest*
11526 if test -n "$ac_declaration"; then
11527 echo '#ifdef __cplusplus' >>confdefs.h
11528 echo $ac_declaration >>confdefs.h
11529 echo '#endif' >>confdefs.h
11530 fi
11531
11532 else
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11535
11536 fi
11537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11538 ac_ext=c
11539 ac_cpp='$CPP $CPPFLAGS'
11540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11543
11544 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11545 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11546 if test "${wx_cv_c_exto+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 else
11549 cat >conftest.$ac_ext <<_ACEOF
11550 /* confdefs.h. */
11551 _ACEOF
11552 cat confdefs.h >>conftest.$ac_ext
11553 cat >>conftest.$ac_ext <<_ACEOF
11554 /* end confdefs.h. */
11555
11556 int
11557 main ()
11558 {
11559
11560 ;
11561 return 0;
11562 }
11563 _ACEOF
11564 rm -f conftest.$ac_objext conftest.$ac_ext.o
11565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11566 (eval $ac_compile) 2>&5
11567 ac_status=$?
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; then
11570 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11571 case $ac_file in
11572 conftest.$ac_ext.o)
11573 wx_cv_c_exto="-ext o"
11574 ;;
11575 *)
11576 ;;
11577 esac
11578 done
11579 else
11580 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11581 See \`config.log' for more details." >&5
11582 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11583 See \`config.log' for more details." >&2;}
11584 { (exit 1); exit 1; }; }
11585
11586 fi
11587
11588 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11589
11590 fi
11591 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11592 echo "${ECHO_T}$wx_cv_c_exto" >&6
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 if test "c" = "c"; then
11595 CFLAGS="$wx_cv_c_exto $CFLAGS"
11596 fi
11597 if test "c" = "cxx"; then
11598 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11599 fi
11600 fi
11601
11602 if test "x$wx_cv_c_exto" '!=' "x"; then
11603 unset ac_cv_prog_cc_g
11604 ac_test_CFLAGS=${CFLAGS+set}
11605 ac_save_CFLAGS=$CFLAGS
11606 CFLAGS="-g"
11607 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11608 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11609 if test "${ac_cv_prog_cc_g+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 else
11612 cat >conftest.$ac_ext <<_ACEOF
11613 /* confdefs.h. */
11614 _ACEOF
11615 cat confdefs.h >>conftest.$ac_ext
11616 cat >>conftest.$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618
11619 int
11620 main ()
11621 {
11622
11623 ;
11624 return 0;
11625 }
11626 _ACEOF
11627 rm -f conftest.$ac_objext
11628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11629 (eval $ac_compile) 2>conftest.er1
11630 ac_status=$?
11631 grep -v '^ *+' conftest.er1 >conftest.err
11632 rm -f conftest.er1
11633 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } &&
11636 { ac_try='test -z "$ac_c_werror_flag"
11637 || test ! -s conftest.err'
11638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11639 (eval $ac_try) 2>&5
11640 ac_status=$?
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); }; } &&
11643 { ac_try='test -s conftest.$ac_objext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11646 ac_status=$?
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_cv_prog_cc_g=yes
11650 else
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11653
11654 ac_cv_prog_cc_g=no
11655 fi
11656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11657 fi
11658 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11659 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11660 if test "$ac_test_CFLAGS" = set; then
11661 CFLAGS=$ac_save_CFLAGS
11662 elif test $ac_cv_prog_cc_g = yes; then
11663 if test "$GCC" = yes; then
11664 CFLAGS="-g -O2"
11665 else
11666 CFLAGS="-g"
11667 fi
11668 else
11669 if test "$GCC" = yes; then
11670 CFLAGS="-O2"
11671 else
11672 CFLAGS=
11673 fi
11674 fi
11675 fi
11676 ac_ext=c
11677 ac_cpp='$CPP $CPPFLAGS'
11678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11681
11682 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11683 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11684 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 else
11687 cat >conftest.$ac_ext <<_ACEOF
11688 /* confdefs.h. */
11689 _ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693
11694 int
11695 main ()
11696 {
11697 #ifndef __MWERKS__
11698 choke me
11699 #endif
11700
11701 ;
11702 return 0;
11703 }
11704 _ACEOF
11705 rm -f conftest.$ac_objext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11707 (eval $ac_compile) 2>conftest.er1
11708 ac_status=$?
11709 grep -v '^ *+' conftest.er1 >conftest.err
11710 rm -f conftest.er1
11711 cat conftest.err >&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } &&
11714 { ac_try='test -z "$ac_c_werror_flag"
11715 || test ! -s conftest.err'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11718 ac_status=$?
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; } &&
11721 { ac_try='test -s conftest.$ac_objext'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11724 ac_status=$?
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; }; then
11727 bakefile_compiler_mwerks=yes
11728 else
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11731
11732 bakefile_compiler_mwerks=no
11733 fi
11734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11735 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11736
11737 fi
11738 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11739 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11740
11741 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11742 ac_ext=c
11743 ac_cpp='$CPP $CPPFLAGS'
11744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11747
11748
11749 ac_ext=c
11750 ac_cpp='$CPP $CPPFLAGS'
11751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11754
11755 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11756 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11757 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11760 cat >conftest.$ac_ext <<_ACEOF
11761 /* confdefs.h. */
11762 _ACEOF
11763 cat confdefs.h >>conftest.$ac_ext
11764 cat >>conftest.$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11766
11767 int
11768 main ()
11769 {
11770 #ifndef __xlC__
11771 choke me
11772 #endif
11773
11774 ;
11775 return 0;
11776 }
11777 _ACEOF
11778 rm -f conftest.$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>conftest.er1
11781 ac_status=$?
11782 grep -v '^ *+' conftest.er1 >conftest.err
11783 rm -f conftest.er1
11784 cat conftest.err >&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try='test -z "$ac_c_werror_flag"
11788 || test ! -s conftest.err'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11791 ac_status=$?
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; } &&
11794 { ac_try='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 wx_compiler_xlc=yes
11801 else
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11804
11805 wx_compiler_xlc=no
11806 fi
11807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11808 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11809
11810 fi
11811 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11812 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11813
11814 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11815 ac_ext=c
11816 ac_cpp='$CPP $CPPFLAGS'
11817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11820
11821
11822
11823
11824 ac_ext=c
11825 ac_cpp='$CPP $CPPFLAGS'
11826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11829 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11830 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11831 # On Suns, sometimes $CPP names a directory.
11832 if test -n "$CPP" && test -d "$CPP"; then
11833 CPP=
11834 fi
11835 if test -z "$CPP"; then
11836 if test "${ac_cv_prog_CPP+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 else
11839 # Double quotes because CPP needs to be expanded
11840 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11841 do
11842 ac_preproc_ok=false
11843 for ac_c_preproc_warn_flag in '' yes
11844 do
11845 # Use a header file that comes with gcc, so configuring glibc
11846 # with a fresh cross-compiler works.
11847 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11848 # <limits.h> exists even on freestanding compilers.
11849 # On the NeXT, cc -E runs the code through the compiler's parser,
11850 # not just through cpp. "Syntax error" is here to catch this case.
11851 cat >conftest.$ac_ext <<_ACEOF
11852 /* confdefs.h. */
11853 _ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11857 #ifdef __STDC__
11858 # include <limits.h>
11859 #else
11860 # include <assert.h>
11861 #endif
11862 Syntax error
11863 _ACEOF
11864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11866 ac_status=$?
11867 grep -v '^ *+' conftest.er1 >conftest.err
11868 rm -f conftest.er1
11869 cat conftest.err >&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } >/dev/null; then
11872 if test -s conftest.err; then
11873 ac_cpp_err=$ac_c_preproc_warn_flag
11874 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11875 else
11876 ac_cpp_err=
11877 fi
11878 else
11879 ac_cpp_err=yes
11880 fi
11881 if test -z "$ac_cpp_err"; then
11882 :
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11886
11887 # Broken: fails on valid input.
11888 continue
11889 fi
11890 rm -f conftest.err conftest.$ac_ext
11891
11892 # OK, works on sane cases. Now check whether non-existent headers
11893 # can be detected and how.
11894 cat >conftest.$ac_ext <<_ACEOF
11895 /* confdefs.h. */
11896 _ACEOF
11897 cat confdefs.h >>conftest.$ac_ext
11898 cat >>conftest.$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11900 #include <ac_nonexistent.h>
11901 _ACEOF
11902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11904 ac_status=$?
11905 grep -v '^ *+' conftest.er1 >conftest.err
11906 rm -f conftest.er1
11907 cat conftest.err >&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } >/dev/null; then
11910 if test -s conftest.err; then
11911 ac_cpp_err=$ac_c_preproc_warn_flag
11912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11913 else
11914 ac_cpp_err=
11915 fi
11916 else
11917 ac_cpp_err=yes
11918 fi
11919 if test -z "$ac_cpp_err"; then
11920 # Broken: success on invalid input.
11921 continue
11922 else
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.$ac_ext >&5
11925
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11929 fi
11930 rm -f conftest.err conftest.$ac_ext
11931
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then
11936 break
11937 fi
11938
11939 done
11940 ac_cv_prog_CPP=$CPP
11941
11942 fi
11943 CPP=$ac_cv_prog_CPP
11944 else
11945 ac_cv_prog_CPP=$CPP
11946 fi
11947 echo "$as_me:$LINENO: result: $CPP" >&5
11948 echo "${ECHO_T}$CPP" >&6
11949 ac_preproc_ok=false
11950 for ac_c_preproc_warn_flag in '' yes
11951 do
11952 # Use a header file that comes with gcc, so configuring glibc
11953 # with a fresh cross-compiler works.
11954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11955 # <limits.h> exists even on freestanding compilers.
11956 # On the NeXT, cc -E runs the code through the compiler's parser,
11957 # not just through cpp. "Syntax error" is here to catch this case.
11958 cat >conftest.$ac_ext <<_ACEOF
11959 /* confdefs.h. */
11960 _ACEOF
11961 cat confdefs.h >>conftest.$ac_ext
11962 cat >>conftest.$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11964 #ifdef __STDC__
11965 # include <limits.h>
11966 #else
11967 # include <assert.h>
11968 #endif
11969 Syntax error
11970 _ACEOF
11971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11973 ac_status=$?
11974 grep -v '^ *+' conftest.er1 >conftest.err
11975 rm -f conftest.er1
11976 cat conftest.err >&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } >/dev/null; then
11979 if test -s conftest.err; then
11980 ac_cpp_err=$ac_c_preproc_warn_flag
11981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11982 else
11983 ac_cpp_err=
11984 fi
11985 else
11986 ac_cpp_err=yes
11987 fi
11988 if test -z "$ac_cpp_err"; then
11989 :
11990 else
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11993
11994 # Broken: fails on valid input.
11995 continue
11996 fi
11997 rm -f conftest.err conftest.$ac_ext
11998
11999 # OK, works on sane cases. Now check whether non-existent headers
12000 # can be detected and how.
12001 cat >conftest.$ac_ext <<_ACEOF
12002 /* confdefs.h. */
12003 _ACEOF
12004 cat confdefs.h >>conftest.$ac_ext
12005 cat >>conftest.$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12007 #include <ac_nonexistent.h>
12008 _ACEOF
12009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12011 ac_status=$?
12012 grep -v '^ *+' conftest.er1 >conftest.err
12013 rm -f conftest.er1
12014 cat conftest.err >&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } >/dev/null; then
12017 if test -s conftest.err; then
12018 ac_cpp_err=$ac_c_preproc_warn_flag
12019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12020 else
12021 ac_cpp_err=
12022 fi
12023 else
12024 ac_cpp_err=yes
12025 fi
12026 if test -z "$ac_cpp_err"; then
12027 # Broken: success on invalid input.
12028 continue
12029 else
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5
12032
12033 # Passes both tests.
12034 ac_preproc_ok=:
12035 break
12036 fi
12037 rm -f conftest.err conftest.$ac_ext
12038
12039 done
12040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12041 rm -f conftest.err conftest.$ac_ext
12042 if $ac_preproc_ok; then
12043 :
12044 else
12045 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12046 See \`config.log' for more details." >&5
12047 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12048 See \`config.log' for more details." >&2;}
12049 { (exit 1); exit 1; }; }
12050 fi
12051
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12057
12058
12059 echo "$as_me:$LINENO: checking for egrep" >&5
12060 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12061 if test "${ac_cv_prog_egrep+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 else
12064 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12065 then ac_cv_prog_egrep='grep -E'
12066 else ac_cv_prog_egrep='egrep'
12067 fi
12068 fi
12069 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12070 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12071 EGREP=$ac_cv_prog_egrep
12072
12073
12074 if test $ac_cv_c_compiler_gnu = yes; then
12075 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12076 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12077 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 else
12080 ac_pattern="Autoconf.*'x'"
12081 cat >conftest.$ac_ext <<_ACEOF
12082 /* confdefs.h. */
12083 _ACEOF
12084 cat confdefs.h >>conftest.$ac_ext
12085 cat >>conftest.$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12087 #include <sgtty.h>
12088 Autoconf TIOCGETP
12089 _ACEOF
12090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12091 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12092 ac_cv_prog_gcc_traditional=yes
12093 else
12094 ac_cv_prog_gcc_traditional=no
12095 fi
12096 rm -f conftest*
12097
12098
12099 if test $ac_cv_prog_gcc_traditional = no; then
12100 cat >conftest.$ac_ext <<_ACEOF
12101 /* confdefs.h. */
12102 _ACEOF
12103 cat confdefs.h >>conftest.$ac_ext
12104 cat >>conftest.$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12106 #include <termio.h>
12107 Autoconf TCGETA
12108 _ACEOF
12109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12110 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12111 ac_cv_prog_gcc_traditional=yes
12112 fi
12113 rm -f conftest*
12114
12115 fi
12116 fi
12117 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12118 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12119 if test $ac_cv_prog_gcc_traditional = yes; then
12120 CC="$CC -traditional"
12121 fi
12122 fi
12123
12124
12125
12126
12127 ac_ext=cc
12128 ac_cpp='$CXXCPP $CPPFLAGS'
12129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12132
12133
12134 CXXFLAGS=${CXXFLAGS:=}
12135
12136
12137 ac_ext=cc
12138 ac_cpp='$CXXCPP $CPPFLAGS'
12139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12142 if test -n "$ac_tool_prefix"; then
12143 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12144 do
12145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12147 echo "$as_me:$LINENO: checking for $ac_word" >&5
12148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12149 if test "${ac_cv_prog_CXX+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 else
12152 if test -n "$CXX"; then
12153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12154 else
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12157 do
12158 IFS=$as_save_IFS
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12164 break 2
12165 fi
12166 done
12167 done
12168
12169 fi
12170 fi
12171 CXX=$ac_cv_prog_CXX
12172 if test -n "$CXX"; then
12173 echo "$as_me:$LINENO: result: $CXX" >&5
12174 echo "${ECHO_T}$CXX" >&6
12175 else
12176 echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6
12178 fi
12179
12180 test -n "$CXX" && break
12181 done
12182 fi
12183 if test -z "$CXX"; then
12184 ac_ct_CXX=$CXX
12185 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12186 do
12187 # Extract the first word of "$ac_prog", so it can be a program name with args.
12188 set dummy $ac_prog; ac_word=$2
12189 echo "$as_me:$LINENO: checking for $ac_word" >&5
12190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12191 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 else
12194 if test -n "$ac_ct_CXX"; then
12195 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12196 else
12197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12198 for as_dir in $PATH
12199 do
12200 IFS=$as_save_IFS
12201 test -z "$as_dir" && as_dir=.
12202 for ac_exec_ext in '' $ac_executable_extensions; do
12203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_ac_ct_CXX="$ac_prog"
12205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12206 break 2
12207 fi
12208 done
12209 done
12210
12211 fi
12212 fi
12213 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12214 if test -n "$ac_ct_CXX"; then
12215 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12216 echo "${ECHO_T}$ac_ct_CXX" >&6
12217 else
12218 echo "$as_me:$LINENO: result: no" >&5
12219 echo "${ECHO_T}no" >&6
12220 fi
12221
12222 test -n "$ac_ct_CXX" && break
12223 done
12224 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12225
12226 CXX=$ac_ct_CXX
12227 fi
12228
12229
12230 # Provide some information about the compiler.
12231 echo "$as_me:$LINENO:" \
12232 "checking for C++ compiler version" >&5
12233 ac_compiler=`set X $ac_compile; echo $2`
12234 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12235 (eval $ac_compiler --version </dev/null >&5) 2>&5
12236 ac_status=$?
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }
12239 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12240 (eval $ac_compiler -v </dev/null >&5) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }
12244 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12245 (eval $ac_compiler -V </dev/null >&5) 2>&5
12246 ac_status=$?
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }
12249
12250 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12251 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12252 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 cat >conftest.$ac_ext <<_ACEOF
12256 /* confdefs.h. */
12257 _ACEOF
12258 cat confdefs.h >>conftest.$ac_ext
12259 cat >>conftest.$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12261
12262 int
12263 main ()
12264 {
12265 #ifndef __GNUC__
12266 choke me
12267 #endif
12268
12269 ;
12270 return 0;
12271 }
12272 _ACEOF
12273 rm -f conftest.$ac_objext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12275 (eval $ac_compile) 2>conftest.er1
12276 ac_status=$?
12277 grep -v '^ *+' conftest.er1 >conftest.err
12278 rm -f conftest.er1
12279 cat conftest.err >&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try='test -z "$ac_cxx_werror_flag"
12283 || test ! -s conftest.err'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12286 ac_status=$?
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } &&
12289 { ac_try='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12292 ac_status=$?
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12295 ac_compiler_gnu=yes
12296 else
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.$ac_ext >&5
12299
12300 ac_compiler_gnu=no
12301 fi
12302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12303 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12304
12305 fi
12306 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12307 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12308 GXX=`test $ac_compiler_gnu = yes && echo yes`
12309 ac_test_CXXFLAGS=${CXXFLAGS+set}
12310 ac_save_CXXFLAGS=$CXXFLAGS
12311 CXXFLAGS="-g"
12312 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12313 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12314 if test "${ac_cv_prog_cxx_g+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 else
12317 cat >conftest.$ac_ext <<_ACEOF
12318 /* confdefs.h. */
12319 _ACEOF
12320 cat confdefs.h >>conftest.$ac_ext
12321 cat >>conftest.$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12323
12324 int
12325 main ()
12326 {
12327
12328 ;
12329 return 0;
12330 }
12331 _ACEOF
12332 rm -f conftest.$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>conftest.er1
12335 ac_status=$?
12336 grep -v '^ *+' conftest.er1 >conftest.err
12337 rm -f conftest.er1
12338 cat conftest.err >&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } &&
12341 { ac_try='test -z "$ac_cxx_werror_flag"
12342 || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12351 ac_status=$?
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 ac_cv_prog_cxx_g=yes
12355 else
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12358
12359 ac_cv_prog_cxx_g=no
12360 fi
12361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12362 fi
12363 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12364 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12365 if test "$ac_test_CXXFLAGS" = set; then
12366 CXXFLAGS=$ac_save_CXXFLAGS
12367 elif test $ac_cv_prog_cxx_g = yes; then
12368 if test "$GXX" = yes; then
12369 CXXFLAGS="-g -O2"
12370 else
12371 CXXFLAGS="-g"
12372 fi
12373 else
12374 if test "$GXX" = yes; then
12375 CXXFLAGS="-O2"
12376 else
12377 CXXFLAGS=
12378 fi
12379 fi
12380 for ac_declaration in \
12381 '' \
12382 'extern "C" void std::exit (int) throw (); using std::exit;' \
12383 'extern "C" void std::exit (int); using std::exit;' \
12384 'extern "C" void exit (int) throw ();' \
12385 'extern "C" void exit (int);' \
12386 'void exit (int);'
12387 do
12388 cat >conftest.$ac_ext <<_ACEOF
12389 /* confdefs.h. */
12390 _ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12394 $ac_declaration
12395 #include <stdlib.h>
12396 int
12397 main ()
12398 {
12399 exit (42);
12400 ;
12401 return 0;
12402 }
12403 _ACEOF
12404 rm -f conftest.$ac_objext
12405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12406 (eval $ac_compile) 2>conftest.er1
12407 ac_status=$?
12408 grep -v '^ *+' conftest.er1 >conftest.err
12409 rm -f conftest.er1
12410 cat conftest.err >&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try='test -z "$ac_cxx_werror_flag"
12414 || test ! -s conftest.err'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12417 ac_status=$?
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; } &&
12420 { ac_try='test -s conftest.$ac_objext'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12423 ac_status=$?
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; }; then
12426 :
12427 else
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.$ac_ext >&5
12430
12431 continue
12432 fi
12433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12434 cat >conftest.$ac_ext <<_ACEOF
12435 /* confdefs.h. */
12436 _ACEOF
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 $ac_declaration
12441 int
12442 main ()
12443 {
12444 exit (42);
12445 ;
12446 return 0;
12447 }
12448 _ACEOF
12449 rm -f conftest.$ac_objext
12450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12451 (eval $ac_compile) 2>conftest.er1
12452 ac_status=$?
12453 grep -v '^ *+' conftest.er1 >conftest.err
12454 rm -f conftest.er1
12455 cat conftest.err >&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } &&
12458 { ac_try='test -z "$ac_cxx_werror_flag"
12459 || test ! -s conftest.err'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12462 ac_status=$?
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; } &&
12465 { ac_try='test -s conftest.$ac_objext'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12468 ac_status=$?
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; }; then
12471 break
12472 else
12473 echo "$as_me: failed program was:" >&5
12474 sed 's/^/| /' conftest.$ac_ext >&5
12475
12476 fi
12477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12478 done
12479 rm -f conftest*
12480 if test -n "$ac_declaration"; then
12481 echo '#ifdef __cplusplus' >>confdefs.h
12482 echo $ac_declaration >>confdefs.h
12483 echo '#endif' >>confdefs.h
12484 fi
12485
12486 ac_ext=cc
12487 ac_cpp='$CXXCPP $CPPFLAGS'
12488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12491
12492 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12493 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12494 if test "${wx_cv_cxx_exto+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 else
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503
12504 int
12505 main ()
12506 {
12507
12508 ;
12509 return 0;
12510 }
12511 _ACEOF
12512 rm -f conftest.$ac_objext conftest.$ac_ext.o
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; then
12518 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12519 case $ac_file in
12520 conftest.$ac_ext.o)
12521 wx_cv_cxx_exto="-ext o"
12522 ;;
12523 *)
12524 ;;
12525 esac
12526 done
12527 else
12528 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12529 See \`config.log' for more details." >&5
12530 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12531 See \`config.log' for more details." >&2;}
12532 { (exit 1); exit 1; }; }
12533
12534 fi
12535
12536 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12537
12538 fi
12539 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12540 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12541 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12542 if test "cxx" = "c"; then
12543 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12544 fi
12545 if test "cxx" = "cxx"; then
12546 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12547 fi
12548 fi
12549
12550 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12551 unset ac_cv_prog_cxx_g
12552 ac_test_CXXFLAGS=${CXXFLAGS+set}
12553 ac_save_CXXFLAGS=$CXXFLAGS
12554 CXXFLAGS="-g"
12555 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12556 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12557 if test "${ac_cv_prog_cxx_g+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 else
12560 cat >conftest.$ac_ext <<_ACEOF
12561 /* confdefs.h. */
12562 _ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12566
12567 int
12568 main ()
12569 {
12570
12571 ;
12572 return 0;
12573 }
12574 _ACEOF
12575 rm -f conftest.$ac_objext
12576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12577 (eval $ac_compile) 2>conftest.er1
12578 ac_status=$?
12579 grep -v '^ *+' conftest.er1 >conftest.err
12580 rm -f conftest.er1
12581 cat conftest.err >&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } &&
12584 { ac_try='test -z "$ac_cxx_werror_flag"
12585 || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12588 ac_status=$?
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12594 ac_status=$?
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 ac_cv_prog_cxx_g=yes
12598 else
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12601
12602 ac_cv_prog_cxx_g=no
12603 fi
12604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12605 fi
12606 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12607 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12608 if test "$ac_test_CXXFLAGS" = set; then
12609 CXXFLAGS=$ac_save_CXXFLAGS
12610 elif test $ac_cv_prog_cxx_g = yes; then
12611 if test "$GXX" = yes; then
12612 CXXFLAGS="-g -O2"
12613 else
12614 CXXFLAGS="-g"
12615 fi
12616 else
12617 if test "$GXX" = yes; then
12618 CXXFLAGS="-O2"
12619 else
12620 CXXFLAGS=
12621 fi
12622 fi
12623 fi
12624 ac_ext=cc
12625 ac_cpp='$CXXCPP $CPPFLAGS'
12626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12629
12630 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12631 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12632 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 else
12635 cat >conftest.$ac_ext <<_ACEOF
12636 /* confdefs.h. */
12637 _ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12641
12642 int
12643 main ()
12644 {
12645 #ifndef __MWERKS__
12646 choke me
12647 #endif
12648
12649 ;
12650 return 0;
12651 }
12652 _ACEOF
12653 rm -f conftest.$ac_objext
12654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12655 (eval $ac_compile) 2>conftest.er1
12656 ac_status=$?
12657 grep -v '^ *+' conftest.er1 >conftest.err
12658 rm -f conftest.er1
12659 cat conftest.err >&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } &&
12662 { ac_try='test -z "$ac_cxx_werror_flag"
12663 || test ! -s conftest.err'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12666 ac_status=$?
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; } &&
12669 { ac_try='test -s conftest.$ac_objext'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12672 ac_status=$?
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; }; then
12675 bakefile_compiler_mwerks=yes
12676 else
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12679
12680 bakefile_compiler_mwerks=no
12681 fi
12682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12683 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12684
12685 fi
12686 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12687 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12688
12689 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12690 ac_ext=cc
12691 ac_cpp='$CXXCPP $CPPFLAGS'
12692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12695
12696
12697 ac_ext=cc
12698 ac_cpp='$CXXCPP $CPPFLAGS'
12699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12702
12703 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12704 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12705 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12707 else
12708 cat >conftest.$ac_ext <<_ACEOF
12709 /* confdefs.h. */
12710 _ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714
12715 int
12716 main ()
12717 {
12718 #ifndef __xlC__
12719 choke me
12720 #endif
12721
12722 ;
12723 return 0;
12724 }
12725 _ACEOF
12726 rm -f conftest.$ac_objext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>conftest.er1
12729 ac_status=$?
12730 grep -v '^ *+' conftest.er1 >conftest.err
12731 rm -f conftest.er1
12732 cat conftest.err >&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try='test -z "$ac_cxx_werror_flag"
12736 || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12739 ac_status=$?
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try='test -s conftest.$ac_objext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12745 ac_status=$?
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12748 wx_compiler_xlc=yes
12749 else
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 wx_compiler_xlc=no
12754 fi
12755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12756 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12757
12758 fi
12759 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12760 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12761
12762 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12763 ac_ext=cc
12764 ac_cpp='$CXXCPP $CPPFLAGS'
12765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12768
12769
12770
12771
12772 ac_ext=c
12773 ac_cpp='$CPP $CPPFLAGS'
12774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12777
12778
12779 if test -n "$ac_tool_prefix"; then
12780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12782 echo "$as_me:$LINENO: checking for $ac_word" >&5
12783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12784 if test "${ac_cv_prog_RANLIB+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 else
12787 if test -n "$RANLIB"; then
12788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12789 else
12790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12791 for as_dir in $PATH
12792 do
12793 IFS=$as_save_IFS
12794 test -z "$as_dir" && as_dir=.
12795 for ac_exec_ext in '' $ac_executable_extensions; do
12796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12797 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12799 break 2
12800 fi
12801 done
12802 done
12803
12804 fi
12805 fi
12806 RANLIB=$ac_cv_prog_RANLIB
12807 if test -n "$RANLIB"; then
12808 echo "$as_me:$LINENO: result: $RANLIB" >&5
12809 echo "${ECHO_T}$RANLIB" >&6
12810 else
12811 echo "$as_me:$LINENO: result: no" >&5
12812 echo "${ECHO_T}no" >&6
12813 fi
12814
12815 fi
12816 if test -z "$ac_cv_prog_RANLIB"; then
12817 ac_ct_RANLIB=$RANLIB
12818 # Extract the first word of "ranlib", so it can be a program name with args.
12819 set dummy ranlib; ac_word=$2
12820 echo "$as_me:$LINENO: checking for $ac_word" >&5
12821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12822 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12824 else
12825 if test -n "$ac_ct_RANLIB"; then
12826 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12827 else
12828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829 for as_dir in $PATH
12830 do
12831 IFS=$as_save_IFS
12832 test -z "$as_dir" && as_dir=.
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12835 ac_cv_prog_ac_ct_RANLIB="ranlib"
12836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12837 break 2
12838 fi
12839 done
12840 done
12841
12842 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12843 fi
12844 fi
12845 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12846 if test -n "$ac_ct_RANLIB"; then
12847 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12848 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12849 else
12850 echo "$as_me:$LINENO: result: no" >&5
12851 echo "${ECHO_T}no" >&6
12852 fi
12853
12854 RANLIB=$ac_ct_RANLIB
12855 else
12856 RANLIB="$ac_cv_prog_RANLIB"
12857 fi
12858
12859
12860 # Extract the first word of "ar", so it can be a program name with args.
12861 set dummy ar; ac_word=$2
12862 echo "$as_me:$LINENO: checking for $ac_word" >&5
12863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12864 if test "${ac_cv_prog_AR+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 else
12867 if test -n "$AR"; then
12868 ac_cv_prog_AR="$AR" # Let the user override the test.
12869 else
12870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12872 do
12873 IFS=$as_save_IFS
12874 test -z "$as_dir" && as_dir=.
12875 for ac_exec_ext in '' $ac_executable_extensions; do
12876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_prog_AR="ar"
12878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12879 break 2
12880 fi
12881 done
12882 done
12883
12884 fi
12885 fi
12886 AR=$ac_cv_prog_AR
12887 if test -n "$AR"; then
12888 echo "$as_me:$LINENO: result: $AR" >&5
12889 echo "${ECHO_T}$AR" >&6
12890 else
12891 echo "$as_me:$LINENO: result: no" >&5
12892 echo "${ECHO_T}no" >&6
12893 fi
12894
12895 if test "x$AR" = "x" ; then
12896 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12897 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12898 { (exit 1); exit 1; }; }
12899 fi
12900
12901 # Find a good install program. We prefer a C program (faster),
12902 # so one script is as good as another. But avoid the broken or
12903 # incompatible versions:
12904 # SysV /etc/install, /usr/sbin/install
12905 # SunOS /usr/etc/install
12906 # IRIX /sbin/install
12907 # AIX /bin/install
12908 # AmigaOS /C/install, which installs bootblocks on floppy discs
12909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12912 # OS/2's system install, which has a completely different semantic
12913 # ./install, which can be erroneously created by make from ./install.sh.
12914 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12915 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12916 if test -z "$INSTALL"; then
12917 if test "${ac_cv_path_install+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 else
12920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12921 for as_dir in $PATH
12922 do
12923 IFS=$as_save_IFS
12924 test -z "$as_dir" && as_dir=.
12925 # Account for people who put trailing slashes in PATH elements.
12926 case $as_dir/ in
12927 ./ | .// | /cC/* | \
12928 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12929 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12930 /usr/ucb/* ) ;;
12931 *)
12932 # OSF1 and SCO ODT 3.0 have their own names for install.
12933 # Don't use installbsd from OSF since it installs stuff as root
12934 # by default.
12935 for ac_prog in ginstall scoinst install; do
12936 for ac_exec_ext in '' $ac_executable_extensions; do
12937 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12938 if test $ac_prog = install &&
12939 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12940 # AIX install. It has an incompatible calling convention.
12941 :
12942 elif test $ac_prog = install &&
12943 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12944 # program-specific install script used by HP pwplus--don't use.
12945 :
12946 else
12947 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12948 break 3
12949 fi
12950 fi
12951 done
12952 done
12953 ;;
12954 esac
12955 done
12956
12957
12958 fi
12959 if test "${ac_cv_path_install+set}" = set; then
12960 INSTALL=$ac_cv_path_install
12961 else
12962 # As a last resort, use the slow shell script. We don't cache a
12963 # path for INSTALL within a source directory, because that will
12964 # break other packages using the cache if that directory is
12965 # removed, or if the path is relative.
12966 INSTALL=$ac_install_sh
12967 fi
12968 fi
12969 echo "$as_me:$LINENO: result: $INSTALL" >&5
12970 echo "${ECHO_T}$INSTALL" >&6
12971
12972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12973 # It thinks the first close brace ends the variable substitution.
12974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12975
12976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12977
12978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12979
12980
12981 case ${INSTALL} in
12982 /* ) # Absolute
12983 ;;
12984 ?:* ) # Drive letter, considered as absolute.
12985 ;;
12986 *)
12987 INSTALL=`pwd`/${INSTALL} ;;
12988 esac
12989
12990
12991 case "${host}" in
12992
12993 powerpc-*-darwin* )
12994 INSTALL_PROGRAM="cp -fp"
12995 INSTALL_DATA="cp -fp"
12996 ;;
12997 *)
12998 ;;
12999 esac
13000
13001 # Extract the first word of "strip", so it can be a program name with args.
13002 set dummy strip; ac_word=$2
13003 echo "$as_me:$LINENO: checking for $ac_word" >&5
13004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13005 if test "${ac_cv_prog_STRIP+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 else
13008 if test -n "$STRIP"; then
13009 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13010 else
13011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13012 for as_dir in $PATH
13013 do
13014 IFS=$as_save_IFS
13015 test -z "$as_dir" && as_dir=.
13016 for ac_exec_ext in '' $ac_executable_extensions; do
13017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13018 ac_cv_prog_STRIP="strip"
13019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13020 break 2
13021 fi
13022 done
13023 done
13024
13025 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13026 fi
13027 fi
13028 STRIP=$ac_cv_prog_STRIP
13029 if test -n "$STRIP"; then
13030 echo "$as_me:$LINENO: result: $STRIP" >&5
13031 echo "${ECHO_T}$STRIP" >&6
13032 else
13033 echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6
13035 fi
13036
13037
13038 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13039 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13040 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 else
13043
13044 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13045 egrep -s GNU > /dev/null); then
13046 wx_cv_prog_makeisgnu="yes"
13047 else
13048 wx_cv_prog_makeisgnu="no"
13049 fi
13050
13051 fi
13052 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13053 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13054
13055 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13056 IF_GNU_MAKE=""
13057 else
13058 IF_GNU_MAKE="#"
13059 fi
13060
13061
13062
13063 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13064 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13065 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13066 if test "${wx_cv_prog_makevpath+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 else
13069
13070 cat - << EOF > confMake
13071 check : file
13072 cp \$? \$@
13073 cp \$? final_file
13074 EOF
13075
13076 if test ! -d sub ; then
13077 mkdir sub
13078 fi
13079 echo dummy > sub/file
13080 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13081 RESULT=$?
13082 rm -f sub/file check final_file confMake
13083 rmdir sub
13084 if test "$RESULT" = 0; then
13085 wx_cv_prog_makevpath="yes"
13086 else
13087 wx_cv_prog_makevpath="no"
13088 fi
13089
13090 fi
13091 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13092 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13093
13094 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13095 { { echo "$as_me:$LINENO: error:
13096 You need a make-utility that is able to use the variable
13097 VPATH correctly.
13098 If your version of make does not support VPATH correctly,
13099 please install GNU-make (possibly as gmake), and start
13100 configure with the following command:
13101 export MAKE=gmake; ./configure for sh-type shells
13102 setenv MAKE gmake; ./configure for csh-type shells
13103 Also please do remember to use gmake in this case every time
13104 you are trying to compile.
13105 " >&5
13106 echo "$as_me: error:
13107 You need a make-utility that is able to use the variable
13108 VPATH correctly.
13109 If your version of make does not support VPATH correctly,
13110 please install GNU-make (possibly as gmake), and start
13111 configure with the following command:
13112 export MAKE=gmake; ./configure for sh-type shells
13113 setenv MAKE gmake; ./configure for csh-type shells
13114 Also please do remember to use gmake in this case every time
13115 you are trying to compile.
13116 " >&2;}
13117 { (exit 1); exit 1; }; }
13118 fi fi
13119 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13120 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13121 LN_S=$as_ln_s
13122 if test "$LN_S" = "ln -s"; then
13123 echo "$as_me:$LINENO: result: yes" >&5
13124 echo "${ECHO_T}yes" >&6
13125 else
13126 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13127 echo "${ECHO_T}no, using $LN_S" >&6
13128 fi
13129
13130
13131
13132 if test "x$XLCXX" = "xyes"; then
13133 CXXFLAGS="$CXXFLAGS -qunique"
13134 fi
13135
13136
13137 case "${host}" in
13138 powerpc-*-darwin* )
13139 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13140 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13141 cat >conftest.$ac_ext <<_ACEOF
13142 /* confdefs.h. */
13143 _ACEOF
13144 cat confdefs.h >>conftest.$ac_ext
13145 cat >>conftest.$ac_ext <<_ACEOF
13146 /* end confdefs.h. */
13147
13148 int
13149 main ()
13150 {
13151 #ifndef __POWERPC__
13152 choke me for lack of PowerPC
13153 #endif
13154
13155 ;
13156 return 0;
13157 }
13158 _ACEOF
13159 rm -f conftest.$ac_objext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13161 (eval $ac_compile) 2>conftest.er1
13162 ac_status=$?
13163 grep -v '^ *+' conftest.er1 >conftest.err
13164 rm -f conftest.er1
13165 cat conftest.err >&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } &&
13168 { ac_try='test -z "$ac_c_werror_flag"
13169 || test ! -s conftest.err'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; } &&
13175 { ac_try='test -s conftest.$ac_objext'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; }; then
13181 echo "$as_me:$LINENO: result: yes" >&5
13182 echo "${ECHO_T}yes" >&6
13183 else
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.$ac_ext >&5
13186
13187 echo "$as_me:$LINENO: result: no" >&5
13188 echo "${ECHO_T}no" >&6
13189 cat >>confdefs.h <<\_ACEOF
13190 #define __POWERPC__ 1
13191 _ACEOF
13192
13193
13194 fi
13195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13196 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13197 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13198 cat >conftest.$ac_ext <<_ACEOF
13199 /* confdefs.h. */
13200 _ACEOF
13201 cat confdefs.h >>conftest.$ac_ext
13202 cat >>conftest.$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13204 #include <CoreFoundation/CFBase.h>
13205
13206 int
13207 main ()
13208 {
13209
13210 ;
13211 return 0;
13212 }
13213 _ACEOF
13214 rm -f conftest.$ac_objext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13216 (eval $ac_compile) 2>conftest.er1
13217 ac_status=$?
13218 grep -v '^ *+' conftest.er1 >conftest.err
13219 rm -f conftest.er1
13220 cat conftest.err >&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try='test -z "$ac_c_werror_flag"
13224 || test ! -s conftest.err'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13227 ac_status=$?
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; } &&
13230 { ac_try='test -s conftest.$ac_objext'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13233 ac_status=$?
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; }; then
13236 echo "$as_me:$LINENO: result: yes" >&5
13237 echo "${ECHO_T}yes" >&6
13238 else
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.$ac_ext >&5
13241
13242 echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6
13244 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13245 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13252 #define __CF_USE_FRAMEWORK_INCLUDES__
13253 #include <CoreFoundation/CFBase.h>
13254
13255 int
13256 main ()
13257 {
13258
13259 ;
13260 return 0;
13261 }
13262 _ACEOF
13263 rm -f conftest.$ac_objext
13264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13265 (eval $ac_compile) 2>conftest.er1
13266 ac_status=$?
13267 grep -v '^ *+' conftest.er1 >conftest.err
13268 rm -f conftest.er1
13269 cat conftest.err >&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } &&
13272 { ac_try='test -z "$ac_c_werror_flag"
13273 || test ! -s conftest.err'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; } &&
13279 { ac_try='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 echo "$as_me:$LINENO: result: yes" >&5
13286 echo "${ECHO_T}yes" >&6
13287 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13293 See \`config.log' for more details." >&5
13294 echo "$as_me: error: no. CoreFoundation not available.
13295 See \`config.log' for more details." >&2;}
13296 { (exit 1); exit 1; }; }
13297
13298 fi
13299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13300
13301
13302 fi
13303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13304 ;;
13305 esac
13306
13307 case "${host}" in
13308 *-pc-os2_emx | *-pc-os2-emx )
13309 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13310 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13311 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13312 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 else
13315 ac_check_lib_save_LIBS=$LIBS
13316 LIBS="-lcExt $LIBS"
13317 cat >conftest.$ac_ext <<_ACEOF
13318 /* confdefs.h. */
13319 _ACEOF
13320 cat confdefs.h >>conftest.$ac_ext
13321 cat >>conftest.$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13323
13324 /* Override any gcc2 internal prototype to avoid an error. */
13325 #ifdef __cplusplus
13326 extern "C"
13327 #endif
13328 /* We use char because int might match the return type of a gcc2
13329 builtin and then its argument prototype would still apply. */
13330 char drand48 ();
13331 int
13332 main ()
13333 {
13334 drand48 ();
13335 ;
13336 return 0;
13337 }
13338 _ACEOF
13339 rm -f conftest.$ac_objext conftest$ac_exeext
13340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13341 (eval $ac_link) 2>conftest.er1
13342 ac_status=$?
13343 grep -v '^ *+' conftest.er1 >conftest.err
13344 rm -f conftest.er1
13345 cat conftest.err >&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); } &&
13348 { ac_try='test -z "$ac_c_werror_flag"
13349 || test ! -s conftest.err'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; } &&
13355 { ac_try='test -s conftest$ac_exeext'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13358 ac_status=$?
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; }; then
13361 ac_cv_lib_cExt_drand48=yes
13362 else
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.$ac_ext >&5
13365
13366 ac_cv_lib_cExt_drand48=no
13367 fi
13368 rm -f conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13371 fi
13372 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13373 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13374 if test $ac_cv_lib_cExt_drand48 = yes; then
13375 LIBS="$LIBS -lcExt"
13376 fi
13377
13378 else
13379 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13380 fi
13381 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13382 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13383 if test "${wx_cv_gccversion+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 else
13386
13387 if test "$cross_compiling" = yes; then
13388 wx_cv_gccversion="EMX2"
13389
13390 else
13391 cat >conftest.$ac_ext <<_ACEOF
13392 /* confdefs.h. */
13393 _ACEOF
13394 cat confdefs.h >>conftest.$ac_ext
13395 cat >>conftest.$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13397
13398 #include <stdio.h>
13399
13400 int main()
13401 {
13402 FILE *f=fopen("conftestval", "w");
13403 if (!f) exit(1);
13404 fprintf(f,
13405 #if (__GNUC__ < 3)
13406 "EMX2"
13407 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13408 "EMX3"
13409 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13410 "Innotek5"
13411 #else
13412 "Innotek6"
13413 #endif
13414 );
13415 exit(0);
13416 }
13417
13418 _ACEOF
13419 rm -f conftest$ac_exeext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13421 (eval $ac_link) 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13427 ac_status=$?
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 wx_cv_gccversion=`cat conftestval`
13431 else
13432 echo "$as_me: program exited with status $ac_status" >&5
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13435
13436 ( exit $ac_status )
13437 wx_cv_gccversion="EMX2"
13438 fi
13439 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13440 fi
13441
13442 fi
13443 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13444 echo "${ECHO_T}$wx_cv_gccversion" >&6
13445 if test "$wx_cv_gccversion" = "EMX2"; then
13446 LIBS="$LIBS -lstdcpp"
13447 LDFLAGS="$LDFLAGS -Zsysv-signals"
13448 else
13449 if test "$wx_cv_gccversion" = "EMX3"; then
13450 LIBS="$LIBS -lstdcxx"
13451 LDFLAGS="$LDFLAGS -Zsysv-signals"
13452 else
13453 LIBS="$LIBS -lstdc++"
13454 fi
13455 fi
13456 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13457 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13458 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13459 wxUSE_OMF=yes
13460 enable_omf=yes
13461 fi
13462 ;;
13463 *)
13464
13465
13466
13467 ac_ext=cc
13468 ac_cpp='$CXXCPP $CPPFLAGS'
13469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13472
13473
13474 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13475 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13476 if test "${ac_cv_string_strcasecmp+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13478 else
13479
13480 cat >conftest.$ac_ext <<_ACEOF
13481 /* confdefs.h. */
13482 _ACEOF
13483 cat confdefs.h >>conftest.$ac_ext
13484 cat >>conftest.$ac_ext <<_ACEOF
13485 /* end confdefs.h. */
13486
13487 #include <string.h>
13488
13489 int
13490 main ()
13491 {
13492
13493 strcasecmp("foo", "bar");
13494
13495 ;
13496 return 0;
13497 }
13498 _ACEOF
13499 rm -f conftest.$ac_objext conftest$ac_exeext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13501 (eval $ac_link) 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try='test -z "$ac_cxx_werror_flag"
13509 || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13512 ac_status=$?
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try='test -s conftest$ac_exeext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_string_strcasecmp=yes
13522 else
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 ac_cv_string_strcasecmp=no
13527
13528 fi
13529 rm -f conftest.err conftest.$ac_objext \
13530 conftest$ac_exeext conftest.$ac_ext
13531
13532 fi
13533 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13534 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13535
13536 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13537 cat >>confdefs.h <<\_ACEOF
13538 #define HAVE_STRCASECMP_IN_STRING_H 1
13539 _ACEOF
13540
13541 else
13542 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13543 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13544 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 else
13547
13548 cat >conftest.$ac_ext <<_ACEOF
13549 /* confdefs.h. */
13550 _ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554
13555 #include <strings.h>
13556
13557 int
13558 main ()
13559 {
13560
13561 strcasecmp("foo", "bar");
13562
13563 ;
13564 return 0;
13565 }
13566 _ACEOF
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>conftest.er1
13570 ac_status=$?
13571 grep -v '^ *+' conftest.er1 >conftest.err
13572 rm -f conftest.er1
13573 cat conftest.err >&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try='test -z "$ac_cxx_werror_flag"
13577 || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13580 ac_status=$?
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_cv_strings_strcasecmp=yes
13590 else
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.$ac_ext >&5
13593
13594 ac_cv_strings_strcasecmp=no
13595
13596 fi
13597 rm -f conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599
13600 fi
13601 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13602 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13603
13604 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13605 cat >>confdefs.h <<\_ACEOF
13606 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13607 _ACEOF
13608
13609 else
13610 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13611 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13612 { (exit 1); exit 1; }; }
13613 fi
13614 fi
13615
13616 ac_ext=c
13617 ac_cpp='$CPP $CPPFLAGS'
13618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13621
13622 ;;
13623 esac
13624
13625
13626 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13628 if test "${ac_cv_header_stdc+set}" = set; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 else
13631 cat >conftest.$ac_ext <<_ACEOF
13632 /* confdefs.h. */
13633 _ACEOF
13634 cat confdefs.h >>conftest.$ac_ext
13635 cat >>conftest.$ac_ext <<_ACEOF
13636 /* end confdefs.h. */
13637 #include <stdlib.h>
13638 #include <stdarg.h>
13639 #include <string.h>
13640 #include <float.h>
13641
13642 int
13643 main ()
13644 {
13645
13646 ;
13647 return 0;
13648 }
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>conftest.er1
13653 ac_status=$?
13654 grep -v '^ *+' conftest.er1 >conftest.err
13655 rm -f conftest.er1
13656 cat conftest.err >&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try='test -z "$ac_c_werror_flag"
13660 || test ! -s conftest.err'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; } &&
13666 { ac_try='test -s conftest.$ac_objext'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13669 ac_status=$?
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; }; then
13672 ac_cv_header_stdc=yes
13673 else
13674 echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.$ac_ext >&5
13676
13677 ac_cv_header_stdc=no
13678 fi
13679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13680
13681 if test $ac_cv_header_stdc = yes; then
13682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13683 cat >conftest.$ac_ext <<_ACEOF
13684 /* confdefs.h. */
13685 _ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 #include <string.h>
13690
13691 _ACEOF
13692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 $EGREP "memchr" >/dev/null 2>&1; then
13694 :
13695 else
13696 ac_cv_header_stdc=no
13697 fi
13698 rm -f conftest*
13699
13700 fi
13701
13702 if test $ac_cv_header_stdc = yes; then
13703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13704 cat >conftest.$ac_ext <<_ACEOF
13705 /* confdefs.h. */
13706 _ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #include <stdlib.h>
13711
13712 _ACEOF
13713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714 $EGREP "free" >/dev/null 2>&1; then
13715 :
13716 else
13717 ac_cv_header_stdc=no
13718 fi
13719 rm -f conftest*
13720
13721 fi
13722
13723 if test $ac_cv_header_stdc = yes; then
13724 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13725 if test "$cross_compiling" = yes; then
13726 :
13727 else
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h. */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 #include <ctype.h>
13735 #if ((' ' & 0x0FF) == 0x020)
13736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13738 #else
13739 # define ISLOWER(c) \
13740 (('a' <= (c) && (c) <= 'i') \
13741 || ('j' <= (c) && (c) <= 'r') \
13742 || ('s' <= (c) && (c) <= 'z'))
13743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13744 #endif
13745
13746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13747 int
13748 main ()
13749 {
13750 int i;
13751 for (i = 0; i < 256; i++)
13752 if (XOR (islower (i), ISLOWER (i))
13753 || toupper (i) != TOUPPER (i))
13754 exit(2);
13755 exit (0);
13756 }
13757 _ACEOF
13758 rm -f conftest$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>&5
13761 ac_status=$?
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13766 ac_status=$?
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 :
13770 else
13771 echo "$as_me: program exited with status $ac_status" >&5
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13774
13775 ( exit $ac_status )
13776 ac_cv_header_stdc=no
13777 fi
13778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13779 fi
13780 fi
13781 fi
13782 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13783 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13784 if test $ac_cv_header_stdc = yes; then
13785
13786 cat >>confdefs.h <<\_ACEOF
13787 #define STDC_HEADERS 1
13788 _ACEOF
13789
13790 fi
13791
13792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13803 inttypes.h stdint.h unistd.h
13804 do
13805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13806 echo "$as_me:$LINENO: checking for $ac_header" >&5
13807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 else
13811 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13818
13819 #include <$ac_header>
13820 _ACEOF
13821 rm -f conftest.$ac_objext
13822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13823 (eval $ac_compile) 2>conftest.er1
13824 ac_status=$?
13825 grep -v '^ *+' conftest.er1 >conftest.err
13826 rm -f conftest.er1
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } &&
13830 { ac_try='test -z "$ac_c_werror_flag"
13831 || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 eval "$as_ac_Header=yes"
13844 else
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.$ac_ext >&5
13847
13848 eval "$as_ac_Header=no"
13849 fi
13850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13851 fi
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13855 cat >>confdefs.h <<_ACEOF
13856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13857 _ACEOF
13858
13859 fi
13860
13861 done
13862
13863
13864
13865 for ac_header in stdlib.h
13866 do
13867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13869 echo "$as_me:$LINENO: checking for $ac_header" >&5
13870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 fi
13874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13876 else
13877 # Is the header compilable?
13878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h. */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 $ac_includes_default
13887 #include <$ac_header>
13888 _ACEOF
13889 rm -f conftest.$ac_objext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13891 (eval $ac_compile) 2>conftest.er1
13892 ac_status=$?
13893 grep -v '^ *+' conftest.er1 >conftest.err
13894 rm -f conftest.er1
13895 cat conftest.err >&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } &&
13898 { ac_try='test -z "$ac_c_werror_flag"
13899 || test ! -s conftest.err'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13902 ac_status=$?
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; } &&
13905 { ac_try='test -s conftest.$ac_objext'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13908 ac_status=$?
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; }; then
13911 ac_header_compiler=yes
13912 else
13913 echo "$as_me: failed program was:" >&5
13914 sed 's/^/| /' conftest.$ac_ext >&5
13915
13916 ac_header_compiler=no
13917 fi
13918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13920 echo "${ECHO_T}$ac_header_compiler" >&6
13921
13922 # Is the header present?
13923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <$ac_header>
13932 _ACEOF
13933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13935 ac_status=$?
13936 grep -v '^ *+' conftest.er1 >conftest.err
13937 rm -f conftest.er1
13938 cat conftest.err >&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } >/dev/null; then
13941 if test -s conftest.err; then
13942 ac_cpp_err=$ac_c_preproc_warn_flag
13943 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13944 else
13945 ac_cpp_err=
13946 fi
13947 else
13948 ac_cpp_err=yes
13949 fi
13950 if test -z "$ac_cpp_err"; then
13951 ac_header_preproc=yes
13952 else
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.$ac_ext >&5
13955
13956 ac_header_preproc=no
13957 fi
13958 rm -f conftest.err conftest.$ac_ext
13959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13960 echo "${ECHO_T}$ac_header_preproc" >&6
13961
13962 # So? What about this header?
13963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13964 yes:no: )
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13969 ac_header_preproc=yes
13970 ;;
13971 no:yes:* )
13972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13984 (
13985 cat <<\_ASBOX
13986 ## ----------------------------------------- ##
13987 ## Report this to wx-dev@lists.wxwidgets.org ##
13988 ## ----------------------------------------- ##
13989 _ASBOX
13990 ) |
13991 sed "s/^/$as_me: WARNING: /" >&2
13992 ;;
13993 esac
13994 echo "$as_me:$LINENO: checking for $ac_header" >&5
13995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 else
13999 eval "$as_ac_Header=\$ac_header_preproc"
14000 fi
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14003
14004 fi
14005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14006 cat >>confdefs.h <<_ACEOF
14007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14008 _ACEOF
14009
14010 fi
14011
14012 done
14013
14014
14015 for ac_header in malloc.h
14016 do
14017 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14019 echo "$as_me:$LINENO: checking for $ac_header" >&5
14020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 fi
14024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14026 else
14027 # Is the header compilable?
14028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14030 cat >conftest.$ac_ext <<_ACEOF
14031 /* confdefs.h. */
14032 _ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14037 #include <$ac_header>
14038 _ACEOF
14039 rm -f conftest.$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>conftest.er1
14042 ac_status=$?
14043 grep -v '^ *+' conftest.er1 >conftest.err
14044 rm -f conftest.er1
14045 cat conftest.err >&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try='test -z "$ac_c_werror_flag"
14049 || test ! -s conftest.err'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14052 ac_status=$?
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; } &&
14055 { ac_try='test -s conftest.$ac_objext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14058 ac_status=$?
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_header_compiler=yes
14062 else
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14065
14066 ac_header_compiler=no
14067 fi
14068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14070 echo "${ECHO_T}$ac_header_compiler" >&6
14071
14072 # Is the header present?
14073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14075 cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 #include <$ac_header>
14082 _ACEOF
14083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14085 ac_status=$?
14086 grep -v '^ *+' conftest.er1 >conftest.err
14087 rm -f conftest.er1
14088 cat conftest.err >&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } >/dev/null; then
14091 if test -s conftest.err; then
14092 ac_cpp_err=$ac_c_preproc_warn_flag
14093 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14094 else
14095 ac_cpp_err=
14096 fi
14097 else
14098 ac_cpp_err=yes
14099 fi
14100 if test -z "$ac_cpp_err"; then
14101 ac_header_preproc=yes
14102 else
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.$ac_ext >&5
14105
14106 ac_header_preproc=no
14107 fi
14108 rm -f conftest.err conftest.$ac_ext
14109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14110 echo "${ECHO_T}$ac_header_preproc" >&6
14111
14112 # So? What about this header?
14113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14114 yes:no: )
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14119 ac_header_preproc=yes
14120 ;;
14121 no:yes:* )
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14134 (
14135 cat <<\_ASBOX
14136 ## ----------------------------------------- ##
14137 ## Report this to wx-dev@lists.wxwidgets.org ##
14138 ## ----------------------------------------- ##
14139 _ASBOX
14140 ) |
14141 sed "s/^/$as_me: WARNING: /" >&2
14142 ;;
14143 esac
14144 echo "$as_me:$LINENO: checking for $ac_header" >&5
14145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 else
14149 eval "$as_ac_Header=\$ac_header_preproc"
14150 fi
14151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14153
14154 fi
14155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14156 cat >>confdefs.h <<_ACEOF
14157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14158 _ACEOF
14159
14160 fi
14161
14162 done
14163
14164
14165 for ac_header in unistd.h
14166 do
14167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14169 echo "$as_me:$LINENO: checking for $ac_header" >&5
14170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 fi
14174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14176 else
14177 # Is the header compilable?
14178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 $ac_includes_default
14187 #include <$ac_header>
14188 _ACEOF
14189 rm -f conftest.$ac_objext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14191 (eval $ac_compile) 2>conftest.er1
14192 ac_status=$?
14193 grep -v '^ *+' conftest.er1 >conftest.err
14194 rm -f conftest.er1
14195 cat conftest.err >&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try='test -z "$ac_c_werror_flag"
14199 || test ! -s conftest.err'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14202 ac_status=$?
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; } &&
14205 { ac_try='test -s conftest.$ac_objext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14211 ac_header_compiler=yes
14212 else
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14215
14216 ac_header_compiler=no
14217 fi
14218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14220 echo "${ECHO_T}$ac_header_compiler" >&6
14221
14222 # Is the header present?
14223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14225 cat >conftest.$ac_ext <<_ACEOF
14226 /* confdefs.h. */
14227 _ACEOF
14228 cat confdefs.h >>conftest.$ac_ext
14229 cat >>conftest.$ac_ext <<_ACEOF
14230 /* end confdefs.h. */
14231 #include <$ac_header>
14232 _ACEOF
14233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14235 ac_status=$?
14236 grep -v '^ *+' conftest.er1 >conftest.err
14237 rm -f conftest.er1
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } >/dev/null; then
14241 if test -s conftest.err; then
14242 ac_cpp_err=$ac_c_preproc_warn_flag
14243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14244 else
14245 ac_cpp_err=
14246 fi
14247 else
14248 ac_cpp_err=yes
14249 fi
14250 if test -z "$ac_cpp_err"; then
14251 ac_header_preproc=yes
14252 else
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14255
14256 ac_header_preproc=no
14257 fi
14258 rm -f conftest.err conftest.$ac_ext
14259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14260 echo "${ECHO_T}$ac_header_preproc" >&6
14261
14262 # So? What about this header?
14263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14264 yes:no: )
14265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14269 ac_header_preproc=yes
14270 ;;
14271 no:yes:* )
14272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14284 (
14285 cat <<\_ASBOX
14286 ## ----------------------------------------- ##
14287 ## Report this to wx-dev@lists.wxwidgets.org ##
14288 ## ----------------------------------------- ##
14289 _ASBOX
14290 ) |
14291 sed "s/^/$as_me: WARNING: /" >&2
14292 ;;
14293 esac
14294 echo "$as_me:$LINENO: checking for $ac_header" >&5
14295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 eval "$as_ac_Header=\$ac_header_preproc"
14300 fi
14301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14303
14304 fi
14305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14306 cat >>confdefs.h <<_ACEOF
14307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14308 _ACEOF
14309
14310 fi
14311
14312 done
14313
14314
14315 for ac_header in wchar.h
14316 do
14317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14319 echo "$as_me:$LINENO: checking for $ac_header" >&5
14320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 fi
14324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14326 else
14327 # Is the header compilable?
14328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14330 cat >conftest.$ac_ext <<_ACEOF
14331 /* confdefs.h. */
14332 _ACEOF
14333 cat confdefs.h >>conftest.$ac_ext
14334 cat >>conftest.$ac_ext <<_ACEOF
14335 /* end confdefs.h. */
14336 $ac_includes_default
14337 #include <$ac_header>
14338 _ACEOF
14339 rm -f conftest.$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14342 ac_status=$?
14343 grep -v '^ *+' conftest.er1 >conftest.err
14344 rm -f conftest.er1
14345 cat conftest.err >&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try='test -z "$ac_c_werror_flag"
14349 || test ! -s conftest.err'
14350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 (eval $ac_try) 2>&5
14352 ac_status=$?
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; } &&
14355 { ac_try='test -s conftest.$ac_objext'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14358 ac_status=$?
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_header_compiler=yes
14362 else
14363 echo "$as_me: failed program was:" >&5
14364 sed 's/^/| /' conftest.$ac_ext >&5
14365
14366 ac_header_compiler=no
14367 fi
14368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14370 echo "${ECHO_T}$ac_header_compiler" >&6
14371
14372 # Is the header present?
14373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14375 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */
14377 _ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381 #include <$ac_header>
14382 _ACEOF
14383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14385 ac_status=$?
14386 grep -v '^ *+' conftest.er1 >conftest.err
14387 rm -f conftest.er1
14388 cat conftest.err >&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } >/dev/null; then
14391 if test -s conftest.err; then
14392 ac_cpp_err=$ac_c_preproc_warn_flag
14393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14394 else
14395 ac_cpp_err=
14396 fi
14397 else
14398 ac_cpp_err=yes
14399 fi
14400 if test -z "$ac_cpp_err"; then
14401 ac_header_preproc=yes
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14405
14406 ac_header_preproc=no
14407 fi
14408 rm -f conftest.err conftest.$ac_ext
14409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14410 echo "${ECHO_T}$ac_header_preproc" >&6
14411
14412 # So? What about this header?
14413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14414 yes:no: )
14415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14418 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14419 ac_header_preproc=yes
14420 ;;
14421 no:yes:* )
14422 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14424 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14425 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14426 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14427 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14428 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14429 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14432 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14433 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14434 (
14435 cat <<\_ASBOX
14436 ## ----------------------------------------- ##
14437 ## Report this to wx-dev@lists.wxwidgets.org ##
14438 ## ----------------------------------------- ##
14439 _ASBOX
14440 ) |
14441 sed "s/^/$as_me: WARNING: /" >&2
14442 ;;
14443 esac
14444 echo "$as_me:$LINENO: checking for $ac_header" >&5
14445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 else
14449 eval "$as_ac_Header=\$ac_header_preproc"
14450 fi
14451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14453
14454 fi
14455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14456 cat >>confdefs.h <<_ACEOF
14457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14458 _ACEOF
14459
14460 fi
14461
14462 done
14463
14464
14465 if test "$ac_cv_header_wchar_h" != "yes"; then
14466
14467 for ac_header in wcstr.h
14468 do
14469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14471 echo "$as_me:$LINENO: checking for $ac_header" >&5
14472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14474 echo $ECHO_N "(cached) $ECHO_C" >&6
14475 fi
14476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14478 else
14479 # Is the header compilable?
14480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14482 cat >conftest.$ac_ext <<_ACEOF
14483 /* confdefs.h. */
14484 _ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14489 #include <$ac_header>
14490 _ACEOF
14491 rm -f conftest.$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try='test -z "$ac_c_werror_flag"
14501 || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14504 ac_status=$?
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try='test -s conftest.$ac_objext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14510 ac_status=$?
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14513 ac_header_compiler=yes
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 ac_header_compiler=no
14519 fi
14520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14522 echo "${ECHO_T}$ac_header_compiler" >&6
14523
14524 # Is the header present?
14525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14527 cat >conftest.$ac_ext <<_ACEOF
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 #include <$ac_header>
14534 _ACEOF
14535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14537 ac_status=$?
14538 grep -v '^ *+' conftest.er1 >conftest.err
14539 rm -f conftest.er1
14540 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } >/dev/null; then
14543 if test -s conftest.err; then
14544 ac_cpp_err=$ac_c_preproc_warn_flag
14545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14546 else
14547 ac_cpp_err=
14548 fi
14549 else
14550 ac_cpp_err=yes
14551 fi
14552 if test -z "$ac_cpp_err"; then
14553 ac_header_preproc=yes
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 ac_header_preproc=no
14559 fi
14560 rm -f conftest.err conftest.$ac_ext
14561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14562 echo "${ECHO_T}$ac_header_preproc" >&6
14563
14564 # So? What about this header?
14565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14566 yes:no: )
14567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14571 ac_header_preproc=yes
14572 ;;
14573 no:yes:* )
14574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14586 (
14587 cat <<\_ASBOX
14588 ## ----------------------------------------- ##
14589 ## Report this to wx-dev@lists.wxwidgets.org ##
14590 ## ----------------------------------------- ##
14591 _ASBOX
14592 ) |
14593 sed "s/^/$as_me: WARNING: /" >&2
14594 ;;
14595 esac
14596 echo "$as_me:$LINENO: checking for $ac_header" >&5
14597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14600 else
14601 eval "$as_ac_Header=\$ac_header_preproc"
14602 fi
14603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14605
14606 fi
14607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14608 cat >>confdefs.h <<_ACEOF
14609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14610 _ACEOF
14611
14612 fi
14613
14614 done
14615
14616 fi
14617
14618
14619 for ac_header in fnmatch.h
14620 do
14621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14623 echo "$as_me:$LINENO: checking for $ac_header" >&5
14624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 fi
14628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14630 else
14631 # Is the header compilable?
14632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14634 cat >conftest.$ac_ext <<_ACEOF
14635 /* confdefs.h. */
14636 _ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14640 $ac_includes_default
14641 #include <$ac_header>
14642 _ACEOF
14643 rm -f conftest.$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14646 ac_status=$?
14647 grep -v '^ *+' conftest.er1 >conftest.err
14648 rm -f conftest.er1
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -z "$ac_c_werror_flag"
14653 || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_header_compiler=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 ac_header_compiler=no
14671 fi
14672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14674 echo "${ECHO_T}$ac_header_compiler" >&6
14675
14676 # Is the header present?
14677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 #include <$ac_header>
14686 _ACEOF
14687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14689 ac_status=$?
14690 grep -v '^ *+' conftest.er1 >conftest.err
14691 rm -f conftest.er1
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } >/dev/null; then
14695 if test -s conftest.err; then
14696 ac_cpp_err=$ac_c_preproc_warn_flag
14697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14698 else
14699 ac_cpp_err=
14700 fi
14701 else
14702 ac_cpp_err=yes
14703 fi
14704 if test -z "$ac_cpp_err"; then
14705 ac_header_preproc=yes
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 ac_header_preproc=no
14711 fi
14712 rm -f conftest.err conftest.$ac_ext
14713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14714 echo "${ECHO_T}$ac_header_preproc" >&6
14715
14716 # So? What about this header?
14717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14718 yes:no: )
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14723 ac_header_preproc=yes
14724 ;;
14725 no:yes:* )
14726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14738 (
14739 cat <<\_ASBOX
14740 ## ----------------------------------------- ##
14741 ## Report this to wx-dev@lists.wxwidgets.org ##
14742 ## ----------------------------------------- ##
14743 _ASBOX
14744 ) |
14745 sed "s/^/$as_me: WARNING: /" >&2
14746 ;;
14747 esac
14748 echo "$as_me:$LINENO: checking for $ac_header" >&5
14749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 else
14753 eval "$as_ac_Header=\$ac_header_preproc"
14754 fi
14755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14757
14758 fi
14759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14760 cat >>confdefs.h <<_ACEOF
14761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14762 _ACEOF
14763
14764 fi
14765
14766 done
14767
14768
14769 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14770
14771 for ac_func in fnmatch
14772 do
14773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 echo "$as_me:$LINENO: checking for $ac_func" >&5
14775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14776 if eval "test \"\${$as_ac_var+set}\" = set"; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14778 else
14779 cat >conftest.$ac_ext <<_ACEOF
14780 /* confdefs.h. */
14781 _ACEOF
14782 cat confdefs.h >>conftest.$ac_ext
14783 cat >>conftest.$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14787 #define $ac_func innocuous_$ac_func
14788
14789 /* System header to define __stub macros and hopefully few prototypes,
14790 which can conflict with char $ac_func (); below.
14791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14792 <limits.h> exists even on freestanding compilers. */
14793
14794 #ifdef __STDC__
14795 # include <limits.h>
14796 #else
14797 # include <assert.h>
14798 #endif
14799
14800 #undef $ac_func
14801
14802 /* Override any gcc2 internal prototype to avoid an error. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 {
14806 #endif
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14809 char $ac_func ();
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14814 choke me
14815 #else
14816 char (*f) () = $ac_func;
14817 #endif
14818 #ifdef __cplusplus
14819 }
14820 #endif
14821
14822 int
14823 main ()
14824 {
14825 return f != $ac_func;
14826 ;
14827 return 0;
14828 }
14829 _ACEOF
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest$ac_exeext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 eval "$as_ac_var=yes"
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857 eval "$as_ac_var=no"
14858 fi
14859 rm -f conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 fi
14862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14864 if test `eval echo '${'$as_ac_var'}'` = yes; then
14865 cat >>confdefs.h <<_ACEOF
14866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14867 _ACEOF
14868
14869 fi
14870 done
14871
14872 fi
14873
14874
14875 for ac_header in langinfo.h
14876 do
14877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14879 echo "$as_me:$LINENO: checking for $ac_header" >&5
14880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 fi
14884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14886 else
14887 # Is the header compilable?
14888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14890 cat >conftest.$ac_ext <<_ACEOF
14891 /* confdefs.h. */
14892 _ACEOF
14893 cat confdefs.h >>conftest.$ac_ext
14894 cat >>conftest.$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 $ac_includes_default
14897 #include <$ac_header>
14898 _ACEOF
14899 rm -f conftest.$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>conftest.er1
14902 ac_status=$?
14903 grep -v '^ *+' conftest.er1 >conftest.err
14904 rm -f conftest.er1
14905 cat conftest.err >&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } &&
14908 { ac_try='test -z "$ac_c_werror_flag"
14909 || test ! -s conftest.err'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14912 ac_status=$?
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; } &&
14915 { ac_try='test -s conftest.$ac_objext'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_header_compiler=yes
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14925
14926 ac_header_compiler=no
14927 fi
14928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14930 echo "${ECHO_T}$ac_header_compiler" >&6
14931
14932 # Is the header present?
14933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <$ac_header>
14942 _ACEOF
14943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14945 ac_status=$?
14946 grep -v '^ *+' conftest.er1 >conftest.err
14947 rm -f conftest.er1
14948 cat conftest.err >&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } >/dev/null; then
14951 if test -s conftest.err; then
14952 ac_cpp_err=$ac_c_preproc_warn_flag
14953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14954 else
14955 ac_cpp_err=
14956 fi
14957 else
14958 ac_cpp_err=yes
14959 fi
14960 if test -z "$ac_cpp_err"; then
14961 ac_header_preproc=yes
14962 else
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14965
14966 ac_header_preproc=no
14967 fi
14968 rm -f conftest.err conftest.$ac_ext
14969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14970 echo "${ECHO_T}$ac_header_preproc" >&6
14971
14972 # So? What about this header?
14973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14974 yes:no: )
14975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14979 ac_header_preproc=yes
14980 ;;
14981 no:yes:* )
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14994 (
14995 cat <<\_ASBOX
14996 ## ----------------------------------------- ##
14997 ## Report this to wx-dev@lists.wxwidgets.org ##
14998 ## ----------------------------------------- ##
14999 _ASBOX
15000 ) |
15001 sed "s/^/$as_me: WARNING: /" >&2
15002 ;;
15003 esac
15004 echo "$as_me:$LINENO: checking for $ac_header" >&5
15005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 else
15009 eval "$as_ac_Header=\$ac_header_preproc"
15010 fi
15011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15013
15014 fi
15015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15016 cat >>confdefs.h <<_ACEOF
15017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15018 _ACEOF
15019
15020 fi
15021
15022 done
15023
15024
15025 case "${host}" in
15026 *-pc-os2_emx | *-pc-os2-emx )
15027 if test $ac_cv_header_langinfo_h = "yes" \
15028 -a \( "$wx_cv_gccversion" = "EMX2" \
15029 -o "$wx_cv_gccversion" = "EMX3" \
15030 -o "$wx_cv_gccversion" = "Innotek5" \); then
15031 LIBS="$LIBS -lintl"
15032 fi
15033 ;;
15034 esac
15035
15036 if test "$wxUSE_GUI" = "yes"; then
15037 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15038
15039 for ac_header in X11/Xlib.h
15040 do
15041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15043 echo "$as_me:$LINENO: checking for $ac_header" >&5
15044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 fi
15048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15050 else
15051 # Is the header compilable?
15052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15054 cat >conftest.$ac_ext <<_ACEOF
15055 /* confdefs.h. */
15056 _ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 $ac_includes_default
15061 #include <$ac_header>
15062 _ACEOF
15063 rm -f conftest.$ac_objext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15065 (eval $ac_compile) 2>conftest.er1
15066 ac_status=$?
15067 grep -v '^ *+' conftest.er1 >conftest.err
15068 rm -f conftest.er1
15069 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 ac_header_compiler=yes
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15089
15090 ac_header_compiler=no
15091 fi
15092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15094 echo "${ECHO_T}$ac_header_compiler" >&6
15095
15096 # Is the header present?
15097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15099 cat >conftest.$ac_ext <<_ACEOF
15100 /* confdefs.h. */
15101 _ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 #include <$ac_header>
15106 _ACEOF
15107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15109 ac_status=$?
15110 grep -v '^ *+' conftest.er1 >conftest.err
15111 rm -f conftest.er1
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } >/dev/null; then
15115 if test -s conftest.err; then
15116 ac_cpp_err=$ac_c_preproc_warn_flag
15117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15118 else
15119 ac_cpp_err=
15120 fi
15121 else
15122 ac_cpp_err=yes
15123 fi
15124 if test -z "$ac_cpp_err"; then
15125 ac_header_preproc=yes
15126 else
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15129
15130 ac_header_preproc=no
15131 fi
15132 rm -f conftest.err conftest.$ac_ext
15133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15134 echo "${ECHO_T}$ac_header_preproc" >&6
15135
15136 # So? What about this header?
15137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15138 yes:no: )
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15143 ac_header_preproc=yes
15144 ;;
15145 no:yes:* )
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15158 (
15159 cat <<\_ASBOX
15160 ## ----------------------------------------- ##
15161 ## Report this to wx-dev@lists.wxwidgets.org ##
15162 ## ----------------------------------------- ##
15163 _ASBOX
15164 ) |
15165 sed "s/^/$as_me: WARNING: /" >&2
15166 ;;
15167 esac
15168 echo "$as_me:$LINENO: checking for $ac_header" >&5
15169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 else
15173 eval "$as_ac_Header=\$ac_header_preproc"
15174 fi
15175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15177
15178 fi
15179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15180 cat >>confdefs.h <<_ACEOF
15181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15182 _ACEOF
15183
15184 fi
15185
15186 done
15187
15188
15189 for ac_header in X11/XKBlib.h
15190 do
15191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15192 echo "$as_me:$LINENO: checking for $ac_header" >&5
15193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197 cat >conftest.$ac_ext <<_ACEOF
15198 /* confdefs.h. */
15199 _ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203
15204 #if HAVE_X11_XLIB_H
15205 #include <X11/Xlib.h>
15206 #endif
15207
15208
15209 #include <$ac_header>
15210 _ACEOF
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 eval "$as_ac_Header=yes"
15234 else
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15237
15238 eval "$as_ac_Header=no"
15239 fi
15240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15241 fi
15242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15245 cat >>confdefs.h <<_ACEOF
15246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15247 _ACEOF
15248
15249 fi
15250
15251 done
15252
15253 fi
15254 fi
15255
15256
15257 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15258 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15259 if test "${ac_cv_c_const+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268
15269 int
15270 main ()
15271 {
15272 /* FIXME: Include the comments suggested by Paul. */
15273 #ifndef __cplusplus
15274 /* Ultrix mips cc rejects this. */
15275 typedef int charset[2];
15276 const charset x;
15277 /* SunOS 4.1.1 cc rejects this. */
15278 char const *const *ccp;
15279 char **p;
15280 /* NEC SVR4.0.2 mips cc rejects this. */
15281 struct point {int x, y;};
15282 static struct point const zero = {0,0};
15283 /* AIX XL C 1.02.0.0 rejects this.
15284 It does not let you subtract one const X* pointer from another in
15285 an arm of an if-expression whose if-part is not a constant
15286 expression */
15287 const char *g = "string";
15288 ccp = &g + (g ? g-g : 0);
15289 /* HPUX 7.0 cc rejects these. */
15290 ++ccp;
15291 p = (char**) ccp;
15292 ccp = (char const *const *) p;
15293 { /* SCO 3.2v4 cc rejects this. */
15294 char *t;
15295 char const *s = 0 ? (char *) 0 : (char const *) 0;
15296
15297 *t++ = 0;
15298 }
15299 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15300 int x[] = {25, 17};
15301 const int *foo = &x[0];
15302 ++foo;
15303 }
15304 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15305 typedef const int *iptr;
15306 iptr p = 0;
15307 ++p;
15308 }
15309 { /* AIX XL C 1.02.0.0 rejects this saying
15310 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15311 struct s { int j; const int *ap[3]; };
15312 struct s *b; b->j = 5;
15313 }
15314 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15315 const int foo = 10;
15316 }
15317 #endif
15318
15319 ;
15320 return 0;
15321 }
15322 _ACEOF
15323 rm -f conftest.$ac_objext
15324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15325 (eval $ac_compile) 2>conftest.er1
15326 ac_status=$?
15327 grep -v '^ *+' conftest.er1 >conftest.err
15328 rm -f conftest.er1
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try='test -z "$ac_c_werror_flag"
15333 || test ! -s conftest.err'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; } &&
15339 { ac_try='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15342 ac_status=$?
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 ac_cv_c_const=yes
15346 else
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15349
15350 ac_cv_c_const=no
15351 fi
15352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15353 fi
15354 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15355 echo "${ECHO_T}$ac_cv_c_const" >&6
15356 if test $ac_cv_c_const = no; then
15357
15358 cat >>confdefs.h <<\_ACEOF
15359 #define const
15360 _ACEOF
15361
15362 fi
15363
15364 echo "$as_me:$LINENO: checking for inline" >&5
15365 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15366 if test "${ac_cv_c_inline+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 ac_cv_c_inline=no
15370 for ac_kw in inline __inline__ __inline; do
15371 cat >conftest.$ac_ext <<_ACEOF
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 #ifndef __cplusplus
15378 typedef int foo_t;
15379 static $ac_kw foo_t static_foo () {return 0; }
15380 $ac_kw foo_t foo () {return 0; }
15381 #endif
15382
15383 _ACEOF
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15387 ac_status=$?
15388 grep -v '^ *+' conftest.er1 >conftest.err
15389 rm -f conftest.er1
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 ac_cv_c_inline=$ac_kw; break
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 fi
15412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15413 done
15414
15415 fi
15416 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15417 echo "${ECHO_T}$ac_cv_c_inline" >&6
15418
15419
15420 case $ac_cv_c_inline in
15421 inline | yes) ;;
15422 *)
15423 case $ac_cv_c_inline in
15424 no) ac_val=;;
15425 *) ac_val=$ac_cv_c_inline;;
15426 esac
15427 cat >>confdefs.h <<_ACEOF
15428 #ifndef __cplusplus
15429 #define inline $ac_val
15430 #endif
15431 _ACEOF
15432 ;;
15433 esac
15434
15435
15436 echo "$as_me:$LINENO: checking for char" >&5
15437 echo $ECHO_N "checking for char... $ECHO_C" >&6
15438 if test "${ac_cv_type_char+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15440 else
15441 cat >conftest.$ac_ext <<_ACEOF
15442 /* confdefs.h. */
15443 _ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 $ac_includes_default
15448 int
15449 main ()
15450 {
15451 if ((char *) 0)
15452 return 0;
15453 if (sizeof (char))
15454 return 0;
15455 ;
15456 return 0;
15457 }
15458 _ACEOF
15459 rm -f conftest.$ac_objext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15461 (eval $ac_compile) 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15472 ac_status=$?
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15478 ac_status=$?
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_cv_type_char=yes
15482 else
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15485
15486 ac_cv_type_char=no
15487 fi
15488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15489 fi
15490 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15491 echo "${ECHO_T}$ac_cv_type_char" >&6
15492
15493 echo "$as_me:$LINENO: checking size of char" >&5
15494 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15495 if test "${ac_cv_sizeof_char+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 if test "$ac_cv_type_char" = yes; then
15499 # The cast to unsigned long works around a bug in the HP C Compiler
15500 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15501 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15502 # This bug is HP SR number 8606223364.
15503 if test "$cross_compiling" = yes; then
15504 # Depending upon the size, compute the lo and hi bounds.
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15512 int
15513 main ()
15514 {
15515 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15516 test_array [0] = 0
15517
15518 ;
15519 return 0;
15520 }
15521 _ACEOF
15522 rm -f conftest.$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_lo=0 ac_mid=0
15545 while :; do
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552 $ac_includes_default
15553 int
15554 main ()
15555 {
15556 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15557 test_array [0] = 0
15558
15559 ;
15560 return 0;
15561 }
15562 _ACEOF
15563 rm -f conftest.$ac_objext
15564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15565 (eval $ac_compile) 2>conftest.er1
15566 ac_status=$?
15567 grep -v '^ *+' conftest.er1 >conftest.err
15568 rm -f conftest.er1
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try='test -z "$ac_c_werror_flag"
15573 || test ! -s conftest.err'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try='test -s conftest.$ac_objext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15585 ac_hi=$ac_mid; break
15586 else
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.$ac_ext >&5
15589
15590 ac_lo=`expr $ac_mid + 1`
15591 if test $ac_lo -le $ac_mid; then
15592 ac_lo= ac_hi=
15593 break
15594 fi
15595 ac_mid=`expr 2 '*' $ac_mid + 1`
15596 fi
15597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15598 done
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15602
15603 cat >conftest.$ac_ext <<_ACEOF
15604 /* confdefs.h. */
15605 _ACEOF
15606 cat confdefs.h >>conftest.$ac_ext
15607 cat >>conftest.$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15610 int
15611 main ()
15612 {
15613 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15614 test_array [0] = 0
15615
15616 ;
15617 return 0;
15618 }
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15623 ac_status=$?
15624 grep -v '^ *+' conftest.er1 >conftest.err
15625 rm -f conftest.er1
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_hi=-1 ac_mid=-1
15643 while :; do
15644 cat >conftest.$ac_ext <<_ACEOF
15645 /* confdefs.h. */
15646 _ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15651 int
15652 main ()
15653 {
15654 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15655 test_array [0] = 0
15656
15657 ;
15658 return 0;
15659 }
15660 _ACEOF
15661 rm -f conftest.$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15664 ac_status=$?
15665 grep -v '^ *+' conftest.er1 >conftest.err
15666 rm -f conftest.er1
15667 cat conftest.err >&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_lo=$ac_mid; break
15684 else
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15687
15688 ac_hi=`expr '(' $ac_mid ')' - 1`
15689 if test $ac_mid -le $ac_hi; then
15690 ac_lo= ac_hi=
15691 break
15692 fi
15693 ac_mid=`expr 2 '*' $ac_mid`
15694 fi
15695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15696 done
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15700
15701 ac_lo= ac_hi=
15702 fi
15703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15704 fi
15705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15706 # Binary search between lo and hi bounds.
15707 while test "x$ac_lo" != "x$ac_hi"; do
15708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15709 cat >conftest.$ac_ext <<_ACEOF
15710 /* confdefs.h. */
15711 _ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15715 $ac_includes_default
15716 int
15717 main ()
15718 {
15719 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15720 test_array [0] = 0
15721
15722 ;
15723 return 0;
15724 }
15725 _ACEOF
15726 rm -f conftest.$ac_objext
15727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15728 (eval $ac_compile) 2>conftest.er1
15729 ac_status=$?
15730 grep -v '^ *+' conftest.er1 >conftest.err
15731 rm -f conftest.er1
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } &&
15735 { ac_try='test -z "$ac_c_werror_flag"
15736 || test ! -s conftest.err'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; } &&
15742 { ac_try='test -s conftest.$ac_objext'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; }; then
15748 ac_hi=$ac_mid
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15752
15753 ac_lo=`expr '(' $ac_mid ')' + 1`
15754 fi
15755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15756 done
15757 case $ac_lo in
15758 ?*) ac_cv_sizeof_char=$ac_lo;;
15759 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15760 See \`config.log' for more details." >&5
15761 echo "$as_me: error: cannot compute sizeof (char), 77
15762 See \`config.log' for more details." >&2;}
15763 { (exit 1); exit 1; }; } ;;
15764 esac
15765 else
15766 if test "$cross_compiling" = yes; then
15767 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15768 See \`config.log' for more details." >&5
15769 echo "$as_me: error: cannot run test program while cross compiling
15770 See \`config.log' for more details." >&2;}
15771 { (exit 1); exit 1; }; }
15772 else
15773 cat >conftest.$ac_ext <<_ACEOF
15774 /* confdefs.h. */
15775 _ACEOF
15776 cat confdefs.h >>conftest.$ac_ext
15777 cat >>conftest.$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15779 $ac_includes_default
15780 long longval () { return (long) (sizeof (char)); }
15781 unsigned long ulongval () { return (long) (sizeof (char)); }
15782 #include <stdio.h>
15783 #include <stdlib.h>
15784 int
15785 main ()
15786 {
15787
15788 FILE *f = fopen ("conftest.val", "w");
15789 if (! f)
15790 exit (1);
15791 if (((long) (sizeof (char))) < 0)
15792 {
15793 long i = longval ();
15794 if (i != ((long) (sizeof (char))))
15795 exit (1);
15796 fprintf (f, "%ld\n", i);
15797 }
15798 else
15799 {
15800 unsigned long i = ulongval ();
15801 if (i != ((long) (sizeof (char))))
15802 exit (1);
15803 fprintf (f, "%lu\n", i);
15804 }
15805 exit (ferror (f) || fclose (f) != 0);
15806
15807 ;
15808 return 0;
15809 }
15810 _ACEOF
15811 rm -f conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>&5
15814 ac_status=$?
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_sizeof_char=`cat conftest.val`
15823 else
15824 echo "$as_me: program exited with status $ac_status" >&5
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15827
15828 ( exit $ac_status )
15829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (char), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; }
15834 fi
15835 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15836 fi
15837 fi
15838 rm -f conftest.val
15839 else
15840 ac_cv_sizeof_char=0
15841 fi
15842 fi
15843 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15844 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15845 cat >>confdefs.h <<_ACEOF
15846 #define SIZEOF_CHAR $ac_cv_sizeof_char
15847 _ACEOF
15848
15849
15850 echo "$as_me:$LINENO: checking for short" >&5
15851 echo $ECHO_N "checking for short... $ECHO_C" >&6
15852 if test "${ac_cv_type_short+set}" = set; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 else
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861 $ac_includes_default
15862 int
15863 main ()
15864 {
15865 if ((short *) 0)
15866 return 0;
15867 if (sizeof (short))
15868 return 0;
15869 ;
15870 return 0;
15871 }
15872 _ACEOF
15873 rm -f conftest.$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_c_werror_flag"
15883 || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_type_short=yes
15896 else
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15899
15900 ac_cv_type_short=no
15901 fi
15902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15903 fi
15904 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15905 echo "${ECHO_T}$ac_cv_type_short" >&6
15906
15907 echo "$as_me:$LINENO: checking size of short" >&5
15908 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15909 if test "${ac_cv_sizeof_short+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 else
15912 if test "$ac_cv_type_short" = yes; then
15913 # The cast to unsigned long works around a bug in the HP C Compiler
15914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15916 # This bug is HP SR number 8606223364.
15917 if test "$cross_compiling" = yes; then
15918 # Depending upon the size, compute the lo and hi bounds.
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15926 int
15927 main ()
15928 {
15929 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15930 test_array [0] = 0
15931
15932 ;
15933 return 0;
15934 }
15935 _ACEOF
15936 rm -f conftest.$ac_objext
15937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15938 (eval $ac_compile) 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try='test -z "$ac_c_werror_flag"
15946 || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15949 ac_status=$?
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_lo=0 ac_mid=0
15959 while :; do
15960 cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15967 int
15968 main ()
15969 {
15970 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15971 test_array [0] = 0
15972
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -z "$ac_c_werror_flag"
15987 || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15990 ac_status=$?
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_hi=$ac_mid; break
16000 else
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.$ac_ext >&5
16003
16004 ac_lo=`expr $ac_mid + 1`
16005 if test $ac_lo -le $ac_mid; then
16006 ac_lo= ac_hi=
16007 break
16008 fi
16009 ac_mid=`expr 2 '*' $ac_mid + 1`
16010 fi
16011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16012 done
16013 else
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16016
16017 cat >conftest.$ac_ext <<_ACEOF
16018 /* confdefs.h. */
16019 _ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 $ac_includes_default
16024 int
16025 main ()
16026 {
16027 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16028 test_array [0] = 0
16029
16030 ;
16031 return 0;
16032 }
16033 _ACEOF
16034 rm -f conftest.$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>conftest.er1
16037 ac_status=$?
16038 grep -v '^ *+' conftest.er1 >conftest.err
16039 rm -f conftest.er1
16040 cat conftest.err >&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } &&
16043 { ac_try='test -z "$ac_c_werror_flag"
16044 || test ! -s conftest.err'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; } &&
16050 { ac_try='test -s conftest.$ac_objext'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16053 ac_status=$?
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; }; then
16056 ac_hi=-1 ac_mid=-1
16057 while :; do
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16065 int
16066 main ()
16067 {
16068 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16069 test_array [0] = 0
16070
16071 ;
16072 return 0;
16073 }
16074 _ACEOF
16075 rm -f conftest.$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_lo=$ac_mid; break
16098 else
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16101
16102 ac_hi=`expr '(' $ac_mid ')' - 1`
16103 if test $ac_mid -le $ac_hi; then
16104 ac_lo= ac_hi=
16105 break
16106 fi
16107 ac_mid=`expr 2 '*' $ac_mid`
16108 fi
16109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16110 done
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 ac_lo= ac_hi=
16116 fi
16117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16118 fi
16119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16120 # Binary search between lo and hi bounds.
16121 while test "x$ac_lo" != "x$ac_hi"; do
16122 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16123 cat >conftest.$ac_ext <<_ACEOF
16124 /* confdefs.h. */
16125 _ACEOF
16126 cat confdefs.h >>conftest.$ac_ext
16127 cat >>conftest.$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16129 $ac_includes_default
16130 int
16131 main ()
16132 {
16133 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16134 test_array [0] = 0
16135
16136 ;
16137 return 0;
16138 }
16139 _ACEOF
16140 rm -f conftest.$ac_objext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16142 (eval $ac_compile) 2>conftest.er1
16143 ac_status=$?
16144 grep -v '^ *+' conftest.er1 >conftest.err
16145 rm -f conftest.er1
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try='test -z "$ac_c_werror_flag"
16150 || test ! -s conftest.err'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try='test -s conftest.$ac_objext'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16159 ac_status=$?
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16162 ac_hi=$ac_mid
16163 else
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.$ac_ext >&5
16166
16167 ac_lo=`expr '(' $ac_mid ')' + 1`
16168 fi
16169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16170 done
16171 case $ac_lo in
16172 ?*) ac_cv_sizeof_short=$ac_lo;;
16173 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16174 See \`config.log' for more details." >&5
16175 echo "$as_me: error: cannot compute sizeof (short), 77
16176 See \`config.log' for more details." >&2;}
16177 { (exit 1); exit 1; }; } ;;
16178 esac
16179 else
16180 if test "$cross_compiling" = yes; then
16181 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: cannot run test program while cross compiling
16184 See \`config.log' for more details." >&2;}
16185 { (exit 1); exit 1; }; }
16186 else
16187 cat >conftest.$ac_ext <<_ACEOF
16188 /* confdefs.h. */
16189 _ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16193 $ac_includes_default
16194 long longval () { return (long) (sizeof (short)); }
16195 unsigned long ulongval () { return (long) (sizeof (short)); }
16196 #include <stdio.h>
16197 #include <stdlib.h>
16198 int
16199 main ()
16200 {
16201
16202 FILE *f = fopen ("conftest.val", "w");
16203 if (! f)
16204 exit (1);
16205 if (((long) (sizeof (short))) < 0)
16206 {
16207 long i = longval ();
16208 if (i != ((long) (sizeof (short))))
16209 exit (1);
16210 fprintf (f, "%ld\n", i);
16211 }
16212 else
16213 {
16214 unsigned long i = ulongval ();
16215 if (i != ((long) (sizeof (short))))
16216 exit (1);
16217 fprintf (f, "%lu\n", i);
16218 }
16219 exit (ferror (f) || fclose (f) != 0);
16220
16221 ;
16222 return 0;
16223 }
16224 _ACEOF
16225 rm -f conftest$ac_exeext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16227 (eval $ac_link) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_cv_sizeof_short=`cat conftest.val`
16237 else
16238 echo "$as_me: program exited with status $ac_status" >&5
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 ( exit $ac_status )
16243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16244 See \`config.log' for more details." >&5
16245 echo "$as_me: error: cannot compute sizeof (short), 77
16246 See \`config.log' for more details." >&2;}
16247 { (exit 1); exit 1; }; }
16248 fi
16249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16250 fi
16251 fi
16252 rm -f conftest.val
16253 else
16254 ac_cv_sizeof_short=0
16255 fi
16256 fi
16257 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16258 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16259 cat >>confdefs.h <<_ACEOF
16260 #define SIZEOF_SHORT $ac_cv_sizeof_short
16261 _ACEOF
16262
16263
16264 echo "$as_me:$LINENO: checking for void *" >&5
16265 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16266 if test "${ac_cv_type_void_p+set}" = set; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 else
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 $ac_includes_default
16276 int
16277 main ()
16278 {
16279 if ((void * *) 0)
16280 return 0;
16281 if (sizeof (void *))
16282 return 0;
16283 ;
16284 return 0;
16285 }
16286 _ACEOF
16287 rm -f conftest.$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_c_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_cv_type_void_p=yes
16310 else
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16313
16314 ac_cv_type_void_p=no
16315 fi
16316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16317 fi
16318 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16319 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16320
16321 echo "$as_me:$LINENO: checking size of void *" >&5
16322 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16323 if test "${ac_cv_sizeof_void_p+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 else
16326 if test "$ac_cv_type_void_p" = yes; then
16327 # The cast to unsigned long works around a bug in the HP C Compiler
16328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16330 # This bug is HP SR number 8606223364.
16331 if test "$cross_compiling" = yes; then
16332 # Depending upon the size, compute the lo and hi bounds.
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 $ac_includes_default
16340 int
16341 main ()
16342 {
16343 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16344 test_array [0] = 0
16345
16346 ;
16347 return 0;
16348 }
16349 _ACEOF
16350 rm -f conftest.$ac_objext
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>conftest.er1
16353 ac_status=$?
16354 grep -v '^ *+' conftest.er1 >conftest.err
16355 rm -f conftest.er1
16356 cat conftest.err >&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try='test -z "$ac_c_werror_flag"
16360 || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try='test -s conftest.$ac_objext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16372 ac_lo=0 ac_mid=0
16373 while :; do
16374 cat >conftest.$ac_ext <<_ACEOF
16375 /* confdefs.h. */
16376 _ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16381 int
16382 main ()
16383 {
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16385 test_array [0] = 0
16386
16387 ;
16388 return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16394 ac_status=$?
16395 grep -v '^ *+' conftest.er1 >conftest.err
16396 rm -f conftest.er1
16397 cat conftest.err >&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try='test -z "$ac_c_werror_flag"
16401 || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16404 ac_status=$?
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } &&
16407 { ac_try='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_hi=$ac_mid; break
16414 else
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16417
16418 ac_lo=`expr $ac_mid + 1`
16419 if test $ac_lo -le $ac_mid; then
16420 ac_lo= ac_hi=
16421 break
16422 fi
16423 ac_mid=`expr 2 '*' $ac_mid + 1`
16424 fi
16425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16426 done
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 cat >conftest.$ac_ext <<_ACEOF
16432 /* confdefs.h. */
16433 _ACEOF
16434 cat confdefs.h >>conftest.$ac_ext
16435 cat >>conftest.$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16437 $ac_includes_default
16438 int
16439 main ()
16440 {
16441 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16442 test_array [0] = 0
16443
16444 ;
16445 return 0;
16446 }
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>conftest.er1
16451 ac_status=$?
16452 grep -v '^ *+' conftest.er1 >conftest.err
16453 rm -f conftest.er1
16454 cat conftest.err >&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try='test -z "$ac_c_werror_flag"
16458 || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16461 ac_status=$?
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_hi=-1 ac_mid=-1
16471 while :; do
16472 cat >conftest.$ac_ext <<_ACEOF
16473 /* confdefs.h. */
16474 _ACEOF
16475 cat confdefs.h >>conftest.$ac_ext
16476 cat >>conftest.$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16479 int
16480 main ()
16481 {
16482 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16483 test_array [0] = 0
16484
16485 ;
16486 return 0;
16487 }
16488 _ACEOF
16489 rm -f conftest.$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16492 ac_status=$?
16493 grep -v '^ *+' conftest.er1 >conftest.err
16494 rm -f conftest.er1
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_lo=$ac_mid; break
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16515
16516 ac_hi=`expr '(' $ac_mid ')' - 1`
16517 if test $ac_mid -le $ac_hi; then
16518 ac_lo= ac_hi=
16519 break
16520 fi
16521 ac_mid=`expr 2 '*' $ac_mid`
16522 fi
16523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16524 done
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 ac_lo= ac_hi=
16530 fi
16531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16532 fi
16533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16534 # Binary search between lo and hi bounds.
16535 while test "x$ac_lo" != "x$ac_hi"; do
16536 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 $ac_includes_default
16544 int
16545 main ()
16546 {
16547 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16548 test_array [0] = 0
16549
16550 ;
16551 return 0;
16552 }
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16557 ac_status=$?
16558 grep -v '^ *+' conftest.er1 >conftest.err
16559 rm -f conftest.er1
16560 cat conftest.err >&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try='test -z "$ac_c_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 ac_hi=$ac_mid
16577 else
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16580
16581 ac_lo=`expr '(' $ac_mid ')' + 1`
16582 fi
16583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16584 done
16585 case $ac_lo in
16586 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16588 See \`config.log' for more details." >&5
16589 echo "$as_me: error: cannot compute sizeof (void *), 77
16590 See \`config.log' for more details." >&2;}
16591 { (exit 1); exit 1; }; } ;;
16592 esac
16593 else
16594 if test "$cross_compiling" = yes; then
16595 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot run test program while cross compiling
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16600 else
16601 cat >conftest.$ac_ext <<_ACEOF
16602 /* confdefs.h. */
16603 _ACEOF
16604 cat confdefs.h >>conftest.$ac_ext
16605 cat >>conftest.$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16608 long longval () { return (long) (sizeof (void *)); }
16609 unsigned long ulongval () { return (long) (sizeof (void *)); }
16610 #include <stdio.h>
16611 #include <stdlib.h>
16612 int
16613 main ()
16614 {
16615
16616 FILE *f = fopen ("conftest.val", "w");
16617 if (! f)
16618 exit (1);
16619 if (((long) (sizeof (void *))) < 0)
16620 {
16621 long i = longval ();
16622 if (i != ((long) (sizeof (void *))))
16623 exit (1);
16624 fprintf (f, "%ld\n", i);
16625 }
16626 else
16627 {
16628 unsigned long i = ulongval ();
16629 if (i != ((long) (sizeof (void *))))
16630 exit (1);
16631 fprintf (f, "%lu\n", i);
16632 }
16633 exit (ferror (f) || fclose (f) != 0);
16634
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest$ac_exeext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16641 (eval $ac_link) 2>&5
16642 ac_status=$?
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16647 ac_status=$?
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_cv_sizeof_void_p=`cat conftest.val`
16651 else
16652 echo "$as_me: program exited with status $ac_status" >&5
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16655
16656 ( exit $ac_status )
16657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16658 See \`config.log' for more details." >&5
16659 echo "$as_me: error: cannot compute sizeof (void *), 77
16660 See \`config.log' for more details." >&2;}
16661 { (exit 1); exit 1; }; }
16662 fi
16663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16664 fi
16665 fi
16666 rm -f conftest.val
16667 else
16668 ac_cv_sizeof_void_p=0
16669 fi
16670 fi
16671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16672 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16673 cat >>confdefs.h <<_ACEOF
16674 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16675 _ACEOF
16676
16677
16678 echo "$as_me:$LINENO: checking for int" >&5
16679 echo $ECHO_N "checking for int... $ECHO_C" >&6
16680 if test "${ac_cv_type_int+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 else
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 $ac_includes_default
16690 int
16691 main ()
16692 {
16693 if ((int *) 0)
16694 return 0;
16695 if (sizeof (int))
16696 return 0;
16697 ;
16698 return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest.$ac_objext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 ac_cv_type_int=yes
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ac_cv_type_int=no
16729 fi
16730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16731 fi
16732 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16733 echo "${ECHO_T}$ac_cv_type_int" >&6
16734
16735 echo "$as_me:$LINENO: checking size of int" >&5
16736 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16737 if test "${ac_cv_sizeof_int+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 else
16740 if test "$ac_cv_type_int" = yes; then
16741 # The cast to unsigned long works around a bug in the HP C Compiler
16742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16744 # This bug is HP SR number 8606223364.
16745 if test "$cross_compiling" = yes; then
16746 # Depending upon the size, compute the lo and hi bounds.
16747 cat >conftest.$ac_ext <<_ACEOF
16748 /* confdefs.h. */
16749 _ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 $ac_includes_default
16754 int
16755 main ()
16756 {
16757 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16758 test_array [0] = 0
16759
16760 ;
16761 return 0;
16762 }
16763 _ACEOF
16764 rm -f conftest.$ac_objext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16766 (eval $ac_compile) 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } &&
16773 { ac_try='test -z "$ac_c_werror_flag"
16774 || test ! -s conftest.err'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; } &&
16780 { ac_try='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16786 ac_lo=0 ac_mid=0
16787 while :; do
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 int
16796 main ()
16797 {
16798 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16799 test_array [0] = 0
16800
16801 ;
16802 return 0;
16803 }
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag"
16815 || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_hi=$ac_mid; break
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16831
16832 ac_lo=`expr $ac_mid + 1`
16833 if test $ac_lo -le $ac_mid; then
16834 ac_lo= ac_hi=
16835 break
16836 fi
16837 ac_mid=`expr 2 '*' $ac_mid + 1`
16838 fi
16839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16840 done
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 $ac_includes_default
16852 int
16853 main ()
16854 {
16855 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16856 test_array [0] = 0
16857
16858 ;
16859 return 0;
16860 }
16861 _ACEOF
16862 rm -f conftest.$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>conftest.er1
16865 ac_status=$?
16866 grep -v '^ *+' conftest.er1 >conftest.err
16867 rm -f conftest.er1
16868 cat conftest.err >&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -z "$ac_c_werror_flag"
16872 || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16875 ac_status=$?
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16881 ac_status=$?
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 ac_hi=-1 ac_mid=-1
16885 while :; do
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 $ac_includes_default
16893 int
16894 main ()
16895 {
16896 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16897 test_array [0] = 0
16898
16899 ;
16900 return 0;
16901 }
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try='test -z "$ac_c_werror_flag"
16913 || test ! -s conftest.err'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16916 ac_status=$?
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; } &&
16919 { ac_try='test -s conftest.$ac_objext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16922 ac_status=$?
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 ac_lo=$ac_mid; break
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16929
16930 ac_hi=`expr '(' $ac_mid ')' - 1`
16931 if test $ac_mid -le $ac_hi; then
16932 ac_lo= ac_hi=
16933 break
16934 fi
16935 ac_mid=`expr 2 '*' $ac_mid`
16936 fi
16937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16938 done
16939 else
16940 echo "$as_me: failed program was:" >&5
16941 sed 's/^/| /' conftest.$ac_ext >&5
16942
16943 ac_lo= ac_hi=
16944 fi
16945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16946 fi
16947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16948 # Binary search between lo and hi bounds.
16949 while test "x$ac_lo" != "x$ac_hi"; do
16950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16951 cat >conftest.$ac_ext <<_ACEOF
16952 /* confdefs.h. */
16953 _ACEOF
16954 cat confdefs.h >>conftest.$ac_ext
16955 cat >>conftest.$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 $ac_includes_default
16958 int
16959 main ()
16960 {
16961 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16962 test_array [0] = 0
16963
16964 ;
16965 return 0;
16966 }
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try='test -z "$ac_c_werror_flag"
16978 || test ! -s conftest.err'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16987 ac_status=$?
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16990 ac_hi=$ac_mid
16991 else
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.$ac_ext >&5
16994
16995 ac_lo=`expr '(' $ac_mid ')' + 1`
16996 fi
16997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16998 done
16999 case $ac_lo in
17000 ?*) ac_cv_sizeof_int=$ac_lo;;
17001 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; } ;;
17006 esac
17007 else
17008 if test "$cross_compiling" = yes; then
17009 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17010 See \`config.log' for more details." >&5
17011 echo "$as_me: error: cannot run test program while cross compiling
17012 See \`config.log' for more details." >&2;}
17013 { (exit 1); exit 1; }; }
17014 else
17015 cat >conftest.$ac_ext <<_ACEOF
17016 /* confdefs.h. */
17017 _ACEOF
17018 cat confdefs.h >>conftest.$ac_ext
17019 cat >>conftest.$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17021 $ac_includes_default
17022 long longval () { return (long) (sizeof (int)); }
17023 unsigned long ulongval () { return (long) (sizeof (int)); }
17024 #include <stdio.h>
17025 #include <stdlib.h>
17026 int
17027 main ()
17028 {
17029
17030 FILE *f = fopen ("conftest.val", "w");
17031 if (! f)
17032 exit (1);
17033 if (((long) (sizeof (int))) < 0)
17034 {
17035 long i = longval ();
17036 if (i != ((long) (sizeof (int))))
17037 exit (1);
17038 fprintf (f, "%ld\n", i);
17039 }
17040 else
17041 {
17042 unsigned long i = ulongval ();
17043 if (i != ((long) (sizeof (int))))
17044 exit (1);
17045 fprintf (f, "%lu\n", i);
17046 }
17047 exit (ferror (f) || fclose (f) != 0);
17048
17049 ;
17050 return 0;
17051 }
17052 _ACEOF
17053 rm -f conftest$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055 (eval $ac_link) 2>&5
17056 ac_status=$?
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17061 ac_status=$?
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; }; then
17064 ac_cv_sizeof_int=`cat conftest.val`
17065 else
17066 echo "$as_me: program exited with status $ac_status" >&5
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17069
17070 ( exit $ac_status )
17071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17072 See \`config.log' for more details." >&5
17073 echo "$as_me: error: cannot compute sizeof (int), 77
17074 See \`config.log' for more details." >&2;}
17075 { (exit 1); exit 1; }; }
17076 fi
17077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17078 fi
17079 fi
17080 rm -f conftest.val
17081 else
17082 ac_cv_sizeof_int=0
17083 fi
17084 fi
17085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17086 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17087 cat >>confdefs.h <<_ACEOF
17088 #define SIZEOF_INT $ac_cv_sizeof_int
17089 _ACEOF
17090
17091
17092 echo "$as_me:$LINENO: checking for long" >&5
17093 echo $ECHO_N "checking for long... $ECHO_C" >&6
17094 if test "${ac_cv_type_long+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 else
17097 cat >conftest.$ac_ext <<_ACEOF
17098 /* confdefs.h. */
17099 _ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103 $ac_includes_default
17104 int
17105 main ()
17106 {
17107 if ((long *) 0)
17108 return 0;
17109 if (sizeof (long))
17110 return 0;
17111 ;
17112 return 0;
17113 }
17114 _ACEOF
17115 rm -f conftest.$ac_objext
17116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17117 (eval $ac_compile) 2>conftest.er1
17118 ac_status=$?
17119 grep -v '^ *+' conftest.er1 >conftest.err
17120 rm -f conftest.er1
17121 cat conftest.err >&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } &&
17124 { ac_try='test -z "$ac_c_werror_flag"
17125 || test ! -s conftest.err'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17128 ac_status=$?
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; } &&
17131 { ac_try='test -s conftest.$ac_objext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17134 ac_status=$?
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_cv_type_long=yes
17138 else
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 ac_cv_type_long=no
17143 fi
17144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17145 fi
17146 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17147 echo "${ECHO_T}$ac_cv_type_long" >&6
17148
17149 echo "$as_me:$LINENO: checking size of long" >&5
17150 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17151 if test "${ac_cv_sizeof_long+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154 if test "$ac_cv_type_long" = yes; then
17155 # The cast to unsigned long works around a bug in the HP C Compiler
17156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17158 # This bug is HP SR number 8606223364.
17159 if test "$cross_compiling" = yes; then
17160 # Depending upon the size, compute the lo and hi bounds.
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17168 int
17169 main ()
17170 {
17171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17172 test_array [0] = 0
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_lo=0 ac_mid=0
17201 while :; do
17202 cat >conftest.$ac_ext <<_ACEOF
17203 /* confdefs.h. */
17204 _ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208 $ac_includes_default
17209 int
17210 main ()
17211 {
17212 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17213 test_array [0] = 0
17214
17215 ;
17216 return 0;
17217 }
17218 _ACEOF
17219 rm -f conftest.$ac_objext
17220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17221 (eval $ac_compile) 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try='test -z "$ac_c_werror_flag"
17229 || test ! -s conftest.err'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; } &&
17235 { ac_try='test -s conftest.$ac_objext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 ac_hi=$ac_mid; break
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17245
17246 ac_lo=`expr $ac_mid + 1`
17247 if test $ac_lo -le $ac_mid; then
17248 ac_lo= ac_hi=
17249 break
17250 fi
17251 ac_mid=`expr 2 '*' $ac_mid + 1`
17252 fi
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17254 done
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17258
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h. */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 $ac_includes_default
17266 int
17267 main ()
17268 {
17269 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17270 test_array [0] = 0
17271
17272 ;
17273 return 0;
17274 }
17275 _ACEOF
17276 rm -f conftest.$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278 (eval $ac_compile) 2>conftest.er1
17279 ac_status=$?
17280 grep -v '^ *+' conftest.er1 >conftest.err
17281 rm -f conftest.er1
17282 cat conftest.err >&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try='test -z "$ac_c_werror_flag"
17286 || test ! -s conftest.err'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17289 ac_status=$?
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try='test -s conftest.$ac_objext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17295 ac_status=$?
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17298 ac_hi=-1 ac_mid=-1
17299 while :; do
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17307 int
17308 main ()
17309 {
17310 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17311 test_array [0] = 0
17312
17313 ;
17314 return 0;
17315 }
17316 _ACEOF
17317 rm -f conftest.$ac_objext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319 (eval $ac_compile) 2>conftest.er1
17320 ac_status=$?
17321 grep -v '^ *+' conftest.er1 >conftest.err
17322 rm -f conftest.er1
17323 cat conftest.err >&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } &&
17326 { ac_try='test -z "$ac_c_werror_flag"
17327 || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try='test -s conftest.$ac_objext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17336 ac_status=$?
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 ac_lo=$ac_mid; break
17340 else
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17343
17344 ac_hi=`expr '(' $ac_mid ')' - 1`
17345 if test $ac_mid -le $ac_hi; then
17346 ac_lo= ac_hi=
17347 break
17348 fi
17349 ac_mid=`expr 2 '*' $ac_mid`
17350 fi
17351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17352 done
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 ac_lo= ac_hi=
17358 fi
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17360 fi
17361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17362 # Binary search between lo and hi bounds.
17363 while test "x$ac_lo" != "x$ac_hi"; do
17364 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 $ac_includes_default
17372 int
17373 main ()
17374 {
17375 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17376 test_array [0] = 0
17377
17378 ;
17379 return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_hi=$ac_mid
17405 else
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17408
17409 ac_lo=`expr '(' $ac_mid ')' + 1`
17410 fi
17411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17412 done
17413 case $ac_lo in
17414 ?*) ac_cv_sizeof_long=$ac_lo;;
17415 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17416 See \`config.log' for more details." >&5
17417 echo "$as_me: error: cannot compute sizeof (long), 77
17418 See \`config.log' for more details." >&2;}
17419 { (exit 1); exit 1; }; } ;;
17420 esac
17421 else
17422 if test "$cross_compiling" = yes; then
17423 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17424 See \`config.log' for more details." >&5
17425 echo "$as_me: error: cannot run test program while cross compiling
17426 See \`config.log' for more details." >&2;}
17427 { (exit 1); exit 1; }; }
17428 else
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 $ac_includes_default
17436 long longval () { return (long) (sizeof (long)); }
17437 unsigned long ulongval () { return (long) (sizeof (long)); }
17438 #include <stdio.h>
17439 #include <stdlib.h>
17440 int
17441 main ()
17442 {
17443
17444 FILE *f = fopen ("conftest.val", "w");
17445 if (! f)
17446 exit (1);
17447 if (((long) (sizeof (long))) < 0)
17448 {
17449 long i = longval ();
17450 if (i != ((long) (sizeof (long))))
17451 exit (1);
17452 fprintf (f, "%ld\n", i);
17453 }
17454 else
17455 {
17456 unsigned long i = ulongval ();
17457 if (i != ((long) (sizeof (long))))
17458 exit (1);
17459 fprintf (f, "%lu\n", i);
17460 }
17461 exit (ferror (f) || fclose (f) != 0);
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 rm -f conftest$ac_exeext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17469 (eval $ac_link) 2>&5
17470 ac_status=$?
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 ac_cv_sizeof_long=`cat conftest.val`
17479 else
17480 echo "$as_me: program exited with status $ac_status" >&5
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.$ac_ext >&5
17483
17484 ( exit $ac_status )
17485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17486 See \`config.log' for more details." >&5
17487 echo "$as_me: error: cannot compute sizeof (long), 77
17488 See \`config.log' for more details." >&2;}
17489 { (exit 1); exit 1; }; }
17490 fi
17491 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17492 fi
17493 fi
17494 rm -f conftest.val
17495 else
17496 ac_cv_sizeof_long=0
17497 fi
17498 fi
17499 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17500 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17501 cat >>confdefs.h <<_ACEOF
17502 #define SIZEOF_LONG $ac_cv_sizeof_long
17503 _ACEOF
17504
17505
17506 echo "$as_me:$LINENO: checking for size_t" >&5
17507 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17508 if test "${ac_cv_type_size_t+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 else
17511 cat >conftest.$ac_ext <<_ACEOF
17512 /* confdefs.h. */
17513 _ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17518 int
17519 main ()
17520 {
17521 if ((size_t *) 0)
17522 return 0;
17523 if (sizeof (size_t))
17524 return 0;
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17531 (eval $ac_compile) 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -z "$ac_c_werror_flag"
17539 || test ! -s conftest.err'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17542 ac_status=$?
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try='test -s conftest.$ac_objext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17548 ac_status=$?
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 ac_cv_type_size_t=yes
17552 else
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17555
17556 ac_cv_type_size_t=no
17557 fi
17558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17559 fi
17560 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17561 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17562
17563 echo "$as_me:$LINENO: checking size of size_t" >&5
17564 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17565 if test "${ac_cv_sizeof_size_t+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 else
17568 if test "$ac_cv_type_size_t" = yes; then
17569 # The cast to unsigned long works around a bug in the HP C Compiler
17570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17572 # This bug is HP SR number 8606223364.
17573 if test "$cross_compiling" = yes; then
17574 # Depending upon the size, compute the lo and hi bounds.
17575 cat >conftest.$ac_ext <<_ACEOF
17576 /* confdefs.h. */
17577 _ACEOF
17578 cat confdefs.h >>conftest.$ac_ext
17579 cat >>conftest.$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17582 int
17583 main ()
17584 {
17585 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17586 test_array [0] = 0
17587
17588 ;
17589 return 0;
17590 }
17591 _ACEOF
17592 rm -f conftest.$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_lo=0 ac_mid=0
17615 while :; do
17616 cat >conftest.$ac_ext <<_ACEOF
17617 /* confdefs.h. */
17618 _ACEOF
17619 cat confdefs.h >>conftest.$ac_ext
17620 cat >>conftest.$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 $ac_includes_default
17623 int
17624 main ()
17625 {
17626 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17627 test_array [0] = 0
17628
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } &&
17642 { ac_try='test -z "$ac_c_werror_flag"
17643 || test ! -s conftest.err'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17646 ac_status=$?
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; } &&
17649 { ac_try='test -s conftest.$ac_objext'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17652 ac_status=$?
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; }; then
17655 ac_hi=$ac_mid; break
17656 else
17657 echo "$as_me: failed program was:" >&5
17658 sed 's/^/| /' conftest.$ac_ext >&5
17659
17660 ac_lo=`expr $ac_mid + 1`
17661 if test $ac_lo -le $ac_mid; then
17662 ac_lo= ac_hi=
17663 break
17664 fi
17665 ac_mid=`expr 2 '*' $ac_mid + 1`
17666 fi
17667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17668 done
17669 else
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17672
17673 cat >conftest.$ac_ext <<_ACEOF
17674 /* confdefs.h. */
17675 _ACEOF
17676 cat confdefs.h >>conftest.$ac_ext
17677 cat >>conftest.$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17680 int
17681 main ()
17682 {
17683 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17684 test_array [0] = 0
17685
17686 ;
17687 return 0;
17688 }
17689 _ACEOF
17690 rm -f conftest.$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692 (eval $ac_compile) 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try='test -z "$ac_c_werror_flag"
17700 || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_hi=-1 ac_mid=-1
17713 while :; do
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720 $ac_includes_default
17721 int
17722 main ()
17723 {
17724 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17725 test_array [0] = 0
17726
17727 ;
17728 return 0;
17729 }
17730 _ACEOF
17731 rm -f conftest.$ac_objext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17733 (eval $ac_compile) 2>conftest.er1
17734 ac_status=$?
17735 grep -v '^ *+' conftest.er1 >conftest.err
17736 rm -f conftest.er1
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } &&
17740 { ac_try='test -z "$ac_c_werror_flag"
17741 || test ! -s conftest.err'
17742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 (eval $ac_try) 2>&5
17744 ac_status=$?
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; } &&
17747 { ac_try='test -s conftest.$ac_objext'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17753 ac_lo=$ac_mid; break
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_hi=`expr '(' $ac_mid ')' - 1`
17759 if test $ac_mid -le $ac_hi; then
17760 ac_lo= ac_hi=
17761 break
17762 fi
17763 ac_mid=`expr 2 '*' $ac_mid`
17764 fi
17765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17766 done
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 ac_lo= ac_hi=
17772 fi
17773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17774 fi
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17776 # Binary search between lo and hi bounds.
17777 while test "x$ac_lo" != "x$ac_hi"; do
17778 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17786 int
17787 main ()
17788 {
17789 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17790 test_array [0] = 0
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17799 ac_status=$?
17800 grep -v '^ *+' conftest.er1 >conftest.err
17801 rm -f conftest.er1
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try='test -z "$ac_c_werror_flag"
17806 || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17809 ac_status=$?
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try='test -s conftest.$ac_objext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 ac_hi=$ac_mid
17819 else
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.$ac_ext >&5
17822
17823 ac_lo=`expr '(' $ac_mid ')' + 1`
17824 fi
17825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17826 done
17827 case $ac_lo in
17828 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17830 See \`config.log' for more details." >&5
17831 echo "$as_me: error: cannot compute sizeof (size_t), 77
17832 See \`config.log' for more details." >&2;}
17833 { (exit 1); exit 1; }; } ;;
17834 esac
17835 else
17836 if test "$cross_compiling" = yes; then
17837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17838 See \`config.log' for more details." >&5
17839 echo "$as_me: error: cannot run test program while cross compiling
17840 See \`config.log' for more details." >&2;}
17841 { (exit 1); exit 1; }; }
17842 else
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 $ac_includes_default
17850 long longval () { return (long) (sizeof (size_t)); }
17851 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17852 #include <stdio.h>
17853 #include <stdlib.h>
17854 int
17855 main ()
17856 {
17857
17858 FILE *f = fopen ("conftest.val", "w");
17859 if (! f)
17860 exit (1);
17861 if (((long) (sizeof (size_t))) < 0)
17862 {
17863 long i = longval ();
17864 if (i != ((long) (sizeof (size_t))))
17865 exit (1);
17866 fprintf (f, "%ld\n", i);
17867 }
17868 else
17869 {
17870 unsigned long i = ulongval ();
17871 if (i != ((long) (sizeof (size_t))))
17872 exit (1);
17873 fprintf (f, "%lu\n", i);
17874 }
17875 exit (ferror (f) || fclose (f) != 0);
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest$ac_exeext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17883 (eval $ac_link) 2>&5
17884 ac_status=$?
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17889 ac_status=$?
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_cv_sizeof_size_t=`cat conftest.val`
17893 else
17894 echo "$as_me: program exited with status $ac_status" >&5
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.$ac_ext >&5
17897
17898 ( exit $ac_status )
17899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17900 See \`config.log' for more details." >&5
17901 echo "$as_me: error: cannot compute sizeof (size_t), 77
17902 See \`config.log' for more details." >&2;}
17903 { (exit 1); exit 1; }; }
17904 fi
17905 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17906 fi
17907 fi
17908 rm -f conftest.val
17909 else
17910 ac_cv_sizeof_size_t=0
17911 fi
17912 fi
17913 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17914 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17915 cat >>confdefs.h <<_ACEOF
17916 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17917 _ACEOF
17918
17919
17920
17921 case "${host}" in
17922 arm-*-linux* )
17923 echo "$as_me:$LINENO: checking for long long" >&5
17924 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17925 if test "${ac_cv_type_long_long+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 else
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17935 int
17936 main ()
17937 {
17938 if ((long long *) 0)
17939 return 0;
17940 if (sizeof (long long))
17941 return 0;
17942 ;
17943 return 0;
17944 }
17945 _ACEOF
17946 rm -f conftest.$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17949 ac_status=$?
17950 grep -v '^ *+' conftest.er1 >conftest.err
17951 rm -f conftest.er1
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try='test -z "$ac_c_werror_flag"
17956 || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17959 ac_status=$?
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17965 ac_status=$?
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 ac_cv_type_long_long=yes
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17972
17973 ac_cv_type_long_long=no
17974 fi
17975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17976 fi
17977 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17978 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17979
17980 echo "$as_me:$LINENO: checking size of long long" >&5
17981 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17982 if test "${ac_cv_sizeof_long_long+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 else
17985 if test "$ac_cv_type_long_long" = yes; then
17986 # The cast to unsigned long works around a bug in the HP C Compiler
17987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17989 # This bug is HP SR number 8606223364.
17990 if test "$cross_compiling" = yes; then
17991 # Depending upon the size, compute the lo and hi bounds.
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 int
18000 main ()
18001 {
18002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18003 test_array [0] = 0
18004
18005 ;
18006 return 0;
18007 }
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18012 ac_status=$?
18013 grep -v '^ *+' conftest.er1 >conftest.err
18014 rm -f conftest.er1
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try='test -z "$ac_c_werror_flag"
18019 || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try='test -s conftest.$ac_objext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18028 ac_status=$?
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18031 ac_lo=0 ac_mid=0
18032 while :; do
18033 cat >conftest.$ac_ext <<_ACEOF
18034 /* confdefs.h. */
18035 _ACEOF
18036 cat confdefs.h >>conftest.$ac_ext
18037 cat >>conftest.$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18040 int
18041 main ()
18042 {
18043 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18044 test_array [0] = 0
18045
18046 ;
18047 return 0;
18048 }
18049 _ACEOF
18050 rm -f conftest.$ac_objext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18052 (eval $ac_compile) 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try='test -z "$ac_c_werror_flag"
18060 || test ! -s conftest.err'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; } &&
18066 { ac_try='test -s conftest.$ac_objext'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18069 ac_status=$?
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 ac_hi=$ac_mid; break
18073 else
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18076
18077 ac_lo=`expr $ac_mid + 1`
18078 if test $ac_lo -le $ac_mid; then
18079 ac_lo= ac_hi=
18080 break
18081 fi
18082 ac_mid=`expr 2 '*' $ac_mid + 1`
18083 fi
18084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18085 done
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18089
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 int
18098 main ()
18099 {
18100 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18101 test_array [0] = 0
18102
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_c_werror_flag"
18117 || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 ac_hi=-1 ac_mid=-1
18130 while :; do
18131 cat >conftest.$ac_ext <<_ACEOF
18132 /* confdefs.h. */
18133 _ACEOF
18134 cat confdefs.h >>conftest.$ac_ext
18135 cat >>conftest.$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 $ac_includes_default
18138 int
18139 main ()
18140 {
18141 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18142 test_array [0] = 0
18143
18144 ;
18145 return 0;
18146 }
18147 _ACEOF
18148 rm -f conftest.$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>conftest.er1
18151 ac_status=$?
18152 grep -v '^ *+' conftest.er1 >conftest.err
18153 rm -f conftest.er1
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try='test -z "$ac_c_werror_flag"
18158 || test ! -s conftest.err'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18167 ac_status=$?
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 ac_lo=$ac_mid; break
18171 else
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.$ac_ext >&5
18174
18175 ac_hi=`expr '(' $ac_mid ')' - 1`
18176 if test $ac_mid -le $ac_hi; then
18177 ac_lo= ac_hi=
18178 break
18179 fi
18180 ac_mid=`expr 2 '*' $ac_mid`
18181 fi
18182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18183 done
18184 else
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.$ac_ext >&5
18187
18188 ac_lo= ac_hi=
18189 fi
18190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18191 fi
18192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18193 # Binary search between lo and hi bounds.
18194 while test "x$ac_lo" != "x$ac_hi"; do
18195 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 int
18204 main ()
18205 {
18206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18207 test_array [0] = 0
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 ac_hi=$ac_mid
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18239
18240 ac_lo=`expr '(' $ac_mid ')' + 1`
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 done
18244 case $ac_lo in
18245 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18246 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18247 See \`config.log' for more details." >&5
18248 echo "$as_me: error: cannot compute sizeof (long long), 77
18249 See \`config.log' for more details." >&2;}
18250 { (exit 1); exit 1; }; } ;;
18251 esac
18252 else
18253 if test "$cross_compiling" = yes; then
18254 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18255 See \`config.log' for more details." >&5
18256 echo "$as_me: error: cannot run test program while cross compiling
18257 See \`config.log' for more details." >&2;}
18258 { (exit 1); exit 1; }; }
18259 else
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $ac_includes_default
18267 long longval () { return (long) (sizeof (long long)); }
18268 unsigned long ulongval () { return (long) (sizeof (long long)); }
18269 #include <stdio.h>
18270 #include <stdlib.h>
18271 int
18272 main ()
18273 {
18274
18275 FILE *f = fopen ("conftest.val", "w");
18276 if (! f)
18277 exit (1);
18278 if (((long) (sizeof (long long))) < 0)
18279 {
18280 long i = longval ();
18281 if (i != ((long) (sizeof (long long))))
18282 exit (1);
18283 fprintf (f, "%ld\n", i);
18284 }
18285 else
18286 {
18287 unsigned long i = ulongval ();
18288 if (i != ((long) (sizeof (long long))))
18289 exit (1);
18290 fprintf (f, "%lu\n", i);
18291 }
18292 exit (ferror (f) || fclose (f) != 0);
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 rm -f conftest$ac_exeext
18299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18300 (eval $ac_link) 2>&5
18301 ac_status=$?
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18306 ac_status=$?
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; }; then
18309 ac_cv_sizeof_long_long=`cat conftest.val`
18310 else
18311 echo "$as_me: program exited with status $ac_status" >&5
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18314
18315 ( exit $ac_status )
18316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18317 See \`config.log' for more details." >&5
18318 echo "$as_me: error: cannot compute sizeof (long long), 77
18319 See \`config.log' for more details." >&2;}
18320 { (exit 1); exit 1; }; }
18321 fi
18322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18323 fi
18324 fi
18325 rm -f conftest.val
18326 else
18327 ac_cv_sizeof_long_long=0
18328 fi
18329 fi
18330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18331 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18332 cat >>confdefs.h <<_ACEOF
18333 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18334 _ACEOF
18335
18336
18337 ;;
18338 *-hp-hpux* )
18339 echo "$as_me:$LINENO: checking for long long" >&5
18340 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18341 if test "${ac_cv_type_long_long+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 else
18344 cat >conftest.$ac_ext <<_ACEOF
18345 /* confdefs.h. */
18346 _ACEOF
18347 cat confdefs.h >>conftest.$ac_ext
18348 cat >>conftest.$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18351 int
18352 main ()
18353 {
18354 if ((long long *) 0)
18355 return 0;
18356 if (sizeof (long long))
18357 return 0;
18358 ;
18359 return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18365 ac_status=$?
18366 grep -v '^ *+' conftest.er1 >conftest.err
18367 rm -f conftest.er1
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_c_werror_flag"
18372 || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try='test -s conftest.$ac_objext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 ac_cv_type_long_long=yes
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 ac_cv_type_long_long=no
18390 fi
18391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18392 fi
18393 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18394 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18395
18396 echo "$as_me:$LINENO: checking size of long long" >&5
18397 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18398 if test "${ac_cv_sizeof_long_long+set}" = set; then
18399 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 else
18401 if test "$ac_cv_type_long_long" = yes; then
18402 # The cast to unsigned long works around a bug in the HP C Compiler
18403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18405 # This bug is HP SR number 8606223364.
18406 if test "$cross_compiling" = yes; then
18407 # Depending upon the size, compute the lo and hi bounds.
18408 cat >conftest.$ac_ext <<_ACEOF
18409 /* confdefs.h. */
18410 _ACEOF
18411 cat confdefs.h >>conftest.$ac_ext
18412 cat >>conftest.$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18414 $ac_includes_default
18415 int
18416 main ()
18417 {
18418 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18419 test_array [0] = 0
18420
18421 ;
18422 return 0;
18423 }
18424 _ACEOF
18425 rm -f conftest.$ac_objext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18427 (eval $ac_compile) 2>conftest.er1
18428 ac_status=$?
18429 grep -v '^ *+' conftest.er1 >conftest.err
18430 rm -f conftest.er1
18431 cat conftest.err >&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } &&
18434 { ac_try='test -z "$ac_c_werror_flag"
18435 || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18438 ac_status=$?
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18444 ac_status=$?
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18447 ac_lo=0 ac_mid=0
18448 while :; do
18449 cat >conftest.$ac_ext <<_ACEOF
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18456 int
18457 main ()
18458 {
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18460 test_array [0] = 0
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try='test -z "$ac_c_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 ac_hi=$ac_mid; break
18489 else
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18492
18493 ac_lo=`expr $ac_mid + 1`
18494 if test $ac_lo -le $ac_mid; then
18495 ac_lo= ac_hi=
18496 break
18497 fi
18498 ac_mid=`expr 2 '*' $ac_mid + 1`
18499 fi
18500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18501 done
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18505
18506 cat >conftest.$ac_ext <<_ACEOF
18507 /* confdefs.h. */
18508 _ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 $ac_includes_default
18513 int
18514 main ()
18515 {
18516 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18517 test_array [0] = 0
18518
18519 ;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest.$ac_objext
18524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18525 (eval $ac_compile) 2>conftest.er1
18526 ac_status=$?
18527 grep -v '^ *+' conftest.er1 >conftest.err
18528 rm -f conftest.er1
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try='test -z "$ac_c_werror_flag"
18533 || test ! -s conftest.err'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18536 ac_status=$?
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; } &&
18539 { ac_try='test -s conftest.$ac_objext'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18542 ac_status=$?
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18545 ac_hi=-1 ac_mid=-1
18546 while :; do
18547 cat >conftest.$ac_ext <<_ACEOF
18548 /* confdefs.h. */
18549 _ACEOF
18550 cat confdefs.h >>conftest.$ac_ext
18551 cat >>conftest.$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553 $ac_includes_default
18554 int
18555 main ()
18556 {
18557 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18558 test_array [0] = 0
18559
18560 ;
18561 return 0;
18562 }
18563 _ACEOF
18564 rm -f conftest.$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try='test -z "$ac_c_werror_flag"
18574 || test ! -s conftest.err'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; } &&
18580 { ac_try='test -s conftest.$ac_objext'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18583 ac_status=$?
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; }; then
18586 ac_lo=$ac_mid; break
18587 else
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.$ac_ext >&5
18590
18591 ac_hi=`expr '(' $ac_mid ')' - 1`
18592 if test $ac_mid -le $ac_hi; then
18593 ac_lo= ac_hi=
18594 break
18595 fi
18596 ac_mid=`expr 2 '*' $ac_mid`
18597 fi
18598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18599 done
18600 else
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18603
18604 ac_lo= ac_hi=
18605 fi
18606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18607 fi
18608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18609 # Binary search between lo and hi bounds.
18610 while test "x$ac_lo" != "x$ac_hi"; do
18611 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18619 int
18620 main ()
18621 {
18622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18623 test_array [0] = 0
18624
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18642 ac_status=$?
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_hi=$ac_mid
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18655
18656 ac_lo=`expr '(' $ac_mid ')' + 1`
18657 fi
18658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18659 done
18660 case $ac_lo in
18661 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18662 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18663 See \`config.log' for more details." >&5
18664 echo "$as_me: error: cannot compute sizeof (long long), 77
18665 See \`config.log' for more details." >&2;}
18666 { (exit 1); exit 1; }; } ;;
18667 esac
18668 else
18669 if test "$cross_compiling" = yes; then
18670 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18671 See \`config.log' for more details." >&5
18672 echo "$as_me: error: cannot run test program while cross compiling
18673 See \`config.log' for more details." >&2;}
18674 { (exit 1); exit 1; }; }
18675 else
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18683 long longval () { return (long) (sizeof (long long)); }
18684 unsigned long ulongval () { return (long) (sizeof (long long)); }
18685 #include <stdio.h>
18686 #include <stdlib.h>
18687 int
18688 main ()
18689 {
18690
18691 FILE *f = fopen ("conftest.val", "w");
18692 if (! f)
18693 exit (1);
18694 if (((long) (sizeof (long long))) < 0)
18695 {
18696 long i = longval ();
18697 if (i != ((long) (sizeof (long long))))
18698 exit (1);
18699 fprintf (f, "%ld\n", i);
18700 }
18701 else
18702 {
18703 unsigned long i = ulongval ();
18704 if (i != ((long) (sizeof (long long))))
18705 exit (1);
18706 fprintf (f, "%lu\n", i);
18707 }
18708 exit (ferror (f) || fclose (f) != 0);
18709
18710 ;
18711 return 0;
18712 }
18713 _ACEOF
18714 rm -f conftest$ac_exeext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18716 (eval $ac_link) 2>&5
18717 ac_status=$?
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_sizeof_long_long=`cat conftest.val`
18726 else
18727 echo "$as_me: program exited with status $ac_status" >&5
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 ( exit $ac_status )
18732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18733 See \`config.log' for more details." >&5
18734 echo "$as_me: error: cannot compute sizeof (long long), 77
18735 See \`config.log' for more details." >&2;}
18736 { (exit 1); exit 1; }; }
18737 fi
18738 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18739 fi
18740 fi
18741 rm -f conftest.val
18742 else
18743 ac_cv_sizeof_long_long=0
18744 fi
18745 fi
18746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18747 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18748 cat >>confdefs.h <<_ACEOF
18749 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18750 _ACEOF
18751
18752
18753 if test "$ac_cv_sizeof_long_long" != "0"; then
18754 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18755 fi
18756 ;;
18757 * )
18758 echo "$as_me:$LINENO: checking for long long" >&5
18759 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18760 if test "${ac_cv_type_long_long+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 else
18763 cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h. */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18770 int
18771 main ()
18772 {
18773 if ((long long *) 0)
18774 return 0;
18775 if (sizeof (long long))
18776 return 0;
18777 ;
18778 return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_c_werror_flag"
18791 || test ! -s conftest.err'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; } &&
18797 { ac_try='test -s conftest.$ac_objext'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18800 ac_status=$?
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; }; then
18803 ac_cv_type_long_long=yes
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18807
18808 ac_cv_type_long_long=no
18809 fi
18810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18811 fi
18812 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18813 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18814
18815 echo "$as_me:$LINENO: checking size of long long" >&5
18816 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18817 if test "${ac_cv_sizeof_long_long+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 else
18820 if test "$ac_cv_type_long_long" = yes; then
18821 # The cast to unsigned long works around a bug in the HP C Compiler
18822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18824 # This bug is HP SR number 8606223364.
18825 if test "$cross_compiling" = yes; then
18826 # Depending upon the size, compute the lo and hi bounds.
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18834 int
18835 main ()
18836 {
18837 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18838 test_array [0] = 0
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18857 ac_status=$?
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18866 ac_lo=0 ac_mid=0
18867 while :; do
18868 cat >conftest.$ac_ext <<_ACEOF
18869 /* confdefs.h. */
18870 _ACEOF
18871 cat confdefs.h >>conftest.$ac_ext
18872 cat >>conftest.$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 $ac_includes_default
18875 int
18876 main ()
18877 {
18878 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18879 test_array [0] = 0
18880
18881 ;
18882 return 0;
18883 }
18884 _ACEOF
18885 rm -f conftest.$ac_objext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18887 (eval $ac_compile) 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_hi=$ac_mid; break
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18911
18912 ac_lo=`expr $ac_mid + 1`
18913 if test $ac_lo -le $ac_mid; then
18914 ac_lo= ac_hi=
18915 break
18916 fi
18917 ac_mid=`expr 2 '*' $ac_mid + 1`
18918 fi
18919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18920 done
18921 else
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18924
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18932 int
18933 main ()
18934 {
18935 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18936 test_array [0] = 0
18937
18938 ;
18939 return 0;
18940 }
18941 _ACEOF
18942 rm -f conftest.$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18945 ac_status=$?
18946 grep -v '^ *+' conftest.er1 >conftest.err
18947 rm -f conftest.er1
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_hi=-1 ac_mid=-1
18965 while :; do
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973 int
18974 main ()
18975 {
18976 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18977 test_array [0] = 0
18978
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18986 ac_status=$?
18987 grep -v '^ *+' conftest.er1 >conftest.err
18988 rm -f conftest.er1
18989 cat conftest.err >&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try='test -z "$ac_c_werror_flag"
18993 || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_lo=$ac_mid; break
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19009
19010 ac_hi=`expr '(' $ac_mid ')' - 1`
19011 if test $ac_mid -le $ac_hi; then
19012 ac_lo= ac_hi=
19013 break
19014 fi
19015 ac_mid=`expr 2 '*' $ac_mid`
19016 fi
19017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19018 done
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19022
19023 ac_lo= ac_hi=
19024 fi
19025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19026 fi
19027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19028 # Binary search between lo and hi bounds.
19029 while test "x$ac_lo" != "x$ac_hi"; do
19030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19031 cat >conftest.$ac_ext <<_ACEOF
19032 /* confdefs.h. */
19033 _ACEOF
19034 cat confdefs.h >>conftest.$ac_ext
19035 cat >>conftest.$ac_ext <<_ACEOF
19036 /* end confdefs.h. */
19037 $ac_includes_default
19038 int
19039 main ()
19040 {
19041 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19042 test_array [0] = 0
19043
19044 ;
19045 return 0;
19046 }
19047 _ACEOF
19048 rm -f conftest.$ac_objext
19049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19050 (eval $ac_compile) 2>conftest.er1
19051 ac_status=$?
19052 grep -v '^ *+' conftest.er1 >conftest.err
19053 rm -f conftest.er1
19054 cat conftest.err >&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); } &&
19057 { ac_try='test -z "$ac_c_werror_flag"
19058 || test ! -s conftest.err'
19059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19060 (eval $ac_try) 2>&5
19061 ac_status=$?
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); }; } &&
19064 { ac_try='test -s conftest.$ac_objext'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19070 ac_hi=$ac_mid
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19074
19075 ac_lo=`expr '(' $ac_mid ')' + 1`
19076 fi
19077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19078 done
19079 case $ac_lo in
19080 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19081 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19082 See \`config.log' for more details." >&5
19083 echo "$as_me: error: cannot compute sizeof (long long), 77
19084 See \`config.log' for more details." >&2;}
19085 { (exit 1); exit 1; }; } ;;
19086 esac
19087 else
19088 if test "$cross_compiling" = yes; then
19089 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19090 See \`config.log' for more details." >&5
19091 echo "$as_me: error: cannot run test program while cross compiling
19092 See \`config.log' for more details." >&2;}
19093 { (exit 1); exit 1; }; }
19094 else
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 long longval () { return (long) (sizeof (long long)); }
19103 unsigned long ulongval () { return (long) (sizeof (long long)); }
19104 #include <stdio.h>
19105 #include <stdlib.h>
19106 int
19107 main ()
19108 {
19109
19110 FILE *f = fopen ("conftest.val", "w");
19111 if (! f)
19112 exit (1);
19113 if (((long) (sizeof (long long))) < 0)
19114 {
19115 long i = longval ();
19116 if (i != ((long) (sizeof (long long))))
19117 exit (1);
19118 fprintf (f, "%ld\n", i);
19119 }
19120 else
19121 {
19122 unsigned long i = ulongval ();
19123 if (i != ((long) (sizeof (long long))))
19124 exit (1);
19125 fprintf (f, "%lu\n", i);
19126 }
19127 exit (ferror (f) || fclose (f) != 0);
19128
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest$ac_exeext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19135 (eval $ac_link) 2>&5
19136 ac_status=$?
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; }; then
19144 ac_cv_sizeof_long_long=`cat conftest.val`
19145 else
19146 echo "$as_me: program exited with status $ac_status" >&5
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19149
19150 ( exit $ac_status )
19151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19152 See \`config.log' for more details." >&5
19153 echo "$as_me: error: cannot compute sizeof (long long), 77
19154 See \`config.log' for more details." >&2;}
19155 { (exit 1); exit 1; }; }
19156 fi
19157 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19158 fi
19159 fi
19160 rm -f conftest.val
19161 else
19162 ac_cv_sizeof_long_long=0
19163 fi
19164 fi
19165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19166 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19167 cat >>confdefs.h <<_ACEOF
19168 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19169 _ACEOF
19170
19171
19172 esac
19173
19174 echo "$as_me:$LINENO: checking for wchar_t" >&5
19175 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19176 if test "${ac_cv_type_wchar_t+set}" = set; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 else
19179 cat >conftest.$ac_ext <<_ACEOF
19180 /* confdefs.h. */
19181 _ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19185
19186 /* DJGPP only has fake wchar_t: */
19187 #ifdef __DJGPP__
19188 # error "fake wchar_t"
19189 #endif
19190 #ifdef HAVE_WCHAR_H
19191 # ifdef __CYGWIN__
19192 # include <stddef.h>
19193 # endif
19194 # include <wchar.h>
19195 #endif
19196 #ifdef HAVE_STDLIB_H
19197 # include <stdlib.h>
19198 #endif
19199 #include <stdio.h>
19200
19201
19202
19203 int
19204 main ()
19205 {
19206 if ((wchar_t *) 0)
19207 return 0;
19208 if (sizeof (wchar_t))
19209 return 0;
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try='test -z "$ac_c_werror_flag"
19224 || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try='test -s conftest.$ac_objext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 ac_cv_type_wchar_t=yes
19237 else
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19240
19241 ac_cv_type_wchar_t=no
19242 fi
19243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19244 fi
19245 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19246 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19247
19248 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19249 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19250 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19251 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 else
19253 if test "$ac_cv_type_wchar_t" = yes; then
19254 # The cast to unsigned long works around a bug in the HP C Compiler
19255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19257 # This bug is HP SR number 8606223364.
19258 if test "$cross_compiling" = yes; then
19259 # Depending upon the size, compute the lo and hi bounds.
19260 cat >conftest.$ac_ext <<_ACEOF
19261 /* confdefs.h. */
19262 _ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266
19267 /* DJGPP only has fake wchar_t: */
19268 #ifdef __DJGPP__
19269 # error "fake wchar_t"
19270 #endif
19271 #ifdef HAVE_WCHAR_H
19272 # ifdef __CYGWIN__
19273 # include <stddef.h>
19274 # endif
19275 # include <wchar.h>
19276 #endif
19277 #ifdef HAVE_STDLIB_H
19278 # include <stdlib.h>
19279 #endif
19280 #include <stdio.h>
19281
19282
19283
19284 int
19285 main ()
19286 {
19287 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19288 test_array [0] = 0
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19296 (eval $ac_compile) 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try='test -z "$ac_c_werror_flag"
19304 || test ! -s conftest.err'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; } &&
19310 { ac_try='test -s conftest.$ac_objext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19313 ac_status=$?
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 ac_lo=0 ac_mid=0
19317 while :; do
19318 cat >conftest.$ac_ext <<_ACEOF
19319 /* confdefs.h. */
19320 _ACEOF
19321 cat confdefs.h >>conftest.$ac_ext
19322 cat >>conftest.$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324
19325 /* DJGPP only has fake wchar_t: */
19326 #ifdef __DJGPP__
19327 # error "fake wchar_t"
19328 #endif
19329 #ifdef HAVE_WCHAR_H
19330 # ifdef __CYGWIN__
19331 # include <stddef.h>
19332 # endif
19333 # include <wchar.h>
19334 #endif
19335 #ifdef HAVE_STDLIB_H
19336 # include <stdlib.h>
19337 #endif
19338 #include <stdio.h>
19339
19340
19341
19342 int
19343 main ()
19344 {
19345 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19346 test_array [0] = 0
19347
19348 ;
19349 return 0;
19350 }
19351 _ACEOF
19352 rm -f conftest.$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_c_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_hi=$ac_mid; break
19375 else
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.$ac_ext >&5
19378
19379 ac_lo=`expr $ac_mid + 1`
19380 if test $ac_lo -le $ac_mid; then
19381 ac_lo= ac_hi=
19382 break
19383 fi
19384 ac_mid=`expr 2 '*' $ac_mid + 1`
19385 fi
19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19387 done
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19391
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398
19399 /* DJGPP only has fake wchar_t: */
19400 #ifdef __DJGPP__
19401 # error "fake wchar_t"
19402 #endif
19403 #ifdef HAVE_WCHAR_H
19404 # ifdef __CYGWIN__
19405 # include <stddef.h>
19406 # endif
19407 # include <wchar.h>
19408 #endif
19409 #ifdef HAVE_STDLIB_H
19410 # include <stdlib.h>
19411 #endif
19412 #include <stdio.h>
19413
19414
19415
19416 int
19417 main ()
19418 {
19419 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19420 test_array [0] = 0
19421
19422 ;
19423 return 0;
19424 }
19425 _ACEOF
19426 rm -f conftest.$ac_objext
19427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19428 (eval $ac_compile) 2>conftest.er1
19429 ac_status=$?
19430 grep -v '^ *+' conftest.er1 >conftest.err
19431 rm -f conftest.er1
19432 cat conftest.err >&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -z "$ac_c_werror_flag"
19436 || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi=-1 ac_mid=-1
19449 while :; do
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456
19457 /* DJGPP only has fake wchar_t: */
19458 #ifdef __DJGPP__
19459 # error "fake wchar_t"
19460 #endif
19461 #ifdef HAVE_WCHAR_H
19462 # ifdef __CYGWIN__
19463 # include <stddef.h>
19464 # endif
19465 # include <wchar.h>
19466 #endif
19467 #ifdef HAVE_STDLIB_H
19468 # include <stdlib.h>
19469 #endif
19470 #include <stdio.h>
19471
19472
19473
19474 int
19475 main ()
19476 {
19477 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19478 test_array [0] = 0
19479
19480 ;
19481 return 0;
19482 }
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19486 (eval $ac_compile) 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } &&
19493 { ac_try='test -z "$ac_c_werror_flag"
19494 || test ! -s conftest.err'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; } &&
19500 { ac_try='test -s conftest.$ac_objext'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19503 ac_status=$?
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; }; then
19506 ac_lo=$ac_mid; break
19507 else
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19510
19511 ac_hi=`expr '(' $ac_mid ')' - 1`
19512 if test $ac_mid -le $ac_hi; then
19513 ac_lo= ac_hi=
19514 break
19515 fi
19516 ac_mid=`expr 2 '*' $ac_mid`
19517 fi
19518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19519 done
19520 else
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 ac_lo= ac_hi=
19525 fi
19526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19527 fi
19528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19529 # Binary search between lo and hi bounds.
19530 while test "x$ac_lo" != "x$ac_hi"; do
19531 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538
19539 /* DJGPP only has fake wchar_t: */
19540 #ifdef __DJGPP__
19541 # error "fake wchar_t"
19542 #endif
19543 #ifdef HAVE_WCHAR_H
19544 # ifdef __CYGWIN__
19545 # include <stddef.h>
19546 # endif
19547 # include <wchar.h>
19548 #endif
19549 #ifdef HAVE_STDLIB_H
19550 # include <stdlib.h>
19551 #endif
19552 #include <stdio.h>
19553
19554
19555
19556 int
19557 main ()
19558 {
19559 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19560 test_array [0] = 0
19561
19562 ;
19563 return 0;
19564 }
19565 _ACEOF
19566 rm -f conftest.$ac_objext
19567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19568 (eval $ac_compile) 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try='test -z "$ac_c_werror_flag"
19576 || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19588 ac_hi=$ac_mid
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593 ac_lo=`expr '(' $ac_mid ')' + 1`
19594 fi
19595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19596 done
19597 case $ac_lo in
19598 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19599 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19600 See \`config.log' for more details." >&5
19601 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19602 See \`config.log' for more details." >&2;}
19603 { (exit 1); exit 1; }; } ;;
19604 esac
19605 else
19606 if test "$cross_compiling" = yes; then
19607 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19608 See \`config.log' for more details." >&5
19609 echo "$as_me: error: cannot run test program while cross compiling
19610 See \`config.log' for more details." >&2;}
19611 { (exit 1); exit 1; }; }
19612 else
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619
19620 /* DJGPP only has fake wchar_t: */
19621 #ifdef __DJGPP__
19622 # error "fake wchar_t"
19623 #endif
19624 #ifdef HAVE_WCHAR_H
19625 # ifdef __CYGWIN__
19626 # include <stddef.h>
19627 # endif
19628 # include <wchar.h>
19629 #endif
19630 #ifdef HAVE_STDLIB_H
19631 # include <stdlib.h>
19632 #endif
19633 #include <stdio.h>
19634
19635
19636
19637 long longval () { return (long) (sizeof (wchar_t)); }
19638 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19639 #include <stdio.h>
19640 #include <stdlib.h>
19641 int
19642 main ()
19643 {
19644
19645 FILE *f = fopen ("conftest.val", "w");
19646 if (! f)
19647 exit (1);
19648 if (((long) (sizeof (wchar_t))) < 0)
19649 {
19650 long i = longval ();
19651 if (i != ((long) (sizeof (wchar_t))))
19652 exit (1);
19653 fprintf (f, "%ld\n", i);
19654 }
19655 else
19656 {
19657 unsigned long i = ulongval ();
19658 if (i != ((long) (sizeof (wchar_t))))
19659 exit (1);
19660 fprintf (f, "%lu\n", i);
19661 }
19662 exit (ferror (f) || fclose (f) != 0);
19663
19664 ;
19665 return 0;
19666 }
19667 _ACEOF
19668 rm -f conftest$ac_exeext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19670 (eval $ac_link) 2>&5
19671 ac_status=$?
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19676 ac_status=$?
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_cv_sizeof_wchar_t=`cat conftest.val`
19680 else
19681 echo "$as_me: program exited with status $ac_status" >&5
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19684
19685 ( exit $ac_status )
19686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19687 See \`config.log' for more details." >&5
19688 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19689 See \`config.log' for more details." >&2;}
19690 { (exit 1); exit 1; }; }
19691 fi
19692 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19693 fi
19694 fi
19695 rm -f conftest.val
19696 else
19697 ac_cv_sizeof_wchar_t=0
19698 fi
19699 fi
19700 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19701 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19702 cat >>confdefs.h <<_ACEOF
19703 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19704 _ACEOF
19705
19706
19707
19708 echo "$as_me:$LINENO: checking for va_copy" >&5
19709 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19710 if test "${wx_cv_func_va_copy+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 else
19713
19714 cat >conftest.$ac_ext <<_ACEOF
19715
19716 #include <stdarg.h>
19717 void foo(char *f, ...)
19718 {
19719 va_list ap1, ap2;
19720 va_start(ap1, f);
19721 va_copy(ap2, ap1);
19722 va_end(ap2);
19723 va_end(ap1);
19724 }
19725 int main()
19726 {
19727 foo("hi", 17);
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext conftest$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733 (eval $ac_link) 2>conftest.er1
19734 ac_status=$?
19735 grep -v '^ *+' conftest.er1 >conftest.err
19736 rm -f conftest.er1
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try='test -z "$ac_c_werror_flag"
19741 || test ! -s conftest.err'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19750 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 wx_cv_func_va_copy=yes
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 wx_cv_func_va_copy=no
19759
19760 fi
19761 rm -f conftest.err conftest.$ac_objext \
19762 conftest$ac_exeext conftest.$ac_ext
19763
19764
19765 fi
19766 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19767 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19768
19769 if test $wx_cv_func_va_copy = "yes"; then
19770 cat >>confdefs.h <<\_ACEOF
19771 #define HAVE_VA_COPY 1
19772 _ACEOF
19773
19774 else
19775 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19776 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19777 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780
19781 if test "$cross_compiling" = yes; then
19782 wx_cv_type_va_list_lvalue=yes
19783
19784 else
19785 cat >conftest.$ac_ext <<_ACEOF
19786
19787 #include <stdarg.h>
19788 int foo(char *f, ...)
19789 {
19790 va_list ap1, ap2;
19791 va_start(ap1, f);
19792 ap2 = ap1;
19793 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19794 return 1;
19795 va_end(ap2);
19796 va_end(ap1);
19797 return 0;
19798 }
19799 int main()
19800 {
19801 return foo("hi", 17);
19802 }
19803 _ACEOF
19804 rm -f conftest$ac_exeext
19805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19806 (eval $ac_link) 2>&5
19807 ac_status=$?
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 wx_cv_type_va_list_lvalue=yes
19816 else
19817 echo "$as_me: program exited with status $ac_status" >&5
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 ( exit $ac_status )
19822 wx_cv_type_va_list_lvalue=no
19823 fi
19824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19825 fi
19826
19827
19828 fi
19829 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19830 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19831
19832 if test $wx_cv_type_va_list_lvalue != "yes"; then
19833 cat >>confdefs.h <<\_ACEOF
19834 #define VA_LIST_IS_ARRAY 1
19835 _ACEOF
19836
19837 fi
19838 fi
19839
19840 # Check whether --enable-largefile or --disable-largefile was given.
19841 if test "${enable_largefile+set}" = set; then
19842 enableval="$enable_largefile"
19843
19844 fi;
19845 if test "$enable_largefile" != no; then
19846 wx_largefile=no
19847
19848 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 #define _FILE_OFFSET_BITS 64
19861 #include <sys/types.h>
19862 int
19863 main ()
19864 {
19865 typedef struct {
19866 unsigned int field: sizeof(off_t) == 8;
19867 } wxlf;
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19875 (eval $ac_compile) 2>conftest.er1
19876 ac_status=$?
19877 grep -v '^ *+' conftest.er1 >conftest.err
19878 rm -f conftest.er1
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19886 ac_status=$?
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_sys_file_offset_bits=64
19896 else
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 ac_cv_sys_file_offset_bits=no
19901 fi
19902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19903
19904
19905 fi
19906 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19907 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19908
19909 if test "$ac_cv_sys_file_offset_bits" != no; then
19910 wx_largefile=yes
19911 cat >>confdefs.h <<_ACEOF
19912 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19913 _ACEOF
19914
19915 fi
19916
19917 if test "x$wx_largefile" != "xyes"; then
19918
19919 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19920 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19921 if test "${ac_cv_sys_large_files+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 #define _LARGE_FILES 1
19932 #include <sys/types.h>
19933 int
19934 main ()
19935 {
19936 typedef struct {
19937 unsigned int field: sizeof(off_t) == 8;
19938 } wxlf;
19939
19940 ;
19941 return 0;
19942 }
19943 _ACEOF
19944 rm -f conftest.$ac_objext
19945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19946 (eval $ac_compile) 2>conftest.er1
19947 ac_status=$?
19948 grep -v '^ *+' conftest.er1 >conftest.err
19949 rm -f conftest.er1
19950 cat conftest.err >&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } &&
19953 { ac_try='test -z "$ac_c_werror_flag"
19954 || test ! -s conftest.err'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19957 ac_status=$?
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; } &&
19960 { ac_try='test -s conftest.$ac_objext'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19963 ac_status=$?
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; }; then
19966 ac_cv_sys_large_files=1
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_cv_sys_large_files=no
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974
19975
19976 fi
19977 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19978 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19979
19980 if test "$ac_cv_sys_large_files" != no; then
19981 wx_largefile=yes
19982 cat >>confdefs.h <<_ACEOF
19983 #define _LARGE_FILES $ac_cv_sys_large_files
19984 _ACEOF
19985
19986 fi
19987
19988 fi
19989
19990 echo "$as_me:$LINENO: checking if large file support is available" >&5
19991 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19992 if test "x$wx_largefile" = "xyes"; then
19993 cat >>confdefs.h <<\_ACEOF
19994 #define HAVE_LARGEFILE_SUPPORT 1
19995 _ACEOF
19996
19997 fi
19998 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19999 echo "${ECHO_T}$wx_largefile" >&6
20000 fi
20001
20002
20003 if test "x$wx_largefile" = "xyes"; then
20004 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20005 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20006 else
20007 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20008 fi
20009 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20010 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20011 if test "${ac_cv_sys_largefile_source+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 else
20014 while :; do
20015 ac_cv_sys_largefile_source=no
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 #include <stdio.h>
20023 int
20024 main ()
20025 {
20026 return !fseeko;
20027 ;
20028 return 0;
20029 }
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try='test -z "$ac_c_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20053 break
20054 else
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20057
20058 fi
20059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 #define _LARGEFILE_SOURCE 1
20067 #include <stdio.h>
20068 int
20069 main ()
20070 {
20071 return !fseeko;
20072 ;
20073 return 0;
20074 }
20075 _ACEOF
20076 rm -f conftest.$ac_objext
20077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20078 (eval $ac_compile) 2>conftest.er1
20079 ac_status=$?
20080 grep -v '^ *+' conftest.er1 >conftest.err
20081 rm -f conftest.er1
20082 cat conftest.err >&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } &&
20085 { ac_try='test -z "$ac_c_werror_flag"
20086 || test ! -s conftest.err'
20087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20088 (eval $ac_try) 2>&5
20089 ac_status=$?
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); }; } &&
20092 { ac_try='test -s conftest.$ac_objext'
20093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20094 (eval $ac_try) 2>&5
20095 ac_status=$?
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 ac_cv_sys_largefile_source=1; break
20099 else
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.$ac_ext >&5
20102
20103 fi
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 break
20106 done
20107 fi
20108 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20109 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20110 if test "$ac_cv_sys_largefile_source" != no; then
20111
20112 cat >>confdefs.h <<_ACEOF
20113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20114 _ACEOF
20115
20116 fi
20117 rm -f conftest*
20118
20119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20120 # in glibc 2.1.3, but that breaks too many other things.
20121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20122 echo "$as_me:$LINENO: checking for fseeko" >&5
20123 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20124 if test "${ac_cv_func_fseeko+set}" = set; then
20125 echo $ECHO_N "(cached) $ECHO_C" >&6
20126 else
20127 cat >conftest.$ac_ext <<_ACEOF
20128 /* confdefs.h. */
20129 _ACEOF
20130 cat confdefs.h >>conftest.$ac_ext
20131 cat >>conftest.$ac_ext <<_ACEOF
20132 /* end confdefs.h. */
20133 #include <stdio.h>
20134 int
20135 main ()
20136 {
20137 return fseeko && fseeko (stdin, 0, 0);
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext conftest$ac_exeext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20144 (eval $ac_link) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try='test -s conftest$ac_exeext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_func_fseeko=yes
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 ac_cv_func_fseeko=no
20170 fi
20171 rm -f conftest.err conftest.$ac_objext \
20172 conftest$ac_exeext conftest.$ac_ext
20173 fi
20174 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20175 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20176 if test $ac_cv_func_fseeko = yes; then
20177
20178 cat >>confdefs.h <<\_ACEOF
20179 #define HAVE_FSEEKO 1
20180 _ACEOF
20181
20182 fi
20183
20184 if test "$ac_cv_sys_largefile_source" != no; then
20185 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20186 fi
20187 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20188 fi
20189
20190 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20191 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20192 if test "${ac_cv_c_bigendian+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 ac_cv_c_bigendian=unknown
20196 # See if sys/param.h defines the BYTE_ORDER macro.
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 #include <sys/types.h>
20204 #include <sys/param.h>
20205 int
20206 main ()
20207 {
20208
20209 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20210 bogus endian macros
20211 #endif
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20218 (eval $ac_compile) 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag"
20226 || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try='test -s conftest.$ac_objext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 # It does; now see whether it defined to BIG_ENDIAN or not.
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 #include <sys/types.h>
20246 #include <sys/param.h>
20247 int
20248 main ()
20249 {
20250
20251 #if BYTE_ORDER != BIG_ENDIAN
20252 not big endian
20253 #endif
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260 (eval $ac_compile) 2>conftest.er1
20261 ac_status=$?
20262 grep -v '^ *+' conftest.er1 >conftest.err
20263 rm -f conftest.er1
20264 cat conftest.err >&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
20267 { ac_try='test -z "$ac_c_werror_flag"
20268 || test ! -s conftest.err'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; } &&
20274 { ac_try='test -s conftest.$ac_objext'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20277 ac_status=$?
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; }; then
20280 ac_cv_c_bigendian=yes
20281 else
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 ac_cv_c_bigendian=no
20286 fi
20287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20288 else
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20291
20292 fi
20293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20294 if test $ac_cv_c_bigendian = unknown; then
20295 if test "$cross_compiling" = yes; then
20296 ac_cv_c_bigendian=unknown
20297 else
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 main () {
20305 /* Are we little or big endian? From Harbison&Steele. */
20306 union
20307 {
20308 long l;
20309 char c[sizeof (long)];
20310 } u;
20311 u.l = 1;
20312 exit (u.c[sizeof (long) - 1] == 1);
20313 }
20314 _ACEOF
20315 rm -f conftest$ac_exeext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20317 (eval $ac_link) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20323 ac_status=$?
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_cv_c_bigendian=no
20327 else
20328 echo "$as_me: program exited with status $ac_status" >&5
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332 ( exit $ac_status )
20333 ac_cv_c_bigendian=yes
20334 fi
20335 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20336 fi
20337 fi
20338 fi
20339 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20340 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20341 if test $ac_cv_c_bigendian = unknown; then
20342 { 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
20343 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;}
20344 fi
20345 if test $ac_cv_c_bigendian = yes; then
20346 cat >>confdefs.h <<\_ACEOF
20347 #define WORDS_BIGENDIAN 1
20348 _ACEOF
20349
20350 fi
20351
20352
20353 ac_ext=cc
20354 ac_cpp='$CXXCPP $CPPFLAGS'
20355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20358 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20359 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20360 if test -z "$CXXCPP"; then
20361 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 else
20364 # Double quotes because CXXCPP needs to be expanded
20365 for CXXCPP in "$CXX -E" "/lib/cpp"
20366 do
20367 ac_preproc_ok=false
20368 for ac_cxx_preproc_warn_flag in '' yes
20369 do
20370 # Use a header file that comes with gcc, so configuring glibc
20371 # with a fresh cross-compiler works.
20372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20373 # <limits.h> exists even on freestanding compilers.
20374 # On the NeXT, cc -E runs the code through the compiler's parser,
20375 # not just through cpp. "Syntax error" is here to catch this case.
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 #ifdef __STDC__
20383 # include <limits.h>
20384 #else
20385 # include <assert.h>
20386 #endif
20387 Syntax error
20388 _ACEOF
20389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20391 ac_status=$?
20392 grep -v '^ *+' conftest.er1 >conftest.err
20393 rm -f conftest.er1
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } >/dev/null; then
20397 if test -s conftest.err; then
20398 ac_cpp_err=$ac_cxx_preproc_warn_flag
20399 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20400 else
20401 ac_cpp_err=
20402 fi
20403 else
20404 ac_cpp_err=yes
20405 fi
20406 if test -z "$ac_cpp_err"; then
20407 :
20408 else
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20411
20412 # Broken: fails on valid input.
20413 continue
20414 fi
20415 rm -f conftest.err conftest.$ac_ext
20416
20417 # OK, works on sane cases. Now check whether non-existent headers
20418 # can be detected and how.
20419 cat >conftest.$ac_ext <<_ACEOF
20420 /* confdefs.h. */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 #include <ac_nonexistent.h>
20426 _ACEOF
20427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } >/dev/null; then
20435 if test -s conftest.err; then
20436 ac_cpp_err=$ac_cxx_preproc_warn_flag
20437 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20438 else
20439 ac_cpp_err=
20440 fi
20441 else
20442 ac_cpp_err=yes
20443 fi
20444 if test -z "$ac_cpp_err"; then
20445 # Broken: success on invalid input.
20446 continue
20447 else
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 # Passes both tests.
20452 ac_preproc_ok=:
20453 break
20454 fi
20455 rm -f conftest.err conftest.$ac_ext
20456
20457 done
20458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20459 rm -f conftest.err conftest.$ac_ext
20460 if $ac_preproc_ok; then
20461 break
20462 fi
20463
20464 done
20465 ac_cv_prog_CXXCPP=$CXXCPP
20466
20467 fi
20468 CXXCPP=$ac_cv_prog_CXXCPP
20469 else
20470 ac_cv_prog_CXXCPP=$CXXCPP
20471 fi
20472 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20473 echo "${ECHO_T}$CXXCPP" >&6
20474 ac_preproc_ok=false
20475 for ac_cxx_preproc_warn_flag in '' yes
20476 do
20477 # Use a header file that comes with gcc, so configuring glibc
20478 # with a fresh cross-compiler works.
20479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20480 # <limits.h> exists even on freestanding compilers.
20481 # On the NeXT, cc -E runs the code through the compiler's parser,
20482 # not just through cpp. "Syntax error" is here to catch this case.
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 #ifdef __STDC__
20490 # include <limits.h>
20491 #else
20492 # include <assert.h>
20493 #endif
20494 Syntax error
20495 _ACEOF
20496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } >/dev/null; then
20504 if test -s conftest.err; then
20505 ac_cpp_err=$ac_cxx_preproc_warn_flag
20506 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20507 else
20508 ac_cpp_err=
20509 fi
20510 else
20511 ac_cpp_err=yes
20512 fi
20513 if test -z "$ac_cpp_err"; then
20514 :
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 # Broken: fails on valid input.
20520 continue
20521 fi
20522 rm -f conftest.err conftest.$ac_ext
20523
20524 # OK, works on sane cases. Now check whether non-existent headers
20525 # can be detected and how.
20526 cat >conftest.$ac_ext <<_ACEOF
20527 /* confdefs.h. */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 #include <ac_nonexistent.h>
20533 _ACEOF
20534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20536 ac_status=$?
20537 grep -v '^ *+' conftest.er1 >conftest.err
20538 rm -f conftest.er1
20539 cat conftest.err >&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } >/dev/null; then
20542 if test -s conftest.err; then
20543 ac_cpp_err=$ac_cxx_preproc_warn_flag
20544 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20545 else
20546 ac_cpp_err=
20547 fi
20548 else
20549 ac_cpp_err=yes
20550 fi
20551 if test -z "$ac_cpp_err"; then
20552 # Broken: success on invalid input.
20553 continue
20554 else
20555 echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.$ac_ext >&5
20557
20558 # Passes both tests.
20559 ac_preproc_ok=:
20560 break
20561 fi
20562 rm -f conftest.err conftest.$ac_ext
20563
20564 done
20565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20566 rm -f conftest.err conftest.$ac_ext
20567 if $ac_preproc_ok; then
20568 :
20569 else
20570 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20571 See \`config.log' for more details." >&5
20572 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20573 See \`config.log' for more details." >&2;}
20574 { (exit 1); exit 1; }; }
20575 fi
20576
20577 ac_ext=cc
20578 ac_cpp='$CXXCPP $CPPFLAGS'
20579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20582
20583
20584
20585
20586
20587 ac_ext=cc
20588 ac_cpp='$CXXCPP $CPPFLAGS'
20589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20592
20593
20594
20595 for ac_header in iostream
20596 do
20597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20599 echo "$as_me:$LINENO: checking for $ac_header" >&5
20600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 fi
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20606 else
20607 # Is the header compilable?
20608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20610 cat >conftest.$ac_ext <<_ACEOF
20611 /* confdefs.h. */
20612 _ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 #include <$ac_header>
20618 _ACEOF
20619 rm -f conftest.$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20622 ac_status=$?
20623 grep -v '^ *+' conftest.er1 >conftest.err
20624 rm -f conftest.er1
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try='test -z "$ac_cxx_werror_flag"
20629 || test ! -s conftest.err'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20632 ac_status=$?
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; } &&
20635 { ac_try='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20638 ac_status=$?
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 ac_header_compiler=yes
20642 else
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20645
20646 ac_header_compiler=no
20647 fi
20648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20650 echo "${ECHO_T}$ac_header_compiler" >&6
20651
20652 # Is the header present?
20653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <$ac_header>
20662 _ACEOF
20663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20665 ac_status=$?
20666 grep -v '^ *+' conftest.er1 >conftest.err
20667 rm -f conftest.er1
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } >/dev/null; then
20671 if test -s conftest.err; then
20672 ac_cpp_err=$ac_cxx_preproc_warn_flag
20673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20674 else
20675 ac_cpp_err=
20676 fi
20677 else
20678 ac_cpp_err=yes
20679 fi
20680 if test -z "$ac_cpp_err"; then
20681 ac_header_preproc=yes
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 ac_header_preproc=no
20687 fi
20688 rm -f conftest.err conftest.$ac_ext
20689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20690 echo "${ECHO_T}$ac_header_preproc" >&6
20691
20692 # So? What about this header?
20693 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20694 yes:no: )
20695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20699 ac_header_preproc=yes
20700 ;;
20701 no:yes:* )
20702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20714 (
20715 cat <<\_ASBOX
20716 ## ----------------------------------------- ##
20717 ## Report this to wx-dev@lists.wxwidgets.org ##
20718 ## ----------------------------------------- ##
20719 _ASBOX
20720 ) |
20721 sed "s/^/$as_me: WARNING: /" >&2
20722 ;;
20723 esac
20724 echo "$as_me:$LINENO: checking for $ac_header" >&5
20725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20728 else
20729 eval "$as_ac_Header=\$ac_header_preproc"
20730 fi
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20733
20734 fi
20735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20736 cat >>confdefs.h <<_ACEOF
20737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20738 _ACEOF
20739
20740 fi
20741
20742 done
20743
20744
20745 if test "$ac_cv_header_iostream" = "yes" ; then
20746 :
20747 else
20748 cat >>confdefs.h <<\_ACEOF
20749 #define wxUSE_IOSTREAMH 1
20750 _ACEOF
20751
20752 fi
20753
20754 ac_ext=c
20755 ac_cpp='$CPP $CPPFLAGS'
20756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20759
20760
20761
20762
20763 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20764 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20765 if test "${wx_cv_cpp_bool+set}" = set; then
20766 echo $ECHO_N "(cached) $ECHO_C" >&6
20767 else
20768
20769
20770
20771 ac_ext=cc
20772 ac_cpp='$CXXCPP $CPPFLAGS'
20773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20776
20777
20778 cat >conftest.$ac_ext <<_ACEOF
20779 /* confdefs.h. */
20780 _ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784
20785
20786 int
20787 main ()
20788 {
20789
20790 bool b = true;
20791
20792 return 0;
20793
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20800 (eval $ac_compile) 2>conftest.er1
20801 ac_status=$?
20802 grep -v '^ *+' conftest.er1 >conftest.err
20803 rm -f conftest.er1
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } &&
20807 { ac_try='test -z "$ac_cxx_werror_flag"
20808 || test ! -s conftest.err'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; } &&
20814 { ac_try='test -s conftest.$ac_objext'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; }; then
20820
20821 wx_cv_cpp_bool=yes
20822
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827
20828 wx_cv_cpp_bool=no
20829
20830
20831 fi
20832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20833
20834 ac_ext=c
20835 ac_cpp='$CPP $CPPFLAGS'
20836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20839
20840
20841 fi
20842 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20843 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20844
20845 if test "$wx_cv_cpp_bool" = "yes"; then
20846 cat >>confdefs.h <<\_ACEOF
20847 #define HAVE_BOOL 1
20848 _ACEOF
20849
20850 fi
20851
20852
20853
20854 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20855 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20856 if test "${wx_cv_explicit+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20859
20860
20861
20862 ac_ext=cc
20863 ac_cpp='$CXXCPP $CPPFLAGS'
20864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20867
20868
20869 cat >conftest.$ac_ext <<_ACEOF
20870 /* confdefs.h. */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875
20876 class Foo { public: explicit Foo(int) {} };
20877
20878 int
20879 main ()
20880 {
20881
20882 return 0;
20883
20884 ;
20885 return 0;
20886 }
20887 _ACEOF
20888 rm -f conftest.$ac_objext
20889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20890 (eval $ac_compile) 2>conftest.er1
20891 ac_status=$?
20892 grep -v '^ *+' conftest.er1 >conftest.err
20893 rm -f conftest.er1
20894 cat conftest.err >&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); } &&
20897 { ac_try='test -z "$ac_cxx_werror_flag"
20898 || test ! -s conftest.err'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20901 ac_status=$?
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; } &&
20904 { ac_try='test -s conftest.$ac_objext'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20907 ac_status=$?
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20910
20911 cat >conftest.$ac_ext <<_ACEOF
20912 /* confdefs.h. */
20913 _ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917
20918 class Foo { public: explicit Foo(int) {} };
20919 static void TakeFoo(const Foo& foo) { }
20920
20921 int
20922 main ()
20923 {
20924
20925 TakeFoo(17);
20926 return 0;
20927
20928 ;
20929 return 0;
20930 }
20931 _ACEOF
20932 rm -f conftest.$ac_objext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20934 (eval $ac_compile) 2>conftest.er1
20935 ac_status=$?
20936 grep -v '^ *+' conftest.er1 >conftest.err
20937 rm -f conftest.er1
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } &&
20941 { ac_try='test -z "$ac_cxx_werror_flag"
20942 || test ! -s conftest.err'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20945 ac_status=$?
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; } &&
20948 { ac_try='test -s conftest.$ac_objext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20951 ac_status=$?
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 wx_cv_explicit=no
20955 else
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20958
20959 wx_cv_explicit=yes
20960
20961 fi
20962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20963
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 wx_cv_explicit=no
20969
20970 fi
20971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20972
20973 ac_ext=c
20974 ac_cpp='$CPP $CPPFLAGS'
20975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20978
20979
20980 fi
20981 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20982 echo "${ECHO_T}$wx_cv_explicit" >&6
20983
20984 if test "$wx_cv_explicit" = "yes"; then
20985 cat >>confdefs.h <<\_ACEOF
20986 #define HAVE_EXPLICIT 1
20987 _ACEOF
20988
20989 fi
20990
20991
20992 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20993 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20994 if test "${ac_cv_cxx_const_cast+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 else
20997
20998
20999 ac_ext=cc
21000 ac_cpp='$CXXCPP $CPPFLAGS'
21001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21004
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011
21012 int
21013 main ()
21014 {
21015 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 rm -f conftest.$ac_objext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21022 (eval $ac_compile) 2>conftest.er1
21023 ac_status=$?
21024 grep -v '^ *+' conftest.er1 >conftest.err
21025 rm -f conftest.er1
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -z "$ac_cxx_werror_flag"
21030 || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_cv_cxx_const_cast=yes
21043 else
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21046
21047 ac_cv_cxx_const_cast=no
21048 fi
21049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21050 ac_ext=c
21051 ac_cpp='$CPP $CPPFLAGS'
21052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21055
21056
21057 fi
21058 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21059 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21060 if test "$ac_cv_cxx_const_cast" = yes; then
21061
21062 cat >>confdefs.h <<\_ACEOF
21063 #define HAVE_CONST_CAST
21064 _ACEOF
21065
21066 fi
21067
21068 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21069 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21070 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21071 echo $ECHO_N "(cached) $ECHO_C" >&6
21072 else
21073
21074
21075 ac_ext=cc
21076 ac_cpp='$CXXCPP $CPPFLAGS'
21077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21080
21081 cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h. */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 #include <typeinfo>
21088 class Base { public : Base () {} virtual void f () = 0;};
21089 class Derived : public Base { public : Derived () {} virtual void f () {} };
21090 class Unrelated { public : Unrelated () {} };
21091 int g (Unrelated&) { return 0; }
21092 int
21093 main ()
21094 {
21095
21096 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21103 (eval $ac_compile) 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_cxx_werror_flag"
21111 || test ! -s conftest.err'
21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21113 (eval $ac_try) 2>&5
21114 ac_status=$?
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; } &&
21117 { ac_try='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_cxx_reinterpret_cast=yes
21124 else
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 ac_cv_cxx_reinterpret_cast=no
21129 fi
21130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21131 ac_ext=c
21132 ac_cpp='$CPP $CPPFLAGS'
21133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21136
21137
21138 fi
21139 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21140 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21141 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21142
21143 cat >>confdefs.h <<\_ACEOF
21144 #define HAVE_REINTERPRET_CAST
21145 _ACEOF
21146
21147 fi
21148
21149 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21150 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21151 if test "${ac_cv_cxx_static_cast+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154
21155
21156 ac_ext=cc
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21161
21162 cat >conftest.$ac_ext <<_ACEOF
21163 /* confdefs.h. */
21164 _ACEOF
21165 cat confdefs.h >>conftest.$ac_ext
21166 cat >>conftest.$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 #include <typeinfo>
21169 class Base { public : Base () {} virtual void f () = 0; };
21170 class Derived : public Base { public : Derived () {} virtual void f () {} };
21171 int g (Derived&) { return 0; }
21172 int
21173 main ()
21174 {
21175
21176 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_cxx_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_cxx_static_cast=yes
21204 else
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ac_cv_cxx_static_cast=no
21209 fi
21210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21211 ac_ext=c
21212 ac_cpp='$CPP $CPPFLAGS'
21213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21216
21217
21218 fi
21219 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21220 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21221 if test "$ac_cv_cxx_static_cast" = yes; then
21222
21223 cat >>confdefs.h <<\_ACEOF
21224 #define HAVE_STATIC_CAST
21225 _ACEOF
21226
21227 fi
21228
21229
21230 if test "$wxUSE_STL" = "yes"; then
21231 ac_ext=cc
21232 ac_cpp='$CXXCPP $CPPFLAGS'
21233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21236
21237
21238 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21239 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 #include <string>
21247 #include <functional>
21248 #include <algorithm>
21249 #include <vector>
21250 #include <list>
21251 int
21252 main ()
21253 {
21254 std::vector<int> moo;
21255 std::list<int> foo;
21256 std::vector<int>::iterator it =
21257 std::find_if(moo.begin(), moo.end(),
21258 std::bind2nd(std::less<int>(), 3));
21259 ;
21260 return 0;
21261 }
21262 _ACEOF
21263 rm -f conftest.$ac_objext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21265 (eval $ac_compile) 2>conftest.er1
21266 ac_status=$?
21267 grep -v '^ *+' conftest.er1 >conftest.err
21268 rm -f conftest.er1
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try='test -z "$ac_cxx_werror_flag"
21273 || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21276 ac_status=$?
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 echo "$as_me:$LINENO: result: yes" >&5
21286 echo "${ECHO_T}yes" >&6
21287 else
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21290
21291 echo "$as_me:$LINENO: result: no" >&5
21292 echo "${ECHO_T}no" >&6
21293 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21294 echo "$as_me: error: Basic STL functionality missing" >&2;}
21295 { (exit 1); exit 1; }; }
21296 fi
21297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21298
21299 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21300 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 #include <string>
21308 int
21309 main ()
21310 {
21311 std::wstring foo;
21312 ;
21313 return 0;
21314 }
21315 _ACEOF
21316 rm -f conftest.$ac_objext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21318 (eval $ac_compile) 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try='test -z "$ac_cxx_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try='test -s conftest.$ac_objext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21335 ac_status=$?
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 echo "$as_me:$LINENO: result: yes" >&5
21339 echo "${ECHO_T}yes" >&6
21340 cat >>confdefs.h <<\_ACEOF
21341 #define HAVE_STD_WSTRING 1
21342 _ACEOF
21343
21344 else
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.$ac_ext >&5
21347
21348 echo "$as_me:$LINENO: result: no" >&5
21349 echo "${ECHO_T}no" >&6
21350 fi
21351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21352
21353 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21354 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 #include <string>
21362 int
21363 main ()
21364 {
21365 std::string foo, bar;
21366 foo.compare(bar);
21367 foo.compare(1, 1, bar);
21368 foo.compare(1, 1, bar, 1, 1);
21369 foo.compare("");
21370 foo.compare(1, 1, "");
21371 foo.compare(1, 1, "", 2);
21372 ;
21373 return 0;
21374 }
21375 _ACEOF
21376 rm -f conftest.$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378 (eval $ac_compile) 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } &&
21385 { ac_try='test -z "$ac_cxx_werror_flag"
21386 || test ! -s conftest.err'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; } &&
21392 { ac_try='test -s conftest.$ac_objext'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; }; then
21398 echo "$as_me:$LINENO: result: yes" >&5
21399 echo "${ECHO_T}yes" >&6
21400 cat >>confdefs.h <<\_ACEOF
21401 #define HAVE_STD_STRING_COMPARE 1
21402 _ACEOF
21403
21404 else
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 echo "$as_me:$LINENO: result: no" >&5
21409 echo "${ECHO_T}no" >&6
21410 fi
21411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21412
21413 if test "${ac_cv_header_hash_map+set}" = set; then
21414 echo "$as_me:$LINENO: checking for hash_map" >&5
21415 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21416 if test "${ac_cv_header_hash_map+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21418 fi
21419 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21420 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21421 else
21422 # Is the header compilable?
21423 echo "$as_me:$LINENO: checking hash_map usability" >&5
21424 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21425 cat >conftest.$ac_ext <<_ACEOF
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 #include <hash_map>
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -z "$ac_cxx_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 ac_header_compiler=yes
21457 else
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21460
21461 ac_header_compiler=no
21462 fi
21463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21465 echo "${ECHO_T}$ac_header_compiler" >&6
21466
21467 # Is the header present?
21468 echo "$as_me:$LINENO: checking hash_map presence" >&5
21469 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21470 cat >conftest.$ac_ext <<_ACEOF
21471 /* confdefs.h. */
21472 _ACEOF
21473 cat confdefs.h >>conftest.$ac_ext
21474 cat >>conftest.$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 #include <hash_map>
21477 _ACEOF
21478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } >/dev/null; then
21486 if test -s conftest.err; then
21487 ac_cpp_err=$ac_cxx_preproc_warn_flag
21488 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21489 else
21490 ac_cpp_err=
21491 fi
21492 else
21493 ac_cpp_err=yes
21494 fi
21495 if test -z "$ac_cpp_err"; then
21496 ac_header_preproc=yes
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 ac_header_preproc=no
21502 fi
21503 rm -f conftest.err conftest.$ac_ext
21504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21505 echo "${ECHO_T}$ac_header_preproc" >&6
21506
21507 # So? What about this header?
21508 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21509 yes:no: )
21510 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21511 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21512 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21513 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21514 ac_header_preproc=yes
21515 ;;
21516 no:yes:* )
21517 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21518 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21519 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21520 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21521 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21522 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21524 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21525 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21526 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21528 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21529 (
21530 cat <<\_ASBOX
21531 ## ----------------------------------------- ##
21532 ## Report this to wx-dev@lists.wxwidgets.org ##
21533 ## ----------------------------------------- ##
21534 _ASBOX
21535 ) |
21536 sed "s/^/$as_me: WARNING: /" >&2
21537 ;;
21538 esac
21539 echo "$as_me:$LINENO: checking for hash_map" >&5
21540 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21541 if test "${ac_cv_header_hash_map+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21543 else
21544 ac_cv_header_hash_map=$ac_header_preproc
21545 fi
21546 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21547 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21548
21549 fi
21550 if test $ac_cv_header_hash_map = yes; then
21551 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21552 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #include <hash_map>
21560 #include <hash_set>
21561 int
21562 main ()
21563 {
21564 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21565 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21566 ;
21567 return 0;
21568 }
21569 _ACEOF
21570 rm -f conftest.$ac_objext
21571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21572 (eval $ac_compile) 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } &&
21579 { ac_try='test -z "$ac_cxx_werror_flag"
21580 || test ! -s conftest.err'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21583 ac_status=$?
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try='test -s conftest.$ac_objext'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; }; then
21592 echo "$as_me:$LINENO: result: yes" >&5
21593 echo "${ECHO_T}yes" >&6
21594 cat >>confdefs.h <<\_ACEOF
21595 #define HAVE_HASH_MAP 1
21596 _ACEOF
21597
21598 cat >>confdefs.h <<\_ACEOF
21599 #define HAVE_STD_HASH_MAP 1
21600 _ACEOF
21601
21602 else
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21605
21606 echo "$as_me:$LINENO: result: no" >&5
21607 echo "${ECHO_T}no" >&6
21608 fi
21609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21610
21611 fi
21612
21613
21614
21615 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21616 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21617 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21618 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 fi
21621 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21622 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21623 else
21624 # Is the header compilable?
21625 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21626 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 #include <ext/hash_map>
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21638 (eval $ac_compile) 2>conftest.er1
21639 ac_status=$?
21640 grep -v '^ *+' conftest.er1 >conftest.err
21641 rm -f conftest.er1
21642 cat conftest.err >&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } &&
21645 { ac_try='test -z "$ac_cxx_werror_flag"
21646 || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_header_compiler=yes
21659 else
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.$ac_ext >&5
21662
21663 ac_header_compiler=no
21664 fi
21665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21667 echo "${ECHO_T}$ac_header_compiler" >&6
21668
21669 # Is the header present?
21670 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21671 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21672 cat >conftest.$ac_ext <<_ACEOF
21673 /* confdefs.h. */
21674 _ACEOF
21675 cat confdefs.h >>conftest.$ac_ext
21676 cat >>conftest.$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21678 #include <ext/hash_map>
21679 _ACEOF
21680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } >/dev/null; then
21688 if test -s conftest.err; then
21689 ac_cpp_err=$ac_cxx_preproc_warn_flag
21690 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21691 else
21692 ac_cpp_err=
21693 fi
21694 else
21695 ac_cpp_err=yes
21696 fi
21697 if test -z "$ac_cpp_err"; then
21698 ac_header_preproc=yes
21699 else
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.$ac_ext >&5
21702
21703 ac_header_preproc=no
21704 fi
21705 rm -f conftest.err conftest.$ac_ext
21706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21707 echo "${ECHO_T}$ac_header_preproc" >&6
21708
21709 # So? What about this header?
21710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21711 yes:no: )
21712 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21713 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21714 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21715 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21716 ac_header_preproc=yes
21717 ;;
21718 no:yes:* )
21719 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21720 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21721 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21722 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21723 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21724 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21725 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21726 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21727 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21728 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21729 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21730 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21731 (
21732 cat <<\_ASBOX
21733 ## ----------------------------------------- ##
21734 ## Report this to wx-dev@lists.wxwidgets.org ##
21735 ## ----------------------------------------- ##
21736 _ASBOX
21737 ) |
21738 sed "s/^/$as_me: WARNING: /" >&2
21739 ;;
21740 esac
21741 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21742 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21743 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 else
21746 ac_cv_header_ext_hash_map=$ac_header_preproc
21747 fi
21748 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21749 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21750
21751 fi
21752 if test $ac_cv_header_ext_hash_map = yes; then
21753 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21754 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 #include <ext/hash_map>
21762 #include <ext/hash_set>
21763 int
21764 main ()
21765 {
21766 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21767 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21768 ;
21769 return 0;
21770 }
21771 _ACEOF
21772 rm -f conftest.$ac_objext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21774 (eval $ac_compile) 2>conftest.er1
21775 ac_status=$?
21776 grep -v '^ *+' conftest.er1 >conftest.err
21777 rm -f conftest.er1
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try='test -z "$ac_cxx_werror_flag"
21782 || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 echo "$as_me:$LINENO: result: yes" >&5
21795 echo "${ECHO_T}yes" >&6
21796 cat >>confdefs.h <<\_ACEOF
21797 #define HAVE_EXT_HASH_MAP 1
21798 _ACEOF
21799
21800 cat >>confdefs.h <<\_ACEOF
21801 #define HAVE_GNU_CXX_HASH_MAP 1
21802 _ACEOF
21803
21804 else
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21807
21808 echo "$as_me:$LINENO: result: no" >&5
21809 echo "${ECHO_T}no" >&6
21810 fi
21811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21812
21813 fi
21814
21815
21816
21817 ac_ext=c
21818 ac_cpp='$CPP $CPPFLAGS'
21819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21822
21823 fi
21824
21825
21826 SEARCH_INCLUDE="\
21827 /usr/local/include \
21828 \
21829 /usr/Motif-2.1/include \
21830 /usr/Motif-1.2/include \
21831 /usr/include/Motif1.2 \
21832 /opt/xpm/include/X11 \
21833 /opt/GBxpm/include/ \
21834 /opt/GBxpm/X11/include/ \
21835 \
21836 /usr/dt/include \
21837 /usr/openwin/include \
21838 \
21839 /usr/include/Xm \
21840 \
21841 /usr/X11R6/include \
21842 /usr/X11R6.4/include \
21843 /usr/X11R5/include \
21844 /usr/X11R4/include \
21845 \
21846 /usr/include/X11R6 \
21847 /usr/include/X11R5 \
21848 /usr/include/X11R4 \
21849 \
21850 /usr/local/X11R6/include \
21851 /usr/local/X11R5/include \
21852 /usr/local/X11R4/include \
21853 \
21854 /usr/local/include/X11R6 \
21855 /usr/local/include/X11R5 \
21856 /usr/local/include/X11R4 \
21857 \
21858 /usr/X11/include \
21859 /usr/include/X11 \
21860 /usr/local/X11/include \
21861 /usr/local/include/X11 \
21862 \
21863 /usr/X386/include \
21864 /usr/x386/include \
21865 /usr/XFree86/include/X11 \
21866 \
21867 X:/XFree86/include \
21868 X:/XFree86/include/X11 \
21869 \
21870 /usr/include/gtk \
21871 /usr/local/include/gtk \
21872 /usr/include/glib \
21873 /usr/local/include/glib \
21874 \
21875 /usr/include/qt \
21876 /usr/local/include/qt \
21877 \
21878 /usr/local/arm/3.3.2/include \
21879 \
21880 /usr/include/windows \
21881 /usr/include/wine \
21882 /usr/local/include/wine \
21883 \
21884 /usr/unsupported/include \
21885 /usr/athena/include \
21886 /usr/local/x11r5/include \
21887 /usr/lpp/Xamples/include \
21888 \
21889 /usr/openwin/share/include"
21890
21891 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21892
21893
21894 cat >confcache <<\_ACEOF
21895 # This file is a shell script that caches the results of configure
21896 # tests run on this system so they can be shared between configure
21897 # scripts and configure runs, see configure's option --config-cache.
21898 # It is not useful on other systems. If it contains results you don't
21899 # want to keep, you may remove or edit it.
21900 #
21901 # config.status only pays attention to the cache file if you give it
21902 # the --recheck option to rerun configure.
21903 #
21904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21906 # following values.
21907
21908 _ACEOF
21909
21910 # The following way of writing the cache mishandles newlines in values,
21911 # but we know of no workaround that is simple, portable, and efficient.
21912 # So, don't put newlines in cache variables' values.
21913 # Ultrix sh set writes to stderr and can't be redirected directly,
21914 # and sets the high bit in the cache file unless we assign to the vars.
21915 {
21916 (set) 2>&1 |
21917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21918 *ac_space=\ *)
21919 # `set' does not quote correctly, so add quotes (double-quote
21920 # substitution turns \\\\ into \\, and sed turns \\ into \).
21921 sed -n \
21922 "s/'/'\\\\''/g;
21923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21924 ;;
21925 *)
21926 # `set' quotes correctly as required by POSIX, so do not add quotes.
21927 sed -n \
21928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21929 ;;
21930 esac;
21931 } |
21932 sed '
21933 t clear
21934 : clear
21935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21936 t end
21937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21938 : end' >>confcache
21939 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21940 if test -w $cache_file; then
21941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21942 cat confcache >$cache_file
21943 else
21944 echo "not updating unwritable cache $cache_file"
21945 fi
21946 fi
21947 rm -f confcache
21948
21949 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21950 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21951 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21952 if test "${wx_cv_lib_glibc21+set}" = set; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21954 else
21955
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h. */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #include <features.h>
21963 int
21964 main ()
21965 {
21966
21967 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21968 #error not glibc2.1
21969 #endif
21970
21971 ;
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext
21976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21977 (eval $ac_compile) 2>conftest.er1
21978 ac_status=$?
21979 grep -v '^ *+' conftest.er1 >conftest.err
21980 rm -f conftest.er1
21981 cat conftest.err >&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } &&
21984 { ac_try='test -z "$ac_c_werror_flag"
21985 || test ! -s conftest.err'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } &&
21991 { ac_try='test -s conftest.$ac_objext'
21992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993 (eval $ac_try) 2>&5
21994 ac_status=$?
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); }; }; then
21997
21998 wx_cv_lib_glibc21=yes
21999
22000 else
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.$ac_ext >&5
22003
22004
22005 wx_cv_lib_glibc21=no
22006
22007
22008 fi
22009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22010
22011 fi
22012 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22013 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22014 if test "$wx_cv_lib_glibc21" = "yes"; then
22015 cat >>confdefs.h <<\_ACEOF
22016 #define wxHAVE_GLIBC2 1
22017 _ACEOF
22018
22019 fi
22020 fi
22021
22022 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22023 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22024 cat >>confdefs.h <<\_ACEOF
22025 #define _GNU_SOURCE 1
22026 _ACEOF
22027
22028 fi
22029 fi
22030
22031
22032
22033 if test "$wxUSE_REGEX" != "no"; then
22034 cat >>confdefs.h <<\_ACEOF
22035 #define wxUSE_REGEX 1
22036 _ACEOF
22037
22038
22039 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22040 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22041 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22042 wxUSE_REGEX=builtin
22043 fi
22044
22045 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22046 if test "${ac_cv_header_regex_h+set}" = set; then
22047 echo "$as_me:$LINENO: checking for regex.h" >&5
22048 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22049 if test "${ac_cv_header_regex_h+set}" = set; then
22050 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 fi
22052 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22053 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22054 else
22055 # Is the header compilable?
22056 echo "$as_me:$LINENO: checking regex.h usability" >&5
22057 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22058 cat >conftest.$ac_ext <<_ACEOF
22059 /* confdefs.h. */
22060 _ACEOF
22061 cat confdefs.h >>conftest.$ac_ext
22062 cat >>conftest.$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 $ac_includes_default
22065 #include <regex.h>
22066 _ACEOF
22067 rm -f conftest.$ac_objext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22069 (eval $ac_compile) 2>conftest.er1
22070 ac_status=$?
22071 grep -v '^ *+' conftest.er1 >conftest.err
22072 rm -f conftest.er1
22073 cat conftest.err >&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try='test -z "$ac_c_werror_flag"
22077 || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22080 ac_status=$?
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_header_compiler=yes
22090 else
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.$ac_ext >&5
22093
22094 ac_header_compiler=no
22095 fi
22096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22098 echo "${ECHO_T}$ac_header_compiler" >&6
22099
22100 # Is the header present?
22101 echo "$as_me:$LINENO: checking regex.h presence" >&5
22102 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22103 cat >conftest.$ac_ext <<_ACEOF
22104 /* confdefs.h. */
22105 _ACEOF
22106 cat confdefs.h >>conftest.$ac_ext
22107 cat >>conftest.$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22109 #include <regex.h>
22110 _ACEOF
22111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } >/dev/null; then
22119 if test -s conftest.err; then
22120 ac_cpp_err=$ac_c_preproc_warn_flag
22121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22122 else
22123 ac_cpp_err=
22124 fi
22125 else
22126 ac_cpp_err=yes
22127 fi
22128 if test -z "$ac_cpp_err"; then
22129 ac_header_preproc=yes
22130 else
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22133
22134 ac_header_preproc=no
22135 fi
22136 rm -f conftest.err conftest.$ac_ext
22137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22138 echo "${ECHO_T}$ac_header_preproc" >&6
22139
22140 # So? What about this header?
22141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22142 yes:no: )
22143 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22144 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22145 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22146 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22147 ac_header_preproc=yes
22148 ;;
22149 no:yes:* )
22150 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22151 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22152 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22153 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22154 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22155 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22156 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22157 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22158 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22159 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22160 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22161 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22162 (
22163 cat <<\_ASBOX
22164 ## ----------------------------------------- ##
22165 ## Report this to wx-dev@lists.wxwidgets.org ##
22166 ## ----------------------------------------- ##
22167 _ASBOX
22168 ) |
22169 sed "s/^/$as_me: WARNING: /" >&2
22170 ;;
22171 esac
22172 echo "$as_me:$LINENO: checking for regex.h" >&5
22173 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22174 if test "${ac_cv_header_regex_h+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 else
22177 ac_cv_header_regex_h=$ac_header_preproc
22178 fi
22179 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22180 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22181
22182 fi
22183 if test $ac_cv_header_regex_h = yes; then
22184
22185 for ac_func in regcomp
22186 do
22187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22188 echo "$as_me:$LINENO: checking for $ac_func" >&5
22189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22190 if eval "test \"\${$as_ac_var+set}\" = set"; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 else
22193 cat >conftest.$ac_ext <<_ACEOF
22194 /* confdefs.h. */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22201 #define $ac_func innocuous_$ac_func
22202
22203 /* System header to define __stub macros and hopefully few prototypes,
22204 which can conflict with char $ac_func (); below.
22205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22206 <limits.h> exists even on freestanding compilers. */
22207
22208 #ifdef __STDC__
22209 # include <limits.h>
22210 #else
22211 # include <assert.h>
22212 #endif
22213
22214 #undef $ac_func
22215
22216 /* Override any gcc2 internal prototype to avoid an error. */
22217 #ifdef __cplusplus
22218 extern "C"
22219 {
22220 #endif
22221 /* We use char because int might match the return type of a gcc2
22222 builtin and then its argument prototype would still apply. */
22223 char $ac_func ();
22224 /* The GNU C library defines this for functions which it implements
22225 to always fail with ENOSYS. Some functions are actually named
22226 something starting with __ and the normal name is an alias. */
22227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22228 choke me
22229 #else
22230 char (*f) () = $ac_func;
22231 #endif
22232 #ifdef __cplusplus
22233 }
22234 #endif
22235
22236 int
22237 main ()
22238 {
22239 return f != $ac_func;
22240 ;
22241 return 0;
22242 }
22243 _ACEOF
22244 rm -f conftest.$ac_objext conftest$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>conftest.er1
22247 ac_status=$?
22248 grep -v '^ *+' conftest.er1 >conftest.err
22249 rm -f conftest.er1
22250 cat conftest.err >&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } &&
22253 { ac_try='test -z "$ac_c_werror_flag"
22254 || test ! -s conftest.err'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22257 ac_status=$?
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; } &&
22260 { ac_try='test -s conftest$ac_exeext'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22263 ac_status=$?
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; }; then
22266 eval "$as_ac_var=yes"
22267 else
22268 echo "$as_me: failed program was:" >&5
22269 sed 's/^/| /' conftest.$ac_ext >&5
22270
22271 eval "$as_ac_var=no"
22272 fi
22273 rm -f conftest.err conftest.$ac_objext \
22274 conftest$ac_exeext conftest.$ac_ext
22275 fi
22276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22278 if test `eval echo '${'$as_ac_var'}'` = yes; then
22279 cat >>confdefs.h <<_ACEOF
22280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22281 _ACEOF
22282
22283 fi
22284 done
22285
22286 fi
22287
22288
22289
22290 if test "x$ac_cv_func_regcomp" != "xyes"; then
22291 if test "$wxUSE_REGEX" = "sys" ; then
22292 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22293 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22294 { (exit 1); exit 1; }; }
22295 else
22296 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22297 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22298 wxUSE_REGEX=builtin
22299 fi
22300 else
22301 wxUSE_REGEX=sys
22302 cat >>confdefs.h <<\_ACEOF
22303 #define WX_NO_REGEX_ADVANCED 1
22304 _ACEOF
22305
22306 fi
22307 fi
22308 fi
22309
22310
22311 ZLIB_LINK=
22312 if test "$wxUSE_ZLIB" != "no" ; then
22313 cat >>confdefs.h <<\_ACEOF
22314 #define wxUSE_ZLIB 1
22315 _ACEOF
22316
22317
22318 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22319 if test "$USE_DARWIN" = 1; then
22320 system_zlib_h_ok="yes"
22321 else
22322 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22323 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22324 if test "${ac_cv_header_zlib_h+set}" = set; then
22325 echo $ECHO_N "(cached) $ECHO_C" >&6
22326 else
22327 if test "$cross_compiling" = yes; then
22328 unset ac_cv_header_zlib_h
22329
22330 else
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337
22338 #include <zlib.h>
22339 #include <stdio.h>
22340
22341 int main()
22342 {
22343 FILE *f=fopen("conftestval", "w");
22344 if (!f) exit(1);
22345 fprintf(f, "%s",
22346 ZLIB_VERSION[0] == '1' &&
22347 (ZLIB_VERSION[2] > '1' ||
22348 (ZLIB_VERSION[2] == '1' &&
22349 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22350 exit(0);
22351 }
22352
22353 _ACEOF
22354 rm -f conftest$ac_exeext
22355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22356 (eval $ac_link) 2>&5
22357 ac_status=$?
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_header_zlib_h=`cat conftestval`
22366 else
22367 echo "$as_me: program exited with status $ac_status" >&5
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22370
22371 ( exit $ac_status )
22372 ac_cv_header_zlib_h=no
22373 fi
22374 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22375 fi
22376
22377 fi
22378 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22379 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22380 if test "${ac_cv_header_zlib_h+set}" = set; then
22381 echo "$as_me:$LINENO: checking for zlib.h" >&5
22382 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22383 if test "${ac_cv_header_zlib_h+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 fi
22386 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22387 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22388 else
22389 # Is the header compilable?
22390 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22391 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22392 cat >conftest.$ac_ext <<_ACEOF
22393 /* confdefs.h. */
22394 _ACEOF
22395 cat confdefs.h >>conftest.$ac_ext
22396 cat >>conftest.$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 $ac_includes_default
22399 #include <zlib.h>
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try='test -z "$ac_c_werror_flag"
22411 || test ! -s conftest.err'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22414 ac_status=$?
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; } &&
22417 { ac_try='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 ac_header_compiler=yes
22424 else
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22427
22428 ac_header_compiler=no
22429 fi
22430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22432 echo "${ECHO_T}$ac_header_compiler" >&6
22433
22434 # Is the header present?
22435 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22436 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22437 cat >conftest.$ac_ext <<_ACEOF
22438 /* confdefs.h. */
22439 _ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22443 #include <zlib.h>
22444 _ACEOF
22445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22447 ac_status=$?
22448 grep -v '^ *+' conftest.er1 >conftest.err
22449 rm -f conftest.er1
22450 cat conftest.err >&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } >/dev/null; then
22453 if test -s conftest.err; then
22454 ac_cpp_err=$ac_c_preproc_warn_flag
22455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22456 else
22457 ac_cpp_err=
22458 fi
22459 else
22460 ac_cpp_err=yes
22461 fi
22462 if test -z "$ac_cpp_err"; then
22463 ac_header_preproc=yes
22464 else
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ac_header_preproc=no
22469 fi
22470 rm -f conftest.err conftest.$ac_ext
22471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22472 echo "${ECHO_T}$ac_header_preproc" >&6
22473
22474 # So? What about this header?
22475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22476 yes:no: )
22477 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22478 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22479 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22480 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22481 ac_header_preproc=yes
22482 ;;
22483 no:yes:* )
22484 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22485 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22486 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22487 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22488 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22489 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22490 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22491 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22493 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22494 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22495 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22496 (
22497 cat <<\_ASBOX
22498 ## ----------------------------------------- ##
22499 ## Report this to wx-dev@lists.wxwidgets.org ##
22500 ## ----------------------------------------- ##
22501 _ASBOX
22502 ) |
22503 sed "s/^/$as_me: WARNING: /" >&2
22504 ;;
22505 esac
22506 echo "$as_me:$LINENO: checking for zlib.h" >&5
22507 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22508 if test "${ac_cv_header_zlib_h+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 else
22511 ac_cv_header_zlib_h=$ac_header_preproc
22512 fi
22513 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22514 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22515
22516 fi
22517
22518
22519
22520 system_zlib_h_ok=$ac_cv_header_zlib_h
22521 fi
22522
22523 if test "$system_zlib_h_ok" = "yes"; then
22524 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22525 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22526 if test "${ac_cv_lib_z_deflate+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 else
22529 ac_check_lib_save_LIBS=$LIBS
22530 LIBS="-lz $LIBS"
22531 cat >conftest.$ac_ext <<_ACEOF
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537
22538 /* Override any gcc2 internal prototype to avoid an error. */
22539 #ifdef __cplusplus
22540 extern "C"
22541 #endif
22542 /* We use char because int might match the return type of a gcc2
22543 builtin and then its argument prototype would still apply. */
22544 char deflate ();
22545 int
22546 main ()
22547 {
22548 deflate ();
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext conftest$ac_exeext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22555 (eval $ac_link) 2>conftest.er1
22556 ac_status=$?
22557 grep -v '^ *+' conftest.er1 >conftest.err
22558 rm -f conftest.er1
22559 cat conftest.err >&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } &&
22562 { ac_try='test -z "$ac_c_werror_flag"
22563 || test ! -s conftest.err'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22566 ac_status=$?
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; } &&
22569 { ac_try='test -s conftest$ac_exeext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22572 ac_status=$?
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 ac_cv_lib_z_deflate=yes
22576 else
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22579
22580 ac_cv_lib_z_deflate=no
22581 fi
22582 rm -f conftest.err conftest.$ac_objext \
22583 conftest$ac_exeext conftest.$ac_ext
22584 LIBS=$ac_check_lib_save_LIBS
22585 fi
22586 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22587 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22588 if test $ac_cv_lib_z_deflate = yes; then
22589 ZLIB_LINK=" -lz"
22590 fi
22591
22592 fi
22593
22594 if test "x$ZLIB_LINK" = "x" ; then
22595 if test "$wxUSE_ZLIB" = "sys" ; then
22596 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22597 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22598 { (exit 1); exit 1; }; }
22599 else
22600 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22601 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22602 wxUSE_ZLIB=builtin
22603 fi
22604 else
22605 wxUSE_ZLIB=sys
22606 fi
22607 fi
22608 fi
22609
22610
22611 PNG_LINK=
22612 if test "$wxUSE_LIBPNG" != "no" ; then
22613 cat >>confdefs.h <<\_ACEOF
22614 #define wxUSE_LIBPNG 1
22615 _ACEOF
22616
22617
22618 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22619 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22620 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22621 wxUSE_LIBPNG=sys
22622 fi
22623
22624 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22625 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22626 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22627 wxUSE_LIBPNG=builtin
22628 fi
22629
22630 if test "$wxUSE_MGL" != 1 ; then
22631 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22632 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22633 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22634 if test "${ac_cv_header_png_h+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 if test "$cross_compiling" = yes; then
22638 unset ac_cv_header_png_h
22639
22640 else
22641 cat >conftest.$ac_ext <<_ACEOF
22642 /* confdefs.h. */
22643 _ACEOF
22644 cat confdefs.h >>conftest.$ac_ext
22645 cat >>conftest.$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22647
22648 #include <png.h>
22649 #include <stdio.h>
22650
22651 int main()
22652 {
22653 FILE *f=fopen("conftestval", "w");
22654 if (!f) exit(1);
22655 fprintf(f, "%s",
22656 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22657 exit(0);
22658 }
22659
22660 _ACEOF
22661 rm -f conftest$ac_exeext
22662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22663 (eval $ac_link) 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22669 ac_status=$?
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; }; then
22672 ac_cv_header_png_h=`cat conftestval`
22673 else
22674 echo "$as_me: program exited with status $ac_status" >&5
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22677
22678 ( exit $ac_status )
22679 ac_cv_header_png_h=no
22680 fi
22681 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22682 fi
22683
22684 fi
22685 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22686 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22687 if test "${ac_cv_header_png_h+set}" = set; then
22688 echo "$as_me:$LINENO: checking for png.h" >&5
22689 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22690 if test "${ac_cv_header_png_h+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 fi
22693 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22694 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22695 else
22696 # Is the header compilable?
22697 echo "$as_me:$LINENO: checking png.h usability" >&5
22698 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 #include <png.h>
22707 _ACEOF
22708 rm -f conftest.$ac_objext
22709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22710 (eval $ac_compile) 2>conftest.er1
22711 ac_status=$?
22712 grep -v '^ *+' conftest.er1 >conftest.err
22713 rm -f conftest.er1
22714 cat conftest.err >&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); } &&
22717 { ac_try='test -z "$ac_c_werror_flag"
22718 || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22721 ac_status=$?
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22730 ac_header_compiler=yes
22731 else
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.$ac_ext >&5
22734
22735 ac_header_compiler=no
22736 fi
22737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22739 echo "${ECHO_T}$ac_header_compiler" >&6
22740
22741 # Is the header present?
22742 echo "$as_me:$LINENO: checking png.h presence" >&5
22743 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 #include <png.h>
22751 _ACEOF
22752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22754 ac_status=$?
22755 grep -v '^ *+' conftest.er1 >conftest.err
22756 rm -f conftest.er1
22757 cat conftest.err >&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } >/dev/null; then
22760 if test -s conftest.err; then
22761 ac_cpp_err=$ac_c_preproc_warn_flag
22762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22763 else
22764 ac_cpp_err=
22765 fi
22766 else
22767 ac_cpp_err=yes
22768 fi
22769 if test -z "$ac_cpp_err"; then
22770 ac_header_preproc=yes
22771 else
22772 echo "$as_me: failed program was:" >&5
22773 sed 's/^/| /' conftest.$ac_ext >&5
22774
22775 ac_header_preproc=no
22776 fi
22777 rm -f conftest.err conftest.$ac_ext
22778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22779 echo "${ECHO_T}$ac_header_preproc" >&6
22780
22781 # So? What about this header?
22782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22783 yes:no: )
22784 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22785 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22786 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22787 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22788 ac_header_preproc=yes
22789 ;;
22790 no:yes:* )
22791 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22792 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22793 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22794 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22795 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22796 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22797 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22798 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22799 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22800 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22801 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22802 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22803 (
22804 cat <<\_ASBOX
22805 ## ----------------------------------------- ##
22806 ## Report this to wx-dev@lists.wxwidgets.org ##
22807 ## ----------------------------------------- ##
22808 _ASBOX
22809 ) |
22810 sed "s/^/$as_me: WARNING: /" >&2
22811 ;;
22812 esac
22813 echo "$as_me:$LINENO: checking for png.h" >&5
22814 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22815 if test "${ac_cv_header_png_h+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 else
22818 ac_cv_header_png_h=$ac_header_preproc
22819 fi
22820 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22821 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22822
22823 fi
22824
22825
22826
22827 if test "$ac_cv_header_png_h" = "yes"; then
22828 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22833 ac_check_lib_save_LIBS=$LIBS
22834 LIBS="-lpng -lz -lm $LIBS"
22835 cat >conftest.$ac_ext <<_ACEOF
22836 /* confdefs.h. */
22837 _ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841
22842 /* Override any gcc2 internal prototype to avoid an error. */
22843 #ifdef __cplusplus
22844 extern "C"
22845 #endif
22846 /* We use char because int might match the return type of a gcc2
22847 builtin and then its argument prototype would still apply. */
22848 char png_check_sig ();
22849 int
22850 main ()
22851 {
22852 png_check_sig ();
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 rm -f conftest.$ac_objext conftest$ac_exeext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22859 (eval $ac_link) 2>conftest.er1
22860 ac_status=$?
22861 grep -v '^ *+' conftest.er1 >conftest.err
22862 rm -f conftest.er1
22863 cat conftest.err >&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try='test -z "$ac_c_werror_flag"
22867 || test ! -s conftest.err'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22870 ac_status=$?
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try='test -s conftest$ac_exeext'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_lib_png_png_check_sig=yes
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 ac_cv_lib_png_png_check_sig=no
22885 fi
22886 rm -f conftest.err conftest.$ac_objext \
22887 conftest$ac_exeext conftest.$ac_ext
22888 LIBS=$ac_check_lib_save_LIBS
22889 fi
22890 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22891 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22892 if test $ac_cv_lib_png_png_check_sig = yes; then
22893 PNG_LINK=" -lpng -lz"
22894 fi
22895
22896 fi
22897
22898 if test "x$PNG_LINK" = "x" ; then
22899 if test "$wxUSE_LIBPNG" = "sys" ; then
22900 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22901 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22902 { (exit 1); exit 1; }; }
22903 else
22904 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22905 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22906 wxUSE_LIBPNG=builtin
22907 fi
22908 else
22909 wxUSE_LIBPNG=sys
22910 fi
22911 fi
22912 fi
22913
22914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
22915 fi
22916
22917
22918 JPEG_LINK=
22919 if test "$wxUSE_LIBJPEG" != "no" ; then
22920 cat >>confdefs.h <<\_ACEOF
22921 #define wxUSE_LIBJPEG 1
22922 _ACEOF
22923
22924
22925 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22926 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22927 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22928 wxUSE_LIBJPEG=sys
22929 fi
22930
22931 if test "$wxUSE_MGL" != 1 ; then
22932 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22933 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22934 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22935 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 else
22938 cat >conftest.$ac_ext <<_ACEOF
22939 /* confdefs.h. */
22940 _ACEOF
22941 cat confdefs.h >>conftest.$ac_ext
22942 cat >>conftest.$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22944
22945 #undef HAVE_STDLIB_H
22946 #include <stdio.h>
22947 #include <jpeglib.h>
22948
22949 int
22950 main ()
22951 {
22952
22953
22954 ;
22955 return 0;
22956 }
22957 _ACEOF
22958 rm -f conftest.$ac_objext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22960 (eval $ac_compile) 2>conftest.er1
22961 ac_status=$?
22962 grep -v '^ *+' conftest.er1 >conftest.err
22963 rm -f conftest.er1
22964 cat conftest.err >&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } &&
22967 { ac_try='test -z "$ac_c_werror_flag"
22968 || test ! -s conftest.err'
22969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970 (eval $ac_try) 2>&5
22971 ac_status=$?
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; } &&
22974 { ac_try='test -s conftest.$ac_objext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22980 ac_cv_header_jpeglib_h=yes
22981 else
22982 echo "$as_me: failed program was:" >&5
22983 sed 's/^/| /' conftest.$ac_ext >&5
22984
22985 ac_cv_header_jpeglib_h=no
22986
22987 fi
22988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22989
22990 fi
22991
22992 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22993 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22994
22995 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22996 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22997 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22998 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22999 echo $ECHO_N "(cached) $ECHO_C" >&6
23000 else
23001 ac_check_lib_save_LIBS=$LIBS
23002 LIBS="-ljpeg $LIBS"
23003 cat >conftest.$ac_ext <<_ACEOF
23004 /* confdefs.h. */
23005 _ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009
23010 /* Override any gcc2 internal prototype to avoid an error. */
23011 #ifdef __cplusplus
23012 extern "C"
23013 #endif
23014 /* We use char because int might match the return type of a gcc2
23015 builtin and then its argument prototype would still apply. */
23016 char jpeg_read_header ();
23017 int
23018 main ()
23019 {
23020 jpeg_read_header ();
23021 ;
23022 return 0;
23023 }
23024 _ACEOF
23025 rm -f conftest.$ac_objext conftest$ac_exeext
23026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23027 (eval $ac_link) 2>conftest.er1
23028 ac_status=$?
23029 grep -v '^ *+' conftest.er1 >conftest.err
23030 rm -f conftest.er1
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_c_werror_flag"
23035 || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_lib_jpeg_jpeg_read_header=yes
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_cv_lib_jpeg_jpeg_read_header=no
23053 fi
23054 rm -f conftest.err conftest.$ac_objext \
23055 conftest$ac_exeext conftest.$ac_ext
23056 LIBS=$ac_check_lib_save_LIBS
23057 fi
23058 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23059 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23060 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23061 JPEG_LINK=" -ljpeg"
23062 fi
23063
23064 fi
23065
23066 if test "x$JPEG_LINK" = "x" ; then
23067 if test "$wxUSE_LIBJPEG" = "sys" ; then
23068 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23069 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23070 { (exit 1); exit 1; }; }
23071 else
23072 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23073 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23074 wxUSE_LIBJPEG=builtin
23075 fi
23076 else
23077 wxUSE_LIBJPEG=sys
23078 fi
23079 fi
23080 fi
23081 fi
23082
23083
23084 TIFF_LINK=
23085 TIFF_PREREQ_LINKS=-lm
23086 if test "$wxUSE_LIBTIFF" != "no" ; then
23087 cat >>confdefs.h <<\_ACEOF
23088 #define wxUSE_LIBTIFF 1
23089 _ACEOF
23090
23091
23092 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23093 if test "$wxUSE_LIBJPEG" = "sys"; then
23094 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23095 fi
23096 if test "$wxUSE_ZLIB" = "sys"; then
23097 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23098 fi
23099 if test "${ac_cv_header_tiffio_h+set}" = set; then
23100 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23101 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23102 if test "${ac_cv_header_tiffio_h+set}" = set; then
23103 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 fi
23105 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23106 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23107 else
23108 # Is the header compilable?
23109 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23110 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 $ac_includes_default
23118 #include <tiffio.h>
23119 _ACEOF
23120 rm -f conftest.$ac_objext
23121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23122 (eval $ac_compile) 2>conftest.er1
23123 ac_status=$?
23124 grep -v '^ *+' conftest.er1 >conftest.err
23125 rm -f conftest.er1
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } &&
23129 { ac_try='test -z "$ac_c_werror_flag"
23130 || test ! -s conftest.err'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; } &&
23136 { ac_try='test -s conftest.$ac_objext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 ac_header_compiler=yes
23143 else
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23146
23147 ac_header_compiler=no
23148 fi
23149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23151 echo "${ECHO_T}$ac_header_compiler" >&6
23152
23153 # Is the header present?
23154 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23155 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 #include <tiffio.h>
23163 _ACEOF
23164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23166 ac_status=$?
23167 grep -v '^ *+' conftest.er1 >conftest.err
23168 rm -f conftest.er1
23169 cat conftest.err >&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev/null; then
23172 if test -s conftest.err; then
23173 ac_cpp_err=$ac_c_preproc_warn_flag
23174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23175 else
23176 ac_cpp_err=
23177 fi
23178 else
23179 ac_cpp_err=yes
23180 fi
23181 if test -z "$ac_cpp_err"; then
23182 ac_header_preproc=yes
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187 ac_header_preproc=no
23188 fi
23189 rm -f conftest.err conftest.$ac_ext
23190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23191 echo "${ECHO_T}$ac_header_preproc" >&6
23192
23193 # So? What about this header?
23194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23195 yes:no: )
23196 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23197 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23198 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23199 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23200 ac_header_preproc=yes
23201 ;;
23202 no:yes:* )
23203 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23204 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23205 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23206 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23207 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23208 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23209 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23210 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23211 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23212 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23213 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23214 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23215 (
23216 cat <<\_ASBOX
23217 ## ----------------------------------------- ##
23218 ## Report this to wx-dev@lists.wxwidgets.org ##
23219 ## ----------------------------------------- ##
23220 _ASBOX
23221 ) |
23222 sed "s/^/$as_me: WARNING: /" >&2
23223 ;;
23224 esac
23225 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23226 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23227 if test "${ac_cv_header_tiffio_h+set}" = set; then
23228 echo $ECHO_N "(cached) $ECHO_C" >&6
23229 else
23230 ac_cv_header_tiffio_h=$ac_header_preproc
23231 fi
23232 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23233 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23234
23235 fi
23236 if test $ac_cv_header_tiffio_h = yes; then
23237
23238 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23239 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23240 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 else
23243 ac_check_lib_save_LIBS=$LIBS
23244 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23245 cat >conftest.$ac_ext <<_ACEOF
23246 /* confdefs.h. */
23247 _ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251
23252 /* Override any gcc2 internal prototype to avoid an error. */
23253 #ifdef __cplusplus
23254 extern "C"
23255 #endif
23256 /* We use char because int might match the return type of a gcc2
23257 builtin and then its argument prototype would still apply. */
23258 char TIFFError ();
23259 int
23260 main ()
23261 {
23262 TIFFError ();
23263 ;
23264 return 0;
23265 }
23266 _ACEOF
23267 rm -f conftest.$ac_objext conftest$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23270 ac_status=$?
23271 grep -v '^ *+' conftest.er1 >conftest.err
23272 rm -f conftest.er1
23273 cat conftest.err >&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try='test -z "$ac_c_werror_flag"
23277 || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest$ac_exeext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_cv_lib_tiff_TIFFError=yes
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23293
23294 ac_cv_lib_tiff_TIFFError=no
23295 fi
23296 rm -f conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23298 LIBS=$ac_check_lib_save_LIBS
23299 fi
23300 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23301 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23302 if test $ac_cv_lib_tiff_TIFFError = yes; then
23303 TIFF_LINK=" -ltiff"
23304 fi
23305
23306
23307
23308 fi
23309
23310
23311
23312 if test "x$TIFF_LINK" = "x" ; then
23313 if test "$wxUSE_LIBTIFF" = "sys" ; then
23314 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23315 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23316 { (exit 1); exit 1; }; }
23317 else
23318 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23319 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23320 wxUSE_LIBTIFF=builtin
23321 fi
23322 else
23323 wxUSE_LIBTIFF=sys
23324 fi
23325 fi
23326 fi
23327
23328
23329 if test "$wxUSE_EXPAT" != "no"; then
23330 wxUSE_XML=yes
23331 cat >>confdefs.h <<\_ACEOF
23332 #define wxUSE_EXPAT 1
23333 _ACEOF
23334
23335 cat >>confdefs.h <<\_ACEOF
23336 #define wxUSE_XML 1
23337 _ACEOF
23338
23339
23340 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23341 if test "${ac_cv_header_expat_h+set}" = set; then
23342 echo "$as_me:$LINENO: checking for expat.h" >&5
23343 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23344 if test "${ac_cv_header_expat_h+set}" = set; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23346 fi
23347 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23348 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23349 else
23350 # Is the header compilable?
23351 echo "$as_me:$LINENO: checking expat.h usability" >&5
23352 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23360 #include <expat.h>
23361 _ACEOF
23362 rm -f conftest.$ac_objext
23363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23364 (eval $ac_compile) 2>conftest.er1
23365 ac_status=$?
23366 grep -v '^ *+' conftest.er1 >conftest.err
23367 rm -f conftest.er1
23368 cat conftest.err >&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } &&
23371 { ac_try='test -z "$ac_c_werror_flag"
23372 || test ! -s conftest.err'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23375 ac_status=$?
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; } &&
23378 { ac_try='test -s conftest.$ac_objext'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23381 ac_status=$?
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 ac_header_compiler=yes
23385 else
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23388
23389 ac_header_compiler=no
23390 fi
23391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23393 echo "${ECHO_T}$ac_header_compiler" >&6
23394
23395 # Is the header present?
23396 echo "$as_me:$LINENO: checking expat.h presence" >&5
23397 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23398 cat >conftest.$ac_ext <<_ACEOF
23399 /* confdefs.h. */
23400 _ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23404 #include <expat.h>
23405 _ACEOF
23406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23408 ac_status=$?
23409 grep -v '^ *+' conftest.er1 >conftest.err
23410 rm -f conftest.er1
23411 cat conftest.err >&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } >/dev/null; then
23414 if test -s conftest.err; then
23415 ac_cpp_err=$ac_c_preproc_warn_flag
23416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23417 else
23418 ac_cpp_err=
23419 fi
23420 else
23421 ac_cpp_err=yes
23422 fi
23423 if test -z "$ac_cpp_err"; then
23424 ac_header_preproc=yes
23425 else
23426 echo "$as_me: failed program was:" >&5
23427 sed 's/^/| /' conftest.$ac_ext >&5
23428
23429 ac_header_preproc=no
23430 fi
23431 rm -f conftest.err conftest.$ac_ext
23432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23433 echo "${ECHO_T}$ac_header_preproc" >&6
23434
23435 # So? What about this header?
23436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23437 yes:no: )
23438 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23439 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23440 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23441 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23442 ac_header_preproc=yes
23443 ;;
23444 no:yes:* )
23445 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23446 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23447 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23448 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23449 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23450 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23451 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23452 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23453 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23454 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23455 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23456 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23457 (
23458 cat <<\_ASBOX
23459 ## ----------------------------------------- ##
23460 ## Report this to wx-dev@lists.wxwidgets.org ##
23461 ## ----------------------------------------- ##
23462 _ASBOX
23463 ) |
23464 sed "s/^/$as_me: WARNING: /" >&2
23465 ;;
23466 esac
23467 echo "$as_me:$LINENO: checking for expat.h" >&5
23468 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23469 if test "${ac_cv_header_expat_h+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23471 else
23472 ac_cv_header_expat_h=$ac_header_preproc
23473 fi
23474 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23475 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23476
23477 fi
23478 if test $ac_cv_header_expat_h = yes; then
23479 found_expat_h=1
23480 fi
23481
23482
23483 if test "x$found_expat_h" = "x1"; then
23484 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23485 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23486 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 else
23489
23490
23491
23492 ac_ext=cc
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497
23498 cat >conftest.$ac_ext <<_ACEOF
23499 /* confdefs.h. */
23500 _ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504 #include <expat.h>
23505 int
23506 main ()
23507 {
23508
23509 ;
23510 return 0;
23511 }
23512 _ACEOF
23513 rm -f conftest.$ac_objext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23515 (eval $ac_compile) 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -z "$ac_cxx_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23526 ac_status=$?
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try='test -s conftest.$ac_objext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 wx_cv_expat_is_not_broken=yes
23536 else
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23539
23540 wx_cv_expat_is_not_broken=no
23541
23542 fi
23543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23549
23550
23551
23552 fi
23553 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23554 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23555 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23556 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23557 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23558 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 else
23561 ac_check_lib_save_LIBS=$LIBS
23562 LIBS="-lexpat $LIBS"
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h. */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569
23570 /* Override any gcc2 internal prototype to avoid an error. */
23571 #ifdef __cplusplus
23572 extern "C"
23573 #endif
23574 /* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23576 char XML_ParserCreate ();
23577 int
23578 main ()
23579 {
23580 XML_ParserCreate ();
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext conftest$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587 (eval $ac_link) 2>conftest.er1
23588 ac_status=$?
23589 grep -v '^ *+' conftest.er1 >conftest.err
23590 rm -f conftest.er1
23591 cat conftest.err >&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try='test -z "$ac_c_werror_flag"
23595 || test ! -s conftest.err'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; } &&
23601 { ac_try='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_lib_expat_XML_ParserCreate=yes
23608 else
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 ac_cv_lib_expat_XML_ParserCreate=no
23613 fi
23614 rm -f conftest.err conftest.$ac_objext \
23615 conftest$ac_exeext conftest.$ac_ext
23616 LIBS=$ac_check_lib_save_LIBS
23617 fi
23618 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23619 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23620 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23621 EXPAT_LINK=" -lexpat"
23622 fi
23623
23624 fi
23625 fi
23626 if test "x$EXPAT_LINK" = "x" ; then
23627 if test "$wxUSE_EXPAT" = "sys" ; then
23628 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23629 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23630 { (exit 1); exit 1; }; }
23631 else
23632 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23633 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23634 wxUSE_EXPAT=builtin
23635 fi
23636 else
23637 wxUSE_EXPAT=sys
23638 fi
23639 fi
23640 if test "$wxUSE_EXPAT" = "builtin" ; then
23641
23642
23643 subdirs="$subdirs src/expat"
23644
23645 fi
23646 fi
23647
23648
23649
23650 if test "$wxUSE_LIBMSPACK" != "no"; then
23651 if test "${ac_cv_header_mspack_h+set}" = set; then
23652 echo "$as_me:$LINENO: checking for mspack.h" >&5
23653 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23654 if test "${ac_cv_header_mspack_h+set}" = set; then
23655 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 fi
23657 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23658 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23659 else
23660 # Is the header compilable?
23661 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23662 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23663 cat >conftest.$ac_ext <<_ACEOF
23664 /* confdefs.h. */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 $ac_includes_default
23670 #include <mspack.h>
23671 _ACEOF
23672 rm -f conftest.$ac_objext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23674 (eval $ac_compile) 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -z "$ac_c_werror_flag"
23682 || test ! -s conftest.err'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; } &&
23688 { ac_try='test -s conftest.$ac_objext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 ac_header_compiler=yes
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23698
23699 ac_header_compiler=no
23700 fi
23701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23703 echo "${ECHO_T}$ac_header_compiler" >&6
23704
23705 # Is the header present?
23706 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23707 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23708 cat >conftest.$ac_ext <<_ACEOF
23709 /* confdefs.h. */
23710 _ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 #include <mspack.h>
23715 _ACEOF
23716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23718 ac_status=$?
23719 grep -v '^ *+' conftest.er1 >conftest.err
23720 rm -f conftest.er1
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } >/dev/null; then
23724 if test -s conftest.err; then
23725 ac_cpp_err=$ac_c_preproc_warn_flag
23726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23727 else
23728 ac_cpp_err=
23729 fi
23730 else
23731 ac_cpp_err=yes
23732 fi
23733 if test -z "$ac_cpp_err"; then
23734 ac_header_preproc=yes
23735 else
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23738
23739 ac_header_preproc=no
23740 fi
23741 rm -f conftest.err conftest.$ac_ext
23742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23743 echo "${ECHO_T}$ac_header_preproc" >&6
23744
23745 # So? What about this header?
23746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23747 yes:no: )
23748 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23749 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23751 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23752 ac_header_preproc=yes
23753 ;;
23754 no:yes:* )
23755 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23756 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23757 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23758 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23759 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23760 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23761 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23762 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23763 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23764 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23765 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23766 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23767 (
23768 cat <<\_ASBOX
23769 ## ----------------------------------------- ##
23770 ## Report this to wx-dev@lists.wxwidgets.org ##
23771 ## ----------------------------------------- ##
23772 _ASBOX
23773 ) |
23774 sed "s/^/$as_me: WARNING: /" >&2
23775 ;;
23776 esac
23777 echo "$as_me:$LINENO: checking for mspack.h" >&5
23778 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23779 if test "${ac_cv_header_mspack_h+set}" = set; then
23780 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 else
23782 ac_cv_header_mspack_h=$ac_header_preproc
23783 fi
23784 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23785 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23786
23787 fi
23788 if test $ac_cv_header_mspack_h = yes; then
23789 found_mspack_h=1
23790 fi
23791
23792
23793 if test "x$found_mspack_h" = "x1"; then
23794 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23795 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23796 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23798 else
23799 ac_check_lib_save_LIBS=$LIBS
23800 LIBS="-lmspack $LIBS"
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807
23808 /* Override any gcc2 internal prototype to avoid an error. */
23809 #ifdef __cplusplus
23810 extern "C"
23811 #endif
23812 /* We use char because int might match the return type of a gcc2
23813 builtin and then its argument prototype would still apply. */
23814 char mspack_create_chm_decompressor ();
23815 int
23816 main ()
23817 {
23818 mspack_create_chm_decompressor ();
23819 ;
23820 return 0;
23821 }
23822 _ACEOF
23823 rm -f conftest.$ac_objext conftest$ac_exeext
23824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23825 (eval $ac_link) 2>conftest.er1
23826 ac_status=$?
23827 grep -v '^ *+' conftest.er1 >conftest.err
23828 rm -f conftest.er1
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } &&
23832 { ac_try='test -z "$ac_c_werror_flag"
23833 || test ! -s conftest.err'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; } &&
23839 { ac_try='test -s conftest$ac_exeext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
23851 fi
23852 rm -f conftest.err conftest.$ac_objext \
23853 conftest$ac_exeext conftest.$ac_ext
23854 LIBS=$ac_check_lib_save_LIBS
23855 fi
23856 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23857 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23858 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23859 MSPACK_LINK=" -lmspack"
23860 fi
23861
23862 fi
23863 if test "x$MSPACK_LINK" = "x" ; then
23864 wxUSE_LIBMSPACK=no
23865 fi
23866 fi
23867
23868 if test "$wxUSE_LIBMSPACK" != "no"; then
23869 cat >>confdefs.h <<\_ACEOF
23870 #define wxUSE_LIBMSPACK 1
23871 _ACEOF
23872
23873 fi
23874
23875
23876
23877 AFMINSTALL=
23878 WIN32INSTALL=
23879
23880 TOOLKIT=
23881 TOOLKIT_INCLUDE=
23882 WIDGET_SET=
23883
23884 if test "$USE_WIN32" = 1 ; then
23885
23886 for ac_header in w32api.h
23887 do
23888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23890 echo "$as_me:$LINENO: checking for $ac_header" >&5
23891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 fi
23895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23897 else
23898 # Is the header compilable?
23899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23901 cat >conftest.$ac_ext <<_ACEOF
23902 /* confdefs.h. */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 $ac_includes_default
23908 #include <$ac_header>
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912 (eval $ac_compile) 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } &&
23919 { ac_try='test -z "$ac_c_werror_flag"
23920 || test ! -s conftest.err'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; } &&
23926 { ac_try='test -s conftest.$ac_objext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_header_compiler=yes
23933 else
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 ac_header_compiler=no
23938 fi
23939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23941 echo "${ECHO_T}$ac_header_compiler" >&6
23942
23943 # Is the header present?
23944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23946 cat >conftest.$ac_ext <<_ACEOF
23947 /* confdefs.h. */
23948 _ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 #include <$ac_header>
23953 _ACEOF
23954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23956 ac_status=$?
23957 grep -v '^ *+' conftest.er1 >conftest.err
23958 rm -f conftest.er1
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } >/dev/null; then
23962 if test -s conftest.err; then
23963 ac_cpp_err=$ac_c_preproc_warn_flag
23964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23965 else
23966 ac_cpp_err=
23967 fi
23968 else
23969 ac_cpp_err=yes
23970 fi
23971 if test -z "$ac_cpp_err"; then
23972 ac_header_preproc=yes
23973 else
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23976
23977 ac_header_preproc=no
23978 fi
23979 rm -f conftest.err conftest.$ac_ext
23980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23981 echo "${ECHO_T}$ac_header_preproc" >&6
23982
23983 # So? What about this header?
23984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23985 yes:no: )
23986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23990 ac_header_preproc=yes
23991 ;;
23992 no:yes:* )
23993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24005 (
24006 cat <<\_ASBOX
24007 ## ----------------------------------------- ##
24008 ## Report this to wx-dev@lists.wxwidgets.org ##
24009 ## ----------------------------------------- ##
24010 _ASBOX
24011 ) |
24012 sed "s/^/$as_me: WARNING: /" >&2
24013 ;;
24014 esac
24015 echo "$as_me:$LINENO: checking for $ac_header" >&5
24016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24019 else
24020 eval "$as_ac_Header=\$ac_header_preproc"
24021 fi
24022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24024
24025 fi
24026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24027 cat >>confdefs.h <<_ACEOF
24028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24029 _ACEOF
24030
24031 fi
24032
24033 done
24034
24035 if test "${ac_cv_header_windows_h+set}" = set; then
24036 echo "$as_me:$LINENO: checking for windows.h" >&5
24037 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24038 if test "${ac_cv_header_windows_h+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 fi
24041 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24042 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24043 else
24044 # Is the header compilable?
24045 echo "$as_me:$LINENO: checking windows.h usability" >&5
24046 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24047 cat >conftest.$ac_ext <<_ACEOF
24048 /* confdefs.h. */
24049 _ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 $ac_includes_default
24054 #include <windows.h>
24055 _ACEOF
24056 rm -f conftest.$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>conftest.er1
24059 ac_status=$?
24060 grep -v '^ *+' conftest.er1 >conftest.err
24061 rm -f conftest.er1
24062 cat conftest.err >&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try='test -z "$ac_c_werror_flag"
24066 || test ! -s conftest.err'
24067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24068 (eval $ac_try) 2>&5
24069 ac_status=$?
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; } &&
24072 { ac_try='test -s conftest.$ac_objext'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24075 ac_status=$?
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; }; then
24078 ac_header_compiler=yes
24079 else
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.$ac_ext >&5
24082
24083 ac_header_compiler=no
24084 fi
24085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24087 echo "${ECHO_T}$ac_header_compiler" >&6
24088
24089 # Is the header present?
24090 echo "$as_me:$LINENO: checking windows.h presence" >&5
24091 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24092 cat >conftest.$ac_ext <<_ACEOF
24093 /* confdefs.h. */
24094 _ACEOF
24095 cat confdefs.h >>conftest.$ac_ext
24096 cat >>conftest.$ac_ext <<_ACEOF
24097 /* end confdefs.h. */
24098 #include <windows.h>
24099 _ACEOF
24100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24102 ac_status=$?
24103 grep -v '^ *+' conftest.er1 >conftest.err
24104 rm -f conftest.er1
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } >/dev/null; then
24108 if test -s conftest.err; then
24109 ac_cpp_err=$ac_c_preproc_warn_flag
24110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24111 else
24112 ac_cpp_err=
24113 fi
24114 else
24115 ac_cpp_err=yes
24116 fi
24117 if test -z "$ac_cpp_err"; then
24118 ac_header_preproc=yes
24119 else
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24122
24123 ac_header_preproc=no
24124 fi
24125 rm -f conftest.err conftest.$ac_ext
24126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24127 echo "${ECHO_T}$ac_header_preproc" >&6
24128
24129 # So? What about this header?
24130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24131 yes:no: )
24132 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24133 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24135 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24136 ac_header_preproc=yes
24137 ;;
24138 no:yes:* )
24139 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24140 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24141 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24142 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24143 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24144 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24145 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24146 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24147 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24148 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24149 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24150 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24151 (
24152 cat <<\_ASBOX
24153 ## ----------------------------------------- ##
24154 ## Report this to wx-dev@lists.wxwidgets.org ##
24155 ## ----------------------------------------- ##
24156 _ASBOX
24157 ) |
24158 sed "s/^/$as_me: WARNING: /" >&2
24159 ;;
24160 esac
24161 echo "$as_me:$LINENO: checking for windows.h" >&5
24162 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24163 if test "${ac_cv_header_windows_h+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 else
24166 ac_cv_header_windows_h=$ac_header_preproc
24167 fi
24168 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24169 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24170
24171 fi
24172 if test $ac_cv_header_windows_h = yes; then
24173 :
24174 else
24175
24176 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24177 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24178 { (exit 1); exit 1; }; }
24179
24180 fi
24181
24182
24183
24184 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24185
24186 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24187 LIBS="$LIBS -loleacc"
24188 fi
24189
24190 case "${host}" in
24191 *-*-cygwin* )
24192 LIBS="$LIBS -lkernel32 -luser32"
24193 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24194 esac
24195
24196 if test "$wxUSE_ODBC" = "sys" ; then
24197 wxUSE_ODBC = "yes"
24198 fi
24199 if test "$wxUSE_ODBC" = "yes" ; then
24200 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24201 cat >>confdefs.h <<\_ACEOF
24202 #define wxUSE_ODBC 1
24203 _ACEOF
24204
24205 fi
24206
24207 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24208 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24209
24210 WIN32INSTALL=win32install
24211 fi
24212
24213 if test "$wxUSE_GUI" = "yes"; then
24214 USE_GUI=1
24215
24216 GUI_TK_LIBRARY=
24217
24218 WXGTK12=
24219 WXGTK127=
24220 WXGTK20=
24221 WXGPE=
24222
24223 if test "$wxUSE_COCOA" = 1 ; then
24224 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24225 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24226 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24227 wxUSE_PRINTING_ARCHITECTURE=no
24228 fi
24229 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24230 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24231 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24232 wxUSE_DRAG_AND_DROP=no
24233 fi
24234 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24235 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24236 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24237 wxUSE_DRAGIMAGE=no
24238 fi
24239 fi
24240
24241 if test "$wxUSE_MSW" = 1 ; then
24242 TOOLKIT=MSW
24243 GUIDIST=MSW_DIST
24244
24245 case "${host}" in
24246 *-*-mingw32* )
24247 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24248 esac
24249 fi
24250
24251 if test "$wxUSE_GTK" = 1; then
24252 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24253 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24254
24255 gtk_version_cached=1
24256 if test "${wx_cv_lib_gtk+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24258 else
24259
24260 gtk_version_cached=0
24261 echo "$as_me:$LINENO: result: " >&5
24262 echo "${ECHO_T}" >&6
24263
24264 GTK_MODULES=
24265 if test "$wxUSE_THREADS" = "yes"; then
24266 GTK_MODULES=gthread
24267 fi
24268
24269 wx_cv_lib_gtk=
24270 if test "x$wxUSE_GTK2" = "xyes"; then
24271 # Check whether --enable-gtktest or --disable-gtktest was given.
24272 if test "${enable_gtktest+set}" = set; then
24273 enableval="$enable_gtktest"
24274
24275 else
24276 enable_gtktest=yes
24277 fi;
24278
24279 pkg_config_args=gtk+-2.0
24280 for module in . $GTK_MODULES
24281 do
24282 case "$module" in
24283 gthread)
24284 pkg_config_args="$pkg_config_args gthread-2.0"
24285 ;;
24286 esac
24287 done
24288
24289 no_gtk=""
24290
24291 # Extract the first word of "pkg-config", so it can be a program name with args.
24292 set dummy pkg-config; ac_word=$2
24293 echo "$as_me:$LINENO: checking for $ac_word" >&5
24294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24295 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 else
24298 case $PKG_CONFIG in
24299 [\\/]* | ?:[\\/]*)
24300 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24301 ;;
24302 *)
24303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24304 for as_dir in $PATH
24305 do
24306 IFS=$as_save_IFS
24307 test -z "$as_dir" && as_dir=.
24308 for ac_exec_ext in '' $ac_executable_extensions; do
24309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24310 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24312 break 2
24313 fi
24314 done
24315 done
24316
24317 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24318 ;;
24319 esac
24320 fi
24321 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24322
24323 if test -n "$PKG_CONFIG"; then
24324 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24325 echo "${ECHO_T}$PKG_CONFIG" >&6
24326 else
24327 echo "$as_me:$LINENO: result: no" >&5
24328 echo "${ECHO_T}no" >&6
24329 fi
24330
24331
24332 if test x$PKG_CONFIG != xno ; then
24333 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24334 :
24335 else
24336 echo "*** pkg-config too old; version 0.7 or better required."
24337 no_gtk=yes
24338 PKG_CONFIG=no
24339 fi
24340 else
24341 no_gtk=yes
24342 fi
24343
24344 min_gtk_version=2.0.0
24345 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24346 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24347
24348 if test x$PKG_CONFIG != xno ; then
24349 ## don't try to run the test against uninstalled libtool libs
24350 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24351 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24352 enable_gtktest=no
24353 fi
24354
24355 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24356 :
24357 else
24358 no_gtk=yes
24359 fi
24360 fi
24361
24362 if test x"$no_gtk" = x ; then
24363 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24364 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24365 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24367 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24369 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24371 if test "x$enable_gtktest" = "xyes" ; then
24372 ac_save_CFLAGS="$CFLAGS"
24373 ac_save_LIBS="$LIBS"
24374 CFLAGS="$CFLAGS $GTK_CFLAGS"
24375 LIBS="$GTK_LIBS $LIBS"
24376 rm -f conf.gtktest
24377 if test "$cross_compiling" = yes; then
24378 echo $ac_n "cross compiling; assumed OK... $ac_c"
24379 else
24380 cat >conftest.$ac_ext <<_ACEOF
24381 /* confdefs.h. */
24382 _ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386
24387 #include <gtk/gtk.h>
24388 #include <stdio.h>
24389 #include <stdlib.h>
24390
24391 int
24392 main ()
24393 {
24394 int major, minor, micro;
24395 char *tmp_version;
24396
24397 system ("touch conf.gtktest");
24398
24399 /* HP/UX 9 (%@#!) writes to sscanf strings */
24400 tmp_version = g_strdup("$min_gtk_version");
24401 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24402 printf("%s, bad version string\n", "$min_gtk_version");
24403 exit(1);
24404 }
24405
24406 if ((gtk_major_version != $gtk_config_major_version) ||
24407 (gtk_minor_version != $gtk_config_minor_version) ||
24408 (gtk_micro_version != $gtk_config_micro_version))
24409 {
24410 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24411 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24412 gtk_major_version, gtk_minor_version, gtk_micro_version);
24413 printf ("*** was found! If pkg-config was correct, then it is best\n");
24414 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24415 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24416 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24417 printf("*** required on your system.\n");
24418 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24419 printf("*** to point to the correct configuration files\n");
24420 }
24421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24422 (gtk_minor_version != GTK_MINOR_VERSION) ||
24423 (gtk_micro_version != GTK_MICRO_VERSION))
24424 {
24425 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24427 printf("*** library (version %d.%d.%d)\n",
24428 gtk_major_version, gtk_minor_version, gtk_micro_version);
24429 }
24430 else
24431 {
24432 if ((gtk_major_version > major) ||
24433 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24434 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24435 {
24436 return 0;
24437 }
24438 else
24439 {
24440 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24441 gtk_major_version, gtk_minor_version, gtk_micro_version);
24442 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24443 major, minor, micro);
24444 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24445 printf("***\n");
24446 printf("*** If you have already installed a sufficiently new version, this error\n");
24447 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24448 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24449 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24450 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24451 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24452 printf("*** so that the correct libraries are found at run-time))\n");
24453 }
24454 }
24455 return 1;
24456 }
24457
24458 _ACEOF
24459 rm -f conftest$ac_exeext
24460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24461 (eval $ac_link) 2>&5
24462 ac_status=$?
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 :
24471 else
24472 echo "$as_me: program exited with status $ac_status" >&5
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ( exit $ac_status )
24477 no_gtk=yes
24478 fi
24479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24480 fi
24481 CFLAGS="$ac_save_CFLAGS"
24482 LIBS="$ac_save_LIBS"
24483 fi
24484 fi
24485 if test "x$no_gtk" = x ; then
24486 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24487 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24488 wx_cv_lib_gtk=2.0
24489 else
24490 echo "$as_me:$LINENO: result: no" >&5
24491 echo "${ECHO_T}no" >&6
24492 if test "$PKG_CONFIG" = "no" ; then
24493 echo "*** A new enough version of pkg-config was not found."
24494 echo "*** See http://pkgconfig.sourceforge.net"
24495 else
24496 if test -f conf.gtktest ; then
24497 :
24498 else
24499 echo "*** Could not run GTK+ test program, checking why..."
24500 ac_save_CFLAGS="$CFLAGS"
24501 ac_save_LIBS="$LIBS"
24502 CFLAGS="$CFLAGS $GTK_CFLAGS"
24503 LIBS="$LIBS $GTK_LIBS"
24504 cat >conftest.$ac_ext <<_ACEOF
24505 /* confdefs.h. */
24506 _ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510
24511 #include <gtk/gtk.h>
24512 #include <stdio.h>
24513
24514 int
24515 main ()
24516 {
24517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 rm -f conftest.$ac_objext conftest$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>conftest.er1
24525 ac_status=$?
24526 grep -v '^ *+' conftest.er1 >conftest.err
24527 rm -f conftest.er1
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } &&
24531 { ac_try='test -z "$ac_c_werror_flag"
24532 || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24535 ac_status=$?
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try='test -s conftest$ac_exeext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24541 ac_status=$?
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 echo "*** The test program compiled, but did not run. This usually means"
24545 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24546 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24547 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24548 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24549 echo "*** is required on your system"
24550 echo "***"
24551 echo "*** If you have an old version installed, it is best to remove it, although"
24552 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24553 else
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24556
24557 echo "*** The test program failed to compile or link. See the file config.log for the"
24558 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24559 fi
24560 rm -f conftest.err conftest.$ac_objext \
24561 conftest$ac_exeext conftest.$ac_ext
24562 CFLAGS="$ac_save_CFLAGS"
24563 LIBS="$ac_save_LIBS"
24564 fi
24565 fi
24566 GTK_CFLAGS=""
24567 GTK_LIBS=""
24568 :
24569 fi
24570
24571
24572 rm -f conf.gtktest
24573
24574 else
24575
24576 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24577 if test "${with_gtk_prefix+set}" = set; then
24578 withval="$with_gtk_prefix"
24579 gtk_config_prefix="$withval"
24580 else
24581 gtk_config_prefix=""
24582 fi;
24583
24584 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24585 if test "${with_gtk_exec_prefix+set}" = set; then
24586 withval="$with_gtk_exec_prefix"
24587 gtk_config_exec_prefix="$withval"
24588 else
24589 gtk_config_exec_prefix=""
24590 fi;
24591 # Check whether --enable-gtktest or --disable-gtktest was given.
24592 if test "${enable_gtktest+set}" = set; then
24593 enableval="$enable_gtktest"
24594
24595 else
24596 enable_gtktest=yes
24597 fi;
24598
24599 for module in . $GTK_MODULES
24600 do
24601 case "$module" in
24602 gthread)
24603 gtk_config_args="$gtk_config_args gthread"
24604 ;;
24605 esac
24606 done
24607
24608 if test x$gtk_config_exec_prefix != x ; then
24609 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24610 if test x${GTK_CONFIG+set} != xset ; then
24611 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24612 fi
24613 fi
24614 if test x$gtk_config_prefix != x ; then
24615 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24616 if test x${GTK_CONFIG+set} != xset ; then
24617 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24618 fi
24619 fi
24620
24621 # Extract the first word of "gtk-config", so it can be a program name with args.
24622 set dummy gtk-config; ac_word=$2
24623 echo "$as_me:$LINENO: checking for $ac_word" >&5
24624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24627 else
24628 case $GTK_CONFIG in
24629 [\\/]* | ?:[\\/]*)
24630 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24631 ;;
24632 *)
24633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24634 for as_dir in $PATH
24635 do
24636 IFS=$as_save_IFS
24637 test -z "$as_dir" && as_dir=.
24638 for ac_exec_ext in '' $ac_executable_extensions; do
24639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24640 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24642 break 2
24643 fi
24644 done
24645 done
24646
24647 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24648 ;;
24649 esac
24650 fi
24651 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24652
24653 if test -n "$GTK_CONFIG"; then
24654 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24655 echo "${ECHO_T}$GTK_CONFIG" >&6
24656 else
24657 echo "$as_me:$LINENO: result: no" >&5
24658 echo "${ECHO_T}no" >&6
24659 fi
24660
24661 min_gtk_version=1.2.7
24662 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24663 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24664 no_gtk=""
24665 if test "$GTK_CONFIG" = "no" ; then
24666 no_gtk=yes
24667 else
24668 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24669 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24670 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24672 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24674 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24676 if test "x$enable_gtktest" = "xyes" ; then
24677 ac_save_CFLAGS="$CFLAGS"
24678 ac_save_LIBS="$LIBS"
24679 CFLAGS="$CFLAGS $GTK_CFLAGS"
24680 LIBS="$GTK_LIBS $LIBS"
24681 rm -f conf.gtktest
24682 if test "$cross_compiling" = yes; then
24683 echo $ac_n "cross compiling; assumed OK... $ac_c"
24684 else
24685 cat >conftest.$ac_ext <<_ACEOF
24686 /* confdefs.h. */
24687 _ACEOF
24688 cat confdefs.h >>conftest.$ac_ext
24689 cat >>conftest.$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24691
24692 #include <gtk/gtk.h>
24693 #include <stdio.h>
24694 #include <stdlib.h>
24695
24696 int
24697 main ()
24698 {
24699 int major, minor, micro;
24700 char *tmp_version;
24701
24702 system ("touch conf.gtktest");
24703
24704 /* HP/UX 9 (%@#!) writes to sscanf strings */
24705 tmp_version = g_strdup("$min_gtk_version");
24706 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24707 printf("%s, bad version string\n", "$min_gtk_version");
24708 exit(1);
24709 }
24710
24711 if ((gtk_major_version != $gtk_config_major_version) ||
24712 (gtk_minor_version != $gtk_config_minor_version) ||
24713 (gtk_micro_version != $gtk_config_micro_version))
24714 {
24715 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24716 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24717 gtk_major_version, gtk_minor_version, gtk_micro_version);
24718 printf ("*** was found! If gtk-config was correct, then it is best\n");
24719 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24720 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24721 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24722 printf("*** required on your system.\n");
24723 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24724 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24725 printf("*** before re-running configure\n");
24726 }
24727 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24728 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24729 (gtk_minor_version != GTK_MINOR_VERSION) ||
24730 (gtk_micro_version != GTK_MICRO_VERSION))
24731 {
24732 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24733 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24734 printf("*** library (version %d.%d.%d)\n",
24735 gtk_major_version, gtk_minor_version, gtk_micro_version);
24736 }
24737 #endif /* defined (GTK_MAJOR_VERSION) ... */
24738 else
24739 {
24740 if ((gtk_major_version > major) ||
24741 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24742 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24743 {
24744 return 0;
24745 }
24746 else
24747 {
24748 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24749 gtk_major_version, gtk_minor_version, gtk_micro_version);
24750 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24751 major, minor, micro);
24752 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24753 printf("***\n");
24754 printf("*** If you have already installed a sufficiently new version, this error\n");
24755 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24756 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24757 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24758 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24759 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24760 printf("*** so that the correct libraries are found at run-time))\n");
24761 }
24762 }
24763 return 1;
24764 }
24765
24766 _ACEOF
24767 rm -f conftest$ac_exeext
24768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24769 (eval $ac_link) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24778 :
24779 else
24780 echo "$as_me: program exited with status $ac_status" >&5
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.$ac_ext >&5
24783
24784 ( exit $ac_status )
24785 no_gtk=yes
24786 fi
24787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24788 fi
24789 CFLAGS="$ac_save_CFLAGS"
24790 LIBS="$ac_save_LIBS"
24791 fi
24792 fi
24793 if test "x$no_gtk" = x ; then
24794 echo "$as_me:$LINENO: result: yes" >&5
24795 echo "${ECHO_T}yes" >&6
24796 wx_cv_lib_gtk=1.2.7
24797 else
24798 echo "$as_me:$LINENO: result: no" >&5
24799 echo "${ECHO_T}no" >&6
24800 if test "$GTK_CONFIG" = "no" ; then
24801 echo "*** The gtk-config script installed by GTK could not be found"
24802 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24803 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24804 echo "*** full path to gtk-config."
24805 else
24806 if test -f conf.gtktest ; then
24807 :
24808 else
24809 echo "*** Could not run GTK test program, checking why..."
24810 CFLAGS="$CFLAGS $GTK_CFLAGS"
24811 LIBS="$LIBS $GTK_LIBS"
24812 cat >conftest.$ac_ext <<_ACEOF
24813 /* confdefs.h. */
24814 _ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818
24819 #include <gtk/gtk.h>
24820 #include <stdio.h>
24821
24822 int
24823 main ()
24824 {
24825 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24826 ;
24827 return 0;
24828 }
24829 _ACEOF
24830 rm -f conftest.$ac_objext conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>conftest.er1
24833 ac_status=$?
24834 grep -v '^ *+' conftest.er1 >conftest.err
24835 rm -f conftest.er1
24836 cat conftest.err >&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
24839 { ac_try='test -z "$ac_c_werror_flag"
24840 || test ! -s conftest.err'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24843 ac_status=$?
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; } &&
24846 { ac_try='test -s conftest$ac_exeext'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24849 ac_status=$?
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; }; then
24852 echo "*** The test program compiled, but did not run. This usually means"
24853 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24854 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24857 echo "*** is required on your system"
24858 echo "***"
24859 echo "*** If you have an old version installed, it is best to remove it, although"
24860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24861 echo "***"
24862 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24863 echo "*** came with the system with the command"
24864 echo "***"
24865 echo "*** rpm --erase --nodeps gtk gtk-devel"
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 echo "*** The test program failed to compile or link. See the file config.log for the"
24871 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24872 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24873 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24874 fi
24875 rm -f conftest.err conftest.$ac_objext \
24876 conftest$ac_exeext conftest.$ac_ext
24877 CFLAGS="$ac_save_CFLAGS"
24878 LIBS="$ac_save_LIBS"
24879 fi
24880 fi
24881 GTK_CFLAGS=""
24882 GTK_LIBS=""
24883 :
24884 fi
24885
24886
24887 rm -f conf.gtktest
24888
24889
24890 if test -z "$wx_cv_lib_gtk"; then
24891
24892 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24893 if test "${with_gtk_prefix+set}" = set; then
24894 withval="$with_gtk_prefix"
24895 gtk_config_prefix="$withval"
24896 else
24897 gtk_config_prefix=""
24898 fi;
24899
24900 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24901 if test "${with_gtk_exec_prefix+set}" = set; then
24902 withval="$with_gtk_exec_prefix"
24903 gtk_config_exec_prefix="$withval"
24904 else
24905 gtk_config_exec_prefix=""
24906 fi;
24907 # Check whether --enable-gtktest or --disable-gtktest was given.
24908 if test "${enable_gtktest+set}" = set; then
24909 enableval="$enable_gtktest"
24910
24911 else
24912 enable_gtktest=yes
24913 fi;
24914
24915 for module in . $GTK_MODULES
24916 do
24917 case "$module" in
24918 gthread)
24919 gtk_config_args="$gtk_config_args gthread"
24920 ;;
24921 esac
24922 done
24923
24924 if test x$gtk_config_exec_prefix != x ; then
24925 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24926 if test x${GTK_CONFIG+set} != xset ; then
24927 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
24928 fi
24929 fi
24930 if test x$gtk_config_prefix != x ; then
24931 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
24932 if test x${GTK_CONFIG+set} != xset ; then
24933 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
24934 fi
24935 fi
24936
24937 # Extract the first word of "gtk-config", so it can be a program name with args.
24938 set dummy gtk-config; ac_word=$2
24939 echo "$as_me:$LINENO: checking for $ac_word" >&5
24940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24941 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24943 else
24944 case $GTK_CONFIG in
24945 [\\/]* | ?:[\\/]*)
24946 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
24947 ;;
24948 *)
24949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24950 for as_dir in $PATH
24951 do
24952 IFS=$as_save_IFS
24953 test -z "$as_dir" && as_dir=.
24954 for ac_exec_ext in '' $ac_executable_extensions; do
24955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24956 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24958 break 2
24959 fi
24960 done
24961 done
24962
24963 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
24964 ;;
24965 esac
24966 fi
24967 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
24968
24969 if test -n "$GTK_CONFIG"; then
24970 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24971 echo "${ECHO_T}$GTK_CONFIG" >&6
24972 else
24973 echo "$as_me:$LINENO: result: no" >&5
24974 echo "${ECHO_T}no" >&6
24975 fi
24976
24977 min_gtk_version=1.2.3
24978 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24979 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24980 no_gtk=""
24981 if test "$GTK_CONFIG" = "no" ; then
24982 no_gtk=yes
24983 else
24984 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24985 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24986 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24988 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24990 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24992 if test "x$enable_gtktest" = "xyes" ; then
24993 ac_save_CFLAGS="$CFLAGS"
24994 ac_save_LIBS="$LIBS"
24995 CFLAGS="$CFLAGS $GTK_CFLAGS"
24996 LIBS="$GTK_LIBS $LIBS"
24997 rm -f conf.gtktest
24998 if test "$cross_compiling" = yes; then
24999 echo $ac_n "cross compiling; assumed OK... $ac_c"
25000 else
25001 cat >conftest.$ac_ext <<_ACEOF
25002 /* confdefs.h. */
25003 _ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007
25008 #include <gtk/gtk.h>
25009 #include <stdio.h>
25010 #include <stdlib.h>
25011
25012 int
25013 main ()
25014 {
25015 int major, minor, micro;
25016 char *tmp_version;
25017
25018 system ("touch conf.gtktest");
25019
25020 /* HP/UX 9 (%@#!) writes to sscanf strings */
25021 tmp_version = g_strdup("$min_gtk_version");
25022 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25023 printf("%s, bad version string\n", "$min_gtk_version");
25024 exit(1);
25025 }
25026
25027 if ((gtk_major_version != $gtk_config_major_version) ||
25028 (gtk_minor_version != $gtk_config_minor_version) ||
25029 (gtk_micro_version != $gtk_config_micro_version))
25030 {
25031 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25032 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25033 gtk_major_version, gtk_minor_version, gtk_micro_version);
25034 printf ("*** was found! If gtk-config was correct, then it is best\n");
25035 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25036 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25037 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25038 printf("*** required on your system.\n");
25039 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25040 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25041 printf("*** before re-running configure\n");
25042 }
25043 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25044 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25045 (gtk_minor_version != GTK_MINOR_VERSION) ||
25046 (gtk_micro_version != GTK_MICRO_VERSION))
25047 {
25048 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25049 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25050 printf("*** library (version %d.%d.%d)\n",
25051 gtk_major_version, gtk_minor_version, gtk_micro_version);
25052 }
25053 #endif /* defined (GTK_MAJOR_VERSION) ... */
25054 else
25055 {
25056 if ((gtk_major_version > major) ||
25057 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25058 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25059 {
25060 return 0;
25061 }
25062 else
25063 {
25064 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25065 gtk_major_version, gtk_minor_version, gtk_micro_version);
25066 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25067 major, minor, micro);
25068 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25069 printf("***\n");
25070 printf("*** If you have already installed a sufficiently new version, this error\n");
25071 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25072 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25073 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25074 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25075 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25076 printf("*** so that the correct libraries are found at run-time))\n");
25077 }
25078 }
25079 return 1;
25080 }
25081
25082 _ACEOF
25083 rm -f conftest$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 2>&5
25086 ac_status=$?
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25091 ac_status=$?
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; }; then
25094 :
25095 else
25096 echo "$as_me: program exited with status $ac_status" >&5
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25099
25100 ( exit $ac_status )
25101 no_gtk=yes
25102 fi
25103 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25104 fi
25105 CFLAGS="$ac_save_CFLAGS"
25106 LIBS="$ac_save_LIBS"
25107 fi
25108 fi
25109 if test "x$no_gtk" = x ; then
25110 echo "$as_me:$LINENO: result: yes" >&5
25111 echo "${ECHO_T}yes" >&6
25112 wx_cv_lib_gtk=1.2.3
25113 else
25114 echo "$as_me:$LINENO: result: no" >&5
25115 echo "${ECHO_T}no" >&6
25116 if test "$GTK_CONFIG" = "no" ; then
25117 echo "*** The gtk-config script installed by GTK could not be found"
25118 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25119 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25120 echo "*** full path to gtk-config."
25121 else
25122 if test -f conf.gtktest ; then
25123 :
25124 else
25125 echo "*** Could not run GTK test program, checking why..."
25126 CFLAGS="$CFLAGS $GTK_CFLAGS"
25127 LIBS="$LIBS $GTK_LIBS"
25128 cat >conftest.$ac_ext <<_ACEOF
25129 /* confdefs.h. */
25130 _ACEOF
25131 cat confdefs.h >>conftest.$ac_ext
25132 cat >>conftest.$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25134
25135 #include <gtk/gtk.h>
25136 #include <stdio.h>
25137
25138 int
25139 main ()
25140 {
25141 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25142 ;
25143 return 0;
25144 }
25145 _ACEOF
25146 rm -f conftest.$ac_objext conftest$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try='test -z "$ac_c_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25159 ac_status=$?
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try='test -s conftest$ac_exeext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 echo "*** The test program compiled, but did not run. This usually means"
25169 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25170 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25171 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25172 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25173 echo "*** is required on your system"
25174 echo "***"
25175 echo "*** If you have an old version installed, it is best to remove it, although"
25176 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25177 echo "***"
25178 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25179 echo "*** came with the system with the command"
25180 echo "***"
25181 echo "*** rpm --erase --nodeps gtk gtk-devel"
25182 else
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.$ac_ext >&5
25185
25186 echo "*** The test program failed to compile or link. See the file config.log for the"
25187 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25188 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25189 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25190 fi
25191 rm -f conftest.err conftest.$ac_objext \
25192 conftest$ac_exeext conftest.$ac_ext
25193 CFLAGS="$ac_save_CFLAGS"
25194 LIBS="$ac_save_LIBS"
25195 fi
25196 fi
25197 GTK_CFLAGS=""
25198 GTK_LIBS=""
25199 :
25200 fi
25201
25202
25203 rm -f conf.gtktest
25204
25205 fi
25206 fi
25207
25208 if test -z "$wx_cv_lib_gtk"; then
25209 wx_cv_lib_gtk=none
25210 else
25211 wx_cv_cflags_gtk=$GTK_CFLAGS
25212 wx_cv_libs_gtk=$GTK_LIBS
25213 fi
25214
25215
25216 fi
25217
25218
25219 if test "$gtk_version_cached" = 1; then
25220 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25221 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25222 fi
25223
25224 case "$wx_cv_lib_gtk" in
25225 2.0) WXGTK20=1
25226 TOOLKIT_VERSION=2
25227 ;;
25228 1.2.7) WXGTK127=1
25229 WXGTK12=1
25230 ;;
25231 1.2.3) WXGTK12=1
25232 ;;
25233 *) { { echo "$as_me:$LINENO: error:
25234 Please check that gtk-config is in path, the directory
25235 where GTK+ libraries are installed (returned by
25236 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25237 equivalent variable and GTK+ is version 1.2.3 or above.
25238 " >&5
25239 echo "$as_me: error:
25240 Please check that gtk-config is in path, the directory
25241 where GTK+ libraries are installed (returned by
25242 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25243 equivalent variable and GTK+ is version 1.2.3 or above.
25244 " >&2;}
25245 { (exit 1); exit 1; }; }
25246 ;;
25247 esac
25248
25249 if test "$WXGTK20" = 1; then
25250 save_CFLAGS="$CFLAGS"
25251 save_LIBS="$LIBS"
25252 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25253 LIBS="$LIBS $wx_cv_lib_gtk"
25254
25255
25256 for ac_func in pango_font_family_is_monospace
25257 do
25258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25259 echo "$as_me:$LINENO: checking for $ac_func" >&5
25260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25261 if eval "test \"\${$as_ac_var+set}\" = set"; then
25262 echo $ECHO_N "(cached) $ECHO_C" >&6
25263 else
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25272 #define $ac_func innocuous_$ac_func
25273
25274 /* System header to define __stub macros and hopefully few prototypes,
25275 which can conflict with char $ac_func (); below.
25276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277 <limits.h> exists even on freestanding compilers. */
25278
25279 #ifdef __STDC__
25280 # include <limits.h>
25281 #else
25282 # include <assert.h>
25283 #endif
25284
25285 #undef $ac_func
25286
25287 /* Override any gcc2 internal prototype to avoid an error. */
25288 #ifdef __cplusplus
25289 extern "C"
25290 {
25291 #endif
25292 /* We use char because int might match the return type of a gcc2
25293 builtin and then its argument prototype would still apply. */
25294 char $ac_func ();
25295 /* The GNU C library defines this for functions which it implements
25296 to always fail with ENOSYS. Some functions are actually named
25297 something starting with __ and the normal name is an alias. */
25298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25299 choke me
25300 #else
25301 char (*f) () = $ac_func;
25302 #endif
25303 #ifdef __cplusplus
25304 }
25305 #endif
25306
25307 int
25308 main ()
25309 {
25310 return f != $ac_func;
25311 ;
25312 return 0;
25313 }
25314 _ACEOF
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25317 (eval $ac_link) 2>conftest.er1
25318 ac_status=$?
25319 grep -v '^ *+' conftest.er1 >conftest.err
25320 rm -f conftest.er1
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } &&
25324 { ac_try='test -z "$ac_c_werror_flag"
25325 || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25328 ac_status=$?
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try='test -s conftest$ac_exeext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25334 ac_status=$?
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 eval "$as_ac_var=yes"
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 eval "$as_ac_var=no"
25343 fi
25344 rm -f conftest.err conftest.$ac_objext \
25345 conftest$ac_exeext conftest.$ac_ext
25346 fi
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350 cat >>confdefs.h <<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25352 _ACEOF
25353
25354 fi
25355 done
25356
25357
25358 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25359 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366
25367 #include <gtk/gtk.h>
25368
25369 int
25370 main ()
25371 {
25372
25373 #if !GTK_CHECK_VERSION(2,4,0)
25374 #error "Not GTK+ 2.4"
25375 #endif
25376
25377 ;
25378 return 0;
25379 }
25380 _ACEOF
25381 rm -f conftest.$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try='test -z "$ac_c_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest.$ac_objext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403
25404 cat >>confdefs.h <<\_ACEOF
25405 #define __WXGTK24__ 1
25406 _ACEOF
25407
25408 echo "$as_me:$LINENO: result: yes" >&5
25409 echo "${ECHO_T}yes" >&6
25410
25411 else
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.$ac_ext >&5
25414
25415
25416 echo "$as_me:$LINENO: result: no" >&5
25417 echo "${ECHO_T}no" >&6
25418
25419 fi
25420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25421
25422 CFLAGS="$save_CFLAGS"
25423 LIBS="$save_LIBS"
25424 else
25425 if test "$wxUSE_UNICODE" = "yes"; then
25426 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25427 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25428 wxUSE_UNICODE=no
25429 fi
25430 fi
25431
25432 if test "$USE_DARWIN" != 1; then
25433
25434 for ac_func in poll
25435 do
25436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25437 echo "$as_me:$LINENO: checking for $ac_func" >&5
25438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25439 if eval "test \"\${$as_ac_var+set}\" = set"; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 else
25442 cat >conftest.$ac_ext <<_ACEOF
25443 /* confdefs.h. */
25444 _ACEOF
25445 cat confdefs.h >>conftest.$ac_ext
25446 cat >>conftest.$ac_ext <<_ACEOF
25447 /* end confdefs.h. */
25448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25450 #define $ac_func innocuous_$ac_func
25451
25452 /* System header to define __stub macros and hopefully few prototypes,
25453 which can conflict with char $ac_func (); below.
25454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25455 <limits.h> exists even on freestanding compilers. */
25456
25457 #ifdef __STDC__
25458 # include <limits.h>
25459 #else
25460 # include <assert.h>
25461 #endif
25462
25463 #undef $ac_func
25464
25465 /* Override any gcc2 internal prototype to avoid an error. */
25466 #ifdef __cplusplus
25467 extern "C"
25468 {
25469 #endif
25470 /* We use char because int might match the return type of a gcc2
25471 builtin and then its argument prototype would still apply. */
25472 char $ac_func ();
25473 /* The GNU C library defines this for functions which it implements
25474 to always fail with ENOSYS. Some functions are actually named
25475 something starting with __ and the normal name is an alias. */
25476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25477 choke me
25478 #else
25479 char (*f) () = $ac_func;
25480 #endif
25481 #ifdef __cplusplus
25482 }
25483 #endif
25484
25485 int
25486 main ()
25487 {
25488 return f != $ac_func;
25489 ;
25490 return 0;
25491 }
25492 _ACEOF
25493 rm -f conftest.$ac_objext conftest$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25496 ac_status=$?
25497 grep -v '^ *+' conftest.er1 >conftest.err
25498 rm -f conftest.er1
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 eval "$as_ac_var=yes"
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25519
25520 eval "$as_ac_var=no"
25521 fi
25522 rm -f conftest.err conftest.$ac_objext \
25523 conftest$ac_exeext conftest.$ac_ext
25524 fi
25525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25527 if test `eval echo '${'$as_ac_var'}'` = yes; then
25528 cat >>confdefs.h <<_ACEOF
25529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25530 _ACEOF
25531
25532 fi
25533 done
25534
25535 fi
25536
25537 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
25538 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25539
25540 AFMINSTALL=afminstall
25541 TOOLKIT=GTK
25542 GUIDIST=GTK_DIST
25543
25544 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25545 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25546 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25548 else
25549 ac_check_lib_save_LIBS=$LIBS
25550 LIBS="-lgdk $LIBS"
25551 cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h. */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557
25558 /* Override any gcc2 internal prototype to avoid an error. */
25559 #ifdef __cplusplus
25560 extern "C"
25561 #endif
25562 /* We use char because int might match the return type of a gcc2
25563 builtin and then its argument prototype would still apply. */
25564 char gdk_im_open ();
25565 int
25566 main ()
25567 {
25568 gdk_im_open ();
25569 ;
25570 return 0;
25571 }
25572 _ACEOF
25573 rm -f conftest.$ac_objext conftest$ac_exeext
25574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25575 (eval $ac_link) 2>conftest.er1
25576 ac_status=$?
25577 grep -v '^ *+' conftest.er1 >conftest.err
25578 rm -f conftest.er1
25579 cat conftest.err >&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); } &&
25582 { ac_try='test -z "$ac_c_werror_flag"
25583 || test ! -s conftest.err'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25586 ac_status=$?
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; } &&
25589 { ac_try='test -s conftest$ac_exeext'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25592 ac_status=$?
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; }; then
25595 ac_cv_lib_gdk_gdk_im_open=yes
25596 else
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.$ac_ext >&5
25599
25600 ac_cv_lib_gdk_gdk_im_open=no
25601 fi
25602 rm -f conftest.err conftest.$ac_objext \
25603 conftest$ac_exeext conftest.$ac_ext
25604 LIBS=$ac_check_lib_save_LIBS
25605 fi
25606 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25607 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25608 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25609 cat >>confdefs.h <<\_ACEOF
25610 #define HAVE_XIM 1
25611 _ACEOF
25612
25613 fi
25614
25615
25616
25617 if test "$wxUSE_GPE" = "yes"; then
25618 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25619 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25620
25621 ac_find_libraries=
25622 for ac_dir in $SEARCH_LIB /usr/lib;
25623 do
25624 for ac_extension in a so sl dylib; do
25625 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25626 ac_find_libraries=$ac_dir
25627 break 2
25628 fi
25629 done
25630 done
25631
25632 if test "$ac_find_libraries" != "" ; then
25633
25634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25635 result=$?
25636 if test $result = 0; then
25637 ac_path_to_link=""
25638 else
25639 ac_path_to_link=" -L$ac_find_libraries"
25640 fi
25641
25642 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25643 WXGPE=1
25644 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25645 echo "${ECHO_T}found at $ac_find_libraries" >&6
25646 else
25647 echo "$as_me:$LINENO: result: not found" >&5
25648 echo "${ECHO_T}not found" >&6
25649 fi
25650
25651 fi
25652 fi
25653
25654 if test "$wxUSE_MGL" = 1; then
25655 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25656 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25657 if test "x$MGL_ROOT" = x ; then
25658 echo "$as_me:$LINENO: result: not found" >&5
25659 echo "${ECHO_T}not found" >&6
25660 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25661 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25662 { (exit 1); exit 1; }; }
25663 else
25664 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25665 echo "${ECHO_T}$MGL_ROOT" >&6
25666 fi
25667
25668 echo "$as_me:$LINENO: checking for libmgl location" >&5
25669 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25670 case "${host}" in
25671 *-*-linux* )
25672 if test "x$wxUSE_SHARED" = xyes ; then
25673 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25674 else
25675 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25676 fi
25677 ;;
25678 *-pc-msdosdjgpp )
25679 mgl_os_candidates="dos32/dj2"
25680 ;;
25681 *)
25682 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25683 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25684 { (exit 1); exit 1; }; }
25685 esac
25686
25687 mgl_lib_type=""
25688 mgl_os=""
25689
25690 for mgl_os_i in $mgl_os_candidates ; do
25691 if test "x$mgl_os" = x ; then
25692 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25693 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
25694 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
25695 mgl_lib_type=debug
25696 mgl_os=$mgl_os_i
25697 fi
25698 fi
25699 if test "x$mgl_lib_type" = x ; then
25700 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
25701 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
25702 mgl_lib_type=release
25703 mgl_os=$mgl_os_i
25704 fi
25705 fi
25706 fi
25707 done
25708
25709 if test "x$mgl_os" = x ; then
25710 echo "$as_me:$LINENO: result: not found" >&5
25711 echo "${ECHO_T}not found" >&6
25712 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25713 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25714 { (exit 1); exit 1; }; }
25715 fi
25716 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25717 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25718
25719 wxUSE_UNIVERSAL="yes"
25720
25721 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
25722 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25723
25724 AFMINSTALL=afminstall
25725 TOOLKIT=MGL
25726 GUIDIST=MGL_DIST
25727 fi
25728
25729 if test "$wxUSE_MICROWIN" = 1; then
25730 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25731 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25732 if test "x$MICROWINDOWS" = x ; then
25733 echo "$as_me:$LINENO: result: not found" >&5
25734 echo "${ECHO_T}not found" >&6
25735 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25736 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25737 { (exit 1); exit 1; }; }
25738 else
25739 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25740 echo "${ECHO_T}$MICROWINDOWS" >&6
25741 fi
25742
25743 if test -f $MICROWINDOWS/lib/libmwin.a; then
25744 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25745 echo "${ECHO_T}MicroWindows' libraries found." >&6
25746 else
25747 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25748 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25749 { (exit 1); exit 1; }; }
25750 fi
25751
25752 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
25753 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25754
25755 wxUSE_UNIVERSAL="yes"
25756
25757 AFMINSTALL=afminstall
25758 TOOLKIT=MICROWIN
25759 GUIDIST=MICROWIN_DIST
25760
25761 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25762 fi
25763
25764 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25765 echo "$as_me:$LINENO: checking for X" >&5
25766 echo $ECHO_N "checking for X... $ECHO_C" >&6
25767
25768
25769 # Check whether --with-x or --without-x was given.
25770 if test "${with_x+set}" = set; then
25771 withval="$with_x"
25772
25773 fi;
25774 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25775 if test "x$with_x" = xno; then
25776 # The user explicitly disabled X.
25777 have_x=disabled
25778 else
25779 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
25780 # Both variables are already set.
25781 have_x=yes
25782 else
25783 if test "${ac_cv_have_x+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786 # One or both of the vars are not set, and there is no cached value.
25787 ac_x_includes=no ac_x_libraries=no
25788 rm -fr conftest.dir
25789 if mkdir conftest.dir; then
25790 cd conftest.dir
25791 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25792 cat >Imakefile <<'_ACEOF'
25793 acfindx:
25794 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25795 _ACEOF
25796 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
25797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25798 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25799 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25800 for ac_extension in a so sl; do
25801 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
25802 test -f $ac_im_libdir/libX11.$ac_extension; then
25803 ac_im_usrlibdir=$ac_im_libdir; break
25804 fi
25805 done
25806 # Screen out bogus values from the imake configuration. They are
25807 # bogus both because they are the default anyway, and because
25808 # using them would break gcc on systems where it needs fixed includes.
25809 case $ac_im_incroot in
25810 /usr/include) ;;
25811 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25812 esac
25813 case $ac_im_usrlibdir in
25814 /usr/lib | /lib) ;;
25815 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25816 esac
25817 fi
25818 cd ..
25819 rm -fr conftest.dir
25820 fi
25821
25822 # Standard set of common directories for X headers.
25823 # Check X11 before X11Rn because it is often a symlink to the current release.
25824 ac_x_header_dirs='
25825 /usr/X11/include
25826 /usr/X11R6/include
25827 /usr/X11R5/include
25828 /usr/X11R4/include
25829
25830 /usr/include/X11
25831 /usr/include/X11R6
25832 /usr/include/X11R5
25833 /usr/include/X11R4
25834
25835 /usr/local/X11/include
25836 /usr/local/X11R6/include
25837 /usr/local/X11R5/include
25838 /usr/local/X11R4/include
25839
25840 /usr/local/include/X11
25841 /usr/local/include/X11R6
25842 /usr/local/include/X11R5
25843 /usr/local/include/X11R4
25844
25845 /usr/X386/include
25846 /usr/x386/include
25847 /usr/XFree86/include/X11
25848
25849 /usr/include
25850 /usr/local/include
25851 /usr/unsupported/include
25852 /usr/athena/include
25853 /usr/local/x11r5/include
25854 /usr/lpp/Xamples/include
25855
25856 /usr/openwin/include
25857 /usr/openwin/share/include'
25858
25859 if test "$ac_x_includes" = no; then
25860 # Guess where to find include files, by looking for Intrinsic.h.
25861 # First, try using that file with no special directory specified.
25862 cat >conftest.$ac_ext <<_ACEOF
25863 /* confdefs.h. */
25864 _ACEOF
25865 cat confdefs.h >>conftest.$ac_ext
25866 cat >>conftest.$ac_ext <<_ACEOF
25867 /* end confdefs.h. */
25868 #include <X11/Intrinsic.h>
25869 _ACEOF
25870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25872 ac_status=$?
25873 grep -v '^ *+' conftest.er1 >conftest.err
25874 rm -f conftest.er1
25875 cat conftest.err >&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); } >/dev/null; then
25878 if test -s conftest.err; then
25879 ac_cpp_err=$ac_c_preproc_warn_flag
25880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25881 else
25882 ac_cpp_err=
25883 fi
25884 else
25885 ac_cpp_err=yes
25886 fi
25887 if test -z "$ac_cpp_err"; then
25888 # We can compile using X headers with no special include directory.
25889 ac_x_includes=
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 for ac_dir in $ac_x_header_dirs; do
25895 if test -r "$ac_dir/X11/Intrinsic.h"; then
25896 ac_x_includes=$ac_dir
25897 break
25898 fi
25899 done
25900 fi
25901 rm -f conftest.err conftest.$ac_ext
25902 fi # $ac_x_includes = no
25903
25904 if test "$ac_x_libraries" = no; then
25905 # Check for the libraries.
25906 # See if we find them without any special options.
25907 # Don't add to $LIBS permanently.
25908 ac_save_LIBS=$LIBS
25909 LIBS="-lXt $LIBS"
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 #include <X11/Intrinsic.h>
25917 int
25918 main ()
25919 {
25920 XtMalloc (0)
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext conftest$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_c_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947 LIBS=$ac_save_LIBS
25948 # We can link X programs with no special library path.
25949 ac_x_libraries=
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 LIBS=$ac_save_LIBS
25955 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25956 do
25957 # Don't even attempt the hair of trying to link an X program!
25958 for ac_extension in a so sl; do
25959 if test -r $ac_dir/libXt.$ac_extension; then
25960 ac_x_libraries=$ac_dir
25961 break 2
25962 fi
25963 done
25964 done
25965 fi
25966 rm -f conftest.err conftest.$ac_objext \
25967 conftest$ac_exeext conftest.$ac_ext
25968 fi # $ac_x_libraries = no
25969
25970 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25971 # Didn't find X anywhere. Cache the known absence of X.
25972 ac_cv_have_x="have_x=no"
25973 else
25974 # Record where we found X for the cache.
25975 ac_cv_have_x="have_x=yes \
25976 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25977 fi
25978 fi
25979
25980 fi
25981 eval "$ac_cv_have_x"
25982 fi # $with_x != no
25983
25984 if test "$have_x" != yes; then
25985 echo "$as_me:$LINENO: result: $have_x" >&5
25986 echo "${ECHO_T}$have_x" >&6
25987 no_x=yes
25988 else
25989 # If each of the values was on the command line, it overrides each guess.
25990 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25991 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25992 # Update the cache value to reflect the command line values.
25993 ac_cv_have_x="have_x=yes \
25994 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25995 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25996 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25997 fi
25998
25999 if test "$no_x" = yes; then
26000 # Not all programs may use this symbol, but it does not hurt to define it.
26001
26002 cat >>confdefs.h <<\_ACEOF
26003 #define X_DISPLAY_MISSING 1
26004 _ACEOF
26005
26006 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26007 else
26008 if test -n "$x_includes"; then
26009 X_CFLAGS="$X_CFLAGS -I$x_includes"
26010 fi
26011
26012 # It would also be nice to do this for all -L options, not just this one.
26013 if test -n "$x_libraries"; then
26014 X_LIBS="$X_LIBS -L$x_libraries"
26015 # For Solaris; some versions of Sun CC require a space after -R and
26016 # others require no space. Words are not sufficient . . . .
26017 case `(uname -sr) 2>/dev/null` in
26018 "SunOS 5"*)
26019 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26020 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26021 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26022 cat >conftest.$ac_ext <<_ACEOF
26023 /* confdefs.h. */
26024 _ACEOF
26025 cat confdefs.h >>conftest.$ac_ext
26026 cat >>conftest.$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028
26029 int
26030 main ()
26031 {
26032
26033 ;
26034 return 0;
26035 }
26036 _ACEOF
26037 rm -f conftest.$ac_objext conftest$ac_exeext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26039 (eval $ac_link) 2>conftest.er1
26040 ac_status=$?
26041 grep -v '^ *+' conftest.er1 >conftest.err
26042 rm -f conftest.er1
26043 cat conftest.err >&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } &&
26046 { ac_try='test -z "$ac_c_werror_flag"
26047 || test ! -s conftest.err'
26048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26049 (eval $ac_try) 2>&5
26050 ac_status=$?
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); }; } &&
26053 { ac_try='test -s conftest$ac_exeext'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26056 ac_status=$?
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_R_nospace=yes
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 ac_R_nospace=no
26065 fi
26066 rm -f conftest.err conftest.$ac_objext \
26067 conftest$ac_exeext conftest.$ac_ext
26068 if test $ac_R_nospace = yes; then
26069 echo "$as_me:$LINENO: result: no" >&5
26070 echo "${ECHO_T}no" >&6
26071 X_LIBS="$X_LIBS -R$x_libraries"
26072 else
26073 LIBS="$ac_xsave_LIBS -R $x_libraries"
26074 cat >conftest.$ac_ext <<_ACEOF
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080
26081 int
26082 main ()
26083 {
26084
26085 ;
26086 return 0;
26087 }
26088 _ACEOF
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>conftest.er1
26092 ac_status=$?
26093 grep -v '^ *+' conftest.er1 >conftest.err
26094 rm -f conftest.er1
26095 cat conftest.err >&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -z "$ac_c_werror_flag"
26099 || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26111 ac_R_space=yes
26112 else
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26115
26116 ac_R_space=no
26117 fi
26118 rm -f conftest.err conftest.$ac_objext \
26119 conftest$ac_exeext conftest.$ac_ext
26120 if test $ac_R_space = yes; then
26121 echo "$as_me:$LINENO: result: yes" >&5
26122 echo "${ECHO_T}yes" >&6
26123 X_LIBS="$X_LIBS -R $x_libraries"
26124 else
26125 echo "$as_me:$LINENO: result: neither works" >&5
26126 echo "${ECHO_T}neither works" >&6
26127 fi
26128 fi
26129 LIBS=$ac_xsave_LIBS
26130 esac
26131 fi
26132
26133 # Check for system-dependent libraries X programs must link with.
26134 # Do this before checking for the system-independent R6 libraries
26135 # (-lICE), since we may need -lsocket or whatever for X linking.
26136
26137 if test "$ISC" = yes; then
26138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26139 else
26140 # Martyn Johnson says this is needed for Ultrix, if the X
26141 # libraries were built with DECnet support. And Karl Berry says
26142 # the Alpha needs dnet_stub (dnet does not exist).
26143 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26144 cat >conftest.$ac_ext <<_ACEOF
26145 /* confdefs.h. */
26146 _ACEOF
26147 cat confdefs.h >>conftest.$ac_ext
26148 cat >>conftest.$ac_ext <<_ACEOF
26149 /* end confdefs.h. */
26150
26151 /* Override any gcc2 internal prototype to avoid an error. */
26152 #ifdef __cplusplus
26153 extern "C"
26154 #endif
26155 /* We use char because int might match the return type of a gcc2
26156 builtin and then its argument prototype would still apply. */
26157 char XOpenDisplay ();
26158 int
26159 main ()
26160 {
26161 XOpenDisplay ();
26162 ;
26163 return 0;
26164 }
26165 _ACEOF
26166 rm -f conftest.$ac_objext conftest$ac_exeext
26167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26168 (eval $ac_link) 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } &&
26175 { ac_try='test -z "$ac_c_werror_flag"
26176 || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26179 ac_status=$?
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try='test -s conftest$ac_exeext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26185 ac_status=$?
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26188 :
26189 else
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.$ac_ext >&5
26192
26193 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26194 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26195 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26196 echo $ECHO_N "(cached) $ECHO_C" >&6
26197 else
26198 ac_check_lib_save_LIBS=$LIBS
26199 LIBS="-ldnet $LIBS"
26200 cat >conftest.$ac_ext <<_ACEOF
26201 /* confdefs.h. */
26202 _ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206
26207 /* Override any gcc2 internal prototype to avoid an error. */
26208 #ifdef __cplusplus
26209 extern "C"
26210 #endif
26211 /* We use char because int might match the return type of a gcc2
26212 builtin and then its argument prototype would still apply. */
26213 char dnet_ntoa ();
26214 int
26215 main ()
26216 {
26217 dnet_ntoa ();
26218 ;
26219 return 0;
26220 }
26221 _ACEOF
26222 rm -f conftest.$ac_objext conftest$ac_exeext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26224 (eval $ac_link) 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } &&
26231 { ac_try='test -z "$ac_c_werror_flag"
26232 || test ! -s conftest.err'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26235 ac_status=$?
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; } &&
26238 { ac_try='test -s conftest$ac_exeext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26241 ac_status=$?
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 ac_cv_lib_dnet_dnet_ntoa=yes
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 ac_cv_lib_dnet_dnet_ntoa=no
26250 fi
26251 rm -f conftest.err conftest.$ac_objext \
26252 conftest$ac_exeext conftest.$ac_ext
26253 LIBS=$ac_check_lib_save_LIBS
26254 fi
26255 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26256 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26257 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26258 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26259 fi
26260
26261 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26262 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26263 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26264 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 else
26267 ac_check_lib_save_LIBS=$LIBS
26268 LIBS="-ldnet_stub $LIBS"
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275
26276 /* Override any gcc2 internal prototype to avoid an error. */
26277 #ifdef __cplusplus
26278 extern "C"
26279 #endif
26280 /* We use char because int might match the return type of a gcc2
26281 builtin and then its argument prototype would still apply. */
26282 char dnet_ntoa ();
26283 int
26284 main ()
26285 {
26286 dnet_ntoa ();
26287 ;
26288 return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext conftest$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293 (eval $ac_link) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_c_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 ac_cv_lib_dnet_stub_dnet_ntoa=no
26319 fi
26320 rm -f conftest.err conftest.$ac_objext \
26321 conftest$ac_exeext conftest.$ac_ext
26322 LIBS=$ac_check_lib_save_LIBS
26323 fi
26324 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26327 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26328 fi
26329
26330 fi
26331 fi
26332 rm -f conftest.err conftest.$ac_objext \
26333 conftest$ac_exeext conftest.$ac_ext
26334 LIBS="$ac_xsave_LIBS"
26335
26336 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26337 # to get the SysV transport functions.
26338 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26339 # needs -lnsl.
26340 # The nsl library prevents programs from opening the X display
26341 # on Irix 5.2, according to T.E. Dickey.
26342 # The functions gethostbyname, getservbyname, and inet_addr are
26343 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26344 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26345 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26346 if test "${ac_cv_func_gethostbyname+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349 cat >conftest.$ac_ext <<_ACEOF
26350 /* confdefs.h. */
26351 _ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26355 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26357 #define gethostbyname innocuous_gethostbyname
26358
26359 /* System header to define __stub macros and hopefully few prototypes,
26360 which can conflict with char gethostbyname (); below.
26361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26362 <limits.h> exists even on freestanding compilers. */
26363
26364 #ifdef __STDC__
26365 # include <limits.h>
26366 #else
26367 # include <assert.h>
26368 #endif
26369
26370 #undef gethostbyname
26371
26372 /* Override any gcc2 internal prototype to avoid an error. */
26373 #ifdef __cplusplus
26374 extern "C"
26375 {
26376 #endif
26377 /* We use char because int might match the return type of a gcc2
26378 builtin and then its argument prototype would still apply. */
26379 char gethostbyname ();
26380 /* The GNU C library defines this for functions which it implements
26381 to always fail with ENOSYS. Some functions are actually named
26382 something starting with __ and the normal name is an alias. */
26383 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26384 choke me
26385 #else
26386 char (*f) () = gethostbyname;
26387 #endif
26388 #ifdef __cplusplus
26389 }
26390 #endif
26391
26392 int
26393 main ()
26394 {
26395 return f != gethostbyname;
26396 ;
26397 return 0;
26398 }
26399 _ACEOF
26400 rm -f conftest.$ac_objext conftest$ac_exeext
26401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26402 (eval $ac_link) 2>conftest.er1
26403 ac_status=$?
26404 grep -v '^ *+' conftest.er1 >conftest.err
26405 rm -f conftest.er1
26406 cat conftest.err >&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); } &&
26409 { ac_try='test -z "$ac_c_werror_flag"
26410 || test ! -s conftest.err'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26413 ac_status=$?
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; } &&
26416 { ac_try='test -s conftest$ac_exeext'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26419 ac_status=$?
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; }; then
26422 ac_cv_func_gethostbyname=yes
26423 else
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.$ac_ext >&5
26426
26427 ac_cv_func_gethostbyname=no
26428 fi
26429 rm -f conftest.err conftest.$ac_objext \
26430 conftest$ac_exeext conftest.$ac_ext
26431 fi
26432 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26433 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26434
26435 if test $ac_cv_func_gethostbyname = no; then
26436 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26437 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26438 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 else
26441 ac_check_lib_save_LIBS=$LIBS
26442 LIBS="-lnsl $LIBS"
26443 cat >conftest.$ac_ext <<_ACEOF
26444 /* confdefs.h. */
26445 _ACEOF
26446 cat confdefs.h >>conftest.$ac_ext
26447 cat >>conftest.$ac_ext <<_ACEOF
26448 /* end confdefs.h. */
26449
26450 /* Override any gcc2 internal prototype to avoid an error. */
26451 #ifdef __cplusplus
26452 extern "C"
26453 #endif
26454 /* We use char because int might match the return type of a gcc2
26455 builtin and then its argument prototype would still apply. */
26456 char gethostbyname ();
26457 int
26458 main ()
26459 {
26460 gethostbyname ();
26461 ;
26462 return 0;
26463 }
26464 _ACEOF
26465 rm -f conftest.$ac_objext conftest$ac_exeext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26467 (eval $ac_link) 2>conftest.er1
26468 ac_status=$?
26469 grep -v '^ *+' conftest.er1 >conftest.err
26470 rm -f conftest.er1
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try='test -z "$ac_c_werror_flag"
26475 || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try='test -s conftest$ac_exeext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_cv_lib_nsl_gethostbyname=yes
26488 else
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.$ac_ext >&5
26491
26492 ac_cv_lib_nsl_gethostbyname=no
26493 fi
26494 rm -f conftest.err conftest.$ac_objext \
26495 conftest$ac_exeext conftest.$ac_ext
26496 LIBS=$ac_check_lib_save_LIBS
26497 fi
26498 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26499 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26500 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26502 fi
26503
26504 if test $ac_cv_lib_nsl_gethostbyname = no; then
26505 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26506 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26507 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510 ac_check_lib_save_LIBS=$LIBS
26511 LIBS="-lbsd $LIBS"
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518
26519 /* Override any gcc2 internal prototype to avoid an error. */
26520 #ifdef __cplusplus
26521 extern "C"
26522 #endif
26523 /* We use char because int might match the return type of a gcc2
26524 builtin and then its argument prototype would still apply. */
26525 char gethostbyname ();
26526 int
26527 main ()
26528 {
26529 gethostbyname ();
26530 ;
26531 return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try='test -z "$ac_c_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_cv_lib_bsd_gethostbyname=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26560
26561 ac_cv_lib_bsd_gethostbyname=no
26562 fi
26563 rm -f conftest.err conftest.$ac_objext \
26564 conftest$ac_exeext conftest.$ac_ext
26565 LIBS=$ac_check_lib_save_LIBS
26566 fi
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26568 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26569 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26571 fi
26572
26573 fi
26574 fi
26575
26576 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26577 # socket/setsockopt and other routines are undefined under SCO ODT
26578 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26579 # on later versions), says Simon Leinen: it contains gethostby*
26580 # variants that don't use the name server (or something). -lsocket
26581 # must be given before -lnsl if both are needed. We assume that
26582 # if connect needs -lnsl, so does gethostbyname.
26583 echo "$as_me:$LINENO: checking for connect" >&5
26584 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26585 if test "${ac_cv_func_connect+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26588 cat >conftest.$ac_ext <<_ACEOF
26589 /* confdefs.h. */
26590 _ACEOF
26591 cat confdefs.h >>conftest.$ac_ext
26592 cat >>conftest.$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26596 #define connect innocuous_connect
26597
26598 /* System header to define __stub macros and hopefully few prototypes,
26599 which can conflict with char connect (); below.
26600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26601 <limits.h> exists even on freestanding compilers. */
26602
26603 #ifdef __STDC__
26604 # include <limits.h>
26605 #else
26606 # include <assert.h>
26607 #endif
26608
26609 #undef connect
26610
26611 /* Override any gcc2 internal prototype to avoid an error. */
26612 #ifdef __cplusplus
26613 extern "C"
26614 {
26615 #endif
26616 /* We use char because int might match the return type of a gcc2
26617 builtin and then its argument prototype would still apply. */
26618 char connect ();
26619 /* The GNU C library defines this for functions which it implements
26620 to always fail with ENOSYS. Some functions are actually named
26621 something starting with __ and the normal name is an alias. */
26622 #if defined (__stub_connect) || defined (__stub___connect)
26623 choke me
26624 #else
26625 char (*f) () = connect;
26626 #endif
26627 #ifdef __cplusplus
26628 }
26629 #endif
26630
26631 int
26632 main ()
26633 {
26634 return f != connect;
26635 ;
26636 return 0;
26637 }
26638 _ACEOF
26639 rm -f conftest.$ac_objext conftest$ac_exeext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26641 (eval $ac_link) 2>conftest.er1
26642 ac_status=$?
26643 grep -v '^ *+' conftest.er1 >conftest.err
26644 rm -f conftest.er1
26645 cat conftest.err >&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } &&
26648 { ac_try='test -z "$ac_c_werror_flag"
26649 || test ! -s conftest.err'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26652 ac_status=$?
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; } &&
26655 { ac_try='test -s conftest$ac_exeext'
26656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 (eval $ac_try) 2>&5
26658 ac_status=$?
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); }; }; then
26661 ac_cv_func_connect=yes
26662 else
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.$ac_ext >&5
26665
26666 ac_cv_func_connect=no
26667 fi
26668 rm -f conftest.err conftest.$ac_objext \
26669 conftest$ac_exeext conftest.$ac_ext
26670 fi
26671 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26672 echo "${ECHO_T}$ac_cv_func_connect" >&6
26673
26674 if test $ac_cv_func_connect = no; then
26675 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26676 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26677 if test "${ac_cv_lib_socket_connect+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680 ac_check_lib_save_LIBS=$LIBS
26681 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26682 cat >conftest.$ac_ext <<_ACEOF
26683 /* confdefs.h. */
26684 _ACEOF
26685 cat confdefs.h >>conftest.$ac_ext
26686 cat >>conftest.$ac_ext <<_ACEOF
26687 /* end confdefs.h. */
26688
26689 /* Override any gcc2 internal prototype to avoid an error. */
26690 #ifdef __cplusplus
26691 extern "C"
26692 #endif
26693 /* We use char because int might match the return type of a gcc2
26694 builtin and then its argument prototype would still apply. */
26695 char connect ();
26696 int
26697 main ()
26698 {
26699 connect ();
26700 ;
26701 return 0;
26702 }
26703 _ACEOF
26704 rm -f conftest.$ac_objext conftest$ac_exeext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26706 (eval $ac_link) 2>conftest.er1
26707 ac_status=$?
26708 grep -v '^ *+' conftest.er1 >conftest.err
26709 rm -f conftest.er1
26710 cat conftest.err >&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); } &&
26713 { ac_try='test -z "$ac_c_werror_flag"
26714 || test ! -s conftest.err'
26715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26716 (eval $ac_try) 2>&5
26717 ac_status=$?
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); }; } &&
26720 { ac_try='test -s conftest$ac_exeext'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26723 ac_status=$?
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; }; then
26726 ac_cv_lib_socket_connect=yes
26727 else
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.$ac_ext >&5
26730
26731 ac_cv_lib_socket_connect=no
26732 fi
26733 rm -f conftest.err conftest.$ac_objext \
26734 conftest$ac_exeext conftest.$ac_ext
26735 LIBS=$ac_check_lib_save_LIBS
26736 fi
26737 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26738 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26739 if test $ac_cv_lib_socket_connect = yes; then
26740 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26741 fi
26742
26743 fi
26744
26745 # Guillermo Gomez says -lposix is necessary on A/UX.
26746 echo "$as_me:$LINENO: checking for remove" >&5
26747 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26748 if test "${ac_cv_func_remove+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751 cat >conftest.$ac_ext <<_ACEOF
26752 /* confdefs.h. */
26753 _ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26759 #define remove innocuous_remove
26760
26761 /* System header to define __stub macros and hopefully few prototypes,
26762 which can conflict with char remove (); below.
26763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26764 <limits.h> exists even on freestanding compilers. */
26765
26766 #ifdef __STDC__
26767 # include <limits.h>
26768 #else
26769 # include <assert.h>
26770 #endif
26771
26772 #undef remove
26773
26774 /* Override any gcc2 internal prototype to avoid an error. */
26775 #ifdef __cplusplus
26776 extern "C"
26777 {
26778 #endif
26779 /* We use char because int might match the return type of a gcc2
26780 builtin and then its argument prototype would still apply. */
26781 char remove ();
26782 /* The GNU C library defines this for functions which it implements
26783 to always fail with ENOSYS. Some functions are actually named
26784 something starting with __ and the normal name is an alias. */
26785 #if defined (__stub_remove) || defined (__stub___remove)
26786 choke me
26787 #else
26788 char (*f) () = remove;
26789 #endif
26790 #ifdef __cplusplus
26791 }
26792 #endif
26793
26794 int
26795 main ()
26796 {
26797 return f != remove;
26798 ;
26799 return 0;
26800 }
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26805 ac_status=$?
26806 grep -v '^ *+' conftest.er1 >conftest.err
26807 rm -f conftest.er1
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 ac_cv_func_remove=yes
26825 else
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26828
26829 ac_cv_func_remove=no
26830 fi
26831 rm -f conftest.err conftest.$ac_objext \
26832 conftest$ac_exeext conftest.$ac_ext
26833 fi
26834 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26835 echo "${ECHO_T}$ac_cv_func_remove" >&6
26836
26837 if test $ac_cv_func_remove = no; then
26838 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26839 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26840 if test "${ac_cv_lib_posix_remove+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 else
26843 ac_check_lib_save_LIBS=$LIBS
26844 LIBS="-lposix $LIBS"
26845 cat >conftest.$ac_ext <<_ACEOF
26846 /* confdefs.h. */
26847 _ACEOF
26848 cat confdefs.h >>conftest.$ac_ext
26849 cat >>conftest.$ac_ext <<_ACEOF
26850 /* end confdefs.h. */
26851
26852 /* Override any gcc2 internal prototype to avoid an error. */
26853 #ifdef __cplusplus
26854 extern "C"
26855 #endif
26856 /* We use char because int might match the return type of a gcc2
26857 builtin and then its argument prototype would still apply. */
26858 char remove ();
26859 int
26860 main ()
26861 {
26862 remove ();
26863 ;
26864 return 0;
26865 }
26866 _ACEOF
26867 rm -f conftest.$ac_objext conftest$ac_exeext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26869 (eval $ac_link) 2>conftest.er1
26870 ac_status=$?
26871 grep -v '^ *+' conftest.er1 >conftest.err
26872 rm -f conftest.er1
26873 cat conftest.err >&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 { ac_try='test -z "$ac_c_werror_flag"
26877 || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26880 ac_status=$?
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try='test -s conftest$ac_exeext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26886 ac_status=$?
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26889 ac_cv_lib_posix_remove=yes
26890 else
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.$ac_ext >&5
26893
26894 ac_cv_lib_posix_remove=no
26895 fi
26896 rm -f conftest.err conftest.$ac_objext \
26897 conftest$ac_exeext conftest.$ac_ext
26898 LIBS=$ac_check_lib_save_LIBS
26899 fi
26900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26901 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26902 if test $ac_cv_lib_posix_remove = yes; then
26903 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26904 fi
26905
26906 fi
26907
26908 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26909 echo "$as_me:$LINENO: checking for shmat" >&5
26910 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26911 if test "${ac_cv_func_shmat+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 else
26914 cat >conftest.$ac_ext <<_ACEOF
26915 /* confdefs.h. */
26916 _ACEOF
26917 cat confdefs.h >>conftest.$ac_ext
26918 cat >>conftest.$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26922 #define shmat innocuous_shmat
26923
26924 /* System header to define __stub macros and hopefully few prototypes,
26925 which can conflict with char shmat (); below.
26926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26927 <limits.h> exists even on freestanding compilers. */
26928
26929 #ifdef __STDC__
26930 # include <limits.h>
26931 #else
26932 # include <assert.h>
26933 #endif
26934
26935 #undef shmat
26936
26937 /* Override any gcc2 internal prototype to avoid an error. */
26938 #ifdef __cplusplus
26939 extern "C"
26940 {
26941 #endif
26942 /* We use char because int might match the return type of a gcc2
26943 builtin and then its argument prototype would still apply. */
26944 char shmat ();
26945 /* The GNU C library defines this for functions which it implements
26946 to always fail with ENOSYS. Some functions are actually named
26947 something starting with __ and the normal name is an alias. */
26948 #if defined (__stub_shmat) || defined (__stub___shmat)
26949 choke me
26950 #else
26951 char (*f) () = shmat;
26952 #endif
26953 #ifdef __cplusplus
26954 }
26955 #endif
26956
26957 int
26958 main ()
26959 {
26960 return f != shmat;
26961 ;
26962 return 0;
26963 }
26964 _ACEOF
26965 rm -f conftest.$ac_objext conftest$ac_exeext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26967 (eval $ac_link) 2>conftest.er1
26968 ac_status=$?
26969 grep -v '^ *+' conftest.er1 >conftest.err
26970 rm -f conftest.er1
26971 cat conftest.err >&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -z "$ac_c_werror_flag"
26975 || test ! -s conftest.err'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; } &&
26981 { ac_try='test -s conftest$ac_exeext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 ac_cv_func_shmat=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 ac_cv_func_shmat=no
26993 fi
26994 rm -f conftest.err conftest.$ac_objext \
26995 conftest$ac_exeext conftest.$ac_ext
26996 fi
26997 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26998 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26999
27000 if test $ac_cv_func_shmat = no; then
27001 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27002 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27003 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27005 else
27006 ac_check_lib_save_LIBS=$LIBS
27007 LIBS="-lipc $LIBS"
27008 cat >conftest.$ac_ext <<_ACEOF
27009 /* confdefs.h. */
27010 _ACEOF
27011 cat confdefs.h >>conftest.$ac_ext
27012 cat >>conftest.$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27014
27015 /* Override any gcc2 internal prototype to avoid an error. */
27016 #ifdef __cplusplus
27017 extern "C"
27018 #endif
27019 /* We use char because int might match the return type of a gcc2
27020 builtin and then its argument prototype would still apply. */
27021 char shmat ();
27022 int
27023 main ()
27024 {
27025 shmat ();
27026 ;
27027 return 0;
27028 }
27029 _ACEOF
27030 rm -f conftest.$ac_objext conftest$ac_exeext
27031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27032 (eval $ac_link) 2>conftest.er1
27033 ac_status=$?
27034 grep -v '^ *+' conftest.er1 >conftest.err
27035 rm -f conftest.er1
27036 cat conftest.err >&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } &&
27039 { ac_try='test -z "$ac_c_werror_flag"
27040 || test ! -s conftest.err'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27043 ac_status=$?
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; } &&
27046 { ac_try='test -s conftest$ac_exeext'
27047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27048 (eval $ac_try) 2>&5
27049 ac_status=$?
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); }; }; then
27052 ac_cv_lib_ipc_shmat=yes
27053 else
27054 echo "$as_me: failed program was:" >&5
27055 sed 's/^/| /' conftest.$ac_ext >&5
27056
27057 ac_cv_lib_ipc_shmat=no
27058 fi
27059 rm -f conftest.err conftest.$ac_objext \
27060 conftest$ac_exeext conftest.$ac_ext
27061 LIBS=$ac_check_lib_save_LIBS
27062 fi
27063 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27064 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27065 if test $ac_cv_lib_ipc_shmat = yes; then
27066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27067 fi
27068
27069 fi
27070 fi
27071
27072 # Check for libraries that X11R6 Xt/Xaw programs need.
27073 ac_save_LDFLAGS=$LDFLAGS
27074 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27075 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27076 # check for ICE first), but we must link in the order -lSM -lICE or
27077 # we get undefined symbols. So assume we have SM if we have ICE.
27078 # These have to be linked with before -lX11, unlike the other
27079 # libraries we check for below, so use a different variable.
27080 # John Interrante, Karl Berry
27081 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27082 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27083 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 else
27086 ac_check_lib_save_LIBS=$LIBS
27087 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27088 cat >conftest.$ac_ext <<_ACEOF
27089 /* confdefs.h. */
27090 _ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27094
27095 /* Override any gcc2 internal prototype to avoid an error. */
27096 #ifdef __cplusplus
27097 extern "C"
27098 #endif
27099 /* We use char because int might match the return type of a gcc2
27100 builtin and then its argument prototype would still apply. */
27101 char IceConnectionNumber ();
27102 int
27103 main ()
27104 {
27105 IceConnectionNumber ();
27106 ;
27107 return 0;
27108 }
27109 _ACEOF
27110 rm -f conftest.$ac_objext conftest$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112 (eval $ac_link) 2>conftest.er1
27113 ac_status=$?
27114 grep -v '^ *+' conftest.er1 >conftest.err
27115 rm -f conftest.er1
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try='test -z "$ac_c_werror_flag"
27120 || test ! -s conftest.err'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27123 ac_status=$?
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; } &&
27126 { ac_try='test -s conftest$ac_exeext'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; }; then
27132 ac_cv_lib_ICE_IceConnectionNumber=yes
27133 else
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27136
27137 ac_cv_lib_ICE_IceConnectionNumber=no
27138 fi
27139 rm -f conftest.err conftest.$ac_objext \
27140 conftest$ac_exeext conftest.$ac_ext
27141 LIBS=$ac_check_lib_save_LIBS
27142 fi
27143 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27144 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27145 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27146 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27147 fi
27148
27149 LDFLAGS=$ac_save_LDFLAGS
27150
27151 fi
27152
27153
27154 if test "$no_x" = "yes"; then
27155 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27156 echo "$as_me: error: X11 not found" >&2;}
27157 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27158 fi
27159
27160 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27161 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27162 AFMINSTALL=afminstall
27163 COMPILED_X_PROGRAM=0
27164
27165 fi
27166
27167 if test "$wxUSE_X11" = 1; then
27168 if test "$wxUSE_NANOX" = "yes"; then
27169 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27170 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27171 if test "x$MICROWIN" = x ; then
27172 echo "$as_me:$LINENO: result: not found" >&5
27173 echo "${ECHO_T}not found" >&6
27174 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27175 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27176 { (exit 1); exit 1; }; }
27177 else
27178 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27179 echo "${ECHO_T}$MICROWIN" >&6
27180 cat >>confdefs.h <<\_ACEOF
27181 #define wxUSE_NANOX 1
27182 _ACEOF
27183
27184 fi
27185 fi
27186
27187 if test "$wxUSE_UNICODE" = "yes"; then
27188
27189 succeeded=no
27190
27191 if test -z "$PKG_CONFIG"; then
27192 # Extract the first word of "pkg-config", so it can be a program name with args.
27193 set dummy pkg-config; ac_word=$2
27194 echo "$as_me:$LINENO: checking for $ac_word" >&5
27195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27196 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27198 else
27199 case $PKG_CONFIG in
27200 [\\/]* | ?:[\\/]*)
27201 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27202 ;;
27203 *)
27204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27205 for as_dir in $PATH
27206 do
27207 IFS=$as_save_IFS
27208 test -z "$as_dir" && as_dir=.
27209 for ac_exec_ext in '' $ac_executable_extensions; do
27210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27211 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27213 break 2
27214 fi
27215 done
27216 done
27217
27218 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27219 ;;
27220 esac
27221 fi
27222 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27223
27224 if test -n "$PKG_CONFIG"; then
27225 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27226 echo "${ECHO_T}$PKG_CONFIG" >&6
27227 else
27228 echo "$as_me:$LINENO: result: no" >&5
27229 echo "${ECHO_T}no" >&6
27230 fi
27231
27232 fi
27233
27234 if test "$PKG_CONFIG" = "no" ; then
27235 echo "*** The pkg-config script could not be found. Make sure it is"
27236 echo "*** in your path, or set the PKG_CONFIG environment variable"
27237 echo "*** to the full path to pkg-config."
27238 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27239 else
27240 PKG_CONFIG_MIN_VERSION=0.9.0
27241 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27242 echo "$as_me:$LINENO: checking for pangox" >&5
27243 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27244
27245 if $PKG_CONFIG --exists "pangox" ; then
27246 echo "$as_me:$LINENO: result: yes" >&5
27247 echo "${ECHO_T}yes" >&6
27248 succeeded=yes
27249
27250 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27251 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27252 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27253 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27254 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27255
27256 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27257 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27258 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27259 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27260 echo "${ECHO_T}$PANGOX_LIBS" >&6
27261 else
27262 PANGOX_CFLAGS=""
27263 PANGOX_LIBS=""
27264 ## If we have a custom action on failure, don't print errors, but
27265 ## do set a variable so people can do so.
27266 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27267
27268 fi
27269
27270
27271
27272 else
27273 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27274 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27275 fi
27276 fi
27277
27278 if test $succeeded = yes; then
27279
27280 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27282
27283 else
27284
27285 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27286 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27287 { (exit 1); exit 1; }; }
27288
27289
27290 fi
27291
27292
27293 succeeded=no
27294
27295 if test -z "$PKG_CONFIG"; then
27296 # Extract the first word of "pkg-config", so it can be a program name with args.
27297 set dummy pkg-config; ac_word=$2
27298 echo "$as_me:$LINENO: checking for $ac_word" >&5
27299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303 case $PKG_CONFIG in
27304 [\\/]* | ?:[\\/]*)
27305 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27306 ;;
27307 *)
27308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27309 for as_dir in $PATH
27310 do
27311 IFS=$as_save_IFS
27312 test -z "$as_dir" && as_dir=.
27313 for ac_exec_ext in '' $ac_executable_extensions; do
27314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27315 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27317 break 2
27318 fi
27319 done
27320 done
27321
27322 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27323 ;;
27324 esac
27325 fi
27326 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27327
27328 if test -n "$PKG_CONFIG"; then
27329 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27330 echo "${ECHO_T}$PKG_CONFIG" >&6
27331 else
27332 echo "$as_me:$LINENO: result: no" >&5
27333 echo "${ECHO_T}no" >&6
27334 fi
27335
27336 fi
27337
27338 if test "$PKG_CONFIG" = "no" ; then
27339 echo "*** The pkg-config script could not be found. Make sure it is"
27340 echo "*** in your path, or set the PKG_CONFIG environment variable"
27341 echo "*** to the full path to pkg-config."
27342 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27343 else
27344 PKG_CONFIG_MIN_VERSION=0.9.0
27345 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27346 echo "$as_me:$LINENO: checking for pangoft2" >&5
27347 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27348
27349 if $PKG_CONFIG --exists "pangoft2" ; then
27350 echo "$as_me:$LINENO: result: yes" >&5
27351 echo "${ECHO_T}yes" >&6
27352 succeeded=yes
27353
27354 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27355 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27356 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27357 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27358 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27359
27360 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27361 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27362 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27363 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27364 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27365 else
27366 PANGOFT2_CFLAGS=""
27367 PANGOFT2_LIBS=""
27368 ## If we have a custom action on failure, don't print errors, but
27369 ## do set a variable so people can do so.
27370 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27371
27372 fi
27373
27374
27375
27376 else
27377 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27378 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27379 fi
27380 fi
27381
27382 if test $succeeded = yes; then
27383
27384 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27385 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27386
27387 else
27388
27389 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27390 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27391 wxUSE_PRINTING_ARCHITECTURE="no"
27392
27393
27394 fi
27395
27396
27397 succeeded=no
27398
27399 if test -z "$PKG_CONFIG"; then
27400 # Extract the first word of "pkg-config", so it can be a program name with args.
27401 set dummy pkg-config; ac_word=$2
27402 echo "$as_me:$LINENO: checking for $ac_word" >&5
27403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27407 case $PKG_CONFIG in
27408 [\\/]* | ?:[\\/]*)
27409 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27410 ;;
27411 *)
27412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27413 for as_dir in $PATH
27414 do
27415 IFS=$as_save_IFS
27416 test -z "$as_dir" && as_dir=.
27417 for ac_exec_ext in '' $ac_executable_extensions; do
27418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27419 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27421 break 2
27422 fi
27423 done
27424 done
27425
27426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27427 ;;
27428 esac
27429 fi
27430 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27431
27432 if test -n "$PKG_CONFIG"; then
27433 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27434 echo "${ECHO_T}$PKG_CONFIG" >&6
27435 else
27436 echo "$as_me:$LINENO: result: no" >&5
27437 echo "${ECHO_T}no" >&6
27438 fi
27439
27440 fi
27441
27442 if test "$PKG_CONFIG" = "no" ; then
27443 echo "*** The pkg-config script could not be found. Make sure it is"
27444 echo "*** in your path, or set the PKG_CONFIG environment variable"
27445 echo "*** to the full path to pkg-config."
27446 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27447 else
27448 PKG_CONFIG_MIN_VERSION=0.9.0
27449 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27450 echo "$as_me:$LINENO: checking for pangoxft" >&5
27451 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27452
27453 if $PKG_CONFIG --exists "pangoxft" ; then
27454 echo "$as_me:$LINENO: result: yes" >&5
27455 echo "${ECHO_T}yes" >&6
27456 succeeded=yes
27457
27458 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27459 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27460 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
27461 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27462 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27463
27464 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27465 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27466 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
27467 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27468 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27469 else
27470 PANGOXFT_CFLAGS=""
27471 PANGOXFT_LIBS=""
27472 ## If we have a custom action on failure, don't print errors, but
27473 ## do set a variable so people can do so.
27474 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27475
27476 fi
27477
27478
27479
27480 else
27481 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27482 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27483 fi
27484 fi
27485
27486 if test $succeeded = yes; then
27487
27488 cat >>confdefs.h <<\_ACEOF
27489 #define HAVE_PANGO_XFT 1
27490 _ACEOF
27491
27492 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
27493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27494
27495 else
27496
27497 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27498 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27499
27500
27501 fi
27502
27503 save_CFLAGS="$CFLAGS"
27504 save_LIBS="$LIBS"
27505 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
27506 LIBS="$LIBS $PANGOX_LIBS"
27507
27508 for ac_func in pango_font_family_is_monospace
27509 do
27510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27511 echo "$as_me:$LINENO: checking for $ac_func" >&5
27512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_var+set}\" = set"; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h. */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27524 #define $ac_func innocuous_$ac_func
27525
27526 /* System header to define __stub macros and hopefully few prototypes,
27527 which can conflict with char $ac_func (); below.
27528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529 <limits.h> exists even on freestanding compilers. */
27530
27531 #ifdef __STDC__
27532 # include <limits.h>
27533 #else
27534 # include <assert.h>
27535 #endif
27536
27537 #undef $ac_func
27538
27539 /* Override any gcc2 internal prototype to avoid an error. */
27540 #ifdef __cplusplus
27541 extern "C"
27542 {
27543 #endif
27544 /* We use char because int might match the return type of a gcc2
27545 builtin and then its argument prototype would still apply. */
27546 char $ac_func ();
27547 /* The GNU C library defines this for functions which it implements
27548 to always fail with ENOSYS. Some functions are actually named
27549 something starting with __ and the normal name is an alias. */
27550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27551 choke me
27552 #else
27553 char (*f) () = $ac_func;
27554 #endif
27555 #ifdef __cplusplus
27556 }
27557 #endif
27558
27559 int
27560 main ()
27561 {
27562 return f != $ac_func;
27563 ;
27564 return 0;
27565 }
27566 _ACEOF
27567 rm -f conftest.$ac_objext conftest$ac_exeext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27569 (eval $ac_link) 2>conftest.er1
27570 ac_status=$?
27571 grep -v '^ *+' conftest.er1 >conftest.err
27572 rm -f conftest.er1
27573 cat conftest.err >&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); } &&
27576 { ac_try='test -z "$ac_c_werror_flag"
27577 || test ! -s conftest.err'
27578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579 (eval $ac_try) 2>&5
27580 ac_status=$?
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); }; } &&
27583 { ac_try='test -s conftest$ac_exeext'
27584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585 (eval $ac_try) 2>&5
27586 ac_status=$?
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; }; then
27589 eval "$as_ac_var=yes"
27590 else
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 eval "$as_ac_var=no"
27595 fi
27596 rm -f conftest.err conftest.$ac_objext \
27597 conftest$ac_exeext conftest.$ac_ext
27598 fi
27599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27601 if test `eval echo '${'$as_ac_var'}'` = yes; then
27602 cat >>confdefs.h <<_ACEOF
27603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27604 _ACEOF
27605
27606 fi
27607 done
27608
27609 CFLAGS="$save_CFLAGS"
27610 LIBS="$save_LIBS"
27611 fi
27612
27613 wxUSE_UNIVERSAL="yes"
27614
27615 if test "$wxUSE_NANOX" = "yes"; then
27616 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27617 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"
27618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27619 else
27620 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
27621 fi
27622
27623 TOOLKIT=X11
27624 GUIDIST=X11_DIST
27625 fi
27626
27627 if test "$wxUSE_MOTIF" = 1; then
27628 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27629 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27630
27631 ac_find_includes=
27632 for ac_dir in $SEARCH_INCLUDE /usr/include;
27633 do
27634 if test -f "$ac_dir/Xm/Xm.h"; then
27635 ac_find_includes=$ac_dir
27636 break
27637 fi
27638 done
27639
27640 if test "$ac_find_includes" != "" ; then
27641 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27642 echo "${ECHO_T}found in $ac_find_includes" >&6
27643
27644 if test "x$ac_find_includes" = "x/usr/include"; then
27645 ac_path_to_include=""
27646 else
27647 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
27648 result=$?
27649 if test $result = 0; then
27650 ac_path_to_include=""
27651 else
27652 ac_path_to_include=" -I$ac_find_includes"
27653 fi
27654 fi
27655
27656 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
27657 else
27658 cat >conftest.$ac_ext <<_ACEOF
27659 /* confdefs.h. */
27660 _ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664
27665 #include <Xm/Xm.h>
27666
27667 int
27668 main ()
27669 {
27670
27671 int version;
27672 version = xmUseVersion;
27673
27674 ;
27675 return 0;
27676 }
27677 _ACEOF
27678 rm -f conftest.$ac_objext
27679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27680 (eval $ac_compile) 2>conftest.er1
27681 ac_status=$?
27682 grep -v '^ *+' conftest.er1 >conftest.err
27683 rm -f conftest.er1
27684 cat conftest.err >&5
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); } &&
27687 { ac_try='test -z "$ac_c_werror_flag"
27688 || test ! -s conftest.err'
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27691 ac_status=$?
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; } &&
27694 { ac_try='test -s conftest.$ac_objext'
27695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696 (eval $ac_try) 2>&5
27697 ac_status=$?
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); }; }; then
27700
27701 echo "$as_me:$LINENO: result: found in default search path" >&5
27702 echo "${ECHO_T}found in default search path" >&6
27703 COMPILED_X_PROGRAM=1
27704
27705 else
27706 echo "$as_me: failed program was:" >&5
27707 sed 's/^/| /' conftest.$ac_ext >&5
27708
27709
27710 echo "$as_me:$LINENO: result: no" >&5
27711 echo "${ECHO_T}no" >&6
27712 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27713 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27714 { (exit 1); exit 1; }; }
27715
27716
27717 fi
27718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27719 fi
27720
27721 if test "$COMPILED_X_PROGRAM" = 0; then
27722 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27723 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27724
27725 ac_find_libraries=
27726 for ac_dir in $SEARCH_LIB /usr/lib;
27727 do
27728 for ac_extension in a so sl dylib; do
27729 if test -f "$ac_dir/libXm.$ac_extension"; then
27730 ac_find_libraries=$ac_dir
27731 break 2
27732 fi
27733 done
27734 done
27735
27736 if test "$ac_find_libraries" != "" ; then
27737 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27738 echo "${ECHO_T}found at $ac_find_libraries" >&6
27739
27740
27741 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27742 result=$?
27743 if test $result = 0; then
27744 ac_path_to_link=""
27745 else
27746 ac_path_to_link=" -L$ac_find_libraries"
27747 fi
27748
27749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
27750 else
27751 save_CFLAGS=$CFLAGS
27752 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27753
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760
27761 #include <Xm/Xm.h>
27762
27763 int
27764 main ()
27765 {
27766
27767 int version;
27768 version = xmUseVersion;
27769
27770 ;
27771 return 0;
27772 }
27773 _ACEOF
27774 rm -f conftest.$ac_objext
27775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27776 (eval $ac_compile) 2>conftest.er1
27777 ac_status=$?
27778 grep -v '^ *+' conftest.er1 >conftest.err
27779 rm -f conftest.er1
27780 cat conftest.err >&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); } &&
27783 { ac_try='test -z "$ac_c_werror_flag"
27784 || test ! -s conftest.err'
27785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27786 (eval $ac_try) 2>&5
27787 ac_status=$?
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; } &&
27790 { ac_try='test -s conftest.$ac_objext'
27791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27792 (eval $ac_try) 2>&5
27793 ac_status=$?
27794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795 (exit $ac_status); }; }; then
27796
27797 echo "$as_me:$LINENO: result: found in default search path" >&5
27798 echo "${ECHO_T}found in default search path" >&6
27799 COMPILED_X_PROGRAM=1
27800
27801 else
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.$ac_ext >&5
27804
27805
27806 echo "$as_me:$LINENO: result: no" >&5
27807 echo "${ECHO_T}no" >&6
27808 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27809 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27810 { (exit 1); exit 1; }; }
27811
27812
27813 fi
27814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27815
27816 CFLAGS=$save_CFLAGS
27817 fi
27818 fi
27819
27820 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27821 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27822 libp_link=""
27823 libsm_ice_link=""
27824 libs_found=0
27825 for libp in "" " -lXp"; do
27826 if test "$libs_found" = "0"; then
27827 for libsm_ice in "" " -lSM -lICE"; do
27828 if test "$libs_found" = "0"; then
27829 save_LIBS="$LIBS"
27830 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27831 save_CFLAGS=$CFLAGS
27832 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27833
27834 cat >conftest.$ac_ext <<_ACEOF
27835 /* confdefs.h. */
27836 _ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27840
27841 #include <Xm/Xm.h>
27842 #include <Xm/List.h>
27843
27844 int
27845 main ()
27846 {
27847
27848 XmString string = NULL;
27849 Widget w = NULL;
27850 int position = 0;
27851 XmListAddItem(w, string, position);
27852
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 rm -f conftest.$ac_objext conftest$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>conftest.er1
27860 ac_status=$?
27861 grep -v '^ *+' conftest.er1 >conftest.err
27862 rm -f conftest.er1
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27870 ac_status=$?
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try='test -s conftest$ac_exeext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879
27880 libp_link="$libp"
27881 libsm_ice_link="$libsm_ice"
27882 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27883 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27884 libs_found=1
27885
27886 else
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.$ac_ext >&5
27889
27890
27891
27892 fi
27893 rm -f conftest.err conftest.$ac_objext \
27894 conftest$ac_exeext conftest.$ac_ext
27895
27896 LIBS="$save_LIBS"
27897 CFLAGS=$save_CFLAGS
27898 fi
27899 done
27900 fi
27901 done
27902
27903 if test "$libs_found" = "0"; then
27904 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27905 echo "${ECHO_T}can't find the right libraries" >&6
27906 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27907 echo "$as_me: error: can't link a simple motif program" >&2;}
27908 { (exit 1); exit 1; }; }
27909 fi
27910
27911 save_CFLAGS=$CFLAGS
27912 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27913 echo "$as_me:$LINENO: checking for Motif 2" >&5
27914 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27915 cat >conftest.$ac_ext <<_ACEOF
27916 /* confdefs.h. */
27917 _ACEOF
27918 cat confdefs.h >>conftest.$ac_ext
27919 cat >>conftest.$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921
27922 #include <Xm/Xm.h>
27923
27924 int
27925 main ()
27926 {
27927
27928 #if XmVersion < 2000
27929 #error "Not Motif 2"
27930 #endif
27931
27932 ;
27933 return 0;
27934 }
27935 _ACEOF
27936 rm -f conftest.$ac_objext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27938 (eval $ac_compile) 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } &&
27945 { ac_try='test -z "$ac_c_werror_flag"
27946 || test ! -s conftest.err'
27947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948 (eval $ac_try) 2>&5
27949 ac_status=$?
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); }; } &&
27952 { ac_try='test -s conftest.$ac_objext'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958
27959 cat >>confdefs.h <<\_ACEOF
27960 #define __WXMOTIF20__ 1
27961 _ACEOF
27962
27963 echo "$as_me:$LINENO: result: found" >&5
27964 echo "${ECHO_T}found" >&6
27965
27966 else
27967 echo "$as_me: failed program was:" >&5
27968 sed 's/^/| /' conftest.$ac_ext >&5
27969
27970
27971 cat >>confdefs.h <<\_ACEOF
27972 #define __WXMOTIF20__ 0
27973 _ACEOF
27974
27975 echo "$as_me:$LINENO: result: not found" >&5
27976 echo "${ECHO_T}not found" >&6
27977
27978 fi
27979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27980 CFLAGS=$save_CFLAGS
27981
27982 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27983 TOOLKIT=MOTIF
27984 GUIDIST=MOTIF_DIST
27985 fi
27986
27987 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27988 if test "$wxUSE_LIBXPM" = "sys"; then
27989 echo "$as_me:$LINENO: checking for Xpm library" >&5
27990 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27991
27992 ac_find_libraries=
27993 for ac_dir in $SEARCH_LIB /usr/lib;
27994 do
27995 for ac_extension in a so sl dylib; do
27996 if test -f "$ac_dir/libXpm.$ac_extension"; then
27997 ac_find_libraries=$ac_dir
27998 break 2
27999 fi
28000 done
28001 done
28002
28003 if test "$ac_find_libraries" != "" ; then
28004
28005 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28006 result=$?
28007 if test $result = 0; then
28008 ac_path_to_link=""
28009 else
28010 ac_path_to_link=" -L$ac_find_libraries"
28011 fi
28012
28013 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28014 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28015 echo "${ECHO_T}found at $ac_find_libraries" >&6
28016
28017 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28018 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28019 if test "${wx_cv_x11_xpm_h+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 else
28022
28023 save_CFLAGS=$CFLAGS
28024 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28025
28026 cat >conftest.$ac_ext <<_ACEOF
28027 /* confdefs.h. */
28028 _ACEOF
28029 cat confdefs.h >>conftest.$ac_ext
28030 cat >>conftest.$ac_ext <<_ACEOF
28031 /* end confdefs.h. */
28032
28033 #include <X11/xpm.h>
28034
28035 int
28036 main ()
28037 {
28038
28039 int version;
28040 version = XpmLibraryVersion();
28041
28042 ;
28043 return 0;
28044 }
28045 _ACEOF
28046 rm -f conftest.$ac_objext
28047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28048 (eval $ac_compile) 2>conftest.er1
28049 ac_status=$?
28050 grep -v '^ *+' conftest.er1 >conftest.err
28051 rm -f conftest.er1
28052 cat conftest.err >&5
28053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054 (exit $ac_status); } &&
28055 { ac_try='test -z "$ac_c_werror_flag"
28056 || test ! -s conftest.err'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28059 ac_status=$?
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; } &&
28062 { ac_try='test -s conftest.$ac_objext'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28065 ac_status=$?
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; }; then
28068 wx_cv_x11_xpm_h=yes
28069 else
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28072
28073 wx_cv_x11_xpm_h=no
28074
28075 fi
28076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28077
28078 CFLAGS=$save_CFLAGS
28079
28080
28081 fi
28082 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28083 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28084
28085 if test $wx_cv_x11_xpm_h = "yes"; then
28086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28087 cat >>confdefs.h <<\_ACEOF
28088 #define wxHAVE_LIB_XPM 1
28089 _ACEOF
28090
28091 else
28092 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28093 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28094 fi
28095 fi
28096
28097 fi
28098
28099 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28100 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28101 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 ac_check_lib_save_LIBS=$LIBS
28105 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28106 cat >conftest.$ac_ext <<_ACEOF
28107 /* confdefs.h. */
28108 _ACEOF
28109 cat confdefs.h >>conftest.$ac_ext
28110 cat >>conftest.$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28112
28113 /* Override any gcc2 internal prototype to avoid an error. */
28114 #ifdef __cplusplus
28115 extern "C"
28116 #endif
28117 /* We use char because int might match the return type of a gcc2
28118 builtin and then its argument prototype would still apply. */
28119 char XShapeQueryExtension ();
28120 int
28121 main ()
28122 {
28123 XShapeQueryExtension ();
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext conftest$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -z "$ac_c_werror_flag"
28138 || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28141 ac_status=$?
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try='test -s conftest$ac_exeext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150 ac_cv_lib_Xext_XShapeQueryExtension=yes
28151 else
28152 echo "$as_me: failed program was:" >&5
28153 sed 's/^/| /' conftest.$ac_ext >&5
28154
28155 ac_cv_lib_Xext_XShapeQueryExtension=no
28156 fi
28157 rm -f conftest.err conftest.$ac_objext \
28158 conftest$ac_exeext conftest.$ac_ext
28159 LIBS=$ac_check_lib_save_LIBS
28160 fi
28161 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28162 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28163 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28164
28165 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28166 wxHAVE_XEXT_LIB=1
28167
28168 fi
28169
28170
28171 if test "$wxHAVE_XEXT_LIB" = 1; then
28172 save_CFLAGS="$CFLAGS"
28173 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28174
28175 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28176 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h. */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28183
28184 #include <X11/Xlib.h>
28185 #include <X11/extensions/shape.h>
28186
28187 int
28188 main ()
28189 {
28190
28191 int dummy1, dummy2;
28192 XShapeQueryExtension((Display*)NULL,
28193 (int*)NULL, (int*)NULL);
28194
28195 ;
28196 return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28201 (eval $ac_compile) 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try='test -s conftest.$ac_objext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221
28222 cat >>confdefs.h <<\_ACEOF
28223 #define HAVE_XSHAPE 1
28224 _ACEOF
28225
28226 echo "$as_me:$LINENO: result: found" >&5
28227 echo "${ECHO_T}found" >&6
28228
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233
28234 echo "$as_me:$LINENO: result: not found" >&5
28235 echo "${ECHO_T}not found" >&6
28236
28237 fi
28238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28239 CFLAGS="$save_CFLAGS"
28240
28241 fi
28242 fi
28243
28244 if test "$wxUSE_MAC" = 1; then
28245 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28246 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28247 if test "$GCC" = yes; then
28248 echo "$as_me:$LINENO: result: gcc" >&5
28249 echo "${ECHO_T}gcc" >&6
28250 CPPFLAGS_PASCAL="-fpascal-strings"
28251 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28252 echo "$as_me:$LINENO: result: xlc" >&5
28253 echo "${ECHO_T}xlc" >&6
28254 CPPFLAGS_PASCAL="-qmacpstr"
28255 else
28256 echo "$as_me:$LINENO: result: none" >&5
28257 echo "${ECHO_T}none" >&6
28258 fi
28259
28260 if test "x$wxUSE_UNIX" = "xyes"; then
28261 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28262 else
28263 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28264 fi
28265
28266 TOOLKIT=MAC
28267 GUIDIST=MACX_DIST
28268 WXBASEPORT="_carbon"
28269 fi
28270
28271 if test "$wxUSE_COCOA" = 1; then
28272 TOOLKIT=COCOA
28273 GUIDIST=COCOA_DIST
28274 fi
28275
28276 if test "$wxUSE_PM" = 1; then
28277 TOOLKIT=PM
28278 GUIDIST=PM_DIST
28279 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28280 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28281 if test "${wx_cv_spbcdata+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 else
28284
28285 cat >conftest.$ac_ext <<_ACEOF
28286 /* confdefs.h. */
28287 _ACEOF
28288 cat confdefs.h >>conftest.$ac_ext
28289 cat >>conftest.$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28291
28292 #define INCL_PM
28293 #include <os2.h>
28294
28295 int
28296 main ()
28297 {
28298
28299 SPBCDATA test;
28300
28301 ;
28302 return 0;
28303 }
28304 _ACEOF
28305 rm -f conftest.$ac_objext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28307 (eval $ac_compile) 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -z "$ac_c_werror_flag"
28315 || test ! -s conftest.err'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28318 ac_status=$?
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; } &&
28321 { ac_try='test -s conftest.$ac_objext'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28324 ac_status=$?
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; }; then
28327 wx_cv_spbcdata=yes
28328 else
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.$ac_ext >&5
28331
28332 wx_cv_spbcdata=no
28333
28334 fi
28335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28336
28337
28338 fi
28339 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28340 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28341
28342 if test $wx_cv_spbcdata = "yes"; then
28343 cat >>confdefs.h <<\_ACEOF
28344 #define HAVE_SPBCDATA 1
28345 _ACEOF
28346
28347 fi
28348 fi
28349
28350 if test "$TOOLKIT" = "PM" ; then
28351 TOOLKIT_DIR="os2"
28352 else
28353 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28354 fi
28355
28356 if test "$wxUSE_UNIVERSAL" = "yes"; then
28357 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28358 WIDGET_SET=univ
28359 fi
28360
28361 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28362 DISTDIR="wx\$(TOOLKIT)"
28363 else
28364 USE_GUI=0
28365
28366 TOOLKIT_DIR="base"
28367
28368 if test "$USE_WIN32" = 1 ; then
28369 TOOLKIT="MSW"
28370 fi
28371
28372 GUIDIST="BASE_DIST"
28373 DISTDIR="wxBase"
28374 fi
28375
28376
28377
28378
28379 IODBC_C_SRC=""
28380
28381
28382 if test "$TOOLKIT" != "MSW" ; then
28383
28384 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28385
28386 if test "${ac_cv_header_sql_h+set}" = set; then
28387 echo "$as_me:$LINENO: checking for sql.h" >&5
28388 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28389 if test "${ac_cv_header_sql_h+set}" = set; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28391 fi
28392 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28393 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28394 else
28395 # Is the header compilable?
28396 echo "$as_me:$LINENO: checking sql.h usability" >&5
28397 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28398 cat >conftest.$ac_ext <<_ACEOF
28399 /* confdefs.h. */
28400 _ACEOF
28401 cat confdefs.h >>conftest.$ac_ext
28402 cat >>conftest.$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28404 $ac_includes_default
28405 #include <sql.h>
28406 _ACEOF
28407 rm -f conftest.$ac_objext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28409 (eval $ac_compile) 2>conftest.er1
28410 ac_status=$?
28411 grep -v '^ *+' conftest.er1 >conftest.err
28412 rm -f conftest.er1
28413 cat conftest.err >&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28420 ac_status=$?
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try='test -s conftest.$ac_objext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28426 ac_status=$?
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_header_compiler=yes
28430 else
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28433
28434 ac_header_compiler=no
28435 fi
28436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28438 echo "${ECHO_T}$ac_header_compiler" >&6
28439
28440 # Is the header present?
28441 echo "$as_me:$LINENO: checking sql.h presence" >&5
28442 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28443 cat >conftest.$ac_ext <<_ACEOF
28444 /* confdefs.h. */
28445 _ACEOF
28446 cat confdefs.h >>conftest.$ac_ext
28447 cat >>conftest.$ac_ext <<_ACEOF
28448 /* end confdefs.h. */
28449 #include <sql.h>
28450 _ACEOF
28451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28453 ac_status=$?
28454 grep -v '^ *+' conftest.er1 >conftest.err
28455 rm -f conftest.er1
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } >/dev/null; then
28459 if test -s conftest.err; then
28460 ac_cpp_err=$ac_c_preproc_warn_flag
28461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28462 else
28463 ac_cpp_err=
28464 fi
28465 else
28466 ac_cpp_err=yes
28467 fi
28468 if test -z "$ac_cpp_err"; then
28469 ac_header_preproc=yes
28470 else
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.$ac_ext >&5
28473
28474 ac_header_preproc=no
28475 fi
28476 rm -f conftest.err conftest.$ac_ext
28477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28478 echo "${ECHO_T}$ac_header_preproc" >&6
28479
28480 # So? What about this header?
28481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28482 yes:no: )
28483 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28484 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28485 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28486 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28487 ac_header_preproc=yes
28488 ;;
28489 no:yes:* )
28490 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28491 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28492 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28493 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28494 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28495 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28496 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28497 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28498 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28499 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28500 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28501 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28502 (
28503 cat <<\_ASBOX
28504 ## ----------------------------------------- ##
28505 ## Report this to wx-dev@lists.wxwidgets.org ##
28506 ## ----------------------------------------- ##
28507 _ASBOX
28508 ) |
28509 sed "s/^/$as_me: WARNING: /" >&2
28510 ;;
28511 esac
28512 echo "$as_me:$LINENO: checking for sql.h" >&5
28513 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28514 if test "${ac_cv_header_sql_h+set}" = set; then
28515 echo $ECHO_N "(cached) $ECHO_C" >&6
28516 else
28517 ac_cv_header_sql_h=$ac_header_preproc
28518 fi
28519 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28520 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28521
28522 fi
28523 if test $ac_cv_header_sql_h = yes; then
28524 found_sql_h=1
28525 fi
28526
28527
28528 if test "x$found_sql_h" = "x1" ; then
28529 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28530 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28531 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 else
28534 ac_check_lib_save_LIBS=$LIBS
28535 LIBS="-liodbc $LIBS"
28536 cat >conftest.$ac_ext <<_ACEOF
28537 /* confdefs.h. */
28538 _ACEOF
28539 cat confdefs.h >>conftest.$ac_ext
28540 cat >>conftest.$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28542
28543 /* Override any gcc2 internal prototype to avoid an error. */
28544 #ifdef __cplusplus
28545 extern "C"
28546 #endif
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char SQLAllocEnv ();
28550 int
28551 main ()
28552 {
28553 SQLAllocEnv ();
28554 ;
28555 return 0;
28556 }
28557 _ACEOF
28558 rm -f conftest.$ac_objext conftest$ac_exeext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>conftest.er1
28561 ac_status=$?
28562 grep -v '^ *+' conftest.er1 >conftest.err
28563 rm -f conftest.er1
28564 cat conftest.err >&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try='test -z "$ac_c_werror_flag"
28568 || test ! -s conftest.err'
28569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28570 (eval $ac_try) 2>&5
28571 ac_status=$?
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); }; } &&
28574 { ac_try='test -s conftest$ac_exeext'
28575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28576 (eval $ac_try) 2>&5
28577 ac_status=$?
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; }; then
28580 ac_cv_lib_iodbc_SQLAllocEnv=yes
28581 else
28582 echo "$as_me: failed program was:" >&5
28583 sed 's/^/| /' conftest.$ac_ext >&5
28584
28585 ac_cv_lib_iodbc_SQLAllocEnv=no
28586 fi
28587 rm -f conftest.err conftest.$ac_objext \
28588 conftest$ac_exeext conftest.$ac_ext
28589 LIBS=$ac_check_lib_save_LIBS
28590 fi
28591 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28592 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28593 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28594 ODBC_LINK=" -liodbc"
28595 else
28596
28597 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28598 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28599 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28600 echo $ECHO_N "(cached) $ECHO_C" >&6
28601 else
28602 ac_check_lib_save_LIBS=$LIBS
28603 LIBS="-lunixodbc $LIBS"
28604 cat >conftest.$ac_ext <<_ACEOF
28605 /* confdefs.h. */
28606 _ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28610
28611 /* Override any gcc2 internal prototype to avoid an error. */
28612 #ifdef __cplusplus
28613 extern "C"
28614 #endif
28615 /* We use char because int might match the return type of a gcc2
28616 builtin and then its argument prototype would still apply. */
28617 char SQLAllocEnv ();
28618 int
28619 main ()
28620 {
28621 SQLAllocEnv ();
28622 ;
28623 return 0;
28624 }
28625 _ACEOF
28626 rm -f conftest.$ac_objext conftest$ac_exeext
28627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28628 (eval $ac_link) 2>conftest.er1
28629 ac_status=$?
28630 grep -v '^ *+' conftest.er1 >conftest.err
28631 rm -f conftest.er1
28632 cat conftest.err >&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } &&
28635 { ac_try='test -z "$ac_c_werror_flag"
28636 || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try='test -s conftest$ac_exeext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28645 ac_status=$?
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648 ac_cv_lib_unixodbc_SQLAllocEnv=yes
28649 else
28650 echo "$as_me: failed program was:" >&5
28651 sed 's/^/| /' conftest.$ac_ext >&5
28652
28653 ac_cv_lib_unixodbc_SQLAllocEnv=no
28654 fi
28655 rm -f conftest.err conftest.$ac_objext \
28656 conftest$ac_exeext conftest.$ac_ext
28657 LIBS=$ac_check_lib_save_LIBS
28658 fi
28659 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28660 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28661 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28662 ODBC_LINK=" -lunixodbc"
28663 else
28664
28665 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28666 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28667 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 else
28670 ac_check_lib_save_LIBS=$LIBS
28671 LIBS="-lodbc $LIBS"
28672 cat >conftest.$ac_ext <<_ACEOF
28673 /* confdefs.h. */
28674 _ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28678
28679 /* Override any gcc2 internal prototype to avoid an error. */
28680 #ifdef __cplusplus
28681 extern "C"
28682 #endif
28683 /* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28685 char SQLAllocEnv ();
28686 int
28687 main ()
28688 {
28689 SQLAllocEnv ();
28690 ;
28691 return 0;
28692 }
28693 _ACEOF
28694 rm -f conftest.$ac_objext conftest$ac_exeext
28695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28696 (eval $ac_link) 2>conftest.er1
28697 ac_status=$?
28698 grep -v '^ *+' conftest.er1 >conftest.err
28699 rm -f conftest.er1
28700 cat conftest.err >&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); } &&
28703 { ac_try='test -z "$ac_c_werror_flag"
28704 || test ! -s conftest.err'
28705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28706 (eval $ac_try) 2>&5
28707 ac_status=$?
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; } &&
28710 { ac_try='test -s conftest$ac_exeext'
28711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28712 (eval $ac_try) 2>&5
28713 ac_status=$?
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); }; }; then
28716 ac_cv_lib_odbc_SQLAllocEnv=yes
28717 else
28718 echo "$as_me: failed program was:" >&5
28719 sed 's/^/| /' conftest.$ac_ext >&5
28720
28721 ac_cv_lib_odbc_SQLAllocEnv=no
28722 fi
28723 rm -f conftest.err conftest.$ac_objext \
28724 conftest$ac_exeext conftest.$ac_ext
28725 LIBS=$ac_check_lib_save_LIBS
28726 fi
28727 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28728 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28729 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28730 ODBC_LINK=" -lodbc"
28731 fi
28732
28733
28734 fi
28735
28736
28737 fi
28738
28739 fi
28740 if test "x$ODBC_LINK" = "x" ; then
28741 if test "$wxUSE_ODBC" = "sys" ; then
28742 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28743 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28744 { (exit 1); exit 1; }; }
28745 else
28746 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28747 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28748 wxUSE_ODBC=builtin
28749 fi
28750 else
28751 wxUSE_ODBC=sys
28752 fi
28753 fi
28754
28755 if test "$wxUSE_ODBC" = "builtin" ; then
28756 cat >>confdefs.h <<\_ACEOF
28757 #define wxUSE_BUILTIN_IODBC 1
28758 _ACEOF
28759
28760 fi
28761 fi
28762
28763 if test "$wxUSE_ODBC" != "no" ; then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define wxUSE_ODBC 1
28766 _ACEOF
28767
28768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
28769
28770 WXODBCFLAG="-D_IODBC_"
28771 fi
28772
28773
28774 if test "$wxUSE_DISPLAY" = "yes"; then
28775 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28776 echo "$as_me:$LINENO: checking for Xinerama" >&5
28777 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28778
28779 ac_find_libraries=
28780 for ac_dir in $SEARCH_LIB /usr/lib;
28781 do
28782 for ac_extension in a so sl dylib; do
28783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28784 ac_find_libraries=$ac_dir
28785 break 2
28786 fi
28787 done
28788 done
28789
28790 if test "$ac_find_libraries" != "" ; then
28791
28792 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28793 result=$?
28794 if test $result = 0; then
28795 ac_path_to_link=""
28796 else
28797 ac_path_to_link=" -L$ac_find_libraries"
28798 fi
28799
28800 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28801 LDFLAGS="$LDFLAGS $ac_path_to_link"
28802 fi
28803 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
28804 echo "$as_me:$LINENO: result: yes" >&5
28805 echo "${ECHO_T}yes" >&6
28806
28807 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28808 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28809
28810 ac_find_libraries=
28811 for ac_dir in $SEARCH_LIB /usr/lib;
28812 do
28813 for ac_extension in a so sl dylib; do
28814 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28815 ac_find_libraries=$ac_dir
28816 break 2
28817 fi
28818 done
28819 done
28820
28821 if test "$ac_find_libraries" != "" ; then
28822 echo "$as_me:$LINENO: result: yes" >&5
28823 echo "${ECHO_T}yes" >&6
28824
28825 for ac_header in X11/extensions/xf86vmode.h
28826 do
28827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28828 echo "$as_me:$LINENO: checking for $ac_header" >&5
28829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 else
28833 cat >conftest.$ac_ext <<_ACEOF
28834 /* confdefs.h. */
28835 _ACEOF
28836 cat confdefs.h >>conftest.$ac_ext
28837 cat >>conftest.$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839
28840 #if HAVE_X11_XLIB_H
28841 #include <X11/Xlib.h>
28842 #endif
28843
28844
28845 #include <$ac_header>
28846 _ACEOF
28847 rm -f conftest.$ac_objext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28849 (eval $ac_compile) 2>conftest.er1
28850 ac_status=$?
28851 grep -v '^ *+' conftest.er1 >conftest.err
28852 rm -f conftest.er1
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try='test -z "$ac_c_werror_flag"
28857 || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try='test -s conftest.$ac_objext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 eval "$as_ac_Header=yes"
28870 else
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 eval "$as_ac_Header=no"
28875 fi
28876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28877 fi
28878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28881 cat >>confdefs.h <<_ACEOF
28882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28883 _ACEOF
28884
28885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
28886
28887 fi
28888
28889 done
28890
28891 else
28892 echo "$as_me:$LINENO: result: no" >&5
28893 echo "${ECHO_T}no" >&6
28894 fi
28895
28896 else
28897 echo "$as_me:$LINENO: result: no" >&5
28898 echo "${ECHO_T}no" >&6
28899 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28900 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28901 wxUSE_DISPLAY="no"
28902 fi
28903 elif test "$wxUSE_MSW" = 1; then
28904
28905
28906 for ac_header in multimon.h ddraw.h
28907 do
28908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28909 echo "$as_me:$LINENO: checking for $ac_header" >&5
28910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28912 echo $ECHO_N "(cached) $ECHO_C" >&6
28913 else
28914 cat >conftest.$ac_ext <<_ACEOF
28915 /* confdefs.h. */
28916 _ACEOF
28917 cat confdefs.h >>conftest.$ac_ext
28918 cat >>conftest.$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920 #include <windows.h>
28921
28922 #include <$ac_header>
28923 _ACEOF
28924 rm -f conftest.$ac_objext
28925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28926 (eval $ac_compile) 2>conftest.er1
28927 ac_status=$?
28928 grep -v '^ *+' conftest.er1 >conftest.err
28929 rm -f conftest.er1
28930 cat conftest.err >&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } &&
28933 { ac_try='test -z "$ac_c_werror_flag"
28934 || test ! -s conftest.err'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28937 ac_status=$?
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; } &&
28940 { ac_try='test -s conftest.$ac_objext'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; }; then
28946 eval "$as_ac_Header=yes"
28947 else
28948 echo "$as_me: failed program was:" >&5
28949 sed 's/^/| /' conftest.$ac_ext >&5
28950
28951 eval "$as_ac_Header=no"
28952 fi
28953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28954 fi
28955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28958 cat >>confdefs.h <<_ACEOF
28959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28960 _ACEOF
28961
28962 else
28963
28964 wxUSE_DISPLAY="no"
28965 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28966 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28967
28968 fi
28969
28970 done
28971
28972 fi
28973 fi
28974
28975
28976 USE_OPENGL=0
28977 if test "$wxUSE_OPENGL" = "yes"; then
28978 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28979 OPENGL_LIBS="-framework OpenGL -framework AGL"
28980 elif test "$wxUSE_MSW" = 1; then
28981 OPENGL_LIBS="-lopengl32 -lglu32"
28982 else
28983
28984
28985 ac_find_includes=
28986 for ac_dir in $SEARCH_INCLUDE /usr/include;
28987 do
28988 if test -f "$ac_dir/GL/gl.h"; then
28989 ac_find_includes=$ac_dir
28990 break
28991 fi
28992 done
28993
28994 if test "$ac_find_includes" != "" ; then
28995 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28996 echo "${ECHO_T}found in $ac_find_includes" >&6
28997
28998 if test "x$ac_find_includes" = "x/usr/include"; then
28999 ac_path_to_include=""
29000 else
29001 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29002 result=$?
29003 if test $result = 0; then
29004 ac_path_to_include=""
29005 else
29006 ac_path_to_include=" -I$ac_find_includes"
29007 fi
29008 fi
29009
29010 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29011 fi
29012
29013 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29014 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29015 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29016 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29018 fi
29019 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29020 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29021 else
29022 # Is the header compilable?
29023 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29024 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29025 cat >conftest.$ac_ext <<_ACEOF
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 $ac_includes_default
29032 #include <GL/gl.h>
29033 _ACEOF
29034 rm -f conftest.$ac_objext
29035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29036 (eval $ac_compile) 2>conftest.er1
29037 ac_status=$?
29038 grep -v '^ *+' conftest.er1 >conftest.err
29039 rm -f conftest.er1
29040 cat conftest.err >&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); } &&
29043 { ac_try='test -z "$ac_c_werror_flag"
29044 || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29047 ac_status=$?
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try='test -s conftest.$ac_objext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 ac_header_compiler=yes
29057 else
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.$ac_ext >&5
29060
29061 ac_header_compiler=no
29062 fi
29063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29065 echo "${ECHO_T}$ac_header_compiler" >&6
29066
29067 # Is the header present?
29068 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29069 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29070 cat >conftest.$ac_ext <<_ACEOF
29071 /* confdefs.h. */
29072 _ACEOF
29073 cat confdefs.h >>conftest.$ac_ext
29074 cat >>conftest.$ac_ext <<_ACEOF
29075 /* end confdefs.h. */
29076 #include <GL/gl.h>
29077 _ACEOF
29078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29080 ac_status=$?
29081 grep -v '^ *+' conftest.er1 >conftest.err
29082 rm -f conftest.er1
29083 cat conftest.err >&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } >/dev/null; then
29086 if test -s conftest.err; then
29087 ac_cpp_err=$ac_c_preproc_warn_flag
29088 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29089 else
29090 ac_cpp_err=
29091 fi
29092 else
29093 ac_cpp_err=yes
29094 fi
29095 if test -z "$ac_cpp_err"; then
29096 ac_header_preproc=yes
29097 else
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 ac_header_preproc=no
29102 fi
29103 rm -f conftest.err conftest.$ac_ext
29104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29105 echo "${ECHO_T}$ac_header_preproc" >&6
29106
29107 # So? What about this header?
29108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29109 yes:no: )
29110 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29111 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29112 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29113 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29114 ac_header_preproc=yes
29115 ;;
29116 no:yes:* )
29117 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29118 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29119 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29120 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29121 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29122 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29123 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29124 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29125 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29126 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29127 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29128 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29129 (
29130 cat <<\_ASBOX
29131 ## ----------------------------------------- ##
29132 ## Report this to wx-dev@lists.wxwidgets.org ##
29133 ## ----------------------------------------- ##
29134 _ASBOX
29135 ) |
29136 sed "s/^/$as_me: WARNING: /" >&2
29137 ;;
29138 esac
29139 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29140 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29141 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29143 else
29144 ac_cv_header_GL_gl_h=$ac_header_preproc
29145 fi
29146 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29147 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29148
29149 fi
29150 if test $ac_cv_header_GL_gl_h = yes; then
29151
29152 found_gl=0
29153
29154 echo "$as_me:$LINENO: checking for -lGL" >&5
29155 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29156
29157 ac_find_libraries=
29158 for ac_dir in $SEARCH_LIB /usr/lib;
29159 do
29160 for ac_extension in a so sl dylib; do
29161 if test -f "$ac_dir/libGL.$ac_extension"; then
29162 ac_find_libraries=$ac_dir
29163 break 2
29164 fi
29165 done
29166 done
29167
29168 if test "$ac_find_libraries" != "" ; then
29169 echo "$as_me:$LINENO: result: yes" >&5
29170 echo "${ECHO_T}yes" >&6
29171
29172
29173 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29174 result=$?
29175 if test $result = 0; then
29176 ac_path_to_link=""
29177 else
29178 ac_path_to_link=" -L$ac_find_libraries"
29179 fi
29180
29181 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29182 LDFLAGS_GL="$ac_path_to_link"
29183 fi
29184
29185 echo "$as_me:$LINENO: checking for -lGLU" >&5
29186 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29187
29188 ac_find_libraries=
29189 for ac_dir in $SEARCH_LIB /usr/lib;
29190 do
29191 for ac_extension in a so sl dylib; do
29192 if test -f "$ac_dir/libGLU.$ac_extension"; then
29193 ac_find_libraries=$ac_dir
29194 break 2
29195 fi
29196 done
29197 done
29198
29199 if test "$ac_find_libraries" != "" ; then
29200
29201 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29202 result=$?
29203 if test $result = 0; then
29204 ac_path_to_link=""
29205 else
29206 ac_path_to_link=" -L$ac_find_libraries"
29207 fi
29208
29209 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29210 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29211 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29212 fi
29213
29214 found_gl=1
29215 OPENGL_LIBS="-lGL -lGLU"
29216 echo "$as_me:$LINENO: result: yes" >&5
29217 echo "${ECHO_T}yes" >&6
29218 else
29219 echo "$as_me:$LINENO: result: no" >&5
29220 echo "${ECHO_T}no" >&6
29221 fi
29222 else
29223 echo "$as_me:$LINENO: result: no" >&5
29224 echo "${ECHO_T}no" >&6
29225 fi
29226
29227 if test "$found_gl" != 1; then
29228 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29229 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29230
29231 ac_find_libraries=
29232 for ac_dir in $SEARCH_LIB /usr/lib;
29233 do
29234 for ac_extension in a so sl dylib; do
29235 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29236 ac_find_libraries=$ac_dir
29237 break 2
29238 fi
29239 done
29240 done
29241
29242 if test "$ac_find_libraries" != "" ; then
29243
29244 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29245 result=$?
29246 if test $result = 0; then
29247 ac_path_to_link=""
29248 else
29249 ac_path_to_link=" -L$ac_find_libraries"
29250 fi
29251
29252 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29253 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29254 echo "$as_me:$LINENO: result: yes" >&5
29255 echo "${ECHO_T}yes" >&6
29256 else
29257 echo "$as_me:$LINENO: result: no" >&5
29258 echo "${ECHO_T}no" >&6
29259 fi
29260 fi
29261
29262 fi
29263
29264
29265
29266 if test "x$OPENGL_LIBS" = "x"; then
29267 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29268 echo "$as_me: error: OpenGL libraries not available" >&2;}
29269 { (exit 1); exit 1; }; }
29270 fi
29271 fi
29272
29273 if test "$wxUSE_OPENGL" = "yes"; then
29274 USE_OPENGL=1
29275 cat >>confdefs.h <<\_ACEOF
29276 #define wxUSE_OPENGL 1
29277 _ACEOF
29278
29279 cat >>confdefs.h <<\_ACEOF
29280 #define wxUSE_GLCANVAS 1
29281 _ACEOF
29282
29283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29284 fi
29285 fi
29286
29287
29288 if test -n "$TOOLKIT" ; then
29289 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29290 fi
29291
29292
29293
29294 if test "$wxUSE_SHARED" = "yes"; then
29295 case "${host}" in
29296 *-pc-msdosdjgpp )
29297 wxUSE_SHARED=no
29298 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29299 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29300 ;;
29301 esac
29302 fi
29303
29304 if test "$wxUSE_SHARED" = "yes"; then
29305
29306
29307 found_versioning=no
29308
29309
29310 if test $found_versioning = no ; then
29311 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29312 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29313 if test "${wx_cv_version_script+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316
29317 echo "VER_1 { *; };" >conftest.sym
29318 echo "int main() { return 0; }" >conftest.cpp
29319
29320 if { ac_try='
29321 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29322 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } ; then
29328 if test -s conftest.stderr ; then
29329 wx_cv_version_script=no
29330 else
29331 wx_cv_version_script=yes
29332 fi
29333 else
29334 wx_cv_version_script=no
29335 fi
29336 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29337
29338 fi
29339 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29340 echo "${ECHO_T}$wx_cv_version_script" >&6
29341 if test $wx_cv_version_script = yes ; then
29342 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29343 fi
29344 fi
29345
29346
29347 case "${host}" in
29348 *-*-linux* | *-*-gnu* )
29349 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29350 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29351 ;;
29352
29353 *-*-solaris2* )
29354 if test "$GCC" = yes ; then
29355 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29356
29357 saveLdflags="$LDFLAGS"
29358 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29359 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29360 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29361 cat >conftest.$ac_ext <<_ACEOF
29362 /* confdefs.h. */
29363 _ACEOF
29364 cat confdefs.h >>conftest.$ac_ext
29365 cat >>conftest.$ac_ext <<_ACEOF
29366 /* end confdefs.h. */
29367
29368 int
29369 main ()
29370 {
29371
29372 ;
29373 return 0;
29374 }
29375 _ACEOF
29376 rm -f conftest.$ac_objext conftest$ac_exeext
29377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29378 (eval $ac_link) 2>conftest.er1
29379 ac_status=$?
29380 grep -v '^ *+' conftest.er1 >conftest.err
29381 rm -f conftest.er1
29382 cat conftest.err >&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); } &&
29385 { ac_try='test -z "$ac_c_werror_flag"
29386 || test ! -s conftest.err'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29389 ac_status=$?
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; } &&
29392 { ac_try='test -s conftest$ac_exeext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29395 ac_status=$?
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29398
29399 echo "$as_me:$LINENO: result: yes" >&5
29400 echo "${ECHO_T}yes" >&6
29401 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29402 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29403
29404 else
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29407
29408
29409 echo "$as_me:$LINENO: result: no" >&5
29410 echo "${ECHO_T}no" >&6
29411 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29412 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29413 LDFLAGS="$saveLdflags -Wl,-R,/"
29414 cat >conftest.$ac_ext <<_ACEOF
29415 /* confdefs.h. */
29416 _ACEOF
29417 cat confdefs.h >>conftest.$ac_ext
29418 cat >>conftest.$ac_ext <<_ACEOF
29419 /* end confdefs.h. */
29420
29421 int
29422 main ()
29423 {
29424
29425 ;
29426 return 0;
29427 }
29428 _ACEOF
29429 rm -f conftest.$ac_objext conftest$ac_exeext
29430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29431 (eval $ac_link) 2>conftest.er1
29432 ac_status=$?
29433 grep -v '^ *+' conftest.er1 >conftest.err
29434 rm -f conftest.er1
29435 cat conftest.err >&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); } &&
29438 { ac_try='test -z "$ac_c_werror_flag"
29439 || test ! -s conftest.err'
29440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441 (eval $ac_try) 2>&5
29442 ac_status=$?
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); }; } &&
29445 { ac_try='test -s conftest$ac_exeext'
29446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29447 (eval $ac_try) 2>&5
29448 ac_status=$?
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); }; }; then
29451
29452 echo "$as_me:$LINENO: result: yes" >&5
29453 echo "${ECHO_T}yes" >&6
29454 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
29455 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29456
29457 else
29458 echo "$as_me: failed program was:" >&5
29459 sed 's/^/| /' conftest.$ac_ext >&5
29460
29461
29462 echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6
29464
29465 fi
29466 rm -f conftest.err conftest.$ac_objext \
29467 conftest$ac_exeext conftest.$ac_ext
29468
29469 fi
29470 rm -f conftest.err conftest.$ac_objext \
29471 conftest$ac_exeext conftest.$ac_ext
29472 LDFLAGS="$saveLdflags"
29473 else
29474 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
29475 WXCONFIG_RPATH="-R\$libdir"
29476 fi
29477 ;;
29478
29479 powerpc-*-darwin* )
29480 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29481 cat <<EOF >change-install-names
29482 #!/bin/sh
29483 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29484 inst_cmd="install_name_tool "
29485 for i in \${libnames} ; do
29486 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29487 done
29488 \${inst_cmd} \${3}
29489 EOF
29490 chmod +x change-install-names
29491 ;;
29492
29493 *-*-cygwin* | *-*-mingw32* )
29494 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29495 ;;
29496
29497 *-*-hpux* )
29498 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
29499 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29500 ;;
29501
29502 esac
29503
29504 if test $wxUSE_RPATH = "no"; then
29505 SAMPLES_RPATH_FLAG=''
29506 SAMPLES_RPATH_POSTLINK=''
29507 WXCONFIG_RPATH=''
29508 fi
29509
29510 SHARED=1
29511
29512 else
29513
29514 config_linkage_component="-static"
29515 SHARED=0
29516
29517 fi
29518
29519
29520 UNICODE=0
29521 lib_unicode_suffix=
29522 WX_CHARTYPE="ansi"
29523 if test "$wxUSE_UNICODE" = "yes"; then
29524 lib_unicode_suffix=u
29525 WX_CHARTYPE="unicode"
29526 UNICODE=1
29527 fi
29528
29529 lib_debug_suffix=
29530 WX_DEBUGTYPE="release"
29531 DEBUG_FLAG=0
29532 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29533 lib_debug_suffix=d
29534 WX_DEBUGTYPE="debug"
29535 DEBUG_FLAG=1
29536 fi
29537
29538 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29539 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29540
29541 DEBUG_INFO=0
29542 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29543 DEBUG_INFO=1
29544 fi
29545
29546 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29547
29548 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29549
29550 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29551
29552 if test "$cross_compiling" = "yes"; then
29553 HOST_SUFFIX="-$host_alias"
29554 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
29555 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
29556 fi
29557
29558 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29559 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29560
29561
29562
29563 if test "$wxUSE_COCOA" = 1; then
29564
29565
29566 ac_ext=c
29567 ac_cpp='$CPP $CPPFLAGS'
29568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29571
29572 ac_ext=m
29573
29574 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29575 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 #include <AppKit/NSEvent.h>
29583 #include <CoreFoundation/CoreFoundation.h>
29584
29585 int
29586 main ()
29587 {
29588
29589 ;
29590 return 0;
29591 }
29592 _ACEOF
29593 rm -f conftest.$ac_objext
29594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29595 (eval $ac_compile) 2>conftest.er1
29596 ac_status=$?
29597 grep -v '^ *+' conftest.er1 >conftest.err
29598 rm -f conftest.er1
29599 cat conftest.err >&5
29600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601 (exit $ac_status); } &&
29602 { ac_try='test -z "$ac_c_werror_flag"
29603 || test ! -s conftest.err'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29606 ac_status=$?
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; } &&
29609 { ac_try='test -s conftest.$ac_objext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 echo "$as_me:$LINENO: result: no" >&5
29616 echo "${ECHO_T}no" >&6
29617 else
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.$ac_ext >&5
29620
29621 echo "$as_me:$LINENO: result: yes" >&5
29622 echo "${ECHO_T}yes" >&6
29623 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29624 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29625 cat >conftest.$ac_ext <<_ACEOF
29626 /* confdefs.h. */
29627 _ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #define __Point__ 1
29632 #include <AppKit/NSEvent.h>
29633 #include <CoreFoundation/CoreFoundation.h>
29634
29635 int
29636 main ()
29637 {
29638
29639 ;
29640 return 0;
29641 }
29642 _ACEOF
29643 rm -f conftest.$ac_objext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29645 (eval $ac_compile) 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -z "$ac_c_werror_flag"
29653 || test ! -s conftest.err'
29654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29655 (eval $ac_try) 2>&5
29656 ac_status=$?
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; } &&
29659 { ac_try='test -s conftest.$ac_objext'
29660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29661 (eval $ac_try) 2>&5
29662 ac_status=$?
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); }; }; then
29665 echo "$as_me:$LINENO: result: yes" >&5
29666 echo "${ECHO_T}yes" >&6
29667 cat >>confdefs.h <<\_ACEOF
29668 #define __Point__ 1
29669 _ACEOF
29670
29671
29672 else
29673 echo "$as_me: failed program was:" >&5
29674 sed 's/^/| /' conftest.$ac_ext >&5
29675
29676 { { echo "$as_me:$LINENO: error: no
29677 See \`config.log' for more details." >&5
29678 echo "$as_me: error: no
29679 See \`config.log' for more details." >&2;}
29680 { (exit 1); exit 1; }; }
29681
29682 fi
29683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29684
29685 fi
29686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29687 ac_ext=c
29688 ac_cpp='$CPP $CPPFLAGS'
29689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29692
29693 fi
29694
29695 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29696 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29697 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29698
29699 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29700
29701 # Extract the first word of "Rez", so it can be a program name with args.
29702 set dummy Rez; ac_word=$2
29703 echo "$as_me:$LINENO: checking for $ac_word" >&5
29704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29705 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 else
29708 if test -n "$RESCOMP"; then
29709 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
29710 else
29711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29712 for as_dir in $PATH
29713 do
29714 IFS=$as_save_IFS
29715 test -z "$as_dir" && as_dir=.
29716 for ac_exec_ext in '' $ac_executable_extensions; do
29717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29718 ac_cv_prog_RESCOMP="Rez"
29719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29720 break 2
29721 fi
29722 done
29723 done
29724
29725 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
29726 fi
29727 fi
29728 RESCOMP=$ac_cv_prog_RESCOMP
29729 if test -n "$RESCOMP"; then
29730 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29731 echo "${ECHO_T}$RESCOMP" >&6
29732 else
29733 echo "$as_me:$LINENO: result: no" >&5
29734 echo "${ECHO_T}no" >&6
29735 fi
29736
29737 # Extract the first word of "DeRez", so it can be a program name with args.
29738 set dummy DeRez; ac_word=$2
29739 echo "$as_me:$LINENO: checking for $ac_word" >&5
29740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29741 if test "${ac_cv_prog_DEREZ+set}" = set; then
29742 echo $ECHO_N "(cached) $ECHO_C" >&6
29743 else
29744 if test -n "$DEREZ"; then
29745 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
29746 else
29747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29748 for as_dir in $PATH
29749 do
29750 IFS=$as_save_IFS
29751 test -z "$as_dir" && as_dir=.
29752 for ac_exec_ext in '' $ac_executable_extensions; do
29753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29754 ac_cv_prog_DEREZ="DeRez"
29755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29756 break 2
29757 fi
29758 done
29759 done
29760
29761 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
29762 fi
29763 fi
29764 DEREZ=$ac_cv_prog_DEREZ
29765 if test -n "$DEREZ"; then
29766 echo "$as_me:$LINENO: result: $DEREZ" >&5
29767 echo "${ECHO_T}$DEREZ" >&6
29768 else
29769 echo "$as_me:$LINENO: result: no" >&5
29770 echo "${ECHO_T}no" >&6
29771 fi
29772
29773 # Extract the first word of "SetFile", so it can be a program name with args.
29774 set dummy SetFile; ac_word=$2
29775 echo "$as_me:$LINENO: checking for $ac_word" >&5
29776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29777 if test "${ac_cv_prog_SETFILE+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 else
29780 if test -n "$SETFILE"; then
29781 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
29782 else
29783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29784 for as_dir in $PATH
29785 do
29786 IFS=$as_save_IFS
29787 test -z "$as_dir" && as_dir=.
29788 for ac_exec_ext in '' $ac_executable_extensions; do
29789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29790 ac_cv_prog_SETFILE="SetFile"
29791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29792 break 2
29793 fi
29794 done
29795 done
29796
29797 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
29798 fi
29799 fi
29800 SETFILE=$ac_cv_prog_SETFILE
29801 if test -n "$SETFILE"; then
29802 echo "$as_me:$LINENO: result: $SETFILE" >&5
29803 echo "${ECHO_T}$SETFILE" >&6
29804 else
29805 echo "$as_me:$LINENO: result: no" >&5
29806 echo "${ECHO_T}no" >&6
29807 fi
29808
29809
29810 MACSETFILE="\$(SETFILE)"
29811
29812 if test "$wxUSE_MAC" = 1; then
29813 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29814
29815 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29816 else
29817 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29818 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29819 fi
29820 else
29821 MACSETFILE="@true"
29822 MACRESWXCONFIG="@true"
29823
29824 if test "$wxUSE_PM" = 1; then
29825 MACRESCOMP="emxbind -ep"
29826 else
29827 MACRESCOMP="@true"
29828 fi
29829 fi
29830
29831
29832
29833 echo "$as_me:$LINENO: checking for mode_t" >&5
29834 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29835 if test "${ac_cv_type_mode_t+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29837 else
29838 cat >conftest.$ac_ext <<_ACEOF
29839 /* confdefs.h. */
29840 _ACEOF
29841 cat confdefs.h >>conftest.$ac_ext
29842 cat >>conftest.$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844 $ac_includes_default
29845 int
29846 main ()
29847 {
29848 if ((mode_t *) 0)
29849 return 0;
29850 if (sizeof (mode_t))
29851 return 0;
29852 ;
29853 return 0;
29854 }
29855 _ACEOF
29856 rm -f conftest.$ac_objext
29857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29858 (eval $ac_compile) 2>conftest.er1
29859 ac_status=$?
29860 grep -v '^ *+' conftest.er1 >conftest.err
29861 rm -f conftest.er1
29862 cat conftest.err >&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); } &&
29865 { ac_try='test -z "$ac_c_werror_flag"
29866 || test ! -s conftest.err'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29869 ac_status=$?
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; } &&
29872 { ac_try='test -s conftest.$ac_objext'
29873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29874 (eval $ac_try) 2>&5
29875 ac_status=$?
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; }; then
29878 ac_cv_type_mode_t=yes
29879 else
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.$ac_ext >&5
29882
29883 ac_cv_type_mode_t=no
29884 fi
29885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29886 fi
29887 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29888 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29889 if test $ac_cv_type_mode_t = yes; then
29890 :
29891 else
29892
29893 cat >>confdefs.h <<_ACEOF
29894 #define mode_t int
29895 _ACEOF
29896
29897 fi
29898
29899 echo "$as_me:$LINENO: checking for off_t" >&5
29900 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29901 if test "${ac_cv_type_off_t+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29903 else
29904 cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h. */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 $ac_includes_default
29911 int
29912 main ()
29913 {
29914 if ((off_t *) 0)
29915 return 0;
29916 if (sizeof (off_t))
29917 return 0;
29918 ;
29919 return 0;
29920 }
29921 _ACEOF
29922 rm -f conftest.$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924 (eval $ac_compile) 2>conftest.er1
29925 ac_status=$?
29926 grep -v '^ *+' conftest.er1 >conftest.err
29927 rm -f conftest.er1
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try='test -z "$ac_c_werror_flag"
29932 || test ! -s conftest.err'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; } &&
29938 { ac_try='test -s conftest.$ac_objext'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29941 ac_status=$?
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; }; then
29944 ac_cv_type_off_t=yes
29945 else
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29948
29949 ac_cv_type_off_t=no
29950 fi
29951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29952 fi
29953 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29954 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29955 if test $ac_cv_type_off_t = yes; then
29956 :
29957 else
29958
29959 cat >>confdefs.h <<_ACEOF
29960 #define off_t long
29961 _ACEOF
29962
29963 fi
29964
29965 echo "$as_me:$LINENO: checking for pid_t" >&5
29966 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29967 if test "${ac_cv_type_pid_t+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970 cat >conftest.$ac_ext <<_ACEOF
29971 /* confdefs.h. */
29972 _ACEOF
29973 cat confdefs.h >>conftest.$ac_ext
29974 cat >>conftest.$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29976 $ac_includes_default
29977 int
29978 main ()
29979 {
29980 if ((pid_t *) 0)
29981 return 0;
29982 if (sizeof (pid_t))
29983 return 0;
29984 ;
29985 return 0;
29986 }
29987 _ACEOF
29988 rm -f conftest.$ac_objext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29990 (eval $ac_compile) 2>conftest.er1
29991 ac_status=$?
29992 grep -v '^ *+' conftest.er1 >conftest.err
29993 rm -f conftest.er1
29994 cat conftest.err >&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try='test -z "$ac_c_werror_flag"
29998 || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30001 ac_status=$?
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try='test -s conftest.$ac_objext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_type_pid_t=yes
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 ac_cv_type_pid_t=no
30016 fi
30017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30018 fi
30019 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30020 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30021 if test $ac_cv_type_pid_t = yes; then
30022 :
30023 else
30024
30025 cat >>confdefs.h <<_ACEOF
30026 #define pid_t int
30027 _ACEOF
30028
30029 fi
30030
30031 echo "$as_me:$LINENO: checking for size_t" >&5
30032 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30033 if test "${ac_cv_type_size_t+set}" = set; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30035 else
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 $ac_includes_default
30043 int
30044 main ()
30045 {
30046 if ((size_t *) 0)
30047 return 0;
30048 if (sizeof (size_t))
30049 return 0;
30050 ;
30051 return 0;
30052 }
30053 _ACEOF
30054 rm -f conftest.$ac_objext
30055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30056 (eval $ac_compile) 2>conftest.er1
30057 ac_status=$?
30058 grep -v '^ *+' conftest.er1 >conftest.err
30059 rm -f conftest.er1
30060 cat conftest.err >&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } &&
30063 { ac_try='test -z "$ac_c_werror_flag"
30064 || test ! -s conftest.err'
30065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30066 (eval $ac_try) 2>&5
30067 ac_status=$?
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); }; } &&
30070 { ac_try='test -s conftest.$ac_objext'
30071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30072 (eval $ac_try) 2>&5
30073 ac_status=$?
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); }; }; then
30076 ac_cv_type_size_t=yes
30077 else
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30080
30081 ac_cv_type_size_t=no
30082 fi
30083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30084 fi
30085 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30086 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30087 if test $ac_cv_type_size_t = yes; then
30088 :
30089 else
30090
30091 cat >>confdefs.h <<_ACEOF
30092 #define size_t unsigned
30093 _ACEOF
30094
30095 fi
30096
30097 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30098 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30099 if test "${ac_cv_type_uid_t+set}" = set; then
30100 echo $ECHO_N "(cached) $ECHO_C" >&6
30101 else
30102 cat >conftest.$ac_ext <<_ACEOF
30103 /* confdefs.h. */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <sys/types.h>
30109
30110 _ACEOF
30111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30112 $EGREP "uid_t" >/dev/null 2>&1; then
30113 ac_cv_type_uid_t=yes
30114 else
30115 ac_cv_type_uid_t=no
30116 fi
30117 rm -f conftest*
30118
30119 fi
30120 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30121 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30122 if test $ac_cv_type_uid_t = no; then
30123
30124 cat >>confdefs.h <<\_ACEOF
30125 #define uid_t int
30126 _ACEOF
30127
30128
30129 cat >>confdefs.h <<\_ACEOF
30130 #define gid_t int
30131 _ACEOF
30132
30133 fi
30134
30135
30136 echo "$as_me:$LINENO: checking for ssize_t" >&5
30137 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30138 if test "${ac_cv_type_ssize_t+set}" = set; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 else
30141 cat >conftest.$ac_ext <<_ACEOF
30142 /* confdefs.h. */
30143 _ACEOF
30144 cat confdefs.h >>conftest.$ac_ext
30145 cat >>conftest.$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 $ac_includes_default
30148 int
30149 main ()
30150 {
30151 if ((ssize_t *) 0)
30152 return 0;
30153 if (sizeof (ssize_t))
30154 return 0;
30155 ;
30156 return 0;
30157 }
30158 _ACEOF
30159 rm -f conftest.$ac_objext
30160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30161 (eval $ac_compile) 2>conftest.er1
30162 ac_status=$?
30163 grep -v '^ *+' conftest.er1 >conftest.err
30164 rm -f conftest.er1
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try='test -z "$ac_c_werror_flag"
30169 || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try='test -s conftest.$ac_objext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30178 ac_status=$?
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 ac_cv_type_ssize_t=yes
30182 else
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30185
30186 ac_cv_type_ssize_t=no
30187 fi
30188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30189 fi
30190 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30191 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30192 if test $ac_cv_type_ssize_t = yes; then
30193
30194 cat >>confdefs.h <<_ACEOF
30195 #define HAVE_SSIZE_T 1
30196 _ACEOF
30197
30198
30199 fi
30200
30201
30202
30203
30204 ac_ext=cc
30205 ac_cpp='$CXXCPP $CPPFLAGS'
30206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30209
30210 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30211 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30212 if test "${wx_cv_size_t_is_uint+set}" = set; then
30213 echo $ECHO_N "(cached) $ECHO_C" >&6
30214 else
30215
30216 cat >conftest.$ac_ext <<_ACEOF
30217 /* confdefs.h. */
30218 _ACEOF
30219 cat confdefs.h >>conftest.$ac_ext
30220 cat >>conftest.$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222 #include <stddef.h>
30223 int
30224 main ()
30225 {
30226
30227 return 0; }
30228
30229 struct Foo { void foo(size_t); void foo(unsigned int); };
30230
30231 int bar() {
30232
30233 ;
30234 return 0;
30235 }
30236 _ACEOF
30237 rm -f conftest.$ac_objext
30238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30239 (eval $ac_compile) 2>conftest.er1
30240 ac_status=$?
30241 grep -v '^ *+' conftest.er1 >conftest.err
30242 rm -f conftest.er1
30243 cat conftest.err >&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } &&
30246 { ac_try='test -z "$ac_cxx_werror_flag"
30247 || test ! -s conftest.err'
30248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249 (eval $ac_try) 2>&5
30250 ac_status=$?
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); }; } &&
30253 { ac_try='test -s conftest.$ac_objext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30256 ac_status=$?
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30259 wx_cv_size_t_is_uint=no
30260 else
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.$ac_ext >&5
30263
30264 wx_cv_size_t_is_uint=yes
30265
30266 fi
30267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30268
30269
30270 fi
30271 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30272 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30273
30274 if test "$wx_cv_size_t_is_uint" = "yes"; then
30275 cat >>confdefs.h <<\_ACEOF
30276 #define wxSIZE_T_IS_UINT 1
30277 _ACEOF
30278
30279 else
30280 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30281 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30282 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30283 echo $ECHO_N "(cached) $ECHO_C" >&6
30284 else
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h. */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 #include <stddef.h>
30292 int
30293 main ()
30294 {
30295
30296 return 0; }
30297
30298 struct Foo { void foo(size_t); void foo(unsigned long); };
30299
30300 int bar() {
30301
30302 ;
30303 return 0;
30304 }
30305 _ACEOF
30306 rm -f conftest.$ac_objext
30307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30308 (eval $ac_compile) 2>conftest.er1
30309 ac_status=$?
30310 grep -v '^ *+' conftest.er1 >conftest.err
30311 rm -f conftest.er1
30312 cat conftest.err >&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); } &&
30315 { ac_try='test -z "$ac_cxx_werror_flag"
30316 || test ! -s conftest.err'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; } &&
30322 { ac_try='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30325 ac_status=$?
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 wx_cv_size_t_is_ulong=no
30329 else
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.$ac_ext >&5
30332
30333 wx_cv_size_t_is_ulong=yes
30334
30335 fi
30336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30337
30338 fi
30339 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30340 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30341
30342 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30343 cat >>confdefs.h <<\_ACEOF
30344 #define wxSIZE_T_IS_ULONG 1
30345 _ACEOF
30346
30347 fi
30348 fi
30349
30350 ac_ext=c
30351 ac_cpp='$CPP $CPPFLAGS'
30352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30355
30356
30357
30358 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30359 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30360 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30361 echo $ECHO_N "(cached) $ECHO_C" >&6
30362 else
30363
30364 cat >conftest.$ac_ext <<_ACEOF
30365 /* confdefs.h. */
30366 _ACEOF
30367 cat confdefs.h >>conftest.$ac_ext
30368 cat >>conftest.$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370 #include <pwd.h>
30371 int
30372 main ()
30373 {
30374
30375 char *p;
30376 struct passwd *pw;
30377 p = pw->pw_gecos;
30378
30379 ;
30380 return 0;
30381 }
30382 _ACEOF
30383 rm -f conftest.$ac_objext
30384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30385 (eval $ac_compile) 2>conftest.er1
30386 ac_status=$?
30387 grep -v '^ *+' conftest.er1 >conftest.err
30388 rm -f conftest.er1
30389 cat conftest.err >&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } &&
30392 { ac_try='test -z "$ac_c_werror_flag"
30393 || test ! -s conftest.err'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30396 ac_status=$?
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; } &&
30399 { ac_try='test -s conftest.$ac_objext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405
30406 wx_cv_struct_pw_gecos=yes
30407
30408 else
30409 echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.$ac_ext >&5
30411
30412
30413 wx_cv_struct_pw_gecos=no
30414
30415
30416 fi
30417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30418
30419
30420 fi
30421 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30422 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30423
30424 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30425 cat >>confdefs.h <<\_ACEOF
30426 #define HAVE_PW_GECOS 1
30427 _ACEOF
30428
30429 fi
30430
30431
30432 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30433 cat >>confdefs.h <<\_ACEOF
30434 #define wxUSE_WCHAR_T 1
30435 _ACEOF
30436
30437
30438 WCSLEN_FOUND=0
30439 WCHAR_LINK=
30440
30441 for ac_func in wcslen
30442 do
30443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30444 echo "$as_me:$LINENO: checking for $ac_func" >&5
30445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30446 if eval "test \"\${$as_ac_var+set}\" = set"; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 else
30449 cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h. */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h. */
30455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30457 #define $ac_func innocuous_$ac_func
30458
30459 /* System header to define __stub macros and hopefully few prototypes,
30460 which can conflict with char $ac_func (); below.
30461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30462 <limits.h> exists even on freestanding compilers. */
30463
30464 #ifdef __STDC__
30465 # include <limits.h>
30466 #else
30467 # include <assert.h>
30468 #endif
30469
30470 #undef $ac_func
30471
30472 /* Override any gcc2 internal prototype to avoid an error. */
30473 #ifdef __cplusplus
30474 extern "C"
30475 {
30476 #endif
30477 /* We use char because int might match the return type of a gcc2
30478 builtin and then its argument prototype would still apply. */
30479 char $ac_func ();
30480 /* The GNU C library defines this for functions which it implements
30481 to always fail with ENOSYS. Some functions are actually named
30482 something starting with __ and the normal name is an alias. */
30483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30484 choke me
30485 #else
30486 char (*f) () = $ac_func;
30487 #endif
30488 #ifdef __cplusplus
30489 }
30490 #endif
30491
30492 int
30493 main ()
30494 {
30495 return f != $ac_func;
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 rm -f conftest.$ac_objext conftest$ac_exeext
30501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30502 (eval $ac_link) 2>conftest.er1
30503 ac_status=$?
30504 grep -v '^ *+' conftest.er1 >conftest.err
30505 rm -f conftest.er1
30506 cat conftest.err >&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); } &&
30509 { ac_try='test -z "$ac_c_werror_flag"
30510 || test ! -s conftest.err'
30511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30512 (eval $ac_try) 2>&5
30513 ac_status=$?
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); }; } &&
30516 { ac_try='test -s conftest$ac_exeext'
30517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30518 (eval $ac_try) 2>&5
30519 ac_status=$?
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); }; }; then
30522 eval "$as_ac_var=yes"
30523 else
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.$ac_ext >&5
30526
30527 eval "$as_ac_var=no"
30528 fi
30529 rm -f conftest.err conftest.$ac_objext \
30530 conftest$ac_exeext conftest.$ac_ext
30531 fi
30532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30534 if test `eval echo '${'$as_ac_var'}'` = yes; then
30535 cat >>confdefs.h <<_ACEOF
30536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30537 _ACEOF
30538 WCSLEN_FOUND=1
30539 fi
30540 done
30541
30542
30543 if test "$WCSLEN_FOUND" = 0; then
30544 if test "$TOOLKIT" = "MSW"; then
30545 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30546 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30547 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30549 else
30550 ac_check_lib_save_LIBS=$LIBS
30551 LIBS="-lmsvcrt $LIBS"
30552 cat >conftest.$ac_ext <<_ACEOF
30553 /* confdefs.h. */
30554 _ACEOF
30555 cat confdefs.h >>conftest.$ac_ext
30556 cat >>conftest.$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30558
30559 /* Override any gcc2 internal prototype to avoid an error. */
30560 #ifdef __cplusplus
30561 extern "C"
30562 #endif
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30565 char wcslen ();
30566 int
30567 main ()
30568 {
30569 wcslen ();
30570 ;
30571 return 0;
30572 }
30573 _ACEOF
30574 rm -f conftest.$ac_objext conftest$ac_exeext
30575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30576 (eval $ac_link) 2>conftest.er1
30577 ac_status=$?
30578 grep -v '^ *+' conftest.er1 >conftest.err
30579 rm -f conftest.er1
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } &&
30583 { ac_try='test -z "$ac_c_werror_flag"
30584 || test ! -s conftest.err'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; } &&
30590 { ac_try='test -s conftest$ac_exeext'
30591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30592 (eval $ac_try) 2>&5
30593 ac_status=$?
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); }; }; then
30596 ac_cv_lib_msvcrt_wcslen=yes
30597 else
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.$ac_ext >&5
30600
30601 ac_cv_lib_msvcrt_wcslen=no
30602 fi
30603 rm -f conftest.err conftest.$ac_objext \
30604 conftest$ac_exeext conftest.$ac_ext
30605 LIBS=$ac_check_lib_save_LIBS
30606 fi
30607 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30608 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30609 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30610 WCHAR_OK=1
30611 fi
30612
30613 else
30614 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30615 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30616 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619 ac_check_lib_save_LIBS=$LIBS
30620 LIBS="-lw $LIBS"
30621 cat >conftest.$ac_ext <<_ACEOF
30622 /* confdefs.h. */
30623 _ACEOF
30624 cat confdefs.h >>conftest.$ac_ext
30625 cat >>conftest.$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627
30628 /* Override any gcc2 internal prototype to avoid an error. */
30629 #ifdef __cplusplus
30630 extern "C"
30631 #endif
30632 /* We use char because int might match the return type of a gcc2
30633 builtin and then its argument prototype would still apply. */
30634 char wcslen ();
30635 int
30636 main ()
30637 {
30638 wcslen ();
30639 ;
30640 return 0;
30641 }
30642 _ACEOF
30643 rm -f conftest.$ac_objext conftest$ac_exeext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30645 (eval $ac_link) 2>conftest.er1
30646 ac_status=$?
30647 grep -v '^ *+' conftest.er1 >conftest.err
30648 rm -f conftest.er1
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_lib_w_wcslen=yes
30666 else
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.$ac_ext >&5
30669
30670 ac_cv_lib_w_wcslen=no
30671 fi
30672 rm -f conftest.err conftest.$ac_objext \
30673 conftest$ac_exeext conftest.$ac_ext
30674 LIBS=$ac_check_lib_save_LIBS
30675 fi
30676 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30677 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30678 if test $ac_cv_lib_w_wcslen = yes; then
30679
30680 WCHAR_LINK=" -lw"
30681 WCSLEN_FOUND=1
30682
30683 fi
30684
30685 fi
30686 fi
30687
30688 if test "$WCSLEN_FOUND" = 1; then
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_WCSLEN 1
30691 _ACEOF
30692
30693 fi
30694
30695 if test "$USE_HPUX" = 1; then
30696 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30697 fi
30698
30699
30700 for ac_func in wcsrtombs
30701 do
30702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:$LINENO: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30707 else
30708 cat >conftest.$ac_ext <<_ACEOF
30709 /* confdefs.h. */
30710 _ACEOF
30711 cat confdefs.h >>conftest.$ac_ext
30712 cat >>conftest.$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30716 #define $ac_func innocuous_$ac_func
30717
30718 /* System header to define __stub macros and hopefully few prototypes,
30719 which can conflict with char $ac_func (); below.
30720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30721 <limits.h> exists even on freestanding compilers. */
30722
30723 #ifdef __STDC__
30724 # include <limits.h>
30725 #else
30726 # include <assert.h>
30727 #endif
30728
30729 #undef $ac_func
30730
30731 /* Override any gcc2 internal prototype to avoid an error. */
30732 #ifdef __cplusplus
30733 extern "C"
30734 {
30735 #endif
30736 /* We use char because int might match the return type of a gcc2
30737 builtin and then its argument prototype would still apply. */
30738 char $ac_func ();
30739 /* The GNU C library defines this for functions which it implements
30740 to always fail with ENOSYS. Some functions are actually named
30741 something starting with __ and the normal name is an alias. */
30742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30743 choke me
30744 #else
30745 char (*f) () = $ac_func;
30746 #endif
30747 #ifdef __cplusplus
30748 }
30749 #endif
30750
30751 int
30752 main ()
30753 {
30754 return f != $ac_func;
30755 ;
30756 return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext conftest$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -z "$ac_c_werror_flag"
30769 || test ! -s conftest.err'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30772 ac_status=$?
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; } &&
30775 { ac_try='test -s conftest$ac_exeext'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; }; then
30781 eval "$as_ac_var=yes"
30782 else
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30785
30786 eval "$as_ac_var=no"
30787 fi
30788 rm -f conftest.err conftest.$ac_objext \
30789 conftest$ac_exeext conftest.$ac_ext
30790 fi
30791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30793 if test `eval echo '${'$as_ac_var'}'` = yes; then
30794 cat >>confdefs.h <<_ACEOF
30795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30796 _ACEOF
30797
30798 fi
30799 done
30800
30801 else
30802 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30803 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30804 fi
30805
30806
30807
30808 ac_ext=cc
30809 ac_cpp='$CXXCPP $CPPFLAGS'
30810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30813
30814
30815
30816 for ac_func in vsnprintf
30817 do
30818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30819 echo "$as_me:$LINENO: checking for $ac_func" >&5
30820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30821 if eval "test \"\${$as_ac_var+set}\" = set"; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 else
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30832 #define $ac_func innocuous_$ac_func
30833
30834 /* System header to define __stub macros and hopefully few prototypes,
30835 which can conflict with char $ac_func (); below.
30836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30837 <limits.h> exists even on freestanding compilers. */
30838
30839 #ifdef __STDC__
30840 # include <limits.h>
30841 #else
30842 # include <assert.h>
30843 #endif
30844
30845 #undef $ac_func
30846
30847 /* Override any gcc2 internal prototype to avoid an error. */
30848 #ifdef __cplusplus
30849 extern "C"
30850 {
30851 #endif
30852 /* We use char because int might match the return type of a gcc2
30853 builtin and then its argument prototype would still apply. */
30854 char $ac_func ();
30855 /* The GNU C library defines this for functions which it implements
30856 to always fail with ENOSYS. Some functions are actually named
30857 something starting with __ and the normal name is an alias. */
30858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30859 choke me
30860 #else
30861 char (*f) () = $ac_func;
30862 #endif
30863 #ifdef __cplusplus
30864 }
30865 #endif
30866
30867 int
30868 main ()
30869 {
30870 return f != $ac_func;
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 rm -f conftest.$ac_objext conftest$ac_exeext
30876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30877 (eval $ac_link) 2>conftest.er1
30878 ac_status=$?
30879 grep -v '^ *+' conftest.er1 >conftest.err
30880 rm -f conftest.er1
30881 cat conftest.err >&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try='test -z "$ac_cxx_werror_flag"
30885 || test ! -s conftest.err'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30888 ac_status=$?
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; } &&
30891 { ac_try='test -s conftest$ac_exeext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30894 ac_status=$?
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897 eval "$as_ac_var=yes"
30898 else
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.$ac_ext >&5
30901
30902 eval "$as_ac_var=no"
30903 fi
30904 rm -f conftest.err conftest.$ac_objext \
30905 conftest$ac_exeext conftest.$ac_ext
30906 fi
30907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30909 if test `eval echo '${'$as_ac_var'}'` = yes; then
30910 cat >>confdefs.h <<_ACEOF
30911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30912 _ACEOF
30913
30914 fi
30915 done
30916
30917
30918 if test "$ac_cv_func_vsnprintf" = "yes"; then
30919 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30920 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30921 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30922 echo $ECHO_N "(cached) $ECHO_C" >&6
30923 else
30924
30925 cat >conftest.$ac_ext <<_ACEOF
30926 /* confdefs.h. */
30927 _ACEOF
30928 cat confdefs.h >>conftest.$ac_ext
30929 cat >>conftest.$ac_ext <<_ACEOF
30930 /* end confdefs.h. */
30931
30932 #include <stdio.h>
30933 #include <stdarg.h>
30934
30935 int
30936 main ()
30937 {
30938
30939 char *buf;
30940 va_list ap;
30941 vsnprintf(buf, 10u, "%s", ap);
30942
30943 ;
30944 return 0;
30945 }
30946 _ACEOF
30947 rm -f conftest.$ac_objext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30949 (eval $ac_compile) 2>conftest.er1
30950 ac_status=$?
30951 grep -v '^ *+' conftest.er1 >conftest.err
30952 rm -f conftest.er1
30953 cat conftest.err >&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } &&
30956 { ac_try='test -z "$ac_cxx_werror_flag"
30957 || test ! -s conftest.err'
30958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30959 (eval $ac_try) 2>&5
30960 ac_status=$?
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); }; } &&
30963 { ac_try='test -s conftest.$ac_objext'
30964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30965 (eval $ac_try) 2>&5
30966 ac_status=$?
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); }; }; then
30969 wx_cv_func_vsnprintf_decl=yes
30970 else
30971 echo "$as_me: failed program was:" >&5
30972 sed 's/^/| /' conftest.$ac_ext >&5
30973
30974
30975 cat >conftest.$ac_ext <<_ACEOF
30976 /* confdefs.h. */
30977 _ACEOF
30978 cat confdefs.h >>conftest.$ac_ext
30979 cat >>conftest.$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30981
30982 #include <stdio.h>
30983 #include <stdarg.h>
30984 using namespace std;
30985
30986 int
30987 main ()
30988 {
30989
30990 char *buf;
30991 va_list ap;
30992 vsnprintf(buf, 10u, "%s", ap);
30993
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>conftest.er1
31001 ac_status=$?
31002 grep -v '^ *+' conftest.er1 >conftest.err
31003 rm -f conftest.er1
31004 cat conftest.err >&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try='test -z "$ac_cxx_werror_flag"
31008 || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try='test -s conftest.$ac_objext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 wx_cv_func_vsnprintf_decl=yes
31021 else
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31024
31025 wx_cv_func_vsnprintf_decl=no
31026
31027 fi
31028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31029
31030
31031 fi
31032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31033
31034
31035 fi
31036 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31037 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31038
31039 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31040 cat >>confdefs.h <<\_ACEOF
31041 #define HAVE_VSNPRINTF_DECL 1
31042 _ACEOF
31043
31044 fi
31045 fi
31046
31047 if test "$wxUSE_UNICODE" = yes; then
31048
31049
31050
31051
31052
31053
31054 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31055 do
31056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31057 echo "$as_me:$LINENO: checking for $ac_func" >&5
31058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31059 if eval "test \"\${$as_ac_var+set}\" = set"; then
31060 echo $ECHO_N "(cached) $ECHO_C" >&6
31061 else
31062 cat >conftest.$ac_ext <<_ACEOF
31063 /* confdefs.h. */
31064 _ACEOF
31065 cat confdefs.h >>conftest.$ac_ext
31066 cat >>conftest.$ac_ext <<_ACEOF
31067 /* end confdefs.h. */
31068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31070 #define $ac_func innocuous_$ac_func
31071
31072 /* System header to define __stub macros and hopefully few prototypes,
31073 which can conflict with char $ac_func (); below.
31074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31075 <limits.h> exists even on freestanding compilers. */
31076
31077 #ifdef __STDC__
31078 # include <limits.h>
31079 #else
31080 # include <assert.h>
31081 #endif
31082
31083 #undef $ac_func
31084
31085 /* Override any gcc2 internal prototype to avoid an error. */
31086 #ifdef __cplusplus
31087 extern "C"
31088 {
31089 #endif
31090 /* We use char because int might match the return type of a gcc2
31091 builtin and then its argument prototype would still apply. */
31092 char $ac_func ();
31093 /* The GNU C library defines this for functions which it implements
31094 to always fail with ENOSYS. Some functions are actually named
31095 something starting with __ and the normal name is an alias. */
31096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31097 choke me
31098 #else
31099 char (*f) () = $ac_func;
31100 #endif
31101 #ifdef __cplusplus
31102 }
31103 #endif
31104
31105 int
31106 main ()
31107 {
31108 return f != $ac_func;
31109 ;
31110 return 0;
31111 }
31112 _ACEOF
31113 rm -f conftest.$ac_objext conftest$ac_exeext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31115 (eval $ac_link) 2>conftest.er1
31116 ac_status=$?
31117 grep -v '^ *+' conftest.er1 >conftest.err
31118 rm -f conftest.er1
31119 cat conftest.err >&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } &&
31122 { ac_try='test -z "$ac_cxx_werror_flag"
31123 || test ! -s conftest.err'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; } &&
31129 { ac_try='test -s conftest$ac_exeext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31132 ac_status=$?
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 eval "$as_ac_var=yes"
31136 else
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.$ac_ext >&5
31139
31140 eval "$as_ac_var=no"
31141 fi
31142 rm -f conftest.err conftest.$ac_objext \
31143 conftest$ac_exeext conftest.$ac_ext
31144 fi
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31147 if test `eval echo '${'$as_ac_var'}'` = yes; then
31148 cat >>confdefs.h <<_ACEOF
31149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31150 _ACEOF
31151
31152 fi
31153 done
31154
31155
31156 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31157 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164 #include <wchar.h>
31165 int
31166 main ()
31167 {
31168 &_vsnwprintf;
31169 ;
31170 return 0;
31171 }
31172 _ACEOF
31173 rm -f conftest.$ac_objext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31175 (eval $ac_compile) 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try='test -z "$ac_cxx_werror_flag"
31183 || test ! -s conftest.err'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31186 ac_status=$?
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; } &&
31189 { ac_try='test -s conftest.$ac_objext'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; }; then
31195 echo "$as_me:$LINENO: result: yes" >&5
31196 echo "${ECHO_T}yes" >&6
31197 cat >>confdefs.h <<\_ACEOF
31198 #define HAVE__VSNWPRINTF 1
31199 _ACEOF
31200
31201 else
31202 echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.$ac_ext >&5
31204
31205 echo "$as_me:$LINENO: result: no" >&5
31206 echo "${ECHO_T}no" >&6
31207 fi
31208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31209 fi
31210
31211 ac_ext=c
31212 ac_cpp='$CPP $CPPFLAGS'
31213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31216
31217
31218
31219
31220 if test "$TOOLKIT" != "MSW"; then
31221
31222
31223
31224
31225 ac_ext=cc
31226 ac_cpp='$CXXCPP $CPPFLAGS'
31227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230
31231
31232
31233
31234 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31235 if test "${with_libiconv_prefix+set}" = set; then
31236 withval="$with_libiconv_prefix"
31237
31238 for dir in `echo "$withval" | tr : ' '`; do
31239 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31240 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31241 done
31242
31243 fi;
31244
31245 echo "$as_me:$LINENO: checking for iconv" >&5
31246 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31247 if test "${am_cv_func_iconv+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250
31251 am_cv_func_iconv="no, consider installing GNU libiconv"
31252 am_cv_lib_iconv=no
31253 cat >conftest.$ac_ext <<_ACEOF
31254 /* confdefs.h. */
31255 _ACEOF
31256 cat confdefs.h >>conftest.$ac_ext
31257 cat >>conftest.$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259 #include <stdlib.h>
31260 #include <iconv.h>
31261 int
31262 main ()
31263 {
31264 iconv_t cd = iconv_open("","");
31265 iconv(cd,NULL,NULL,NULL,NULL);
31266 iconv_close(cd);
31267 ;
31268 return 0;
31269 }
31270 _ACEOF
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31273 (eval $ac_link) 2>conftest.er1
31274 ac_status=$?
31275 grep -v '^ *+' conftest.er1 >conftest.err
31276 rm -f conftest.er1
31277 cat conftest.err >&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } &&
31280 { ac_try='test -z "$ac_cxx_werror_flag"
31281 || test ! -s conftest.err'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31284 ac_status=$?
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; } &&
31287 { ac_try='test -s conftest$ac_exeext'
31288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31289 (eval $ac_try) 2>&5
31290 ac_status=$?
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); }; }; then
31293 am_cv_func_iconv=yes
31294 else
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.$ac_ext >&5
31297
31298 fi
31299 rm -f conftest.err conftest.$ac_objext \
31300 conftest$ac_exeext conftest.$ac_ext
31301 if test "$am_cv_func_iconv" != yes; then
31302 am_save_LIBS="$LIBS"
31303 LIBS="$LIBS -liconv"
31304 cat >conftest.$ac_ext <<_ACEOF
31305 /* confdefs.h. */
31306 _ACEOF
31307 cat confdefs.h >>conftest.$ac_ext
31308 cat >>conftest.$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31310 #include <stdlib.h>
31311 #include <iconv.h>
31312 int
31313 main ()
31314 {
31315 iconv_t cd = iconv_open("","");
31316 iconv(cd,NULL,NULL,NULL,NULL);
31317 iconv_close(cd);
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31325 ac_status=$?
31326 grep -v '^ *+' conftest.er1 >conftest.err
31327 rm -f conftest.er1
31328 cat conftest.err >&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -z "$ac_cxx_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31335 ac_status=$?
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try='test -s conftest$ac_exeext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344 am_cv_lib_iconv=yes
31345 am_cv_func_iconv=yes
31346 else
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.$ac_ext >&5
31349
31350 fi
31351 rm -f conftest.err conftest.$ac_objext \
31352 conftest$ac_exeext conftest.$ac_ext
31353 LIBS="$am_save_LIBS"
31354 fi
31355
31356 fi
31357 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31358 echo "${ECHO_T}$am_cv_func_iconv" >&6
31359 if test "$am_cv_func_iconv" = yes; then
31360
31361 cat >>confdefs.h <<\_ACEOF
31362 #define HAVE_ICONV 1
31363 _ACEOF
31364
31365 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31366 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31367 if test "${wx_cv_func_iconv_const+set}" = set; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31369 else
31370 cat >conftest.$ac_ext <<_ACEOF
31371 /* confdefs.h. */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31376
31377 #include <stdlib.h>
31378 #include <iconv.h>
31379 extern
31380 #ifdef __cplusplus
31381 "C"
31382 #endif
31383 #if defined(__STDC__) || defined(__cplusplus)
31384 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31385 #else
31386 size_t iconv();
31387 #endif
31388
31389 int
31390 main ()
31391 {
31392
31393 ;
31394 return 0;
31395 }
31396 _ACEOF
31397 rm -f conftest.$ac_objext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31399 (eval $ac_compile) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try='test -z "$ac_cxx_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try='test -s conftest.$ac_objext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31416 ac_status=$?
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 wx_cv_func_iconv_const="no"
31420 else
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.$ac_ext >&5
31423
31424 wx_cv_func_iconv_const="yes"
31425
31426 fi
31427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31428
31429 fi
31430 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31431 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31432
31433 iconv_const=
31434 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31435 iconv_const="const"
31436 fi
31437
31438
31439 cat >>confdefs.h <<_ACEOF
31440 #define ICONV_CONST $iconv_const
31441 _ACEOF
31442
31443 fi
31444 LIBICONV=
31445 if test "$am_cv_lib_iconv" = yes; then
31446 LIBICONV="-liconv"
31447 fi
31448
31449
31450 LIBS="$LIBICONV $LIBS"
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456
31457
31458 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31459
31460 for ac_func in sigaction
31461 do
31462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31463 echo "$as_me:$LINENO: checking for $ac_func" >&5
31464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_var+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 else
31468 cat >conftest.$ac_ext <<_ACEOF
31469 /* confdefs.h. */
31470 _ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define $ac_func innocuous_$ac_func
31477
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char $ac_func (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31482
31483 #ifdef __STDC__
31484 # include <limits.h>
31485 #else
31486 # include <assert.h>
31487 #endif
31488
31489 #undef $ac_func
31490
31491 /* Override any gcc2 internal prototype to avoid an error. */
31492 #ifdef __cplusplus
31493 extern "C"
31494 {
31495 #endif
31496 /* We use char because int might match the return type of a gcc2
31497 builtin and then its argument prototype would still apply. */
31498 char $ac_func ();
31499 /* The GNU C library defines this for functions which it implements
31500 to always fail with ENOSYS. Some functions are actually named
31501 something starting with __ and the normal name is an alias. */
31502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31503 choke me
31504 #else
31505 char (*f) () = $ac_func;
31506 #endif
31507 #ifdef __cplusplus
31508 }
31509 #endif
31510
31511 int
31512 main ()
31513 {
31514 return f != $ac_func;
31515 ;
31516 return 0;
31517 }
31518 _ACEOF
31519 rm -f conftest.$ac_objext conftest$ac_exeext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31521 (eval $ac_link) 2>conftest.er1
31522 ac_status=$?
31523 grep -v '^ *+' conftest.er1 >conftest.err
31524 rm -f conftest.er1
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try='test -z "$ac_c_werror_flag"
31529 || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 eval "$as_ac_var=yes"
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31545
31546 eval "$as_ac_var=no"
31547 fi
31548 rm -f conftest.err conftest.$ac_objext \
31549 conftest$ac_exeext conftest.$ac_ext
31550 fi
31551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31553 if test `eval echo '${'$as_ac_var'}'` = yes; then
31554 cat >>confdefs.h <<_ACEOF
31555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31556 _ACEOF
31557
31558 fi
31559 done
31560
31561
31562 if test "$ac_cv_func_sigaction" = "no"; then
31563 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31564 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31565 wxUSE_ON_FATAL_EXCEPTION=no
31566 fi
31567
31568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31569
31570
31571 ac_ext=cc
31572 ac_cpp='$CXXCPP $CPPFLAGS'
31573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31576
31577
31578 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31579 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31580 if test "${wx_cv_type_sa_handler+set}" = set; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31582 else
31583
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 <signal.h>
31591 int
31592 main ()
31593 {
31594
31595 extern void testSigHandler(int);
31596
31597 struct sigaction sa;
31598 sa.sa_handler = testSigHandler;
31599
31600 ;
31601 return 0;
31602 }
31603 _ACEOF
31604 rm -f conftest.$ac_objext
31605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31606 (eval $ac_compile) 2>conftest.er1
31607 ac_status=$?
31608 grep -v '^ *+' conftest.er1 >conftest.err
31609 rm -f conftest.er1
31610 cat conftest.err >&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } &&
31613 { ac_try='test -z "$ac_cxx_werror_flag"
31614 || test ! -s conftest.err'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31617 ac_status=$?
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; } &&
31620 { ac_try='test -s conftest.$ac_objext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31623 ac_status=$?
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31626
31627 wx_cv_type_sa_handler=int
31628
31629 else
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.$ac_ext >&5
31632
31633
31634 wx_cv_type_sa_handler=void
31635
31636 fi
31637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31638
31639 fi
31640 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31641 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31642
31643 ac_ext=c
31644 ac_cpp='$CPP $CPPFLAGS'
31645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31648
31649
31650 cat >>confdefs.h <<_ACEOF
31651 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31652 _ACEOF
31653
31654 fi
31655 fi
31656
31657 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31658
31659
31660 ac_ext=cc
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31665
31666
31667 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31668 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31669 if test "${wx_cv_func_backtrace+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672
31673 cat >conftest.$ac_ext <<_ACEOF
31674 /* confdefs.h. */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 #include <execinfo.h>
31680 int
31681 main ()
31682 {
31683
31684 void *trace[1];
31685 char **messages;
31686
31687 backtrace(trace, 1);
31688 messages = backtrace_symbols(trace, 1);
31689
31690 ;
31691 return 0;
31692 }
31693 _ACEOF
31694 rm -f conftest.$ac_objext
31695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31696 (eval $ac_compile) 2>conftest.er1
31697 ac_status=$?
31698 grep -v '^ *+' conftest.er1 >conftest.err
31699 rm -f conftest.er1
31700 cat conftest.err >&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try='test -z "$ac_cxx_werror_flag"
31704 || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try='test -s conftest.$ac_objext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31713 ac_status=$?
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 wx_cv_func_backtrace=yes
31717 else
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.$ac_ext >&5
31720
31721 wx_cv_func_backtrace=no
31722
31723 fi
31724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31725
31726
31727 fi
31728 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31729 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31730
31731
31732 if test "$wx_cv_func_backtrace" = "no"; then
31733 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31734 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31735 wxUSE_STACKWALKER=no
31736 else
31737 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31738 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31739 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31740 echo $ECHO_N "(cached) $ECHO_C" >&6
31741 else
31742
31743 cat >conftest.$ac_ext <<_ACEOF
31744 /* confdefs.h. */
31745 _ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749 #include <cxxabi.h>
31750 int
31751 main ()
31752 {
31753
31754 int rc;
31755 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31756
31757 ;
31758 return 0;
31759 }
31760 _ACEOF
31761 rm -f conftest.$ac_objext conftest$ac_exeext
31762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31763 (eval $ac_link) 2>conftest.er1
31764 ac_status=$?
31765 grep -v '^ *+' conftest.er1 >conftest.err
31766 rm -f conftest.er1
31767 cat conftest.err >&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try='test -z "$ac_cxx_werror_flag"
31771 || test ! -s conftest.err'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; } &&
31777 { ac_try='test -s conftest$ac_exeext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 wx_cv_func_cxa_demangle=yes
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 wx_cv_func_cxa_demangle=no
31789
31790 fi
31791 rm -f conftest.err conftest.$ac_objext \
31792 conftest$ac_exeext conftest.$ac_ext
31793
31794
31795 fi
31796 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31797 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31798
31799 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31800 cat >>confdefs.h <<\_ACEOF
31801 #define HAVE_CXA_DEMANGLE 1
31802 _ACEOF
31803
31804 fi
31805 fi
31806
31807 ac_ext=c
31808 ac_cpp='$CPP $CPPFLAGS'
31809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31812
31813 fi
31814
31815 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31816 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31817 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31818 wxUSE_STACKWALKER=no
31819 fi
31820
31821
31822
31823
31824 for ac_func in mkstemp mktemp
31825 do
31826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31827 echo "$as_me:$LINENO: checking for $ac_func" >&5
31828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31829 if eval "test \"\${$as_ac_var+set}\" = set"; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31831 else
31832 cat >conftest.$ac_ext <<_ACEOF
31833 /* confdefs.h. */
31834 _ACEOF
31835 cat confdefs.h >>conftest.$ac_ext
31836 cat >>conftest.$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31840 #define $ac_func innocuous_$ac_func
31841
31842 /* System header to define __stub macros and hopefully few prototypes,
31843 which can conflict with char $ac_func (); below.
31844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31845 <limits.h> exists even on freestanding compilers. */
31846
31847 #ifdef __STDC__
31848 # include <limits.h>
31849 #else
31850 # include <assert.h>
31851 #endif
31852
31853 #undef $ac_func
31854
31855 /* Override any gcc2 internal prototype to avoid an error. */
31856 #ifdef __cplusplus
31857 extern "C"
31858 {
31859 #endif
31860 /* We use char because int might match the return type of a gcc2
31861 builtin and then its argument prototype would still apply. */
31862 char $ac_func ();
31863 /* The GNU C library defines this for functions which it implements
31864 to always fail with ENOSYS. Some functions are actually named
31865 something starting with __ and the normal name is an alias. */
31866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31867 choke me
31868 #else
31869 char (*f) () = $ac_func;
31870 #endif
31871 #ifdef __cplusplus
31872 }
31873 #endif
31874
31875 int
31876 main ()
31877 {
31878 return f != $ac_func;
31879 ;
31880 return 0;
31881 }
31882 _ACEOF
31883 rm -f conftest.$ac_objext conftest$ac_exeext
31884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31885 (eval $ac_link) 2>conftest.er1
31886 ac_status=$?
31887 grep -v '^ *+' conftest.er1 >conftest.err
31888 rm -f conftest.er1
31889 cat conftest.err >&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } &&
31892 { ac_try='test -z "$ac_c_werror_flag"
31893 || test ! -s conftest.err'
31894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31895 (eval $ac_try) 2>&5
31896 ac_status=$?
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); }; } &&
31899 { ac_try='test -s conftest$ac_exeext'
31900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31901 (eval $ac_try) 2>&5
31902 ac_status=$?
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); }; }; then
31905 eval "$as_ac_var=yes"
31906 else
31907 echo "$as_me: failed program was:" >&5
31908 sed 's/^/| /' conftest.$ac_ext >&5
31909
31910 eval "$as_ac_var=no"
31911 fi
31912 rm -f conftest.err conftest.$ac_objext \
31913 conftest$ac_exeext conftest.$ac_ext
31914 fi
31915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31917 if test `eval echo '${'$as_ac_var'}'` = yes; then
31918 cat >>confdefs.h <<_ACEOF
31919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31920 _ACEOF
31921 break
31922 fi
31923 done
31924
31925
31926 echo "$as_me:$LINENO: checking for statfs" >&5
31927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31928 if test "${wx_cv_func_statfs+set}" = set; then
31929 echo $ECHO_N "(cached) $ECHO_C" >&6
31930 else
31931 cat >conftest.$ac_ext <<_ACEOF
31932 /* confdefs.h. */
31933 _ACEOF
31934 cat confdefs.h >>conftest.$ac_ext
31935 cat >>conftest.$ac_ext <<_ACEOF
31936 /* end confdefs.h. */
31937
31938 #if defined(__BSD__)
31939 #include <sys/param.h>
31940 #include <sys/mount.h>
31941 #else
31942 #include <sys/vfs.h>
31943 #endif
31944
31945 int
31946 main ()
31947 {
31948
31949 long l;
31950 struct statfs fs;
31951 statfs("/", &fs);
31952 l = fs.f_bsize;
31953 l += fs.f_blocks;
31954 l += fs.f_bavail;
31955
31956 ;
31957 return 0;
31958 }
31959 _ACEOF
31960 rm -f conftest.$ac_objext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31962 (eval $ac_compile) 2>conftest.er1
31963 ac_status=$?
31964 grep -v '^ *+' conftest.er1 >conftest.err
31965 rm -f conftest.er1
31966 cat conftest.err >&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try='test -z "$ac_c_werror_flag"
31970 || test ! -s conftest.err'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31973 ac_status=$?
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; } &&
31976 { ac_try='test -s conftest.$ac_objext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31982
31983 wx_cv_func_statfs=yes
31984
31985 else
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31988
31989
31990 wx_cv_func_statfs=no
31991
31992
31993 fi
31994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31995
31996 fi
31997 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31998 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31999
32000 if test "$wx_cv_func_statfs" = "yes"; then
32001 wx_cv_type_statvfs_t="struct statfs"
32002 cat >>confdefs.h <<\_ACEOF
32003 #define HAVE_STATFS 1
32004 _ACEOF
32005
32006 else
32007 echo "$as_me:$LINENO: checking for statvfs" >&5
32008 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32009 if test "${wx_cv_func_statvfs+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32011 else
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018
32019 #include <stddef.h>
32020 #include <sys/statvfs.h>
32021
32022 int
32023 main ()
32024 {
32025
32026 statvfs("/", NULL);
32027
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 rm -f conftest.$ac_objext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32034 (eval $ac_compile) 2>conftest.er1
32035 ac_status=$?
32036 grep -v '^ *+' conftest.er1 >conftest.err
32037 rm -f conftest.er1
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try='test -z "$ac_c_werror_flag"
32042 || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32045 ac_status=$?
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try='test -s conftest.$ac_objext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32051 ac_status=$?
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 wx_cv_func_statvfs=yes
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32058
32059 wx_cv_func_statvfs=no
32060
32061 fi
32062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32063
32064 fi
32065 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32066 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32067
32068 if test "$wx_cv_func_statvfs" = "yes"; then
32069
32070
32071 ac_ext=cc
32072 ac_cpp='$CXXCPP $CPPFLAGS'
32073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32076
32077
32078 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32079 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32080 if test "${wx_cv_type_statvfs_t+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083 cat >conftest.$ac_ext <<_ACEOF
32084 /* confdefs.h. */
32085 _ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089
32090 #include <sys/statvfs.h>
32091
32092 int
32093 main ()
32094 {
32095
32096 long l;
32097 statvfs_t fs;
32098 statvfs("/", &fs);
32099 l = fs.f_bsize;
32100 l += fs.f_blocks;
32101 l += fs.f_bavail;
32102
32103 ;
32104 return 0;
32105 }
32106 _ACEOF
32107 rm -f conftest.$ac_objext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32109 (eval $ac_compile) 2>conftest.er1
32110 ac_status=$?
32111 grep -v '^ *+' conftest.er1 >conftest.err
32112 rm -f conftest.er1
32113 cat conftest.err >&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try='test -z "$ac_cxx_werror_flag"
32117 || test ! -s conftest.err'
32118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32119 (eval $ac_try) 2>&5
32120 ac_status=$?
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; } &&
32123 { ac_try='test -s conftest.$ac_objext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 wx_cv_type_statvfs_t=statvfs_t
32130 else
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32133
32134
32135 cat >conftest.$ac_ext <<_ACEOF
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141
32142 #include <sys/statvfs.h>
32143
32144 int
32145 main ()
32146 {
32147
32148 long l;
32149 struct statvfs fs;
32150 statvfs("/", &fs);
32151 l = fs.f_bsize;
32152 l += fs.f_blocks;
32153 l += fs.f_bavail;
32154
32155 ;
32156 return 0;
32157 }
32158 _ACEOF
32159 rm -f conftest.$ac_objext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32161 (eval $ac_compile) 2>conftest.er1
32162 ac_status=$?
32163 grep -v '^ *+' conftest.er1 >conftest.err
32164 rm -f conftest.er1
32165 cat conftest.err >&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try='test -z "$ac_cxx_werror_flag"
32169 || test ! -s conftest.err'
32170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171 (eval $ac_try) 2>&5
32172 ac_status=$?
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); }; } &&
32175 { ac_try='test -s conftest.$ac_objext'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32178 ac_status=$?
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; }; then
32181 wx_cv_type_statvfs_t="struct statvfs"
32182 else
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.$ac_ext >&5
32185
32186 wx_cv_type_statvfs_t="unknown"
32187
32188 fi
32189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32190
32191
32192 fi
32193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32194
32195 fi
32196 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32197 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32198
32199 ac_ext=c
32200 ac_cpp='$CPP $CPPFLAGS'
32201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204
32205
32206 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32207 cat >>confdefs.h <<\_ACEOF
32208 #define HAVE_STATVFS 1
32209 _ACEOF
32210
32211 fi
32212 else
32213 wx_cv_type_statvfs_t="unknown"
32214 fi
32215 fi
32216
32217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32218 cat >>confdefs.h <<_ACEOF
32219 #define WX_STATFS_T $wx_cv_type_statvfs_t
32220 _ACEOF
32221
32222 else
32223 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32224 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32225 fi
32226
32227 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32228
32229
32230 for ac_func in fcntl flock
32231 do
32232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32233 echo "$as_me:$LINENO: checking for $ac_func" >&5
32234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32235 if eval "test \"\${$as_ac_var+set}\" = set"; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32238 cat >conftest.$ac_ext <<_ACEOF
32239 /* confdefs.h. */
32240 _ACEOF
32241 cat confdefs.h >>conftest.$ac_ext
32242 cat >>conftest.$ac_ext <<_ACEOF
32243 /* end confdefs.h. */
32244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32246 #define $ac_func innocuous_$ac_func
32247
32248 /* System header to define __stub macros and hopefully few prototypes,
32249 which can conflict with char $ac_func (); below.
32250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32251 <limits.h> exists even on freestanding compilers. */
32252
32253 #ifdef __STDC__
32254 # include <limits.h>
32255 #else
32256 # include <assert.h>
32257 #endif
32258
32259 #undef $ac_func
32260
32261 /* Override any gcc2 internal prototype to avoid an error. */
32262 #ifdef __cplusplus
32263 extern "C"
32264 {
32265 #endif
32266 /* We use char because int might match the return type of a gcc2
32267 builtin and then its argument prototype would still apply. */
32268 char $ac_func ();
32269 /* The GNU C library defines this for functions which it implements
32270 to always fail with ENOSYS. Some functions are actually named
32271 something starting with __ and the normal name is an alias. */
32272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32273 choke me
32274 #else
32275 char (*f) () = $ac_func;
32276 #endif
32277 #ifdef __cplusplus
32278 }
32279 #endif
32280
32281 int
32282 main ()
32283 {
32284 return f != $ac_func;
32285 ;
32286 return 0;
32287 }
32288 _ACEOF
32289 rm -f conftest.$ac_objext conftest$ac_exeext
32290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32291 (eval $ac_link) 2>conftest.er1
32292 ac_status=$?
32293 grep -v '^ *+' conftest.er1 >conftest.err
32294 rm -f conftest.er1
32295 cat conftest.err >&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); } &&
32298 { ac_try='test -z "$ac_c_werror_flag"
32299 || test ! -s conftest.err'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32302 ac_status=$?
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; } &&
32305 { ac_try='test -s conftest$ac_exeext'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32308 ac_status=$?
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; }; then
32311 eval "$as_ac_var=yes"
32312 else
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32315
32316 eval "$as_ac_var=no"
32317 fi
32318 rm -f conftest.err conftest.$ac_objext \
32319 conftest$ac_exeext conftest.$ac_ext
32320 fi
32321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32323 if test `eval echo '${'$as_ac_var'}'` = yes; then
32324 cat >>confdefs.h <<_ACEOF
32325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32326 _ACEOF
32327 break
32328 fi
32329 done
32330
32331
32332 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32333 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32334 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32335 wxUSE_SNGLINST_CHECKER=no
32336 fi
32337 fi
32338
32339
32340 for ac_func in timegm
32341 do
32342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32343 echo "$as_me:$LINENO: checking for $ac_func" >&5
32344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32345 if eval "test \"\${$as_ac_var+set}\" = set"; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 else
32348 cat >conftest.$ac_ext <<_ACEOF
32349 /* confdefs.h. */
32350 _ACEOF
32351 cat confdefs.h >>conftest.$ac_ext
32352 cat >>conftest.$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32356 #define $ac_func innocuous_$ac_func
32357
32358 /* System header to define __stub macros and hopefully few prototypes,
32359 which can conflict with char $ac_func (); below.
32360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32361 <limits.h> exists even on freestanding compilers. */
32362
32363 #ifdef __STDC__
32364 # include <limits.h>
32365 #else
32366 # include <assert.h>
32367 #endif
32368
32369 #undef $ac_func
32370
32371 /* Override any gcc2 internal prototype to avoid an error. */
32372 #ifdef __cplusplus
32373 extern "C"
32374 {
32375 #endif
32376 /* We use char because int might match the return type of a gcc2
32377 builtin and then its argument prototype would still apply. */
32378 char $ac_func ();
32379 /* The GNU C library defines this for functions which it implements
32380 to always fail with ENOSYS. Some functions are actually named
32381 something starting with __ and the normal name is an alias. */
32382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32383 choke me
32384 #else
32385 char (*f) () = $ac_func;
32386 #endif
32387 #ifdef __cplusplus
32388 }
32389 #endif
32390
32391 int
32392 main ()
32393 {
32394 return f != $ac_func;
32395 ;
32396 return 0;
32397 }
32398 _ACEOF
32399 rm -f conftest.$ac_objext conftest$ac_exeext
32400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32401 (eval $ac_link) 2>conftest.er1
32402 ac_status=$?
32403 grep -v '^ *+' conftest.er1 >conftest.err
32404 rm -f conftest.er1
32405 cat conftest.err >&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } &&
32408 { ac_try='test -z "$ac_c_werror_flag"
32409 || test ! -s conftest.err'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32412 ac_status=$?
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; } &&
32415 { ac_try='test -s conftest$ac_exeext'
32416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32417 (eval $ac_try) 2>&5
32418 ac_status=$?
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); }; }; then
32421 eval "$as_ac_var=yes"
32422 else
32423 echo "$as_me: failed program was:" >&5
32424 sed 's/^/| /' conftest.$ac_ext >&5
32425
32426 eval "$as_ac_var=no"
32427 fi
32428 rm -f conftest.err conftest.$ac_objext \
32429 conftest$ac_exeext conftest.$ac_ext
32430 fi
32431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32433 if test `eval echo '${'$as_ac_var'}'` = yes; then
32434 cat >>confdefs.h <<_ACEOF
32435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32436 _ACEOF
32437
32438 fi
32439 done
32440
32441
32442
32443
32444 for ac_func in putenv setenv
32445 do
32446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32447 echo "$as_me:$LINENO: checking for $ac_func" >&5
32448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32449 if eval "test \"\${$as_ac_var+set}\" = set"; then
32450 echo $ECHO_N "(cached) $ECHO_C" >&6
32451 else
32452 cat >conftest.$ac_ext <<_ACEOF
32453 /* confdefs.h. */
32454 _ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32460 #define $ac_func innocuous_$ac_func
32461
32462 /* System header to define __stub macros and hopefully few prototypes,
32463 which can conflict with char $ac_func (); below.
32464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32465 <limits.h> exists even on freestanding compilers. */
32466
32467 #ifdef __STDC__
32468 # include <limits.h>
32469 #else
32470 # include <assert.h>
32471 #endif
32472
32473 #undef $ac_func
32474
32475 /* Override any gcc2 internal prototype to avoid an error. */
32476 #ifdef __cplusplus
32477 extern "C"
32478 {
32479 #endif
32480 /* We use char because int might match the return type of a gcc2
32481 builtin and then its argument prototype would still apply. */
32482 char $ac_func ();
32483 /* The GNU C library defines this for functions which it implements
32484 to always fail with ENOSYS. Some functions are actually named
32485 something starting with __ and the normal name is an alias. */
32486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32487 choke me
32488 #else
32489 char (*f) () = $ac_func;
32490 #endif
32491 #ifdef __cplusplus
32492 }
32493 #endif
32494
32495 int
32496 main ()
32497 {
32498 return f != $ac_func;
32499 ;
32500 return 0;
32501 }
32502 _ACEOF
32503 rm -f conftest.$ac_objext conftest$ac_exeext
32504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32505 (eval $ac_link) 2>conftest.er1
32506 ac_status=$?
32507 grep -v '^ *+' conftest.er1 >conftest.err
32508 rm -f conftest.er1
32509 cat conftest.err >&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } &&
32512 { ac_try='test -z "$ac_c_werror_flag"
32513 || test ! -s conftest.err'
32514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32515 (eval $ac_try) 2>&5
32516 ac_status=$?
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; } &&
32519 { ac_try='test -s conftest$ac_exeext'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32522 ac_status=$?
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; }; then
32525 eval "$as_ac_var=yes"
32526 else
32527 echo "$as_me: failed program was:" >&5
32528 sed 's/^/| /' conftest.$ac_ext >&5
32529
32530 eval "$as_ac_var=no"
32531 fi
32532 rm -f conftest.err conftest.$ac_objext \
32533 conftest$ac_exeext conftest.$ac_ext
32534 fi
32535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32537 if test `eval echo '${'$as_ac_var'}'` = yes; then
32538 cat >>confdefs.h <<_ACEOF
32539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32540 _ACEOF
32541 break
32542 fi
32543 done
32544
32545
32546 HAVE_SOME_SLEEP_FUNC=0
32547 if test "$USE_BEOS" = 1; then
32548 cat >>confdefs.h <<\_ACEOF
32549 #define HAVE_SLEEP 1
32550 _ACEOF
32551
32552 HAVE_SOME_SLEEP_FUNC=1
32553 fi
32554
32555 if test "$USE_DARWIN" = 1; then
32556 cat >>confdefs.h <<\_ACEOF
32557 #define HAVE_USLEEP 1
32558 _ACEOF
32559
32560 HAVE_SOME_SLEEP_FUNC=1
32561 fi
32562
32563 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32564 POSIX4_LINK=
32565
32566 for ac_func in nanosleep
32567 do
32568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32569 echo "$as_me:$LINENO: checking for $ac_func" >&5
32570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32571 if eval "test \"\${$as_ac_var+set}\" = set"; then
32572 echo $ECHO_N "(cached) $ECHO_C" >&6
32573 else
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32582 #define $ac_func innocuous_$ac_func
32583
32584 /* System header to define __stub macros and hopefully few prototypes,
32585 which can conflict with char $ac_func (); below.
32586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32587 <limits.h> exists even on freestanding compilers. */
32588
32589 #ifdef __STDC__
32590 # include <limits.h>
32591 #else
32592 # include <assert.h>
32593 #endif
32594
32595 #undef $ac_func
32596
32597 /* Override any gcc2 internal prototype to avoid an error. */
32598 #ifdef __cplusplus
32599 extern "C"
32600 {
32601 #endif
32602 /* We use char because int might match the return type of a gcc2
32603 builtin and then its argument prototype would still apply. */
32604 char $ac_func ();
32605 /* The GNU C library defines this for functions which it implements
32606 to always fail with ENOSYS. Some functions are actually named
32607 something starting with __ and the normal name is an alias. */
32608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32609 choke me
32610 #else
32611 char (*f) () = $ac_func;
32612 #endif
32613 #ifdef __cplusplus
32614 }
32615 #endif
32616
32617 int
32618 main ()
32619 {
32620 return f != $ac_func;
32621 ;
32622 return 0;
32623 }
32624 _ACEOF
32625 rm -f conftest.$ac_objext conftest$ac_exeext
32626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32627 (eval $ac_link) 2>conftest.er1
32628 ac_status=$?
32629 grep -v '^ *+' conftest.er1 >conftest.err
32630 rm -f conftest.er1
32631 cat conftest.err >&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try='test -z "$ac_c_werror_flag"
32635 || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try='test -s conftest$ac_exeext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 eval "$as_ac_var=yes"
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 eval "$as_ac_var=no"
32653 fi
32654 rm -f conftest.err conftest.$ac_objext \
32655 conftest$ac_exeext conftest.$ac_ext
32656 fi
32657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32659 if test `eval echo '${'$as_ac_var'}'` = yes; then
32660 cat >>confdefs.h <<_ACEOF
32661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32662 _ACEOF
32663 cat >>confdefs.h <<\_ACEOF
32664 #define HAVE_NANOSLEEP 1
32665 _ACEOF
32666
32667 else
32668
32669 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32670 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32671 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 else
32674 ac_check_lib_save_LIBS=$LIBS
32675 LIBS="-lposix4 $LIBS"
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h. */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682
32683 /* Override any gcc2 internal prototype to avoid an error. */
32684 #ifdef __cplusplus
32685 extern "C"
32686 #endif
32687 /* We use char because int might match the return type of a gcc2
32688 builtin and then its argument prototype would still apply. */
32689 char nanosleep ();
32690 int
32691 main ()
32692 {
32693 nanosleep ();
32694 ;
32695 return 0;
32696 }
32697 _ACEOF
32698 rm -f conftest.$ac_objext conftest$ac_exeext
32699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32700 (eval $ac_link) 2>conftest.er1
32701 ac_status=$?
32702 grep -v '^ *+' conftest.er1 >conftest.err
32703 rm -f conftest.er1
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try='test -z "$ac_c_werror_flag"
32708 || test ! -s conftest.err'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32711 ac_status=$?
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; } &&
32714 { ac_try='test -s conftest$ac_exeext'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32717 ac_status=$?
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; }; then
32720 ac_cv_lib_posix4_nanosleep=yes
32721 else
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.$ac_ext >&5
32724
32725 ac_cv_lib_posix4_nanosleep=no
32726 fi
32727 rm -f conftest.err conftest.$ac_objext \
32728 conftest$ac_exeext conftest.$ac_ext
32729 LIBS=$ac_check_lib_save_LIBS
32730 fi
32731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32733 if test $ac_cv_lib_posix4_nanosleep = yes; then
32734
32735 cat >>confdefs.h <<\_ACEOF
32736 #define HAVE_NANOSLEEP 1
32737 _ACEOF
32738
32739 POSIX4_LINK=" -lposix4"
32740
32741 else
32742
32743
32744 for ac_func in usleep
32745 do
32746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32747 echo "$as_me:$LINENO: checking for $ac_func" >&5
32748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32749 if eval "test \"\${$as_ac_var+set}\" = set"; then
32750 echo $ECHO_N "(cached) $ECHO_C" >&6
32751 else
32752 cat >conftest.$ac_ext <<_ACEOF
32753 /* confdefs.h. */
32754 _ACEOF
32755 cat confdefs.h >>conftest.$ac_ext
32756 cat >>conftest.$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32760 #define $ac_func innocuous_$ac_func
32761
32762 /* System header to define __stub macros and hopefully few prototypes,
32763 which can conflict with char $ac_func (); below.
32764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32765 <limits.h> exists even on freestanding compilers. */
32766
32767 #ifdef __STDC__
32768 # include <limits.h>
32769 #else
32770 # include <assert.h>
32771 #endif
32772
32773 #undef $ac_func
32774
32775 /* Override any gcc2 internal prototype to avoid an error. */
32776 #ifdef __cplusplus
32777 extern "C"
32778 {
32779 #endif
32780 /* We use char because int might match the return type of a gcc2
32781 builtin and then its argument prototype would still apply. */
32782 char $ac_func ();
32783 /* The GNU C library defines this for functions which it implements
32784 to always fail with ENOSYS. Some functions are actually named
32785 something starting with __ and the normal name is an alias. */
32786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32787 choke me
32788 #else
32789 char (*f) () = $ac_func;
32790 #endif
32791 #ifdef __cplusplus
32792 }
32793 #endif
32794
32795 int
32796 main ()
32797 {
32798 return f != $ac_func;
32799 ;
32800 return 0;
32801 }
32802 _ACEOF
32803 rm -f conftest.$ac_objext conftest$ac_exeext
32804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32805 (eval $ac_link) 2>conftest.er1
32806 ac_status=$?
32807 grep -v '^ *+' conftest.er1 >conftest.err
32808 rm -f conftest.er1
32809 cat conftest.err >&5
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); } &&
32812 { ac_try='test -z "$ac_c_werror_flag"
32813 || test ! -s conftest.err'
32814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815 (eval $ac_try) 2>&5
32816 ac_status=$?
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); }; } &&
32819 { ac_try='test -s conftest$ac_exeext'
32820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821 (eval $ac_try) 2>&5
32822 ac_status=$?
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; }; then
32825 eval "$as_ac_var=yes"
32826 else
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32829
32830 eval "$as_ac_var=no"
32831 fi
32832 rm -f conftest.err conftest.$ac_objext \
32833 conftest$ac_exeext conftest.$ac_ext
32834 fi
32835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32837 if test `eval echo '${'$as_ac_var'}'` = yes; then
32838 cat >>confdefs.h <<_ACEOF
32839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32840 _ACEOF
32841 cat >>confdefs.h <<\_ACEOF
32842 #define HAVE_USLEEP 1
32843 _ACEOF
32844
32845 else
32846 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32847 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32848
32849 fi
32850 done
32851
32852
32853
32854 fi
32855
32856
32857
32858 fi
32859 done
32860
32861 fi
32862
32863
32864
32865 for ac_func in uname gethostname
32866 do
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 cat >conftest.$ac_ext <<_ACEOF
32874 /* confdefs.h. */
32875 _ACEOF
32876 cat confdefs.h >>conftest.$ac_ext
32877 cat >>conftest.$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32881 #define $ac_func innocuous_$ac_func
32882
32883 /* System header to define __stub macros and hopefully few prototypes,
32884 which can conflict with char $ac_func (); below.
32885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32886 <limits.h> exists even on freestanding compilers. */
32887
32888 #ifdef __STDC__
32889 # include <limits.h>
32890 #else
32891 # include <assert.h>
32892 #endif
32893
32894 #undef $ac_func
32895
32896 /* Override any gcc2 internal prototype to avoid an error. */
32897 #ifdef __cplusplus
32898 extern "C"
32899 {
32900 #endif
32901 /* We use char because int might match the return type of a gcc2
32902 builtin and then its argument prototype would still apply. */
32903 char $ac_func ();
32904 /* The GNU C library defines this for functions which it implements
32905 to always fail with ENOSYS. Some functions are actually named
32906 something starting with __ and the normal name is an alias. */
32907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32908 choke me
32909 #else
32910 char (*f) () = $ac_func;
32911 #endif
32912 #ifdef __cplusplus
32913 }
32914 #endif
32915
32916 int
32917 main ()
32918 {
32919 return f != $ac_func;
32920 ;
32921 return 0;
32922 }
32923 _ACEOF
32924 rm -f conftest.$ac_objext conftest$ac_exeext
32925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32926 (eval $ac_link) 2>conftest.er1
32927 ac_status=$?
32928 grep -v '^ *+' conftest.er1 >conftest.err
32929 rm -f conftest.er1
32930 cat conftest.err >&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); } &&
32933 { ac_try='test -z "$ac_c_werror_flag"
32934 || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32937 ac_status=$?
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try='test -s conftest$ac_exeext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 eval "$as_ac_var=yes"
32947 else
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.$ac_ext >&5
32950
32951 eval "$as_ac_var=no"
32952 fi
32953 rm -f conftest.err conftest.$ac_objext \
32954 conftest$ac_exeext conftest.$ac_ext
32955 fi
32956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32958 if test `eval echo '${'$as_ac_var'}'` = yes; then
32959 cat >>confdefs.h <<_ACEOF
32960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32961 _ACEOF
32962 break
32963 fi
32964 done
32965
32966
32967
32968
32969 ac_ext=cc
32970 ac_cpp='$CXXCPP $CPPFLAGS'
32971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32974
32975
32976
32977 for ac_func in strtok_r
32978 do
32979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32980 echo "$as_me:$LINENO: checking for $ac_func" >&5
32981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32982 if eval "test \"\${$as_ac_var+set}\" = set"; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 else
32985 cat >conftest.$ac_ext <<_ACEOF
32986 /* confdefs.h. */
32987 _ACEOF
32988 cat confdefs.h >>conftest.$ac_ext
32989 cat >>conftest.$ac_ext <<_ACEOF
32990 /* end confdefs.h. */
32991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32993 #define $ac_func innocuous_$ac_func
32994
32995 /* System header to define __stub macros and hopefully few prototypes,
32996 which can conflict with char $ac_func (); below.
32997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32998 <limits.h> exists even on freestanding compilers. */
32999
33000 #ifdef __STDC__
33001 # include <limits.h>
33002 #else
33003 # include <assert.h>
33004 #endif
33005
33006 #undef $ac_func
33007
33008 /* Override any gcc2 internal prototype to avoid an error. */
33009 #ifdef __cplusplus
33010 extern "C"
33011 {
33012 #endif
33013 /* We use char because int might match the return type of a gcc2
33014 builtin and then its argument prototype would still apply. */
33015 char $ac_func ();
33016 /* The GNU C library defines this for functions which it implements
33017 to always fail with ENOSYS. Some functions are actually named
33018 something starting with __ and the normal name is an alias. */
33019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33020 choke me
33021 #else
33022 char (*f) () = $ac_func;
33023 #endif
33024 #ifdef __cplusplus
33025 }
33026 #endif
33027
33028 int
33029 main ()
33030 {
33031 return f != $ac_func;
33032 ;
33033 return 0;
33034 }
33035 _ACEOF
33036 rm -f conftest.$ac_objext conftest$ac_exeext
33037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33038 (eval $ac_link) 2>conftest.er1
33039 ac_status=$?
33040 grep -v '^ *+' conftest.er1 >conftest.err
33041 rm -f conftest.er1
33042 cat conftest.err >&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); } &&
33045 { ac_try='test -z "$ac_cxx_werror_flag"
33046 || test ! -s conftest.err'
33047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33048 (eval $ac_try) 2>&5
33049 ac_status=$?
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try='test -s conftest$ac_exeext'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; }; then
33058 eval "$as_ac_var=yes"
33059 else
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.$ac_ext >&5
33062
33063 eval "$as_ac_var=no"
33064 fi
33065 rm -f conftest.err conftest.$ac_objext \
33066 conftest$ac_exeext conftest.$ac_ext
33067 fi
33068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33070 if test `eval echo '${'$as_ac_var'}'` = yes; then
33071 cat >>confdefs.h <<_ACEOF
33072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33073 _ACEOF
33074
33075 fi
33076 done
33077
33078
33079 ac_ext=c
33080 ac_cpp='$CPP $CPPFLAGS'
33081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33084
33085
33086 INET_LINK=
33087
33088 for ac_func in inet_addr
33089 do
33090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33091 echo "$as_me:$LINENO: checking for $ac_func" >&5
33092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33093 if eval "test \"\${$as_ac_var+set}\" = set"; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 else
33096 cat >conftest.$ac_ext <<_ACEOF
33097 /* confdefs.h. */
33098 _ACEOF
33099 cat confdefs.h >>conftest.$ac_ext
33100 cat >>conftest.$ac_ext <<_ACEOF
33101 /* end confdefs.h. */
33102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33104 #define $ac_func innocuous_$ac_func
33105
33106 /* System header to define __stub macros and hopefully few prototypes,
33107 which can conflict with char $ac_func (); below.
33108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33109 <limits.h> exists even on freestanding compilers. */
33110
33111 #ifdef __STDC__
33112 # include <limits.h>
33113 #else
33114 # include <assert.h>
33115 #endif
33116
33117 #undef $ac_func
33118
33119 /* Override any gcc2 internal prototype to avoid an error. */
33120 #ifdef __cplusplus
33121 extern "C"
33122 {
33123 #endif
33124 /* We use char because int might match the return type of a gcc2
33125 builtin and then its argument prototype would still apply. */
33126 char $ac_func ();
33127 /* The GNU C library defines this for functions which it implements
33128 to always fail with ENOSYS. Some functions are actually named
33129 something starting with __ and the normal name is an alias. */
33130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33131 choke me
33132 #else
33133 char (*f) () = $ac_func;
33134 #endif
33135 #ifdef __cplusplus
33136 }
33137 #endif
33138
33139 int
33140 main ()
33141 {
33142 return f != $ac_func;
33143 ;
33144 return 0;
33145 }
33146 _ACEOF
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33149 (eval $ac_link) 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } &&
33156 { ac_try='test -z "$ac_c_werror_flag"
33157 || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33160 ac_status=$?
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try='test -s conftest$ac_exeext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 eval "$as_ac_var=yes"
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174 eval "$as_ac_var=no"
33175 fi
33176 rm -f conftest.err conftest.$ac_objext \
33177 conftest$ac_exeext conftest.$ac_ext
33178 fi
33179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33181 if test `eval echo '${'$as_ac_var'}'` = yes; then
33182 cat >>confdefs.h <<_ACEOF
33183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33184 _ACEOF
33185 cat >>confdefs.h <<\_ACEOF
33186 #define HAVE_INET_ADDR 1
33187 _ACEOF
33188
33189 else
33190
33191 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33192 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33193 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33195 else
33196 ac_check_lib_save_LIBS=$LIBS
33197 LIBS="-lnsl $LIBS"
33198 cat >conftest.$ac_ext <<_ACEOF
33199 /* confdefs.h. */
33200 _ACEOF
33201 cat confdefs.h >>conftest.$ac_ext
33202 cat >>conftest.$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33204
33205 /* Override any gcc2 internal prototype to avoid an error. */
33206 #ifdef __cplusplus
33207 extern "C"
33208 #endif
33209 /* We use char because int might match the return type of a gcc2
33210 builtin and then its argument prototype would still apply. */
33211 char inet_addr ();
33212 int
33213 main ()
33214 {
33215 inet_addr ();
33216 ;
33217 return 0;
33218 }
33219 _ACEOF
33220 rm -f conftest.$ac_objext conftest$ac_exeext
33221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33222 (eval $ac_link) 2>conftest.er1
33223 ac_status=$?
33224 grep -v '^ *+' conftest.er1 >conftest.err
33225 rm -f conftest.er1
33226 cat conftest.err >&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try='test -z "$ac_c_werror_flag"
33230 || test ! -s conftest.err'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33233 ac_status=$?
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; } &&
33236 { ac_try='test -s conftest$ac_exeext'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33239 ac_status=$?
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; }; then
33242 ac_cv_lib_nsl_inet_addr=yes
33243 else
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.$ac_ext >&5
33246
33247 ac_cv_lib_nsl_inet_addr=no
33248 fi
33249 rm -f conftest.err conftest.$ac_objext \
33250 conftest$ac_exeext conftest.$ac_ext
33251 LIBS=$ac_check_lib_save_LIBS
33252 fi
33253 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33254 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33255 if test $ac_cv_lib_nsl_inet_addr = yes; then
33256 INET_LINK="nsl"
33257 else
33258
33259 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33260 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33261 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33263 else
33264 ac_check_lib_save_LIBS=$LIBS
33265 LIBS="-lresolv $LIBS"
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272
33273 /* Override any gcc2 internal prototype to avoid an error. */
33274 #ifdef __cplusplus
33275 extern "C"
33276 #endif
33277 /* We use char because int might match the return type of a gcc2
33278 builtin and then its argument prototype would still apply. */
33279 char inet_addr ();
33280 int
33281 main ()
33282 {
33283 inet_addr ();
33284 ;
33285 return 0;
33286 }
33287 _ACEOF
33288 rm -f conftest.$ac_objext conftest$ac_exeext
33289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33290 (eval $ac_link) 2>conftest.er1
33291 ac_status=$?
33292 grep -v '^ *+' conftest.er1 >conftest.err
33293 rm -f conftest.er1
33294 cat conftest.err >&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try='test -z "$ac_c_werror_flag"
33298 || test ! -s conftest.err'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33301 ac_status=$?
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; } &&
33304 { ac_try='test -s conftest$ac_exeext'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33307 ac_status=$?
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 ac_cv_lib_resolv_inet_addr=yes
33311 else
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.$ac_ext >&5
33314
33315 ac_cv_lib_resolv_inet_addr=no
33316 fi
33317 rm -f conftest.err conftest.$ac_objext \
33318 conftest$ac_exeext conftest.$ac_ext
33319 LIBS=$ac_check_lib_save_LIBS
33320 fi
33321 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33322 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33323 if test $ac_cv_lib_resolv_inet_addr = yes; then
33324 INET_LINK="resolv"
33325 else
33326
33327 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33328 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33329 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33332 ac_check_lib_save_LIBS=$LIBS
33333 LIBS="-lsocket $LIBS"
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340
33341 /* Override any gcc2 internal prototype to avoid an error. */
33342 #ifdef __cplusplus
33343 extern "C"
33344 #endif
33345 /* We use char because int might match the return type of a gcc2
33346 builtin and then its argument prototype would still apply. */
33347 char inet_addr ();
33348 int
33349 main ()
33350 {
33351 inet_addr ();
33352 ;
33353 return 0;
33354 }
33355 _ACEOF
33356 rm -f conftest.$ac_objext conftest$ac_exeext
33357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33358 (eval $ac_link) 2>conftest.er1
33359 ac_status=$?
33360 grep -v '^ *+' conftest.er1 >conftest.err
33361 rm -f conftest.er1
33362 cat conftest.err >&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); } &&
33365 { ac_try='test -z "$ac_c_werror_flag"
33366 || test ! -s conftest.err'
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); }; } &&
33372 { ac_try='test -s conftest$ac_exeext'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33375 ac_status=$?
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; }; then
33378 ac_cv_lib_socket_inet_addr=yes
33379 else
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.$ac_ext >&5
33382
33383 ac_cv_lib_socket_inet_addr=no
33384 fi
33385 rm -f conftest.err conftest.$ac_objext \
33386 conftest$ac_exeext conftest.$ac_ext
33387 LIBS=$ac_check_lib_save_LIBS
33388 fi
33389 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33390 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33391 if test $ac_cv_lib_socket_inet_addr = yes; then
33392 INET_LINK="socket"
33393
33394 fi
33395
33396
33397
33398 fi
33399
33400
33401
33402 fi
33403
33404
33405
33406 fi
33407 done
33408
33409
33410
33411 for ac_func in inet_aton
33412 do
33413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33414 echo "$as_me:$LINENO: checking for $ac_func" >&5
33415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33416 if eval "test \"\${$as_ac_var+set}\" = set"; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33418 else
33419 cat >conftest.$ac_ext <<_ACEOF
33420 /* confdefs.h. */
33421 _ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33427 #define $ac_func innocuous_$ac_func
33428
33429 /* System header to define __stub macros and hopefully few prototypes,
33430 which can conflict with char $ac_func (); below.
33431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33432 <limits.h> exists even on freestanding compilers. */
33433
33434 #ifdef __STDC__
33435 # include <limits.h>
33436 #else
33437 # include <assert.h>
33438 #endif
33439
33440 #undef $ac_func
33441
33442 /* Override any gcc2 internal prototype to avoid an error. */
33443 #ifdef __cplusplus
33444 extern "C"
33445 {
33446 #endif
33447 /* We use char because int might match the return type of a gcc2
33448 builtin and then its argument prototype would still apply. */
33449 char $ac_func ();
33450 /* The GNU C library defines this for functions which it implements
33451 to always fail with ENOSYS. Some functions are actually named
33452 something starting with __ and the normal name is an alias. */
33453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33454 choke me
33455 #else
33456 char (*f) () = $ac_func;
33457 #endif
33458 #ifdef __cplusplus
33459 }
33460 #endif
33461
33462 int
33463 main ()
33464 {
33465 return f != $ac_func;
33466 ;
33467 return 0;
33468 }
33469 _ACEOF
33470 rm -f conftest.$ac_objext conftest$ac_exeext
33471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33472 (eval $ac_link) 2>conftest.er1
33473 ac_status=$?
33474 grep -v '^ *+' conftest.er1 >conftest.err
33475 rm -f conftest.er1
33476 cat conftest.err >&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try='test -z "$ac_c_werror_flag"
33480 || test ! -s conftest.err'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33483 ac_status=$?
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; } &&
33486 { ac_try='test -s conftest$ac_exeext'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33489 ac_status=$?
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; }; then
33492 eval "$as_ac_var=yes"
33493 else
33494 echo "$as_me: failed program was:" >&5
33495 sed 's/^/| /' conftest.$ac_ext >&5
33496
33497 eval "$as_ac_var=no"
33498 fi
33499 rm -f conftest.err conftest.$ac_objext \
33500 conftest$ac_exeext conftest.$ac_ext
33501 fi
33502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33504 if test `eval echo '${'$as_ac_var'}'` = yes; then
33505 cat >>confdefs.h <<_ACEOF
33506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33507 _ACEOF
33508 cat >>confdefs.h <<\_ACEOF
33509 #define HAVE_INET_ATON 1
33510 _ACEOF
33511
33512 else
33513
33514 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33515 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33516 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33520 ac_check_lib_save_LIBS=$LIBS
33521 LIBS="-l$INET_LINK $LIBS"
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
33529 /* Override any gcc2 internal prototype to avoid an error. */
33530 #ifdef __cplusplus
33531 extern "C"
33532 #endif
33533 /* We use char because int might match the return type of a gcc2
33534 builtin and then its argument prototype would still apply. */
33535 char inet_aton ();
33536 int
33537 main ()
33538 {
33539 inet_aton ();
33540 ;
33541 return 0;
33542 }
33543 _ACEOF
33544 rm -f conftest.$ac_objext conftest$ac_exeext
33545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33546 (eval $ac_link) 2>conftest.er1
33547 ac_status=$?
33548 grep -v '^ *+' conftest.er1 >conftest.err
33549 rm -f conftest.er1
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } &&
33553 { ac_try='test -z "$ac_c_werror_flag"
33554 || test ! -s conftest.err'
33555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33556 (eval $ac_try) 2>&5
33557 ac_status=$?
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); }; } &&
33560 { ac_try='test -s conftest$ac_exeext'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33563 ac_status=$?
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; }; then
33566 eval "$as_ac_Lib=yes"
33567 else
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33570
33571 eval "$as_ac_Lib=no"
33572 fi
33573 rm -f conftest.err conftest.$ac_objext \
33574 conftest$ac_exeext conftest.$ac_ext
33575 LIBS=$ac_check_lib_save_LIBS
33576 fi
33577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33578 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33579 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33580 cat >>confdefs.h <<\_ACEOF
33581 #define HAVE_INET_ATON 1
33582 _ACEOF
33583
33584 fi
33585
33586
33587 fi
33588 done
33589
33590
33591 if test "x$INET_LINK" != "x"; then
33592 cat >>confdefs.h <<\_ACEOF
33593 #define HAVE_INET_ADDR 1
33594 _ACEOF
33595
33596 INET_LINK=" -l$INET_LINK"
33597 fi
33598
33599 fi
33600
33601
33602
33603 EXTRALIBS_ESD=
33604 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33605 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33606 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33608 else
33609 ac_check_lib_save_LIBS=$LIBS
33610 LIBS="-lesd $LIBS"
33611 cat >conftest.$ac_ext <<_ACEOF
33612 /* confdefs.h. */
33613 _ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33617
33618 /* Override any gcc2 internal prototype to avoid an error. */
33619 #ifdef __cplusplus
33620 extern "C"
33621 #endif
33622 /* We use char because int might match the return type of a gcc2
33623 builtin and then its argument prototype would still apply. */
33624 char esd_close ();
33625 int
33626 main ()
33627 {
33628 esd_close ();
33629 ;
33630 return 0;
33631 }
33632 _ACEOF
33633 rm -f conftest.$ac_objext conftest$ac_exeext
33634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33635 (eval $ac_link) 2>conftest.er1
33636 ac_status=$?
33637 grep -v '^ *+' conftest.er1 >conftest.err
33638 rm -f conftest.er1
33639 cat conftest.err >&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } &&
33642 { ac_try='test -z "$ac_c_werror_flag"
33643 || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try='test -s conftest$ac_exeext'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; }; then
33655 ac_cv_lib_esd_esd_close=yes
33656 else
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.$ac_ext >&5
33659
33660 ac_cv_lib_esd_esd_close=no
33661 fi
33662 rm -f conftest.err conftest.$ac_objext \
33663 conftest$ac_exeext conftest.$ac_ext
33664 LIBS=$ac_check_lib_save_LIBS
33665 fi
33666 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33667 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33668 if test $ac_cv_lib_esd_esd_close = yes; then
33669
33670
33671 for ac_header in esd.h
33672 do
33673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33675 echo "$as_me:$LINENO: checking for $ac_header" >&5
33676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33679 fi
33680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33682 else
33683 # Is the header compilable?
33684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692 $ac_includes_default
33693 #include <$ac_header>
33694 _ACEOF
33695 rm -f conftest.$ac_objext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33697 (eval $ac_compile) 2>conftest.er1
33698 ac_status=$?
33699 grep -v '^ *+' conftest.er1 >conftest.err
33700 rm -f conftest.er1
33701 cat conftest.err >&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try='test -z "$ac_c_werror_flag"
33705 || test ! -s conftest.err'
33706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33707 (eval $ac_try) 2>&5
33708 ac_status=$?
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); }; } &&
33711 { ac_try='test -s conftest.$ac_objext'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33714 ac_status=$?
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; }; then
33717 ac_header_compiler=yes
33718 else
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33721
33722 ac_header_compiler=no
33723 fi
33724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33726 echo "${ECHO_T}$ac_header_compiler" >&6
33727
33728 # Is the header present?
33729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33731 cat >conftest.$ac_ext <<_ACEOF
33732 /* confdefs.h. */
33733 _ACEOF
33734 cat confdefs.h >>conftest.$ac_ext
33735 cat >>conftest.$ac_ext <<_ACEOF
33736 /* end confdefs.h. */
33737 #include <$ac_header>
33738 _ACEOF
33739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33741 ac_status=$?
33742 grep -v '^ *+' conftest.er1 >conftest.err
33743 rm -f conftest.er1
33744 cat conftest.err >&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } >/dev/null; then
33747 if test -s conftest.err; then
33748 ac_cpp_err=$ac_c_preproc_warn_flag
33749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33750 else
33751 ac_cpp_err=
33752 fi
33753 else
33754 ac_cpp_err=yes
33755 fi
33756 if test -z "$ac_cpp_err"; then
33757 ac_header_preproc=yes
33758 else
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33761
33762 ac_header_preproc=no
33763 fi
33764 rm -f conftest.err conftest.$ac_ext
33765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33766 echo "${ECHO_T}$ac_header_preproc" >&6
33767
33768 # So? What about this header?
33769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33770 yes:no: )
33771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33775 ac_header_preproc=yes
33776 ;;
33777 no:yes:* )
33778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33790 (
33791 cat <<\_ASBOX
33792 ## ----------------------------------------- ##
33793 ## Report this to wx-dev@lists.wxwidgets.org ##
33794 ## ----------------------------------------- ##
33795 _ASBOX
33796 ) |
33797 sed "s/^/$as_me: WARNING: /" >&2
33798 ;;
33799 esac
33800 echo "$as_me:$LINENO: checking for $ac_header" >&5
33801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33803 echo $ECHO_N "(cached) $ECHO_C" >&6
33804 else
33805 eval "$as_ac_Header=\$ac_header_preproc"
33806 fi
33807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33809
33810 fi
33811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33812 cat >>confdefs.h <<_ACEOF
33813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33814 _ACEOF
33815
33816 EXTRALIBS_ESD="-lesd"
33817
33818 fi
33819
33820 done
33821
33822
33823 fi
33824
33825
33826
33827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33829 cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 #ifdef __linux__
33836 #include <linux/cdrom.h>
33837 #else
33838 /* For Solaris */
33839 #include <sys/cdio.h>
33840 #endif
33841
33842 int
33843 main ()
33844 {
33845 struct cdrom_tocentry entry, old_entry;
33846 ;
33847 return 0;
33848 }
33849 _ACEOF
33850 rm -f conftest.$ac_objext
33851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33852 (eval $ac_compile) 2>conftest.er1
33853 ac_status=$?
33854 grep -v '^ *+' conftest.er1 >conftest.err
33855 rm -f conftest.er1
33856 cat conftest.err >&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); } &&
33859 { ac_try='test -z "$ac_c_werror_flag"
33860 || test ! -s conftest.err'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33863 ac_status=$?
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; } &&
33866 { ac_try='test -s conftest.$ac_objext'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33869 ac_status=$?
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }; then
33872 echo "$as_me:$LINENO: result: yes" >&5
33873 echo "${ECHO_T}yes" >&6
33874 cat >>confdefs.h <<\_ACEOF
33875 #define HAVE_KNOWN_CDROM_INTERFACE 1
33876 _ACEOF
33877
33878 else
33879 echo "$as_me: failed program was:" >&5
33880 sed 's/^/| /' conftest.$ac_ext >&5
33881
33882 echo "$as_me:$LINENO: result: no" >&5
33883 echo "${ECHO_T}no" >&6
33884 fi
33885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33886
33887
33888 cat >confcache <<\_ACEOF
33889 # This file is a shell script that caches the results of configure
33890 # tests run on this system so they can be shared between configure
33891 # scripts and configure runs, see configure's option --config-cache.
33892 # It is not useful on other systems. If it contains results you don't
33893 # want to keep, you may remove or edit it.
33894 #
33895 # config.status only pays attention to the cache file if you give it
33896 # the --recheck option to rerun configure.
33897 #
33898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33900 # following values.
33901
33902 _ACEOF
33903
33904 # The following way of writing the cache mishandles newlines in values,
33905 # but we know of no workaround that is simple, portable, and efficient.
33906 # So, don't put newlines in cache variables' values.
33907 # Ultrix sh set writes to stderr and can't be redirected directly,
33908 # and sets the high bit in the cache file unless we assign to the vars.
33909 {
33910 (set) 2>&1 |
33911 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33912 *ac_space=\ *)
33913 # `set' does not quote correctly, so add quotes (double-quote
33914 # substitution turns \\\\ into \\, and sed turns \\ into \).
33915 sed -n \
33916 "s/'/'\\\\''/g;
33917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33918 ;;
33919 *)
33920 # `set' quotes correctly as required by POSIX, so do not add quotes.
33921 sed -n \
33922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33923 ;;
33924 esac;
33925 } |
33926 sed '
33927 t clear
33928 : clear
33929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33930 t end
33931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33932 : end' >>confcache
33933 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33934 if test -w $cache_file; then
33935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33936 cat confcache >$cache_file
33937 else
33938 echo "not updating unwritable cache $cache_file"
33939 fi
33940 fi
33941 rm -f confcache
33942
33943
33944 CPP_MT_FLAG=
33945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33946
33947
33948 THREADS_LINK=
33949 THREADS_CFLAGS=
33950
33951 if test "$wxUSE_THREADS" = "yes" ; then
33952 if test "$USE_BEOS" = 1; then
33953 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33954 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33955 wxUSE_THREADS="no"
33956 fi
33957 fi
33958
33959 if test "$wxUSE_THREADS" = "yes" ; then
33960
33961
33962 THREAD_OPTS="-pthread"
33963 case "${host}" in
33964 *-*-solaris2* | *-*-sunos4* )
33965 if test "x$GCC" = "xyes"; then
33966 THREAD_OPTS="-pthreads $THREAD_OPTS"
33967 else
33968 THREAD_OPTS="-mt $THREAD_OPTS"
33969 fi
33970 ;;
33971 *-*-freebsd*)
33972 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
33973 ;;
33974 *-*-darwin* | *-*-cygwin* )
33975 THREAD_OPTS=""
33976 ;;
33977 *-*-aix*)
33978 THREAD_OPTS="pthreads"
33979 ;;
33980 *-hp-hpux* )
33981 if test "x$GCC" != "xyes"; then
33982 THREAD_OPTS=""
33983 fi
33984 ;;
33985
33986 *-*-irix* )
33987 if test "x$GCC" = "xyes"; then
33988 THREAD_OPTS=""
33989 fi
33990 ;;
33991
33992 *-*-*UnixWare*)
33993 if test "x$GCC" != "xyes"; then
33994 THREAD_OPTS="-Ethread"
33995 fi
33996 ;;
33997 esac
33998
33999 THREAD_OPTS="$THREAD_OPTS pthread none"
34000
34001 THREADS_OK=no
34002 for flag in $THREAD_OPTS; do
34003 case $flag in
34004 none)
34005 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34006 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34007 ;;
34008
34009 -*)
34010 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34011 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34012 THREADS_CFLAGS="$flag"
34013 ;;
34014
34015 *)
34016 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34017 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34018 THREADS_LINK="-l$flag"
34019 ;;
34020 esac
34021
34022 save_LIBS="$LIBS"
34023 save_CFLAGS="$CFLAGS"
34024 LIBS="$THREADS_LINK $LIBS"
34025 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34026
34027 cat >conftest.$ac_ext <<_ACEOF
34028 /* confdefs.h. */
34029 _ACEOF
34030 cat confdefs.h >>conftest.$ac_ext
34031 cat >>conftest.$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 #include <pthread.h>
34034 int
34035 main ()
34036 {
34037 pthread_create(0,0,0,0);
34038 ;
34039 return 0;
34040 }
34041 _ACEOF
34042 rm -f conftest.$ac_objext conftest$ac_exeext
34043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34044 (eval $ac_link) 2>conftest.er1
34045 ac_status=$?
34046 grep -v '^ *+' conftest.er1 >conftest.err
34047 rm -f conftest.er1
34048 cat conftest.err >&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); } &&
34051 { ac_try='test -z "$ac_c_werror_flag"
34052 || test ! -s conftest.err'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; } &&
34058 { ac_try='test -s conftest$ac_exeext'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34061 ac_status=$?
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; }; then
34064 THREADS_OK=yes
34065 else
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.$ac_ext >&5
34068
34069 fi
34070 rm -f conftest.err conftest.$ac_objext \
34071 conftest$ac_exeext conftest.$ac_ext
34072
34073 LIBS="$save_LIBS"
34074 CFLAGS="$save_CFLAGS"
34075
34076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34077 echo "${ECHO_T}$THREADS_OK" >&6
34078 if test "x$THREADS_OK" = "xyes"; then
34079 break;
34080 fi
34081
34082 THREADS_LINK=""
34083 THREADS_CFLAGS=""
34084 done
34085
34086 if test "x$THREADS_OK" != "xyes"; then
34087 wxUSE_THREADS=no
34088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34090 else
34091 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34092 LIBS="$THREADS_LINK $LIBS"
34093
34094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34096 flag=no
34097 case "${host}" in
34098 *-aix*)
34099 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34100 flag="-D_THREAD_SAFE"
34101 ;;
34102 *-freebsd*)
34103 flag="-D_THREAD_SAFE"
34104 ;;
34105 *-hp-hpux* )
34106 flag="-D_REENTRANT"
34107 if test "x$GCC" != "xyes"; then
34108 flag="$flag -D_RWSTD_MULTI_THREAD"
34109 fi
34110 ;;
34111 *solaris* | alpha*-osf*)
34112 flag="-D_REENTRANT"
34113 ;;
34114 esac
34115 echo "$as_me:$LINENO: result: ${flag}" >&5
34116 echo "${ECHO_T}${flag}" >&6
34117 if test "x$flag" != xno; then
34118 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34119 fi
34120
34121 if test "x$THREADS_CFLAGS" != "x"; then
34122 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34123 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34124 fi
34125 fi
34126 fi
34127
34128 if test "$wxUSE_THREADS" = "yes" ; then
34129
34130 for ac_func in thr_setconcurrency
34131 do
34132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34133 echo "$as_me:$LINENO: checking for $ac_func" >&5
34134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34135 if eval "test \"\${$as_ac_var+set}\" = set"; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34137 else
34138 cat >conftest.$ac_ext <<_ACEOF
34139 /* confdefs.h. */
34140 _ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34146 #define $ac_func innocuous_$ac_func
34147
34148 /* System header to define __stub macros and hopefully few prototypes,
34149 which can conflict with char $ac_func (); below.
34150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34151 <limits.h> exists even on freestanding compilers. */
34152
34153 #ifdef __STDC__
34154 # include <limits.h>
34155 #else
34156 # include <assert.h>
34157 #endif
34158
34159 #undef $ac_func
34160
34161 /* Override any gcc2 internal prototype to avoid an error. */
34162 #ifdef __cplusplus
34163 extern "C"
34164 {
34165 #endif
34166 /* We use char because int might match the return type of a gcc2
34167 builtin and then its argument prototype would still apply. */
34168 char $ac_func ();
34169 /* The GNU C library defines this for functions which it implements
34170 to always fail with ENOSYS. Some functions are actually named
34171 something starting with __ and the normal name is an alias. */
34172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34173 choke me
34174 #else
34175 char (*f) () = $ac_func;
34176 #endif
34177 #ifdef __cplusplus
34178 }
34179 #endif
34180
34181 int
34182 main ()
34183 {
34184 return f != $ac_func;
34185 ;
34186 return 0;
34187 }
34188 _ACEOF
34189 rm -f conftest.$ac_objext conftest$ac_exeext
34190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34191 (eval $ac_link) 2>conftest.er1
34192 ac_status=$?
34193 grep -v '^ *+' conftest.er1 >conftest.err
34194 rm -f conftest.er1
34195 cat conftest.err >&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try='test -z "$ac_c_werror_flag"
34199 || test ! -s conftest.err'
34200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34201 (eval $ac_try) 2>&5
34202 ac_status=$?
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); }; } &&
34205 { ac_try='test -s conftest$ac_exeext'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34208 ac_status=$?
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; }; then
34211 eval "$as_ac_var=yes"
34212 else
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.$ac_ext >&5
34215
34216 eval "$as_ac_var=no"
34217 fi
34218 rm -f conftest.err conftest.$ac_objext \
34219 conftest$ac_exeext conftest.$ac_ext
34220 fi
34221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34223 if test `eval echo '${'$as_ac_var'}'` = yes; then
34224 cat >>confdefs.h <<_ACEOF
34225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34226 _ACEOF
34227
34228 fi
34229 done
34230
34231
34232
34233 for ac_header in sched.h
34234 do
34235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34237 echo "$as_me:$LINENO: checking for $ac_header" >&5
34238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 fi
34242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34244 else
34245 # Is the header compilable?
34246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34248 cat >conftest.$ac_ext <<_ACEOF
34249 /* confdefs.h. */
34250 _ACEOF
34251 cat confdefs.h >>conftest.$ac_ext
34252 cat >>conftest.$ac_ext <<_ACEOF
34253 /* end confdefs.h. */
34254 $ac_includes_default
34255 #include <$ac_header>
34256 _ACEOF
34257 rm -f conftest.$ac_objext
34258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34259 (eval $ac_compile) 2>conftest.er1
34260 ac_status=$?
34261 grep -v '^ *+' conftest.er1 >conftest.err
34262 rm -f conftest.er1
34263 cat conftest.err >&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } &&
34266 { ac_try='test -z "$ac_c_werror_flag"
34267 || test ! -s conftest.err'
34268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34269 (eval $ac_try) 2>&5
34270 ac_status=$?
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); }; } &&
34273 { ac_try='test -s conftest.$ac_objext'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34276 ac_status=$?
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; }; then
34279 ac_header_compiler=yes
34280 else
34281 echo "$as_me: failed program was:" >&5
34282 sed 's/^/| /' conftest.$ac_ext >&5
34283
34284 ac_header_compiler=no
34285 fi
34286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34288 echo "${ECHO_T}$ac_header_compiler" >&6
34289
34290 # Is the header present?
34291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34293 cat >conftest.$ac_ext <<_ACEOF
34294 /* confdefs.h. */
34295 _ACEOF
34296 cat confdefs.h >>conftest.$ac_ext
34297 cat >>conftest.$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34299 #include <$ac_header>
34300 _ACEOF
34301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } >/dev/null; then
34309 if test -s conftest.err; then
34310 ac_cpp_err=$ac_c_preproc_warn_flag
34311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34312 else
34313 ac_cpp_err=
34314 fi
34315 else
34316 ac_cpp_err=yes
34317 fi
34318 if test -z "$ac_cpp_err"; then
34319 ac_header_preproc=yes
34320 else
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.$ac_ext >&5
34323
34324 ac_header_preproc=no
34325 fi
34326 rm -f conftest.err conftest.$ac_ext
34327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34328 echo "${ECHO_T}$ac_header_preproc" >&6
34329
34330 # So? What about this header?
34331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34332 yes:no: )
34333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34337 ac_header_preproc=yes
34338 ;;
34339 no:yes:* )
34340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34352 (
34353 cat <<\_ASBOX
34354 ## ----------------------------------------- ##
34355 ## Report this to wx-dev@lists.wxwidgets.org ##
34356 ## ----------------------------------------- ##
34357 _ASBOX
34358 ) |
34359 sed "s/^/$as_me: WARNING: /" >&2
34360 ;;
34361 esac
34362 echo "$as_me:$LINENO: checking for $ac_header" >&5
34363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 else
34367 eval "$as_ac_Header=\$ac_header_preproc"
34368 fi
34369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34371
34372 fi
34373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34374 cat >>confdefs.h <<_ACEOF
34375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34376 _ACEOF
34377
34378 fi
34379
34380 done
34381
34382 if test "$ac_cv_header_sched_h" = "yes"; then
34383 echo "$as_me:$LINENO: checking for sched_yield" >&5
34384 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34385 if test "${ac_cv_func_sched_yield+set}" = set; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 else
34388 cat >conftest.$ac_ext <<_ACEOF
34389 /* confdefs.h. */
34390 _ACEOF
34391 cat confdefs.h >>conftest.$ac_ext
34392 cat >>conftest.$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34396 #define sched_yield innocuous_sched_yield
34397
34398 /* System header to define __stub macros and hopefully few prototypes,
34399 which can conflict with char sched_yield (); below.
34400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34401 <limits.h> exists even on freestanding compilers. */
34402
34403 #ifdef __STDC__
34404 # include <limits.h>
34405 #else
34406 # include <assert.h>
34407 #endif
34408
34409 #undef sched_yield
34410
34411 /* Override any gcc2 internal prototype to avoid an error. */
34412 #ifdef __cplusplus
34413 extern "C"
34414 {
34415 #endif
34416 /* We use char because int might match the return type of a gcc2
34417 builtin and then its argument prototype would still apply. */
34418 char sched_yield ();
34419 /* The GNU C library defines this for functions which it implements
34420 to always fail with ENOSYS. Some functions are actually named
34421 something starting with __ and the normal name is an alias. */
34422 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34423 choke me
34424 #else
34425 char (*f) () = sched_yield;
34426 #endif
34427 #ifdef __cplusplus
34428 }
34429 #endif
34430
34431 int
34432 main ()
34433 {
34434 return f != sched_yield;
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 rm -f conftest.$ac_objext conftest$ac_exeext
34440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34441 (eval $ac_link) 2>conftest.er1
34442 ac_status=$?
34443 grep -v '^ *+' conftest.er1 >conftest.err
34444 rm -f conftest.er1
34445 cat conftest.err >&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); } &&
34448 { ac_try='test -z "$ac_c_werror_flag"
34449 || test ! -s conftest.err'
34450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34451 (eval $ac_try) 2>&5
34452 ac_status=$?
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); }; } &&
34455 { ac_try='test -s conftest$ac_exeext'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34458 ac_status=$?
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; }; then
34461 ac_cv_func_sched_yield=yes
34462 else
34463 echo "$as_me: failed program was:" >&5
34464 sed 's/^/| /' conftest.$ac_ext >&5
34465
34466 ac_cv_func_sched_yield=no
34467 fi
34468 rm -f conftest.err conftest.$ac_objext \
34469 conftest$ac_exeext conftest.$ac_ext
34470 fi
34471 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34472 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34473 if test $ac_cv_func_sched_yield = yes; then
34474 cat >>confdefs.h <<\_ACEOF
34475 #define HAVE_SCHED_YIELD 1
34476 _ACEOF
34477
34478 else
34479
34480 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34481 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34482 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34484 else
34485 ac_check_lib_save_LIBS=$LIBS
34486 LIBS="-lposix4 $LIBS"
34487 cat >conftest.$ac_ext <<_ACEOF
34488 /* confdefs.h. */
34489 _ACEOF
34490 cat confdefs.h >>conftest.$ac_ext
34491 cat >>conftest.$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34493
34494 /* Override any gcc2 internal prototype to avoid an error. */
34495 #ifdef __cplusplus
34496 extern "C"
34497 #endif
34498 /* We use char because int might match the return type of a gcc2
34499 builtin and then its argument prototype would still apply. */
34500 char sched_yield ();
34501 int
34502 main ()
34503 {
34504 sched_yield ();
34505 ;
34506 return 0;
34507 }
34508 _ACEOF
34509 rm -f conftest.$ac_objext conftest$ac_exeext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34511 (eval $ac_link) 2>conftest.er1
34512 ac_status=$?
34513 grep -v '^ *+' conftest.er1 >conftest.err
34514 rm -f conftest.er1
34515 cat conftest.err >&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try='test -z "$ac_c_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try='test -s conftest$ac_exeext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 ac_cv_lib_posix4_sched_yield=yes
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 ac_cv_lib_posix4_sched_yield=no
34537 fi
34538 rm -f conftest.err conftest.$ac_objext \
34539 conftest$ac_exeext conftest.$ac_ext
34540 LIBS=$ac_check_lib_save_LIBS
34541 fi
34542 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34543 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34544 if test $ac_cv_lib_posix4_sched_yield = yes; then
34545 cat >>confdefs.h <<\_ACEOF
34546 #define HAVE_SCHED_YIELD 1
34547 _ACEOF
34548 POSIX4_LINK=" -lposix4"
34549 else
34550 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34551 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34552
34553 fi
34554
34555
34556
34557 fi
34558
34559 fi
34560
34561 HAVE_PRIOR_FUNCS=0
34562 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34563 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34564 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567 cat >conftest.$ac_ext <<_ACEOF
34568 /* confdefs.h. */
34569 _ACEOF
34570 cat confdefs.h >>conftest.$ac_ext
34571 cat >>conftest.$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34573 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34575 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34576
34577 /* System header to define __stub macros and hopefully few prototypes,
34578 which can conflict with char pthread_attr_getschedpolicy (); below.
34579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34580 <limits.h> exists even on freestanding compilers. */
34581
34582 #ifdef __STDC__
34583 # include <limits.h>
34584 #else
34585 # include <assert.h>
34586 #endif
34587
34588 #undef pthread_attr_getschedpolicy
34589
34590 /* Override any gcc2 internal prototype to avoid an error. */
34591 #ifdef __cplusplus
34592 extern "C"
34593 {
34594 #endif
34595 /* We use char because int might match the return type of a gcc2
34596 builtin and then its argument prototype would still apply. */
34597 char pthread_attr_getschedpolicy ();
34598 /* The GNU C library defines this for functions which it implements
34599 to always fail with ENOSYS. Some functions are actually named
34600 something starting with __ and the normal name is an alias. */
34601 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34602 choke me
34603 #else
34604 char (*f) () = pthread_attr_getschedpolicy;
34605 #endif
34606 #ifdef __cplusplus
34607 }
34608 #endif
34609
34610 int
34611 main ()
34612 {
34613 return f != pthread_attr_getschedpolicy;
34614 ;
34615 return 0;
34616 }
34617 _ACEOF
34618 rm -f conftest.$ac_objext conftest$ac_exeext
34619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34620 (eval $ac_link) 2>conftest.er1
34621 ac_status=$?
34622 grep -v '^ *+' conftest.er1 >conftest.err
34623 rm -f conftest.er1
34624 cat conftest.err >&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); } &&
34627 { ac_try='test -z "$ac_c_werror_flag"
34628 || test ! -s conftest.err'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34631 ac_status=$?
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; } &&
34634 { ac_try='test -s conftest$ac_exeext'
34635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636 (eval $ac_try) 2>&5
34637 ac_status=$?
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); }; }; then
34640 ac_cv_func_pthread_attr_getschedpolicy=yes
34641 else
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.$ac_ext >&5
34644
34645 ac_cv_func_pthread_attr_getschedpolicy=no
34646 fi
34647 rm -f conftest.err conftest.$ac_objext \
34648 conftest$ac_exeext conftest.$ac_ext
34649 fi
34650 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34651 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34652 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34653 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34654 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34655 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 else
34658 cat >conftest.$ac_ext <<_ACEOF
34659 /* confdefs.h. */
34660 _ACEOF
34661 cat confdefs.h >>conftest.$ac_ext
34662 cat >>conftest.$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34666 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34667
34668 /* System header to define __stub macros and hopefully few prototypes,
34669 which can conflict with char pthread_attr_setschedparam (); below.
34670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34671 <limits.h> exists even on freestanding compilers. */
34672
34673 #ifdef __STDC__
34674 # include <limits.h>
34675 #else
34676 # include <assert.h>
34677 #endif
34678
34679 #undef pthread_attr_setschedparam
34680
34681 /* Override any gcc2 internal prototype to avoid an error. */
34682 #ifdef __cplusplus
34683 extern "C"
34684 {
34685 #endif
34686 /* We use char because int might match the return type of a gcc2
34687 builtin and then its argument prototype would still apply. */
34688 char pthread_attr_setschedparam ();
34689 /* The GNU C library defines this for functions which it implements
34690 to always fail with ENOSYS. Some functions are actually named
34691 something starting with __ and the normal name is an alias. */
34692 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34693 choke me
34694 #else
34695 char (*f) () = pthread_attr_setschedparam;
34696 #endif
34697 #ifdef __cplusplus
34698 }
34699 #endif
34700
34701 int
34702 main ()
34703 {
34704 return f != pthread_attr_setschedparam;
34705 ;
34706 return 0;
34707 }
34708 _ACEOF
34709 rm -f conftest.$ac_objext conftest$ac_exeext
34710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34711 (eval $ac_link) 2>conftest.er1
34712 ac_status=$?
34713 grep -v '^ *+' conftest.er1 >conftest.err
34714 rm -f conftest.er1
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } &&
34718 { ac_try='test -z "$ac_c_werror_flag"
34719 || test ! -s conftest.err'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34722 ac_status=$?
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; } &&
34725 { ac_try='test -s conftest$ac_exeext'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34728 ac_status=$?
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; }; then
34731 ac_cv_func_pthread_attr_setschedparam=yes
34732 else
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34735
34736 ac_cv_func_pthread_attr_setschedparam=no
34737 fi
34738 rm -f conftest.err conftest.$ac_objext \
34739 conftest$ac_exeext conftest.$ac_ext
34740 fi
34741 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34742 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34743 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34744 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34745 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34746 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749 cat >conftest.$ac_ext <<_ACEOF
34750 /* confdefs.h. */
34751 _ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define sched_get_priority_max innocuous_sched_get_priority_max
34758
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char sched_get_priority_max (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34763
34764 #ifdef __STDC__
34765 # include <limits.h>
34766 #else
34767 # include <assert.h>
34768 #endif
34769
34770 #undef sched_get_priority_max
34771
34772 /* Override any gcc2 internal prototype to avoid an error. */
34773 #ifdef __cplusplus
34774 extern "C"
34775 {
34776 #endif
34777 /* We use char because int might match the return type of a gcc2
34778 builtin and then its argument prototype would still apply. */
34779 char sched_get_priority_max ();
34780 /* The GNU C library defines this for functions which it implements
34781 to always fail with ENOSYS. Some functions are actually named
34782 something starting with __ and the normal name is an alias. */
34783 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34784 choke me
34785 #else
34786 char (*f) () = sched_get_priority_max;
34787 #endif
34788 #ifdef __cplusplus
34789 }
34790 #endif
34791
34792 int
34793 main ()
34794 {
34795 return f != sched_get_priority_max;
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34802 (eval $ac_link) 2>conftest.er1
34803 ac_status=$?
34804 grep -v '^ *+' conftest.er1 >conftest.err
34805 rm -f conftest.er1
34806 cat conftest.err >&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try='test -z "$ac_c_werror_flag"
34810 || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34813 ac_status=$?
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try='test -s conftest$ac_exeext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34819 ac_status=$?
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 ac_cv_func_sched_get_priority_max=yes
34823 else
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.$ac_ext >&5
34826
34827 ac_cv_func_sched_get_priority_max=no
34828 fi
34829 rm -f conftest.err conftest.$ac_objext \
34830 conftest$ac_exeext conftest.$ac_ext
34831 fi
34832 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34833 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34834 if test $ac_cv_func_sched_get_priority_max = yes; then
34835 HAVE_PRIOR_FUNCS=1
34836 else
34837 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34838 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34839 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842 ac_check_lib_save_LIBS=$LIBS
34843 LIBS="-lposix4 $LIBS"
34844 cat >conftest.$ac_ext <<_ACEOF
34845 /* confdefs.h. */
34846 _ACEOF
34847 cat confdefs.h >>conftest.$ac_ext
34848 cat >>conftest.$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850
34851 /* Override any gcc2 internal prototype to avoid an error. */
34852 #ifdef __cplusplus
34853 extern "C"
34854 #endif
34855 /* We use char because int might match the return type of a gcc2
34856 builtin and then its argument prototype would still apply. */
34857 char sched_get_priority_max ();
34858 int
34859 main ()
34860 {
34861 sched_get_priority_max ();
34862 ;
34863 return 0;
34864 }
34865 _ACEOF
34866 rm -f conftest.$ac_objext conftest$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>conftest.er1
34869 ac_status=$?
34870 grep -v '^ *+' conftest.er1 >conftest.err
34871 rm -f conftest.er1
34872 cat conftest.err >&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try='test -z "$ac_c_werror_flag"
34876 || test ! -s conftest.err'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; } &&
34882 { ac_try='test -s conftest$ac_exeext'
34883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34884 (eval $ac_try) 2>&5
34885 ac_status=$?
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); }; }; then
34888 ac_cv_lib_posix4_sched_get_priority_max=yes
34889 else
34890 echo "$as_me: failed program was:" >&5
34891 sed 's/^/| /' conftest.$ac_ext >&5
34892
34893 ac_cv_lib_posix4_sched_get_priority_max=no
34894 fi
34895 rm -f conftest.err conftest.$ac_objext \
34896 conftest$ac_exeext conftest.$ac_ext
34897 LIBS=$ac_check_lib_save_LIBS
34898 fi
34899 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34900 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34901 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34902
34903 HAVE_PRIOR_FUNCS=1
34904 POSIX4_LINK=" -lposix4"
34905
34906 fi
34907
34908
34909 fi
34910
34911
34912 fi
34913
34914
34915 fi
34916
34917
34918 if test "$HAVE_PRIOR_FUNCS" = 1; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34921 _ACEOF
34922
34923 else
34924 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34925 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34926 fi
34927
34928 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34929 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34930 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 else
34933 cat >conftest.$ac_ext <<_ACEOF
34934 /* confdefs.h. */
34935 _ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34941 #define pthread_cancel innocuous_pthread_cancel
34942
34943 /* System header to define __stub macros and hopefully few prototypes,
34944 which can conflict with char pthread_cancel (); below.
34945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34946 <limits.h> exists even on freestanding compilers. */
34947
34948 #ifdef __STDC__
34949 # include <limits.h>
34950 #else
34951 # include <assert.h>
34952 #endif
34953
34954 #undef pthread_cancel
34955
34956 /* Override any gcc2 internal prototype to avoid an error. */
34957 #ifdef __cplusplus
34958 extern "C"
34959 {
34960 #endif
34961 /* We use char because int might match the return type of a gcc2
34962 builtin and then its argument prototype would still apply. */
34963 char pthread_cancel ();
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34968 choke me
34969 #else
34970 char (*f) () = pthread_cancel;
34971 #endif
34972 #ifdef __cplusplus
34973 }
34974 #endif
34975
34976 int
34977 main ()
34978 {
34979 return f != pthread_cancel;
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 rm -f conftest.$ac_objext conftest$ac_exeext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34986 (eval $ac_link) 2>conftest.er1
34987 ac_status=$?
34988 grep -v '^ *+' conftest.er1 >conftest.err
34989 rm -f conftest.er1
34990 cat conftest.err >&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try='test -z "$ac_c_werror_flag"
34994 || test ! -s conftest.err'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34997 ac_status=$?
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; } &&
35000 { ac_try='test -s conftest$ac_exeext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35003 ac_status=$?
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 ac_cv_func_pthread_cancel=yes
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 ac_cv_func_pthread_cancel=no
35012 fi
35013 rm -f conftest.err conftest.$ac_objext \
35014 conftest$ac_exeext conftest.$ac_ext
35015 fi
35016 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35017 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35018 if test $ac_cv_func_pthread_cancel = yes; then
35019 cat >>confdefs.h <<\_ACEOF
35020 #define HAVE_PTHREAD_CANCEL 1
35021 _ACEOF
35022
35023 else
35024 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35025 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35026 fi
35027
35028
35029
35030
35031 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35032 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35033 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35035 else
35036
35037 cat >conftest.$ac_ext <<_ACEOF
35038 /* confdefs.h. */
35039 _ACEOF
35040 cat confdefs.h >>conftest.$ac_ext
35041 cat >>conftest.$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35043 #include <pthread.h>
35044 int
35045 main ()
35046 {
35047
35048 pthread_mutexattr_t attr;
35049 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35050
35051 ;
35052 return 0;
35053 }
35054 _ACEOF
35055 rm -f conftest.$ac_objext
35056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35057 (eval $ac_compile) 2>conftest.er1
35058 ac_status=$?
35059 grep -v '^ *+' conftest.er1 >conftest.err
35060 rm -f conftest.er1
35061 cat conftest.err >&5
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); } &&
35064 { ac_try='test -z "$ac_c_werror_flag"
35065 || test ! -s conftest.err'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35068 ac_status=$?
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; } &&
35071 { ac_try='test -s conftest.$ac_objext'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35074 ac_status=$?
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; }; then
35077
35078 wx_cv_type_pthread_mutexattr_t=yes
35079
35080 else
35081 echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.$ac_ext >&5
35083
35084
35085 wx_cv_type_pthread_mutexattr_t=no
35086
35087
35088 fi
35089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35090
35091 fi
35092 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35093 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35094
35095 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35096 cat >>confdefs.h <<\_ACEOF
35097 #define HAVE_PTHREAD_MUTEXATTR_T 1
35098 _ACEOF
35099
35100 else
35101 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35102 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35103 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35105 else
35106
35107 cat >conftest.$ac_ext <<_ACEOF
35108 /* confdefs.h. */
35109 _ACEOF
35110 cat confdefs.h >>conftest.$ac_ext
35111 cat >>conftest.$ac_ext <<_ACEOF
35112 /* end confdefs.h. */
35113 #include <pthread.h>
35114 int
35115 main ()
35116 {
35117
35118 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35119
35120 ;
35121 return 0;
35122 }
35123 _ACEOF
35124 rm -f conftest.$ac_objext
35125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35126 (eval $ac_compile) 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } &&
35133 { ac_try='test -z "$ac_c_werror_flag"
35134 || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35137 ac_status=$?
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try='test -s conftest.$ac_objext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35143 ac_status=$?
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146
35147 wx_cv_type_pthread_rec_mutex_init=yes
35148
35149 else
35150 echo "$as_me: failed program was:" >&5
35151 sed 's/^/| /' conftest.$ac_ext >&5
35152
35153
35154 wx_cv_type_pthread_rec_mutex_init=no
35155
35156
35157 fi
35158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35159
35160 fi
35161 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35162 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35163 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35164 cat >>confdefs.h <<\_ACEOF
35165 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35166 _ACEOF
35167
35168 else
35169 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35170 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35171 fi
35172 fi
35173 fi
35174
35175 else
35176 if test "$wxUSE_THREADS" = "yes" ; then
35177 case "${host}" in
35178 *-*-mingw32* )
35179 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35180 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35181 if test "${wx_cv_cflags_mthread+set}" = set; then
35182 echo $ECHO_N "(cached) $ECHO_C" >&6
35183 else
35184
35185 CFLAGS_OLD="$CFLAGS"
35186 CFLAGS="$CFLAGS -mthreads"
35187 cat >conftest.$ac_ext <<_ACEOF
35188 /* confdefs.h. */
35189 _ACEOF
35190 cat confdefs.h >>conftest.$ac_ext
35191 cat >>conftest.$ac_ext <<_ACEOF
35192 /* end confdefs.h. */
35193
35194 int
35195 main ()
35196 {
35197
35198 ;
35199 return 0;
35200 }
35201 _ACEOF
35202 rm -f conftest.$ac_objext
35203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35204 (eval $ac_compile) 2>conftest.er1
35205 ac_status=$?
35206 grep -v '^ *+' conftest.er1 >conftest.err
35207 rm -f conftest.er1
35208 cat conftest.err >&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } &&
35211 { ac_try='test -z "$ac_c_werror_flag"
35212 || test ! -s conftest.err'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; } &&
35218 { ac_try='test -s conftest.$ac_objext'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35221 ac_status=$?
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; }; then
35224 wx_cv_cflags_mthread=yes
35225 else
35226 echo "$as_me: failed program was:" >&5
35227 sed 's/^/| /' conftest.$ac_ext >&5
35228
35229 wx_cv_cflags_mthread=no
35230
35231 fi
35232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35233
35234
35235 fi
35236 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35237 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35238
35239 if test "$wx_cv_cflags_mthread" = "yes"; then
35240 CXXFLAGS="$CXXFLAGS -mthreads"
35241 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35242 LDFLAGS="$LDFLAGS -mthreads"
35243 else
35244 CFLAGS="$CFLAGS_OLD"
35245 fi
35246 ;;
35247 *-pc-os2*emx )
35248 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35249 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35250 LDFLAGS="$LDFLAGS -Zmt"
35251 ;;
35252 esac
35253 fi
35254 fi
35255
35256 if test "$wxUSE_THREADS" = "yes"; then
35257 cat >>confdefs.h <<\_ACEOF
35258 #define wxUSE_THREADS 1
35259 _ACEOF
35260
35261
35262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35263 else
35264 if test "$ac_cv_func_strtok_r" = "yes"; then
35265 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35266 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35267 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35268 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35269 echo "$as_me:$LINENO: result: yes" >&5
35270 echo "${ECHO_T}yes" >&6
35271 else
35272 echo "$as_me:$LINENO: result: no" >&5
35273 echo "${ECHO_T}no" >&6
35274 fi
35275 fi
35276 fi
35277
35278 if test "$WXGTK20" = 1 ; then
35279 cat >>confdefs.h <<_ACEOF
35280 #define __WXGTK20__ $WXGTK20
35281 _ACEOF
35282
35283 WXGTK12=1
35284 fi
35285
35286 if test "$WXGTK12" = 1 ; then
35287 cat >>confdefs.h <<_ACEOF
35288 #define __WXGTK12__ $WXGTK12
35289 _ACEOF
35290
35291 fi
35292
35293 if test "$WXGTK127" = 1 ; then
35294 cat >>confdefs.h <<_ACEOF
35295 #define __WXGTK127__ $WXGTK127
35296 _ACEOF
35297
35298 fi
35299
35300 if test "$WXGPE" = 1 ; then
35301 cat >>confdefs.h <<_ACEOF
35302 #define __WXGPE__ $WXGPE
35303 _ACEOF
35304
35305 fi
35306
35307 WXDEBUG=
35308
35309 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35310 WXDEBUG="-g"
35311 wxUSE_OPTIMISE=no
35312 fi
35313
35314 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35315 wxUSE_DEBUG_INFO=yes
35316 WXDEBUG="-ggdb"
35317 fi
35318
35319 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35320 cat >>confdefs.h <<\_ACEOF
35321 #define WXDEBUG 1
35322 _ACEOF
35323
35324 WXDEBUG_DEFINE="-D__WXDEBUG__"
35325 else
35326 if test "$wxUSE_GTK" = 1 ; then
35327 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35328 fi
35329 fi
35330
35331 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35332 cat >>confdefs.h <<\_ACEOF
35333 #define wxUSE_MEMORY_TRACING 1
35334 _ACEOF
35335
35336 cat >>confdefs.h <<\_ACEOF
35337 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35338 _ACEOF
35339
35340 cat >>confdefs.h <<\_ACEOF
35341 #define wxUSE_DEBUG_NEW_ALWAYS 1
35342 _ACEOF
35343
35344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35345 fi
35346
35347 if test "$wxUSE_DMALLOC" = "yes" ; then
35348 DMALLOC_LIBS="-ldmalloc"
35349 fi
35350
35351 PROFILE=
35352 if test "$wxUSE_PROFILE" = "yes" ; then
35353 PROFILE=" -pg"
35354 fi
35355
35356 CODE_GEN_FLAGS=
35357 CODE_GEN_FLAGS_CXX=
35358 if test "$GCC" = "yes" ; then
35359 if test "$wxUSE_NO_RTTI" = "yes" ; then
35360 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35361 fi
35362 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35363 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35364 fi
35365 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35366 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35367 fi
35368
35369 case "${host}" in
35370 powerpc*-*-aix* )
35371 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35372 ;;
35373 *-hppa* )
35374 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35375 ;;
35376 esac
35377 fi
35378
35379 OPTIMISE=
35380 if test "$wxUSE_OPTIMISE" = "no" ; then
35381 if test "$GCC" = yes ; then
35382 OPTIMISE="-O0"
35383 fi
35384 else
35385 if test "$GCC" = yes ; then
35386 OPTIMISE="-O2"
35387
35388 case "${host}" in
35389 i586-*-*|i686-*-* )
35390 OPTIMISE="${OPTIMISE} "
35391 ;;
35392 esac
35393 else
35394 OPTIMISE="-O"
35395 fi
35396 fi
35397
35398
35399 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35400 cat >>confdefs.h <<\_ACEOF
35401 #define WXWIN_COMPATIBILITY_2_2 1
35402 _ACEOF
35403
35404
35405 WXWIN_COMPATIBILITY_2_4="yes"
35406 fi
35407
35408 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35409 cat >>confdefs.h <<\_ACEOF
35410 #define WXWIN_COMPATIBILITY_2_4 1
35411 _ACEOF
35412
35413 fi
35414
35415
35416 if test "$wxUSE_GUI" = "yes"; then
35417 cat >>confdefs.h <<\_ACEOF
35418 #define wxUSE_GUI 1
35419 _ACEOF
35420
35421
35422 fi
35423
35424
35425 if test "$wxUSE_UNIX" = "yes"; then
35426 cat >>confdefs.h <<\_ACEOF
35427 #define wxUSE_UNIX 1
35428 _ACEOF
35429
35430 fi
35431
35432
35433 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35434
35435 HAVE_DL_FUNCS=0
35436 HAVE_SHL_FUNCS=0
35437 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35438 if test "$USE_DARWIN" = 1; then
35439 HAVE_DL_FUNCS=1
35440 else
35441
35442 for ac_func in dlopen
35443 do
35444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35445 echo "$as_me:$LINENO: checking for $ac_func" >&5
35446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35447 if eval "test \"\${$as_ac_var+set}\" = set"; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35450 cat >conftest.$ac_ext <<_ACEOF
35451 /* confdefs.h. */
35452 _ACEOF
35453 cat confdefs.h >>conftest.$ac_ext
35454 cat >>conftest.$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35458 #define $ac_func innocuous_$ac_func
35459
35460 /* System header to define __stub macros and hopefully few prototypes,
35461 which can conflict with char $ac_func (); below.
35462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35463 <limits.h> exists even on freestanding compilers. */
35464
35465 #ifdef __STDC__
35466 # include <limits.h>
35467 #else
35468 # include <assert.h>
35469 #endif
35470
35471 #undef $ac_func
35472
35473 /* Override any gcc2 internal prototype to avoid an error. */
35474 #ifdef __cplusplus
35475 extern "C"
35476 {
35477 #endif
35478 /* We use char because int might match the return type of a gcc2
35479 builtin and then its argument prototype would still apply. */
35480 char $ac_func ();
35481 /* The GNU C library defines this for functions which it implements
35482 to always fail with ENOSYS. Some functions are actually named
35483 something starting with __ and the normal name is an alias. */
35484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35485 choke me
35486 #else
35487 char (*f) () = $ac_func;
35488 #endif
35489 #ifdef __cplusplus
35490 }
35491 #endif
35492
35493 int
35494 main ()
35495 {
35496 return f != $ac_func;
35497 ;
35498 return 0;
35499 }
35500 _ACEOF
35501 rm -f conftest.$ac_objext conftest$ac_exeext
35502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35503 (eval $ac_link) 2>conftest.er1
35504 ac_status=$?
35505 grep -v '^ *+' conftest.er1 >conftest.err
35506 rm -f conftest.er1
35507 cat conftest.err >&5
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); } &&
35510 { ac_try='test -z "$ac_c_werror_flag"
35511 || test ! -s conftest.err'
35512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35513 (eval $ac_try) 2>&5
35514 ac_status=$?
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; } &&
35517 { ac_try='test -s conftest$ac_exeext'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35520 ac_status=$?
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; }; then
35523 eval "$as_ac_var=yes"
35524 else
35525 echo "$as_me: failed program was:" >&5
35526 sed 's/^/| /' conftest.$ac_ext >&5
35527
35528 eval "$as_ac_var=no"
35529 fi
35530 rm -f conftest.err conftest.$ac_objext \
35531 conftest$ac_exeext conftest.$ac_ext
35532 fi
35533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35535 if test `eval echo '${'$as_ac_var'}'` = yes; then
35536 cat >>confdefs.h <<_ACEOF
35537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35538 _ACEOF
35539
35540 cat >>confdefs.h <<\_ACEOF
35541 #define HAVE_DLOPEN 1
35542 _ACEOF
35543
35544 HAVE_DL_FUNCS=1
35545
35546 else
35547
35548 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35549 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35550 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 else
35553 ac_check_lib_save_LIBS=$LIBS
35554 LIBS="-ldl $LIBS"
35555 cat >conftest.$ac_ext <<_ACEOF
35556 /* confdefs.h. */
35557 _ACEOF
35558 cat confdefs.h >>conftest.$ac_ext
35559 cat >>conftest.$ac_ext <<_ACEOF
35560 /* end confdefs.h. */
35561
35562 /* Override any gcc2 internal prototype to avoid an error. */
35563 #ifdef __cplusplus
35564 extern "C"
35565 #endif
35566 /* We use char because int might match the return type of a gcc2
35567 builtin and then its argument prototype would still apply. */
35568 char dlopen ();
35569 int
35570 main ()
35571 {
35572 dlopen ();
35573 ;
35574 return 0;
35575 }
35576 _ACEOF
35577 rm -f conftest.$ac_objext conftest$ac_exeext
35578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35579 (eval $ac_link) 2>conftest.er1
35580 ac_status=$?
35581 grep -v '^ *+' conftest.er1 >conftest.err
35582 rm -f conftest.er1
35583 cat conftest.err >&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } &&
35586 { ac_try='test -z "$ac_c_werror_flag"
35587 || test ! -s conftest.err'
35588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35589 (eval $ac_try) 2>&5
35590 ac_status=$?
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); }; } &&
35593 { ac_try='test -s conftest$ac_exeext'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35596 ac_status=$?
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; }; then
35599 ac_cv_lib_dl_dlopen=yes
35600 else
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35603
35604 ac_cv_lib_dl_dlopen=no
35605 fi
35606 rm -f conftest.err conftest.$ac_objext \
35607 conftest$ac_exeext conftest.$ac_ext
35608 LIBS=$ac_check_lib_save_LIBS
35609 fi
35610 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35611 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35612 if test $ac_cv_lib_dl_dlopen = yes; then
35613
35614 cat >>confdefs.h <<\_ACEOF
35615 #define HAVE_DLOPEN 1
35616 _ACEOF
35617
35618 HAVE_DL_FUNCS=1
35619 DL_LINK=" -ldl$DL_LINK"
35620
35621 else
35622
35623
35624 for ac_func in shl_load
35625 do
35626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35627 echo "$as_me:$LINENO: checking for $ac_func" >&5
35628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35629 if eval "test \"\${$as_ac_var+set}\" = set"; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632 cat >conftest.$ac_ext <<_ACEOF
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35640 #define $ac_func innocuous_$ac_func
35641
35642 /* System header to define __stub macros and hopefully few prototypes,
35643 which can conflict with char $ac_func (); below.
35644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35645 <limits.h> exists even on freestanding compilers. */
35646
35647 #ifdef __STDC__
35648 # include <limits.h>
35649 #else
35650 # include <assert.h>
35651 #endif
35652
35653 #undef $ac_func
35654
35655 /* Override any gcc2 internal prototype to avoid an error. */
35656 #ifdef __cplusplus
35657 extern "C"
35658 {
35659 #endif
35660 /* We use char because int might match the return type of a gcc2
35661 builtin and then its argument prototype would still apply. */
35662 char $ac_func ();
35663 /* The GNU C library defines this for functions which it implements
35664 to always fail with ENOSYS. Some functions are actually named
35665 something starting with __ and the normal name is an alias. */
35666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35667 choke me
35668 #else
35669 char (*f) () = $ac_func;
35670 #endif
35671 #ifdef __cplusplus
35672 }
35673 #endif
35674
35675 int
35676 main ()
35677 {
35678 return f != $ac_func;
35679 ;
35680 return 0;
35681 }
35682 _ACEOF
35683 rm -f conftest.$ac_objext conftest$ac_exeext
35684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35685 (eval $ac_link) 2>conftest.er1
35686 ac_status=$?
35687 grep -v '^ *+' conftest.er1 >conftest.err
35688 rm -f conftest.er1
35689 cat conftest.err >&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } &&
35692 { ac_try='test -z "$ac_c_werror_flag"
35693 || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35696 ac_status=$?
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try='test -s conftest$ac_exeext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35702 ac_status=$?
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 eval "$as_ac_var=yes"
35706 else
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.$ac_ext >&5
35709
35710 eval "$as_ac_var=no"
35711 fi
35712 rm -f conftest.err conftest.$ac_objext \
35713 conftest$ac_exeext conftest.$ac_ext
35714 fi
35715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35717 if test `eval echo '${'$as_ac_var'}'` = yes; then
35718 cat >>confdefs.h <<_ACEOF
35719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35720 _ACEOF
35721
35722 cat >>confdefs.h <<\_ACEOF
35723 #define HAVE_SHL_LOAD 1
35724 _ACEOF
35725
35726 HAVE_SHL_FUNCS=1
35727
35728 else
35729
35730 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35731 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35732 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735 ac_check_lib_save_LIBS=$LIBS
35736 LIBS="-lshl_load $LIBS"
35737 cat >conftest.$ac_ext <<_ACEOF
35738 /* confdefs.h. */
35739 _ACEOF
35740 cat confdefs.h >>conftest.$ac_ext
35741 cat >>conftest.$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35743
35744 /* Override any gcc2 internal prototype to avoid an error. */
35745 #ifdef __cplusplus
35746 extern "C"
35747 #endif
35748 /* We use char because int might match the return type of a gcc2
35749 builtin and then its argument prototype would still apply. */
35750 char dld ();
35751 int
35752 main ()
35753 {
35754 dld ();
35755 ;
35756 return 0;
35757 }
35758 _ACEOF
35759 rm -f conftest.$ac_objext conftest$ac_exeext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35761 (eval $ac_link) 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try='test -z "$ac_c_werror_flag"
35769 || test ! -s conftest.err'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35772 ac_status=$?
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; } &&
35775 { ac_try='test -s conftest$ac_exeext'
35776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35777 (eval $ac_try) 2>&5
35778 ac_status=$?
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); }; }; then
35781 ac_cv_lib_shl_load_dld=yes
35782 else
35783 echo "$as_me: failed program was:" >&5
35784 sed 's/^/| /' conftest.$ac_ext >&5
35785
35786 ac_cv_lib_shl_load_dld=no
35787 fi
35788 rm -f conftest.err conftest.$ac_objext \
35789 conftest$ac_exeext conftest.$ac_ext
35790 LIBS=$ac_check_lib_save_LIBS
35791 fi
35792 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35793 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35794 if test $ac_cv_lib_shl_load_dld = yes; then
35795
35796 HAVE_SHL_FUNCS=1
35797 DL_LINK=" -ldld$DL_LINK"
35798
35799 fi
35800
35801
35802 fi
35803 done
35804
35805
35806 fi
35807
35808
35809 fi
35810 done
35811
35812
35813 if test "$HAVE_DL_FUNCS" = 1; then
35814
35815 for ac_func in dlerror
35816 do
35817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35818 echo "$as_me:$LINENO: checking for $ac_func" >&5
35819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_var+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 else
35823 cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h. */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35831 #define $ac_func innocuous_$ac_func
35832
35833 /* System header to define __stub macros and hopefully few prototypes,
35834 which can conflict with char $ac_func (); below.
35835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35836 <limits.h> exists even on freestanding compilers. */
35837
35838 #ifdef __STDC__
35839 # include <limits.h>
35840 #else
35841 # include <assert.h>
35842 #endif
35843
35844 #undef $ac_func
35845
35846 /* Override any gcc2 internal prototype to avoid an error. */
35847 #ifdef __cplusplus
35848 extern "C"
35849 {
35850 #endif
35851 /* We use char because int might match the return type of a gcc2
35852 builtin and then its argument prototype would still apply. */
35853 char $ac_func ();
35854 /* The GNU C library defines this for functions which it implements
35855 to always fail with ENOSYS. Some functions are actually named
35856 something starting with __ and the normal name is an alias. */
35857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35858 choke me
35859 #else
35860 char (*f) () = $ac_func;
35861 #endif
35862 #ifdef __cplusplus
35863 }
35864 #endif
35865
35866 int
35867 main ()
35868 {
35869 return f != $ac_func;
35870 ;
35871 return 0;
35872 }
35873 _ACEOF
35874 rm -f conftest.$ac_objext conftest$ac_exeext
35875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35876 (eval $ac_link) 2>conftest.er1
35877 ac_status=$?
35878 grep -v '^ *+' conftest.er1 >conftest.err
35879 rm -f conftest.er1
35880 cat conftest.err >&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } &&
35883 { ac_try='test -z "$ac_c_werror_flag"
35884 || test ! -s conftest.err'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; } &&
35890 { ac_try='test -s conftest$ac_exeext'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35893 ac_status=$?
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }; then
35896 eval "$as_ac_var=yes"
35897 else
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.$ac_ext >&5
35900
35901 eval "$as_ac_var=no"
35902 fi
35903 rm -f conftest.err conftest.$ac_objext \
35904 conftest$ac_exeext conftest.$ac_ext
35905 fi
35906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35908 if test `eval echo '${'$as_ac_var'}'` = yes; then
35909 cat >>confdefs.h <<_ACEOF
35910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35911 _ACEOF
35912 cat >>confdefs.h <<\_ACEOF
35913 #define HAVE_DLERROR 1
35914 _ACEOF
35915
35916 else
35917
35918 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35919 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35920 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 else
35923 ac_check_lib_save_LIBS=$LIBS
35924 LIBS="-ldl $LIBS"
35925 cat >conftest.$ac_ext <<_ACEOF
35926 /* confdefs.h. */
35927 _ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35931
35932 /* Override any gcc2 internal prototype to avoid an error. */
35933 #ifdef __cplusplus
35934 extern "C"
35935 #endif
35936 /* We use char because int might match the return type of a gcc2
35937 builtin and then its argument prototype would still apply. */
35938 char dlerror ();
35939 int
35940 main ()
35941 {
35942 dlerror ();
35943 ;
35944 return 0;
35945 }
35946 _ACEOF
35947 rm -f conftest.$ac_objext conftest$ac_exeext
35948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35949 (eval $ac_link) 2>conftest.er1
35950 ac_status=$?
35951 grep -v '^ *+' conftest.er1 >conftest.err
35952 rm -f conftest.er1
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } &&
35956 { ac_try='test -z "$ac_c_werror_flag"
35957 || test ! -s conftest.err'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35960 ac_status=$?
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; } &&
35963 { ac_try='test -s conftest$ac_exeext'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; }; then
35969 ac_cv_lib_dl_dlerror=yes
35970 else
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.$ac_ext >&5
35973
35974 ac_cv_lib_dl_dlerror=no
35975 fi
35976 rm -f conftest.err conftest.$ac_objext \
35977 conftest$ac_exeext conftest.$ac_ext
35978 LIBS=$ac_check_lib_save_LIBS
35979 fi
35980 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35981 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35982 if test $ac_cv_lib_dl_dlerror = yes; then
35983 cat >>confdefs.h <<\_ACEOF
35984 #define HAVE_DLERROR 1
35985 _ACEOF
35986
35987 fi
35988
35989
35990
35991 fi
35992 done
35993
35994 fi
35995 fi
35996
35997 if test "$HAVE_DL_FUNCS" = 0; then
35998 if test "$HAVE_SHL_FUNCS" = 0; then
35999 if test "$USE_UNIX" = 1; then
36000 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36001 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36002 wxUSE_DYNAMIC_LOADER=no
36003 wxUSE_DYNLIB_CLASS=no
36004 else
36005 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36006 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36007 fi
36008 fi
36009 fi
36010 fi
36011 fi
36012
36013 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36014 cat >>confdefs.h <<\_ACEOF
36015 #define wxUSE_DYNAMIC_LOADER 1
36016 _ACEOF
36017
36018 fi
36019 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36020 cat >>confdefs.h <<\_ACEOF
36021 #define wxUSE_DYNLIB_CLASS 1
36022 _ACEOF
36023
36024 fi
36025
36026
36027
36028 if test "$wxUSE_PLUGINS" = "yes" ; then
36029 if test "$wxUSE_SHARED" = "no" ; then
36030 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36031 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36032 wxUSE_PLUGINS=no
36033 fi
36034 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36035 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36036 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36037 wxUSE_PLUGINS=no
36038 fi
36039 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36040 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36041 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36042 wxUSE_PLUGINS=no
36043 fi
36044 if test "$wxUSE_PLUGINS" = "yes" ; then
36045 cat >>confdefs.h <<\_ACEOF
36046 #define wxUSE_PLUGINS 1
36047 _ACEOF
36048
36049 fi
36050 fi
36051
36052
36053 if test "$wxUSE_STL" = "yes"; then
36054 cat >>confdefs.h <<\_ACEOF
36055 #define wxUSE_STL 1
36056 _ACEOF
36057
36058 fi
36059
36060 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36061 cat >>confdefs.h <<\_ACEOF
36062 #define wxUSE_APPLE_IEEE 1
36063 _ACEOF
36064
36065 fi
36066
36067 if test "$wxUSE_TIMER" = "yes"; then
36068 cat >>confdefs.h <<\_ACEOF
36069 #define wxUSE_TIMER 1
36070 _ACEOF
36071
36072 fi
36073
36074 WITH_PLUGIN_SDL=0
36075 if test "$wxUSE_SOUND" = "yes"; then
36076 if test "$USE_UNIX" = "1" ; then
36077
36078 for ac_header in sys/soundcard.h
36079 do
36080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36082 echo "$as_me:$LINENO: checking for $ac_header" >&5
36083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36085 echo $ECHO_N "(cached) $ECHO_C" >&6
36086 fi
36087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36089 else
36090 # Is the header compilable?
36091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36093 cat >conftest.$ac_ext <<_ACEOF
36094 /* confdefs.h. */
36095 _ACEOF
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 $ac_includes_default
36100 #include <$ac_header>
36101 _ACEOF
36102 rm -f conftest.$ac_objext
36103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36104 (eval $ac_compile) 2>conftest.er1
36105 ac_status=$?
36106 grep -v '^ *+' conftest.er1 >conftest.err
36107 rm -f conftest.er1
36108 cat conftest.err >&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } &&
36111 { ac_try='test -z "$ac_c_werror_flag"
36112 || test ! -s conftest.err'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36115 ac_status=$?
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; } &&
36118 { ac_try='test -s conftest.$ac_objext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36121 ac_status=$?
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 ac_header_compiler=yes
36125 else
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36128
36129 ac_header_compiler=no
36130 fi
36131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36133 echo "${ECHO_T}$ac_header_compiler" >&6
36134
36135 # Is the header present?
36136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <$ac_header>
36145 _ACEOF
36146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36148 ac_status=$?
36149 grep -v '^ *+' conftest.er1 >conftest.err
36150 rm -f conftest.er1
36151 cat conftest.err >&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } >/dev/null; then
36154 if test -s conftest.err; then
36155 ac_cpp_err=$ac_c_preproc_warn_flag
36156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36157 else
36158 ac_cpp_err=
36159 fi
36160 else
36161 ac_cpp_err=yes
36162 fi
36163 if test -z "$ac_cpp_err"; then
36164 ac_header_preproc=yes
36165 else
36166 echo "$as_me: failed program was:" >&5
36167 sed 's/^/| /' conftest.$ac_ext >&5
36168
36169 ac_header_preproc=no
36170 fi
36171 rm -f conftest.err conftest.$ac_ext
36172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36173 echo "${ECHO_T}$ac_header_preproc" >&6
36174
36175 # So? What about this header?
36176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36177 yes:no: )
36178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36182 ac_header_preproc=yes
36183 ;;
36184 no:yes:* )
36185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36197 (
36198 cat <<\_ASBOX
36199 ## ----------------------------------------- ##
36200 ## Report this to wx-dev@lists.wxwidgets.org ##
36201 ## ----------------------------------------- ##
36202 _ASBOX
36203 ) |
36204 sed "s/^/$as_me: WARNING: /" >&2
36205 ;;
36206 esac
36207 echo "$as_me:$LINENO: checking for $ac_header" >&5
36208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36211 else
36212 eval "$as_ac_Header=\$ac_header_preproc"
36213 fi
36214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36216
36217 fi
36218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36219 cat >>confdefs.h <<_ACEOF
36220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36221 _ACEOF
36222
36223 fi
36224
36225 done
36226
36227
36228 if test "$wxUSE_LIBSDL" != "no"; then
36229
36230 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36231 if test "${with_sdl_prefix+set}" = set; then
36232 withval="$with_sdl_prefix"
36233 sdl_prefix="$withval"
36234 else
36235 sdl_prefix=""
36236 fi;
36237
36238 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36239 if test "${with_sdl_exec_prefix+set}" = set; then
36240 withval="$with_sdl_exec_prefix"
36241 sdl_exec_prefix="$withval"
36242 else
36243 sdl_exec_prefix=""
36244 fi;
36245 # Check whether --enable-sdltest or --disable-sdltest was given.
36246 if test "${enable_sdltest+set}" = set; then
36247 enableval="$enable_sdltest"
36248
36249 else
36250 enable_sdltest=yes
36251 fi;
36252
36253 if test x$sdl_exec_prefix != x ; then
36254 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36255 if test x${SDL_CONFIG+set} != xset ; then
36256 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36257 fi
36258 fi
36259 if test x$sdl_prefix != x ; then
36260 sdl_args="$sdl_args --prefix=$sdl_prefix"
36261 if test x${SDL_CONFIG+set} != xset ; then
36262 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36263 fi
36264 fi
36265
36266
36267 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36268 # Extract the first word of "sdl-config", so it can be a program name with args.
36269 set dummy sdl-config; ac_word=$2
36270 echo "$as_me:$LINENO: checking for $ac_word" >&5
36271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36272 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36274 else
36275 case $SDL_CONFIG in
36276 [\\/]* | ?:[\\/]*)
36277 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36278 ;;
36279 *)
36280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36281 for as_dir in $PATH
36282 do
36283 IFS=$as_save_IFS
36284 test -z "$as_dir" && as_dir=.
36285 for ac_exec_ext in '' $ac_executable_extensions; do
36286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36287 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36289 break 2
36290 fi
36291 done
36292 done
36293
36294 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36295 ;;
36296 esac
36297 fi
36298 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36299
36300 if test -n "$SDL_CONFIG"; then
36301 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36302 echo "${ECHO_T}$SDL_CONFIG" >&6
36303 else
36304 echo "$as_me:$LINENO: result: no" >&5
36305 echo "${ECHO_T}no" >&6
36306 fi
36307
36308 min_sdl_version=1.2.0
36309 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36310 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36311 no_sdl=""
36312 if test "$SDL_CONFIG" = "no" ; then
36313 no_sdl=yes
36314 else
36315 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36316 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36317
36318 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36320 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36322 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36324 if test "x$enable_sdltest" = "xyes" ; then
36325 ac_save_CFLAGS="$CFLAGS"
36326 ac_save_CXXFLAGS="$CXXFLAGS"
36327 ac_save_LIBS="$LIBS"
36328 CFLAGS="$CFLAGS $SDL_CFLAGS"
36329 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36330 LIBS="$LIBS $SDL_LIBS"
36331 rm -f conf.sdltest
36332 if test "$cross_compiling" = yes; then
36333 echo $ac_n "cross compiling; assumed OK... $ac_c"
36334 else
36335 cat >conftest.$ac_ext <<_ACEOF
36336 /* confdefs.h. */
36337 _ACEOF
36338 cat confdefs.h >>conftest.$ac_ext
36339 cat >>conftest.$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36341
36342 #include <stdio.h>
36343 #include <stdlib.h>
36344 #include <string.h>
36345 #include "SDL.h"
36346
36347 char*
36348 my_strdup (char *str)
36349 {
36350 char *new_str;
36351
36352 if (str)
36353 {
36354 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36355 strcpy (new_str, str);
36356 }
36357 else
36358 new_str = NULL;
36359
36360 return new_str;
36361 }
36362
36363 int main (int argc, char *argv[])
36364 {
36365 int major, minor, micro;
36366 char *tmp_version;
36367
36368 /* This hangs on some systems (?)
36369 system ("touch conf.sdltest");
36370 */
36371 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36372
36373 /* HP/UX 9 (%@#!) writes to sscanf strings */
36374 tmp_version = my_strdup("$min_sdl_version");
36375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36376 printf("%s, bad version string\n", "$min_sdl_version");
36377 exit(1);
36378 }
36379
36380 if (($sdl_major_version > major) ||
36381 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36382 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36383 {
36384 return 0;
36385 }
36386 else
36387 {
36388 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36389 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36390 printf("*** best to upgrade to the required version.\n");
36391 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36392 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36393 printf("*** config.cache before re-running configure\n");
36394 return 1;
36395 }
36396 }
36397
36398
36399 _ACEOF
36400 rm -f conftest$ac_exeext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36402 (eval $ac_link) 2>&5
36403 ac_status=$?
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36408 ac_status=$?
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 :
36412 else
36413 echo "$as_me: program exited with status $ac_status" >&5
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36416
36417 ( exit $ac_status )
36418 no_sdl=yes
36419 fi
36420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36421 fi
36422 CFLAGS="$ac_save_CFLAGS"
36423 CXXFLAGS="$ac_save_CXXFLAGS"
36424 LIBS="$ac_save_LIBS"
36425 fi
36426 fi
36427 if test "x$no_sdl" = x ; then
36428 echo "$as_me:$LINENO: result: yes" >&5
36429 echo "${ECHO_T}yes" >&6
36430
36431 EXTRALIBS_SDL="$SDL_LIBS"
36432 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36433 cat >>confdefs.h <<\_ACEOF
36434 #define wxUSE_LIBSDL 1
36435 _ACEOF
36436
36437
36438 else
36439 echo "$as_me:$LINENO: result: no" >&5
36440 echo "${ECHO_T}no" >&6
36441 if test "$SDL_CONFIG" = "no" ; then
36442 echo "*** The sdl-config script installed by SDL could not be found"
36443 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36444 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36445 echo "*** full path to sdl-config."
36446 else
36447 if test -f conf.sdltest ; then
36448 :
36449 else
36450 echo "*** Could not run SDL test program, checking why..."
36451 CFLAGS="$CFLAGS $SDL_CFLAGS"
36452 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36453 LIBS="$LIBS $SDL_LIBS"
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460
36461 #include <stdio.h>
36462 #include "SDL.h"
36463
36464 int main(int argc, char *argv[])
36465 { return 0; }
36466 #undef main
36467 #define main K_and_R_C_main
36468
36469 int
36470 main ()
36471 {
36472 return 0;
36473 ;
36474 return 0;
36475 }
36476 _ACEOF
36477 rm -f conftest.$ac_objext conftest$ac_exeext
36478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36479 (eval $ac_link) 2>conftest.er1
36480 ac_status=$?
36481 grep -v '^ *+' conftest.er1 >conftest.err
36482 rm -f conftest.er1
36483 cat conftest.err >&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } &&
36486 { ac_try='test -z "$ac_c_werror_flag"
36487 || test ! -s conftest.err'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36490 ac_status=$?
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; } &&
36493 { ac_try='test -s conftest$ac_exeext'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36496 ac_status=$?
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; }; then
36499 echo "*** The test program compiled, but did not run. This usually means"
36500 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36501 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36504 echo "*** is required on your system"
36505 echo "***"
36506 echo "*** If you have an old version installed, it is best to remove it, although"
36507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36508 else
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.$ac_ext >&5
36511
36512 echo "*** The test program failed to compile or link. See the file config.log for the"
36513 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36514 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36515 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36516 fi
36517 rm -f conftest.err conftest.$ac_objext \
36518 conftest$ac_exeext conftest.$ac_ext
36519 CFLAGS="$ac_save_CFLAGS"
36520 CXXFLAGS="$ac_save_CXXFLAGS"
36521 LIBS="$ac_save_LIBS"
36522 fi
36523 fi
36524 SDL_CFLAGS=""
36525 SDL_LIBS=""
36526 wxUSE_LIBSDL="no"
36527 fi
36528
36529
36530 rm -f conf.sdltest
36531
36532 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36533 WITH_PLUGIN_SDL=1
36534 fi
36535 fi
36536 fi
36537
36538 cat >>confdefs.h <<\_ACEOF
36539 #define wxUSE_SOUND 1
36540 _ACEOF
36541
36542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
36543 fi
36544
36545 if test "$WXGTK20" = 1; then
36546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36547 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36548
36549
36550 succeeded=no
36551
36552 if test -z "$PKG_CONFIG"; then
36553 # Extract the first word of "pkg-config", so it can be a program name with args.
36554 set dummy pkg-config; ac_word=$2
36555 echo "$as_me:$LINENO: checking for $ac_word" >&5
36556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36557 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36559 else
36560 case $PKG_CONFIG in
36561 [\\/]* | ?:[\\/]*)
36562 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36563 ;;
36564 *)
36565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36566 for as_dir in $PATH
36567 do
36568 IFS=$as_save_IFS
36569 test -z "$as_dir" && as_dir=.
36570 for ac_exec_ext in '' $ac_executable_extensions; do
36571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36572 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36574 break 2
36575 fi
36576 done
36577 done
36578
36579 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
36580 ;;
36581 esac
36582 fi
36583 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36584
36585 if test -n "$PKG_CONFIG"; then
36586 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36587 echo "${ECHO_T}$PKG_CONFIG" >&6
36588 else
36589 echo "$as_me:$LINENO: result: no" >&5
36590 echo "${ECHO_T}no" >&6
36591 fi
36592
36593 fi
36594
36595 if test "$PKG_CONFIG" = "no" ; then
36596 echo "*** The pkg-config script could not be found. Make sure it is"
36597 echo "*** in your path, or set the PKG_CONFIG environment variable"
36598 echo "*** to the full path to pkg-config."
36599 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36600 else
36601 PKG_CONFIG_MIN_VERSION=0.9.0
36602 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36603 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36604 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36605
36606 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36607 echo "$as_me:$LINENO: result: yes" >&5
36608 echo "${ECHO_T}yes" >&6
36609 succeeded=yes
36610
36611 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36612 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36613 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36614 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36615 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36616
36617 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36618 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36619 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36620 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36621 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36622 else
36623 LIBGNOMEPRINTUI_CFLAGS=""
36624 LIBGNOMEPRINTUI_LIBS=""
36625 ## If we have a custom action on failure, don't print errors, but
36626 ## do set a variable so people can do so.
36627 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36628
36629 fi
36630
36631
36632
36633 else
36634 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36635 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36636 fi
36637 fi
36638
36639 if test $succeeded = yes; then
36640
36641 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36642 cat >>confdefs.h <<\_ACEOF
36643 #define wxUSE_LIBGNOMEPRINT 1
36644 _ACEOF
36645
36646
36647 else
36648
36649 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36650 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36651 wxUSE_LIBGNOMEPRINT="no"
36652
36653
36654 fi
36655
36656 fi
36657 fi
36658 fi
36659
36660
36661 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36662 cat >>confdefs.h <<\_ACEOF
36663 #define wxUSE_CMDLINE_PARSER 1
36664 _ACEOF
36665
36666 fi
36667
36668 if test "$wxUSE_STOPWATCH" = "yes"; then
36669 cat >>confdefs.h <<\_ACEOF
36670 #define wxUSE_STOPWATCH 1
36671 _ACEOF
36672
36673 fi
36674
36675 if test "$wxUSE_DATETIME" = "yes"; then
36676 cat >>confdefs.h <<\_ACEOF
36677 #define wxUSE_DATETIME 1
36678 _ACEOF
36679
36680 fi
36681
36682 if test "$wxUSE_FILE" = "yes"; then
36683 cat >>confdefs.h <<\_ACEOF
36684 #define wxUSE_FILE 1
36685 _ACEOF
36686
36687 fi
36688
36689 if test "$wxUSE_FFILE" = "yes"; then
36690 cat >>confdefs.h <<\_ACEOF
36691 #define wxUSE_FFILE 1
36692 _ACEOF
36693
36694 fi
36695
36696 if test "$wxUSE_FILESYSTEM" = "yes"; then
36697 cat >>confdefs.h <<\_ACEOF
36698 #define wxUSE_FILESYSTEM 1
36699 _ACEOF
36700
36701 fi
36702
36703 if test "$wxUSE_FS_ZIP" = "yes"; then
36704 cat >>confdefs.h <<\_ACEOF
36705 #define wxUSE_FS_ZIP 1
36706 _ACEOF
36707
36708 fi
36709
36710 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36711 cat >>confdefs.h <<\_ACEOF
36712 #define wxUSE_ARCHIVE_STREAMS 1
36713 _ACEOF
36714
36715 fi
36716
36717 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36718 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36719 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36720 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36721 elif test "$wxUSE_ZLIB" = "no"; then
36722 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36723 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36724 else
36725 cat >>confdefs.h <<\_ACEOF
36726 #define wxUSE_ZIPSTREAM 1
36727 _ACEOF
36728
36729 fi
36730 fi
36731
36732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36733 cat >>confdefs.h <<\_ACEOF
36734 #define wxUSE_ON_FATAL_EXCEPTION 1
36735 _ACEOF
36736
36737 fi
36738
36739 if test "$wxUSE_STACKWALKER" = "yes"; then
36740 cat >>confdefs.h <<\_ACEOF
36741 #define wxUSE_STACKWALKER 1
36742 _ACEOF
36743
36744 fi
36745
36746 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36747 if test "$USE_OS2" = "1"; then
36748 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36749 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36750 wxUSE_DEBUGREPORT=no
36751 else
36752 cat >>confdefs.h <<\_ACEOF
36753 #define wxUSE_DEBUGREPORT 1
36754 _ACEOF
36755
36756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
36757 fi
36758 fi
36759
36760 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36761 cat >>confdefs.h <<\_ACEOF
36762 #define wxUSE_SNGLINST_CHECKER 1
36763 _ACEOF
36764
36765 fi
36766
36767 if test "$wxUSE_BUSYINFO" = "yes"; then
36768 cat >>confdefs.h <<\_ACEOF
36769 #define wxUSE_BUSYINFO 1
36770 _ACEOF
36771
36772 fi
36773
36774 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36775 cat >>confdefs.h <<\_ACEOF
36776 #define wxUSE_STD_IOSTREAM 1
36777 _ACEOF
36778
36779 fi
36780
36781 if test "$wxUSE_STDPATHS" = "yes"; then
36782 cat >>confdefs.h <<\_ACEOF
36783 #define wxUSE_STDPATHS 1
36784 _ACEOF
36785
36786 fi
36787
36788 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36789 cat >>confdefs.h <<\_ACEOF
36790 #define wxUSE_TEXTBUFFER 1
36791 _ACEOF
36792
36793 fi
36794
36795 if test "$wxUSE_TEXTFILE" = "yes"; then
36796 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36797 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36798 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36799 else
36800 cat >>confdefs.h <<\_ACEOF
36801 #define wxUSE_TEXTFILE 1
36802 _ACEOF
36803
36804 fi
36805 fi
36806
36807 if test "$wxUSE_CONFIG" = "yes" ; then
36808 if test "$wxUSE_TEXTFILE" != "yes"; then
36809 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36810 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36811 else
36812 cat >>confdefs.h <<\_ACEOF
36813 #define wxUSE_CONFIG 1
36814 _ACEOF
36815
36816 cat >>confdefs.h <<\_ACEOF
36817 #define wxUSE_CONFIG_NATIVE 1
36818 _ACEOF
36819
36820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
36821 fi
36822 fi
36823
36824 if test "$wxUSE_INTL" = "yes" ; then
36825 if test "$wxUSE_FILE" != "yes"; then
36826 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36827 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36828 else
36829 cat >>confdefs.h <<\_ACEOF
36830 #define wxUSE_INTL 1
36831 _ACEOF
36832
36833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
36834 GUIDIST="$GUIDIST INTL_DIST"
36835 fi
36836 fi
36837
36838 if test "$wxUSE_LOG" = "yes"; then
36839 cat >>confdefs.h <<\_ACEOF
36840 #define wxUSE_LOG 1
36841 _ACEOF
36842
36843
36844 if test "$wxUSE_LOGGUI" = "yes"; then
36845 cat >>confdefs.h <<\_ACEOF
36846 #define wxUSE_LOGGUI 1
36847 _ACEOF
36848
36849 fi
36850
36851 if test "$wxUSE_LOGWINDOW" = "yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853 #define wxUSE_LOGWINDOW 1
36854 _ACEOF
36855
36856 fi
36857
36858 if test "$wxUSE_LOGDIALOG" = "yes"; then
36859 cat >>confdefs.h <<\_ACEOF
36860 #define wxUSE_LOG_DIALOG 1
36861 _ACEOF
36862
36863 fi
36864
36865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
36866 fi
36867
36868 if test "$wxUSE_LONGLONG" = "yes"; then
36869 cat >>confdefs.h <<\_ACEOF
36870 #define wxUSE_LONGLONG 1
36871 _ACEOF
36872
36873 fi
36874
36875 if test "$wxUSE_GEOMETRY" = "yes"; then
36876 cat >>confdefs.h <<\_ACEOF
36877 #define wxUSE_GEOMETRY 1
36878 _ACEOF
36879
36880 fi
36881
36882 if test "$wxUSE_STREAMS" = "yes" ; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define wxUSE_STREAMS 1
36885 _ACEOF
36886
36887 fi
36888
36889
36890 if test "$wxUSE_DATETIME" = "yes"; then
36891
36892 for ac_func in strptime
36893 do
36894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36895 echo "$as_me:$LINENO: checking for $ac_func" >&5
36896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36897 if eval "test \"\${$as_ac_var+set}\" = set"; then
36898 echo $ECHO_N "(cached) $ECHO_C" >&6
36899 else
36900 cat >conftest.$ac_ext <<_ACEOF
36901 /* confdefs.h. */
36902 _ACEOF
36903 cat confdefs.h >>conftest.$ac_ext
36904 cat >>conftest.$ac_ext <<_ACEOF
36905 /* end confdefs.h. */
36906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36908 #define $ac_func innocuous_$ac_func
36909
36910 /* System header to define __stub macros and hopefully few prototypes,
36911 which can conflict with char $ac_func (); below.
36912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36913 <limits.h> exists even on freestanding compilers. */
36914
36915 #ifdef __STDC__
36916 # include <limits.h>
36917 #else
36918 # include <assert.h>
36919 #endif
36920
36921 #undef $ac_func
36922
36923 /* Override any gcc2 internal prototype to avoid an error. */
36924 #ifdef __cplusplus
36925 extern "C"
36926 {
36927 #endif
36928 /* We use char because int might match the return type of a gcc2
36929 builtin and then its argument prototype would still apply. */
36930 char $ac_func ();
36931 /* The GNU C library defines this for functions which it implements
36932 to always fail with ENOSYS. Some functions are actually named
36933 something starting with __ and the normal name is an alias. */
36934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36935 choke me
36936 #else
36937 char (*f) () = $ac_func;
36938 #endif
36939 #ifdef __cplusplus
36940 }
36941 #endif
36942
36943 int
36944 main ()
36945 {
36946 return f != $ac_func;
36947 ;
36948 return 0;
36949 }
36950 _ACEOF
36951 rm -f conftest.$ac_objext conftest$ac_exeext
36952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36953 (eval $ac_link) 2>conftest.er1
36954 ac_status=$?
36955 grep -v '^ *+' conftest.er1 >conftest.err
36956 rm -f conftest.er1
36957 cat conftest.err >&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); } &&
36960 { ac_try='test -z "$ac_c_werror_flag"
36961 || test ! -s conftest.err'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36964 ac_status=$?
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; } &&
36967 { ac_try='test -s conftest$ac_exeext'
36968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36969 (eval $ac_try) 2>&5
36970 ac_status=$?
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; }; then
36973 eval "$as_ac_var=yes"
36974 else
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.$ac_ext >&5
36977
36978 eval "$as_ac_var=no"
36979 fi
36980 rm -f conftest.err conftest.$ac_objext \
36981 conftest$ac_exeext conftest.$ac_ext
36982 fi
36983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36985 if test `eval echo '${'$as_ac_var'}'` = yes; then
36986 cat >>confdefs.h <<_ACEOF
36987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36988 _ACEOF
36989
36990 fi
36991 done
36992
36993
36994 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36995 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36996 if test "${wx_cv_var_timezone+set}" = set; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 else
36999
37000 cat >conftest.$ac_ext <<_ACEOF
37001 /* confdefs.h. */
37002 _ACEOF
37003 cat confdefs.h >>conftest.$ac_ext
37004 cat >>conftest.$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37006
37007 #include <time.h>
37008
37009 int
37010 main ()
37011 {
37012
37013 int tz;
37014 tz = timezone;
37015
37016 ;
37017 return 0;
37018 }
37019 _ACEOF
37020 rm -f conftest.$ac_objext
37021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37022 (eval $ac_compile) 2>conftest.er1
37023 ac_status=$?
37024 grep -v '^ *+' conftest.er1 >conftest.err
37025 rm -f conftest.er1
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try='test -z "$ac_c_werror_flag"
37030 || test ! -s conftest.err'
37031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37032 (eval $ac_try) 2>&5
37033 ac_status=$?
37034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37035 (exit $ac_status); }; } &&
37036 { ac_try='test -s conftest.$ac_objext'
37037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37038 (eval $ac_try) 2>&5
37039 ac_status=$?
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); }; }; then
37042
37043 wx_cv_var_timezone=timezone
37044
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049
37050 cat >conftest.$ac_ext <<_ACEOF
37051 /* confdefs.h. */
37052 _ACEOF
37053 cat confdefs.h >>conftest.$ac_ext
37054 cat >>conftest.$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056
37057 #include <time.h>
37058
37059 int
37060 main ()
37061 {
37062
37063 int tz;
37064 tz = _timezone;
37065
37066 ;
37067 return 0;
37068 }
37069 _ACEOF
37070 rm -f conftest.$ac_objext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37072 (eval $ac_compile) 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } &&
37079 { ac_try='test -z "$ac_c_werror_flag"
37080 || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37083 ac_status=$?
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try='test -s conftest.$ac_objext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37089 ac_status=$?
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092
37093 wx_cv_var_timezone=_timezone
37094
37095 else
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.$ac_ext >&5
37098
37099
37100 cat >conftest.$ac_ext <<_ACEOF
37101 /* confdefs.h. */
37102 _ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106
37107 #include <time.h>
37108
37109 int
37110 main ()
37111 {
37112
37113 int tz;
37114 tz = __timezone;
37115
37116 ;
37117 return 0;
37118 }
37119 _ACEOF
37120 rm -f conftest.$ac_objext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37122 (eval $ac_compile) 2>conftest.er1
37123 ac_status=$?
37124 grep -v '^ *+' conftest.er1 >conftest.err
37125 rm -f conftest.er1
37126 cat conftest.err >&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try='test -z "$ac_c_werror_flag"
37130 || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37133 ac_status=$?
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try='test -s conftest.$ac_objext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37142
37143 wx_cv_var_timezone=__timezone
37144
37145 else
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.$ac_ext >&5
37148
37149
37150 if test "$USE_DOS" = 0 ; then
37151 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37152 echo "$as_me: WARNING: no timezone variable" >&2;}
37153 fi
37154
37155
37156 fi
37157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37158
37159
37160 fi
37161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37162
37163
37164 fi
37165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37166
37167
37168 fi
37169 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37170 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37171
37172 if test "x$wx_cv_var_timezone" != x ; then
37173 cat >>confdefs.h <<_ACEOF
37174 #define WX_TIMEZONE $wx_cv_var_timezone
37175 _ACEOF
37176
37177 fi
37178
37179
37180 for ac_func in localtime
37181 do
37182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37183 echo "$as_me:$LINENO: checking for $ac_func" >&5
37184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37185 if eval "test \"\${$as_ac_var+set}\" = set"; then
37186 echo $ECHO_N "(cached) $ECHO_C" >&6
37187 else
37188 cat >conftest.$ac_ext <<_ACEOF
37189 /* confdefs.h. */
37190 _ACEOF
37191 cat confdefs.h >>conftest.$ac_ext
37192 cat >>conftest.$ac_ext <<_ACEOF
37193 /* end confdefs.h. */
37194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37196 #define $ac_func innocuous_$ac_func
37197
37198 /* System header to define __stub macros and hopefully few prototypes,
37199 which can conflict with char $ac_func (); below.
37200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37201 <limits.h> exists even on freestanding compilers. */
37202
37203 #ifdef __STDC__
37204 # include <limits.h>
37205 #else
37206 # include <assert.h>
37207 #endif
37208
37209 #undef $ac_func
37210
37211 /* Override any gcc2 internal prototype to avoid an error. */
37212 #ifdef __cplusplus
37213 extern "C"
37214 {
37215 #endif
37216 /* We use char because int might match the return type of a gcc2
37217 builtin and then its argument prototype would still apply. */
37218 char $ac_func ();
37219 /* The GNU C library defines this for functions which it implements
37220 to always fail with ENOSYS. Some functions are actually named
37221 something starting with __ and the normal name is an alias. */
37222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37223 choke me
37224 #else
37225 char (*f) () = $ac_func;
37226 #endif
37227 #ifdef __cplusplus
37228 }
37229 #endif
37230
37231 int
37232 main ()
37233 {
37234 return f != $ac_func;
37235 ;
37236 return 0;
37237 }
37238 _ACEOF
37239 rm -f conftest.$ac_objext conftest$ac_exeext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37241 (eval $ac_link) 2>conftest.er1
37242 ac_status=$?
37243 grep -v '^ *+' conftest.er1 >conftest.err
37244 rm -f conftest.er1
37245 cat conftest.err >&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } &&
37248 { ac_try='test -z "$ac_c_werror_flag"
37249 || test ! -s conftest.err'
37250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37251 (eval $ac_try) 2>&5
37252 ac_status=$?
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); }; } &&
37255 { ac_try='test -s conftest$ac_exeext'
37256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257 (eval $ac_try) 2>&5
37258 ac_status=$?
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); }; }; then
37261 eval "$as_ac_var=yes"
37262 else
37263 echo "$as_me: failed program was:" >&5
37264 sed 's/^/| /' conftest.$ac_ext >&5
37265
37266 eval "$as_ac_var=no"
37267 fi
37268 rm -f conftest.err conftest.$ac_objext \
37269 conftest$ac_exeext conftest.$ac_ext
37270 fi
37271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37273 if test `eval echo '${'$as_ac_var'}'` = yes; then
37274 cat >>confdefs.h <<_ACEOF
37275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37276 _ACEOF
37277
37278 fi
37279 done
37280
37281
37282 if test "$ac_cv_func_localtime" = "yes"; then
37283 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37284 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37285 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37286 echo $ECHO_N "(cached) $ECHO_C" >&6
37287 else
37288
37289 cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h. */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295
37296 #include <time.h>
37297
37298 int
37299 main ()
37300 {
37301
37302 struct tm tm;
37303 tm.tm_gmtoff++;
37304
37305 ;
37306 return 0;
37307 }
37308 _ACEOF
37309 rm -f conftest.$ac_objext
37310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37311 (eval $ac_compile) 2>conftest.er1
37312 ac_status=$?
37313 grep -v '^ *+' conftest.er1 >conftest.err
37314 rm -f conftest.er1
37315 cat conftest.err >&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); } &&
37318 { ac_try='test -z "$ac_c_werror_flag"
37319 || test ! -s conftest.err'
37320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321 (eval $ac_try) 2>&5
37322 ac_status=$?
37323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324 (exit $ac_status); }; } &&
37325 { ac_try='test -s conftest.$ac_objext'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37328 ac_status=$?
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; }; then
37331
37332 wx_cv_struct_tm_has_gmtoff=yes
37333
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 wx_cv_struct_tm_has_gmtoff=no
37339
37340 fi
37341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37342
37343 fi
37344 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37345 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37346 fi
37347
37348 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37349 cat >>confdefs.h <<\_ACEOF
37350 #define WX_GMTOFF_IN_TM 1
37351 _ACEOF
37352
37353 fi
37354
37355
37356
37357 for ac_func in gettimeofday ftime
37358 do
37359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37360 echo "$as_me:$LINENO: checking for $ac_func" >&5
37361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37362 if eval "test \"\${$as_ac_var+set}\" = set"; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365 cat >conftest.$ac_ext <<_ACEOF
37366 /* confdefs.h. */
37367 _ACEOF
37368 cat confdefs.h >>conftest.$ac_ext
37369 cat >>conftest.$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37373 #define $ac_func innocuous_$ac_func
37374
37375 /* System header to define __stub macros and hopefully few prototypes,
37376 which can conflict with char $ac_func (); below.
37377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37378 <limits.h> exists even on freestanding compilers. */
37379
37380 #ifdef __STDC__
37381 # include <limits.h>
37382 #else
37383 # include <assert.h>
37384 #endif
37385
37386 #undef $ac_func
37387
37388 /* Override any gcc2 internal prototype to avoid an error. */
37389 #ifdef __cplusplus
37390 extern "C"
37391 {
37392 #endif
37393 /* We use char because int might match the return type of a gcc2
37394 builtin and then its argument prototype would still apply. */
37395 char $ac_func ();
37396 /* The GNU C library defines this for functions which it implements
37397 to always fail with ENOSYS. Some functions are actually named
37398 something starting with __ and the normal name is an alias. */
37399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37400 choke me
37401 #else
37402 char (*f) () = $ac_func;
37403 #endif
37404 #ifdef __cplusplus
37405 }
37406 #endif
37407
37408 int
37409 main ()
37410 {
37411 return f != $ac_func;
37412 ;
37413 return 0;
37414 }
37415 _ACEOF
37416 rm -f conftest.$ac_objext conftest$ac_exeext
37417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37418 (eval $ac_link) 2>conftest.er1
37419 ac_status=$?
37420 grep -v '^ *+' conftest.er1 >conftest.err
37421 rm -f conftest.er1
37422 cat conftest.err >&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } &&
37425 { ac_try='test -z "$ac_c_werror_flag"
37426 || test ! -s conftest.err'
37427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37428 (eval $ac_try) 2>&5
37429 ac_status=$?
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); }; } &&
37432 { ac_try='test -s conftest$ac_exeext'
37433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37434 (eval $ac_try) 2>&5
37435 ac_status=$?
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); }; }; then
37438 eval "$as_ac_var=yes"
37439 else
37440 echo "$as_me: failed program was:" >&5
37441 sed 's/^/| /' conftest.$ac_ext >&5
37442
37443 eval "$as_ac_var=no"
37444 fi
37445 rm -f conftest.err conftest.$ac_objext \
37446 conftest$ac_exeext conftest.$ac_ext
37447 fi
37448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37450 if test `eval echo '${'$as_ac_var'}'` = yes; then
37451 cat >>confdefs.h <<_ACEOF
37452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37453 _ACEOF
37454 break
37455 fi
37456 done
37457
37458
37459 if test "$ac_cv_func_gettimeofday" = "yes"; then
37460 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37461 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37462 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37463 echo $ECHO_N "(cached) $ECHO_C" >&6
37464 else
37465
37466
37467
37468 ac_ext=cc
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474
37475 cat >conftest.$ac_ext <<_ACEOF
37476 /* confdefs.h. */
37477 _ACEOF
37478 cat confdefs.h >>conftest.$ac_ext
37479 cat >>conftest.$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37481
37482 #include <sys/time.h>
37483 #include <unistd.h>
37484
37485 int
37486 main ()
37487 {
37488
37489 struct timeval tv;
37490 gettimeofday(&tv, NULL);
37491
37492 ;
37493 return 0;
37494 }
37495 _ACEOF
37496 rm -f conftest.$ac_objext
37497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37498 (eval $ac_compile) 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } &&
37505 { ac_try='test -z "$ac_cxx_werror_flag"
37506 || test ! -s conftest.err'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37509 ac_status=$?
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try='test -s conftest.$ac_objext'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; }; then
37518 wx_cv_func_gettimeofday_has_2_args=yes
37519 else
37520 echo "$as_me: failed program was:" >&5
37521 sed 's/^/| /' conftest.$ac_ext >&5
37522
37523 cat >conftest.$ac_ext <<_ACEOF
37524 /* confdefs.h. */
37525 _ACEOF
37526 cat confdefs.h >>conftest.$ac_ext
37527 cat >>conftest.$ac_ext <<_ACEOF
37528 /* end confdefs.h. */
37529
37530 #include <sys/time.h>
37531 #include <unistd.h>
37532
37533 int
37534 main ()
37535 {
37536
37537 struct timeval tv;
37538 gettimeofday(&tv);
37539
37540 ;
37541 return 0;
37542 }
37543 _ACEOF
37544 rm -f conftest.$ac_objext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37546 (eval $ac_compile) 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try='test -z "$ac_cxx_werror_flag"
37554 || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_func_gettimeofday_has_2_args=no
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571
37572 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37573 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37574 wx_cv_func_gettimeofday_has_2_args=unknown
37575
37576
37577 fi
37578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37579
37580 fi
37581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37582 ac_ext=c
37583 ac_cpp='$CPP $CPPFLAGS'
37584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37587
37588
37589 fi
37590 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37591 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37592
37593 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37594 cat >>confdefs.h <<\_ACEOF
37595 #define WX_GETTIMEOFDAY_NO_TZ 1
37596 _ACEOF
37597
37598 fi
37599 fi
37600
37601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
37602 fi
37603
37604
37605 if test "$wxUSE_SOCKETS" = "yes"; then
37606 if test "$wxUSE_MGL" = "1"; then
37607 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37608 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37609 wxUSE_SOCKETS="no"
37610 fi
37611 fi
37612
37613 if test "$wxUSE_SOCKETS" = "yes"; then
37614 if test "$TOOLKIT" != "MSW"; then
37615 echo "$as_me:$LINENO: checking for socket" >&5
37616 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37617 if test "${ac_cv_func_socket+set}" = set; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37619 else
37620 cat >conftest.$ac_ext <<_ACEOF
37621 /* confdefs.h. */
37622 _ACEOF
37623 cat confdefs.h >>conftest.$ac_ext
37624 cat >>conftest.$ac_ext <<_ACEOF
37625 /* end confdefs.h. */
37626 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37628 #define socket innocuous_socket
37629
37630 /* System header to define __stub macros and hopefully few prototypes,
37631 which can conflict with char socket (); below.
37632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37633 <limits.h> exists even on freestanding compilers. */
37634
37635 #ifdef __STDC__
37636 # include <limits.h>
37637 #else
37638 # include <assert.h>
37639 #endif
37640
37641 #undef socket
37642
37643 /* Override any gcc2 internal prototype to avoid an error. */
37644 #ifdef __cplusplus
37645 extern "C"
37646 {
37647 #endif
37648 /* We use char because int might match the return type of a gcc2
37649 builtin and then its argument prototype would still apply. */
37650 char socket ();
37651 /* The GNU C library defines this for functions which it implements
37652 to always fail with ENOSYS. Some functions are actually named
37653 something starting with __ and the normal name is an alias. */
37654 #if defined (__stub_socket) || defined (__stub___socket)
37655 choke me
37656 #else
37657 char (*f) () = socket;
37658 #endif
37659 #ifdef __cplusplus
37660 }
37661 #endif
37662
37663 int
37664 main ()
37665 {
37666 return f != socket;
37667 ;
37668 return 0;
37669 }
37670 _ACEOF
37671 rm -f conftest.$ac_objext conftest$ac_exeext
37672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37673 (eval $ac_link) 2>conftest.er1
37674 ac_status=$?
37675 grep -v '^ *+' conftest.er1 >conftest.err
37676 rm -f conftest.er1
37677 cat conftest.err >&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); } &&
37680 { ac_try='test -z "$ac_c_werror_flag"
37681 || test ! -s conftest.err'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37684 ac_status=$?
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; } &&
37687 { ac_try='test -s conftest$ac_exeext'
37688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37689 (eval $ac_try) 2>&5
37690 ac_status=$?
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); }; }; then
37693 ac_cv_func_socket=yes
37694 else
37695 echo "$as_me: failed program was:" >&5
37696 sed 's/^/| /' conftest.$ac_ext >&5
37697
37698 ac_cv_func_socket=no
37699 fi
37700 rm -f conftest.err conftest.$ac_objext \
37701 conftest$ac_exeext conftest.$ac_ext
37702 fi
37703 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37704 echo "${ECHO_T}$ac_cv_func_socket" >&6
37705 if test $ac_cv_func_socket = yes; then
37706 :
37707 else
37708
37709 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37710 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37711 if test "${ac_cv_lib_socket_socket+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37713 else
37714 ac_check_lib_save_LIBS=$LIBS
37715 LIBS="-lsocket $LIBS"
37716 cat >conftest.$ac_ext <<_ACEOF
37717 /* confdefs.h. */
37718 _ACEOF
37719 cat confdefs.h >>conftest.$ac_ext
37720 cat >>conftest.$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722
37723 /* Override any gcc2 internal prototype to avoid an error. */
37724 #ifdef __cplusplus
37725 extern "C"
37726 #endif
37727 /* We use char because int might match the return type of a gcc2
37728 builtin and then its argument prototype would still apply. */
37729 char socket ();
37730 int
37731 main ()
37732 {
37733 socket ();
37734 ;
37735 return 0;
37736 }
37737 _ACEOF
37738 rm -f conftest.$ac_objext conftest$ac_exeext
37739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37740 (eval $ac_link) 2>conftest.er1
37741 ac_status=$?
37742 grep -v '^ *+' conftest.er1 >conftest.err
37743 rm -f conftest.er1
37744 cat conftest.err >&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); } &&
37747 { ac_try='test -z "$ac_c_werror_flag"
37748 || test ! -s conftest.err'
37749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37750 (eval $ac_try) 2>&5
37751 ac_status=$?
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); }; } &&
37754 { ac_try='test -s conftest$ac_exeext'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; }; then
37760 ac_cv_lib_socket_socket=yes
37761 else
37762 echo "$as_me: failed program was:" >&5
37763 sed 's/^/| /' conftest.$ac_ext >&5
37764
37765 ac_cv_lib_socket_socket=no
37766 fi
37767 rm -f conftest.err conftest.$ac_objext \
37768 conftest$ac_exeext conftest.$ac_ext
37769 LIBS=$ac_check_lib_save_LIBS
37770 fi
37771 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37772 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37773 if test $ac_cv_lib_socket_socket = yes; then
37774 if test "$INET_LINK" != " -lsocket"; then
37775 INET_LINK="$INET_LINK -lsocket"
37776 fi
37777 else
37778
37779 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37780 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37781 wxUSE_SOCKETS=no
37782
37783
37784 fi
37785
37786
37787
37788 fi
37789
37790 fi
37791 fi
37792
37793 if test "$wxUSE_SOCKETS" = "yes" ; then
37794 if test "$TOOLKIT" != "MSW"; then
37795 ac_ext=cc
37796 ac_cpp='$CXXCPP $CPPFLAGS'
37797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37800
37801 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37802 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37803 if test "${wx_cv_type_getsockname3+set}" = set; then
37804 echo $ECHO_N "(cached) $ECHO_C" >&6
37805 else
37806
37807 cat >conftest.$ac_ext <<_ACEOF
37808 /* confdefs.h. */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37813
37814 #include <sys/types.h>
37815 #include <sys/socket.h>
37816
37817 int
37818 main ()
37819 {
37820
37821 socklen_t len;
37822 getsockname(0, 0, &len);
37823
37824 ;
37825 return 0;
37826 }
37827 _ACEOF
37828 rm -f conftest.$ac_objext
37829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37830 (eval $ac_compile) 2>conftest.er1
37831 ac_status=$?
37832 grep -v '^ *+' conftest.er1 >conftest.err
37833 rm -f conftest.er1
37834 cat conftest.err >&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); } &&
37837 { ac_try='test -z "$ac_cxx_werror_flag"
37838 || test ! -s conftest.err'
37839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37840 (eval $ac_try) 2>&5
37841 ac_status=$?
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); }; } &&
37844 { ac_try='test -s conftest.$ac_objext'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37847 ac_status=$?
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; }; then
37850 wx_cv_type_getsockname3=socklen_t
37851 else
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.$ac_ext >&5
37854
37855
37856 CFLAGS_OLD="$CFLAGS"
37857 if test "$GCC" = yes ; then
37858 CFLAGS="$CFLAGS -Werror"
37859 fi
37860
37861 cat >conftest.$ac_ext <<_ACEOF
37862 /* confdefs.h. */
37863 _ACEOF
37864 cat confdefs.h >>conftest.$ac_ext
37865 cat >>conftest.$ac_ext <<_ACEOF
37866 /* end confdefs.h. */
37867
37868 #include <sys/types.h>
37869 #include <sys/socket.h>
37870
37871 int
37872 main ()
37873 {
37874
37875 size_t len;
37876 getsockname(0, 0, &len);
37877
37878 ;
37879 return 0;
37880 }
37881 _ACEOF
37882 rm -f conftest.$ac_objext
37883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37884 (eval $ac_compile) 2>conftest.er1
37885 ac_status=$?
37886 grep -v '^ *+' conftest.er1 >conftest.err
37887 rm -f conftest.er1
37888 cat conftest.err >&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } &&
37891 { ac_try='test -z "$ac_cxx_werror_flag"
37892 || test ! -s conftest.err'
37893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37894 (eval $ac_try) 2>&5
37895 ac_status=$?
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); }; } &&
37898 { ac_try='test -s conftest.$ac_objext'
37899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37900 (eval $ac_try) 2>&5
37901 ac_status=$?
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); }; }; then
37904 wx_cv_type_getsockname3=size_t
37905 else
37906 echo "$as_me: failed program was:" >&5
37907 sed 's/^/| /' conftest.$ac_ext >&5
37908
37909 cat >conftest.$ac_ext <<_ACEOF
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915
37916 #include <sys/types.h>
37917 #include <sys/socket.h>
37918
37919 int
37920 main ()
37921 {
37922
37923 int len;
37924 getsockname(0, 0, &len);
37925
37926 ;
37927 return 0;
37928 }
37929 _ACEOF
37930 rm -f conftest.$ac_objext
37931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37932 (eval $ac_compile) 2>conftest.er1
37933 ac_status=$?
37934 grep -v '^ *+' conftest.er1 >conftest.err
37935 rm -f conftest.er1
37936 cat conftest.err >&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } &&
37939 { ac_try='test -z "$ac_cxx_werror_flag"
37940 || test ! -s conftest.err'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; } &&
37946 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37952 wx_cv_type_getsockname3=int
37953 else
37954 echo "$as_me: failed program was:" >&5
37955 sed 's/^/| /' conftest.$ac_ext >&5
37956
37957 wx_cv_type_getsockname3=unknown
37958
37959 fi
37960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37961
37962 fi
37963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37964
37965 CFLAGS="$CFLAGS_OLD"
37966
37967
37968 fi
37969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37970
37971 fi
37972 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37973 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37974
37975 if test "$wx_cv_type_getsockname3" = "unknown"; then
37976 wxUSE_SOCKETS=no
37977 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37978 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37979 else
37980 cat >>confdefs.h <<_ACEOF
37981 #define SOCKLEN_T $wx_cv_type_getsockname3
37982 _ACEOF
37983
37984 fi
37985 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37986 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37987 if test "${wx_cv_type_getsockopt5+set}" = set; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997
37998 #include <sys/types.h>
37999 #include <sys/socket.h>
38000
38001 int
38002 main ()
38003 {
38004
38005 socklen_t len;
38006 getsockopt(0, 0, 0, 0, &len);
38007
38008 ;
38009 return 0;
38010 }
38011 _ACEOF
38012 rm -f conftest.$ac_objext
38013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38014 (eval $ac_compile) 2>conftest.er1
38015 ac_status=$?
38016 grep -v '^ *+' conftest.er1 >conftest.err
38017 rm -f conftest.er1
38018 cat conftest.err >&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); } &&
38021 { ac_try='test -z "$ac_cxx_werror_flag"
38022 || test ! -s conftest.err'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38025 ac_status=$?
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; } &&
38028 { ac_try='test -s conftest.$ac_objext'
38029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38030 (eval $ac_try) 2>&5
38031 ac_status=$?
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); }; }; then
38034 wx_cv_type_getsockopt5=socklen_t
38035 else
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.$ac_ext >&5
38038
38039
38040 CFLAGS_OLD="$CFLAGS"
38041 if test "$GCC" = yes ; then
38042 CFLAGS="$CFLAGS -Werror"
38043 fi
38044
38045 cat >conftest.$ac_ext <<_ACEOF
38046 /* confdefs.h. */
38047 _ACEOF
38048 cat confdefs.h >>conftest.$ac_ext
38049 cat >>conftest.$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38051
38052 #include <sys/types.h>
38053 #include <sys/socket.h>
38054
38055 int
38056 main ()
38057 {
38058
38059 size_t len;
38060 getsockopt(0, 0, 0, 0, &len);
38061
38062 ;
38063 return 0;
38064 }
38065 _ACEOF
38066 rm -f conftest.$ac_objext
38067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38068 (eval $ac_compile) 2>conftest.er1
38069 ac_status=$?
38070 grep -v '^ *+' conftest.er1 >conftest.err
38071 rm -f conftest.er1
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } &&
38075 { ac_try='test -z "$ac_cxx_werror_flag"
38076 || test ! -s conftest.err'
38077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38078 (eval $ac_try) 2>&5
38079 ac_status=$?
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); }; } &&
38082 { ac_try='test -s conftest.$ac_objext'
38083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38084 (eval $ac_try) 2>&5
38085 ac_status=$?
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); }; }; then
38088 wx_cv_type_getsockopt5=size_t
38089 else
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38092
38093 cat >conftest.$ac_ext <<_ACEOF
38094 /* confdefs.h. */
38095 _ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38099
38100 #include <sys/types.h>
38101 #include <sys/socket.h>
38102
38103 int
38104 main ()
38105 {
38106
38107 int len;
38108 getsockopt(0, 0, 0, 0, &len);
38109
38110 ;
38111 return 0;
38112 }
38113 _ACEOF
38114 rm -f conftest.$ac_objext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38116 (eval $ac_compile) 2>conftest.er1
38117 ac_status=$?
38118 grep -v '^ *+' conftest.er1 >conftest.err
38119 rm -f conftest.er1
38120 cat conftest.err >&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } &&
38123 { ac_try='test -z "$ac_cxx_werror_flag"
38124 || test ! -s conftest.err'
38125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126 (eval $ac_try) 2>&5
38127 ac_status=$?
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); }; } &&
38130 { ac_try='test -s conftest.$ac_objext'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38133 ac_status=$?
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; }; then
38136 wx_cv_type_getsockopt5=int
38137 else
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38140
38141 wx_cv_type_getsockopt5=unknown
38142
38143 fi
38144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38145
38146 fi
38147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38148
38149 CFLAGS="$CFLAGS_OLD"
38150
38151
38152 fi
38153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38154
38155 fi
38156 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38157 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38158
38159 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38160 wxUSE_SOCKETS=no
38161 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38162 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38163 else
38164 cat >>confdefs.h <<_ACEOF
38165 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38166 _ACEOF
38167
38168 fi
38169 ac_ext=c
38170 ac_cpp='$CPP $CPPFLAGS'
38171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38174
38175 fi
38176 fi
38177
38178 if test "$wxUSE_SOCKETS" = "yes" ; then
38179 cat >>confdefs.h <<\_ACEOF
38180 #define wxUSE_SOCKETS 1
38181 _ACEOF
38182
38183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38184 fi
38185
38186 if test "$wxUSE_PROTOCOL" = "yes"; then
38187 if test "$wxUSE_SOCKETS" != "yes"; then
38188 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38189 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38190 wxUSE_PROTOCOL=no
38191 fi
38192 fi
38193
38194 if test "$wxUSE_PROTOCOL" = "yes"; then
38195 cat >>confdefs.h <<\_ACEOF
38196 #define wxUSE_PROTOCOL 1
38197 _ACEOF
38198
38199
38200 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38201 cat >>confdefs.h <<\_ACEOF
38202 #define wxUSE_PROTOCOL_HTTP 1
38203 _ACEOF
38204
38205 fi
38206 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38207 cat >>confdefs.h <<\_ACEOF
38208 #define wxUSE_PROTOCOL_FTP 1
38209 _ACEOF
38210
38211 fi
38212 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38213 cat >>confdefs.h <<\_ACEOF
38214 #define wxUSE_PROTOCOL_FILE 1
38215 _ACEOF
38216
38217 fi
38218 else
38219 if test "$wxUSE_FS_INET" = "yes"; then
38220 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38221 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38222 wxUSE_FS_INET="no"
38223 fi
38224 fi
38225
38226 if test "$wxUSE_URL" = "yes"; then
38227 if test "$wxUSE_PROTOCOL" != "yes"; then
38228 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38229 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38230 wxUSE_URL=no
38231 fi
38232 if test "$wxUSE_URL" = "yes"; then
38233 cat >>confdefs.h <<\_ACEOF
38234 #define wxUSE_URL 1
38235 _ACEOF
38236
38237 fi
38238 fi
38239
38240 if test "$wxUSE_FS_INET" = "yes"; then
38241 cat >>confdefs.h <<\_ACEOF
38242 #define wxUSE_FS_INET 1
38243 _ACEOF
38244
38245 fi
38246
38247
38248 if test "$wxUSE_GUI" = "yes"; then
38249 if test "$wxUSE_JOYSTICK" = "yes"; then
38250
38251 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38252
38253 for ac_header in linux/joystick.h
38254 do
38255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38257 echo "$as_me:$LINENO: checking for $ac_header" >&5
38258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 fi
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38264 else
38265 # Is the header compilable?
38266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h. */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274 $ac_includes_default
38275 #include <$ac_header>
38276 _ACEOF
38277 rm -f conftest.$ac_objext
38278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38279 (eval $ac_compile) 2>conftest.er1
38280 ac_status=$?
38281 grep -v '^ *+' conftest.er1 >conftest.err
38282 rm -f conftest.er1
38283 cat conftest.err >&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } &&
38286 { ac_try='test -z "$ac_c_werror_flag"
38287 || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38290 ac_status=$?
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try='test -s conftest.$ac_objext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 ac_header_compiler=yes
38300 else
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.$ac_ext >&5
38303
38304 ac_header_compiler=no
38305 fi
38306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38308 echo "${ECHO_T}$ac_header_compiler" >&6
38309
38310 # Is the header present?
38311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38313 cat >conftest.$ac_ext <<_ACEOF
38314 /* confdefs.h. */
38315 _ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 #include <$ac_header>
38320 _ACEOF
38321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38323 ac_status=$?
38324 grep -v '^ *+' conftest.er1 >conftest.err
38325 rm -f conftest.er1
38326 cat conftest.err >&5
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); } >/dev/null; then
38329 if test -s conftest.err; then
38330 ac_cpp_err=$ac_c_preproc_warn_flag
38331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38332 else
38333 ac_cpp_err=
38334 fi
38335 else
38336 ac_cpp_err=yes
38337 fi
38338 if test -z "$ac_cpp_err"; then
38339 ac_header_preproc=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 ac_header_preproc=no
38345 fi
38346 rm -f conftest.err conftest.$ac_ext
38347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38348 echo "${ECHO_T}$ac_header_preproc" >&6
38349
38350 # So? What about this header?
38351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38352 yes:no: )
38353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38357 ac_header_preproc=yes
38358 ;;
38359 no:yes:* )
38360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38372 (
38373 cat <<\_ASBOX
38374 ## ----------------------------------------- ##
38375 ## Report this to wx-dev@lists.wxwidgets.org ##
38376 ## ----------------------------------------- ##
38377 _ASBOX
38378 ) |
38379 sed "s/^/$as_me: WARNING: /" >&2
38380 ;;
38381 esac
38382 echo "$as_me:$LINENO: checking for $ac_header" >&5
38383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38385 echo $ECHO_N "(cached) $ECHO_C" >&6
38386 else
38387 eval "$as_ac_Header=\$ac_header_preproc"
38388 fi
38389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38391
38392 fi
38393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38394 cat >>confdefs.h <<_ACEOF
38395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38396 _ACEOF
38397
38398 fi
38399
38400 done
38401
38402 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38403 wxUSE_JOYSTICK=no
38404 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38405 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38406 fi
38407 else
38408 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38409 wxUSE_JOYSTICK=no
38410 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38411 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38412 fi
38413 fi
38414
38415
38416 if test "$wxUSE_JOYSTICK" = "yes"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define wxUSE_JOYSTICK 1
38419 _ACEOF
38420
38421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
38422 fi
38423 fi
38424 fi
38425
38426
38427
38428 if test "$wxUSE_FONTMAP" = "yes" ; then
38429 cat >>confdefs.h <<\_ACEOF
38430 #define wxUSE_FONTMAP 1
38431 _ACEOF
38432
38433 fi
38434
38435 if test "$wxUSE_UNICODE" = "yes" ; then
38436 cat >>confdefs.h <<\_ACEOF
38437 #define wxUSE_UNICODE 1
38438 _ACEOF
38439
38440
38441 if test "$USE_WIN32" != 1; then
38442 wxUSE_UNICODE_MSLU=no
38443 fi
38444
38445 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38446 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38447 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38448 if test "${ac_cv_lib_unicows_main+set}" = set; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 else
38451 ac_check_lib_save_LIBS=$LIBS
38452 LIBS="-lunicows $LIBS"
38453 cat >conftest.$ac_ext <<_ACEOF
38454 /* confdefs.h. */
38455 _ACEOF
38456 cat confdefs.h >>conftest.$ac_ext
38457 cat >>conftest.$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459
38460
38461 int
38462 main ()
38463 {
38464 main ();
38465 ;
38466 return 0;
38467 }
38468 _ACEOF
38469 rm -f conftest.$ac_objext conftest$ac_exeext
38470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38471 (eval $ac_link) 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } &&
38478 { ac_try='test -z "$ac_c_werror_flag"
38479 || test ! -s conftest.err'
38480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38481 (eval $ac_try) 2>&5
38482 ac_status=$?
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); }; } &&
38485 { ac_try='test -s conftest$ac_exeext'
38486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38487 (eval $ac_try) 2>&5
38488 ac_status=$?
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); }; }; then
38491 ac_cv_lib_unicows_main=yes
38492 else
38493 echo "$as_me: failed program was:" >&5
38494 sed 's/^/| /' conftest.$ac_ext >&5
38495
38496 ac_cv_lib_unicows_main=no
38497 fi
38498 rm -f conftest.err conftest.$ac_objext \
38499 conftest$ac_exeext conftest.$ac_ext
38500 LIBS=$ac_check_lib_save_LIBS
38501 fi
38502 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38503 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38504 if test $ac_cv_lib_unicows_main = yes; then
38505
38506 cat >>confdefs.h <<\_ACEOF
38507 #define wxUSE_UNICODE_MSLU 1
38508 _ACEOF
38509
38510
38511 else
38512
38513 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38514 Applications will only run on Windows NT/2000/XP!" >&5
38515 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38516 Applications will only run on Windows NT/2000/XP!" >&2;}
38517 wxUSE_UNICODE_MSLU=no
38518
38519 fi
38520
38521 fi
38522 fi
38523
38524 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38525 cat >>confdefs.h <<\_ACEOF
38526 #define wxUSE_EXPERIMENTAL_PRINTF 1
38527 _ACEOF
38528
38529 fi
38530
38531
38532 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38533 cat >>confdefs.h <<\_ACEOF
38534 #define wxUSE_POSTSCRIPT 1
38535 _ACEOF
38536
38537 fi
38538
38539 cat >>confdefs.h <<\_ACEOF
38540 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38541 _ACEOF
38542
38543
38544 cat >>confdefs.h <<\_ACEOF
38545 #define wxUSE_NORMALIZED_PS_FONTS 1
38546 _ACEOF
38547
38548
38549
38550 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38551 cat >>confdefs.h <<\_ACEOF
38552 #define wxUSE_CONSTRAINTS 1
38553 _ACEOF
38554
38555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
38556 fi
38557
38558 if test "$wxUSE_MDI" = "yes"; then
38559 cat >>confdefs.h <<\_ACEOF
38560 #define wxUSE_MDI 1
38561 _ACEOF
38562
38563
38564 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38565 cat >>confdefs.h <<\_ACEOF
38566 #define wxUSE_MDI_ARCHITECTURE 1
38567 _ACEOF
38568
38569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
38570 fi
38571 fi
38572
38573 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38574 cat >>confdefs.h <<\_ACEOF
38575 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38576 _ACEOF
38577
38578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
38579 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
38581 fi
38582 fi
38583
38584 if test "$wxUSE_HELP" = "yes"; then
38585 cat >>confdefs.h <<\_ACEOF
38586 #define wxUSE_HELP 1
38587 _ACEOF
38588
38589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
38590
38591 if test "$wxUSE_MSW" = 1; then
38592 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38593 cat >>confdefs.h <<\_ACEOF
38594 #define wxUSE_MS_HTML_HELP 1
38595 _ACEOF
38596
38597 fi
38598 fi
38599
38600 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38601 if test "$wxUSE_HTML" = "yes"; then
38602 cat >>confdefs.h <<\_ACEOF
38603 #define wxUSE_WXHTML_HELP 1
38604 _ACEOF
38605
38606 else
38607 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38608 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38609 wxUSE_WXHTML_HELP=no
38610 fi
38611 fi
38612 fi
38613
38614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38615 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38616 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38617 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38618 else
38619 cat >>confdefs.h <<\_ACEOF
38620 #define wxUSE_PRINTING_ARCHITECTURE 1
38621 _ACEOF
38622
38623 fi
38624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
38625 fi
38626
38627 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38628 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38629 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38630 { (exit 1); exit 1; }; }
38631 fi
38632
38633
38634 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
38635 -o "$wxUSE_CLIPBOARD" = "yes" \
38636 -o "$wxUSE_OLE" = "yes" \
38637 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
38638
38639 for ac_header in ole2.h
38640 do
38641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38643 echo "$as_me:$LINENO: checking for $ac_header" >&5
38644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38646 echo $ECHO_N "(cached) $ECHO_C" >&6
38647 fi
38648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38650 else
38651 # Is the header compilable?
38652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38654 cat >conftest.$ac_ext <<_ACEOF
38655 /* confdefs.h. */
38656 _ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660 $ac_includes_default
38661 #include <$ac_header>
38662 _ACEOF
38663 rm -f conftest.$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_c_werror_flag"
38673 || test ! -s conftest.err'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38676 ac_status=$?
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; } &&
38679 { ac_try='test -s conftest.$ac_objext'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38682 ac_status=$?
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; }; then
38685 ac_header_compiler=yes
38686 else
38687 echo "$as_me: failed program was:" >&5
38688 sed 's/^/| /' conftest.$ac_ext >&5
38689
38690 ac_header_compiler=no
38691 fi
38692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38694 echo "${ECHO_T}$ac_header_compiler" >&6
38695
38696 # Is the header present?
38697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38699 cat >conftest.$ac_ext <<_ACEOF
38700 /* confdefs.h. */
38701 _ACEOF
38702 cat confdefs.h >>conftest.$ac_ext
38703 cat >>conftest.$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705 #include <$ac_header>
38706 _ACEOF
38707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38709 ac_status=$?
38710 grep -v '^ *+' conftest.er1 >conftest.err
38711 rm -f conftest.er1
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } >/dev/null; then
38715 if test -s conftest.err; then
38716 ac_cpp_err=$ac_c_preproc_warn_flag
38717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38718 else
38719 ac_cpp_err=
38720 fi
38721 else
38722 ac_cpp_err=yes
38723 fi
38724 if test -z "$ac_cpp_err"; then
38725 ac_header_preproc=yes
38726 else
38727 echo "$as_me: failed program was:" >&5
38728 sed 's/^/| /' conftest.$ac_ext >&5
38729
38730 ac_header_preproc=no
38731 fi
38732 rm -f conftest.err conftest.$ac_ext
38733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38734 echo "${ECHO_T}$ac_header_preproc" >&6
38735
38736 # So? What about this header?
38737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38738 yes:no: )
38739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38743 ac_header_preproc=yes
38744 ;;
38745 no:yes:* )
38746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38758 (
38759 cat <<\_ASBOX
38760 ## ----------------------------------------- ##
38761 ## Report this to wx-dev@lists.wxwidgets.org ##
38762 ## ----------------------------------------- ##
38763 _ASBOX
38764 ) |
38765 sed "s/^/$as_me: WARNING: /" >&2
38766 ;;
38767 esac
38768 echo "$as_me:$LINENO: checking for $ac_header" >&5
38769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 else
38773 eval "$as_ac_Header=\$ac_header_preproc"
38774 fi
38775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38777
38778 fi
38779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38780 cat >>confdefs.h <<_ACEOF
38781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38782 _ACEOF
38783
38784 fi
38785
38786 done
38787
38788
38789 if test "$ac_cv_header_ole2_h" = "yes" ; then
38790 if test "$GCC" = yes ; then
38791
38792
38793 ac_ext=cc
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799
38800 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38801 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38802 cat >conftest.$ac_ext <<_ACEOF
38803 /* confdefs.h. */
38804 _ACEOF
38805 cat confdefs.h >>conftest.$ac_ext
38806 cat >>conftest.$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808 #include <windows.h>
38809 #include <ole2.h>
38810 int
38811 main ()
38812 {
38813
38814 ;
38815 return 0;
38816 }
38817 _ACEOF
38818 rm -f conftest.$ac_objext
38819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38820 (eval $ac_compile) 2>conftest.er1
38821 ac_status=$?
38822 grep -v '^ *+' conftest.er1 >conftest.err
38823 rm -f conftest.er1
38824 cat conftest.err >&5
38825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38826 (exit $ac_status); } &&
38827 { ac_try='test -z "$ac_cxx_werror_flag"
38828 || test ! -s conftest.err'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38831 ac_status=$?
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; } &&
38834 { ac_try='test -s conftest.$ac_objext'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38837 ac_status=$?
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; }; then
38840 echo "$as_me:$LINENO: result: no" >&5
38841 echo "${ECHO_T}no" >&6
38842 else
38843 echo "$as_me: failed program was:" >&5
38844 sed 's/^/| /' conftest.$ac_ext >&5
38845
38846 echo "$as_me:$LINENO: result: yes" >&5
38847 echo "${ECHO_T}yes" >&6
38848 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38849 fi
38850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38851 ac_ext=c
38852 ac_cpp='$CPP $CPPFLAGS'
38853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38856
38857 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38858 if test "$wxUSE_OLE" = "yes" ; then
38859 cat >>confdefs.h <<\_ACEOF
38860 #define wxUSE_OLE 1
38861 _ACEOF
38862
38863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
38864 fi
38865 fi
38866
38867 if test "$wxUSE_DATAOBJ" = "yes" ; then
38868 cat >>confdefs.h <<\_ACEOF
38869 #define wxUSE_DATAOBJ 1
38870 _ACEOF
38871
38872 fi
38873 else
38874 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38875 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38876
38877 wxUSE_CLIPBOARD=no
38878 wxUSE_DRAG_AND_DROP=no
38879 wxUSE_DATAOBJ=no
38880 wxUSE_OLE=no
38881 fi
38882
38883 if test "$wxUSE_METAFILE" = "yes"; then
38884 cat >>confdefs.h <<\_ACEOF
38885 #define wxUSE_METAFILE 1
38886 _ACEOF
38887
38888
38889 cat >>confdefs.h <<\_ACEOF
38890 #define wxUSE_ENH_METAFILE 1
38891 _ACEOF
38892
38893 fi
38894 fi
38895
38896 if test "$wxUSE_IPC" = "yes"; then
38897 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38898 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38899 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38900 wxUSE_IPC=no
38901 fi
38902
38903 if test "$wxUSE_IPC" = "yes"; then
38904 cat >>confdefs.h <<\_ACEOF
38905 #define wxUSE_IPC 1
38906 _ACEOF
38907
38908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
38909 fi
38910 fi
38911
38912 if test "$wxUSE_CLIPBOARD" = "yes"; then
38913 if test "$wxUSE_MGL" = 1; then
38914 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38915 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38916 wxUSE_CLIPBOARD=no
38917 fi
38918
38919 if test "$wxUSE_CLIPBOARD" = "yes"; then
38920 cat >>confdefs.h <<\_ACEOF
38921 #define wxUSE_CLIPBOARD 1
38922 _ACEOF
38923
38924
38925 cat >>confdefs.h <<\_ACEOF
38926 #define wxUSE_DATAOBJ 1
38927 _ACEOF
38928
38929 fi
38930 fi
38931
38932 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38933 if test "$wxUSE_GTK" = 1; then
38934 if test "$WXGTK12" != 1; then
38935 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38936 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38937 wxUSE_DRAG_AND_DROP=no
38938 fi
38939 fi
38940
38941 if test "$wxUSE_MOTIF" = 1; then
38942 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38943 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38944 wxUSE_DRAG_AND_DROP=no
38945 fi
38946
38947 if test "$wxUSE_X11" = 1; then
38948 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38949 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38950 wxUSE_DRAG_AND_DROP=no
38951 fi
38952
38953 if test "$wxUSE_MGL" = 1; then
38954 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38955 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38956 wxUSE_DRAG_AND_DROP=no
38957 fi
38958
38959 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38960 cat >>confdefs.h <<\_ACEOF
38961 #define wxUSE_DRAG_AND_DROP 1
38962 _ACEOF
38963
38964 fi
38965
38966 fi
38967
38968 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
38970 fi
38971
38972 if test "$wxUSE_SPLINES" = "yes" ; then
38973 cat >>confdefs.h <<\_ACEOF
38974 #define wxUSE_SPLINES 1
38975 _ACEOF
38976
38977 fi
38978
38979
38980 USES_CONTROLS=0
38981 if test "$wxUSE_CONTROLS" = "yes"; then
38982 USES_CONTROLS=1
38983 fi
38984
38985 if test "$wxUSE_ACCEL" = "yes"; then
38986 cat >>confdefs.h <<\_ACEOF
38987 #define wxUSE_ACCEL 1
38988 _ACEOF
38989
38990 USES_CONTROLS=1
38991 fi
38992
38993 if test "$wxUSE_BUTTON" = "yes"; then
38994 cat >>confdefs.h <<\_ACEOF
38995 #define wxUSE_BUTTON 1
38996 _ACEOF
38997
38998 USES_CONTROLS=1
38999 fi
39000
39001 if test "$wxUSE_BMPBUTTON" = "yes"; then
39002 cat >>confdefs.h <<\_ACEOF
39003 #define wxUSE_BMPBUTTON 1
39004 _ACEOF
39005
39006 USES_CONTROLS=1
39007 fi
39008
39009 if test "$wxUSE_CALCTRL" = "yes"; then
39010 cat >>confdefs.h <<\_ACEOF
39011 #define wxUSE_CALENDARCTRL 1
39012 _ACEOF
39013
39014 USES_CONTROLS=1
39015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39016 fi
39017
39018 if test "$wxUSE_CARET" = "yes"; then
39019 cat >>confdefs.h <<\_ACEOF
39020 #define wxUSE_CARET 1
39021 _ACEOF
39022
39023 USES_CONTROLS=1
39024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39025 fi
39026
39027 if test "$wxUSE_COMBOBOX" = "yes"; then
39028 cat >>confdefs.h <<\_ACEOF
39029 #define wxUSE_COMBOBOX 1
39030 _ACEOF
39031
39032 USES_CONTROLS=1
39033 fi
39034
39035 if test "$wxUSE_CHOICE" = "yes"; then
39036 cat >>confdefs.h <<\_ACEOF
39037 #define wxUSE_CHOICE 1
39038 _ACEOF
39039
39040 USES_CONTROLS=1
39041 fi
39042
39043 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39044 cat >>confdefs.h <<\_ACEOF
39045 #define wxUSE_CHOICEBOOK 1
39046 _ACEOF
39047
39048 USES_CONTROLS=1
39049 fi
39050
39051 if test "$wxUSE_CHECKBOX" = "yes"; then
39052 cat >>confdefs.h <<\_ACEOF
39053 #define wxUSE_CHECKBOX 1
39054 _ACEOF
39055
39056 USES_CONTROLS=1
39057 fi
39058
39059 if test "$wxUSE_CHECKLST" = "yes"; then
39060 cat >>confdefs.h <<\_ACEOF
39061 #define wxUSE_CHECKLISTBOX 1
39062 _ACEOF
39063
39064 USES_CONTROLS=1
39065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39066 fi
39067
39068 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39069 cat >>confdefs.h <<\_ACEOF
39070 #define wxUSE_DATEPICKCTRL 1
39071 _ACEOF
39072
39073 USES_CONTROLS=1
39074 fi
39075
39076 if test "$wxUSE_DISPLAY" = "yes"; then
39077 cat >>confdefs.h <<\_ACEOF
39078 #define wxUSE_DISPLAY 1
39079 _ACEOF
39080
39081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39082 fi
39083
39084 if test "$wxUSE_GAUGE" = "yes"; then
39085 cat >>confdefs.h <<\_ACEOF
39086 #define wxUSE_GAUGE 1
39087 _ACEOF
39088
39089 USES_CONTROLS=1
39090 fi
39091
39092 if test "$wxUSE_GRID" = "yes"; then
39093 cat >>confdefs.h <<\_ACEOF
39094 #define wxUSE_GRID 1
39095 _ACEOF
39096
39097 USES_CONTROLS=1
39098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39099 fi
39100
39101 if test "$wxUSE_IMAGLIST" = "yes"; then
39102 cat >>confdefs.h <<\_ACEOF
39103 #define wxUSE_IMAGLIST 1
39104 _ACEOF
39105
39106 fi
39107
39108 if test "$wxUSE_LISTBOOK" = "yes"; then
39109 cat >>confdefs.h <<\_ACEOF
39110 #define wxUSE_LISTBOOK 1
39111 _ACEOF
39112
39113 USES_CONTROLS=1
39114 fi
39115
39116 if test "$wxUSE_LISTBOX" = "yes"; then
39117 cat >>confdefs.h <<\_ACEOF
39118 #define wxUSE_LISTBOX 1
39119 _ACEOF
39120
39121 USES_CONTROLS=1
39122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39123 fi
39124
39125 if test "$wxUSE_LISTCTRL" = "yes"; then
39126 if test "$wxUSE_IMAGLIST" = "yes"; then
39127 cat >>confdefs.h <<\_ACEOF
39128 #define wxUSE_LISTCTRL 1
39129 _ACEOF
39130
39131 USES_CONTROLS=1
39132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39133 else
39134 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39135 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39136 fi
39137 fi
39138
39139 if test "$wxUSE_NOTEBOOK" = "yes"; then
39140 cat >>confdefs.h <<\_ACEOF
39141 #define wxUSE_NOTEBOOK 1
39142 _ACEOF
39143
39144 USES_CONTROLS=1
39145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39146 fi
39147
39148
39149 if test "$wxUSE_RADIOBOX" = "yes"; then
39150 cat >>confdefs.h <<\_ACEOF
39151 #define wxUSE_RADIOBOX 1
39152 _ACEOF
39153
39154 USES_CONTROLS=1
39155 fi
39156
39157 if test "$wxUSE_RADIOBTN" = "yes"; then
39158 cat >>confdefs.h <<\_ACEOF
39159 #define wxUSE_RADIOBTN 1
39160 _ACEOF
39161
39162 USES_CONTROLS=1
39163 fi
39164
39165 if test "$wxUSE_SASH" = "yes"; then
39166 cat >>confdefs.h <<\_ACEOF
39167 #define wxUSE_SASH 1
39168 _ACEOF
39169
39170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39171 fi
39172
39173 if test "$wxUSE_SCROLLBAR" = "yes"; then
39174 cat >>confdefs.h <<\_ACEOF
39175 #define wxUSE_SCROLLBAR 1
39176 _ACEOF
39177
39178 USES_CONTROLS=1
39179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39180 fi
39181
39182 if test "$wxUSE_SLIDER" = "yes"; then
39183 cat >>confdefs.h <<\_ACEOF
39184 #define wxUSE_SLIDER 1
39185 _ACEOF
39186
39187 USES_CONTROLS=1
39188 fi
39189
39190 if test "$wxUSE_SPINBTN" = "yes"; then
39191 cat >>confdefs.h <<\_ACEOF
39192 #define wxUSE_SPINBTN 1
39193 _ACEOF
39194
39195 USES_CONTROLS=1
39196 fi
39197
39198 if test "$wxUSE_SPINCTRL" = "yes"; then
39199 cat >>confdefs.h <<\_ACEOF
39200 #define wxUSE_SPINCTRL 1
39201 _ACEOF
39202
39203 USES_CONTROLS=1
39204 fi
39205
39206 if test "$wxUSE_SPLITTER" = "yes"; then
39207 cat >>confdefs.h <<\_ACEOF
39208 #define wxUSE_SPLITTER 1
39209 _ACEOF
39210
39211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39212 fi
39213
39214 if test "$wxUSE_STATBMP" = "yes"; then
39215 cat >>confdefs.h <<\_ACEOF
39216 #define wxUSE_STATBMP 1
39217 _ACEOF
39218
39219 USES_CONTROLS=1
39220 fi
39221
39222 if test "$wxUSE_STATBOX" = "yes"; then
39223 cat >>confdefs.h <<\_ACEOF
39224 #define wxUSE_STATBOX 1
39225 _ACEOF
39226
39227 USES_CONTROLS=1
39228 fi
39229
39230 if test "$wxUSE_STATTEXT" = "yes"; then
39231 cat >>confdefs.h <<\_ACEOF
39232 #define wxUSE_STATTEXT 1
39233 _ACEOF
39234
39235 USES_CONTROLS=1
39236 fi
39237
39238 if test "$wxUSE_STATLINE" = "yes"; then
39239 cat >>confdefs.h <<\_ACEOF
39240 #define wxUSE_STATLINE 1
39241 _ACEOF
39242
39243 USES_CONTROLS=1
39244 fi
39245
39246 if test "$wxUSE_STATUSBAR" = "yes"; then
39247 cat >>confdefs.h <<\_ACEOF
39248 #define wxUSE_NATIVE_STATUSBAR 1
39249 _ACEOF
39250
39251 cat >>confdefs.h <<\_ACEOF
39252 #define wxUSE_STATUSBAR 1
39253 _ACEOF
39254
39255 USES_CONTROLS=1
39256
39257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39258 fi
39259
39260 if test "$wxUSE_TABDIALOG" = "yes"; then
39261 cat >>confdefs.h <<\_ACEOF
39262 #define wxUSE_TAB_DIALOG 1
39263 _ACEOF
39264
39265 fi
39266
39267 if test "$wxUSE_TEXTCTRL" = "yes"; then
39268 cat >>confdefs.h <<\_ACEOF
39269 #define wxUSE_TEXTCTRL 1
39270 _ACEOF
39271
39272 USES_CONTROLS=1
39273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39274 fi
39275
39276 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39277 if test "$wxUSE_COCOA" = 1 ; then
39278 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39279 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39280 wxUSE_TOGGLEBTN=no
39281 else
39282 if test "$wxUSE_PM" = 1; then
39283 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
39284 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
39285 wxUSE_TOGGLEBTN=no
39286 fi
39287 fi
39288 if test "$wxUSE_UNIVERSAL" = "yes"; then
39289 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39290 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39291 wxUSE_TOGGLEBTN=no
39292 fi
39293
39294 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39295 cat >>confdefs.h <<\_ACEOF
39296 #define wxUSE_TOGGLEBTN 1
39297 _ACEOF
39298
39299 USES_CONTROLS=1
39300 fi
39301 fi
39302
39303 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39304 cat >>confdefs.h <<\_ACEOF
39305 #define wxUSE_TOOLBAR_SIMPLE 1
39306 _ACEOF
39307
39308 wxUSE_TOOLBAR="yes"
39309 USES_CONTROLS=1
39310 fi
39311
39312 if test "$wxUSE_TOOLBAR" = "yes"; then
39313 cat >>confdefs.h <<\_ACEOF
39314 #define wxUSE_TOOLBAR 1
39315 _ACEOF
39316
39317 USES_CONTROLS=1
39318
39319 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39320 wxUSE_TOOLBAR_NATIVE="yes"
39321 fi
39322
39323 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39324 cat >>confdefs.h <<\_ACEOF
39325 #define wxUSE_TOOLBAR_NATIVE 1
39326 _ACEOF
39327
39328 USES_CONTROLS=1
39329 fi
39330
39331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
39332 fi
39333
39334 if test "$wxUSE_TOOLTIPS" = "yes"; then
39335 if test "$wxUSE_MOTIF" = 1; then
39336 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39337 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39338 else
39339 if test "$wxUSE_UNIVERSAL" = "yes"; then
39340 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39341 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39342 else
39343 cat >>confdefs.h <<\_ACEOF
39344 #define wxUSE_TOOLTIPS 1
39345 _ACEOF
39346
39347 fi
39348 fi
39349 fi
39350
39351 if test "$wxUSE_TREECTRL" = "yes"; then
39352 if test "$wxUSE_IMAGLIST" = "yes"; then
39353 cat >>confdefs.h <<\_ACEOF
39354 #define wxUSE_TREECTRL 1
39355 _ACEOF
39356
39357 USES_CONTROLS=1
39358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
39359 else
39360 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39361 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39362 fi
39363 fi
39364
39365 if test "$wxUSE_POPUPWIN" = "yes"; then
39366 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39367 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39368 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39369 else
39370 if test "$wxUSE_PM" = 1; then
39371 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39372 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39373 else
39374 cat >>confdefs.h <<\_ACEOF
39375 #define wxUSE_POPUPWIN 1
39376 _ACEOF
39377
39378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
39379
39380 USES_CONTROLS=1
39381 fi
39382 fi
39383 fi
39384
39385 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39387 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39388 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39389 else
39390 cat >>confdefs.h <<\_ACEOF
39391 #define wxUSE_DIALUP_MANAGER 1
39392 _ACEOF
39393
39394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
39395 fi
39396 fi
39397
39398 if test "$wxUSE_TIPWINDOW" = "yes"; then
39399 if test "$wxUSE_PM" = 1; then
39400 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39401 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39402 else
39403 cat >>confdefs.h <<\_ACEOF
39404 #define wxUSE_TIPWINDOW 1
39405 _ACEOF
39406
39407 fi
39408 fi
39409
39410 if test "$USES_CONTROLS" = 1; then
39411 cat >>confdefs.h <<\_ACEOF
39412 #define wxUSE_CONTROLS 1
39413 _ACEOF
39414
39415 fi
39416
39417
39418 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39419 cat >>confdefs.h <<\_ACEOF
39420 #define wxUSE_ACCESSIBILITY 1
39421 _ACEOF
39422
39423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
39424 fi
39425
39426 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39427 cat >>confdefs.h <<\_ACEOF
39428 #define wxUSE_DRAGIMAGE 1
39429 _ACEOF
39430
39431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
39432 fi
39433
39434 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39435 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39436 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39437 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39438 else
39439 cat >>confdefs.h <<\_ACEOF
39440 #define wxUSE_EXCEPTIONS 1
39441 _ACEOF
39442
39443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
39444 fi
39445 fi
39446
39447 USE_HTML=0
39448 if test "$wxUSE_HTML" = "yes"; then
39449 cat >>confdefs.h <<\_ACEOF
39450 #define wxUSE_HTML 1
39451 _ACEOF
39452
39453 USE_HTML=1
39454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39455 if test "$wxUSE_MAC" = 1; then
39456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
39457 fi
39458 fi
39459 if test "$wxUSE_WEBKIT" = "yes"; then
39460 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39461 old_CPPFLAGS="$CPPFLAGS"
39462 CPPFLAGS="$CPPFLAGS -x objective-c++"
39463 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39464 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39465 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39467 else
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h. */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474 #include <Carbon/Carbon.h>
39475
39476 #include <WebKit/HIWebView.h>
39477 _ACEOF
39478 rm -f conftest.$ac_objext
39479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39480 (eval $ac_compile) 2>conftest.er1
39481 ac_status=$?
39482 grep -v '^ *+' conftest.er1 >conftest.err
39483 rm -f conftest.er1
39484 cat conftest.err >&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } &&
39487 { ac_try='test -z "$ac_c_werror_flag"
39488 || test ! -s conftest.err'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39491 ac_status=$?
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; } &&
39494 { ac_try='test -s conftest.$ac_objext'
39495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39496 (eval $ac_try) 2>&5
39497 ac_status=$?
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); }; }; then
39500 ac_cv_header_WebKit_HIWebView_h=yes
39501 else
39502 echo "$as_me: failed program was:" >&5
39503 sed 's/^/| /' conftest.$ac_ext >&5
39504
39505 ac_cv_header_WebKit_HIWebView_h=no
39506 fi
39507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39508 fi
39509 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39510 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39511 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39512
39513 cat >>confdefs.h <<\_ACEOF
39514 #define wxUSE_WEBKIT 1
39515 _ACEOF
39516
39517 WEBKIT_LINK="-framework WebKit"
39518
39519 else
39520
39521 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39522 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39523 wxUSE_WEBKIT=no
39524
39525 fi
39526
39527
39528 CPPFLAGS="$old_CPPFLAGS"
39529 elif test "$wxUSE_COCOA" = 1; then
39530 cat >>confdefs.h <<\_ACEOF
39531 #define wxUSE_WEBKIT 1
39532 _ACEOF
39533
39534 else
39535 wxUSE_WEBKIT=no
39536 fi
39537 fi
39538
39539 USE_XRC=0
39540 if test "$wxUSE_XRC" = "yes"; then
39541 if test "$wxUSE_XML" != "yes"; then
39542 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39543 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39544 wxUSE_XRC=no
39545 else
39546 cat >>confdefs.h <<\_ACEOF
39547 #define wxUSE_XRC 1
39548 _ACEOF
39549
39550 USE_XRC=1
39551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
39552 fi
39553 fi
39554
39555 if test "$wxUSE_MENUS" = "yes"; then
39556 cat >>confdefs.h <<\_ACEOF
39557 #define wxUSE_MENUS 1
39558 _ACEOF
39559
39560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
39561 fi
39562
39563 if test "$wxUSE_METAFILE" = "yes"; then
39564 cat >>confdefs.h <<\_ACEOF
39565 #define wxUSE_METAFILE 1
39566 _ACEOF
39567
39568 fi
39569
39570 if test "$wxUSE_MIMETYPE" = "yes"; then
39571 cat >>confdefs.h <<\_ACEOF
39572 #define wxUSE_MIMETYPE 1
39573 _ACEOF
39574
39575 fi
39576
39577 if test "$wxUSE_MINIFRAME" = "yes"; then
39578 cat >>confdefs.h <<\_ACEOF
39579 #define wxUSE_MINIFRAME 1
39580 _ACEOF
39581
39582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
39583 fi
39584
39585 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39586 cat >>confdefs.h <<\_ACEOF
39587 #define wxUSE_SYSTEM_OPTIONS 1
39588 _ACEOF
39589
39590 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39591 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
39593 fi
39594 fi
39595
39596
39597 if test "$wxUSE_VALIDATORS" = "yes"; then
39598 cat >>confdefs.h <<\_ACEOF
39599 #define wxUSE_VALIDATORS 1
39600 _ACEOF
39601
39602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
39603 fi
39604
39605 if test "$wxUSE_PALETTE" = "yes" ; then
39606 cat >>confdefs.h <<\_ACEOF
39607 #define wxUSE_PALETTE 1
39608 _ACEOF
39609
39610 fi
39611
39612 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39613 LIBS=" -lunicows $LIBS"
39614 fi
39615
39616
39617 if test "$wxUSE_IMAGE" = "yes" ; then
39618 cat >>confdefs.h <<\_ACEOF
39619 #define wxUSE_IMAGE 1
39620 _ACEOF
39621
39622
39623 if test "$wxUSE_GIF" = "yes" ; then
39624 cat >>confdefs.h <<\_ACEOF
39625 #define wxUSE_GIF 1
39626 _ACEOF
39627
39628 fi
39629
39630 if test "$wxUSE_PCX" = "yes" ; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define wxUSE_PCX 1
39633 _ACEOF
39634
39635 fi
39636
39637 if test "$wxUSE_IFF" = "yes" ; then
39638 cat >>confdefs.h <<\_ACEOF
39639 #define wxUSE_IFF 1
39640 _ACEOF
39641
39642 fi
39643
39644 if test "$wxUSE_PNM" = "yes" ; then
39645 cat >>confdefs.h <<\_ACEOF
39646 #define wxUSE_PNM 1
39647 _ACEOF
39648
39649 fi
39650
39651 if test "$wxUSE_XPM" = "yes" ; then
39652 cat >>confdefs.h <<\_ACEOF
39653 #define wxUSE_XPM 1
39654 _ACEOF
39655
39656 fi
39657
39658 if test "$wxUSE_ICO_CUR" = "yes" ; then
39659 cat >>confdefs.h <<\_ACEOF
39660 #define wxUSE_ICO_CUR 1
39661 _ACEOF
39662
39663 fi
39664 fi
39665
39666
39667 if test "$wxUSE_CHOICEDLG" = "yes"; then
39668 cat >>confdefs.h <<\_ACEOF
39669 #define wxUSE_CHOICEDLG 1
39670 _ACEOF
39671
39672 fi
39673
39674 if test "$wxUSE_COLOURDLG" = "yes"; then
39675 cat >>confdefs.h <<\_ACEOF
39676 #define wxUSE_COLOURDLG 1
39677 _ACEOF
39678
39679 fi
39680
39681 if test "$wxUSE_FILEDLG" = "yes"; then
39682 cat >>confdefs.h <<\_ACEOF
39683 #define wxUSE_FILEDLG 1
39684 _ACEOF
39685
39686 fi
39687
39688 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39689 cat >>confdefs.h <<\_ACEOF
39690 #define wxUSE_FINDREPLDLG 1
39691 _ACEOF
39692
39693 fi
39694
39695 if test "$wxUSE_FONTDLG" = "yes"; then
39696 cat >>confdefs.h <<\_ACEOF
39697 #define wxUSE_FONTDLG 1
39698 _ACEOF
39699
39700 fi
39701
39702 if test "$wxUSE_DIRDLG" = "yes"; then
39703 if test "$wxUSE_TREECTRL" != "yes"; then
39704 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39705 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39706 else
39707 cat >>confdefs.h <<\_ACEOF
39708 #define wxUSE_DIRDLG 1
39709 _ACEOF
39710
39711 fi
39712 fi
39713
39714 if test "$wxUSE_MSGDLG" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define wxUSE_MSGDLG 1
39717 _ACEOF
39718
39719 fi
39720
39721 if test "$wxUSE_NUMBERDLG" = "yes"; then
39722 cat >>confdefs.h <<\_ACEOF
39723 #define wxUSE_NUMBERDLG 1
39724 _ACEOF
39725
39726 fi
39727
39728 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39729 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39730 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39731 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39732 else
39733 cat >>confdefs.h <<\_ACEOF
39734 #define wxUSE_PROGRESSDLG 1
39735 _ACEOF
39736
39737 fi
39738 fi
39739
39740 if test "$wxUSE_SPLASH" = "yes"; then
39741 cat >>confdefs.h <<\_ACEOF
39742 #define wxUSE_SPLASH 1
39743 _ACEOF
39744
39745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
39746 fi
39747
39748 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39750 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39751 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39752 else
39753 cat >>confdefs.h <<\_ACEOF
39754 #define wxUSE_STARTUP_TIPS 1
39755 _ACEOF
39756
39757 fi
39758 fi
39759
39760 if test "$wxUSE_TEXTDLG" = "yes"; then
39761 cat >>confdefs.h <<\_ACEOF
39762 #define wxUSE_TEXTDLG 1
39763 _ACEOF
39764
39765 fi
39766
39767 if test "$wxUSE_WIZARDDLG" = "yes"; then
39768 cat >>confdefs.h <<\_ACEOF
39769 #define wxUSE_WIZARDDLG 1
39770 _ACEOF
39771
39772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
39773 fi
39774
39775
39776 if test "$wxUSE_MEDIACTRL" = "yes"; then
39777 if test "$wxUSE_MSW" = 1; then
39778 wxUSE_DIRECTSHOW="yes"
39779
39780 for ac_header in dshow.h
39781 do
39782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39783 echo "$as_me:$LINENO: checking for $ac_header" >&5
39784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39786 echo $ECHO_N "(cached) $ECHO_C" >&6
39787 else
39788 cat >conftest.$ac_ext <<_ACEOF
39789 /* confdefs.h. */
39790 _ACEOF
39791 cat confdefs.h >>conftest.$ac_ext
39792 cat >>conftest.$ac_ext <<_ACEOF
39793 /* end confdefs.h. */
39794 #include <windows.h>
39795
39796 #include <$ac_header>
39797 _ACEOF
39798 rm -f conftest.$ac_objext
39799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39800 (eval $ac_compile) 2>conftest.er1
39801 ac_status=$?
39802 grep -v '^ *+' conftest.er1 >conftest.err
39803 rm -f conftest.er1
39804 cat conftest.err >&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } &&
39807 { ac_try='test -z "$ac_c_werror_flag"
39808 || test ! -s conftest.err'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; } &&
39814 { ac_try='test -s conftest.$ac_objext'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39817 ac_status=$?
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; }; then
39820 eval "$as_ac_Header=yes"
39821 else
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.$ac_ext >&5
39824
39825 eval "$as_ac_Header=no"
39826 fi
39827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39828 fi
39829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39832 cat >>confdefs.h <<_ACEOF
39833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39834 _ACEOF
39835
39836 else
39837
39838 wxUSE_DIRECTSHOW="no"
39839 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39840 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39841
39842 fi
39843
39844 done
39845
39846
39847 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39848 cat >>confdefs.h <<\_ACEOF
39849 #define wxUSE_DIRECTSHOW 1
39850 _ACEOF
39851
39852 LIBS="$LIBS -lstrmiids"
39853 fi
39854 fi
39855
39856 if test "$wxUSE_GTK" = 1; then
39857 wxUSE_GSTREAMER="yes"
39858
39859
39860 succeeded=no
39861
39862 if test -z "$PKG_CONFIG"; then
39863 # Extract the first word of "pkg-config", so it can be a program name with args.
39864 set dummy pkg-config; ac_word=$2
39865 echo "$as_me:$LINENO: checking for $ac_word" >&5
39866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 else
39870 case $PKG_CONFIG in
39871 [\\/]* | ?:[\\/]*)
39872 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39873 ;;
39874 *)
39875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39876 for as_dir in $PATH
39877 do
39878 IFS=$as_save_IFS
39879 test -z "$as_dir" && as_dir=.
39880 for ac_exec_ext in '' $ac_executable_extensions; do
39881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39882 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39884 break 2
39885 fi
39886 done
39887 done
39888
39889 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39890 ;;
39891 esac
39892 fi
39893 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39894
39895 if test -n "$PKG_CONFIG"; then
39896 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39897 echo "${ECHO_T}$PKG_CONFIG" >&6
39898 else
39899 echo "$as_me:$LINENO: result: no" >&5
39900 echo "${ECHO_T}no" >&6
39901 fi
39902
39903 fi
39904
39905 if test "$PKG_CONFIG" = "no" ; then
39906 echo "*** The pkg-config script could not be found. Make sure it is"
39907 echo "*** in your path, or set the PKG_CONFIG environment variable"
39908 echo "*** to the full path to pkg-config."
39909 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39910 else
39911 PKG_CONFIG_MIN_VERSION=0.9.0
39912 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39913 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39914 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39915
39916 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39917 echo "$as_me:$LINENO: result: yes" >&5
39918 echo "${ECHO_T}yes" >&6
39919 succeeded=yes
39920
39921 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39922 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39923 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39924 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39925 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39926
39927 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39928 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39929 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
39930 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39931 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39932 else
39933 GSTREAMER_CFLAGS=""
39934 GSTREAMER_LIBS=""
39935 ## If we have a custom action on failure, don't print errors, but
39936 ## do set a variable so people can do so.
39937 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39938
39939 fi
39940
39941
39942
39943 else
39944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39946 fi
39947 fi
39948
39949 if test $succeeded = yes; then
39950
39951 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
39952 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39953
39954 else
39955
39956 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39957 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39958 wxUSE_GSTREAMER="no"
39959
39960 fi
39961
39962
39963
39964
39965
39966 if test "x$GST_INSPECT" == "x"; then
39967 # Extract the first word of "gst-inspect", so it can be a program name with args.
39968 set dummy gst-inspect; ac_word=$2
39969 echo "$as_me:$LINENO: checking for $ac_word" >&5
39970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39971 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39973 else
39974 if test -n "$GST_INSPECT"; then
39975 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
39976 else
39977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39978 for as_dir in $PATH
39979 do
39980 IFS=$as_save_IFS
39981 test -z "$as_dir" && as_dir=.
39982 for ac_exec_ext in '' $ac_executable_extensions; do
39983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39984 ac_cv_prog_GST_INSPECT="gst-inspect"
39985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39986 break 2
39987 fi
39988 done
39989 done
39990
39991 fi
39992 fi
39993 GST_INSPECT=$ac_cv_prog_GST_INSPECT
39994 if test -n "$GST_INSPECT"; then
39995 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39996 echo "${ECHO_T}$GST_INSPECT" >&6
39997 else
39998 echo "$as_me:$LINENO: result: no" >&5
39999 echo "${ECHO_T}no" >&6
40000 fi
40001
40002 fi
40003
40004 if test "x$GST_INSPECT" != "x"; then
40005 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40006 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40007 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40008 echo "$as_me:$LINENO: result: found." >&5
40009 echo "${ECHO_T}found." >&6
40010
40011 else
40012 echo "$as_me:$LINENO: result: not found." >&5
40013 echo "${ECHO_T}not found." >&6
40014
40015 wxUSE_GSTREAMER="no"
40016 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40017 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40018
40019 fi
40020 fi
40021
40022
40023 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40024 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40025 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028 cat >conftest.$ac_ext <<_ACEOF
40029 /* confdefs.h. */
40030 _ACEOF
40031 cat confdefs.h >>conftest.$ac_ext
40032 cat >>conftest.$ac_ext <<_ACEOF
40033 /* end confdefs.h. */
40034 #include <gst/gst.h>
40035
40036 #include <gst/xoverlay/xoverlay.h>
40037 _ACEOF
40038 rm -f conftest.$ac_objext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40040 (eval $ac_compile) 2>conftest.er1
40041 ac_status=$?
40042 grep -v '^ *+' conftest.er1 >conftest.err
40043 rm -f conftest.er1
40044 cat conftest.err >&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try='test -z "$ac_c_werror_flag"
40048 || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40051 ac_status=$?
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try='test -s conftest.$ac_objext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40057 ac_status=$?
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 ac_cv_header_gst_xoverlay_xoverlay_h=no
40066 fi
40067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40068 fi
40069 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40070 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40071 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40072 :
40073 else
40074
40075 wxUSE_GSTREAMER="no"
40076 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40077 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40078
40079 fi
40080
40081
40082
40083 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40084 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40085
40086 ac_find_libraries=
40087 for ac_dir in $SEARCH_LIB /usr/lib;
40088 do
40089 for ac_extension in a so sl dylib; do
40090 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40091 ac_find_libraries=$ac_dir
40092 break 2
40093 fi
40094 done
40095 done
40096
40097
40098 if test "$ac_find_libraries" = "" ; then
40099 echo "$as_me:$LINENO: result: no" >&5
40100 echo "${ECHO_T}no" >&6
40101 wxUSE_GSTREAMER="no"
40102 else
40103 echo "$as_me:$LINENO: result: yes" >&5
40104 echo "${ECHO_T}yes" >&6
40105 fi
40106
40107 if test "$wxUSE_GSTREAMER" = "yes"; then
40108 cat >>confdefs.h <<\_ACEOF
40109 #define wxUSE_GSTREAMER 1
40110 _ACEOF
40111
40112 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40113 echo "${ECHO_T}GStreamer detection successful" >&6
40114 fi
40115 fi
40116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40117 cat >>confdefs.h <<\_ACEOF
40118 #define wxUSE_MEDIACTRL 1
40119 _ACEOF
40120
40121 fi
40122
40123
40124 if test "$cross_compiling" = "yes"; then
40125 OSINFO="\"$host\""
40126 else
40127 OSINFO=`uname -s -r -m`
40128 OSINFO="\"$OSINFO\""
40129 fi
40130
40131 cat >>confdefs.h <<_ACEOF
40132 #define WXWIN_OS_DESCRIPTION $OSINFO
40133 _ACEOF
40134
40135
40136
40137 if test "x$prefix" != "xNONE"; then
40138 wxPREFIX=$prefix
40139 else
40140 wxPREFIX=$ac_default_prefix
40141 fi
40142
40143 cat >>confdefs.h <<_ACEOF
40144 #define wxINSTALL_PREFIX "$wxPREFIX"
40145 _ACEOF
40146
40147
40148
40149
40150 CORE_BASE_LIBS="net base"
40151 CORE_GUI_LIBS="adv core"
40152
40153 if test "$wxUSE_XML" = "yes" ; then
40154 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40155 fi
40156 if test "$wxUSE_ODBC" != "no" ; then
40157 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40158 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40159 fi
40160 if test "$wxUSE_HTML" = "yes" ; then
40161 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40162 fi
40163 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40164 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40165 fi
40166 if test "$wxUSE_XRC" = "yes" ; then
40167 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40168 fi
40169
40170 if test "$wxUSE_GUI" != "yes"; then
40171 CORE_GUI_LIBS=""
40172 fi
40173
40174
40175
40176
40177
40178
40179
40180
40181 if test "$wxUSE_MAC" = 1 ; then
40182 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40183 if test "$USE_DARWIN" = 1; then
40184 LDFLAGS="$LDFLAGS -framework QuickTime"
40185 else
40186 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40187 fi
40188 fi
40189 if test "$USE_DARWIN" = 1; then
40190 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40191 else
40192 LDFLAGS="$LDFLAGS -lCarbonLib"
40193 fi
40194 fi
40195 if test "$wxUSE_COCOA" = 1 ; then
40196 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40197 if test "$wxUSE_MEDIACTRL" = "yes"; then
40198 LDFLAGS="$LDFLAGS -framework QuickTime"
40199 fi
40200 fi
40201
40202
40203 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40204
40205 have_cos=0
40206 have_floor=0
40207
40208 for ac_func in cos
40209 do
40210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40211 echo "$as_me:$LINENO: checking for $ac_func" >&5
40212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40213 if eval "test \"\${$as_ac_var+set}\" = set"; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 else
40216 cat >conftest.$ac_ext <<_ACEOF
40217 /* confdefs.h. */
40218 _ACEOF
40219 cat confdefs.h >>conftest.$ac_ext
40220 cat >>conftest.$ac_ext <<_ACEOF
40221 /* end confdefs.h. */
40222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40224 #define $ac_func innocuous_$ac_func
40225
40226 /* System header to define __stub macros and hopefully few prototypes,
40227 which can conflict with char $ac_func (); below.
40228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40229 <limits.h> exists even on freestanding compilers. */
40230
40231 #ifdef __STDC__
40232 # include <limits.h>
40233 #else
40234 # include <assert.h>
40235 #endif
40236
40237 #undef $ac_func
40238
40239 /* Override any gcc2 internal prototype to avoid an error. */
40240 #ifdef __cplusplus
40241 extern "C"
40242 {
40243 #endif
40244 /* We use char because int might match the return type of a gcc2
40245 builtin and then its argument prototype would still apply. */
40246 char $ac_func ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40251 choke me
40252 #else
40253 char (*f) () = $ac_func;
40254 #endif
40255 #ifdef __cplusplus
40256 }
40257 #endif
40258
40259 int
40260 main ()
40261 {
40262 return f != $ac_func;
40263 ;
40264 return 0;
40265 }
40266 _ACEOF
40267 rm -f conftest.$ac_objext conftest$ac_exeext
40268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40269 (eval $ac_link) 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } &&
40276 { ac_try='test -z "$ac_c_werror_flag"
40277 || test ! -s conftest.err'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40280 ac_status=$?
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; } &&
40283 { ac_try='test -s conftest$ac_exeext'
40284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40285 (eval $ac_try) 2>&5
40286 ac_status=$?
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); }; }; then
40289 eval "$as_ac_var=yes"
40290 else
40291 echo "$as_me: failed program was:" >&5
40292 sed 's/^/| /' conftest.$ac_ext >&5
40293
40294 eval "$as_ac_var=no"
40295 fi
40296 rm -f conftest.err conftest.$ac_objext \
40297 conftest$ac_exeext conftest.$ac_ext
40298 fi
40299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40301 if test `eval echo '${'$as_ac_var'}'` = yes; then
40302 cat >>confdefs.h <<_ACEOF
40303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40304 _ACEOF
40305 have_cos=1
40306 fi
40307 done
40308
40309
40310 for ac_func in floor
40311 do
40312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40313 echo "$as_me:$LINENO: checking for $ac_func" >&5
40314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40315 if eval "test \"\${$as_ac_var+set}\" = set"; then
40316 echo $ECHO_N "(cached) $ECHO_C" >&6
40317 else
40318 cat >conftest.$ac_ext <<_ACEOF
40319 /* confdefs.h. */
40320 _ACEOF
40321 cat confdefs.h >>conftest.$ac_ext
40322 cat >>conftest.$ac_ext <<_ACEOF
40323 /* end confdefs.h. */
40324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40326 #define $ac_func innocuous_$ac_func
40327
40328 /* System header to define __stub macros and hopefully few prototypes,
40329 which can conflict with char $ac_func (); below.
40330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40331 <limits.h> exists even on freestanding compilers. */
40332
40333 #ifdef __STDC__
40334 # include <limits.h>
40335 #else
40336 # include <assert.h>
40337 #endif
40338
40339 #undef $ac_func
40340
40341 /* Override any gcc2 internal prototype to avoid an error. */
40342 #ifdef __cplusplus
40343 extern "C"
40344 {
40345 #endif
40346 /* We use char because int might match the return type of a gcc2
40347 builtin and then its argument prototype would still apply. */
40348 char $ac_func ();
40349 /* The GNU C library defines this for functions which it implements
40350 to always fail with ENOSYS. Some functions are actually named
40351 something starting with __ and the normal name is an alias. */
40352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40353 choke me
40354 #else
40355 char (*f) () = $ac_func;
40356 #endif
40357 #ifdef __cplusplus
40358 }
40359 #endif
40360
40361 int
40362 main ()
40363 {
40364 return f != $ac_func;
40365 ;
40366 return 0;
40367 }
40368 _ACEOF
40369 rm -f conftest.$ac_objext conftest$ac_exeext
40370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40371 (eval $ac_link) 2>conftest.er1
40372 ac_status=$?
40373 grep -v '^ *+' conftest.er1 >conftest.err
40374 rm -f conftest.er1
40375 cat conftest.err >&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); } &&
40378 { ac_try='test -z "$ac_c_werror_flag"
40379 || test ! -s conftest.err'
40380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40381 (eval $ac_try) 2>&5
40382 ac_status=$?
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); }; } &&
40385 { ac_try='test -s conftest$ac_exeext'
40386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40387 (eval $ac_try) 2>&5
40388 ac_status=$?
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); }; }; then
40391 eval "$as_ac_var=yes"
40392 else
40393 echo "$as_me: failed program was:" >&5
40394 sed 's/^/| /' conftest.$ac_ext >&5
40395
40396 eval "$as_ac_var=no"
40397 fi
40398 rm -f conftest.err conftest.$ac_objext \
40399 conftest$ac_exeext conftest.$ac_ext
40400 fi
40401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40403 if test `eval echo '${'$as_ac_var'}'` = yes; then
40404 cat >>confdefs.h <<_ACEOF
40405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40406 _ACEOF
40407 have_floor=1
40408 fi
40409 done
40410
40411 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40412 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40413 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40414 echo "$as_me:$LINENO: result: yes" >&5
40415 echo "${ECHO_T}yes" >&6
40416 else
40417 echo "$as_me:$LINENO: result: no" >&5
40418 echo "${ECHO_T}no" >&6
40419 LIBS="$LIBS -lm"
40420 # use different functions to avoid configure caching
40421 have_sin=0
40422 have_ceil=0
40423
40424 for ac_func in sin
40425 do
40426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40427 echo "$as_me:$LINENO: checking for $ac_func" >&5
40428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40429 if eval "test \"\${$as_ac_var+set}\" = set"; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40431 else
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40440 #define $ac_func innocuous_$ac_func
40441
40442 /* System header to define __stub macros and hopefully few prototypes,
40443 which can conflict with char $ac_func (); below.
40444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40445 <limits.h> exists even on freestanding compilers. */
40446
40447 #ifdef __STDC__
40448 # include <limits.h>
40449 #else
40450 # include <assert.h>
40451 #endif
40452
40453 #undef $ac_func
40454
40455 /* Override any gcc2 internal prototype to avoid an error. */
40456 #ifdef __cplusplus
40457 extern "C"
40458 {
40459 #endif
40460 /* We use char because int might match the return type of a gcc2
40461 builtin and then its argument prototype would still apply. */
40462 char $ac_func ();
40463 /* The GNU C library defines this for functions which it implements
40464 to always fail with ENOSYS. Some functions are actually named
40465 something starting with __ and the normal name is an alias. */
40466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40467 choke me
40468 #else
40469 char (*f) () = $ac_func;
40470 #endif
40471 #ifdef __cplusplus
40472 }
40473 #endif
40474
40475 int
40476 main ()
40477 {
40478 return f != $ac_func;
40479 ;
40480 return 0;
40481 }
40482 _ACEOF
40483 rm -f conftest.$ac_objext conftest$ac_exeext
40484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40485 (eval $ac_link) 2>conftest.er1
40486 ac_status=$?
40487 grep -v '^ *+' conftest.er1 >conftest.err
40488 rm -f conftest.er1
40489 cat conftest.err >&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } &&
40492 { ac_try='test -z "$ac_c_werror_flag"
40493 || test ! -s conftest.err'
40494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495 (eval $ac_try) 2>&5
40496 ac_status=$?
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); }; } &&
40499 { ac_try='test -s conftest$ac_exeext'
40500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40501 (eval $ac_try) 2>&5
40502 ac_status=$?
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); }; }; then
40505 eval "$as_ac_var=yes"
40506 else
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.$ac_ext >&5
40509
40510 eval "$as_ac_var=no"
40511 fi
40512 rm -f conftest.err conftest.$ac_objext \
40513 conftest$ac_exeext conftest.$ac_ext
40514 fi
40515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40517 if test `eval echo '${'$as_ac_var'}'` = yes; then
40518 cat >>confdefs.h <<_ACEOF
40519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40520 _ACEOF
40521 have_sin=1
40522 fi
40523 done
40524
40525
40526 for ac_func in ceil
40527 do
40528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40529 echo "$as_me:$LINENO: checking for $ac_func" >&5
40530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40531 if eval "test \"\${$as_ac_var+set}\" = set"; then
40532 echo $ECHO_N "(cached) $ECHO_C" >&6
40533 else
40534 cat >conftest.$ac_ext <<_ACEOF
40535 /* confdefs.h. */
40536 _ACEOF
40537 cat confdefs.h >>conftest.$ac_ext
40538 cat >>conftest.$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40542 #define $ac_func innocuous_$ac_func
40543
40544 /* System header to define __stub macros and hopefully few prototypes,
40545 which can conflict with char $ac_func (); below.
40546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40547 <limits.h> exists even on freestanding compilers. */
40548
40549 #ifdef __STDC__
40550 # include <limits.h>
40551 #else
40552 # include <assert.h>
40553 #endif
40554
40555 #undef $ac_func
40556
40557 /* Override any gcc2 internal prototype to avoid an error. */
40558 #ifdef __cplusplus
40559 extern "C"
40560 {
40561 #endif
40562 /* We use char because int might match the return type of a gcc2
40563 builtin and then its argument prototype would still apply. */
40564 char $ac_func ();
40565 /* The GNU C library defines this for functions which it implements
40566 to always fail with ENOSYS. Some functions are actually named
40567 something starting with __ and the normal name is an alias. */
40568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40569 choke me
40570 #else
40571 char (*f) () = $ac_func;
40572 #endif
40573 #ifdef __cplusplus
40574 }
40575 #endif
40576
40577 int
40578 main ()
40579 {
40580 return f != $ac_func;
40581 ;
40582 return 0;
40583 }
40584 _ACEOF
40585 rm -f conftest.$ac_objext conftest$ac_exeext
40586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40587 (eval $ac_link) 2>conftest.er1
40588 ac_status=$?
40589 grep -v '^ *+' conftest.er1 >conftest.err
40590 rm -f conftest.er1
40591 cat conftest.err >&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); } &&
40594 { ac_try='test -z "$ac_c_werror_flag"
40595 || test ! -s conftest.err'
40596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40597 (eval $ac_try) 2>&5
40598 ac_status=$?
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); }; } &&
40601 { ac_try='test -s conftest$ac_exeext'
40602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40603 (eval $ac_try) 2>&5
40604 ac_status=$?
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); }; }; then
40607 eval "$as_ac_var=yes"
40608 else
40609 echo "$as_me: failed program was:" >&5
40610 sed 's/^/| /' conftest.$ac_ext >&5
40611
40612 eval "$as_ac_var=no"
40613 fi
40614 rm -f conftest.err conftest.$ac_objext \
40615 conftest$ac_exeext conftest.$ac_ext
40616 fi
40617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40619 if test `eval echo '${'$as_ac_var'}'` = yes; then
40620 cat >>confdefs.h <<_ACEOF
40621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40622 _ACEOF
40623 have_ceil=1
40624 fi
40625 done
40626
40627 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40628 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40629 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40630 echo "$as_me:$LINENO: result: yes" >&5
40631 echo "${ECHO_T}yes" >&6
40632 else
40633 echo "$as_me:$LINENO: result: no" >&5
40634 echo "${ECHO_T}no" >&6
40635 # not sure we should warn the user, crash, etc.
40636 fi
40637 fi
40638
40639 if test "$wxUSE_GUI" = "yes"; then
40640
40641
40642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40643 dynamic erase event exec font image minimal mobile \
40644 mobile/wxedit mobile/styles propsize render \
40645 richedit rotate shaped vscroll widgets"
40646
40647 if test "$wxUSE_MONOLITHIC" != "yes"; then
40648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
40649 fi
40650 if test "$TOOLKIT" = "MSW"; then
40651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
40652 if test "$wxUSE_UNIVERSAL" != "yes"; then
40653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40654 fi
40655 fi
40656 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
40658 fi
40659 else
40660 SAMPLES_SUBDIRS="console"
40661 fi
40662
40663
40664 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40665 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40666
40667 if test "$GXX" = yes ; then
40668 CWARNINGS="-Wall"
40669 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
40670 fi
40671
40672 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40673
40674 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40675 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40676 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40677
40678 if test "x$MWCC" = "xyes"; then
40679
40680 CC="$CC -cwd source -I-"
40681 CXX="$CXX -cwd source -I-"
40682 fi
40683
40684
40685 LIBS=`echo $LIBS`
40686 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40687 EXTRALIBS_XML="$EXPAT_LINK"
40688 EXTRALIBS_HTML="$MSPACK_LINK"
40689 EXTRALIBS_ODBC="$ODBC_LINK"
40690 if test "$wxUSE_GUI" = "yes"; then
40691 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40692 fi
40693 if test "$wxUSE_OPENGL" = "yes"; then
40694 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
40695 fi
40696
40697 LDFLAGS="$LDFLAGS $PROFILE"
40698
40699 if test "$wxUSE_GTK" = 1; then
40700 WXCONFIG_INCLUDE=
40701 else
40702 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
40703 fi
40704
40705 WXCONFIG_EXTRALIBS="$LIBS"
40706
40707 if test "$wxUSE_REGEX" = "builtin" ; then
40708 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40709 fi
40710 if test "$wxUSE_EXPAT" = "builtin" ; then
40711 wxconfig_3rdparty="$wxconfig_3rdparty expat"
40712 fi
40713 if test "$wxUSE_ODBC" = "builtin" ; then
40714 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40715 fi
40716 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40717 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
40718 fi
40719 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40720 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
40721 fi
40722 if test "$wxUSE_LIBPNG" = "builtin" ; then
40723 wxconfig_3rdparty="$wxconfig_3rdparty png"
40724 fi
40725 if test "$wxUSE_ZLIB" = "builtin" ; then
40726 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
40727 fi
40728 if test "$wxUSE_ODBC" = "builtin" ; then
40729 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
40730 fi
40731
40732 for i in $wxconfig_3rdparty ; do
40733 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40734 done
40735
40736
40737 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40738 WXUNIV=1
40739 else
40740 WXUNIV=0
40741 fi
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751 if test $wxUSE_MONOLITHIC = "yes" ; then
40752 MONOLITHIC=1
40753 else
40754 MONOLITHIC=0
40755 fi
40756
40757 if test $wxUSE_PLUGINS = "yes" ; then
40758 USE_PLUGINS=1
40759 else
40760 USE_PLUGINS=0
40761 fi
40762
40763 if test $wxUSE_ODBC != "no" ; then
40764 USE_ODBC=1
40765 else
40766 USE_ODBC=0
40767 fi
40768
40769 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40770 USE_QA=1
40771 else
40772 USE_QA=0
40773 fi
40774
40775 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40776 OFFICIAL_BUILD=1
40777 else
40778 OFFICIAL_BUILD=0
40779 fi
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40804
40805
40806
40807
40808
40809
40810
40811
40812 case "$TOOLKIT" in
40813 GTK)
40814 TOOLKIT_USER="GTK+"
40815 if test "$WXGTK20" = 1; then
40816 TOOLKIT_USER="$TOOLKIT_USER 2"
40817 fi
40818 ;;
40819
40820 *)
40821 TOOLKIT_USER=$TOOLKIT_LOWERCASE
40822 ;;
40823 esac
40824
40825
40826
40827
40828 if test "x$BAKEFILE_HOST" = "x"; then
40829 BAKEFILE_HOST="${host}"
40830 fi
40831
40832 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40833
40834 if test -n "$ac_tool_prefix"; then
40835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40836 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
40837 echo "$as_me:$LINENO: checking for $ac_word" >&5
40838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40839 if test "${ac_cv_prog_RANLIB+set}" = set; then
40840 echo $ECHO_N "(cached) $ECHO_C" >&6
40841 else
40842 if test -n "$RANLIB"; then
40843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
40844 else
40845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40846 for as_dir in $PATH
40847 do
40848 IFS=$as_save_IFS
40849 test -z "$as_dir" && as_dir=.
40850 for ac_exec_ext in '' $ac_executable_extensions; do
40851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40852 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
40853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40854 break 2
40855 fi
40856 done
40857 done
40858
40859 fi
40860 fi
40861 RANLIB=$ac_cv_prog_RANLIB
40862 if test -n "$RANLIB"; then
40863 echo "$as_me:$LINENO: result: $RANLIB" >&5
40864 echo "${ECHO_T}$RANLIB" >&6
40865 else
40866 echo "$as_me:$LINENO: result: no" >&5
40867 echo "${ECHO_T}no" >&6
40868 fi
40869
40870 fi
40871 if test -z "$ac_cv_prog_RANLIB"; then
40872 ac_ct_RANLIB=$RANLIB
40873 # Extract the first word of "ranlib", so it can be a program name with args.
40874 set dummy ranlib; ac_word=$2
40875 echo "$as_me:$LINENO: checking for $ac_word" >&5
40876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40877 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40879 else
40880 if test -n "$ac_ct_RANLIB"; then
40881 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
40882 else
40883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40884 for as_dir in $PATH
40885 do
40886 IFS=$as_save_IFS
40887 test -z "$as_dir" && as_dir=.
40888 for ac_exec_ext in '' $ac_executable_extensions; do
40889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40890 ac_cv_prog_ac_ct_RANLIB="ranlib"
40891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40892 break 2
40893 fi
40894 done
40895 done
40896
40897 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
40898 fi
40899 fi
40900 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
40901 if test -n "$ac_ct_RANLIB"; then
40902 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40903 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40904 else
40905 echo "$as_me:$LINENO: result: no" >&5
40906 echo "${ECHO_T}no" >&6
40907 fi
40908
40909 RANLIB=$ac_ct_RANLIB
40910 else
40911 RANLIB="$ac_cv_prog_RANLIB"
40912 fi
40913
40914 # Find a good install program. We prefer a C program (faster),
40915 # so one script is as good as another. But avoid the broken or
40916 # incompatible versions:
40917 # SysV /etc/install, /usr/sbin/install
40918 # SunOS /usr/etc/install
40919 # IRIX /sbin/install
40920 # AIX /bin/install
40921 # AmigaOS /C/install, which installs bootblocks on floppy discs
40922 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40923 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40924 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40925 # OS/2's system install, which has a completely different semantic
40926 # ./install, which can be erroneously created by make from ./install.sh.
40927 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40928 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40929 if test -z "$INSTALL"; then
40930 if test "${ac_cv_path_install+set}" = set; then
40931 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 else
40933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40934 for as_dir in $PATH
40935 do
40936 IFS=$as_save_IFS
40937 test -z "$as_dir" && as_dir=.
40938 # Account for people who put trailing slashes in PATH elements.
40939 case $as_dir/ in
40940 ./ | .// | /cC/* | \
40941 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
40942 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
40943 /usr/ucb/* ) ;;
40944 *)
40945 # OSF1 and SCO ODT 3.0 have their own names for install.
40946 # Don't use installbsd from OSF since it installs stuff as root
40947 # by default.
40948 for ac_prog in ginstall scoinst install; do
40949 for ac_exec_ext in '' $ac_executable_extensions; do
40950 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40951 if test $ac_prog = install &&
40952 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40953 # AIX install. It has an incompatible calling convention.
40954 :
40955 elif test $ac_prog = install &&
40956 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
40957 # program-specific install script used by HP pwplus--don't use.
40958 :
40959 else
40960 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
40961 break 3
40962 fi
40963 fi
40964 done
40965 done
40966 ;;
40967 esac
40968 done
40969
40970
40971 fi
40972 if test "${ac_cv_path_install+set}" = set; then
40973 INSTALL=$ac_cv_path_install
40974 else
40975 # As a last resort, use the slow shell script. We don't cache a
40976 # path for INSTALL within a source directory, because that will
40977 # break other packages using the cache if that directory is
40978 # removed, or if the path is relative.
40979 INSTALL=$ac_install_sh
40980 fi
40981 fi
40982 echo "$as_me:$LINENO: result: $INSTALL" >&5
40983 echo "${ECHO_T}$INSTALL" >&6
40984
40985 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40986 # It thinks the first close brace ends the variable substitution.
40987 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
40988
40989 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
40990
40991 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
40992
40993 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40994 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40995 LN_S=$as_ln_s
40996 if test "$LN_S" = "ln -s"; then
40997 echo "$as_me:$LINENO: result: yes" >&5
40998 echo "${ECHO_T}yes" >&6
40999 else
41000 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41001 echo "${ECHO_T}no, using $LN_S" >&6
41002 fi
41003
41004
41005 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41006 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41007 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41008 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 else
41011 cat >conftest.make <<\_ACEOF
41012 all:
41013 @echo 'ac_maketemp="$(MAKE)"'
41014 _ACEOF
41015 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41016 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41017 if test -n "$ac_maketemp"; then
41018 eval ac_cv_prog_make_${ac_make}_set=yes
41019 else
41020 eval ac_cv_prog_make_${ac_make}_set=no
41021 fi
41022 rm -f conftest.make
41023 fi
41024 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41025 echo "$as_me:$LINENO: result: yes" >&5
41026 echo "${ECHO_T}yes" >&6
41027 SET_MAKE=
41028 else
41029 echo "$as_me:$LINENO: result: no" >&5
41030 echo "${ECHO_T}no" >&6
41031 SET_MAKE="MAKE=${MAKE-make}"
41032 fi
41033
41034
41035
41036 if test -n "$ac_tool_prefix"; then
41037 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41038 set dummy ${ac_tool_prefix}ar; ac_word=$2
41039 echo "$as_me:$LINENO: checking for $ac_word" >&5
41040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41041 if test "${ac_cv_prog_AR+set}" = set; then
41042 echo $ECHO_N "(cached) $ECHO_C" >&6
41043 else
41044 if test -n "$AR"; then
41045 ac_cv_prog_AR="$AR" # Let the user override the test.
41046 else
41047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41048 for as_dir in $PATH
41049 do
41050 IFS=$as_save_IFS
41051 test -z "$as_dir" && as_dir=.
41052 for ac_exec_ext in '' $ac_executable_extensions; do
41053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41054 ac_cv_prog_AR="${ac_tool_prefix}ar"
41055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41056 break 2
41057 fi
41058 done
41059 done
41060
41061 fi
41062 fi
41063 AR=$ac_cv_prog_AR
41064 if test -n "$AR"; then
41065 echo "$as_me:$LINENO: result: $AR" >&5
41066 echo "${ECHO_T}$AR" >&6
41067 else
41068 echo "$as_me:$LINENO: result: no" >&5
41069 echo "${ECHO_T}no" >&6
41070 fi
41071
41072 fi
41073 if test -z "$ac_cv_prog_AR"; then
41074 ac_ct_AR=$AR
41075 # Extract the first word of "ar", so it can be a program name with args.
41076 set dummy ar; ac_word=$2
41077 echo "$as_me:$LINENO: checking for $ac_word" >&5
41078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41080 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 else
41082 if test -n "$ac_ct_AR"; then
41083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41084 else
41085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41086 for as_dir in $PATH
41087 do
41088 IFS=$as_save_IFS
41089 test -z "$as_dir" && as_dir=.
41090 for ac_exec_ext in '' $ac_executable_extensions; do
41091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41092 ac_cv_prog_ac_ct_AR="ar"
41093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41094 break 2
41095 fi
41096 done
41097 done
41098
41099 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41100 fi
41101 fi
41102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41103 if test -n "$ac_ct_AR"; then
41104 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41105 echo "${ECHO_T}$ac_ct_AR" >&6
41106 else
41107 echo "$as_me:$LINENO: result: no" >&5
41108 echo "${ECHO_T}no" >&6
41109 fi
41110
41111 AR=$ac_ct_AR
41112 else
41113 AR="$ac_cv_prog_AR"
41114 fi
41115
41116 if test -n "$ac_tool_prefix"; then
41117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41118 set dummy ${ac_tool_prefix}strip; ac_word=$2
41119 echo "$as_me:$LINENO: checking for $ac_word" >&5
41120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41121 if test "${ac_cv_prog_STRIP+set}" = set; then
41122 echo $ECHO_N "(cached) $ECHO_C" >&6
41123 else
41124 if test -n "$STRIP"; then
41125 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41126 else
41127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41128 for as_dir in $PATH
41129 do
41130 IFS=$as_save_IFS
41131 test -z "$as_dir" && as_dir=.
41132 for ac_exec_ext in '' $ac_executable_extensions; do
41133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41134 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41136 break 2
41137 fi
41138 done
41139 done
41140
41141 fi
41142 fi
41143 STRIP=$ac_cv_prog_STRIP
41144 if test -n "$STRIP"; then
41145 echo "$as_me:$LINENO: result: $STRIP" >&5
41146 echo "${ECHO_T}$STRIP" >&6
41147 else
41148 echo "$as_me:$LINENO: result: no" >&5
41149 echo "${ECHO_T}no" >&6
41150 fi
41151
41152 fi
41153 if test -z "$ac_cv_prog_STRIP"; then
41154 ac_ct_STRIP=$STRIP
41155 # Extract the first word of "strip", so it can be a program name with args.
41156 set dummy strip; ac_word=$2
41157 echo "$as_me:$LINENO: checking for $ac_word" >&5
41158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41159 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41161 else
41162 if test -n "$ac_ct_STRIP"; then
41163 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41164 else
41165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41166 for as_dir in $PATH
41167 do
41168 IFS=$as_save_IFS
41169 test -z "$as_dir" && as_dir=.
41170 for ac_exec_ext in '' $ac_executable_extensions; do
41171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41172 ac_cv_prog_ac_ct_STRIP="strip"
41173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41174 break 2
41175 fi
41176 done
41177 done
41178
41179 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41180 fi
41181 fi
41182 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41183 if test -n "$ac_ct_STRIP"; then
41184 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41185 echo "${ECHO_T}$ac_ct_STRIP" >&6
41186 else
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41189 fi
41190
41191 STRIP=$ac_ct_STRIP
41192 else
41193 STRIP="$ac_cv_prog_STRIP"
41194 fi
41195
41196 if test -n "$ac_tool_prefix"; then
41197 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41198 set dummy ${ac_tool_prefix}nm; ac_word=$2
41199 echo "$as_me:$LINENO: checking for $ac_word" >&5
41200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41201 if test "${ac_cv_prog_NM+set}" = set; then
41202 echo $ECHO_N "(cached) $ECHO_C" >&6
41203 else
41204 if test -n "$NM"; then
41205 ac_cv_prog_NM="$NM" # Let the user override the test.
41206 else
41207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41208 for as_dir in $PATH
41209 do
41210 IFS=$as_save_IFS
41211 test -z "$as_dir" && as_dir=.
41212 for ac_exec_ext in '' $ac_executable_extensions; do
41213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41214 ac_cv_prog_NM="${ac_tool_prefix}nm"
41215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41216 break 2
41217 fi
41218 done
41219 done
41220
41221 fi
41222 fi
41223 NM=$ac_cv_prog_NM
41224 if test -n "$NM"; then
41225 echo "$as_me:$LINENO: result: $NM" >&5
41226 echo "${ECHO_T}$NM" >&6
41227 else
41228 echo "$as_me:$LINENO: result: no" >&5
41229 echo "${ECHO_T}no" >&6
41230 fi
41231
41232 fi
41233 if test -z "$ac_cv_prog_NM"; then
41234 ac_ct_NM=$NM
41235 # Extract the first word of "nm", so it can be a program name with args.
41236 set dummy nm; ac_word=$2
41237 echo "$as_me:$LINENO: checking for $ac_word" >&5
41238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41239 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41240 echo $ECHO_N "(cached) $ECHO_C" >&6
41241 else
41242 if test -n "$ac_ct_NM"; then
41243 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41244 else
41245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41246 for as_dir in $PATH
41247 do
41248 IFS=$as_save_IFS
41249 test -z "$as_dir" && as_dir=.
41250 for ac_exec_ext in '' $ac_executable_extensions; do
41251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41252 ac_cv_prog_ac_ct_NM="nm"
41253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41254 break 2
41255 fi
41256 done
41257 done
41258
41259 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41260 fi
41261 fi
41262 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41263 if test -n "$ac_ct_NM"; then
41264 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41265 echo "${ECHO_T}$ac_ct_NM" >&6
41266 else
41267 echo "$as_me:$LINENO: result: no" >&5
41268 echo "${ECHO_T}no" >&6
41269 fi
41270
41271 NM=$ac_ct_NM
41272 else
41273 NM="$ac_cv_prog_NM"
41274 fi
41275
41276
41277 case ${BAKEFILE_HOST} in
41278 *-hp-hpux* )
41279 INSTALL_DIR="mkdir -p"
41280 ;;
41281 *) INSTALL_DIR="$INSTALL -d"
41282 ;;
41283 esac
41284
41285
41286 LDFLAGS_GUI=
41287 case ${BAKEFILE_HOST} in
41288 *-*-cygwin* | *-*-mingw32* )
41289 LDFLAGS_GUI="-mwindows"
41290 esac
41291
41292
41293 fi
41294
41295 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41296 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41297 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41298 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 else
41300
41301 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41302 egrep -s GNU > /dev/null); then
41303 bakefile_cv_prog_makeisgnu="yes"
41304 else
41305 bakefile_cv_prog_makeisgnu="no"
41306 fi
41307
41308 fi
41309 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41310 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41311
41312 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41313 IF_GNU_MAKE=""
41314 else
41315 IF_GNU_MAKE="#"
41316 fi
41317
41318
41319
41320 PLATFORM_UNIX=0
41321 PLATFORM_WIN32=0
41322 PLATFORM_MSDOS=0
41323 PLATFORM_MAC=0
41324 PLATFORM_MACOS=0
41325 PLATFORM_MACOSX=0
41326 PLATFORM_OS2=0
41327 PLATFORM_BEOS=0
41328
41329 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41330 case "${BAKEFILE_HOST}" in
41331 *-*-cygwin* | *-*-mingw32* )
41332 PLATFORM_WIN32=1
41333 ;;
41334 *-pc-msdosdjgpp )
41335 PLATFORM_MSDOS=1
41336 ;;
41337 *-pc-os2_emx | *-pc-os2-emx )
41338 PLATFORM_OS2=1
41339 ;;
41340 powerpc-*-darwin* )
41341 PLATFORM_MAC=1
41342 PLATFORM_MACOSX=1
41343 ;;
41344 *-*-beos* )
41345 PLATFORM_BEOS=1
41346 ;;
41347 powerpc-apple-macos* )
41348 PLATFORM_MAC=1
41349 PLATFORM_MACOS=1
41350 ;;
41351 * )
41352 PLATFORM_UNIX=1
41353 ;;
41354 esac
41355 else
41356 case "$BAKEFILE_FORCE_PLATFORM" in
41357 win32 )
41358 PLATFORM_WIN32=1
41359 ;;
41360 msdos )
41361 PLATFORM_MSDOS=1
41362 ;;
41363 os2 )
41364 PLATFORM_OS2=1
41365 ;;
41366 darwin )
41367 PLATFORM_MAC=1
41368 PLATFORM_MACOSX=1
41369 ;;
41370 unix )
41371 PLATFORM_UNIX=1
41372 ;;
41373 beos )
41374 PLATFORM_BEOS=1
41375 ;;
41376 * )
41377 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41378 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41379 { (exit 1); exit 1; }; }
41380 ;;
41381 esac
41382 fi
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394 # Check whether --enable-omf or --disable-omf was given.
41395 if test "${enable_omf+set}" = set; then
41396 enableval="$enable_omf"
41397 bk_os2_use_omf="$enableval"
41398 fi;
41399
41400 case "${BAKEFILE_HOST}" in
41401 *-*-darwin* )
41402 CFLAGS="$CFLAGS -fno-common"
41403 CXXFLAGS="$CXXFLAGS -fno-common"
41404 ;;
41405
41406 *-pc-os2_emx | *-pc-os2-emx )
41407 if test "x$bk_os2_use_omf" = "xyes" ; then
41408 AR=emxomfar
41409 RANLIB=:
41410 LDFLAGS="-Zomf $LDFLAGS"
41411 CFLAGS="-Zomf $CFLAGS"
41412 CXXFLAGS="-Zomf $CXXFLAGS"
41413 OS2_LIBEXT="lib"
41414 else
41415 OS2_LIBEXT="a"
41416 fi
41417 ;;
41418
41419 i*86-*-beos* )
41420 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
41421 ;;
41422 esac
41423
41424
41425 SO_SUFFIX="so"
41426 SO_SUFFIX_MODULE="so"
41427 EXEEXT=""
41428 LIBPREFIX="lib"
41429 LIBEXT=".a"
41430 DLLPREFIX="lib"
41431 DLLPREFIX_MODULE=""
41432 DLLIMP_SUFFIX=""
41433
41434 case "${BAKEFILE_HOST}" in
41435 *-hp-hpux* )
41436 SO_SUFFIX="sl"
41437 SO_SUFFIX_MODULE="sl"
41438 ;;
41439 *-*-aix* )
41440 SO_SUFFIX="a"
41441 SO_SUFFIX_MODULE="a"
41442 ;;
41443 *-*-cygwin* | *-*-mingw32* )
41444 SO_SUFFIX="dll"
41445 SO_SUFFIX_MODULE="dll"
41446 DLLIMP_SUFFIX="dll.a"
41447 EXEEXT=".exe"
41448 DLLPREFIX=""
41449 ;;
41450 *-pc-msdosdjgpp )
41451 EXEEXT=".exe"
41452 DLLPREFIX=""
41453 ;;
41454 *-pc-os2_emx | *-pc-os2-emx )
41455 SO_SUFFIX="dll"
41456 SO_SUFFIX_MODULE="dll"
41457 DLLIMP_SUFFIX=$OS2_LIBEXT
41458 EXEEXT=".exe"
41459 DLLPREFIX=""
41460 LIBPREFIX=""
41461 LIBEXT=".$OS2_LIBEXT"
41462 ;;
41463 powerpc-*-darwin* )
41464 SO_SUFFIX="dylib"
41465 SO_SUFFIX_MODULE="bundle"
41466 ;;
41467 esac
41468
41469 if test "x$DLLIMP_SUFFIX" = "x" ; then
41470 DLLIMP_SUFFIX="$SO_SUFFIX"
41471 fi
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483 PIC_FLAG=""
41484 if test "x$GCC" = "xyes"; then
41485 PIC_FLAG="-fPIC"
41486 fi
41487
41488 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
41489 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
41490
41491 case "${BAKEFILE_HOST}" in
41492 *-hp-hpux* )
41493 if test "x$GCC" != "xyes"; then
41494 LDFLAGS="$LDFLAGS -L/usr/lib"
41495
41496 SHARED_LD_CC="${CC} -b -o"
41497 SHARED_LD_CXX="${CXX} -b -o"
41498 PIC_FLAG="+Z"
41499 fi
41500 ;;
41501
41502 *-*-linux* )
41503 if test "x$GCC" != "xyes"; then
41504 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41505 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41506 if test "${bakefile_cv_prog_icc+set}" = set; then
41507 echo $ECHO_N "(cached) $ECHO_C" >&6
41508 else
41509
41510 cat >conftest.$ac_ext <<_ACEOF
41511 /* confdefs.h. */
41512 _ACEOF
41513 cat confdefs.h >>conftest.$ac_ext
41514 cat >>conftest.$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41516
41517 int
41518 main ()
41519 {
41520
41521 #ifndef __INTEL_COMPILER
41522 #error Not icc
41523 #endif
41524
41525 ;
41526 return 0;
41527 }
41528 _ACEOF
41529 rm -f conftest.$ac_objext
41530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41531 (eval $ac_compile) 2>conftest.er1
41532 ac_status=$?
41533 grep -v '^ *+' conftest.er1 >conftest.err
41534 rm -f conftest.er1
41535 cat conftest.err >&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } &&
41538 { ac_try='test -z "$ac_c_werror_flag"
41539 || test ! -s conftest.err'
41540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41541 (eval $ac_try) 2>&5
41542 ac_status=$?
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; } &&
41545 { ac_try='test -s conftest.$ac_objext'
41546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41547 (eval $ac_try) 2>&5
41548 ac_status=$?
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); }; }; then
41551 bakefile_cv_prog_icc=yes
41552 else
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.$ac_ext >&5
41555
41556 bakefile_cv_prog_icc=no
41557
41558 fi
41559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41560
41561 fi
41562 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41563 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41564 if test "$bakefile_cv_prog_icc" = "yes"; then
41565 PIC_FLAG="-KPIC"
41566 fi
41567 fi
41568 ;;
41569
41570 *-*-solaris2* )
41571 if test "x$GCC" != xyes ; then
41572 SHARED_LD_CC="${CC} -G -o"
41573 SHARED_LD_CXX="${CXX} -G -o"
41574 PIC_FLAG="-KPIC"
41575 fi
41576 ;;
41577
41578 *-*-darwin* )
41579
41580 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41581 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41582 if test "${wx_cv_gcc31+set}" = set; then
41583 echo $ECHO_N "(cached) $ECHO_C" >&6
41584 else
41585
41586 cat >conftest.$ac_ext <<_ACEOF
41587 /* confdefs.h. */
41588 _ACEOF
41589 cat confdefs.h >>conftest.$ac_ext
41590 cat >>conftest.$ac_ext <<_ACEOF
41591 /* end confdefs.h. */
41592
41593 int
41594 main ()
41595 {
41596
41597 #if (__GNUC__ < 3) || \
41598 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41599 #error old gcc
41600 #endif
41601
41602 ;
41603 return 0;
41604 }
41605 _ACEOF
41606 rm -f conftest.$ac_objext
41607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41608 (eval $ac_compile) 2>conftest.er1
41609 ac_status=$?
41610 grep -v '^ *+' conftest.er1 >conftest.err
41611 rm -f conftest.er1
41612 cat conftest.err >&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); } &&
41615 { ac_try='test -z "$ac_c_werror_flag"
41616 || test ! -s conftest.err'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41619 ac_status=$?
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; } &&
41622 { ac_try='test -s conftest.$ac_objext'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; }; then
41628
41629 wx_cv_gcc31=yes
41630
41631 else
41632 echo "$as_me: failed program was:" >&5
41633 sed 's/^/| /' conftest.$ac_ext >&5
41634
41635
41636 wx_cv_gcc31=no
41637
41638
41639 fi
41640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41641
41642 fi
41643 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41644 echo "${ECHO_T}$wx_cv_gcc31" >&6
41645 if test "$wx_cv_gcc31" = "no"; then
41646
41647 D='$'
41648 cat <<EOF >shared-ld-sh
41649 #!/bin/sh
41650 #-----------------------------------------------------------------------------
41651 #-- Name: distrib/mac/shared-ld-sh
41652 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41653 #-- Author: Gilles Depeyrot
41654 #-- Copyright: (c) 2002 Gilles Depeyrot
41655 #-- Licence: any use permitted
41656 #-----------------------------------------------------------------------------
41657
41658 verbose=0
41659 args=""
41660 objects=""
41661 linking_flag="-dynamiclib"
41662
41663 while test ${D}# -gt 0; do
41664 case ${D}1 in
41665
41666 -v)
41667 verbose=1
41668 ;;
41669
41670 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41671 # collect these options and values
41672 args="${D}{args} ${D}1 ${D}2"
41673 shift
41674 ;;
41675
41676 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41677 # collect these options
41678 args="${D}{args} ${D}1"
41679 ;;
41680
41681 -dynamiclib|-bundle)
41682 linking_flag="${D}1"
41683 ;;
41684
41685 -*)
41686 echo "shared-ld: unhandled option '${D}1'"
41687 exit 1
41688 ;;
41689
41690 *.o | *.a | *.dylib)
41691 # collect object files
41692 objects="${D}{objects} ${D}1"
41693 ;;
41694
41695 *)
41696 echo "shared-ld: unhandled argument '${D}1'"
41697 exit 1
41698 ;;
41699
41700 esac
41701 shift
41702 done
41703
41704 #
41705 # Link one module containing all the others
41706 #
41707 if test ${D}{verbose} = 1; then
41708 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41709 fi
41710 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41711 status=${D}?
41712 if test ${D}{status} != 0; then
41713 exit ${D}{status}
41714 fi
41715
41716 #
41717 # Link the shared library from the single module created
41718 #
41719 if test ${D}{verbose} = 1; then
41720 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41721 fi
41722 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41723 status=${D}?
41724 if test ${D}{status} != 0; then
41725 exit ${D}{status}
41726 fi
41727
41728 #
41729 # Remove intermediate module
41730 #
41731 rm -f master.${D}${D}.o
41732
41733 exit 0
41734 EOF
41735
41736 chmod +x shared-ld-sh
41737
41738 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41739 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41740 SHARED_LD_CXX="$SHARED_LD_CC"
41741 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
41742 else
41743 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41744 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41745 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41746 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41747 fi
41748
41749 PIC_FLAG="-dynamic -fPIC"
41750 ;;
41751
41752 *-*-aix* )
41753 if test "x$GCC" != "xyes"; then
41754 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41755 set dummy makeC++SharedLib; ac_word=$2
41756 echo "$as_me:$LINENO: checking for $ac_word" >&5
41757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41758 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41759 echo $ECHO_N "(cached) $ECHO_C" >&6
41760 else
41761 if test -n "$AIX_CXX_LD"; then
41762 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
41763 else
41764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41765 for as_dir in $PATH
41766 do
41767 IFS=$as_save_IFS
41768 test -z "$as_dir" && as_dir=.
41769 for ac_exec_ext in '' $ac_executable_extensions; do
41770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41771 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
41772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41773 break 2
41774 fi
41775 done
41776 done
41777
41778 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
41779 fi
41780 fi
41781 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
41782 if test -n "$AIX_CXX_LD"; then
41783 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41784 echo "${ECHO_T}$AIX_CXX_LD" >&6
41785 else
41786 echo "$as_me:$LINENO: result: no" >&5
41787 echo "${ECHO_T}no" >&6
41788 fi
41789
41790 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
41791 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
41792 fi
41793 ;;
41794
41795 *-*-beos* )
41796 SHARED_LD_CC="${LD} -nostart -o"
41797 SHARED_LD_CXX="${LD} -nostart -o"
41798 ;;
41799
41800 *-*-irix* )
41801 if test "x$GCC" != "xyes"; then
41802 PIC_FLAG="-KPIC"
41803 fi
41804 ;;
41805
41806 *-*-cygwin* | *-*-mingw32* )
41807 PIC_FLAG=""
41808 SHARED_LD_CC="\$(CC) -shared -o"
41809 SHARED_LD_CXX="\$(CXX) -shared -o"
41810 ;;
41811
41812 *-pc-os2_emx | *-pc-os2-emx )
41813 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41814 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41815 PIC_FLAG=""
41816
41817 D='$'
41818 cat <<EOF >dllar.sh
41819 #!/bin/sh
41820 #
41821 # dllar - a tool to build both a .dll and an .a file
41822 # from a set of object (.o) files for EMX/OS2.
41823 #
41824 # Written by Andrew Zabolotny, bit@freya.etu.ru
41825 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41826 #
41827 # This script will accept a set of files on the command line.
41828 # All the public symbols from the .o files will be exported into
41829 # a .DEF file, then linker will be run (through gcc) against them to
41830 # build a shared library consisting of all given .o files. All libraries
41831 # (.a) will be first decompressed into component .o files then act as
41832 # described above. You can optionally give a description (-d "description")
41833 # which will be put into .DLL. To see the list of accepted options (as well
41834 # as command-line format) simply run this program without options. The .DLL
41835 # is built to be imported by name (there is no guarantee that new versions
41836 # of the library you build will have same ordinals for same symbols).
41837 #
41838 # dllar is free software; you can redistribute it and/or modify
41839 # it under the terms of the GNU General Public License as published by
41840 # the Free Software Foundation; either version 2, or (at your option)
41841 # any later version.
41842 #
41843 # dllar is distributed in the hope that it will be useful,
41844 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41845 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41846 # GNU General Public License for more details.
41847 #
41848 # You should have received a copy of the GNU General Public License
41849 # along with dllar; see the file COPYING. If not, write to the Free
41850 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41851 # 02111-1307, USA.
41852
41853 # To successfuly run this program you will need:
41854 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41855 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41856 # - gcc
41857 # (used to build the .dll)
41858 # - emxexp
41859 # (used to create .def file from .o files)
41860 # - emximp
41861 # (used to create .a file from .def file)
41862 # - GNU text utilites (cat, sort, uniq)
41863 # used to process emxexp output
41864 # - GNU file utilities (mv, rm)
41865 # - GNU sed
41866 # - lxlite (optional, see flag below)
41867 # (used for general .dll cleanup)
41868 #
41869
41870 flag_USE_LXLITE=1;
41871
41872 #
41873 # helper functions
41874 # basnam, variant of basename, which does _not_ remove the path, _iff_
41875 # second argument (suffix to remove) is given
41876 basnam(){
41877 case ${D}# in
41878 1)
41879 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41880 ;;
41881 2)
41882 echo ${D}1 | sed 's/'${D}2'${D}//'
41883 ;;
41884 *)
41885 echo "error in basnam ${D}*"
41886 exit 8
41887 ;;
41888 esac
41889 }
41890
41891 # Cleanup temporary files and output
41892 CleanUp() {
41893 cd ${D}curDir
41894 for i in ${D}inputFiles ; do
41895 case ${D}i in
41896 *!)
41897 rm -rf \`basnam ${D}i !\`
41898 ;;
41899 *)
41900 ;;
41901 esac
41902 done
41903
41904 # Kill result in case of failure as there is just to many stupid make/nmake
41905 # things out there which doesn't do this.
41906 if [ ${D}# -eq 0 ]; then
41907 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41908 fi
41909 }
41910
41911 # Print usage and exit script with rc=1.
41912 PrintHelp() {
41913 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41914 echo ' [-name-mangler-script script.sh]'
41915 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41916 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41917 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41918 echo ' [*.o] [*.a]'
41919 echo '*> "output_file" should have no extension.'
41920 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41921 echo ' The import library name is derived from this and is set to "name".a,'
41922 echo ' unless overridden by -import'
41923 echo '*> "importlib_name" should have no extension.'
41924 echo ' If it has the .o, or .a extension, it is automatically removed.'
41925 echo ' This name is used as the import library name and may be longer and'
41926 echo ' more descriptive than the DLL name which has to follow the old '
41927 echo ' 8.3 convention of FAT.'
41928 echo '*> "script.sh may be given to override the output_file name by a'
41929 echo ' different name. It is mainly useful if the regular make process'
41930 echo ' of some package does not take into account OS/2 restriction of'
41931 echo ' DLL name lengths. It takes the importlib name as input and is'
41932 echo ' supposed to procude a shorter name as output. The script should'
41933 echo ' expect to get importlib_name without extension and should produce'
41934 echo ' a (max.) 8 letter name without extension.'
41935 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41936 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41937 echo ' These flags will be put at the start of GCC command line.'
41938 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41939 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41940 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41941 echo ' If the last character of a symbol is "*", all symbols beginning'
41942 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41943 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41944 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41945 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41946 echo ' C runtime DLLs.'
41947 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41948 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41949 echo ' unchanged to GCC at the end of command line.'
41950 echo '*> If you create a DLL from a library and you do not specify -o,'
41951 echo ' the basename for DLL and import library will be set to library name,'
41952 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41953 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41954 echo ' library will be renamed into gcc_s.a.'
41955 echo '--------'
41956 echo 'Example:'
41957 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41958 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41959 CleanUp
41960 exit 1
41961 }
41962
41963 # Execute a command.
41964 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41965 # @Uses Whatever CleanUp() uses.
41966 doCommand() {
41967 echo "${D}*"
41968 eval ${D}*
41969 rcCmd=${D}?
41970
41971 if [ ${D}rcCmd -ne 0 ]; then
41972 echo "command failed, exit code="${D}rcCmd
41973 CleanUp
41974 exit ${D}rcCmd
41975 fi
41976 }
41977
41978 # main routine
41979 # setup globals
41980 cmdLine=${D}*
41981 outFile=""
41982 outimpFile=""
41983 inputFiles=""
41984 renameScript=""
41985 description=""
41986 CC=gcc.exe
41987 CFLAGS="-s -Zcrtdll"
41988 EXTRA_CFLAGS=""
41989 EXPORT_BY_ORDINALS=0
41990 exclude_symbols=""
41991 library_flags=""
41992 curDir=\`pwd\`
41993 curDirS=curDir
41994 case ${D}curDirS in
41995 */)
41996 ;;
41997 *)
41998 curDirS=${D}{curDirS}"/"
41999 ;;
42000 esac
42001 # Parse commandline
42002 libsToLink=0
42003 omfLinking=0
42004 while [ ${D}1 ]; do
42005 case ${D}1 in
42006 -ord*)
42007 EXPORT_BY_ORDINALS=1;
42008 ;;
42009 -o*)
42010 shift
42011 outFile=${D}1
42012 ;;
42013 -i*)
42014 shift
42015 outimpFile=${D}1
42016 ;;
42017 -name-mangler-script)
42018 shift
42019 renameScript=${D}1
42020 ;;
42021 -d*)
42022 shift
42023 description=${D}1
42024 ;;
42025 -f*)
42026 shift
42027 CFLAGS=${D}1
42028 ;;
42029 -c*)
42030 shift
42031 CC=${D}1
42032 ;;
42033 -h*)
42034 PrintHelp
42035 ;;
42036 -ex*)
42037 shift
42038 exclude_symbols=${D}{exclude_symbols}${D}1" "
42039 ;;
42040 -libf*)
42041 shift
42042 library_flags=${D}{library_flags}${D}1" "
42043 ;;
42044 -nocrt*)
42045 CFLAGS="-s"
42046 ;;
42047 -nolxl*)
42048 flag_USE_LXLITE=0
42049 ;;
42050 -* | /*)
42051 case ${D}1 in
42052 -L* | -l*)
42053 libsToLink=1
42054 ;;
42055 -Zomf)
42056 omfLinking=1
42057 ;;
42058 *)
42059 ;;
42060 esac
42061 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42062 ;;
42063 *.dll)
42064 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42065 if [ ${D}omfLinking -eq 1 ]; then
42066 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42067 else
42068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42069 fi
42070 ;;
42071 *)
42072 found=0;
42073 if [ ${D}libsToLink -ne 0 ]; then
42074 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42075 else
42076 for file in ${D}1 ; do
42077 if [ -f ${D}file ]; then
42078 inputFiles="${D}{inputFiles} ${D}file"
42079 found=1
42080 fi
42081 done
42082 if [ ${D}found -eq 0 ]; then
42083 echo "ERROR: No file(s) found: "${D}1
42084 exit 8
42085 fi
42086 fi
42087 ;;
42088 esac
42089 shift
42090 done # iterate cmdline words
42091
42092 #
42093 if [ -z "${D}inputFiles" ]; then
42094 echo "dllar: no input files"
42095 PrintHelp
42096 fi
42097
42098 # Now extract all .o files from .a files
42099 newInputFiles=""
42100 for file in ${D}inputFiles ; do
42101 case ${D}file in
42102 *.a | *.lib)
42103 case ${D}file in
42104 *.a)
42105 suffix=".a"
42106 AR="ar"
42107 ;;
42108 *.lib)
42109 suffix=".lib"
42110 AR="emxomfar"
42111 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42112 ;;
42113 *)
42114 ;;
42115 esac
42116 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42117 mkdir ${D}dirname
42118 if [ ${D}? -ne 0 ]; then
42119 echo "Failed to create subdirectory ./${D}dirname"
42120 CleanUp
42121 exit 8;
42122 fi
42123 # Append '!' to indicate archive
42124 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42125 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42126 cd ${D}curDir
42127 found=0;
42128 for subfile in ${D}dirname/*.o* ; do
42129 if [ -f ${D}subfile ]; then
42130 found=1
42131 if [ -s ${D}subfile ]; then
42132 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42133 newInputFiles="${D}newInputFiles ${D}subfile"
42134 fi
42135 fi
42136 done
42137 if [ ${D}found -eq 0 ]; then
42138 echo "WARNING: there are no files in archive \\'${D}file\\'"
42139 fi
42140 ;;
42141 *)
42142 newInputFiles="${D}{newInputFiles} ${D}file"
42143 ;;
42144 esac
42145 done
42146 inputFiles="${D}newInputFiles"
42147
42148 # Output filename(s).
42149 do_backup=0;
42150 if [ -z ${D}outFile ]; then
42151 do_backup=1;
42152 set outFile ${D}inputFiles; outFile=${D}2
42153 fi
42154
42155 # If it is an archive, remove the '!' and the '_%' suffixes
42156 case ${D}outFile in
42157 *_%!)
42158 outFile=\`basnam ${D}outFile _%!\`
42159 ;;
42160 *)
42161 ;;
42162 esac
42163 case ${D}outFile in
42164 *.dll)
42165 outFile=\`basnam ${D}outFile .dll\`
42166 ;;
42167 *.DLL)
42168 outFile=\`basnam ${D}outFile .DLL\`
42169 ;;
42170 *.o)
42171 outFile=\`basnam ${D}outFile .o\`
42172 ;;
42173 *.obj)
42174 outFile=\`basnam ${D}outFile .obj\`
42175 ;;
42176 *.a)
42177 outFile=\`basnam ${D}outFile .a\`
42178 ;;
42179 *.lib)
42180 outFile=\`basnam ${D}outFile .lib\`
42181 ;;
42182 *)
42183 ;;
42184 esac
42185 case ${D}outimpFile in
42186 *.a)
42187 outimpFile=\`basnam ${D}outimpFile .a\`
42188 ;;
42189 *.lib)
42190 outimpFile=\`basnam ${D}outimpFile .lib\`
42191 ;;
42192 *)
42193 ;;
42194 esac
42195 if [ -z ${D}outimpFile ]; then
42196 outimpFile=${D}outFile
42197 fi
42198 defFile="${D}{outFile}.def"
42199 arcFile="${D}{outimpFile}.a"
42200 arcFile2="${D}{outimpFile}.lib"
42201
42202 #create ${D}dllFile as something matching 8.3 restrictions,
42203 if [ -z ${D}renameScript ] ; then
42204 dllFile="${D}outFile"
42205 else
42206 dllFile=\`${D}renameScript ${D}outimpFile\`
42207 fi
42208
42209 if [ ${D}do_backup -ne 0 ] ; then
42210 if [ -f ${D}arcFile ] ; then
42211 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42212 fi
42213 if [ -f ${D}arcFile2 ] ; then
42214 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42215 fi
42216 fi
42217
42218 # Extract public symbols from all the object files.
42219 tmpdefFile=${D}{defFile}_%
42220 rm -f ${D}tmpdefFile
42221 for file in ${D}inputFiles ; do
42222 case ${D}file in
42223 *!)
42224 ;;
42225 *)
42226 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42227 ;;
42228 esac
42229 done
42230
42231 # Create the def file.
42232 rm -f ${D}defFile
42233 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42234 dllFile="${D}{dllFile}.dll"
42235 if [ ! -z ${D}description ]; then
42236 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42237 fi
42238 echo "EXPORTS" >> ${D}defFile
42239
42240 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42241 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42242
42243 # Checks if the export is ok or not.
42244 for word in ${D}exclude_symbols; do
42245 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42246 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42247 done
42248
42249
42250 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42251 sed "=" < ${D}tmpdefFile | \\
42252 sed '
42253 N
42254 : loop
42255 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42256 t loop
42257 ' > ${D}{tmpdefFile}%
42258 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42259 else
42260 rm -f ${D}{tmpdefFile}%
42261 fi
42262 cat ${D}tmpdefFile >> ${D}defFile
42263 rm -f ${D}tmpdefFile
42264
42265 # Do linking, create implib, and apply lxlite.
42266 gccCmdl="";
42267 for file in ${D}inputFiles ; do
42268 case ${D}file in
42269 *!)
42270 ;;
42271 *)
42272 gccCmdl="${D}gccCmdl ${D}file"
42273 ;;
42274 esac
42275 done
42276 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42277 touch "${D}{outFile}.dll"
42278
42279 doCommand "emximp -o ${D}arcFile ${D}defFile"
42280 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42281 add_flags="";
42282 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42283 add_flags="-ynd"
42284 fi
42285 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42286 fi
42287 doCommand "emxomf -s -l ${D}arcFile"
42288
42289 # Successful exit.
42290 CleanUp 1
42291 exit 0
42292 EOF
42293
42294 chmod +x dllar.sh
42295 ;;
42296
42297 powerpc-apple-macos* | \
42298 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42299 *-*-sunos4* | \
42300 *-*-osf* | \
42301 *-*-dgux5* | \
42302 *-*-sysv5* )
42303 ;;
42304
42305 *)
42306 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42307 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42308 { (exit 1); exit 1; }; }
42309 esac
42310
42311 if test "x$PIC_FLAG" != "x" ; then
42312 PIC_FLAG="$PIC_FLAG -DPIC"
42313 fi
42314
42315 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42316 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42317 fi
42318 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42319 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42320 fi
42321
42322
42323
42324
42325
42326
42327
42328
42329 USE_SOVERSION=0
42330 USE_SOVERLINUX=0
42331 USE_SOVERSOLARIS=0
42332 USE_SOSYMLINKS=0
42333 USE_MACVERSION=0
42334 SONAME_FLAG=
42335
42336 case "${BAKEFILE_HOST}" in
42337 *-*-linux* | *-*-freebsd* )
42338 SONAME_FLAG="-Wl,-soname,"
42339 USE_SOVERSION=1
42340 USE_SOVERLINUX=1
42341 USE_SOSYMLINKS=1
42342 ;;
42343
42344 *-*-solaris2* )
42345 SONAME_FLAG="-h "
42346 USE_SOVERSION=1
42347 USE_SOVERSOLARIS=1
42348 USE_SOSYMLINKS=1
42349 ;;
42350
42351 *-*-darwin* )
42352 USE_MACVERSION=1
42353 USE_SOVERSION=1
42354 USE_SOSYMLINKS=1
42355 ;;
42356 esac
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42367 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42368 DEPS_TRACKING=0
42369
42370 if test "x$GCC" = "xyes"; then
42371 DEPSMODE=gcc
42372 DEPS_TRACKING=1
42373 case "${BAKEFILE_HOST}" in
42374 powerpc-*-darwin* )
42375 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42376 ;;
42377 * )
42378 DEPSFLAG_GCC="-MMD"
42379 ;;
42380 esac
42381 echo "$as_me:$LINENO: result: gcc" >&5
42382 echo "${ECHO_T}gcc" >&6
42383 elif test "x$MWCC" = "xyes"; then
42384 DEPSMODE=mwcc
42385 DEPS_TRACKING=1
42386 DEPSFLAG_MWCC="-MM"
42387 echo "$as_me:$LINENO: result: mwcc" >&5
42388 echo "${ECHO_T}mwcc" >&6
42389 else
42390 echo "$as_me:$LINENO: result: none" >&5
42391 echo "${ECHO_T}none" >&6
42392 fi
42393
42394 if test $DEPS_TRACKING = 1 ; then
42395
42396 D='$'
42397 cat <<EOF >bk-deps
42398 #!/bin/sh
42399
42400 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42401 # script. It is used to track C/C++ files dependencies in portable way.
42402 #
42403 # Permission is given to use this file in any way.
42404
42405 DEPSMODE=${DEPSMODE}
42406 DEPSDIR=.deps
42407 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42408 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42409
42410 mkdir -p ${D}DEPSDIR
42411
42412 if test ${D}DEPSMODE = gcc ; then
42413 ${D}* ${D}{DEPSFLAG_GCC}
42414 status=${D}?
42415 if test ${D}{status} != 0 ; then
42416 exit ${D}{status}
42417 fi
42418 # move created file to the location we want it in:
42419 while test ${D}# -gt 0; do
42420 case "${D}1" in
42421 -o )
42422 shift
42423 objfile=${D}1
42424 ;;
42425 -* )
42426 ;;
42427 * )
42428 srcfile=${D}1
42429 ;;
42430 esac
42431 shift
42432 done
42433 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42434 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42435 if test -f ${D}depfile ; then
42436 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42437 rm -f ${D}depfile
42438 else
42439 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42440 if test -f ${D}depfile ; then
42441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42442 rm -f ${D}depfile
42443 fi
42444 fi
42445 exit 0
42446 elif test ${D}DEPSMODE = mwcc ; then
42447 ${D}*
42448 status=${D}?
42449 if test ${D}{status} != 0 ; then
42450 exit ${D}{status}
42451 fi
42452 # Run mwcc again with -MM and redirect into the dep file we want
42453 # NOTE: We can't use shift here because we need ${D}* to be valid
42454 prevarg=
42455 for arg in ${D}* ; do
42456 if test "${D}prevarg" = "-o"; then
42457 objfile=${D}arg
42458 else
42459 case "${D}arg" in
42460 -* )
42461 ;;
42462 * )
42463 srcfile=${D}arg
42464 ;;
42465 esac
42466 fi
42467 prevarg="${D}arg"
42468 done
42469 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42470 exit 0
42471 else
42472 ${D}*
42473 exit ${D}?
42474 fi
42475 EOF
42476
42477 chmod +x bk-deps
42478 fi
42479
42480
42481
42482
42483 RESCOMP=
42484 SETFILE=
42485
42486 case ${BAKEFILE_HOST} in
42487 *-*-cygwin* | *-*-mingw32* )
42488 if test "$build" != "$host" ; then
42489 RESCOMP=$host_alias-windres
42490 else
42491 # Extract the first word of "windres", so it can be a program name with args.
42492 set dummy windres; ac_word=$2
42493 echo "$as_me:$LINENO: checking for $ac_word" >&5
42494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42495 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 else
42498 if test -n "$RESCOMP"; then
42499 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42500 else
42501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42502 for as_dir in $PATH
42503 do
42504 IFS=$as_save_IFS
42505 test -z "$as_dir" && as_dir=.
42506 for ac_exec_ext in '' $ac_executable_extensions; do
42507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42508 ac_cv_prog_RESCOMP="windres"
42509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42510 break 2
42511 fi
42512 done
42513 done
42514
42515 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
42516 fi
42517 fi
42518 RESCOMP=$ac_cv_prog_RESCOMP
42519 if test -n "$RESCOMP"; then
42520 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42521 echo "${ECHO_T}$RESCOMP" >&6
42522 else
42523 echo "$as_me:$LINENO: result: no" >&5
42524 echo "${ECHO_T}no" >&6
42525 fi
42526
42527 fi
42528 ;;
42529
42530 *-*-darwin* | powerpc-apple-macos* )
42531 # Extract the first word of "Rez", so it can be a program name with args.
42532 set dummy Rez; ac_word=$2
42533 echo "$as_me:$LINENO: checking for $ac_word" >&5
42534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42535 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42536 echo $ECHO_N "(cached) $ECHO_C" >&6
42537 else
42538 if test -n "$RESCOMP"; then
42539 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
42540 else
42541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42542 for as_dir in $PATH
42543 do
42544 IFS=$as_save_IFS
42545 test -z "$as_dir" && as_dir=.
42546 for ac_exec_ext in '' $ac_executable_extensions; do
42547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42548 ac_cv_prog_RESCOMP="Rez"
42549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42550 break 2
42551 fi
42552 done
42553 done
42554
42555 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
42556 fi
42557 fi
42558 RESCOMP=$ac_cv_prog_RESCOMP
42559 if test -n "$RESCOMP"; then
42560 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42561 echo "${ECHO_T}$RESCOMP" >&6
42562 else
42563 echo "$as_me:$LINENO: result: no" >&5
42564 echo "${ECHO_T}no" >&6
42565 fi
42566
42567 # Extract the first word of "SetFile", so it can be a program name with args.
42568 set dummy SetFile; ac_word=$2
42569 echo "$as_me:$LINENO: checking for $ac_word" >&5
42570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42571 if test "${ac_cv_prog_SETFILE+set}" = set; then
42572 echo $ECHO_N "(cached) $ECHO_C" >&6
42573 else
42574 if test -n "$SETFILE"; then
42575 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
42576 else
42577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42578 for as_dir in $PATH
42579 do
42580 IFS=$as_save_IFS
42581 test -z "$as_dir" && as_dir=.
42582 for ac_exec_ext in '' $ac_executable_extensions; do
42583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42584 ac_cv_prog_SETFILE="SetFile"
42585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42586 break 2
42587 fi
42588 done
42589 done
42590
42591 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
42592 fi
42593 fi
42594 SETFILE=$ac_cv_prog_SETFILE
42595 if test -n "$SETFILE"; then
42596 echo "$as_me:$LINENO: result: $SETFILE" >&5
42597 echo "${ECHO_T}$SETFILE" >&6
42598 else
42599 echo "$as_me:$LINENO: result: no" >&5
42600 echo "${ECHO_T}no" >&6
42601 fi
42602
42603 ;;
42604 esac
42605
42606
42607
42608
42609
42610 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
42611
42612
42613 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
42614
42615
42616
42617 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42618 if test "${enable_precomp_headers+set}" = set; then
42619 enableval="$enable_precomp_headers"
42620 bk_use_pch="$enableval"
42621 fi;
42622
42623 GCC_PCH=0
42624
42625 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42626 if test "x$GCC" = "xyes"; then
42627 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42628 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42629 cat >conftest.$ac_ext <<_ACEOF
42630 /* confdefs.h. */
42631 _ACEOF
42632 cat confdefs.h >>conftest.$ac_ext
42633 cat >>conftest.$ac_ext <<_ACEOF
42634 /* end confdefs.h. */
42635
42636 int
42637 main ()
42638 {
42639
42640 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42641 #error "no pch support"
42642 #endif
42643 #if (__GNUC__ < 3)
42644 #error "no pch support"
42645 #endif
42646 #if (__GNUC__ == 3) && \
42647 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42648 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42649 #error "no pch support"
42650 #endif
42651
42652 ;
42653 return 0;
42654 }
42655 _ACEOF
42656 rm -f conftest.$ac_objext
42657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42658 (eval $ac_compile) 2>conftest.er1
42659 ac_status=$?
42660 grep -v '^ *+' conftest.er1 >conftest.err
42661 rm -f conftest.er1
42662 cat conftest.err >&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); } &&
42665 { ac_try='test -z "$ac_c_werror_flag"
42666 || test ! -s conftest.err'
42667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42668 (eval $ac_try) 2>&5
42669 ac_status=$?
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; } &&
42672 { ac_try='test -s conftest.$ac_objext'
42673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42674 (eval $ac_try) 2>&5
42675 ac_status=$?
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); }; }; then
42678
42679 echo "$as_me:$LINENO: result: yes" >&5
42680 echo "${ECHO_T}yes" >&6
42681 GCC_PCH=1
42682
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42686
42687
42688 echo "$as_me:$LINENO: result: no" >&5
42689 echo "${ECHO_T}no" >&6
42690
42691 fi
42692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42693 if test $GCC_PCH = 1 ; then
42694
42695 D='$'
42696 cat <<EOF >bk-make-pch
42697 #!/bin/sh
42698
42699 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42700 # script. It is used to generated precompiled headers.
42701 #
42702 # Permission is given to use this file in any way.
42703
42704 outfile="${D}{1}"
42705 header="${D}{2}"
42706 shift
42707 shift
42708
42709 compiler=
42710 headerfile=
42711 while test ${D}{#} -gt 0; do
42712 case "${D}{1}" in
42713 -I* )
42714 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42715 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42716 headerfile="${D}{incdir}/${D}{header}"
42717 fi
42718 ;;
42719 esac
42720 compiler="${D}{compiler} ${D}{1}"
42721 shift
42722 done
42723
42724 if test "x${D}{headerfile}" = "x" ; then
42725 echo "error: can't find header ${D}{header} in include paths" >2
42726 else
42727 if test -f ${D}{outfile} ; then
42728 rm -f ${D}{outfile}
42729 else
42730 mkdir -p \`dirname ${D}{outfile}\`
42731 fi
42732 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42733 mkdir -p .deps
42734 # can do this because gcc is >= 3.4:
42735 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42736 exit ${D}{?}
42737 fi
42738 EOF
42739
42740 chmod +x bk-make-pch
42741 fi
42742 fi
42743 fi
42744
42745
42746
42747 COND_BUILD_DEBUG="#"
42748 if test "x$BUILD" = "xdebug" ; then
42749 COND_BUILD_DEBUG=""
42750 fi
42751
42752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
42753 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42754 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
42755 fi
42756
42757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
42758 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42759 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
42760 fi
42761
42762 COND_BUILD_DEBUG_UNICODE_0="#"
42763 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42764 COND_BUILD_DEBUG_UNICODE_0=""
42765 fi
42766
42767 COND_BUILD_DEBUG_UNICODE_1="#"
42768 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42769 COND_BUILD_DEBUG_UNICODE_1=""
42770 fi
42771
42772 COND_BUILD_RELEASE="#"
42773 if test "x$BUILD" = "xrelease" ; then
42774 COND_BUILD_RELEASE=""
42775 fi
42776
42777 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
42778 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42779 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
42780 fi
42781
42782 COND_BUILD_RELEASE_UNICODE_0="#"
42783 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42784 COND_BUILD_RELEASE_UNICODE_0=""
42785 fi
42786
42787 COND_BUILD_RELEASE_UNICODE_1="#"
42788 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42789 COND_BUILD_RELEASE_UNICODE_1=""
42790 fi
42791
42792 COND_DEBUG_FLAG_1="#"
42793 if test "x$DEBUG_FLAG" = "x1" ; then
42794 COND_DEBUG_FLAG_1=""
42795 fi
42796
42797 COND_DEBUG_INFO_0="#"
42798 if test "x$DEBUG_INFO" = "x0" ; then
42799 COND_DEBUG_INFO_0=""
42800 fi
42801
42802 COND_DEBUG_INFO_1="#"
42803 if test "x$DEBUG_INFO" = "x1" ; then
42804 COND_DEBUG_INFO_1=""
42805 fi
42806
42807 COND_DEPS_TRACKING_0="#"
42808 if test "x$DEPS_TRACKING" = "x0" ; then
42809 COND_DEPS_TRACKING_0=""
42810 fi
42811
42812 COND_DEPS_TRACKING_1="#"
42813 if test "x$DEPS_TRACKING" = "x1" ; then
42814 COND_DEPS_TRACKING_1=""
42815 fi
42816
42817 COND_GCC_PCH_1="#"
42818 if test "x$GCC_PCH" = "x1" ; then
42819 COND_GCC_PCH_1=""
42820 fi
42821
42822 COND_MONOLITHIC_0="#"
42823 if test "x$MONOLITHIC" = "x0" ; then
42824 COND_MONOLITHIC_0=""
42825 fi
42826
42827 COND_MONOLITHIC_0_SHARED_0="#"
42828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42829 COND_MONOLITHIC_0_SHARED_0=""
42830 fi
42831
42832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
42833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
42835 fi
42836
42837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
42838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
42840 fi
42841
42842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
42843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
42845 fi
42846
42847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
42848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
42850 fi
42851
42852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
42853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42854 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
42855 fi
42856
42857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
42858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42859 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
42860 fi
42861
42862 COND_MONOLITHIC_0_SHARED_1="#"
42863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42864 COND_MONOLITHIC_0_SHARED_1=""
42865 fi
42866
42867 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
42868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42869 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
42870 fi
42871
42872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
42873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
42875 fi
42876
42877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
42878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
42880 fi
42881
42882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
42883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
42885 fi
42886
42887 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
42888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42889 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
42890 fi
42891
42892 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
42893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42894 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
42895 fi
42896
42897 COND_MONOLITHIC_0_USE_ODBC_1="#"
42898 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42899 COND_MONOLITHIC_0_USE_ODBC_1=""
42900 fi
42901
42902 COND_MONOLITHIC_1="#"
42903 if test "x$MONOLITHIC" = "x1" ; then
42904 COND_MONOLITHIC_1=""
42905 fi
42906
42907 COND_MONOLITHIC_1_SHARED_0="#"
42908 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42909 COND_MONOLITHIC_1_SHARED_0=""
42910 fi
42911
42912 COND_MONOLITHIC_1_SHARED_1="#"
42913 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42914 COND_MONOLITHIC_1_SHARED_1=""
42915 fi
42916
42917 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
42918 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42919 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
42920 fi
42921
42922 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
42923 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42924 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
42925 fi
42926
42927 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
42928 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42929 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
42930 fi
42931
42932 COND_PLATFORM_MACOSX_1="#"
42933 if test "x$PLATFORM_MACOSX" = "x1" ; then
42934 COND_PLATFORM_MACOSX_1=""
42935 fi
42936
42937 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
42938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42939 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
42940 fi
42941
42942 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
42943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42944 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
42945 fi
42946
42947 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
42948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42949 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
42950 fi
42951
42952 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
42953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42954 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
42955 fi
42956
42957 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
42958 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42959 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
42960 fi
42961
42962 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
42963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
42965 fi
42966
42967 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
42968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42969 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
42970 fi
42971
42972 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
42973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42974 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
42975 fi
42976
42977 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
42978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42979 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
42980 fi
42981
42982 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
42983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
42985 fi
42986
42987 COND_PLATFORM_MACOS_1="#"
42988 if test "x$PLATFORM_MACOS" = "x1" ; then
42989 COND_PLATFORM_MACOS_1=""
42990 fi
42991
42992 COND_PLATFORM_MAC_1="#"
42993 if test "x$PLATFORM_MAC" = "x1" ; then
42994 COND_PLATFORM_MAC_1=""
42995 fi
42996
42997 COND_PLATFORM_OS2_1="#"
42998 if test "x$PLATFORM_OS2" = "x1" ; then
42999 COND_PLATFORM_OS2_1=""
43000 fi
43001
43002 COND_PLATFORM_UNIX_0="#"
43003 if test "x$PLATFORM_UNIX" = "x0" ; then
43004 COND_PLATFORM_UNIX_0=""
43005 fi
43006
43007 COND_PLATFORM_UNIX_1="#"
43008 if test "x$PLATFORM_UNIX" = "x1" ; then
43009 COND_PLATFORM_UNIX_1=""
43010 fi
43011
43012 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43013 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43014 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43015 fi
43016
43017 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43018 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43019 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43020 fi
43021
43022 COND_PLATFORM_WIN32_0="#"
43023 if test "x$PLATFORM_WIN32" = "x0" ; then
43024 COND_PLATFORM_WIN32_0=""
43025 fi
43026
43027 COND_PLATFORM_WIN32_1="#"
43028 if test "x$PLATFORM_WIN32" = "x1" ; then
43029 COND_PLATFORM_WIN32_1=""
43030 fi
43031
43032 COND_SHARED_0="#"
43033 if test "x$SHARED" = "x0" ; then
43034 COND_SHARED_0=""
43035 fi
43036
43037 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43038 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43039 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43040 fi
43041
43042 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43043 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43044 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43045 fi
43046
43047 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43048 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43049 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43050 fi
43051
43052 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43053 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43054 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43055 fi
43056
43057 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43058 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43059 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43060 fi
43061
43062 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43063 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43064 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43065 fi
43066
43067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43068 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43069 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43070 fi
43071
43072 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43073 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43074 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43075 fi
43076
43077 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43078 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43079 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43080 fi
43081
43082 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43083 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43084 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43085 fi
43086
43087 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43088 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43089 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43090 fi
43091
43092 COND_SHARED_1="#"
43093 if test "x$SHARED" = "x1" ; then
43094 COND_SHARED_1=""
43095 fi
43096
43097 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43098 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43099 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43100 fi
43101
43102 COND_TOOLKIT_="#"
43103 if test "x$TOOLKIT" = "x" ; then
43104 COND_TOOLKIT_=""
43105 fi
43106
43107 COND_TOOLKIT_COCOA="#"
43108 if test "x$TOOLKIT" = "xCOCOA" ; then
43109 COND_TOOLKIT_COCOA=""
43110 fi
43111
43112 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43113 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43114 COND_TOOLKIT_COCOA_USE_GUI_1=""
43115 fi
43116
43117 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43118 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43119 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43120 fi
43121
43122 COND_TOOLKIT_GTK="#"
43123 if test "x$TOOLKIT" = "xGTK" ; then
43124 COND_TOOLKIT_GTK=""
43125 fi
43126
43127 COND_TOOLKIT_GTK_USE_GUI_1="#"
43128 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43129 COND_TOOLKIT_GTK_USE_GUI_1=""
43130 fi
43131
43132 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43133 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43134 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43135 fi
43136
43137 COND_TOOLKIT_MAC="#"
43138 if test "x$TOOLKIT" = "xMAC" ; then
43139 COND_TOOLKIT_MAC=""
43140 fi
43141
43142 COND_TOOLKIT_MAC_USE_GUI_1="#"
43143 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43144 COND_TOOLKIT_MAC_USE_GUI_1=""
43145 fi
43146
43147 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43148 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43149 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43150 fi
43151
43152 COND_TOOLKIT_MGL="#"
43153 if test "x$TOOLKIT" = "xMGL" ; then
43154 COND_TOOLKIT_MGL=""
43155 fi
43156
43157 COND_TOOLKIT_MGL_USE_GUI_1="#"
43158 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43159 COND_TOOLKIT_MGL_USE_GUI_1=""
43160 fi
43161
43162 COND_TOOLKIT_MOTIF="#"
43163 if test "x$TOOLKIT" = "xMOTIF" ; then
43164 COND_TOOLKIT_MOTIF=""
43165 fi
43166
43167 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43168 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43169 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43170 fi
43171
43172 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43173 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43174 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43175 fi
43176
43177 COND_TOOLKIT_MSW="#"
43178 if test "x$TOOLKIT" = "xMSW" ; then
43179 COND_TOOLKIT_MSW=""
43180 fi
43181
43182 COND_TOOLKIT_MSW_USE_GUI_1="#"
43183 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43184 COND_TOOLKIT_MSW_USE_GUI_1=""
43185 fi
43186
43187 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43188 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43189 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43190 fi
43191
43192 COND_TOOLKIT_PM="#"
43193 if test "x$TOOLKIT" = "xPM" ; then
43194 COND_TOOLKIT_PM=""
43195 fi
43196
43197 COND_TOOLKIT_PM_USE_GUI_1="#"
43198 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43199 COND_TOOLKIT_PM_USE_GUI_1=""
43200 fi
43201
43202 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43203 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43204 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43205 fi
43206
43207 COND_TOOLKIT_WINCE="#"
43208 if test "x$TOOLKIT" = "xWINCE" ; then
43209 COND_TOOLKIT_WINCE=""
43210 fi
43211
43212 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43213 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43214 COND_TOOLKIT_WINCE_USE_GUI_1=""
43215 fi
43216
43217 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43218 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43219 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43220 fi
43221
43222 COND_TOOLKIT_X11="#"
43223 if test "x$TOOLKIT" = "xX11" ; then
43224 COND_TOOLKIT_X11=""
43225 fi
43226
43227 COND_TOOLKIT_X11_USE_GUI_1="#"
43228 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43229 COND_TOOLKIT_X11_USE_GUI_1=""
43230 fi
43231
43232 COND_UNICODE_1="#"
43233 if test "x$UNICODE" = "x1" ; then
43234 COND_UNICODE_1=""
43235 fi
43236
43237 COND_USE_EXCEPTIONS_0="#"
43238 if test "x$USE_EXCEPTIONS" = "x0" ; then
43239 COND_USE_EXCEPTIONS_0=""
43240 fi
43241
43242 COND_USE_EXCEPTIONS_1="#"
43243 if test "x$USE_EXCEPTIONS" = "x1" ; then
43244 COND_USE_EXCEPTIONS_1=""
43245 fi
43246
43247 COND_USE_GUI_0="#"
43248 if test "x$USE_GUI" = "x0" ; then
43249 COND_USE_GUI_0=""
43250 fi
43251
43252 COND_USE_GUI_1="#"
43253 if test "x$USE_GUI" = "x1" ; then
43254 COND_USE_GUI_1=""
43255 fi
43256
43257 COND_USE_GUI_1_WXUNIV_0="#"
43258 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43259 COND_USE_GUI_1_WXUNIV_0=""
43260 fi
43261
43262 COND_USE_GUI_1_WXUNIV_1="#"
43263 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43264 COND_USE_GUI_1_WXUNIV_1=""
43265 fi
43266
43267 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43269 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43270 fi
43271
43272 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43274 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43275 fi
43276
43277 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43278 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43279 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43280 fi
43281
43282 COND_USE_ODBC_1="#"
43283 if test "x$USE_ODBC" = "x1" ; then
43284 COND_USE_ODBC_1=""
43285 fi
43286
43287 COND_USE_OPENGL_1="#"
43288 if test "x$USE_OPENGL" = "x1" ; then
43289 COND_USE_OPENGL_1=""
43290 fi
43291
43292 COND_USE_PLUGINS_0="#"
43293 if test "x$USE_PLUGINS" = "x0" ; then
43294 COND_USE_PLUGINS_0=""
43295 fi
43296
43297 COND_USE_RTTI_0="#"
43298 if test "x$USE_RTTI" = "x0" ; then
43299 COND_USE_RTTI_0=""
43300 fi
43301
43302 COND_USE_RTTI_1="#"
43303 if test "x$USE_RTTI" = "x1" ; then
43304 COND_USE_RTTI_1=""
43305 fi
43306
43307 COND_USE_SOSYMLINKS_1="#"
43308 if test "x$USE_SOSYMLINKS" = "x1" ; then
43309 COND_USE_SOSYMLINKS_1=""
43310 fi
43311
43312 COND_USE_SOVERLINUX_1="#"
43313 if test "x$USE_SOVERLINUX" = "x1" ; then
43314 COND_USE_SOVERLINUX_1=""
43315 fi
43316
43317 COND_USE_SOVERSION_0="#"
43318 if test "x$USE_SOVERSION" = "x0" ; then
43319 COND_USE_SOVERSION_0=""
43320 fi
43321
43322 COND_USE_SOVERSOLARIS_1="#"
43323 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43324 COND_USE_SOVERSOLARIS_1=""
43325 fi
43326
43327 COND_USE_THREADS_0="#"
43328 if test "x$USE_THREADS" = "x0" ; then
43329 COND_USE_THREADS_0=""
43330 fi
43331
43332 COND_USE_THREADS_1="#"
43333 if test "x$USE_THREADS" = "x1" ; then
43334 COND_USE_THREADS_1=""
43335 fi
43336
43337 COND_USE_XRC_1="#"
43338 if test "x$USE_XRC" = "x1" ; then
43339 COND_USE_XRC_1=""
43340 fi
43341
43342 COND_WITH_PLUGIN_SDL_1="#"
43343 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43344 COND_WITH_PLUGIN_SDL_1=""
43345 fi
43346
43347 COND_WXUNIV_0="#"
43348 if test "x$WXUNIV" = "x0" ; then
43349 COND_WXUNIV_0=""
43350 fi
43351
43352 COND_WXUNIV_1="#"
43353 if test "x$WXUNIV" = "x1" ; then
43354 COND_WXUNIV_1=""
43355 fi
43356
43357 COND_WXUSE_EXPAT_BUILTIN="#"
43358 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43359 COND_WXUSE_EXPAT_BUILTIN=""
43360 fi
43361
43362 COND_WXUSE_LIBJPEG_BUILTIN="#"
43363 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43364 COND_WXUSE_LIBJPEG_BUILTIN=""
43365 fi
43366
43367 COND_WXUSE_LIBPNG_BUILTIN="#"
43368 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43369 COND_WXUSE_LIBPNG_BUILTIN=""
43370 fi
43371
43372 COND_WXUSE_LIBTIFF_BUILTIN="#"
43373 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43374 COND_WXUSE_LIBTIFF_BUILTIN=""
43375 fi
43376
43377 COND_WXUSE_ODBC_BUILTIN="#"
43378 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43379 COND_WXUSE_ODBC_BUILTIN=""
43380 fi
43381
43382 COND_WXUSE_REGEX_BUILTIN="#"
43383 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43384 COND_WXUSE_REGEX_BUILTIN=""
43385 fi
43386
43387 COND_WXUSE_ZLIB_BUILTIN="#"
43388 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43389 COND_WXUSE_ZLIB_BUILTIN=""
43390 fi
43391
43392
43393
43394 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43395 { { 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
43396 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;}
43397 { (exit 1); exit 1; }; }
43398 fi
43399
43400
43401 if test "$wxUSE_SHARED" = "yes"; then
43402
43403 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
43404 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
43405
43406 case "${host}" in
43407 *-pc-os2_emx | *-pc-os2-emx )
43408 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43409 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43410 cp -p ${srcdir}/src/os2/dllnames.sh .
43411 cp -p ${srcdir}/src/os2/dllar.sh .
43412 ;;
43413 esac
43414 else
43415
43416 EXE_LINKER="$CXX -o"
43417
43418 fi
43419 if test "$wxUSE_OMF" = "yes"; then
43420 case "${host}" in
43421 *-pc-os2_emx | *-pc-os2-emx )
43422 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
43423 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43424 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
43425 ;;
43426 esac
43427 fi
43428
43429 GCC_PRAGMA_FLAGS=""
43430 PCH_FLAGS=""
43431 if test $GCC_PCH = 1 ; then
43432 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43433 PCH_FLAGS="-DWX_PRECOMP"
43434 else
43435 case "${host}" in
43436 powerpc-*-darwin* )
43437 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43438 ;;
43439 *-*-mingw32* )
43440 if test "$wxUSE_STL" = "yes" -o \
43441 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43442 "$wxUSE_NO_RTTI" != "yes"; then
43443 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43444 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451
43452 int
43453 main ()
43454 {
43455 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43456 #error "Not GCC 3.2 or greater"
43457 #endif
43458
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 rm -f conftest.$ac_objext
43464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43465 (eval $ac_compile) 2>conftest.er1
43466 ac_status=$?
43467 grep -v '^ *+' conftest.er1 >conftest.err
43468 rm -f conftest.er1
43469 cat conftest.err >&5
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); } &&
43472 { ac_try='test -z "$ac_c_werror_flag"
43473 || test ! -s conftest.err'
43474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43475 (eval $ac_try) 2>&5
43476 ac_status=$?
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); }; } &&
43479 { ac_try='test -s conftest.$ac_objext'
43480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43481 (eval $ac_try) 2>&5
43482 ac_status=$?
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); }; }; then
43485 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43486 echo "$as_me:$LINENO: result: yes" >&5
43487 echo "${ECHO_T}yes" >&6
43488 else
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.$ac_ext >&5
43491
43492 echo "$as_me:$LINENO: result: no" >&5
43493 echo "${ECHO_T}no" >&6
43494 fi
43495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43496 fi
43497 ;;
43498 *-pc-os2_emx | *-pc-os2-emx )
43499 if test "$wxUSE_STL" = "yes"; then
43500 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43501 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508
43509 int
43510 main ()
43511 {
43512 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43513 #error "Not GCC 3.2 or greater"
43514 #endif
43515
43516 ;
43517 return 0;
43518 }
43519 _ACEOF
43520 rm -f conftest.$ac_objext
43521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43522 (eval $ac_compile) 2>conftest.er1
43523 ac_status=$?
43524 grep -v '^ *+' conftest.er1 >conftest.err
43525 rm -f conftest.er1
43526 cat conftest.err >&5
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); } &&
43529 { ac_try='test -z "$ac_c_werror_flag"
43530 || test ! -s conftest.err'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43533 ac_status=$?
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; } &&
43536 { ac_try='test -s conftest.$ac_objext'
43537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43538 (eval $ac_try) 2>&5
43539 ac_status=$?
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; }; then
43542 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
43543 echo "$as_me:$LINENO: result: yes" >&5
43544 echo "${ECHO_T}yes" >&6
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43548
43549 echo "$as_me:$LINENO: result: no" >&5
43550 echo "${ECHO_T}no" >&6
43551 fi
43552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43553 fi
43554 ;;
43555 esac
43556 fi
43557 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43558
43559
43560 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43625 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43626 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43627 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43628 echo $ECHO_N "(cached) $ECHO_C" >&6
43629 else
43630 cat >conftest.make <<\_ACEOF
43631 all:
43632 @echo 'ac_maketemp="$(MAKE)"'
43633 _ACEOF
43634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43635 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43636 if test -n "$ac_maketemp"; then
43637 eval ac_cv_prog_make_${ac_make}_set=yes
43638 else
43639 eval ac_cv_prog_make_${ac_make}_set=no
43640 fi
43641 rm -f conftest.make
43642 fi
43643 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43644 echo "$as_me:$LINENO: result: yes" >&5
43645 echo "${ECHO_T}yes" >&6
43646 SET_MAKE=
43647 else
43648 echo "$as_me:$LINENO: result: no" >&5
43649 echo "${ECHO_T}no" >&6
43650 SET_MAKE="MAKE=${MAKE-make}"
43651 fi
43652
43653
43654
43655 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43656
43657
43658 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43659
43660
43661 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43662
43663
43664 ac_config_files="$ac_config_files version-script Makefile"
43665
43666
43667 ac_config_commands="$ac_config_commands wx-config
43668 "
43669
43670
43671
43672
43673 if test "$wxUSE_GUI" = "yes"; then
43674 SUBDIRS="samples demos utils contrib"
43675 else SUBDIRS="samples utils"
43676 fi
43677
43678
43679
43680 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43681 if test "${with_cppunit_prefix+set}" = set; then
43682 withval="$with_cppunit_prefix"
43683 cppunit_config_prefix="$withval"
43684 else
43685 cppunit_config_prefix=""
43686 fi;
43687
43688 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43689 if test "${with_cppunit_exec_prefix+set}" = set; then
43690 withval="$with_cppunit_exec_prefix"
43691 cppunit_config_exec_prefix="$withval"
43692 else
43693 cppunit_config_exec_prefix=""
43694 fi;
43695
43696 if test x$cppunit_config_exec_prefix != x ; then
43697 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43698 if test x${CPPUNIT_CONFIG+set} != xset ; then
43699 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
43700 fi
43701 fi
43702 if test x$cppunit_config_prefix != x ; then
43703 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
43704 if test x${CPPUNIT_CONFIG+set} != xset ; then
43705 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
43706 fi
43707 fi
43708
43709 # Extract the first word of "cppunit-config", so it can be a program name with args.
43710 set dummy cppunit-config; ac_word=$2
43711 echo "$as_me:$LINENO: checking for $ac_word" >&5
43712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43713 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43715 else
43716 case $CPPUNIT_CONFIG in
43717 [\\/]* | ?:[\\/]*)
43718 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43719 ;;
43720 *)
43721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43722 for as_dir in $PATH
43723 do
43724 IFS=$as_save_IFS
43725 test -z "$as_dir" && as_dir=.
43726 for ac_exec_ext in '' $ac_executable_extensions; do
43727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43728 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43730 break 2
43731 fi
43732 done
43733 done
43734
43735 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
43736 ;;
43737 esac
43738 fi
43739 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
43740
43741 if test -n "$CPPUNIT_CONFIG"; then
43742 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43743 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43744 else
43745 echo "$as_me:$LINENO: result: no" >&5
43746 echo "${ECHO_T}no" >&6
43747 fi
43748
43749 cppunit_version_min=1.8.0
43750
43751 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43752 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43753 no_cppunit=""
43754 if test "$CPPUNIT_CONFIG" = "no" ; then
43755 no_cppunit=yes
43756 else
43757 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
43758 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
43759 cppunit_version=`$CPPUNIT_CONFIG --version`
43760
43761 cppunit_major_version=`echo $cppunit_version | \
43762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43763 cppunit_minor_version=`echo $cppunit_version | \
43764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43765 cppunit_micro_version=`echo $cppunit_version | \
43766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43767
43768 cppunit_major_min=`echo $cppunit_version_min | \
43769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43770 cppunit_minor_min=`echo $cppunit_version_min | \
43771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43772 cppunit_micro_min=`echo $cppunit_version_min | \
43773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43774
43775 cppunit_version_proper=`expr \
43776 $cppunit_major_version \> $cppunit_major_min \| \
43777 $cppunit_major_version \= $cppunit_major_min \& \
43778 $cppunit_minor_version \> $cppunit_minor_min \| \
43779 $cppunit_major_version \= $cppunit_major_min \& \
43780 $cppunit_minor_version \= $cppunit_minor_min \& \
43781 $cppunit_micro_version \>= $cppunit_micro_min `
43782
43783 if test "$cppunit_version_proper" = "1" ; then
43784 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43785 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43786 else
43787 echo "$as_me:$LINENO: result: no" >&5
43788 echo "${ECHO_T}no" >&6
43789 no_cppunit=yes
43790 fi
43791 fi
43792
43793 if test "x$no_cppunit" = x ; then
43794 SUBDIRS="$SUBDIRS tests"
43795 else
43796 CPPUNIT_CFLAGS=""
43797 CPPUNIT_LIBS=""
43798 :
43799 fi
43800
43801
43802
43803
43804
43805 for subdir in `echo $SUBDIRS`; do
43806 if test -d ${srcdir}/${subdir} ; then
43807 if test "$wxUSE_GUI" = "yes"; then
43808 if test ${subdir} = "samples"; then
43809 makefiles="samples/Makefile.in $makefiles"
43810 for sample in `echo $SAMPLES_SUBDIRS`; do
43811 if test -d $srcdir/samples/$sample; then
43812 makefiles="samples/$sample/Makefile.in $makefiles"
43813 fi
43814 done
43815 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43816 fi
43817 else if test ${subdir} = "samples"; then
43818 makefiles="samples/Makefile.in samples/console/Makefile.in"
43819 elif test ${subdir} = "utils"; then
43820 makefiles=""
43821 for util in HelpGen tex2rtf ; do
43822 if test -d $srcdir/utils/$util ; then
43823 makefiles="utils/$util/Makefile.in \
43824 utils/$util/src/Makefile.in \
43825 $makefiles"
43826 fi
43827 done
43828 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
43829 fi
43830 fi
43831
43832 for mkin in $makefiles ; do
43833 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43834 ac_config_files="$ac_config_files $mk"
43835
43836 done
43837 fi
43838 done
43839
43840
43841 cat >confcache <<\_ACEOF
43842 # This file is a shell script that caches the results of configure
43843 # tests run on this system so they can be shared between configure
43844 # scripts and configure runs, see configure's option --config-cache.
43845 # It is not useful on other systems. If it contains results you don't
43846 # want to keep, you may remove or edit it.
43847 #
43848 # config.status only pays attention to the cache file if you give it
43849 # the --recheck option to rerun configure.
43850 #
43851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43853 # following values.
43854
43855 _ACEOF
43856
43857 # The following way of writing the cache mishandles newlines in values,
43858 # but we know of no workaround that is simple, portable, and efficient.
43859 # So, don't put newlines in cache variables' values.
43860 # Ultrix sh set writes to stderr and can't be redirected directly,
43861 # and sets the high bit in the cache file unless we assign to the vars.
43862 {
43863 (set) 2>&1 |
43864 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43865 *ac_space=\ *)
43866 # `set' does not quote correctly, so add quotes (double-quote
43867 # substitution turns \\\\ into \\, and sed turns \\ into \).
43868 sed -n \
43869 "s/'/'\\\\''/g;
43870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43871 ;;
43872 *)
43873 # `set' quotes correctly as required by POSIX, so do not add quotes.
43874 sed -n \
43875 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43876 ;;
43877 esac;
43878 } |
43879 sed '
43880 t clear
43881 : clear
43882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43883 t end
43884 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43885 : end' >>confcache
43886 if diff $cache_file confcache >/dev/null 2>&1; then :; else
43887 if test -w $cache_file; then
43888 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43889 cat confcache >$cache_file
43890 else
43891 echo "not updating unwritable cache $cache_file"
43892 fi
43893 fi
43894 rm -f confcache
43895
43896 test "x$prefix" = xNONE && prefix=$ac_default_prefix
43897 # Let make expand exec_prefix.
43898 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
43899
43900 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43901 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43902 # trailing colons and then remove the whole line if VPATH becomes empty
43903 # (actually we leave an empty line to preserve line numbers).
43904 if test "x$srcdir" = x.; then
43905 ac_vpsub='/^[ ]*VPATH[ ]*=/{
43906 s/:*\$(srcdir):*/:/;
43907 s/:*\${srcdir}:*/:/;
43908 s/:*@srcdir@:*/:/;
43909 s/^\([^=]*=[ ]*\):*/\1/;
43910 s/:*$//;
43911 s/^[^=]*=[ ]*$//;
43912 }'
43913 fi
43914
43915 DEFS=-DHAVE_CONFIG_H
43916
43917 ac_libobjs=
43918 ac_ltlibobjs=
43919 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
43920 # 1. Remove the extension, and $U if already installed.
43921 ac_i=`echo "$ac_i" |
43922 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43923 # 2. Add them.
43924 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
43925 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
43926 done
43927 LIBOBJS=$ac_libobjs
43928
43929 LTLIBOBJS=$ac_ltlibobjs
43930
43931
43932
43933 : ${CONFIG_STATUS=./config.status}
43934 ac_clean_files_save=$ac_clean_files
43935 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
43936 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43937 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43938 cat >$CONFIG_STATUS <<_ACEOF
43939 #! $SHELL
43940 # Generated by $as_me.
43941 # Run this file to recreate the current configuration.
43942 # Compiler output produced by configure, useful for debugging
43943 # configure, is in config.log if it exists.
43944
43945 debug=false
43946 ac_cs_recheck=false
43947 ac_cs_silent=false
43948 SHELL=\${CONFIG_SHELL-$SHELL}
43949 _ACEOF
43950
43951 cat >>$CONFIG_STATUS <<\_ACEOF
43952 ## --------------------- ##
43953 ## M4sh Initialization. ##
43954 ## --------------------- ##
43955
43956 # Be Bourne compatible
43957 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
43958 emulate sh
43959 NULLCMD=:
43960 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43961 # is contrary to our usage. Disable this feature.
43962 alias -g '${1+"$@"}'='"$@"'
43963 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43964 set -o posix
43965 fi
43966 DUALCASE=1; export DUALCASE # for MKS sh
43967
43968 # Support unset when possible.
43969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
43970 as_unset=unset
43971 else
43972 as_unset=false
43973 fi
43974
43975
43976 # Work around bugs in pre-3.0 UWIN ksh.
43977 $as_unset ENV MAIL MAILPATH
43978 PS1='$ '
43979 PS2='> '
43980 PS4='+ '
43981
43982 # NLS nuisances.
43983 for as_var in \
43984 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43985 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43986 LC_TELEPHONE LC_TIME
43987 do
43988 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43989 eval $as_var=C; export $as_var
43990 else
43991 $as_unset $as_var
43992 fi
43993 done
43994
43995 # Required to use basename.
43996 if expr a : '\(a\)' >/dev/null 2>&1; then
43997 as_expr=expr
43998 else
43999 as_expr=false
44000 fi
44001
44002 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44003 as_basename=basename
44004 else
44005 as_basename=false
44006 fi
44007
44008
44009 # Name of the executable.
44010 as_me=`$as_basename "$0" ||
44011 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44012 X"$0" : 'X\(//\)$' \| \
44013 X"$0" : 'X\(/\)$' \| \
44014 . : '\(.\)' 2>/dev/null ||
44015 echo X/"$0" |
44016 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44017 /^X\/\(\/\/\)$/{ s//\1/; q; }
44018 /^X\/\(\/\).*/{ s//\1/; q; }
44019 s/.*/./; q'`
44020
44021
44022 # PATH needs CR, and LINENO needs CR and PATH.
44023 # Avoid depending upon Character Ranges.
44024 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44025 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44026 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44027 as_cr_digits='0123456789'
44028 as_cr_alnum=$as_cr_Letters$as_cr_digits
44029
44030 # The user is always right.
44031 if test "${PATH_SEPARATOR+set}" != set; then
44032 echo "#! /bin/sh" >conf$$.sh
44033 echo "exit 0" >>conf$$.sh
44034 chmod +x conf$$.sh
44035 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44036 PATH_SEPARATOR=';'
44037 else
44038 PATH_SEPARATOR=:
44039 fi
44040 rm -f conf$$.sh
44041 fi
44042
44043
44044 as_lineno_1=$LINENO
44045 as_lineno_2=$LINENO
44046 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44047 test "x$as_lineno_1" != "x$as_lineno_2" &&
44048 test "x$as_lineno_3" = "x$as_lineno_2" || {
44049 # Find who we are. Look in the path if we contain no path at all
44050 # relative or not.
44051 case $0 in
44052 *[\\/]* ) as_myself=$0 ;;
44053 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44054 for as_dir in $PATH
44055 do
44056 IFS=$as_save_IFS
44057 test -z "$as_dir" && as_dir=.
44058 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44059 done
44060
44061 ;;
44062 esac
44063 # We did not find ourselves, most probably we were run as `sh COMMAND'
44064 # in which case we are not to be found in the path.
44065 if test "x$as_myself" = x; then
44066 as_myself=$0
44067 fi
44068 if test ! -f "$as_myself"; then
44069 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44070 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44071 { (exit 1); exit 1; }; }
44072 fi
44073 case $CONFIG_SHELL in
44074 '')
44075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44076 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44077 do
44078 IFS=$as_save_IFS
44079 test -z "$as_dir" && as_dir=.
44080 for as_base in sh bash ksh sh5; do
44081 case $as_dir in
44082 /*)
44083 if ("$as_dir/$as_base" -c '
44084 as_lineno_1=$LINENO
44085 as_lineno_2=$LINENO
44086 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44087 test "x$as_lineno_1" != "x$as_lineno_2" &&
44088 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44089 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44090 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44091 CONFIG_SHELL=$as_dir/$as_base
44092 export CONFIG_SHELL
44093 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44094 fi;;
44095 esac
44096 done
44097 done
44098 ;;
44099 esac
44100
44101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44102 # uniformly replaced by the line number. The first 'sed' inserts a
44103 # line-number line before each line; the second 'sed' does the real
44104 # work. The second script uses 'N' to pair each line-number line
44105 # with the numbered line, and appends trailing '-' during
44106 # substitution so that $LINENO is not a special case at line end.
44107 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44108 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44109 sed '=' <$as_myself |
44110 sed '
44111 N
44112 s,$,-,
44113 : loop
44114 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44115 t loop
44116 s,-$,,
44117 s,^['$as_cr_digits']*\n,,
44118 ' >$as_me.lineno &&
44119 chmod +x $as_me.lineno ||
44120 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44121 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44122 { (exit 1); exit 1; }; }
44123
44124 # Don't try to exec as it changes $[0], causing all sort of problems
44125 # (the dirname of $[0] is not the place where we might find the
44126 # original and so on. Autoconf is especially sensible to this).
44127 . ./$as_me.lineno
44128 # Exit status is that of the last command.
44129 exit
44130 }
44131
44132
44133 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44134 *c*,-n*) ECHO_N= ECHO_C='
44135 ' ECHO_T=' ' ;;
44136 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44137 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44138 esac
44139
44140 if expr a : '\(a\)' >/dev/null 2>&1; then
44141 as_expr=expr
44142 else
44143 as_expr=false
44144 fi
44145
44146 rm -f conf$$ conf$$.exe conf$$.file
44147 echo >conf$$.file
44148 if ln -s conf$$.file conf$$ 2>/dev/null; then
44149 # We could just check for DJGPP; but this test a) works b) is more generic
44150 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44151 if test -f conf$$.exe; then
44152 # Don't use ln at all; we don't have any links
44153 as_ln_s='cp -p'
44154 else
44155 as_ln_s='ln -s'
44156 fi
44157 elif ln conf$$.file conf$$ 2>/dev/null; then
44158 as_ln_s=ln
44159 else
44160 as_ln_s='cp -p'
44161 fi
44162 rm -f conf$$ conf$$.exe conf$$.file
44163
44164 if mkdir -p . 2>/dev/null; then
44165 as_mkdir_p=:
44166 else
44167 test -d ./-p && rmdir ./-p
44168 as_mkdir_p=false
44169 fi
44170
44171 as_executable_p="test -f"
44172
44173 # Sed expression to map a string onto a valid CPP name.
44174 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44175
44176 # Sed expression to map a string onto a valid variable name.
44177 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44178
44179
44180 # IFS
44181 # We need space, tab and new line, in precisely that order.
44182 as_nl='
44183 '
44184 IFS=" $as_nl"
44185
44186 # CDPATH.
44187 $as_unset CDPATH
44188
44189 exec 6>&1
44190
44191 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44192 # report actual input values of CONFIG_FILES etc. instead of their
44193 # values after options handling. Logging --version etc. is OK.
44194 exec 5>>config.log
44195 {
44196 echo
44197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44198 ## Running $as_me. ##
44199 _ASBOX
44200 } >&5
44201 cat >&5 <<_CSEOF
44202
44203 This file was extended by wxWidgets $as_me 2.5.5, which was
44204 generated by GNU Autoconf 2.59. Invocation command line was
44205
44206 CONFIG_FILES = $CONFIG_FILES
44207 CONFIG_HEADERS = $CONFIG_HEADERS
44208 CONFIG_LINKS = $CONFIG_LINKS
44209 CONFIG_COMMANDS = $CONFIG_COMMANDS
44210 $ $0 $@
44211
44212 _CSEOF
44213 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44214 echo >&5
44215 _ACEOF
44216
44217 # Files that config.status was made for.
44218 if test -n "$ac_config_files"; then
44219 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44220 fi
44221
44222 if test -n "$ac_config_headers"; then
44223 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44224 fi
44225
44226 if test -n "$ac_config_links"; then
44227 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44228 fi
44229
44230 if test -n "$ac_config_commands"; then
44231 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44232 fi
44233
44234 cat >>$CONFIG_STATUS <<\_ACEOF
44235
44236 ac_cs_usage="\
44237 \`$as_me' instantiates files from templates according to the
44238 current configuration.
44239
44240 Usage: $0 [OPTIONS] [FILE]...
44241
44242 -h, --help print this help, then exit
44243 -V, --version print version number, then exit
44244 -q, --quiet do not print progress messages
44245 -d, --debug don't remove temporary files
44246 --recheck update $as_me by reconfiguring in the same conditions
44247 --file=FILE[:TEMPLATE]
44248 instantiate the configuration file FILE
44249 --header=FILE[:TEMPLATE]
44250 instantiate the configuration header FILE
44251
44252 Configuration files:
44253 $config_files
44254
44255 Configuration headers:
44256 $config_headers
44257
44258 Configuration commands:
44259 $config_commands
44260
44261 Report bugs to <bug-autoconf@gnu.org>."
44262 _ACEOF
44263
44264 cat >>$CONFIG_STATUS <<_ACEOF
44265 ac_cs_version="\\
44266 wxWidgets config.status 2.5.5
44267 configured by $0, generated by GNU Autoconf 2.59,
44268 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44269
44270 Copyright (C) 2003 Free Software Foundation, Inc.
44271 This config.status script is free software; the Free Software Foundation
44272 gives unlimited permission to copy, distribute and modify it."
44273 srcdir=$srcdir
44274 INSTALL="$INSTALL"
44275 _ACEOF
44276
44277 cat >>$CONFIG_STATUS <<\_ACEOF
44278 # If no file are specified by the user, then we need to provide default
44279 # value. By we need to know if files were specified by the user.
44280 ac_need_defaults=:
44281 while test $# != 0
44282 do
44283 case $1 in
44284 --*=*)
44285 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44286 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44287 ac_shift=:
44288 ;;
44289 -*)
44290 ac_option=$1
44291 ac_optarg=$2
44292 ac_shift=shift
44293 ;;
44294 *) # This is not an option, so the user has probably given explicit
44295 # arguments.
44296 ac_option=$1
44297 ac_need_defaults=false;;
44298 esac
44299
44300 case $ac_option in
44301 # Handling of the options.
44302 _ACEOF
44303 cat >>$CONFIG_STATUS <<\_ACEOF
44304 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44305 ac_cs_recheck=: ;;
44306 --version | --vers* | -V )
44307 echo "$ac_cs_version"; exit 0 ;;
44308 --he | --h)
44309 # Conflict between --help and --header
44310 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44311 Try \`$0 --help' for more information." >&5
44312 echo "$as_me: error: ambiguous option: $1
44313 Try \`$0 --help' for more information." >&2;}
44314 { (exit 1); exit 1; }; };;
44315 --help | --hel | -h )
44316 echo "$ac_cs_usage"; exit 0 ;;
44317 --debug | --d* | -d )
44318 debug=: ;;
44319 --file | --fil | --fi | --f )
44320 $ac_shift
44321 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44322 ac_need_defaults=false;;
44323 --header | --heade | --head | --hea )
44324 $ac_shift
44325 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44326 ac_need_defaults=false;;
44327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44329 ac_cs_silent=: ;;
44330
44331 # This is an error.
44332 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44333 Try \`$0 --help' for more information." >&5
44334 echo "$as_me: error: unrecognized option: $1
44335 Try \`$0 --help' for more information." >&2;}
44336 { (exit 1); exit 1; }; } ;;
44337
44338 *) ac_config_targets="$ac_config_targets $1" ;;
44339
44340 esac
44341 shift
44342 done
44343
44344 ac_configure_extra_args=
44345
44346 if $ac_cs_silent; then
44347 exec 6>/dev/null
44348 ac_configure_extra_args="$ac_configure_extra_args --silent"
44349 fi
44350
44351 _ACEOF
44352 cat >>$CONFIG_STATUS <<_ACEOF
44353 if \$ac_cs_recheck; then
44354 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44355 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44356 fi
44357
44358 _ACEOF
44359
44360 cat >>$CONFIG_STATUS <<_ACEOF
44361 #
44362 # INIT-COMMANDS section.
44363 #
44364
44365 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44366 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44367 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44368 LN_S="${LN_S}"
44369
44370
44371 _ACEOF
44372
44373
44374
44375 cat >>$CONFIG_STATUS <<\_ACEOF
44376 for ac_config_target in $ac_config_targets
44377 do
44378 case "$ac_config_target" in
44379 # Handling of arguments.
44380 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44381 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44382 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
44383 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
44384 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
44385 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
44386 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44387 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44388 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44389 { (exit 1); exit 1; }; };;
44390 esac
44391 done
44392
44393 # If the user did not use the arguments to specify the items to instantiate,
44394 # then the envvar interface is used. Set only those that are not.
44395 # We use the long form for the default assignment because of an extremely
44396 # bizarre bug on SunOS 4.1.3.
44397 if $ac_need_defaults; then
44398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
44399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
44400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
44401 fi
44402
44403 # Have a temporary directory for convenience. Make it in the build tree
44404 # simply because there is no reason to put it here, and in addition,
44405 # creating and moving files from /tmp can sometimes cause problems.
44406 # Create a temporary directory, and hook for its removal unless debugging.
44407 $debug ||
44408 {
44409 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44410 trap '{ (exit 1); exit 1; }' 1 2 13 15
44411 }
44412
44413 # Create a (secure) tmp directory for tmp files.
44414
44415 {
44416 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44417 test -n "$tmp" && test -d "$tmp"
44418 } ||
44419 {
44420 tmp=./confstat$$-$RANDOM
44421 (umask 077 && mkdir $tmp)
44422 } ||
44423 {
44424 echo "$me: cannot create a temporary directory in ." >&2
44425 { (exit 1); exit 1; }
44426 }
44427
44428 _ACEOF
44429
44430 cat >>$CONFIG_STATUS <<_ACEOF
44431
44432 #
44433 # CONFIG_FILES section.
44434 #
44435
44436 # No need to generate the scripts if there are no CONFIG_FILES.
44437 # This happens for instance when ./config.status config.h
44438 if test -n "\$CONFIG_FILES"; then
44439 # Protect against being on the right side of a sed subst in config.status.
44440 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44441 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44442 s,@SHELL@,$SHELL,;t t
44443 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44444 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44445 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44446 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44447 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44448 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44449 s,@exec_prefix@,$exec_prefix,;t t
44450 s,@prefix@,$prefix,;t t
44451 s,@program_transform_name@,$program_transform_name,;t t
44452 s,@bindir@,$bindir,;t t
44453 s,@sbindir@,$sbindir,;t t
44454 s,@libexecdir@,$libexecdir,;t t
44455 s,@datadir@,$datadir,;t t
44456 s,@sysconfdir@,$sysconfdir,;t t
44457 s,@sharedstatedir@,$sharedstatedir,;t t
44458 s,@localstatedir@,$localstatedir,;t t
44459 s,@libdir@,$libdir,;t t
44460 s,@includedir@,$includedir,;t t
44461 s,@oldincludedir@,$oldincludedir,;t t
44462 s,@infodir@,$infodir,;t t
44463 s,@mandir@,$mandir,;t t
44464 s,@build_alias@,$build_alias,;t t
44465 s,@host_alias@,$host_alias,;t t
44466 s,@target_alias@,$target_alias,;t t
44467 s,@DEFS@,$DEFS,;t t
44468 s,@ECHO_C@,$ECHO_C,;t t
44469 s,@ECHO_N@,$ECHO_N,;t t
44470 s,@ECHO_T@,$ECHO_T,;t t
44471 s,@LIBS@,$LIBS,;t t
44472 s,@build@,$build,;t t
44473 s,@build_cpu@,$build_cpu,;t t
44474 s,@build_vendor@,$build_vendor,;t t
44475 s,@build_os@,$build_os,;t t
44476 s,@host@,$host,;t t
44477 s,@host_cpu@,$host_cpu,;t t
44478 s,@host_vendor@,$host_vendor,;t t
44479 s,@host_os@,$host_os,;t t
44480 s,@target@,$target,;t t
44481 s,@target_cpu@,$target_cpu,;t t
44482 s,@target_vendor@,$target_vendor,;t t
44483 s,@target_os@,$target_os,;t t
44484 s,@CC@,$CC,;t t
44485 s,@CFLAGS@,$CFLAGS,;t t
44486 s,@LDFLAGS@,$LDFLAGS,;t t
44487 s,@CPPFLAGS@,$CPPFLAGS,;t t
44488 s,@ac_ct_CC@,$ac_ct_CC,;t t
44489 s,@EXEEXT@,$EXEEXT,;t t
44490 s,@OBJEXT@,$OBJEXT,;t t
44491 s,@CPP@,$CPP,;t t
44492 s,@EGREP@,$EGREP,;t t
44493 s,@CXX@,$CXX,;t t
44494 s,@CXXFLAGS@,$CXXFLAGS,;t t
44495 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44496 s,@RANLIB@,$RANLIB,;t t
44497 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44498 s,@AR@,$AR,;t t
44499 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44500 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44501 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44502 s,@STRIP@,$STRIP,;t t
44503 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44504 s,@LN_S@,$LN_S,;t t
44505 s,@CXXCPP@,$CXXCPP,;t t
44506 s,@subdirs@,$subdirs,;t t
44507 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44508 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44509 s,@GTK_LIBS@,$GTK_LIBS,;t t
44510 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44511 s,@X_CFLAGS@,$X_CFLAGS,;t t
44512 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44513 s,@X_LIBS@,$X_LIBS,;t t
44514 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44515 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44516 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44517 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44518 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44519 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44520 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44521 s,@RESCOMP@,$RESCOMP,;t t
44522 s,@DEREZ@,$DEREZ,;t t
44523 s,@SETFILE@,$SETFILE,;t t
44524 s,@LIBICONV@,$LIBICONV,;t t
44525 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44526 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44527 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44528 s,@SDL_LIBS@,$SDL_LIBS,;t t
44529 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44530 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44531 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44532 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44533 s,@GST_INSPECT@,$GST_INSPECT,;t t
44534 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44535 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44536 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44537 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44538 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44539 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44540 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44541 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44542 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44543 s,@VENDOR@,$VENDOR,;t t
44544 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44545 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44546 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44547 s,@WXUNIV@,$WXUNIV,;t t
44548 s,@MONOLITHIC@,$MONOLITHIC,;t t
44549 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44550 s,@EXTRALIBS@,$EXTRALIBS,;t t
44551 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44552 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44553 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44554 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44555 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44556 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44557 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44558 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44559 s,@UNICODE@,$UNICODE,;t t
44560 s,@BUILD@,$BUILD,;t t
44561 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44562 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44563 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44564 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44565 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44566 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44567 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44568 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44569 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44570 s,@SET_MAKE@,$SET_MAKE,;t t
44571 s,@MAKE_SET@,$MAKE_SET,;t t
44572 s,@ac_ct_AR@,$ac_ct_AR,;t t
44573 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44574 s,@NM@,$NM,;t t
44575 s,@ac_ct_NM@,$ac_ct_NM,;t t
44576 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44577 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44578 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44579 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44580 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44581 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44582 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44583 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44584 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44585 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44586 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44587 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44588 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44589 s,@LIBPREFIX@,$LIBPREFIX,;t t
44590 s,@LIBEXT@,$LIBEXT,;t t
44591 s,@DLLPREFIX@,$DLLPREFIX,;t t
44592 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44593 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44594 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44595 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44596 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44597 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44598 s,@PIC_FLAG@,$PIC_FLAG,;t t
44599 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44600 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44601 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44602 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44603 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44604 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44605 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44606 s,@GCC_PCH@,$GCC_PCH,;t t
44607 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44608 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44609 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44610 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44611 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44612 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44613 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44614 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44615 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44616 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44617 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44618 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44619 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44620 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44621 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44622 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44623 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44624 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44625 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
44626 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
44627 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
44628 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44629 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44630 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44631 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44632 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
44633 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
44634 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
44635 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44636 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44637 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44638 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44639 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44640 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44641 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44642 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44643 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44644 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44645 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44646 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44647 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44648 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44649 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44650 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
44651 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44652 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44653 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44654 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44655 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44656 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44657 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44658 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44659 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44660 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44661 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44662 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44663 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44664 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44665 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44666 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44667 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44668 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44669 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44670 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44671 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44672 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44673 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44674 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44675 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44676 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44677 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44678 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44679 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44680 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44681 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44682 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44683 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44684 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44685 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44686 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44687 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44688 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44689 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44690 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44691 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44692 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44693 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44694 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44695 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44696 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44697 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44698 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44699 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44700 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44701 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44702 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44703 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44704 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44705 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44706 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44707 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44708 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44709 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44710 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44711 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44712 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44713 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44714 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44715 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44716 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44717 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44718 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44719 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44720 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44721 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44722 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44723 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44724 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44725 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44726 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44727 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44728 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44729 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44730 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44731 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44732 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44733 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44734 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44735 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44736 s,@SHARED@,$SHARED,;t t
44737 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44738 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44739 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44740 s,@USE_GUI@,$USE_GUI,;t t
44741 s,@AFMINSTALL@,$AFMINSTALL,;t t
44742 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44743 s,@TOOLKIT@,$TOOLKIT,;t t
44744 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44745 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44746 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44747 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44748 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44749 s,@cross_compiling@,$cross_compiling,;t t
44750 s,@WIDGET_SET@,$WIDGET_SET,;t t
44751 s,@WX_RELEASE@,$WX_RELEASE,;t t
44752 s,@WX_VERSION@,$WX_VERSION,;t t
44753 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44754 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44755 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44756 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44757 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44758 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44759 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44760 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44761 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44762 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44763 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44764 s,@EXE_LINKER@,$EXE_LINKER,;t t
44765 s,@GUIDIST@,$GUIDIST,;t t
44766 s,@DISTDIR@,$DISTDIR,;t t
44767 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44768 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44769 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44770 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44771 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44772 s,@RESFLAGS@,$RESFLAGS,;t t
44773 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44774 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44775 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44776 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44777 s,@MACRESCOMP@,$MACRESCOMP,;t t
44778 s,@MACSETFILE@,$MACSETFILE,;t t
44779 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44780 s,@GCC@,$GCC,;t t
44781 s,@DLLTOOL@,$DLLTOOL,;t t
44782 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44783 s,@LIBOBJS@,$LIBOBJS,;t t
44784 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44785 CEOF
44786
44787 _ACEOF
44788
44789 cat >>$CONFIG_STATUS <<\_ACEOF
44790 # Split the substitutions into bite-sized pieces for seds with
44791 # small command number limits, like on Digital OSF/1 and HP-UX.
44792 ac_max_sed_lines=48
44793 ac_sed_frag=1 # Number of current file.
44794 ac_beg=1 # First line for current file.
44795 ac_end=$ac_max_sed_lines # Line after last line for current file.
44796 ac_more_lines=:
44797 ac_sed_cmds=
44798 while $ac_more_lines; do
44799 if test $ac_beg -gt 1; then
44800 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44801 else
44802 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
44803 fi
44804 if test ! -s $tmp/subs.frag; then
44805 ac_more_lines=false
44806 else
44807 # The purpose of the label and of the branching condition is to
44808 # speed up the sed processing (if there are no `@' at all, there
44809 # is no need to browse any of the substitutions).
44810 # These are the two extra sed commands mentioned above.
44811 (echo ':t
44812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
44813 if test -z "$ac_sed_cmds"; then
44814 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
44815 else
44816 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44817 fi
44818 ac_sed_frag=`expr $ac_sed_frag + 1`
44819 ac_beg=$ac_end
44820 ac_end=`expr $ac_end + $ac_max_sed_lines`
44821 fi
44822 done
44823 if test -z "$ac_sed_cmds"; then
44824 ac_sed_cmds=cat
44825 fi
44826 fi # test -n "$CONFIG_FILES"
44827
44828 _ACEOF
44829 cat >>$CONFIG_STATUS <<\_ACEOF
44830 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
44831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44832 case $ac_file in
44833 - | *:- | *:-:* ) # input from stdin
44834 cat >$tmp/stdin
44835 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44836 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44837 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44838 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44839 * ) ac_file_in=$ac_file.in ;;
44840 esac
44841
44842 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44843 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44844 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44845 X"$ac_file" : 'X\(//\)[^/]' \| \
44846 X"$ac_file" : 'X\(//\)$' \| \
44847 X"$ac_file" : 'X\(/\)' \| \
44848 . : '\(.\)' 2>/dev/null ||
44849 echo X"$ac_file" |
44850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44852 /^X\(\/\/\)$/{ s//\1/; q; }
44853 /^X\(\/\).*/{ s//\1/; q; }
44854 s/.*/./; q'`
44855 { if $as_mkdir_p; then
44856 mkdir -p "$ac_dir"
44857 else
44858 as_dir="$ac_dir"
44859 as_dirs=
44860 while test ! -d "$as_dir"; do
44861 as_dirs="$as_dir $as_dirs"
44862 as_dir=`(dirname "$as_dir") 2>/dev/null ||
44863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44864 X"$as_dir" : 'X\(//\)[^/]' \| \
44865 X"$as_dir" : 'X\(//\)$' \| \
44866 X"$as_dir" : 'X\(/\)' \| \
44867 . : '\(.\)' 2>/dev/null ||
44868 echo X"$as_dir" |
44869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44871 /^X\(\/\/\)$/{ s//\1/; q; }
44872 /^X\(\/\).*/{ s//\1/; q; }
44873 s/.*/./; q'`
44874 done
44875 test ! -n "$as_dirs" || mkdir $as_dirs
44876 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44877 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44878 { (exit 1); exit 1; }; }; }
44879
44880 ac_builddir=.
44881
44882 if test "$ac_dir" != .; then
44883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44884 # A "../" for each directory in $ac_dir_suffix.
44885 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44886 else
44887 ac_dir_suffix= ac_top_builddir=
44888 fi
44889
44890 case $srcdir in
44891 .) # No --srcdir option. We are building in place.
44892 ac_srcdir=.
44893 if test -z "$ac_top_builddir"; then
44894 ac_top_srcdir=.
44895 else
44896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44897 fi ;;
44898 [\\/]* | ?:[\\/]* ) # Absolute path.
44899 ac_srcdir=$srcdir$ac_dir_suffix;
44900 ac_top_srcdir=$srcdir ;;
44901 *) # Relative path.
44902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
44903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
44904 esac
44905
44906 # Do not use `cd foo && pwd` to compute absolute paths, because
44907 # the directories may not exist.
44908 case `pwd` in
44909 .) ac_abs_builddir="$ac_dir";;
44910 *)
44911 case "$ac_dir" in
44912 .) ac_abs_builddir=`pwd`;;
44913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
44915 esac;;
44916 esac
44917 case $ac_abs_builddir in
44918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
44919 *)
44920 case ${ac_top_builddir}. in
44921 .) ac_abs_top_builddir=$ac_abs_builddir;;
44922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44924 esac;;
44925 esac
44926 case $ac_abs_builddir in
44927 .) ac_abs_srcdir=$ac_srcdir;;
44928 *)
44929 case $ac_srcdir in
44930 .) ac_abs_srcdir=$ac_abs_builddir;;
44931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
44932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
44933 esac;;
44934 esac
44935 case $ac_abs_builddir in
44936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
44937 *)
44938 case $ac_top_srcdir in
44939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
44940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
44941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
44942 esac;;
44943 esac
44944
44945
44946 case $INSTALL in
44947 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
44948 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
44949 esac
44950
44951 if test x"$ac_file" != x-; then
44952 { echo "$as_me:$LINENO: creating $ac_file" >&5
44953 echo "$as_me: creating $ac_file" >&6;}
44954 rm -f "$ac_file"
44955 fi
44956 # Let's still pretend it is `configure' which instantiates (i.e., don't
44957 # use $as_me), people would be surprised to read:
44958 # /* config.h. Generated by config.status. */
44959 if test x"$ac_file" = x-; then
44960 configure_input=
44961 else
44962 configure_input="$ac_file. "
44963 fi
44964 configure_input=$configure_input"Generated from `echo $ac_file_in |
44965 sed 's,.*/,,'` by configure."
44966
44967 # First look for the input files in the build tree, otherwise in the
44968 # src tree.
44969 ac_file_inputs=`IFS=:
44970 for f in $ac_file_in; do
44971 case $f in
44972 -) echo $tmp/stdin ;;
44973 [\\/$]*)
44974 # Absolute (can't be DOS-style, as IFS=:)
44975 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44976 echo "$as_me: error: cannot find input file: $f" >&2;}
44977 { (exit 1); exit 1; }; }
44978 echo "$f";;
44979 *) # Relative
44980 if test -f "$f"; then
44981 # Build tree
44982 echo "$f"
44983 elif test -f "$srcdir/$f"; then
44984 # Source tree
44985 echo "$srcdir/$f"
44986 else
44987 # /dev/null tree
44988 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44989 echo "$as_me: error: cannot find input file: $f" >&2;}
44990 { (exit 1); exit 1; }; }
44991 fi;;
44992 esac
44993 done` || { (exit 1); exit 1; }
44994 _ACEOF
44995 cat >>$CONFIG_STATUS <<_ACEOF
44996 sed "$ac_vpsub
44997 $extrasub
44998 _ACEOF
44999 cat >>$CONFIG_STATUS <<\_ACEOF
45000 :t
45001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45002 s,@configure_input@,$configure_input,;t t
45003 s,@srcdir@,$ac_srcdir,;t t
45004 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45005 s,@top_srcdir@,$ac_top_srcdir,;t t
45006 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45007 s,@builddir@,$ac_builddir,;t t
45008 s,@abs_builddir@,$ac_abs_builddir,;t t
45009 s,@top_builddir@,$ac_top_builddir,;t t
45010 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45011 s,@INSTALL@,$ac_INSTALL,;t t
45012 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45013 rm -f $tmp/stdin
45014 if test x"$ac_file" != x-; then
45015 mv $tmp/out $ac_file
45016 else
45017 cat $tmp/out
45018 rm -f $tmp/out
45019 fi
45020
45021 # Run the commands associated with the file.
45022 case $ac_file in
45023 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45024 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45025 esac
45026 done
45027 _ACEOF
45028 cat >>$CONFIG_STATUS <<\_ACEOF
45029
45030 #
45031 # CONFIG_HEADER section.
45032 #
45033
45034 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45035 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45036 #
45037 # ac_d sets the value in "#define NAME VALUE" lines.
45038 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45039 ac_dB='[ ].*$,\1#\2'
45040 ac_dC=' '
45041 ac_dD=',;t'
45042 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45043 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45044 ac_uB='$,\1#\2define\3'
45045 ac_uC=' '
45046 ac_uD=',;t'
45047
45048 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45049 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45050 case $ac_file in
45051 - | *:- | *:-:* ) # input from stdin
45052 cat >$tmp/stdin
45053 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45054 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45055 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45056 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45057 * ) ac_file_in=$ac_file.in ;;
45058 esac
45059
45060 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45061 echo "$as_me: creating $ac_file" >&6;}
45062
45063 # First look for the input files in the build tree, otherwise in the
45064 # src tree.
45065 ac_file_inputs=`IFS=:
45066 for f in $ac_file_in; do
45067 case $f in
45068 -) echo $tmp/stdin ;;
45069 [\\/$]*)
45070 # Absolute (can't be DOS-style, as IFS=:)
45071 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45072 echo "$as_me: error: cannot find input file: $f" >&2;}
45073 { (exit 1); exit 1; }; }
45074 # Do quote $f, to prevent DOS paths from being IFS'd.
45075 echo "$f";;
45076 *) # Relative
45077 if test -f "$f"; then
45078 # Build tree
45079 echo "$f"
45080 elif test -f "$srcdir/$f"; then
45081 # Source tree
45082 echo "$srcdir/$f"
45083 else
45084 # /dev/null tree
45085 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45086 echo "$as_me: error: cannot find input file: $f" >&2;}
45087 { (exit 1); exit 1; }; }
45088 fi;;
45089 esac
45090 done` || { (exit 1); exit 1; }
45091 # Remove the trailing spaces.
45092 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45093
45094 _ACEOF
45095
45096 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45097 # `conftest.undefs', that substitutes the proper values into
45098 # config.h.in to produce config.h. The first handles `#define'
45099 # templates, and the second `#undef' templates.
45100 # And first: Protect against being on the right side of a sed subst in
45101 # config.status. Protect against being in an unquoted here document
45102 # in config.status.
45103 rm -f conftest.defines conftest.undefs
45104 # Using a here document instead of a string reduces the quoting nightmare.
45105 # Putting comments in sed scripts is not portable.
45106 #
45107 # `end' is used to avoid that the second main sed command (meant for
45108 # 0-ary CPP macros) applies to n-ary macro definitions.
45109 # See the Autoconf documentation for `clear'.
45110 cat >confdef2sed.sed <<\_ACEOF
45111 s/[\\&,]/\\&/g
45112 s,[\\$`],\\&,g
45113 t clear
45114 : clear
45115 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45116 t end
45117 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45118 : end
45119 _ACEOF
45120 # If some macros were called several times there might be several times
45121 # the same #defines, which is useless. Nevertheless, we may not want to
45122 # sort them, since we want the *last* AC-DEFINE to be honored.
45123 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45124 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45125 rm -f confdef2sed.sed
45126
45127 # This sed command replaces #undef with comments. This is necessary, for
45128 # example, in the case of _POSIX_SOURCE, which is predefined and required
45129 # on some systems where configure will not decide to define it.
45130 cat >>conftest.undefs <<\_ACEOF
45131 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45132 _ACEOF
45133
45134 # Break up conftest.defines because some shells have a limit on the size
45135 # of here documents, and old seds have small limits too (100 cmds).
45136 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45137 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45138 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45139 echo ' :' >>$CONFIG_STATUS
45140 rm -f conftest.tail
45141 while grep . conftest.defines >/dev/null
45142 do
45143 # Write a limited-size here document to $tmp/defines.sed.
45144 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45145 # Speed up: don't consider the non `#define' lines.
45146 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45147 # Work around the forget-to-reset-the-flag bug.
45148 echo 't clr' >>$CONFIG_STATUS
45149 echo ': clr' >>$CONFIG_STATUS
45150 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45151 echo 'CEOF
45152 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45153 rm -f $tmp/in
45154 mv $tmp/out $tmp/in
45155 ' >>$CONFIG_STATUS
45156 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45157 rm -f conftest.defines
45158 mv conftest.tail conftest.defines
45159 done
45160 rm -f conftest.defines
45161 echo ' fi # grep' >>$CONFIG_STATUS
45162 echo >>$CONFIG_STATUS
45163
45164 # Break up conftest.undefs because some shells have a limit on the size
45165 # of here documents, and old seds have small limits too (100 cmds).
45166 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45167 rm -f conftest.tail
45168 while grep . conftest.undefs >/dev/null
45169 do
45170 # Write a limited-size here document to $tmp/undefs.sed.
45171 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45172 # Speed up: don't consider the non `#undef'
45173 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45174 # Work around the forget-to-reset-the-flag bug.
45175 echo 't clr' >>$CONFIG_STATUS
45176 echo ': clr' >>$CONFIG_STATUS
45177 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45178 echo 'CEOF
45179 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45180 rm -f $tmp/in
45181 mv $tmp/out $tmp/in
45182 ' >>$CONFIG_STATUS
45183 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45184 rm -f conftest.undefs
45185 mv conftest.tail conftest.undefs
45186 done
45187 rm -f conftest.undefs
45188
45189 cat >>$CONFIG_STATUS <<\_ACEOF
45190 # Let's still pretend it is `configure' which instantiates (i.e., don't
45191 # use $as_me), people would be surprised to read:
45192 # /* config.h. Generated by config.status. */
45193 if test x"$ac_file" = x-; then
45194 echo "/* Generated by configure. */" >$tmp/config.h
45195 else
45196 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45197 fi
45198 cat $tmp/in >>$tmp/config.h
45199 rm -f $tmp/in
45200 if test x"$ac_file" != x-; then
45201 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45202 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45203 echo "$as_me: $ac_file is unchanged" >&6;}
45204 else
45205 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45207 X"$ac_file" : 'X\(//\)[^/]' \| \
45208 X"$ac_file" : 'X\(//\)$' \| \
45209 X"$ac_file" : 'X\(/\)' \| \
45210 . : '\(.\)' 2>/dev/null ||
45211 echo X"$ac_file" |
45212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45214 /^X\(\/\/\)$/{ s//\1/; q; }
45215 /^X\(\/\).*/{ s//\1/; q; }
45216 s/.*/./; q'`
45217 { if $as_mkdir_p; then
45218 mkdir -p "$ac_dir"
45219 else
45220 as_dir="$ac_dir"
45221 as_dirs=
45222 while test ! -d "$as_dir"; do
45223 as_dirs="$as_dir $as_dirs"
45224 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45226 X"$as_dir" : 'X\(//\)[^/]' \| \
45227 X"$as_dir" : 'X\(//\)$' \| \
45228 X"$as_dir" : 'X\(/\)' \| \
45229 . : '\(.\)' 2>/dev/null ||
45230 echo X"$as_dir" |
45231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45233 /^X\(\/\/\)$/{ s//\1/; q; }
45234 /^X\(\/\).*/{ s//\1/; q; }
45235 s/.*/./; q'`
45236 done
45237 test ! -n "$as_dirs" || mkdir $as_dirs
45238 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45239 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45240 { (exit 1); exit 1; }; }; }
45241
45242 rm -f $ac_file
45243 mv $tmp/config.h $ac_file
45244 fi
45245 else
45246 cat $tmp/config.h
45247 rm -f $tmp/config.h
45248 fi
45249 done
45250 _ACEOF
45251 cat >>$CONFIG_STATUS <<\_ACEOF
45252
45253 #
45254 # CONFIG_COMMANDS section.
45255 #
45256 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45257 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45258 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45259 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45260 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45261 X"$ac_dest" : 'X\(//\)[^/]' \| \
45262 X"$ac_dest" : 'X\(//\)$' \| \
45263 X"$ac_dest" : 'X\(/\)' \| \
45264 . : '\(.\)' 2>/dev/null ||
45265 echo X"$ac_dest" |
45266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45268 /^X\(\/\/\)$/{ s//\1/; q; }
45269 /^X\(\/\).*/{ s//\1/; q; }
45270 s/.*/./; q'`
45271 { if $as_mkdir_p; then
45272 mkdir -p "$ac_dir"
45273 else
45274 as_dir="$ac_dir"
45275 as_dirs=
45276 while test ! -d "$as_dir"; do
45277 as_dirs="$as_dir $as_dirs"
45278 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45280 X"$as_dir" : 'X\(//\)[^/]' \| \
45281 X"$as_dir" : 'X\(//\)$' \| \
45282 X"$as_dir" : 'X\(/\)' \| \
45283 . : '\(.\)' 2>/dev/null ||
45284 echo X"$as_dir" |
45285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45287 /^X\(\/\/\)$/{ s//\1/; q; }
45288 /^X\(\/\).*/{ s//\1/; q; }
45289 s/.*/./; q'`
45290 done
45291 test ! -n "$as_dirs" || mkdir $as_dirs
45292 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45293 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45294 { (exit 1); exit 1; }; }; }
45295
45296 ac_builddir=.
45297
45298 if test "$ac_dir" != .; then
45299 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45300 # A "../" for each directory in $ac_dir_suffix.
45301 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45302 else
45303 ac_dir_suffix= ac_top_builddir=
45304 fi
45305
45306 case $srcdir in
45307 .) # No --srcdir option. We are building in place.
45308 ac_srcdir=.
45309 if test -z "$ac_top_builddir"; then
45310 ac_top_srcdir=.
45311 else
45312 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45313 fi ;;
45314 [\\/]* | ?:[\\/]* ) # Absolute path.
45315 ac_srcdir=$srcdir$ac_dir_suffix;
45316 ac_top_srcdir=$srcdir ;;
45317 *) # Relative path.
45318 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45319 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45320 esac
45321
45322 # Do not use `cd foo && pwd` to compute absolute paths, because
45323 # the directories may not exist.
45324 case `pwd` in
45325 .) ac_abs_builddir="$ac_dir";;
45326 *)
45327 case "$ac_dir" in
45328 .) ac_abs_builddir=`pwd`;;
45329 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45330 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45331 esac;;
45332 esac
45333 case $ac_abs_builddir in
45334 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45335 *)
45336 case ${ac_top_builddir}. in
45337 .) ac_abs_top_builddir=$ac_abs_builddir;;
45338 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45339 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45340 esac;;
45341 esac
45342 case $ac_abs_builddir in
45343 .) ac_abs_srcdir=$ac_srcdir;;
45344 *)
45345 case $ac_srcdir in
45346 .) ac_abs_srcdir=$ac_abs_builddir;;
45347 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45348 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45349 esac;;
45350 esac
45351 case $ac_abs_builddir in
45352 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45353 *)
45354 case $ac_top_srcdir in
45355 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45356 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45357 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45358 esac;;
45359 esac
45360
45361
45362 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45363 echo "$as_me: executing $ac_dest commands" >&6;}
45364 case $ac_dest in
45365 wx-config ) rm -f wx-config
45366 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
45367 ;;
45368 esac
45369 done
45370 _ACEOF
45371
45372 cat >>$CONFIG_STATUS <<\_ACEOF
45373
45374 { (exit 0); exit 0; }
45375 _ACEOF
45376 chmod +x $CONFIG_STATUS
45377 ac_clean_files=$ac_clean_files_save
45378
45379
45380 # configure is writing to config.log, and then calls config.status.
45381 # config.status does its own redirection, appending to config.log.
45382 # Unfortunately, on DOS this fails, as config.log is still kept open
45383 # by configure, so config.status won't be able to write to it; its
45384 # output is simply discarded. So we exec the FD to /dev/null,
45385 # effectively closing config.log, so it can be properly (re)opened and
45386 # appended to by config.status. When coming back to configure, we
45387 # need to make the FD available again.
45388 if test "$no_create" != yes; then
45389 ac_cs_success=:
45390 ac_config_status_args=
45391 test "$silent" = yes &&
45392 ac_config_status_args="$ac_config_status_args --quiet"
45393 exec 5>/dev/null
45394 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
45395 exec 5>>config.log
45396 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45397 # would make configure fail if this is the last instruction.
45398 $ac_cs_success || { (exit 1); exit 1; }
45399 fi
45400
45401 #
45402 # CONFIG_SUBDIRS section.
45403 #
45404 if test "$no_recursion" != yes; then
45405
45406 # Remove --cache-file and --srcdir arguments so they do not pile up.
45407 ac_sub_configure_args=
45408 ac_prev=
45409 for ac_arg in $ac_configure_args; do
45410 if test -n "$ac_prev"; then
45411 ac_prev=
45412 continue
45413 fi
45414 case $ac_arg in
45415 -cache-file | --cache-file | --cache-fil | --cache-fi \
45416 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45417 ac_prev=cache_file ;;
45418 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45419 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45420 | --c=*)
45421 ;;
45422 --config-cache | -C)
45423 ;;
45424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45425 ac_prev=srcdir ;;
45426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45427 ;;
45428 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45429 ac_prev=prefix ;;
45430 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45431 ;;
45432 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
45433 esac
45434 done
45435
45436 # Always prepend --prefix to ensure using the same prefix
45437 # in subdir configurations.
45438 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
45439
45440 ac_popdir=`pwd`
45441 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
45442
45443 # Do not complain, so a configure script can configure whichever
45444 # parts of a large source tree are present.
45445 test -d $srcdir/$ac_dir || continue
45446
45447 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45448 echo "$as_me: configuring in $ac_dir" >&6;}
45449 { if $as_mkdir_p; then
45450 mkdir -p "$ac_dir"
45451 else
45452 as_dir="$ac_dir"
45453 as_dirs=
45454 while test ! -d "$as_dir"; do
45455 as_dirs="$as_dir $as_dirs"
45456 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45458 X"$as_dir" : 'X\(//\)[^/]' \| \
45459 X"$as_dir" : 'X\(//\)$' \| \
45460 X"$as_dir" : 'X\(/\)' \| \
45461 . : '\(.\)' 2>/dev/null ||
45462 echo X"$as_dir" |
45463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45465 /^X\(\/\/\)$/{ s//\1/; q; }
45466 /^X\(\/\).*/{ s//\1/; q; }
45467 s/.*/./; q'`
45468 done
45469 test ! -n "$as_dirs" || mkdir $as_dirs
45470 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45471 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45472 { (exit 1); exit 1; }; }; }
45473
45474 ac_builddir=.
45475
45476 if test "$ac_dir" != .; then
45477 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45478 # A "../" for each directory in $ac_dir_suffix.
45479 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45480 else
45481 ac_dir_suffix= ac_top_builddir=
45482 fi
45483
45484 case $srcdir in
45485 .) # No --srcdir option. We are building in place.
45486 ac_srcdir=.
45487 if test -z "$ac_top_builddir"; then
45488 ac_top_srcdir=.
45489 else
45490 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45491 fi ;;
45492 [\\/]* | ?:[\\/]* ) # Absolute path.
45493 ac_srcdir=$srcdir$ac_dir_suffix;
45494 ac_top_srcdir=$srcdir ;;
45495 *) # Relative path.
45496 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45497 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45498 esac
45499
45500 # Do not use `cd foo && pwd` to compute absolute paths, because
45501 # the directories may not exist.
45502 case `pwd` in
45503 .) ac_abs_builddir="$ac_dir";;
45504 *)
45505 case "$ac_dir" in
45506 .) ac_abs_builddir=`pwd`;;
45507 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45508 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45509 esac;;
45510 esac
45511 case $ac_abs_builddir in
45512 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45513 *)
45514 case ${ac_top_builddir}. in
45515 .) ac_abs_top_builddir=$ac_abs_builddir;;
45516 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45517 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45518 esac;;
45519 esac
45520 case $ac_abs_builddir in
45521 .) ac_abs_srcdir=$ac_srcdir;;
45522 *)
45523 case $ac_srcdir in
45524 .) ac_abs_srcdir=$ac_abs_builddir;;
45525 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45526 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45527 esac;;
45528 esac
45529 case $ac_abs_builddir in
45530 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45531 *)
45532 case $ac_top_srcdir in
45533 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45534 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45535 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45536 esac;;
45537 esac
45538
45539
45540 cd $ac_dir
45541
45542 # Check for guested configure; otherwise get Cygnus style configure.
45543 if test -f $ac_srcdir/configure.gnu; then
45544 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
45545 elif test -f $ac_srcdir/configure; then
45546 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
45547 elif test -f $ac_srcdir/configure.in; then
45548 ac_sub_configure=$ac_configure
45549 else
45550 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45551 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45552 ac_sub_configure=
45553 fi
45554
45555 # The recursion is here.
45556 if test -n "$ac_sub_configure"; then
45557 # Make the cache file name correct relative to the subdirectory.
45558 case $cache_file in
45559 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
45560 *) # Relative path.
45561 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
45562 esac
45563
45564 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45565 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45566 # The eval makes quoting arguments work.
45567 eval $ac_sub_configure $ac_sub_configure_args \
45568 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45569 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45570 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45571 { (exit 1); exit 1; }; }
45572 fi
45573
45574 cd $ac_popdir
45575 done
45576 fi
45577
45578
45579 echo
45580 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45581 echo ""
45582 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45583 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45584
45585 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45586 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45587 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45588
45589 echo " What level of wxWidgets compatibility should be enabled?"
45590 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45591 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45592
45593 echo " Which libraries should wxWidgets use?"
45594 echo " jpeg ${wxUSE_LIBJPEG-none}"
45595 echo " png ${wxUSE_LIBPNG-none}"
45596 echo " regex ${wxUSE_REGEX}"
45597 echo " tiff ${wxUSE_LIBTIFF-none}"
45598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45599 echo " xpm ${wxUSE_LIBXPM-none}"
45600 fi
45601 echo " zlib ${wxUSE_ZLIB}"
45602 echo " odbc ${wxUSE_ODBC}"
45603 echo " expat ${wxUSE_EXPAT}"
45604 echo " libmspack ${wxUSE_LIBMSPACK}"
45605 echo " sdl ${wxUSE_LIBSDL}"
45606 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
45607
45608 echo ""
45609