]> git.saurik.com Git - wxWidgets.git/blob - configure
don't use -single_module together with -bundle under Darwin (ld gives an error for...
[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.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL 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 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 NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_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_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC 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.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Win32 only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects (Win32 only)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images (GIF file format)
1039 --enable-pcx use pcx images (PCX file format)
1040 --enable-iff use iff images (IFF file format)
1041 --enable-pnm use pnm images (PNM file format)
1042 --enable-xpm use xpm images (XPM file format)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets (win32 DLL only)
1045 --enable-vendor=VENDOR vendor name (win32 DLL only)
1046 --disable-largefile omit support for large files
1047 --disable-gtktest do not try to compile and run a test GTK+ program
1048 --disable-gtktest Do not try to compile and run a test GTK program
1049 --disable-sdltest Do not try to compile and run a test SDL program
1050 --enable-omf use OMF object format (OS/2)
1051 --disable-precomp-headers
1052 don't use precompiled headers even if compiler can
1053
1054 Optional Packages:
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --without-subdirs don't generate makefiles for samples/demos/...
1058 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1059 --with-motif use Motif/Lesstif
1060 --with-mac use Mac OS X
1061 --with-cocoa use Cocoa
1062 --with-wine use Wine
1063 --with-msw use MS-Windows
1064 --with-pm use OS/2 Presentation Manager
1065 --with-mgl use SciTech MGL
1066 --with-microwin use MicroWindows
1067 --with-x11 use X11
1068 --with-libpng use libpng (PNG image format)
1069 --with-libjpeg use libjpeg (JPEG file format)
1070 --with-libtiff use libtiff (TIFF file format)
1071 --with-libxpm use libxpm (XPM file format)
1072 --with-libmspack use libmspack (CHM help files loading)
1073 --with-sdl use SDL for audio on Unix
1074 --with-gnomeprint use GNOME print for printing under Unix
1075 --with-opengl use OpenGL (or Mesa)
1076 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1077 --with-regex enable support for wxRegEx class
1078 --with-zlib use zlib for LZW compression
1079 --with-odbc use the IODBC and wxODBC classes
1080 --with-expat enable XML support using expat parser
1081 --with-flavour=NAME specify a name to identify this build
1082 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1083 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1084 --with-x use the X Window System
1085 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1086 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1087 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1088 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1089 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090
1091 Some influential environment variables:
1092 CC C compiler command
1093 CFLAGS C compiler flags
1094 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1095 nonstandard directory <lib dir>
1096 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1097 headers in a nonstandard directory <include dir>
1098 CPP C preprocessor
1099 CXX C++ compiler command
1100 CXXFLAGS C++ compiler flags
1101 CXXCPP C++ preprocessor
1102
1103 Use these variables to override the choices made by `configure' or to help
1104 it to find libraries and programs with nonstandard names/locations.
1105
1106 Report bugs to <wx-dev@lists.wxwidgets.org>.
1107 _ACEOF
1108 fi
1109
1110 if test "$ac_init_help" = "recursive"; then
1111 # If there are subdirs, report their specific --help.
1112 ac_popdir=`pwd`
1113 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114 test -d $ac_dir || continue
1115 ac_builddir=.
1116
1117 if test "$ac_dir" != .; then
1118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119 # A "../" for each directory in $ac_dir_suffix.
1120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 else
1122 ac_dir_suffix= ac_top_builddir=
1123 fi
1124
1125 case $srcdir in
1126 .) # No --srcdir option. We are building in place.
1127 ac_srcdir=.
1128 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir=.
1130 else
1131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 fi ;;
1133 [\\/]* | ?:[\\/]* ) # Absolute path.
1134 ac_srcdir=$srcdir$ac_dir_suffix;
1135 ac_top_srcdir=$srcdir ;;
1136 *) # Relative path.
1137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1139 esac
1140
1141 # Do not use `cd foo && pwd` to compute absolute paths, because
1142 # the directories may not exist.
1143 case `pwd` in
1144 .) ac_abs_builddir="$ac_dir";;
1145 *)
1146 case "$ac_dir" in
1147 .) ac_abs_builddir=`pwd`;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *)
1155 case ${ac_top_builddir}. in
1156 .) ac_abs_top_builddir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1159 esac;;
1160 esac
1161 case $ac_abs_builddir in
1162 .) ac_abs_srcdir=$ac_srcdir;;
1163 *)
1164 case $ac_srcdir in
1165 .) ac_abs_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1168 esac;;
1169 esac
1170 case $ac_abs_builddir in
1171 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *)
1173 case $ac_top_srcdir in
1174 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1177 esac;;
1178 esac
1179
1180 cd $ac_dir
1181 # Check for guested configure; otherwise get Cygnus style configure.
1182 if test -f $ac_srcdir/configure.gnu; then
1183 echo
1184 $SHELL $ac_srcdir/configure.gnu --help=recursive
1185 elif test -f $ac_srcdir/configure; then
1186 echo
1187 $SHELL $ac_srcdir/configure --help=recursive
1188 elif test -f $ac_srcdir/configure.ac ||
1189 test -f $ac_srcdir/configure.in; then
1190 echo
1191 $ac_configure --help
1192 else
1193 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1194 fi
1195 cd "$ac_popdir"
1196 done
1197 fi
1198
1199 test -n "$ac_init_help" && exit 0
1200 if $ac_init_version; then
1201 cat <<\_ACEOF
1202 wxWidgets configure 2.7.0
1203 generated by GNU Autoconf 2.59
1204
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1208 _ACEOF
1209 exit 0
1210 fi
1211 exec 5>config.log
1212 cat >&5 <<_ACEOF
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1215
1216 It was created by wxWidgets $as_me 2.7.0, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1218
1219 $ $0 $@
1220
1221 _ACEOF
1222 {
1223 cat <<_ASUNAME
1224 ## --------- ##
1225 ## Platform. ##
1226 ## --------- ##
1227
1228 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1229 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1230 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1231 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1232 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233
1234 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1235 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236
1237 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1238 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1239 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1240 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1241 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1242 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1243 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1244
1245 _ASUNAME
1246
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1248 for as_dir in $PATH
1249 do
1250 IFS=$as_save_IFS
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1253 done
1254
1255 } >&5
1256
1257 cat >&5 <<_ACEOF
1258
1259
1260 ## ----------- ##
1261 ## Core tests. ##
1262 ## ----------- ##
1263
1264 _ACEOF
1265
1266
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_configure_args=
1273 ac_configure_args0=
1274 ac_configure_args1=
1275 ac_sep=
1276 ac_must_keep_next=false
1277 for ac_pass in 1 2
1278 do
1279 for ac_arg
1280 do
1281 case $ac_arg in
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1285 continue ;;
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 esac
1289 case $ac_pass in
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 2)
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1295 else
1296 case $ac_arg in
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 esac
1304 ;;
1305 -* ) ac_must_keep_next=true ;;
1306 esac
1307 fi
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1310 ac_sep=" "
1311 ;;
1312 esac
1313 done
1314 done
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close' the trap.
1323 trap 'exit_status=$?
1324 # Save into config.log some information that might help in debugging.
1325 {
1326 echo
1327
1328 cat <<\_ASBOX
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1332 _ASBOX
1333 echo
1334 # The following way of writing the cache mishandles newlines in values,
1335 {
1336 (set) 2>&1 |
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 *ac_space=\ *)
1339 sed -n \
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342 ;;
1343 *)
1344 sed -n \
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1346 ;;
1347 esac;
1348 }
1349 echo
1350
1351 cat <<\_ASBOX
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1355 _ASBOX
1356 echo
1357 for ac_var in $ac_subst_vars
1358 do
1359 eval ac_val=$`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1361 done | sort
1362 echo
1363
1364 if test -n "$ac_subst_files"; then
1365 cat <<\_ASBOX
1366 ## ------------- ##
1367 ## Output files. ##
1368 ## ------------- ##
1369 _ASBOX
1370 echo
1371 for ac_var in $ac_subst_files
1372 do
1373 eval ac_val=$`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1375 done | sort
1376 echo
1377 fi
1378
1379 if test -s confdefs.h; then
1380 cat <<\_ASBOX
1381 ## ----------- ##
1382 ## confdefs.h. ##
1383 ## ----------- ##
1384 _ASBOX
1385 echo
1386 sed "/^$/d" confdefs.h | sort
1387 echo
1388 fi
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1392 } >&5
1393 rm -f core *.core &&
1394 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 exit $exit_status
1396 ' 0
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399 done
1400 ac_signal=0
1401
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 echo >confdefs.h
1406
1407 # Predefined preprocessor variables.
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1416 _ACEOF
1417
1418
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1421 _ACEOF
1422
1423
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1426 _ACEOF
1427
1428
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1431 _ACEOF
1432
1433
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 else
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 fi
1442 fi
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's/^/| /' "$ac_site_file" >&5
1448 . "$ac_site_file"
1449 fi
1450 done
1451
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1458 case $cache_file in
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1461 esac
1462 fi
1463 else
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1466 >$cache_file
1467 fi
1468
1469 # Check that the precious variables saved in the cache have kept the same
1470 # value.
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1479 set,)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,set)
1484 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1487 ,);;
1488 *)
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1491 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1497 fi;;
1498 esac
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1501 case $ac_new_val in
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1505 esac
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1509 esac
1510 fi
1511 done
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1516 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1518 fi
1519
1520 ac_ext=c
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555 ac_aux_dir=
1556 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1557 if 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/install.sh; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/install.sh -c"
1564 break
1565 elif test -f $ac_dir/shtool; then
1566 ac_aux_dir=$ac_dir
1567 ac_install_sh="$ac_aux_dir/shtool install -c"
1568 break
1569 fi
1570 done
1571 if test -z "$ac_aux_dir"; then
1572 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1573 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1574 { (exit 1); exit 1; }; }
1575 fi
1576 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1577 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1578 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579
1580 # Make sure we can run config.sub.
1581 $ac_config_sub sun4 >/dev/null 2>&1 ||
1582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586 echo "$as_me:$LINENO: checking build system type" >&5
1587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1588 if test "${ac_cv_build+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 else
1591 ac_cv_build_alias=$build_alias
1592 test -z "$ac_cv_build_alias" &&
1593 ac_cv_build_alias=`$ac_config_guess`
1594 test -z "$ac_cv_build_alias" &&
1595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1597 { (exit 1); exit 1; }; }
1598 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1602
1603 fi
1604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1605 echo "${ECHO_T}$ac_cv_build" >&6
1606 build=$ac_cv_build
1607 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1608 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1609 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610
1611
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 else
1617 ac_cv_host_alias=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias=$ac_cv_build_alias
1620 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1624
1625 fi
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1628 host=$ac_cv_host
1629 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1630 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1631 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632
1633
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 else
1639 ac_cv_target_alias=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias=$ac_cv_host_alias
1642 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1646
1647 fi
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target=$ac_cv_target
1651 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1652 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1653 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654
1655
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1660 NONENONEs,x,x, &&
1661 program_prefix=${target_alias}-
1662
1663
1664
1665 wx_major_version_number=2
1666 wx_minor_version_number=7
1667 wx_release_number=0
1668 wx_subrelease_number=0
1669
1670 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1671 WX_VERSION=$WX_RELEASE.$wx_release_number
1672 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1673
1674 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1675
1676
1677
1678
1679 USE_UNIX=1
1680 USE_OS2=0
1681 USE_WIN32=0
1682 USE_DOS=0
1683 USE_BEOS=0
1684 USE_MAC=0
1685
1686 USE_AIX=
1687 USE_BSD= USE_DARWIN= USE_FREEBSD=
1688 USE_GNU= USE_HPUX=
1689 USE_LINUX=
1690 USE_NETBSD=
1691 USE_OPENBSD=
1692 USE_OSF= USE_SGI=
1693 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1694 USE_ULTRIX=
1695 USE_UNIXWARE=
1696
1697 USE_ALPHA=
1698
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1700
1701 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702
1703 DEFAULT_wxUSE_COCOA=0
1704 DEFAULT_wxUSE_GTK=0
1705 DEFAULT_wxUSE_MAC=0
1706 DEFAULT_wxUSE_MGL=0
1707 DEFAULT_wxUSE_MICROWIN=0
1708 DEFAULT_wxUSE_MOTIF=0
1709 DEFAULT_wxUSE_MSW=0
1710 DEFAULT_wxUSE_PM=0
1711 DEFAULT_wxUSE_X11=0
1712
1713 DEFAULT_DEFAULT_wxUSE_COCOA=0
1714 DEFAULT_DEFAULT_wxUSE_GTK=0
1715 DEFAULT_DEFAULT_wxUSE_MAC=0
1716 DEFAULT_DEFAULT_wxUSE_MGL=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_MSW=0
1720 DEFAULT_DEFAULT_wxUSE_PM=0
1721 DEFAULT_DEFAULT_wxUSE_X11=0
1722
1723 PROGRAM_EXT=
1724 SO_SUFFIX=so
1725 SAMPLES_RPATH_FLAG=
1726 SAMPLES_RPATH_POSTLINK=
1727
1728 DEFAULT_STD_FLAG=yes
1729
1730 case "${host}" in
1731 *-hp-hpux* )
1732 USE_HPUX=1
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1735 SO_SUFFIX=sl
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __HPUX__ 1
1738 _ACEOF
1739
1740
1741 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1742 ;;
1743 *-*-linux* )
1744 USE_LINUX=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __LINUX__ 1
1747 _ACEOF
1748
1749 TMP=`uname -m`
1750 if test "x$TMP" = "xalpha"; then
1751 USE_ALPHA=1
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __ALPHA__ 1
1754 _ACEOF
1755
1756 fi
1757 DEFAULT_DEFAULT_wxUSE_GTK=1
1758 ;;
1759 *-*-gnu* | *-*-k*bsd*-gnu )
1760 USE_GNU=1
1761 TMP=`uname -m`
1762 if test "x$TMP" = "xalpha"; then
1763 USE_ALPHA=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __ALPHA__ 1
1766 _ACEOF
1767
1768 fi
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1770 ;;
1771 *-*-irix5* | *-*-irix6* )
1772 USE_SGI=1
1773 USE_SVR4=1
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __SGI__ 1
1776 _ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __SVR4__ 1
1780 _ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1783 ;;
1784 *-*-solaris2* )
1785 USE_SUN=1
1786 USE_SOLARIS=1
1787 USE_SVR4=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __SUN__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __SOLARIS__ 1
1794 _ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __SVR4__ 1
1798 _ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1802 ;;
1803 *-*-sunos4* )
1804 USE_SUN=1
1805 USE_SUNOS=1
1806 USE_BSD=1
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SUN__ 1
1809 _ACEOF
1810
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __SUNOS__ 1
1813 _ACEOF
1814
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __BSD__ 1
1817 _ACEOF
1818
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 ;;
1821 *-*-freebsd*)
1822 USE_BSD=1
1823 USE_FREEBSD=1
1824 cat >>confdefs.h <<\_ACEOF
1825 #define __FREEBSD__ 1
1826 _ACEOF
1827
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __BSD__ 1
1830 _ACEOF
1831
1832 DEFAULT_DEFAULT_wxUSE_GTK=1
1833 ;;
1834 *-*-openbsd*)
1835 USE_BSD=1
1836 USE_OPENBSD=1
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __OPENBSD__ 1
1839 _ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __BSD__ 1
1843 _ACEOF
1844
1845 DEFAULT_DEFAULT_wxUSE_GTK=1
1846 ;;
1847 *-*-netbsd*)
1848 USE_BSD=1
1849 USE_NETBSD=1
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __NETBSD__ 1
1852 _ACEOF
1853
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __BSD__ 1
1856 _ACEOF
1857
1858 DEFAULT_DEFAULT_wxUSE_GTK=1
1859 ;;
1860 *-*-osf* )
1861 USE_ALPHA=1
1862 USE_OSF=1
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __ALPHA__ 1
1865 _ACEOF
1866
1867 cat >>confdefs.h <<\_ACEOF
1868 #define __OSF__ 1
1869 _ACEOF
1870
1871 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1873 ;;
1874 *-*-dgux5* )
1875 USE_ALPHA=1
1876 USE_SVR4=1
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __ALPHA__ 1
1879 _ACEOF
1880
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __SVR4__ 1
1883 _ACEOF
1884
1885 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1886 ;;
1887 *-*-sysv5* )
1888 USE_SYSV=1
1889 USE_SVR4=1
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __SYSV__ 1
1892 _ACEOF
1893
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __SVR4__ 1
1896 _ACEOF
1897
1898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1899 ;;
1900 *-*-aix* )
1901 USE_AIX=1
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 SO_SUFFIX=a
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __AIX__ 1
1907 _ACEOF
1908
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __SYSV__ 1
1911 _ACEOF
1912
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __SVR4__ 1
1915 _ACEOF
1916
1917 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1918 ;;
1919
1920 *-*-*UnixWare*)
1921 USE_SYSV=1
1922 USE_SVR4=1
1923 USE_UNIXWARE=1
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __UNIXWARE__ 1
1926 _ACEOF
1927
1928 ;;
1929
1930 *-*-cygwin* | *-*-mingw32* )
1931 SO_SUFFIX=dll
1932 PROGRAM_EXT=".exe"
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 *-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2109
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2113
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2120
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2125
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2141
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2156
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2169
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2211
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2215
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2229 else
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2232
2233 DEFAULT_wxUSE_NANOX=no
2234
2235 DEFAULT_wxUSE_THREADS=yes
2236
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2252
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2258
2259 DEFAULT_wxUSE_GUI=yes
2260
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2274
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2305
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2309
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2316
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2321
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2337
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2352
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2365
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2407
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2411
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2421
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2425
2426 DEFAULT_wxUSE_GTK2=yes
2427 fi
2428
2429
2430
2431
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2438
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2442 fi
2443 fi
2444 done
2445
2446
2447
2448 enablestring=
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2451 no_cache=0
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2455
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI=yes'
2458 else
2459 ac_cv_use_gui='wxUSE_GUI=no'
2460 fi
2461
2462 else
2463
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2467 else
2468 no_cache=1
2469 fi
2470
2471 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472
2473 fi;
2474
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 fi
2479
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2486 fi
2487
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2499 else
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513
2514 fi;
2515
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2540 else
2541 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554
2555 fi;
2556
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571 withstring=without
2572 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2573 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2574 no_cache=0
2575
2576 # Check whether --with-subdirs or --without-subdirs was given.
2577 if test "${with_subdirs+set}" = set; then
2578 withval="$with_subdirs"
2579
2580 if test "$withval" = yes; then
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2582 else
2583 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2584 fi
2585
2586 else
2587
2588 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2596
2597 fi;
2598
2599 eval "$ac_cv_use_subdirs"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2602 fi
2603
2604 if test "$wxWITH_SUBDIRS" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2607 else
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2610 fi
2611
2612
2613 if test "$wxUSE_GUI" = "yes"; then
2614
2615
2616 enablestring=
2617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2618 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2619 no_cache=0
2620 # Check whether --enable-universal or --disable-universal was given.
2621 if test "${enable_universal+set}" = set; then
2622 enableval="$enable_universal"
2623
2624 if test "$enableval" = yes; then
2625 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2626 else
2627 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2628 fi
2629
2630 else
2631
2632 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x ; then
2634 eval "DEFAULT_$LINE"
2635 else
2636 no_cache=1
2637 fi
2638
2639 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2640
2641 fi;
2642
2643 eval "$ac_cv_use_universal"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2646 fi
2647
2648 if test "$wxUSE_UNIVERSAL" = yes; then
2649 echo "$as_me:$LINENO: result: yes" >&5
2650 echo "${ECHO_T}yes" >&6
2651 else
2652 echo "$as_me:$LINENO: result: no" >&5
2653 echo "${ECHO_T}no" >&6
2654 fi
2655
2656
2657 # Check whether --with-gtk or --without-gtk was given.
2658 if test "${with_gtk+set}" = set; then
2659 withval="$with_gtk"
2660 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2661 fi;
2662
2663 # Check whether --with-motif or --without-motif was given.
2664 if test "${with_motif+set}" = set; then
2665 withval="$with_motif"
2666 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-mac or --without-mac was given.
2670 if test "${with_mac+set}" = set; then
2671 withval="$with_mac"
2672 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 # Check whether --with-cocoa or --without-cocoa was given.
2676 if test "${with_cocoa+set}" = set; then
2677 withval="$with_cocoa"
2678 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2679 fi;
2680
2681 # Check whether --with-wine or --without-wine was given.
2682 if test "${with_wine+set}" = set; then
2683 withval="$with_wine"
2684 wxUSE_WINE="$withval" CACHE_WINE=1
2685 fi;
2686
2687 # Check whether --with-msw or --without-msw was given.
2688 if test "${with_msw+set}" = set; then
2689 withval="$with_msw"
2690 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2691 fi;
2692
2693 # Check whether --with-pm or --without-pm was given.
2694 if test "${with_pm+set}" = set; then
2695 withval="$with_pm"
2696 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2697 fi;
2698
2699 # Check whether --with-mgl or --without-mgl was given.
2700 if test "${with_mgl+set}" = set; then
2701 withval="$with_mgl"
2702 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2703 fi;
2704
2705 # Check whether --with-microwin or --without-microwin was given.
2706 if test "${with_microwin+set}" = set; then
2707 withval="$with_microwin"
2708 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-x11 or --without-x11 was given.
2712 if test "${with_x11+set}" = set; then
2713 withval="$with_x11"
2714 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2715 fi;
2716
2717 enablestring=
2718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2719 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2720 no_cache=0
2721 # Check whether --enable-nanox or --disable-nanox was given.
2722 if test "${enable_nanox+set}" = set; then
2723 enableval="$enable_nanox"
2724
2725 if test "$enableval" = yes; then
2726 ac_cv_use_nanox='wxUSE_NANOX=yes'
2727 else
2728 ac_cv_use_nanox='wxUSE_NANOX=no'
2729 fi
2730
2731 else
2732
2733 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x ; then
2735 eval "DEFAULT_$LINE"
2736 else
2737 no_cache=1
2738 fi
2739
2740 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2741
2742 fi;
2743
2744 eval "$ac_cv_use_nanox"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2747 fi
2748
2749 if test "$wxUSE_NANOX" = yes; then
2750 echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6
2752 else
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2755 fi
2756
2757
2758 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2759 if test "${enable_gtk2+set}" = set; then
2760 enableval="$enable_gtk2"
2761 wxUSE_GTK2="$enableval"
2762 fi;
2763
2764 enablestring=
2765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2766 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2767 no_cache=0
2768 # Check whether --enable-gpe or --disable-gpe was given.
2769 if test "${enable_gpe+set}" = set; then
2770 enableval="$enable_gpe"
2771
2772 if test "$enableval" = yes; then
2773 ac_cv_use_gpe='wxUSE_GPE=yes'
2774 else
2775 ac_cv_use_gpe='wxUSE_GPE=no'
2776 fi
2777
2778 else
2779
2780 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x ; then
2782 eval "DEFAULT_$LINE"
2783 else
2784 no_cache=1
2785 fi
2786
2787 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2788
2789 fi;
2790
2791 eval "$ac_cv_use_gpe"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2794 fi
2795
2796 if test "$wxUSE_GPE" = yes; then
2797 echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6
2799 else
2800 echo "$as_me:$LINENO: result: no" >&5
2801 echo "${ECHO_T}no" >&6
2802 fi
2803
2804
2805
2806 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2807 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2808 no_cache=0
2809
2810 # Check whether --with-libpng or --without-libpng was given.
2811 if test "${with_libpng+set}" = set; then
2812 withval="$with_libpng"
2813
2814 if test "$withval" = yes; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2816 elif test "$withval" = no; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2818 elif test "$withval" = sys; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2820 elif test "$withval" = builtin; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2822 else
2823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2824 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2825 { (exit 1); exit 1; }; }
2826 fi
2827
2828 else
2829
2830 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x ; then
2832 eval "DEFAULT_$LINE"
2833 else
2834 no_cache=1
2835 fi
2836
2837 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2838
2839 fi;
2840
2841 eval "$ac_cv_use_libpng"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2844 fi
2845
2846 if test "$wxUSE_LIBPNG" = yes; then
2847 echo "$as_me:$LINENO: result: yes" >&5
2848 echo "${ECHO_T}yes" >&6
2849 elif test "$wxUSE_LIBPNG" = no; then
2850 echo "$as_me:$LINENO: result: no" >&5
2851 echo "${ECHO_T}no" >&6
2852 elif test "$wxUSE_LIBPNG" = sys; then
2853 echo "$as_me:$LINENO: result: system version" >&5
2854 echo "${ECHO_T}system version" >&6
2855 elif test "$wxUSE_LIBPNG" = builtin; then
2856 echo "$as_me:$LINENO: result: builtin version" >&5
2857 echo "${ECHO_T}builtin version" >&6
2858 else
2859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2860 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2861 { (exit 1); exit 1; }; }
2862 fi
2863
2864
2865 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2866 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2867 no_cache=0
2868
2869 # Check whether --with-libjpeg or --without-libjpeg was given.
2870 if test "${with_libjpeg+set}" = set; then
2871 withval="$with_libjpeg"
2872
2873 if test "$withval" = yes; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2875 elif test "$withval" = no; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2877 elif test "$withval" = sys; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2879 elif test "$withval" = builtin; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2881 else
2882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2883 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2884 { (exit 1); exit 1; }; }
2885 fi
2886
2887 else
2888
2889 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2890 if test "x$LINE" != x ; then
2891 eval "DEFAULT_$LINE"
2892 else
2893 no_cache=1
2894 fi
2895
2896 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2897
2898 fi;
2899
2900 eval "$ac_cv_use_libjpeg"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2903 fi
2904
2905 if test "$wxUSE_LIBJPEG" = yes; then
2906 echo "$as_me:$LINENO: result: yes" >&5
2907 echo "${ECHO_T}yes" >&6
2908 elif test "$wxUSE_LIBJPEG" = no; then
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2911 elif test "$wxUSE_LIBJPEG" = sys; then
2912 echo "$as_me:$LINENO: result: system version" >&5
2913 echo "${ECHO_T}system version" >&6
2914 elif test "$wxUSE_LIBJPEG" = builtin; then
2915 echo "$as_me:$LINENO: result: builtin version" >&5
2916 echo "${ECHO_T}builtin version" >&6
2917 else
2918 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2919 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2920 { (exit 1); exit 1; }; }
2921 fi
2922
2923
2924 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2925 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2926 no_cache=0
2927
2928 # Check whether --with-libtiff or --without-libtiff was given.
2929 if test "${with_libtiff+set}" = set; then
2930 withval="$with_libtiff"
2931
2932 if test "$withval" = yes; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2934 elif test "$withval" = no; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2936 elif test "$withval" = sys; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2938 elif test "$withval" = builtin; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2940 else
2941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2942 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2943 { (exit 1); exit 1; }; }
2944 fi
2945
2946 else
2947
2948 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2951 else
2952 no_cache=1
2953 fi
2954
2955 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2956
2957 fi;
2958
2959 eval "$ac_cv_use_libtiff"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2962 fi
2963
2964 if test "$wxUSE_LIBTIFF" = yes; then
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2967 elif test "$wxUSE_LIBTIFF" = no; then
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 elif test "$wxUSE_LIBTIFF" = sys; then
2971 echo "$as_me:$LINENO: result: system version" >&5
2972 echo "${ECHO_T}system version" >&6
2973 elif test "$wxUSE_LIBTIFF" = builtin; then
2974 echo "$as_me:$LINENO: result: builtin version" >&5
2975 echo "${ECHO_T}builtin version" >&6
2976 else
2977 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2978 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2979 { (exit 1); exit 1; }; }
2980 fi
2981
2982
2983 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2984 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2985 no_cache=0
2986
2987 # Check whether --with-libxpm or --without-libxpm was given.
2988 if test "${with_libxpm+set}" = set; then
2989 withval="$with_libxpm"
2990
2991 if test "$withval" = yes; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2993 elif test "$withval" = no; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2995 elif test "$withval" = sys; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2997 elif test "$withval" = builtin; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2999 else
3000 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3001 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3002 { (exit 1); exit 1; }; }
3003 fi
3004
3005 else
3006
3007 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x ; then
3009 eval "DEFAULT_$LINE"
3010 else
3011 no_cache=1
3012 fi
3013
3014 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3015
3016 fi;
3017
3018 eval "$ac_cv_use_libxpm"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3021 fi
3022
3023 if test "$wxUSE_LIBXPM" = yes; then
3024 echo "$as_me:$LINENO: result: yes" >&5
3025 echo "${ECHO_T}yes" >&6
3026 elif test "$wxUSE_LIBXPM" = no; then
3027 echo "$as_me:$LINENO: result: no" >&5
3028 echo "${ECHO_T}no" >&6
3029 elif test "$wxUSE_LIBXPM" = sys; then
3030 echo "$as_me:$LINENO: result: system version" >&5
3031 echo "${ECHO_T}system version" >&6
3032 elif test "$wxUSE_LIBXPM" = builtin; then
3033 echo "$as_me:$LINENO: result: builtin version" >&5
3034 echo "${ECHO_T}builtin version" >&6
3035 else
3036 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3037 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3038 { (exit 1); exit 1; }; }
3039 fi
3040
3041
3042 withstring=
3043 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3044 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3045 no_cache=0
3046
3047 # Check whether --with-libmspack or --without-libmspack was given.
3048 if test "${with_libmspack+set}" = set; then
3049 withval="$with_libmspack"
3050
3051 if test "$withval" = yes; then
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3053 else
3054 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3055 fi
3056
3057 else
3058
3059 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3062 else
3063 no_cache=1
3064 fi
3065
3066 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3067
3068 fi;
3069
3070 eval "$ac_cv_use_libmspack"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3073 fi
3074
3075 if test "$wxUSE_LIBMSPACK" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 else
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 fi
3082
3083
3084 withstring=
3085 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3086 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3087 no_cache=0
3088
3089 # Check whether --with-sdl or --without-sdl was given.
3090 if test "${with_sdl+set}" = set; then
3091 withval="$with_sdl"
3092
3093 if test "$withval" = yes; then
3094 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3095 else
3096 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3097 fi
3098
3099 else
3100
3101 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x ; then
3103 eval "DEFAULT_$LINE"
3104 else
3105 no_cache=1
3106 fi
3107
3108 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3109
3110 fi;
3111
3112 eval "$ac_cv_use_sdl"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3115 fi
3116
3117 if test "$wxUSE_LIBSDL" = yes; then
3118 echo "$as_me:$LINENO: result: yes" >&5
3119 echo "${ECHO_T}yes" >&6
3120 else
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3123 fi
3124
3125
3126 withstring=
3127 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3128 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3129 no_cache=0
3130
3131 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3132 if test "${with_gnomeprint+set}" = set; then
3133 withval="$with_gnomeprint"
3134
3135 if test "$withval" = yes; then
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3137 else
3138 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3139 fi
3140
3141 else
3142
3143 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3146 else
3147 no_cache=1
3148 fi
3149
3150 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3151
3152 fi;
3153
3154 eval "$ac_cv_use_gnomeprint"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3157 fi
3158
3159 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3162 else
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3165 fi
3166
3167
3168 withstring=
3169 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3170 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3171 no_cache=0
3172
3173 # Check whether --with-opengl or --without-opengl was given.
3174 if test "${with_opengl+set}" = set; then
3175 withval="$with_opengl"
3176
3177 if test "$withval" = yes; then
3178 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3179 else
3180 ac_cv_use_opengl='wxUSE_OPENGL=no'
3181 fi
3182
3183 else
3184
3185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x ; then
3187 eval "DEFAULT_$LINE"
3188 else
3189 no_cache=1
3190 fi
3191
3192 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3193
3194 fi;
3195
3196 eval "$ac_cv_use_opengl"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3199 fi
3200
3201 if test "$wxUSE_OPENGL" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 else
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 fi
3208
3209
3210 fi
3211
3212
3213 withstring=
3214 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3215 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3216 no_cache=0
3217
3218 # Check whether --with-dmalloc or --without-dmalloc was given.
3219 if test "${with_dmalloc+set}" = set; then
3220 withval="$with_dmalloc"
3221
3222 if test "$withval" = yes; then
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3224 else
3225 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3226 fi
3227
3228 else
3229
3230 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x ; then
3232 eval "DEFAULT_$LINE"
3233 else
3234 no_cache=1
3235 fi
3236
3237 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3238
3239 fi;
3240
3241 eval "$ac_cv_use_dmalloc"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3244 fi
3245
3246 if test "$wxUSE_DMALLOC" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 else
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 fi
3253
3254
3255 echo "$as_me:$LINENO: checking for --with-regex" >&5
3256 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3257 no_cache=0
3258
3259 # Check whether --with-regex or --without-regex was given.
3260 if test "${with_regex+set}" = set; then
3261 withval="$with_regex"
3262
3263 if test "$withval" = yes; then
3264 ac_cv_use_regex='wxUSE_REGEX=yes'
3265 elif test "$withval" = no; then
3266 ac_cv_use_regex='wxUSE_REGEX=no'
3267 elif test "$withval" = sys; then
3268 ac_cv_use_regex='wxUSE_REGEX=sys'
3269 elif test "$withval" = builtin; then
3270 ac_cv_use_regex='wxUSE_REGEX=builtin'
3271 else
3272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3274 { (exit 1); exit 1; }; }
3275 fi
3276
3277 else
3278
3279 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3280 if test "x$LINE" != x ; then
3281 eval "DEFAULT_$LINE"
3282 else
3283 no_cache=1
3284 fi
3285
3286 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3287
3288 fi;
3289
3290 eval "$ac_cv_use_regex"
3291 if test "$no_cache" != 1; then
3292 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3293 fi
3294
3295 if test "$wxUSE_REGEX" = yes; then
3296 echo "$as_me:$LINENO: result: yes" >&5
3297 echo "${ECHO_T}yes" >&6
3298 elif test "$wxUSE_REGEX" = no; then
3299 echo "$as_me:$LINENO: result: no" >&5
3300 echo "${ECHO_T}no" >&6
3301 elif test "$wxUSE_REGEX" = sys; then
3302 echo "$as_me:$LINENO: result: system version" >&5
3303 echo "${ECHO_T}system version" >&6
3304 elif test "$wxUSE_REGEX" = builtin; then
3305 echo "$as_me:$LINENO: result: builtin version" >&5
3306 echo "${ECHO_T}builtin version" >&6
3307 else
3308 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3309 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3310 { (exit 1); exit 1; }; }
3311 fi
3312
3313
3314 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3315 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3316 no_cache=0
3317
3318 # Check whether --with-zlib or --without-zlib was given.
3319 if test "${with_zlib+set}" = set; then
3320 withval="$with_zlib"
3321
3322 if test "$withval" = yes; then
3323 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3324 elif test "$withval" = no; then
3325 ac_cv_use_zlib='wxUSE_ZLIB=no'
3326 elif test "$withval" = sys; then
3327 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3328 elif test "$withval" = builtin; then
3329 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3330 else
3331 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3332 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3333 { (exit 1); exit 1; }; }
3334 fi
3335
3336 else
3337
3338 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3341 else
3342 no_cache=1
3343 fi
3344
3345 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3346
3347 fi;
3348
3349 eval "$ac_cv_use_zlib"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3352 fi
3353
3354 if test "$wxUSE_ZLIB" = yes; then
3355 echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6
3357 elif test "$wxUSE_ZLIB" = no; then
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3360 elif test "$wxUSE_ZLIB" = sys; then
3361 echo "$as_me:$LINENO: result: system version" >&5
3362 echo "${ECHO_T}system version" >&6
3363 elif test "$wxUSE_ZLIB" = builtin; then
3364 echo "$as_me:$LINENO: result: builtin version" >&5
3365 echo "${ECHO_T}builtin version" >&6
3366 else
3367 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3368 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3369 { (exit 1); exit 1; }; }
3370 fi
3371
3372
3373 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3374 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3375 no_cache=0
3376
3377 # Check whether --with-odbc or --without-odbc was given.
3378 if test "${with_odbc+set}" = set; then
3379 withval="$with_odbc"
3380
3381 if test "$withval" = yes; then
3382 ac_cv_use_odbc='wxUSE_ODBC=yes'
3383 elif test "$withval" = no; then
3384 ac_cv_use_odbc='wxUSE_ODBC=no'
3385 elif test "$withval" = sys; then
3386 ac_cv_use_odbc='wxUSE_ODBC=sys'
3387 elif test "$withval" = builtin; then
3388 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3389 else
3390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3392 { (exit 1); exit 1; }; }
3393 fi
3394
3395 else
3396
3397 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3400 else
3401 no_cache=1
3402 fi
3403
3404 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3405
3406 fi;
3407
3408 eval "$ac_cv_use_odbc"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3411 fi
3412
3413 if test "$wxUSE_ODBC" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3416 elif test "$wxUSE_ODBC" = no; then
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 elif test "$wxUSE_ODBC" = sys; then
3420 echo "$as_me:$LINENO: result: system version" >&5
3421 echo "${ECHO_T}system version" >&6
3422 elif test "$wxUSE_ODBC" = builtin; then
3423 echo "$as_me:$LINENO: result: builtin version" >&5
3424 echo "${ECHO_T}builtin version" >&6
3425 else
3426 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3427 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3428 { (exit 1); exit 1; }; }
3429 fi
3430
3431
3432 echo "$as_me:$LINENO: checking for --with-expat" >&5
3433 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3434 no_cache=0
3435
3436 # Check whether --with-expat or --without-expat was given.
3437 if test "${with_expat+set}" = set; then
3438 withval="$with_expat"
3439
3440 if test "$withval" = yes; then
3441 ac_cv_use_expat='wxUSE_EXPAT=yes'
3442 elif test "$withval" = no; then
3443 ac_cv_use_expat='wxUSE_EXPAT=no'
3444 elif test "$withval" = sys; then
3445 ac_cv_use_expat='wxUSE_EXPAT=sys'
3446 elif test "$withval" = builtin; then
3447 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3448 else
3449 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3450 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3451 { (exit 1); exit 1; }; }
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3464
3465 fi;
3466
3467 eval "$ac_cv_use_expat"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_EXPAT" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 elif test "$wxUSE_EXPAT" = no; then
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 elif test "$wxUSE_EXPAT" = sys; then
3479 echo "$as_me:$LINENO: result: system version" >&5
3480 echo "${ECHO_T}system version" >&6
3481 elif test "$wxUSE_EXPAT" = builtin; then
3482 echo "$as_me:$LINENO: result: builtin version" >&5
3483 echo "${ECHO_T}builtin version" >&6
3484 else
3485 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3486 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3487 { (exit 1); exit 1; }; }
3488 fi
3489
3490
3491
3492
3493 enablestring=
3494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3495 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3496 no_cache=0
3497 # Check whether --enable-shared or --disable-shared was given.
3498 if test "${enable_shared+set}" = set; then
3499 enableval="$enable_shared"
3500
3501 if test "$enableval" = yes; then
3502 ac_cv_use_shared='wxUSE_SHARED=yes'
3503 else
3504 ac_cv_use_shared='wxUSE_SHARED=no'
3505 fi
3506
3507 else
3508
3509 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x ; then
3511 eval "DEFAULT_$LINE"
3512 else
3513 no_cache=1
3514 fi
3515
3516 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3517
3518 fi;
3519
3520 eval "$ac_cv_use_shared"
3521 if test "$no_cache" != 1; then
3522 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3523 fi
3524
3525 if test "$wxUSE_SHARED" = yes; then
3526 echo "$as_me:$LINENO: result: yes" >&5
3527 echo "${ECHO_T}yes" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533
3534 enablestring=
3535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3536 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3537 no_cache=0
3538 # Check whether --enable-optimise or --disable-optimise was given.
3539 if test "${enable_optimise+set}" = set; then
3540 enableval="$enable_optimise"
3541
3542 if test "$enableval" = yes; then
3543 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3544 else
3545 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3546 fi
3547
3548 else
3549
3550 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3551 if test "x$LINE" != x ; then
3552 eval "DEFAULT_$LINE"
3553 else
3554 no_cache=1
3555 fi
3556
3557 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3558
3559 fi;
3560
3561 eval "$ac_cv_use_optimise"
3562 if test "$no_cache" != 1; then
3563 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3564 fi
3565
3566 if test "$wxUSE_OPTIMISE" = yes; then
3567 echo "$as_me:$LINENO: result: yes" >&5
3568 echo "${ECHO_T}yes" >&6
3569 else
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3572 fi
3573
3574
3575 enablestring=
3576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3577 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3578 no_cache=0
3579 # Check whether --enable-debug or --disable-debug was given.
3580 if test "${enable_debug+set}" = set; then
3581 enableval="$enable_debug"
3582
3583 if test "$enableval" = yes; then
3584 ac_cv_use_debug='wxUSE_DEBUG=yes'
3585 else
3586 ac_cv_use_debug='wxUSE_DEBUG=no'
3587 fi
3588
3589 else
3590
3591 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x ; then
3593 eval "DEFAULT_$LINE"
3594 else
3595 no_cache=1
3596 fi
3597
3598 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3599
3600 fi;
3601
3602 eval "$ac_cv_use_debug"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3605 fi
3606
3607 if test "$wxUSE_DEBUG" = yes; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3610 else
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3613 fi
3614
3615
3616 enablestring=
3617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3618 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3619 no_cache=0
3620 # Check whether --enable-stl or --disable-stl was given.
3621 if test "${enable_stl+set}" = set; then
3622 enableval="$enable_stl"
3623
3624 if test "$enableval" = yes; then
3625 ac_cv_use_stl='wxUSE_STL=yes'
3626 else
3627 ac_cv_use_stl='wxUSE_STL=no'
3628 fi
3629
3630 else
3631
3632 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x ; then
3634 eval "DEFAULT_$LINE"
3635 else
3636 no_cache=1
3637 fi
3638
3639 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3640
3641 fi;
3642
3643 eval "$ac_cv_use_stl"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3646 fi
3647
3648 if test "$wxUSE_STL" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3651 else
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3654 fi
3655
3656 if test "$USE_OS2" = "1"; then
3657 DEFAULT_wxUSE_OMF=no
3658
3659 enablestring=
3660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3662 no_cache=0
3663 # Check whether --enable-omf or --disable-omf was given.
3664 if test "${enable_omf+set}" = set; then
3665 enableval="$enable_omf"
3666
3667 if test "$enableval" = yes; then
3668 ac_cv_use_omf='wxUSE_OMF=yes'
3669 else
3670 ac_cv_use_omf='wxUSE_OMF=no'
3671 fi
3672
3673 else
3674
3675 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x ; then
3677 eval "DEFAULT_$LINE"
3678 else
3679 no_cache=1
3680 fi
3681
3682 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3683
3684 fi;
3685
3686 eval "$ac_cv_use_omf"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_OMF" = yes; then
3692 echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6
3694 else
3695 echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6
3697 fi
3698
3699 fi
3700
3701 if test "$wxUSE_DEBUG" = "yes"; then
3702 DEFAULT_wxUSE_DEBUG_FLAG=yes
3703 DEFAULT_wxUSE_DEBUG_INFO=yes
3704 BUILD=debug
3705 elif test "$wxUSE_DEBUG" = "no"; then
3706 DEFAULT_wxUSE_DEBUG_FLAG=no
3707 DEFAULT_wxUSE_DEBUG_INFO=no
3708 BUILD=release
3709 fi
3710
3711
3712 enablestring=
3713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3714 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3715 no_cache=0
3716 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3717 if test "${enable_debug_flag+set}" = set; then
3718 enableval="$enable_debug_flag"
3719
3720 if test "$enableval" = yes; then
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3722 else
3723 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3724 fi
3725
3726 else
3727
3728 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x ; then
3730 eval "DEFAULT_$LINE"
3731 else
3732 no_cache=1
3733 fi
3734
3735 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3736
3737 fi;
3738
3739 eval "$ac_cv_use_debug_flag"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3742 fi
3743
3744 if test "$wxUSE_DEBUG_FLAG" = yes; then
3745 echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6
3747 else
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3750 fi
3751
3752
3753 enablestring=
3754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3755 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3756 no_cache=0
3757 # Check whether --enable-debug_info or --disable-debug_info was given.
3758 if test "${enable_debug_info+set}" = set; then
3759 enableval="$enable_debug_info"
3760
3761 if test "$enableval" = yes; then
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3763 else
3764 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3765 fi
3766
3767 else
3768
3769 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3770 if test "x$LINE" != x ; then
3771 eval "DEFAULT_$LINE"
3772 else
3773 no_cache=1
3774 fi
3775
3776 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3777
3778 fi;
3779
3780 eval "$ac_cv_use_debug_info"
3781 if test "$no_cache" != 1; then
3782 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3783 fi
3784
3785 if test "$wxUSE_DEBUG_INFO" = yes; then
3786 echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6
3788 else
3789 echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6
3791 fi
3792
3793
3794 enablestring=
3795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3797 no_cache=0
3798 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3799 if test "${enable_debug_gdb+set}" = set; then
3800 enableval="$enable_debug_gdb"
3801
3802 if test "$enableval" = yes; then
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3804 else
3805 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3806 fi
3807
3808 else
3809
3810 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x ; then
3812 eval "DEFAULT_$LINE"
3813 else
3814 no_cache=1
3815 fi
3816
3817 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3818
3819 fi;
3820
3821 eval "$ac_cv_use_debug_gdb"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3824 fi
3825
3826 if test "$wxUSE_DEBUG_GDB" = yes; then
3827 echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6
3829 else
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3832 fi
3833
3834
3835 enablestring=
3836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3837 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3838 no_cache=0
3839 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3840 if test "${enable_debug_cntxt+set}" = set; then
3841 enableval="$enable_debug_cntxt"
3842
3843 if test "$enableval" = yes; then
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3845 else
3846 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3847 fi
3848
3849 else
3850
3851 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x ; then
3853 eval "DEFAULT_$LINE"
3854 else
3855 no_cache=1
3856 fi
3857
3858 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3859
3860 fi;
3861
3862 eval "$ac_cv_use_debug_cntxt"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3865 fi
3866
3867 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3868 echo "$as_me:$LINENO: result: yes" >&5
3869 echo "${ECHO_T}yes" >&6
3870 else
3871 echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6
3873 fi
3874
3875
3876 enablestring=
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3878 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3879 no_cache=0
3880 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3881 if test "${enable_mem_tracing+set}" = set; then
3882 enableval="$enable_mem_tracing"
3883
3884 if test "$enableval" = yes; then
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3886 else
3887 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3888 fi
3889
3890 else
3891
3892 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3900
3901 fi;
3902
3903 eval "$ac_cv_use_mem_tracing"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3906 fi
3907
3908 if test "$wxUSE_MEM_TRACING" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910 echo "${ECHO_T}yes" >&6
3911 else
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3914 fi
3915
3916
3917 enablestring=
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3920 no_cache=0
3921 # Check whether --enable-profile or --disable-profile was given.
3922 if test "${enable_profile+set}" = set; then
3923 enableval="$enable_profile"
3924
3925 if test "$enableval" = yes; then
3926 ac_cv_use_profile='wxUSE_PROFILE=yes'
3927 else
3928 ac_cv_use_profile='wxUSE_PROFILE=no'
3929 fi
3930
3931 else
3932
3933 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 else
3937 no_cache=1
3938 fi
3939
3940 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3941
3942 fi;
3943
3944 eval "$ac_cv_use_profile"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test "$wxUSE_PROFILE" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6
3952 else
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3955 fi
3956
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3963 if test "${enable_no_rtti+set}" = set; then
3964 enableval="$enable_no_rtti"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3968 else
3969 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3982
3983 fi;
3984
3985 eval "$ac_cv_use_no_rtti"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_NO_RTTI" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998
3999 enablestring=
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4001 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4002 no_cache=0
4003 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4004 if test "${enable_no_exceptions+set}" = set; then
4005 enableval="$enable_no_exceptions"
4006
4007 if test "$enableval" = yes; then
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4009 else
4010 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4011 fi
4012
4013 else
4014
4015 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4018 else
4019 no_cache=1
4020 fi
4021
4022 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4023
4024 fi;
4025
4026 eval "$ac_cv_use_no_exceptions"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6
4034 else
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4037 fi
4038
4039
4040 enablestring=
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4042 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4043 no_cache=0
4044 # Check whether --enable-permissive or --disable-permissive was given.
4045 if test "${enable_permissive+set}" = set; then
4046 enableval="$enable_permissive"
4047
4048 if test "$enableval" = yes; then
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4050 else
4051 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4052 fi
4053
4054 else
4055
4056 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4064
4065 fi;
4066
4067 eval "$ac_cv_use_permissive"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_PERMISSIVE" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4075 else
4076 echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4078 fi
4079
4080
4081 enablestring=
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4083 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4084 no_cache=0
4085 # Check whether --enable-no_deps or --disable-no_deps was given.
4086 if test "${enable_no_deps+set}" = set; then
4087 enableval="$enable_no_deps"
4088
4089 if test "$enableval" = yes; then
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4091 else
4092 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4093 fi
4094
4095 else
4096
4097 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4100 else
4101 no_cache=1
4102 fi
4103
4104 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4105
4106 fi;
4107
4108 eval "$ac_cv_use_no_deps"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4111 fi
4112
4113 if test "$wxUSE_NO_DEPS" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115 echo "${ECHO_T}yes" >&6
4116 else
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4119 fi
4120
4121
4122
4123 enablestring=
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-compat22 or --disable-compat22 was given.
4128 if test "${enable_compat22+set}" = set; then
4129 enableval="$enable_compat22"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4133 else
4134 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4147
4148 fi;
4149
4150 eval "$ac_cv_use_compat22"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4158 else
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4161 fi
4162
4163
4164 enablestring=disable
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-compat24 or --disable-compat24 was given.
4169 if test "${enable_compat24+set}" = set; then
4170 enableval="$enable_compat24"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4174 else
4175 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4188
4189 fi;
4190
4191 eval "$ac_cv_use_compat24"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-rpath or --disable-rpath was given.
4211 if test "${enable_rpath+set}" = set; then
4212 enableval="$enable_rpath"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_rpath='wxUSE_RPATH=yes'
4216 else
4217 ac_cv_use_rpath='wxUSE_RPATH=no'
4218 fi
4219
4220 else
4221
4222 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4230
4231 fi;
4232
4233 eval "$ac_cv_use_rpath"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_RPATH" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247
4248
4249
4250 enablestring=
4251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4252 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4253 no_cache=0
4254 # Check whether --enable-intl or --disable-intl was given.
4255 if test "${enable_intl+set}" = set; then
4256 enableval="$enable_intl"
4257
4258 if test "$enableval" = yes; then
4259 ac_cv_use_intl='wxUSE_INTL=yes'
4260 else
4261 ac_cv_use_intl='wxUSE_INTL=no'
4262 fi
4263
4264 else
4265
4266 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x ; then
4268 eval "DEFAULT_$LINE"
4269 else
4270 no_cache=1
4271 fi
4272
4273 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4274
4275 fi;
4276
4277 eval "$ac_cv_use_intl"
4278 if test "$no_cache" != 1; then
4279 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4280 fi
4281
4282 if test "$wxUSE_INTL" = yes; then
4283 echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6
4285 else
4286 echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6
4288 fi
4289
4290
4291 enablestring=
4292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4293 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4294 no_cache=0
4295 # Check whether --enable-config or --disable-config was given.
4296 if test "${enable_config+set}" = set; then
4297 enableval="$enable_config"
4298
4299 if test "$enableval" = yes; then
4300 ac_cv_use_config='wxUSE_CONFIG=yes'
4301 else
4302 ac_cv_use_config='wxUSE_CONFIG=no'
4303 fi
4304
4305 else
4306
4307 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4310 else
4311 no_cache=1
4312 fi
4313
4314 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4315
4316 fi;
4317
4318 eval "$ac_cv_use_config"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4321 fi
4322
4323 if test "$wxUSE_CONFIG" = yes; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6
4326 else
4327 echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6
4329 fi
4330
4331
4332
4333 enablestring=
4334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4335 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4336 no_cache=0
4337 # Check whether --enable-protocols or --disable-protocols was given.
4338 if test "${enable_protocols+set}" = set; then
4339 enableval="$enable_protocols"
4340
4341 if test "$enableval" = yes; then
4342 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4343 else
4344 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4345 fi
4346
4347 else
4348
4349 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x ; then
4351 eval "DEFAULT_$LINE"
4352 else
4353 no_cache=1
4354 fi
4355
4356 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4357
4358 fi;
4359
4360 eval "$ac_cv_use_protocols"
4361 if test "$no_cache" != 1; then
4362 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4363 fi
4364
4365 if test "$wxUSE_PROTOCOL" = yes; then
4366 echo "$as_me:$LINENO: result: yes" >&5
4367 echo "${ECHO_T}yes" >&6
4368 else
4369 echo "$as_me:$LINENO: result: no" >&5
4370 echo "${ECHO_T}no" >&6
4371 fi
4372
4373
4374 enablestring=
4375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4376 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4377 no_cache=0
4378 # Check whether --enable-ftp or --disable-ftp was given.
4379 if test "${enable_ftp+set}" = set; then
4380 enableval="$enable_ftp"
4381
4382 if test "$enableval" = yes; then
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4384 else
4385 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4386 fi
4387
4388 else
4389
4390 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x ; then
4392 eval "DEFAULT_$LINE"
4393 else
4394 no_cache=1
4395 fi
4396
4397 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4398
4399 fi;
4400
4401 eval "$ac_cv_use_ftp"
4402 if test "$no_cache" != 1; then
4403 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4404 fi
4405
4406 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4407 echo "$as_me:$LINENO: result: yes" >&5
4408 echo "${ECHO_T}yes" >&6
4409 else
4410 echo "$as_me:$LINENO: result: no" >&5
4411 echo "${ECHO_T}no" >&6
4412 fi
4413
4414
4415 enablestring=
4416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4417 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4418 no_cache=0
4419 # Check whether --enable-http or --disable-http was given.
4420 if test "${enable_http+set}" = set; then
4421 enableval="$enable_http"
4422
4423 if test "$enableval" = yes; then
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4425 else
4426 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4427 fi
4428
4429 else
4430
4431 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4434 else
4435 no_cache=1
4436 fi
4437
4438 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4439
4440 fi;
4441
4442 eval "$ac_cv_use_http"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4445 fi
4446
4447 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4448 echo "$as_me:$LINENO: result: yes" >&5
4449 echo "${ECHO_T}yes" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4453 fi
4454
4455
4456 enablestring=
4457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4459 no_cache=0
4460 # Check whether --enable-fileproto or --disable-fileproto was given.
4461 if test "${enable_fileproto+set}" = set; then
4462 enableval="$enable_fileproto"
4463
4464 if test "$enableval" = yes; then
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4466 else
4467 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4468 fi
4469
4470 else
4471
4472 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x ; then
4474 eval "DEFAULT_$LINE"
4475 else
4476 no_cache=1
4477 fi
4478
4479 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4480
4481 fi;
4482
4483 eval "$ac_cv_use_fileproto"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4486 fi
4487
4488 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4489 echo "$as_me:$LINENO: result: yes" >&5
4490 echo "${ECHO_T}yes" >&6
4491 else
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4494 fi
4495
4496
4497 enablestring=
4498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4499 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4500 no_cache=0
4501 # Check whether --enable-sockets or --disable-sockets was given.
4502 if test "${enable_sockets+set}" = set; then
4503 enableval="$enable_sockets"
4504
4505 if test "$enableval" = yes; then
4506 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4507 else
4508 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4509 fi
4510
4511 else
4512
4513 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x ; then
4515 eval "DEFAULT_$LINE"
4516 else
4517 no_cache=1
4518 fi
4519
4520 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4521
4522 fi;
4523
4524 eval "$ac_cv_use_sockets"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4527 fi
4528
4529 if test "$wxUSE_SOCKETS" = yes; then
4530 echo "$as_me:$LINENO: result: yes" >&5
4531 echo "${ECHO_T}yes" >&6
4532 else
4533 echo "$as_me:$LINENO: result: no" >&5
4534 echo "${ECHO_T}no" >&6
4535 fi
4536
4537
4538 enablestring=
4539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4540 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4541 no_cache=0
4542 # Check whether --enable-ole or --disable-ole was given.
4543 if test "${enable_ole+set}" = set; then
4544 enableval="$enable_ole"
4545
4546 if test "$enableval" = yes; then
4547 ac_cv_use_ole='wxUSE_OLE=yes'
4548 else
4549 ac_cv_use_ole='wxUSE_OLE=no'
4550 fi
4551
4552 else
4553
4554 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x ; then
4556 eval "DEFAULT_$LINE"
4557 else
4558 no_cache=1
4559 fi
4560
4561 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4562
4563 fi;
4564
4565 eval "$ac_cv_use_ole"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4568 fi
4569
4570 if test "$wxUSE_OLE" = yes; then
4571 echo "$as_me:$LINENO: result: yes" >&5
4572 echo "${ECHO_T}yes" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4576 fi
4577
4578
4579 enablestring=
4580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4582 no_cache=0
4583 # Check whether --enable-dataobj or --disable-dataobj was given.
4584 if test "${enable_dataobj+set}" = set; then
4585 enableval="$enable_dataobj"
4586
4587 if test "$enableval" = yes; then
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4589 else
4590 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4591 fi
4592
4593 else
4594
4595 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x ; then
4597 eval "DEFAULT_$LINE"
4598 else
4599 no_cache=1
4600 fi
4601
4602 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4603
4604 fi;
4605
4606 eval "$ac_cv_use_dataobj"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4609 fi
4610
4611 if test "$wxUSE_DATAOBJ" = yes; then
4612 echo "$as_me:$LINENO: result: yes" >&5
4613 echo "${ECHO_T}yes" >&6
4614 else
4615 echo "$as_me:$LINENO: result: no" >&5
4616 echo "${ECHO_T}no" >&6
4617 fi
4618
4619
4620
4621 enablestring=
4622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4623 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4624 no_cache=0
4625 # Check whether --enable-ipc or --disable-ipc was given.
4626 if test "${enable_ipc+set}" = set; then
4627 enableval="$enable_ipc"
4628
4629 if test "$enableval" = yes; then
4630 ac_cv_use_ipc='wxUSE_IPC=yes'
4631 else
4632 ac_cv_use_ipc='wxUSE_IPC=no'
4633 fi
4634
4635 else
4636
4637 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4638 if test "x$LINE" != x ; then
4639 eval "DEFAULT_$LINE"
4640 else
4641 no_cache=1
4642 fi
4643
4644 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4645
4646 fi;
4647
4648 eval "$ac_cv_use_ipc"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4651 fi
4652
4653 if test "$wxUSE_IPC" = yes; then
4654 echo "$as_me:$LINENO: result: yes" >&5
4655 echo "${ECHO_T}yes" >&6
4656 else
4657 echo "$as_me:$LINENO: result: no" >&5
4658 echo "${ECHO_T}no" >&6
4659 fi
4660
4661
4662
4663 enablestring=
4664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4665 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4666 no_cache=0
4667 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4668 if test "${enable_apple_ieee+set}" = set; then
4669 enableval="$enable_apple_ieee"
4670
4671 if test "$enableval" = yes; then
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4673 else
4674 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4675 fi
4676
4677 else
4678
4679 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4680 if test "x$LINE" != x ; then
4681 eval "DEFAULT_$LINE"
4682 else
4683 no_cache=1
4684 fi
4685
4686 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4687
4688 fi;
4689
4690 eval "$ac_cv_use_apple_ieee"
4691 if test "$no_cache" != 1; then
4692 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4693 fi
4694
4695 if test "$wxUSE_APPLE_IEEE" = yes; then
4696 echo "$as_me:$LINENO: result: yes" >&5
4697 echo "${ECHO_T}yes" >&6
4698 else
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4701 fi
4702
4703
4704 enablestring=
4705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4707 no_cache=0
4708 # Check whether --enable-arcstream or --disable-arcstream was given.
4709 if test "${enable_arcstream+set}" = set; then
4710 enableval="$enable_arcstream"
4711
4712 if test "$enableval" = yes; then
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4714 else
4715 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4716 fi
4717
4718 else
4719
4720 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x ; then
4722 eval "DEFAULT_$LINE"
4723 else
4724 no_cache=1
4725 fi
4726
4727 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4728
4729 fi;
4730
4731 eval "$ac_cv_use_arcstream"
4732 if test "$no_cache" != 1; then
4733 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4734 fi
4735
4736 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4737 echo "$as_me:$LINENO: result: yes" >&5
4738 echo "${ECHO_T}yes" >&6
4739 else
4740 echo "$as_me:$LINENO: result: no" >&5
4741 echo "${ECHO_T}no" >&6
4742 fi
4743
4744
4745 enablestring=
4746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4748 no_cache=0
4749 # Check whether --enable-backtrace or --disable-backtrace was given.
4750 if test "${enable_backtrace+set}" = set; then
4751 enableval="$enable_backtrace"
4752
4753 if test "$enableval" = yes; then
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4755 else
4756 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4757 fi
4758
4759 else
4760
4761 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4762 if test "x$LINE" != x ; then
4763 eval "DEFAULT_$LINE"
4764 else
4765 no_cache=1
4766 fi
4767
4768 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4769
4770 fi;
4771
4772 eval "$ac_cv_use_backtrace"
4773 if test "$no_cache" != 1; then
4774 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4775 fi
4776
4777 if test "$wxUSE_STACKWALKER" = yes; then
4778 echo "$as_me:$LINENO: result: yes" >&5
4779 echo "${ECHO_T}yes" >&6
4780 else
4781 echo "$as_me:$LINENO: result: no" >&5
4782 echo "${ECHO_T}no" >&6
4783 fi
4784
4785
4786 enablestring=
4787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4789 no_cache=0
4790 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4791 if test "${enable_catch_segvs+set}" = set; then
4792 enableval="$enable_catch_segvs"
4793
4794 if test "$enableval" = yes; then
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4796 else
4797 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4798 fi
4799
4800 else
4801
4802 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4803 if test "x$LINE" != x ; then
4804 eval "DEFAULT_$LINE"
4805 else
4806 no_cache=1
4807 fi
4808
4809 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4810
4811 fi;
4812
4813 eval "$ac_cv_use_catch_segvs"
4814 if test "$no_cache" != 1; then
4815 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4816 fi
4817
4818 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4819 echo "$as_me:$LINENO: result: yes" >&5
4820 echo "${ECHO_T}yes" >&6
4821 else
4822 echo "$as_me:$LINENO: result: no" >&5
4823 echo "${ECHO_T}no" >&6
4824 fi
4825
4826
4827 enablestring=
4828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4829 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4830 no_cache=0
4831 # Check whether --enable-cmdline or --disable-cmdline was given.
4832 if test "${enable_cmdline+set}" = set; then
4833 enableval="$enable_cmdline"
4834
4835 if test "$enableval" = yes; then
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4837 else
4838 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4839 fi
4840
4841 else
4842
4843 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4844 if test "x$LINE" != x ; then
4845 eval "DEFAULT_$LINE"
4846 else
4847 no_cache=1
4848 fi
4849
4850 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4851
4852 fi;
4853
4854 eval "$ac_cv_use_cmdline"
4855 if test "$no_cache" != 1; then
4856 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4857 fi
4858
4859 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4860 echo "$as_me:$LINENO: result: yes" >&5
4861 echo "${ECHO_T}yes" >&6
4862 else
4863 echo "$as_me:$LINENO: result: no" >&5
4864 echo "${ECHO_T}no" >&6
4865 fi
4866
4867
4868 enablestring=
4869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4871 no_cache=0
4872 # Check whether --enable-datetime or --disable-datetime was given.
4873 if test "${enable_datetime+set}" = set; then
4874 enableval="$enable_datetime"
4875
4876 if test "$enableval" = yes; then
4877 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4878 else
4879 ac_cv_use_datetime='wxUSE_DATETIME=no'
4880 fi
4881
4882 else
4883
4884 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x ; then
4886 eval "DEFAULT_$LINE"
4887 else
4888 no_cache=1
4889 fi
4890
4891 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4892
4893 fi;
4894
4895 eval "$ac_cv_use_datetime"
4896 if test "$no_cache" != 1; then
4897 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4898 fi
4899
4900 if test "$wxUSE_DATETIME" = yes; then
4901 echo "$as_me:$LINENO: result: yes" >&5
4902 echo "${ECHO_T}yes" >&6
4903 else
4904 echo "$as_me:$LINENO: result: no" >&5
4905 echo "${ECHO_T}no" >&6
4906 fi
4907
4908
4909 enablestring=
4910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4911 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4912 no_cache=0
4913 # Check whether --enable-debugreport or --disable-debugreport was given.
4914 if test "${enable_debugreport+set}" = set; then
4915 enableval="$enable_debugreport"
4916
4917 if test "$enableval" = yes; then
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4919 else
4920 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4921 fi
4922
4923 else
4924
4925 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4926 if test "x$LINE" != x ; then
4927 eval "DEFAULT_$LINE"
4928 else
4929 no_cache=1
4930 fi
4931
4932 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4933
4934 fi;
4935
4936 eval "$ac_cv_use_debugreport"
4937 if test "$no_cache" != 1; then
4938 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4939 fi
4940
4941 if test "$wxUSE_DEBUGREPORT" = yes; then
4942 echo "$as_me:$LINENO: result: yes" >&5
4943 echo "${ECHO_T}yes" >&6
4944 else
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6
4947 fi
4948
4949
4950 enablestring=
4951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4953 no_cache=0
4954 # Check whether --enable-dialupman or --disable-dialupman was given.
4955 if test "${enable_dialupman+set}" = set; then
4956 enableval="$enable_dialupman"
4957
4958 if test "$enableval" = yes; then
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4960 else
4961 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4962 fi
4963
4964 else
4965
4966 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x ; then
4968 eval "DEFAULT_$LINE"
4969 else
4970 no_cache=1
4971 fi
4972
4973 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4974
4975 fi;
4976
4977 eval "$ac_cv_use_dialupman"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4980 fi
4981
4982 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4983 echo "$as_me:$LINENO: result: yes" >&5
4984 echo "${ECHO_T}yes" >&6
4985 else
4986 echo "$as_me:$LINENO: result: no" >&5
4987 echo "${ECHO_T}no" >&6
4988 fi
4989
4990
4991 enablestring=
4992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4993 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4994 no_cache=0
4995 # Check whether --enable-dynlib or --disable-dynlib was given.
4996 if test "${enable_dynlib+set}" = set; then
4997 enableval="$enable_dynlib"
4998
4999 if test "$enableval" = yes; then
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5001 else
5002 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5003 fi
5004
5005 else
5006
5007 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x ; then
5009 eval "DEFAULT_$LINE"
5010 else
5011 no_cache=1
5012 fi
5013
5014 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5015
5016 fi;
5017
5018 eval "$ac_cv_use_dynlib"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5021 fi
5022
5023 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5024 echo "$as_me:$LINENO: result: yes" >&5
5025 echo "${ECHO_T}yes" >&6
5026 else
5027 echo "$as_me:$LINENO: result: no" >&5
5028 echo "${ECHO_T}no" >&6
5029 fi
5030
5031
5032 enablestring=
5033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5035 no_cache=0
5036 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5037 if test "${enable_dynamicloader+set}" = set; then
5038 enableval="$enable_dynamicloader"
5039
5040 if test "$enableval" = yes; then
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5042 else
5043 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5044 fi
5045
5046 else
5047
5048 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5049 if test "x$LINE" != x ; then
5050 eval "DEFAULT_$LINE"
5051 else
5052 no_cache=1
5053 fi
5054
5055 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5056
5057 fi;
5058
5059 eval "$ac_cv_use_dynamicloader"
5060 if test "$no_cache" != 1; then
5061 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5062 fi
5063
5064 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5065 echo "$as_me:$LINENO: result: yes" >&5
5066 echo "${ECHO_T}yes" >&6
5067 else
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5070 fi
5071
5072
5073 enablestring=
5074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5076 no_cache=0
5077 # Check whether --enable-exceptions or --disable-exceptions was given.
5078 if test "${enable_exceptions+set}" = set; then
5079 enableval="$enable_exceptions"
5080
5081 if test "$enableval" = yes; then
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5083 else
5084 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5085 fi
5086
5087 else
5088
5089 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x ; then
5091 eval "DEFAULT_$LINE"
5092 else
5093 no_cache=1
5094 fi
5095
5096 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5097
5098 fi;
5099
5100 eval "$ac_cv_use_exceptions"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5103 fi
5104
5105 if test "$wxUSE_EXCEPTIONS" = yes; then
5106 echo "$as_me:$LINENO: result: yes" >&5
5107 echo "${ECHO_T}yes" >&6
5108 else
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5111 fi
5112
5113
5114 enablestring=
5115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5116 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5117 no_cache=0
5118 # Check whether --enable-ffile or --disable-ffile was given.
5119 if test "${enable_ffile+set}" = set; then
5120 enableval="$enable_ffile"
5121
5122 if test "$enableval" = yes; then
5123 ac_cv_use_ffile='wxUSE_FFILE=yes'
5124 else
5125 ac_cv_use_ffile='wxUSE_FFILE=no'
5126 fi
5127
5128 else
5129
5130 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 else
5134 no_cache=1
5135 fi
5136
5137 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5138
5139 fi;
5140
5141 eval "$ac_cv_use_ffile"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5144 fi
5145
5146 if test "$wxUSE_FFILE" = yes; then
5147 echo "$as_me:$LINENO: result: yes" >&5
5148 echo "${ECHO_T}yes" >&6
5149 else
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5152 fi
5153
5154
5155 enablestring=
5156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5158 no_cache=0
5159 # Check whether --enable-file or --disable-file was given.
5160 if test "${enable_file+set}" = set; then
5161 enableval="$enable_file"
5162
5163 if test "$enableval" = yes; then
5164 ac_cv_use_file='wxUSE_FILE=yes'
5165 else
5166 ac_cv_use_file='wxUSE_FILE=no'
5167 fi
5168
5169 else
5170
5171 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x ; then
5173 eval "DEFAULT_$LINE"
5174 else
5175 no_cache=1
5176 fi
5177
5178 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5179
5180 fi;
5181
5182 eval "$ac_cv_use_file"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5185 fi
5186
5187 if test "$wxUSE_FILE" = yes; then
5188 echo "$as_me:$LINENO: result: yes" >&5
5189 echo "${ECHO_T}yes" >&6
5190 else
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5193 fi
5194
5195
5196 enablestring=
5197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5199 no_cache=0
5200 # Check whether --enable-filesystem or --disable-filesystem was given.
5201 if test "${enable_filesystem+set}" = set; then
5202 enableval="$enable_filesystem"
5203
5204 if test "$enableval" = yes; then
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5206 else
5207 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5208 fi
5209
5210 else
5211
5212 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5213 if test "x$LINE" != x ; then
5214 eval "DEFAULT_$LINE"
5215 else
5216 no_cache=1
5217 fi
5218
5219 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5220
5221 fi;
5222
5223 eval "$ac_cv_use_filesystem"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5226 fi
5227
5228 if test "$wxUSE_FILESYSTEM" = yes; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5231 else
5232 echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6
5234 fi
5235
5236
5237 enablestring=
5238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5239 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5240 no_cache=0
5241 # Check whether --enable-fontmap or --disable-fontmap was given.
5242 if test "${enable_fontmap+set}" = set; then
5243 enableval="$enable_fontmap"
5244
5245 if test "$enableval" = yes; then
5246 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5247 else
5248 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5249 fi
5250
5251 else
5252
5253 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x ; then
5255 eval "DEFAULT_$LINE"
5256 else
5257 no_cache=1
5258 fi
5259
5260 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5261
5262 fi;
5263
5264 eval "$ac_cv_use_fontmap"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5267 fi
5268
5269 if test "$wxUSE_FONTMAP" = yes; then
5270 echo "$as_me:$LINENO: result: yes" >&5
5271 echo "${ECHO_T}yes" >&6
5272 else
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5275 fi
5276
5277
5278 enablestring=
5279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5280 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5281 no_cache=0
5282 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5283 if test "${enable_fs_inet+set}" = set; then
5284 enableval="$enable_fs_inet"
5285
5286 if test "$enableval" = yes; then
5287 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5288 else
5289 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5290 fi
5291
5292 else
5293
5294 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x ; then
5296 eval "DEFAULT_$LINE"
5297 else
5298 no_cache=1
5299 fi
5300
5301 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5302
5303 fi;
5304
5305 eval "$ac_cv_use_fs_inet"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5308 fi
5309
5310 if test "$wxUSE_FS_INET" = yes; then
5311 echo "$as_me:$LINENO: result: yes" >&5
5312 echo "${ECHO_T}yes" >&6
5313 else
5314 echo "$as_me:$LINENO: result: no" >&5
5315 echo "${ECHO_T}no" >&6
5316 fi
5317
5318
5319 enablestring=
5320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5322 no_cache=0
5323 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5324 if test "${enable_fs_zip+set}" = set; then
5325 enableval="$enable_fs_zip"
5326
5327 if test "$enableval" = yes; then
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5329 else
5330 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5331 fi
5332
5333 else
5334
5335 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x ; then
5337 eval "DEFAULT_$LINE"
5338 else
5339 no_cache=1
5340 fi
5341
5342 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5343
5344 fi;
5345
5346 eval "$ac_cv_use_fs_zip"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5349 fi
5350
5351 if test "$wxUSE_FS_ZIP" = yes; then
5352 echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6
5354 else
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5357 fi
5358
5359
5360 enablestring=
5361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5363 no_cache=0
5364 # Check whether --enable-geometry or --disable-geometry was given.
5365 if test "${enable_geometry+set}" = set; then
5366 enableval="$enable_geometry"
5367
5368 if test "$enableval" = yes; then
5369 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5370 else
5371 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5372 fi
5373
5374 else
5375
5376 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x ; then
5378 eval "DEFAULT_$LINE"
5379 else
5380 no_cache=1
5381 fi
5382
5383 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5384
5385 fi;
5386
5387 eval "$ac_cv_use_geometry"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test "$wxUSE_GEOMETRY" = yes; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5395 else
5396 echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6
5398 fi
5399
5400
5401 enablestring=
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5404 no_cache=0
5405 # Check whether --enable-log or --disable-log was given.
5406 if test "${enable_log+set}" = set; then
5407 enableval="$enable_log"
5408
5409 if test "$enableval" = yes; then
5410 ac_cv_use_log='wxUSE_LOG=yes'
5411 else
5412 ac_cv_use_log='wxUSE_LOG=no'
5413 fi
5414
5415 else
5416
5417 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 else
5421 no_cache=1
5422 fi
5423
5424 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5425
5426 fi;
5427
5428 eval "$ac_cv_use_log"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5431 fi
5432
5433 if test "$wxUSE_LOG" = yes; then
5434 echo "$as_me:$LINENO: result: yes" >&5
5435 echo "${ECHO_T}yes" >&6
5436 else
5437 echo "$as_me:$LINENO: result: no" >&5
5438 echo "${ECHO_T}no" >&6
5439 fi
5440
5441
5442 enablestring=
5443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5445 no_cache=0
5446 # Check whether --enable-longlong or --disable-longlong was given.
5447 if test "${enable_longlong+set}" = set; then
5448 enableval="$enable_longlong"
5449
5450 if test "$enableval" = yes; then
5451 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5452 else
5453 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5466
5467 fi;
5468
5469 eval "$ac_cv_use_longlong"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5472 fi
5473
5474 if test "$wxUSE_LONGLONG" = yes; then
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5477 else
5478 echo "$as_me:$LINENO: result: no" >&5
5479 echo "${ECHO_T}no" >&6
5480 fi
5481
5482
5483 enablestring=
5484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5485 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5486 no_cache=0
5487 # Check whether --enable-mimetype or --disable-mimetype was given.
5488 if test "${enable_mimetype+set}" = set; then
5489 enableval="$enable_mimetype"
5490
5491 if test "$enableval" = yes; then
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5493 else
5494 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5507
5508 fi;
5509
5510 eval "$ac_cv_use_mimetype"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5513 fi
5514
5515 if test "$wxUSE_MIMETYPE" = yes; then
5516 echo "$as_me:$LINENO: result: yes" >&5
5517 echo "${ECHO_T}yes" >&6
5518 else
5519 echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6
5521 fi
5522
5523
5524 enablestring=
5525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5527 no_cache=0
5528 # Check whether --enable-mslu or --disable-mslu was given.
5529 if test "${enable_mslu+set}" = set; then
5530 enableval="$enable_mslu"
5531
5532 if test "$enableval" = yes; then
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5534 else
5535 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5548
5549 fi;
5550
5551 eval "$ac_cv_use_mslu"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test "$wxUSE_UNICODE_MSLU" = yes; then
5557 echo "$as_me:$LINENO: result: yes" >&5
5558 echo "${ECHO_T}yes" >&6
5559 else
5560 echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6
5562 fi
5563
5564
5565 enablestring=
5566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5568 no_cache=0
5569 # Check whether --enable-snglinst or --disable-snglinst was given.
5570 if test "${enable_snglinst+set}" = set; then
5571 enableval="$enable_snglinst"
5572
5573 if test "$enableval" = yes; then
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5575 else
5576 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5577 fi
5578
5579 else
5580
5581 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5584 else
5585 no_cache=1
5586 fi
5587
5588 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5589
5590 fi;
5591
5592 eval "$ac_cv_use_snglinst"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5598 echo "$as_me:$LINENO: result: yes" >&5
5599 echo "${ECHO_T}yes" >&6
5600 else
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5603 fi
5604
5605
5606 enablestring=
5607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5609 no_cache=0
5610 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5611 if test "${enable_std_iostreams+set}" = set; then
5612 enableval="$enable_std_iostreams"
5613
5614 if test "$enableval" = yes; then
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5616 else
5617 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5618 fi
5619
5620 else
5621
5622 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5630
5631 fi;
5632
5633 eval "$ac_cv_use_std_iostreams"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5636 fi
5637
5638 if test "$wxUSE_STD_IOSTREAM" = yes; then
5639 echo "$as_me:$LINENO: result: yes" >&5
5640 echo "${ECHO_T}yes" >&6
5641 else
5642 echo "$as_me:$LINENO: result: no" >&5
5643 echo "${ECHO_T}no" >&6
5644 fi
5645
5646
5647 enablestring=
5648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5649 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5650 no_cache=0
5651 # Check whether --enable-std_string or --disable-std_string was given.
5652 if test "${enable_std_string+set}" = set; then
5653 enableval="$enable_std_string"
5654
5655 if test "$enableval" = yes; then
5656 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5657 else
5658 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5659 fi
5660
5661 else
5662
5663 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5666 else
5667 no_cache=1
5668 fi
5669
5670 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5671
5672 fi;
5673
5674 eval "$ac_cv_use_std_string"
5675 if test "$no_cache" != 1; then
5676 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5677 fi
5678
5679 if test "$wxUSE_STD_STRING" = yes; then
5680 echo "$as_me:$LINENO: result: yes" >&5
5681 echo "${ECHO_T}yes" >&6
5682 else
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5685 fi
5686
5687
5688 enablestring=
5689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5690 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5691 no_cache=0
5692 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5693 if test "${enable_stdpaths+set}" = set; then
5694 enableval="$enable_stdpaths"
5695
5696 if test "$enableval" = yes; then
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5698 else
5699 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5700 fi
5701
5702 else
5703
5704 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x ; then
5706 eval "DEFAULT_$LINE"
5707 else
5708 no_cache=1
5709 fi
5710
5711 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5712
5713 fi;
5714
5715 eval "$ac_cv_use_stdpaths"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test "$wxUSE_STDPATHS" = yes; then
5721 echo "$as_me:$LINENO: result: yes" >&5
5722 echo "${ECHO_T}yes" >&6
5723 else
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5726 fi
5727
5728
5729 enablestring=
5730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5731 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5732 no_cache=0
5733 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5734 if test "${enable_stopwatch+set}" = set; then
5735 enableval="$enable_stopwatch"
5736
5737 if test "$enableval" = yes; then
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5739 else
5740 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5741 fi
5742
5743 else
5744
5745 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 else
5749 no_cache=1
5750 fi
5751
5752 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5753
5754 fi;
5755
5756 eval "$ac_cv_use_stopwatch"
5757 if test "$no_cache" != 1; then
5758 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5759 fi
5760
5761 if test "$wxUSE_STOPWATCH" = yes; then
5762 echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6
5764 else
5765 echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6
5767 fi
5768
5769
5770 enablestring=
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5773 no_cache=0
5774 # Check whether --enable-streams or --disable-streams was given.
5775 if test "${enable_streams+set}" = set; then
5776 enableval="$enable_streams"
5777
5778 if test "$enableval" = yes; then
5779 ac_cv_use_streams='wxUSE_STREAMS=yes'
5780 else
5781 ac_cv_use_streams='wxUSE_STREAMS=no'
5782 fi
5783
5784 else
5785
5786 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5789 else
5790 no_cache=1
5791 fi
5792
5793 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5794
5795 fi;
5796
5797 eval "$ac_cv_use_streams"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_STREAMS" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5805 else
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5808 fi
5809
5810
5811 enablestring=
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5814 no_cache=0
5815 # Check whether --enable-system_options or --disable-system_options was given.
5816 if test "${enable_system_options+set}" = set; then
5817 enableval="$enable_system_options"
5818
5819 if test "$enableval" = yes; then
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5821 else
5822 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5835
5836 fi;
5837
5838 eval "$ac_cv_use_system_options"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5844 echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6
5846 else
5847 echo "$as_me:$LINENO: result: no" >&5
5848 echo "${ECHO_T}no" >&6
5849 fi
5850
5851
5852 enablestring=
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5855 no_cache=0
5856 # Check whether --enable-textbuf or --disable-textbuf was given.
5857 if test "${enable_textbuf+set}" = set; then
5858 enableval="$enable_textbuf"
5859
5860 if test "$enableval" = yes; then
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5862 else
5863 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5876
5877 fi;
5878
5879 eval "$ac_cv_use_textbuf"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5882 fi
5883
5884 if test "$wxUSE_TEXTBUFFER" = yes; then
5885 echo "$as_me:$LINENO: result: yes" >&5
5886 echo "${ECHO_T}yes" >&6
5887 else
5888 echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6
5890 fi
5891
5892
5893 enablestring=
5894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5896 no_cache=0
5897 # Check whether --enable-textfile or --disable-textfile was given.
5898 if test "${enable_textfile+set}" = set; then
5899 enableval="$enable_textfile"
5900
5901 if test "$enableval" = yes; then
5902 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5903 else
5904 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5917
5918 fi;
5919
5920 eval "$ac_cv_use_textfile"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5923 fi
5924
5925 if test "$wxUSE_TEXTFILE" = yes; then
5926 echo "$as_me:$LINENO: result: yes" >&5
5927 echo "${ECHO_T}yes" >&6
5928 else
5929 echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6
5931 fi
5932
5933
5934 enablestring=
5935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5936 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5937 no_cache=0
5938 # Check whether --enable-timer or --disable-timer was given.
5939 if test "${enable_timer+set}" = set; then
5940 enableval="$enable_timer"
5941
5942 if test "$enableval" = yes; then
5943 ac_cv_use_timer='wxUSE_TIMER=yes'
5944 else
5945 ac_cv_use_timer='wxUSE_TIMER=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5958
5959 fi;
5960
5961 eval "$ac_cv_use_timer"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5964 fi
5965
5966 if test "$wxUSE_TIMER" = yes; then
5967 echo "$as_me:$LINENO: result: yes" >&5
5968 echo "${ECHO_T}yes" >&6
5969 else
5970 echo "$as_me:$LINENO: result: no" >&5
5971 echo "${ECHO_T}no" >&6
5972 fi
5973
5974
5975 enablestring=
5976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5978 no_cache=0
5979 # Check whether --enable-unicode or --disable-unicode was given.
5980 if test "${enable_unicode+set}" = set; then
5981 enableval="$enable_unicode"
5982
5983 if test "$enableval" = yes; then
5984 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5985 else
5986 ac_cv_use_unicode='wxUSE_UNICODE=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5999
6000 fi;
6001
6002 eval "$ac_cv_use_unicode"
6003 if test "$no_cache" != 1; then
6004 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6005 fi
6006
6007 if test "$wxUSE_UNICODE" = yes; then
6008 echo "$as_me:$LINENO: result: yes" >&5
6009 echo "${ECHO_T}yes" >&6
6010 else
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6013 fi
6014
6015
6016 enablestring=
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6019 no_cache=0
6020 # Check whether --enable-sound or --disable-sound was given.
6021 if test "${enable_sound+set}" = set; then
6022 enableval="$enable_sound"
6023
6024 if test "$enableval" = yes; then
6025 ac_cv_use_sound='wxUSE_SOUND=yes'
6026 else
6027 ac_cv_use_sound='wxUSE_SOUND=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6040
6041 fi;
6042
6043 eval "$ac_cv_use_sound"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6046 fi
6047
6048 if test "$wxUSE_SOUND" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6051 else
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6054 fi
6055
6056
6057 enablestring=
6058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6060 no_cache=0
6061 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6062 if test "${enable_mediactrl+set}" = set; then
6063 enableval="$enable_mediactrl"
6064
6065 if test "$enableval" = yes; then
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6067 else
6068 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6081
6082 fi;
6083
6084 eval "$ac_cv_use_mediactrl"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6087 fi
6088
6089 if test "$wxUSE_MEDIACTRL" = yes; then
6090 echo "$as_me:$LINENO: result: yes" >&5
6091 echo "${ECHO_T}yes" >&6
6092 else
6093 echo "$as_me:$LINENO: result: no" >&5
6094 echo "${ECHO_T}no" >&6
6095 fi
6096
6097
6098 enablestring=
6099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6101 no_cache=0
6102 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6103 if test "${enable_wxprintfv+set}" = set; then
6104 enableval="$enable_wxprintfv"
6105
6106 if test "$enableval" = yes; then
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6108 else
6109 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6122
6123 fi;
6124
6125 eval "$ac_cv_use_wxprintfv"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6128 fi
6129
6130 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6131 echo "$as_me:$LINENO: result: yes" >&5
6132 echo "${ECHO_T}yes" >&6
6133 else
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6136 fi
6137
6138
6139 enablestring=
6140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6142 no_cache=0
6143 # Check whether --enable-zipstream or --disable-zipstream was given.
6144 if test "${enable_zipstream+set}" = set; then
6145 enableval="$enable_zipstream"
6146
6147 if test "$enableval" = yes; then
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6149 else
6150 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6163
6164 fi;
6165
6166 eval "$ac_cv_use_zipstream"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6169 fi
6170
6171 if test "$wxUSE_ZIPSTREAM" = yes; then
6172 echo "$as_me:$LINENO: result: yes" >&5
6173 echo "${ECHO_T}yes" >&6
6174 else
6175 echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6
6177 fi
6178
6179
6180
6181 enablestring=
6182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6184 no_cache=0
6185 # Check whether --enable-url or --disable-url was given.
6186 if test "${enable_url+set}" = set; then
6187 enableval="$enable_url"
6188
6189 if test "$enableval" = yes; then
6190 ac_cv_use_url='wxUSE_URL=yes'
6191 else
6192 ac_cv_use_url='wxUSE_URL=no'
6193 fi
6194
6195 else
6196
6197 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x ; then
6199 eval "DEFAULT_$LINE"
6200 else
6201 no_cache=1
6202 fi
6203
6204 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6205
6206 fi;
6207
6208 eval "$ac_cv_use_url"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_URL" = yes; then
6214 echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6
6216 else
6217 echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6
6219 fi
6220
6221
6222 enablestring=
6223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6225 no_cache=0
6226 # Check whether --enable-protocol or --disable-protocol was given.
6227 if test "${enable_protocol+set}" = set; then
6228 enableval="$enable_protocol"
6229
6230 if test "$enableval" = yes; then
6231 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6232 else
6233 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6234 fi
6235
6236 else
6237
6238 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x ; then
6240 eval "DEFAULT_$LINE"
6241 else
6242 no_cache=1
6243 fi
6244
6245 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6246
6247 fi;
6248
6249 eval "$ac_cv_use_protocol"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test "$wxUSE_PROTOCOL" = yes; then
6255 echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6
6257 else
6258 echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6
6260 fi
6261
6262
6263 enablestring=
6264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6266 no_cache=0
6267 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6268 if test "${enable_protocol_http+set}" = set; then
6269 enableval="$enable_protocol_http"
6270
6271 if test "$enableval" = yes; then
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6273 else
6274 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6275 fi
6276
6277 else
6278
6279 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6282 else
6283 no_cache=1
6284 fi
6285
6286 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6287
6288 fi;
6289
6290 eval "$ac_cv_use_protocol_http"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6296 echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6
6298 else
6299 echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6
6301 fi
6302
6303
6304 enablestring=
6305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6307 no_cache=0
6308 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6309 if test "${enable_protocol_ftp+set}" = set; then
6310 enableval="$enable_protocol_ftp"
6311
6312 if test "$enableval" = yes; then
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6314 else
6315 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6316 fi
6317
6318 else
6319
6320 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x ; then
6322 eval "DEFAULT_$LINE"
6323 else
6324 no_cache=1
6325 fi
6326
6327 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6328
6329 fi;
6330
6331 eval "$ac_cv_use_protocol_ftp"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6337 echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6
6339 else
6340 echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6
6342 fi
6343
6344
6345 enablestring=
6346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6348 no_cache=0
6349 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6350 if test "${enable_protocol_file+set}" = set; then
6351 enableval="$enable_protocol_file"
6352
6353 if test "$enableval" = yes; then
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6355 else
6356 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6357 fi
6358
6359 else
6360
6361 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6364 else
6365 no_cache=1
6366 fi
6367
6368 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6369
6370 fi;
6371
6372 eval "$ac_cv_use_protocol_file"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6378 echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6
6380 else
6381 echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6
6383 fi
6384
6385
6386
6387
6388
6389 enablestring=
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6392 no_cache=0
6393 # Check whether --enable-threads or --disable-threads was given.
6394 if test "${enable_threads+set}" = set; then
6395 enableval="$enable_threads"
6396
6397 if test "$enableval" = yes; then
6398 ac_cv_use_threads='wxUSE_THREADS=yes'
6399 else
6400 ac_cv_use_threads='wxUSE_THREADS=no'
6401 fi
6402
6403 else
6404
6405 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6408 else
6409 no_cache=1
6410 fi
6411
6412 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6413
6414 fi;
6415
6416 eval "$ac_cv_use_threads"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test "$wxUSE_THREADS" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6424 else
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6427 fi
6428
6429
6430 if test "$wxUSE_GUI" = "yes"; then
6431
6432
6433
6434 enablestring=
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6437 no_cache=0
6438 # Check whether --enable-docview or --disable-docview was given.
6439 if test "${enable_docview+set}" = set; then
6440 enableval="$enable_docview"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6444 else
6445 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6446 fi
6447
6448 else
6449
6450 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6458
6459 fi;
6460
6461 eval "$ac_cv_use_docview"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6464 fi
6465
6466 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6469 else
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6472 fi
6473
6474
6475 enablestring=
6476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6477 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6478 no_cache=0
6479 # Check whether --enable-help or --disable-help was given.
6480 if test "${enable_help+set}" = set; then
6481 enableval="$enable_help"
6482
6483 if test "$enableval" = yes; then
6484 ac_cv_use_help='wxUSE_HELP=yes'
6485 else
6486 ac_cv_use_help='wxUSE_HELP=no'
6487 fi
6488
6489 else
6490
6491 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6494 else
6495 no_cache=1
6496 fi
6497
6498 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6499
6500 fi;
6501
6502 eval "$ac_cv_use_help"
6503 if test "$no_cache" != 1; then
6504 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6505 fi
6506
6507 if test "$wxUSE_HELP" = yes; then
6508 echo "$as_me:$LINENO: result: yes" >&5
6509 echo "${ECHO_T}yes" >&6
6510 else
6511 echo "$as_me:$LINENO: result: no" >&5
6512 echo "${ECHO_T}no" >&6
6513 fi
6514
6515
6516 enablestring=
6517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6518 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6519 no_cache=0
6520 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6521 if test "${enable_mshtmlhelp+set}" = set; then
6522 enableval="$enable_mshtmlhelp"
6523
6524 if test "$enableval" = yes; then
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6526 else
6527 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6528 fi
6529
6530 else
6531
6532 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6535 else
6536 no_cache=1
6537 fi
6538
6539 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6540
6541 fi;
6542
6543 eval "$ac_cv_use_mshtmlhelp"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6546 fi
6547
6548 if test "$wxUSE_MS_HTML_HELP" = yes; then
6549 echo "$as_me:$LINENO: result: yes" >&5
6550 echo "${ECHO_T}yes" >&6
6551 else
6552 echo "$as_me:$LINENO: result: no" >&5
6553 echo "${ECHO_T}no" >&6
6554 fi
6555
6556
6557 enablestring=
6558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6560 no_cache=0
6561 # Check whether --enable-html or --disable-html was given.
6562 if test "${enable_html+set}" = set; then
6563 enableval="$enable_html"
6564
6565 if test "$enableval" = yes; then
6566 ac_cv_use_html='wxUSE_HTML=yes'
6567 else
6568 ac_cv_use_html='wxUSE_HTML=no'
6569 fi
6570
6571 else
6572
6573 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6576 else
6577 no_cache=1
6578 fi
6579
6580 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6581
6582 fi;
6583
6584 eval "$ac_cv_use_html"
6585 if test "$no_cache" != 1; then
6586 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6587 fi
6588
6589 if test "$wxUSE_HTML" = yes; then
6590 echo "$as_me:$LINENO: result: yes" >&5
6591 echo "${ECHO_T}yes" >&6
6592 else
6593 echo "$as_me:$LINENO: result: no" >&5
6594 echo "${ECHO_T}no" >&6
6595 fi
6596
6597
6598 enablestring=
6599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6600 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6601 no_cache=0
6602 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6603 if test "${enable_htmlhelp+set}" = set; then
6604 enableval="$enable_htmlhelp"
6605
6606 if test "$enableval" = yes; then
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6608 else
6609 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6610 fi
6611
6612 else
6613
6614 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6617 else
6618 no_cache=1
6619 fi
6620
6621 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6622
6623 fi;
6624
6625 eval "$ac_cv_use_htmlhelp"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6628 fi
6629
6630 if test "$wxUSE_WXHTML_HELP" = yes; then
6631 echo "$as_me:$LINENO: result: yes" >&5
6632 echo "${ECHO_T}yes" >&6
6633 else
6634 echo "$as_me:$LINENO: result: no" >&5
6635 echo "${ECHO_T}no" >&6
6636 fi
6637
6638
6639 enablestring=
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6642 no_cache=0
6643 # Check whether --enable-xrc or --disable-xrc was given.
6644 if test "${enable_xrc+set}" = set; then
6645 enableval="$enable_xrc"
6646
6647 if test "$enableval" = yes; then
6648 ac_cv_use_xrc='wxUSE_XRC=yes'
6649 else
6650 ac_cv_use_xrc='wxUSE_XRC=no'
6651 fi
6652
6653 else
6654
6655 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6658 else
6659 no_cache=1
6660 fi
6661
6662 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6663
6664 fi;
6665
6666 eval "$ac_cv_use_xrc"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6669 fi
6670
6671 if test "$wxUSE_XRC" = yes; then
6672 echo "$as_me:$LINENO: result: yes" >&5
6673 echo "${ECHO_T}yes" >&6
6674 else
6675 echo "$as_me:$LINENO: result: no" >&5
6676 echo "${ECHO_T}no" >&6
6677 fi
6678
6679
6680 enablestring=
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6683 no_cache=0
6684 # Check whether --enable-constraints or --disable-constraints was given.
6685 if test "${enable_constraints+set}" = set; then
6686 enableval="$enable_constraints"
6687
6688 if test "$enableval" = yes; then
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6690 else
6691 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6692 fi
6693
6694 else
6695
6696 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6704
6705 fi;
6706
6707 eval "$ac_cv_use_constraints"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6710 fi
6711
6712 if test "$wxUSE_CONSTRAINTS" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6715 else
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6718 fi
6719
6720
6721 enablestring=
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6724 no_cache=0
6725 # Check whether --enable-printarch or --disable-printarch was given.
6726 if test "${enable_printarch+set}" = set; then
6727 enableval="$enable_printarch"
6728
6729 if test "$enableval" = yes; then
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6731 else
6732 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6733 fi
6734
6735 else
6736
6737 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6745
6746 fi;
6747
6748 eval "$ac_cv_use_printarch"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6751 fi
6752
6753 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6756 else
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6759 fi
6760
6761
6762 enablestring=
6763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6765 no_cache=0
6766 # Check whether --enable-mdi or --disable-mdi was given.
6767 if test "${enable_mdi+set}" = set; then
6768 enableval="$enable_mdi"
6769
6770 if test "$enableval" = yes; then
6771 ac_cv_use_mdi='wxUSE_MDI=yes'
6772 else
6773 ac_cv_use_mdi='wxUSE_MDI=no'
6774 fi
6775
6776 else
6777
6778 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6781 else
6782 no_cache=1
6783 fi
6784
6785 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6786
6787 fi;
6788
6789 eval "$ac_cv_use_mdi"
6790 if test "$no_cache" != 1; then
6791 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6792 fi
6793
6794 if test "$wxUSE_MDI" = yes; then
6795 echo "$as_me:$LINENO: result: yes" >&5
6796 echo "${ECHO_T}yes" >&6
6797 else
6798 echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6
6800 fi
6801
6802
6803 enablestring=
6804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6806 no_cache=0
6807 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6808 if test "${enable_mdidoc+set}" = set; then
6809 enableval="$enable_mdidoc"
6810
6811 if test "$enableval" = yes; then
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6813 else
6814 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6815 fi
6816
6817 else
6818
6819 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 else
6823 no_cache=1
6824 fi
6825
6826 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6827
6828 fi;
6829
6830 eval "$ac_cv_use_mdidoc"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6833 fi
6834
6835 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6836 echo "$as_me:$LINENO: result: yes" >&5
6837 echo "${ECHO_T}yes" >&6
6838 else
6839 echo "$as_me:$LINENO: result: no" >&5
6840 echo "${ECHO_T}no" >&6
6841 fi
6842
6843
6844 enablestring=
6845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6846 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6847 no_cache=0
6848 # Check whether --enable-loggui or --disable-loggui was given.
6849 if test "${enable_loggui+set}" = set; then
6850 enableval="$enable_loggui"
6851
6852 if test "$enableval" = yes; then
6853 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6854 else
6855 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6856 fi
6857
6858 else
6859
6860 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6863 else
6864 no_cache=1
6865 fi
6866
6867 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6868
6869 fi;
6870
6871 eval "$ac_cv_use_loggui"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6874 fi
6875
6876 if test "$wxUSE_LOGGUI" = yes; then
6877 echo "$as_me:$LINENO: result: yes" >&5
6878 echo "${ECHO_T}yes" >&6
6879 else
6880 echo "$as_me:$LINENO: result: no" >&5
6881 echo "${ECHO_T}no" >&6
6882 fi
6883
6884
6885 enablestring=
6886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6887 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6888 no_cache=0
6889 # Check whether --enable-logwin or --disable-logwin was given.
6890 if test "${enable_logwin+set}" = set; then
6891 enableval="$enable_logwin"
6892
6893 if test "$enableval" = yes; then
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6895 else
6896 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6897 fi
6898
6899 else
6900
6901 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6904 else
6905 no_cache=1
6906 fi
6907
6908 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6909
6910 fi;
6911
6912 eval "$ac_cv_use_logwin"
6913 if test "$no_cache" != 1; then
6914 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6915 fi
6916
6917 if test "$wxUSE_LOGWINDOW" = yes; then
6918 echo "$as_me:$LINENO: result: yes" >&5
6919 echo "${ECHO_T}yes" >&6
6920 else
6921 echo "$as_me:$LINENO: result: no" >&5
6922 echo "${ECHO_T}no" >&6
6923 fi
6924
6925
6926 enablestring=
6927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6929 no_cache=0
6930 # Check whether --enable-logdialog or --disable-logdialog was given.
6931 if test "${enable_logdialog+set}" = set; then
6932 enableval="$enable_logdialog"
6933
6934 if test "$enableval" = yes; then
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6936 else
6937 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6938 fi
6939
6940 else
6941
6942 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6950
6951 fi;
6952
6953 eval "$ac_cv_use_logdialog"
6954 if test "$no_cache" != 1; then
6955 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test "$wxUSE_LOGDIALOG" = yes; then
6959 echo "$as_me:$LINENO: result: yes" >&5
6960 echo "${ECHO_T}yes" >&6
6961 else
6962 echo "$as_me:$LINENO: result: no" >&5
6963 echo "${ECHO_T}no" >&6
6964 fi
6965
6966
6967 enablestring=
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6970 no_cache=0
6971 # Check whether --enable-webkit or --disable-webkit was given.
6972 if test "${enable_webkit+set}" = set; then
6973 enableval="$enable_webkit"
6974
6975 if test "$enableval" = yes; then
6976 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6977 else
6978 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6991
6992 fi;
6993
6994 eval "$ac_cv_use_webkit"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6997 fi
6998
6999 if test "$wxUSE_WEBKIT" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7002 else
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7005 fi
7006
7007
7008
7009 enablestring=
7010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7012 no_cache=0
7013 # Check whether --enable-postscript or --disable-postscript was given.
7014 if test "${enable_postscript+set}" = set; then
7015 enableval="$enable_postscript"
7016
7017 if test "$enableval" = yes; then
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7019 else
7020 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7021 fi
7022
7023 else
7024
7025 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x ; then
7027 eval "DEFAULT_$LINE"
7028 else
7029 no_cache=1
7030 fi
7031
7032 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7033
7034 fi;
7035
7036 eval "$ac_cv_use_postscript"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7039 fi
7040
7041 if test "$wxUSE_POSTSCRIPT" = yes; then
7042 echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6
7044 else
7045 echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6
7047 fi
7048
7049
7050
7051
7052
7053 enablestring=
7054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7055 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7056 no_cache=0
7057 # Check whether --enable-prologio or --disable-prologio was given.
7058 if test "${enable_prologio+set}" = set; then
7059 enableval="$enable_prologio"
7060
7061 if test "$enableval" = yes; then
7062 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7063 else
7064 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7065 fi
7066
7067 else
7068
7069 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x ; then
7071 eval "DEFAULT_$LINE"
7072 else
7073 no_cache=1
7074 fi
7075
7076 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7077
7078 fi;
7079
7080 eval "$ac_cv_use_prologio"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7083 fi
7084
7085 if test "$wxUSE_PROLOGIO" = yes; then
7086 echo "$as_me:$LINENO: result: yes" >&5
7087 echo "${ECHO_T}yes" >&6
7088 else
7089 echo "$as_me:$LINENO: result: no" >&5
7090 echo "${ECHO_T}no" >&6
7091 fi
7092
7093
7094 enablestring=
7095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7097 no_cache=0
7098 # Check whether --enable-resources or --disable-resources was given.
7099 if test "${enable_resources+set}" = set; then
7100 enableval="$enable_resources"
7101
7102 if test "$enableval" = yes; then
7103 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7104 else
7105 ac_cv_use_resources='wxUSE_RESOURCES=no'
7106 fi
7107
7108 else
7109
7110 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7113 else
7114 no_cache=1
7115 fi
7116
7117 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7118
7119 fi;
7120
7121 eval "$ac_cv_use_resources"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7124 fi
7125
7126 if test "$wxUSE_RESOURCES" = yes; then
7127 echo "$as_me:$LINENO: result: yes" >&5
7128 echo "${ECHO_T}yes" >&6
7129 else
7130 echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6
7132 fi
7133
7134
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-clipboard or --disable-clipboard was given.
7142 if test "${enable_clipboard+set}" = set; then
7143 enableval="$enable_clipboard"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7147 else
7148 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7161
7162 fi;
7163
7164 eval "$ac_cv_use_clipboard"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_CLIPBOARD" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-dnd or --disable-dnd was given.
7183 if test "${enable_dnd+set}" = set; then
7184 enableval="$enable_dnd"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7188 else
7189 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7202
7203 fi;
7204
7205 eval "$ac_cv_use_dnd"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-metafile or --disable-metafile was given.
7224 if test "${enable_metafile+set}" = set; then
7225 enableval="$enable_metafile"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7229 else
7230 ac_cv_use_metafile='wxUSE_METAFILE=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7243
7244 fi;
7245
7246 eval "$ac_cv_use_metafile"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_METAFILE" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260
7261
7262
7263 enablestring=
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7266 no_cache=0
7267 # Check whether --enable-controls or --disable-controls was given.
7268 if test "${enable_controls+set}" = set; then
7269 enableval="$enable_controls"
7270
7271 if test "$enableval" = yes; then
7272 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7273 else
7274 ac_cv_use_controls='wxUSE_CONTROLS=no'
7275 fi
7276
7277 else
7278
7279 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x ; then
7281 eval "DEFAULT_$LINE"
7282 else
7283 no_cache=1
7284 fi
7285
7286 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7287
7288 fi;
7289
7290 eval "$ac_cv_use_controls"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_CONTROLS" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7298 else
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7301 fi
7302
7303
7304 if test "$wxUSE_CONTROLS" = "yes"; then
7305 DEFAULT_wxUSE_ACCEL=yes
7306 DEFAULT_wxUSE_BMPBUTTON=yes
7307 DEFAULT_wxUSE_BUTTON=yes
7308 DEFAULT_wxUSE_CALCTRL=yes
7309 DEFAULT_wxUSE_CARET=yes
7310 DEFAULT_wxUSE_COMBOBOX=yes
7311 DEFAULT_wxUSE_CHECKBOX=yes
7312 DEFAULT_wxUSE_CHECKLISTBOX=yes
7313 DEFAULT_wxUSE_CHOICE=yes
7314 DEFAULT_wxUSE_CHOICEBOOK=yes
7315 DEFAULT_wxUSE_DATEPICKCTRL=yes
7316 DEFAULT_wxUSE_GAUGE=yes
7317 DEFAULT_wxUSE_GRID=yes
7318 DEFAULT_wxUSE_IMAGLIST=yes
7319 DEFAULT_wxUSE_LISTBOOK=yes
7320 DEFAULT_wxUSE_LISTBOX=yes
7321 DEFAULT_wxUSE_LISTCTRL=yes
7322 DEFAULT_wxUSE_NOTEBOOK=yes
7323 DEFAULT_wxUSE_RADIOBOX=yes
7324 DEFAULT_wxUSE_RADIOBTN=yes
7325 DEFAULT_wxUSE_SASH=yes
7326 DEFAULT_wxUSE_SCROLLBAR=yes
7327 DEFAULT_wxUSE_SLIDER=yes
7328 DEFAULT_wxUSE_SPINBTN=yes
7329 DEFAULT_wxUSE_SPINCTRL=yes
7330 DEFAULT_wxUSE_SPLITTER=yes
7331 DEFAULT_wxUSE_STATBMP=yes
7332 DEFAULT_wxUSE_STATBOX=yes
7333 DEFAULT_wxUSE_STATLINE=yes
7334 DEFAULT_wxUSE_STATUSBAR=yes
7335 DEFAULT_wxUSE_TAB_DIALOG=yes
7336 DEFAULT_wxUSE_TOGGLEBTN=yes
7337 DEFAULT_wxUSE_TOOLBAR=yes
7338 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7339 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7340 DEFAULT_wxUSE_TOOLTIPS=yes
7341 DEFAULT_wxUSE_TREECTRL=yes
7342 DEFAULT_wxUSE_POPUPWIN=yes
7343 DEFAULT_wxUSE_TIPWINDOW=yes
7344 elif test "$wxUSE_CONTROLS" = "no"; then
7345 DEFAULT_wxUSE_ACCEL=no
7346 DEFAULT_wxUSE_BMPBUTTON=no
7347 DEFAULT_wxUSE_BUTTON=no
7348 DEFAULT_wxUSE_CALCTRL=no
7349 DEFAULT_wxUSE_CARET=no
7350 DEFAULT_wxUSE_COMBOBOX=no
7351 DEFAULT_wxUSE_CHECKBOX=no
7352 DEFAULT_wxUSE_CHECKLISTBOX=no
7353 DEFAULT_wxUSE_CHOICE=no
7354 DEFAULT_wxUSE_CHOICEBOOK=no
7355 DEFAULT_wxUSE_DATEPICKCTRL=no
7356 DEFAULT_wxUSE_GAUGE=no
7357 DEFAULT_wxUSE_GRID=no
7358 DEFAULT_wxUSE_IMAGLIST=no
7359 DEFAULT_wxUSE_LISTBOOK=no
7360 DEFAULT_wxUSE_LISTBOX=no
7361 DEFAULT_wxUSE_LISTCTRL=no
7362 DEFAULT_wxUSE_NOTEBOOK=no
7363 DEFAULT_wxUSE_RADIOBOX=no
7364 DEFAULT_wxUSE_RADIOBTN=no
7365 DEFAULT_wxUSE_SASH=no
7366 DEFAULT_wxUSE_SCROLLBAR=no
7367 DEFAULT_wxUSE_SLIDER=no
7368 DEFAULT_wxUSE_SPINBTN=no
7369 DEFAULT_wxUSE_SPINCTRL=no
7370 DEFAULT_wxUSE_SPLITTER=no
7371 DEFAULT_wxUSE_STATBMP=no
7372 DEFAULT_wxUSE_STATBOX=no
7373 DEFAULT_wxUSE_STATLINE=no
7374 DEFAULT_wxUSE_STATUSBAR=no
7375 DEFAULT_wxUSE_TAB_DIALOG=no
7376 DEFAULT_wxUSE_TOGGLEBTN=no
7377 DEFAULT_wxUSE_TOOLBAR=no
7378 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7379 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7380 DEFAULT_wxUSE_TOOLTIPS=no
7381 DEFAULT_wxUSE_TREECTRL=no
7382 DEFAULT_wxUSE_POPUPWIN=no
7383 DEFAULT_wxUSE_TIPWINDOW=no
7384 fi
7385
7386
7387 enablestring=
7388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7390 no_cache=0
7391 # Check whether --enable-accel or --disable-accel was given.
7392 if test "${enable_accel+set}" = set; then
7393 enableval="$enable_accel"
7394
7395 if test "$enableval" = yes; then
7396 ac_cv_use_accel='wxUSE_ACCEL=yes'
7397 else
7398 ac_cv_use_accel='wxUSE_ACCEL=no'
7399 fi
7400
7401 else
7402
7403 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7404 if test "x$LINE" != x ; then
7405 eval "DEFAULT_$LINE"
7406 else
7407 no_cache=1
7408 fi
7409
7410 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7411
7412 fi;
7413
7414 eval "$ac_cv_use_accel"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test "$wxUSE_ACCEL" = yes; then
7420 echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6
7422 else
7423 echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6
7425 fi
7426
7427
7428 enablestring=
7429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7431 no_cache=0
7432 # Check whether --enable-button or --disable-button was given.
7433 if test "${enable_button+set}" = set; then
7434 enableval="$enable_button"
7435
7436 if test "$enableval" = yes; then
7437 ac_cv_use_button='wxUSE_BUTTON=yes'
7438 else
7439 ac_cv_use_button='wxUSE_BUTTON=no'
7440 fi
7441
7442 else
7443
7444 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x ; then
7446 eval "DEFAULT_$LINE"
7447 else
7448 no_cache=1
7449 fi
7450
7451 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7452
7453 fi;
7454
7455 eval "$ac_cv_use_button"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_BUTTON" = yes; then
7461 echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6
7463 else
7464 echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6
7466 fi
7467
7468
7469 enablestring=
7470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7472 no_cache=0
7473 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7474 if test "${enable_bmpbutton+set}" = set; then
7475 enableval="$enable_bmpbutton"
7476
7477 if test "$enableval" = yes; then
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7479 else
7480 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7481 fi
7482
7483 else
7484
7485 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x ; then
7487 eval "DEFAULT_$LINE"
7488 else
7489 no_cache=1
7490 fi
7491
7492 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7493
7494 fi;
7495
7496 eval "$ac_cv_use_bmpbutton"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test "$wxUSE_BMPBUTTON" = yes; then
7502 echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6
7504 else
7505 echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6
7507 fi
7508
7509
7510 enablestring=
7511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7513 no_cache=0
7514 # Check whether --enable-calendar or --disable-calendar was given.
7515 if test "${enable_calendar+set}" = set; then
7516 enableval="$enable_calendar"
7517
7518 if test "$enableval" = yes; then
7519 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7520 else
7521 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7522 fi
7523
7524 else
7525
7526 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x ; then
7528 eval "DEFAULT_$LINE"
7529 else
7530 no_cache=1
7531 fi
7532
7533 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7534
7535 fi;
7536
7537 eval "$ac_cv_use_calendar"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_CALCTRL" = yes; then
7543 echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6
7545 else
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7548 fi
7549
7550
7551 enablestring=
7552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7554 no_cache=0
7555 # Check whether --enable-caret or --disable-caret was given.
7556 if test "${enable_caret+set}" = set; then
7557 enableval="$enable_caret"
7558
7559 if test "$enableval" = yes; then
7560 ac_cv_use_caret='wxUSE_CARET=yes'
7561 else
7562 ac_cv_use_caret='wxUSE_CARET=no'
7563 fi
7564
7565 else
7566
7567 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7568 if test "x$LINE" != x ; then
7569 eval "DEFAULT_$LINE"
7570 else
7571 no_cache=1
7572 fi
7573
7574 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7575
7576 fi;
7577
7578 eval "$ac_cv_use_caret"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7581 fi
7582
7583 if test "$wxUSE_CARET" = yes; then
7584 echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6
7586 else
7587 echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6
7589 fi
7590
7591
7592 enablestring=
7593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7595 no_cache=0
7596 # Check whether --enable-checkbox or --disable-checkbox was given.
7597 if test "${enable_checkbox+set}" = set; then
7598 enableval="$enable_checkbox"
7599
7600 if test "$enableval" = yes; then
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7602 else
7603 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7604 fi
7605
7606 else
7607
7608 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x ; then
7610 eval "DEFAULT_$LINE"
7611 else
7612 no_cache=1
7613 fi
7614
7615 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7616
7617 fi;
7618
7619 eval "$ac_cv_use_checkbox"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_CHECKBOX" = yes; then
7625 echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6
7627 else
7628 echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6
7630 fi
7631
7632
7633 enablestring=
7634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7635 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7636 no_cache=0
7637 # Check whether --enable-checklst or --disable-checklst was given.
7638 if test "${enable_checklst+set}" = set; then
7639 enableval="$enable_checklst"
7640
7641 if test "$enableval" = yes; then
7642 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7643 else
7644 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7645 fi
7646
7647 else
7648
7649 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 else
7653 no_cache=1
7654 fi
7655
7656 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7657
7658 fi;
7659
7660 eval "$ac_cv_use_checklst"
7661 if test "$no_cache" != 1; then
7662 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7663 fi
7664
7665 if test "$wxUSE_CHECKLST" = yes; then
7666 echo "$as_me:$LINENO: result: yes" >&5
7667 echo "${ECHO_T}yes" >&6
7668 else
7669 echo "$as_me:$LINENO: result: no" >&5
7670 echo "${ECHO_T}no" >&6
7671 fi
7672
7673
7674 enablestring=
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7677 no_cache=0
7678 # Check whether --enable-choice or --disable-choice was given.
7679 if test "${enable_choice+set}" = set; then
7680 enableval="$enable_choice"
7681
7682 if test "$enableval" = yes; then
7683 ac_cv_use_choice='wxUSE_CHOICE=yes'
7684 else
7685 ac_cv_use_choice='wxUSE_CHOICE=no'
7686 fi
7687
7688 else
7689
7690 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7693 else
7694 no_cache=1
7695 fi
7696
7697 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7698
7699 fi;
7700
7701 eval "$ac_cv_use_choice"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7704 fi
7705
7706 if test "$wxUSE_CHOICE" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708 echo "${ECHO_T}yes" >&6
7709 else
7710 echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6
7712 fi
7713
7714
7715 enablestring=
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7718 no_cache=0
7719 # Check whether --enable-choicebook or --disable-choicebook was given.
7720 if test "${enable_choicebook+set}" = set; then
7721 enableval="$enable_choicebook"
7722
7723 if test "$enableval" = yes; then
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7725 else
7726 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7727 fi
7728
7729 else
7730
7731 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7734 else
7735 no_cache=1
7736 fi
7737
7738 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7739
7740 fi;
7741
7742 eval "$ac_cv_use_choicebook"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7745 fi
7746
7747 if test "$wxUSE_CHOICEBOOK" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7750 else
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7753 fi
7754
7755
7756 enablestring=
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7759 no_cache=0
7760 # Check whether --enable-combobox or --disable-combobox was given.
7761 if test "${enable_combobox+set}" = set; then
7762 enableval="$enable_combobox"
7763
7764 if test "$enableval" = yes; then
7765 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7766 else
7767 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7768 fi
7769
7770 else
7771
7772 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 else
7776 no_cache=1
7777 fi
7778
7779 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7780
7781 fi;
7782
7783 eval "$ac_cv_use_combobox"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test "$wxUSE_COMBOBOX" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7791 else
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7794 fi
7795
7796
7797 enablestring=
7798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7799 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7800 no_cache=0
7801 # Check whether --enable-datepick or --disable-datepick was given.
7802 if test "${enable_datepick+set}" = set; then
7803 enableval="$enable_datepick"
7804
7805 if test "$enableval" = yes; then
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7807 else
7808 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7809 fi
7810
7811 else
7812
7813 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x ; then
7815 eval "DEFAULT_$LINE"
7816 else
7817 no_cache=1
7818 fi
7819
7820 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7821
7822 fi;
7823
7824 eval "$ac_cv_use_datepick"
7825 if test "$no_cache" != 1; then
7826 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7827 fi
7828
7829 if test "$wxUSE_DATEPICKCTRL" = yes; then
7830 echo "$as_me:$LINENO: result: yes" >&5
7831 echo "${ECHO_T}yes" >&6
7832 else
7833 echo "$as_me:$LINENO: result: no" >&5
7834 echo "${ECHO_T}no" >&6
7835 fi
7836
7837
7838 enablestring=
7839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7840 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7841 no_cache=0
7842 # Check whether --enable-display or --disable-display was given.
7843 if test "${enable_display+set}" = set; then
7844 enableval="$enable_display"
7845
7846 if test "$enableval" = yes; then
7847 ac_cv_use_display='wxUSE_DISPLAY=yes'
7848 else
7849 ac_cv_use_display='wxUSE_DISPLAY=no'
7850 fi
7851
7852 else
7853
7854 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7855 if test "x$LINE" != x ; then
7856 eval "DEFAULT_$LINE"
7857 else
7858 no_cache=1
7859 fi
7860
7861 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7862
7863 fi;
7864
7865 eval "$ac_cv_use_display"
7866 if test "$no_cache" != 1; then
7867 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7868 fi
7869
7870 if test "$wxUSE_DISPLAY" = yes; then
7871 echo "$as_me:$LINENO: result: yes" >&5
7872 echo "${ECHO_T}yes" >&6
7873 else
7874 echo "$as_me:$LINENO: result: no" >&5
7875 echo "${ECHO_T}no" >&6
7876 fi
7877
7878
7879 enablestring=
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7882 no_cache=0
7883 # Check whether --enable-gauge or --disable-gauge was given.
7884 if test "${enable_gauge+set}" = set; then
7885 enableval="$enable_gauge"
7886
7887 if test "$enableval" = yes; then
7888 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7889 else
7890 ac_cv_use_gauge='wxUSE_GAUGE=no'
7891 fi
7892
7893 else
7894
7895 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7898 else
7899 no_cache=1
7900 fi
7901
7902 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7903
7904 fi;
7905
7906 eval "$ac_cv_use_gauge"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7909 fi
7910
7911 if test "$wxUSE_GAUGE" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7914 else
7915 echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6
7917 fi
7918
7919
7920 enablestring=
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7923 no_cache=0
7924 # Check whether --enable-grid or --disable-grid was given.
7925 if test "${enable_grid+set}" = set; then
7926 enableval="$enable_grid"
7927
7928 if test "$enableval" = yes; then
7929 ac_cv_use_grid='wxUSE_GRID=yes'
7930 else
7931 ac_cv_use_grid='wxUSE_GRID=no'
7932 fi
7933
7934 else
7935
7936 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7939 else
7940 no_cache=1
7941 fi
7942
7943 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7944
7945 fi;
7946
7947 eval "$ac_cv_use_grid"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7950 fi
7951
7952 if test "$wxUSE_GRID" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954 echo "${ECHO_T}yes" >&6
7955 else
7956 echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6
7958 fi
7959
7960
7961 enablestring=
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7964 no_cache=0
7965 # Check whether --enable-imaglist or --disable-imaglist was given.
7966 if test "${enable_imaglist+set}" = set; then
7967 enableval="$enable_imaglist"
7968
7969 if test "$enableval" = yes; then
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7971 else
7972 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7973 fi
7974
7975 else
7976
7977 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7980 else
7981 no_cache=1
7982 fi
7983
7984 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7985
7986 fi;
7987
7988 eval "$ac_cv_use_imaglist"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7991 fi
7992
7993 if test "$wxUSE_IMAGLIST" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995 echo "${ECHO_T}yes" >&6
7996 else
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
7999 fi
8000
8001
8002 enablestring=
8003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8004 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8005 no_cache=0
8006 # Check whether --enable-listbook or --disable-listbook was given.
8007 if test "${enable_listbook+set}" = set; then
8008 enableval="$enable_listbook"
8009
8010 if test "$enableval" = yes; then
8011 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8012 else
8013 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8014 fi
8015
8016 else
8017
8018 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x ; then
8020 eval "DEFAULT_$LINE"
8021 else
8022 no_cache=1
8023 fi
8024
8025 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8026
8027 fi;
8028
8029 eval "$ac_cv_use_listbook"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8032 fi
8033
8034 if test "$wxUSE_LISTBOOK" = yes; then
8035 echo "$as_me:$LINENO: result: yes" >&5
8036 echo "${ECHO_T}yes" >&6
8037 else
8038 echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6
8040 fi
8041
8042
8043 enablestring=
8044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8045 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8046 no_cache=0
8047 # Check whether --enable-listbox or --disable-listbox was given.
8048 if test "${enable_listbox+set}" = set; then
8049 enableval="$enable_listbox"
8050
8051 if test "$enableval" = yes; then
8052 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8053 else
8054 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8055 fi
8056
8057 else
8058
8059 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x ; then
8061 eval "DEFAULT_$LINE"
8062 else
8063 no_cache=1
8064 fi
8065
8066 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8067
8068 fi;
8069
8070 eval "$ac_cv_use_listbox"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8073 fi
8074
8075 if test "$wxUSE_LISTBOX" = yes; then
8076 echo "$as_me:$LINENO: result: yes" >&5
8077 echo "${ECHO_T}yes" >&6
8078 else
8079 echo "$as_me:$LINENO: result: no" >&5
8080 echo "${ECHO_T}no" >&6
8081 fi
8082
8083
8084 enablestring=
8085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8087 no_cache=0
8088 # Check whether --enable-listctrl or --disable-listctrl was given.
8089 if test "${enable_listctrl+set}" = set; then
8090 enableval="$enable_listctrl"
8091
8092 if test "$enableval" = yes; then
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8094 else
8095 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8096 fi
8097
8098 else
8099
8100 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8103 else
8104 no_cache=1
8105 fi
8106
8107 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8108
8109 fi;
8110
8111 eval "$ac_cv_use_listctrl"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8114 fi
8115
8116 if test "$wxUSE_LISTCTRL" = yes; then
8117 echo "$as_me:$LINENO: result: yes" >&5
8118 echo "${ECHO_T}yes" >&6
8119 else
8120 echo "$as_me:$LINENO: result: no" >&5
8121 echo "${ECHO_T}no" >&6
8122 fi
8123
8124
8125 enablestring=
8126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8128 no_cache=0
8129 # Check whether --enable-notebook or --disable-notebook was given.
8130 if test "${enable_notebook+set}" = set; then
8131 enableval="$enable_notebook"
8132
8133 if test "$enableval" = yes; then
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8135 else
8136 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8137 fi
8138
8139 else
8140
8141 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8142 if test "x$LINE" != x ; then
8143 eval "DEFAULT_$LINE"
8144 else
8145 no_cache=1
8146 fi
8147
8148 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8149
8150 fi;
8151
8152 eval "$ac_cv_use_notebook"
8153 if test "$no_cache" != 1; then
8154 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8155 fi
8156
8157 if test "$wxUSE_NOTEBOOK" = yes; then
8158 echo "$as_me:$LINENO: result: yes" >&5
8159 echo "${ECHO_T}yes" >&6
8160 else
8161 echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6
8163 fi
8164
8165
8166 enablestring=
8167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8169 no_cache=0
8170 # Check whether --enable-radiobox or --disable-radiobox was given.
8171 if test "${enable_radiobox+set}" = set; then
8172 enableval="$enable_radiobox"
8173
8174 if test "$enableval" = yes; then
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8176 else
8177 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8178 fi
8179
8180 else
8181
8182 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8183 if test "x$LINE" != x ; then
8184 eval "DEFAULT_$LINE"
8185 else
8186 no_cache=1
8187 fi
8188
8189 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8190
8191 fi;
8192
8193 eval "$ac_cv_use_radiobox"
8194 if test "$no_cache" != 1; then
8195 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8196 fi
8197
8198 if test "$wxUSE_RADIOBOX" = yes; then
8199 echo "$as_me:$LINENO: result: yes" >&5
8200 echo "${ECHO_T}yes" >&6
8201 else
8202 echo "$as_me:$LINENO: result: no" >&5
8203 echo "${ECHO_T}no" >&6
8204 fi
8205
8206
8207 enablestring=
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8210 no_cache=0
8211 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8212 if test "${enable_radiobtn+set}" = set; then
8213 enableval="$enable_radiobtn"
8214
8215 if test "$enableval" = yes; then
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8217 else
8218 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8219 fi
8220
8221 else
8222
8223 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8226 else
8227 no_cache=1
8228 fi
8229
8230 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8231
8232 fi;
8233
8234 eval "$ac_cv_use_radiobtn"
8235 if test "$no_cache" != 1; then
8236 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8237 fi
8238
8239 if test "$wxUSE_RADIOBTN" = yes; then
8240 echo "$as_me:$LINENO: result: yes" >&5
8241 echo "${ECHO_T}yes" >&6
8242 else
8243 echo "$as_me:$LINENO: result: no" >&5
8244 echo "${ECHO_T}no" >&6
8245 fi
8246
8247
8248 enablestring=
8249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8250 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8251 no_cache=0
8252 # Check whether --enable-sash or --disable-sash was given.
8253 if test "${enable_sash+set}" = set; then
8254 enableval="$enable_sash"
8255
8256 if test "$enableval" = yes; then
8257 ac_cv_use_sash='wxUSE_SASH=yes'
8258 else
8259 ac_cv_use_sash='wxUSE_SASH=no'
8260 fi
8261
8262 else
8263
8264 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8265 if test "x$LINE" != x ; then
8266 eval "DEFAULT_$LINE"
8267 else
8268 no_cache=1
8269 fi
8270
8271 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8272
8273 fi;
8274
8275 eval "$ac_cv_use_sash"
8276 if test "$no_cache" != 1; then
8277 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8278 fi
8279
8280 if test "$wxUSE_SASH" = yes; then
8281 echo "$as_me:$LINENO: result: yes" >&5
8282 echo "${ECHO_T}yes" >&6
8283 else
8284 echo "$as_me:$LINENO: result: no" >&5
8285 echo "${ECHO_T}no" >&6
8286 fi
8287
8288
8289 enablestring=
8290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8292 no_cache=0
8293 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8294 if test "${enable_scrollbar+set}" = set; then
8295 enableval="$enable_scrollbar"
8296
8297 if test "$enableval" = yes; then
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8299 else
8300 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8301 fi
8302
8303 else
8304
8305 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8308 else
8309 no_cache=1
8310 fi
8311
8312 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8313
8314 fi;
8315
8316 eval "$ac_cv_use_scrollbar"
8317 if test "$no_cache" != 1; then
8318 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8319 fi
8320
8321 if test "$wxUSE_SCROLLBAR" = yes; then
8322 echo "$as_me:$LINENO: result: yes" >&5
8323 echo "${ECHO_T}yes" >&6
8324 else
8325 echo "$as_me:$LINENO: result: no" >&5
8326 echo "${ECHO_T}no" >&6
8327 fi
8328
8329
8330 enablestring=
8331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8332 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8333 no_cache=0
8334 # Check whether --enable-slider or --disable-slider was given.
8335 if test "${enable_slider+set}" = set; then
8336 enableval="$enable_slider"
8337
8338 if test "$enableval" = yes; then
8339 ac_cv_use_slider='wxUSE_SLIDER=yes'
8340 else
8341 ac_cv_use_slider='wxUSE_SLIDER=no'
8342 fi
8343
8344 else
8345
8346 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8347 if test "x$LINE" != x ; then
8348 eval "DEFAULT_$LINE"
8349 else
8350 no_cache=1
8351 fi
8352
8353 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8354
8355 fi;
8356
8357 eval "$ac_cv_use_slider"
8358 if test "$no_cache" != 1; then
8359 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8360 fi
8361
8362 if test "$wxUSE_SLIDER" = yes; then
8363 echo "$as_me:$LINENO: result: yes" >&5
8364 echo "${ECHO_T}yes" >&6
8365 else
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8368 fi
8369
8370
8371 enablestring=
8372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8374 no_cache=0
8375 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8376 if test "${enable_spinbtn+set}" = set; then
8377 enableval="$enable_spinbtn"
8378
8379 if test "$enableval" = yes; then
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8381 else
8382 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8383 fi
8384
8385 else
8386
8387 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 else
8391 no_cache=1
8392 fi
8393
8394 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8395
8396 fi;
8397
8398 eval "$ac_cv_use_spinbtn"
8399 if test "$no_cache" != 1; then
8400 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8401 fi
8402
8403 if test "$wxUSE_SPINBTN" = yes; then
8404 echo "$as_me:$LINENO: result: yes" >&5
8405 echo "${ECHO_T}yes" >&6
8406 else
8407 echo "$as_me:$LINENO: result: no" >&5
8408 echo "${ECHO_T}no" >&6
8409 fi
8410
8411
8412 enablestring=
8413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8415 no_cache=0
8416 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8417 if test "${enable_spinctrl+set}" = set; then
8418 enableval="$enable_spinctrl"
8419
8420 if test "$enableval" = yes; then
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8422 else
8423 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8424 fi
8425
8426 else
8427
8428 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8431 else
8432 no_cache=1
8433 fi
8434
8435 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8436
8437 fi;
8438
8439 eval "$ac_cv_use_spinctrl"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8442 fi
8443
8444 if test "$wxUSE_SPINCTRL" = yes; then
8445 echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8447 else
8448 echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8450 fi
8451
8452
8453 enablestring=
8454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8455 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8456 no_cache=0
8457 # Check whether --enable-splitter or --disable-splitter was given.
8458 if test "${enable_splitter+set}" = set; then
8459 enableval="$enable_splitter"
8460
8461 if test "$enableval" = yes; then
8462 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8463 else
8464 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8465 fi
8466
8467 else
8468
8469 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x ; then
8471 eval "DEFAULT_$LINE"
8472 else
8473 no_cache=1
8474 fi
8475
8476 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8477
8478 fi;
8479
8480 eval "$ac_cv_use_splitter"
8481 if test "$no_cache" != 1; then
8482 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8483 fi
8484
8485 if test "$wxUSE_SPLITTER" = yes; then
8486 echo "$as_me:$LINENO: result: yes" >&5
8487 echo "${ECHO_T}yes" >&6
8488 else
8489 echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6
8491 fi
8492
8493
8494 enablestring=
8495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8497 no_cache=0
8498 # Check whether --enable-statbmp or --disable-statbmp was given.
8499 if test "${enable_statbmp+set}" = set; then
8500 enableval="$enable_statbmp"
8501
8502 if test "$enableval" = yes; then
8503 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8504 else
8505 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8506 fi
8507
8508 else
8509
8510 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x ; then
8512 eval "DEFAULT_$LINE"
8513 else
8514 no_cache=1
8515 fi
8516
8517 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8518
8519 fi;
8520
8521 eval "$ac_cv_use_statbmp"
8522 if test "$no_cache" != 1; then
8523 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8524 fi
8525
8526 if test "$wxUSE_STATBMP" = yes; then
8527 echo "$as_me:$LINENO: result: yes" >&5
8528 echo "${ECHO_T}yes" >&6
8529 else
8530 echo "$as_me:$LINENO: result: no" >&5
8531 echo "${ECHO_T}no" >&6
8532 fi
8533
8534
8535 enablestring=
8536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8538 no_cache=0
8539 # Check whether --enable-statbox or --disable-statbox was given.
8540 if test "${enable_statbox+set}" = set; then
8541 enableval="$enable_statbox"
8542
8543 if test "$enableval" = yes; then
8544 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8545 else
8546 ac_cv_use_statbox='wxUSE_STATBOX=no'
8547 fi
8548
8549 else
8550
8551 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8552 if test "x$LINE" != x ; then
8553 eval "DEFAULT_$LINE"
8554 else
8555 no_cache=1
8556 fi
8557
8558 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8559
8560 fi;
8561
8562 eval "$ac_cv_use_statbox"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8565 fi
8566
8567 if test "$wxUSE_STATBOX" = yes; then
8568 echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6
8570 else
8571 echo "$as_me:$LINENO: result: no" >&5
8572 echo "${ECHO_T}no" >&6
8573 fi
8574
8575
8576 enablestring=
8577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8579 no_cache=0
8580 # Check whether --enable-statline or --disable-statline was given.
8581 if test "${enable_statline+set}" = set; then
8582 enableval="$enable_statline"
8583
8584 if test "$enableval" = yes; then
8585 ac_cv_use_statline='wxUSE_STATLINE=yes'
8586 else
8587 ac_cv_use_statline='wxUSE_STATLINE=no'
8588 fi
8589
8590 else
8591
8592 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8595 else
8596 no_cache=1
8597 fi
8598
8599 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8600
8601 fi;
8602
8603 eval "$ac_cv_use_statline"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8606 fi
8607
8608 if test "$wxUSE_STATLINE" = yes; then
8609 echo "$as_me:$LINENO: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6
8611 else
8612 echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8614 fi
8615
8616
8617 enablestring=
8618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8620 no_cache=0
8621 # Check whether --enable-stattext or --disable-stattext was given.
8622 if test "${enable_stattext+set}" = set; then
8623 enableval="$enable_stattext"
8624
8625 if test "$enableval" = yes; then
8626 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8627 else
8628 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8629 fi
8630
8631 else
8632
8633 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8634 if test "x$LINE" != x ; then
8635 eval "DEFAULT_$LINE"
8636 else
8637 no_cache=1
8638 fi
8639
8640 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8641
8642 fi;
8643
8644 eval "$ac_cv_use_stattext"
8645 if test "$no_cache" != 1; then
8646 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8647 fi
8648
8649 if test "$wxUSE_STATTEXT" = yes; then
8650 echo "$as_me:$LINENO: result: yes" >&5
8651 echo "${ECHO_T}yes" >&6
8652 else
8653 echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6
8655 fi
8656
8657
8658 enablestring=
8659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8661 no_cache=0
8662 # Check whether --enable-statusbar or --disable-statusbar was given.
8663 if test "${enable_statusbar+set}" = set; then
8664 enableval="$enable_statusbar"
8665
8666 if test "$enableval" = yes; then
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8668 else
8669 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8670 fi
8671
8672 else
8673
8674 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x ; then
8676 eval "DEFAULT_$LINE"
8677 else
8678 no_cache=1
8679 fi
8680
8681 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8682
8683 fi;
8684
8685 eval "$ac_cv_use_statusbar"
8686 if test "$no_cache" != 1; then
8687 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8688 fi
8689
8690 if test "$wxUSE_STATUSBAR" = yes; then
8691 echo "$as_me:$LINENO: result: yes" >&5
8692 echo "${ECHO_T}yes" >&6
8693 else
8694 echo "$as_me:$LINENO: result: no" >&5
8695 echo "${ECHO_T}no" >&6
8696 fi
8697
8698
8699 enablestring=
8700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8701 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8702 no_cache=0
8703 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8704 if test "${enable_tabdialog+set}" = set; then
8705 enableval="$enable_tabdialog"
8706
8707 if test "$enableval" = yes; then
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8709 else
8710 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8711 fi
8712
8713 else
8714
8715 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x ; then
8717 eval "DEFAULT_$LINE"
8718 else
8719 no_cache=1
8720 fi
8721
8722 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8723
8724 fi;
8725
8726 eval "$ac_cv_use_tabdialog"
8727 if test "$no_cache" != 1; then
8728 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8729 fi
8730
8731 if test "$wxUSE_TABDIALOG" = yes; then
8732 echo "$as_me:$LINENO: result: yes" >&5
8733 echo "${ECHO_T}yes" >&6
8734 else
8735 echo "$as_me:$LINENO: result: no" >&5
8736 echo "${ECHO_T}no" >&6
8737 fi
8738
8739
8740 enablestring=
8741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8742 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8743 no_cache=0
8744 # Check whether --enable-textctrl or --disable-textctrl was given.
8745 if test "${enable_textctrl+set}" = set; then
8746 enableval="$enable_textctrl"
8747
8748 if test "$enableval" = yes; then
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8750 else
8751 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8752 fi
8753
8754 else
8755
8756 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8757 if test "x$LINE" != x ; then
8758 eval "DEFAULT_$LINE"
8759 else
8760 no_cache=1
8761 fi
8762
8763 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8764
8765 fi;
8766
8767 eval "$ac_cv_use_textctrl"
8768 if test "$no_cache" != 1; then
8769 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8770 fi
8771
8772 if test "$wxUSE_TEXTCTRL" = yes; then
8773 echo "$as_me:$LINENO: result: yes" >&5
8774 echo "${ECHO_T}yes" >&6
8775 else
8776 echo "$as_me:$LINENO: result: no" >&5
8777 echo "${ECHO_T}no" >&6
8778 fi
8779
8780
8781 enablestring=
8782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8783 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8784 no_cache=0
8785 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8786 if test "${enable_togglebtn+set}" = set; then
8787 enableval="$enable_togglebtn"
8788
8789 if test "$enableval" = yes; then
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8791 else
8792 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8793 fi
8794
8795 else
8796
8797 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8798 if test "x$LINE" != x ; then
8799 eval "DEFAULT_$LINE"
8800 else
8801 no_cache=1
8802 fi
8803
8804 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8805
8806 fi;
8807
8808 eval "$ac_cv_use_togglebtn"
8809 if test "$no_cache" != 1; then
8810 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8811 fi
8812
8813 if test "$wxUSE_TOGGLEBTN" = yes; then
8814 echo "$as_me:$LINENO: result: yes" >&5
8815 echo "${ECHO_T}yes" >&6
8816 else
8817 echo "$as_me:$LINENO: result: no" >&5
8818 echo "${ECHO_T}no" >&6
8819 fi
8820
8821
8822 enablestring=
8823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8824 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8825 no_cache=0
8826 # Check whether --enable-toolbar or --disable-toolbar was given.
8827 if test "${enable_toolbar+set}" = set; then
8828 enableval="$enable_toolbar"
8829
8830 if test "$enableval" = yes; then
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8832 else
8833 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8834 fi
8835
8836 else
8837
8838 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8839 if test "x$LINE" != x ; then
8840 eval "DEFAULT_$LINE"
8841 else
8842 no_cache=1
8843 fi
8844
8845 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8846
8847 fi;
8848
8849 eval "$ac_cv_use_toolbar"
8850 if test "$no_cache" != 1; then
8851 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8852 fi
8853
8854 if test "$wxUSE_TOOLBAR" = yes; then
8855 echo "$as_me:$LINENO: result: yes" >&5
8856 echo "${ECHO_T}yes" >&6
8857 else
8858 echo "$as_me:$LINENO: result: no" >&5
8859 echo "${ECHO_T}no" >&6
8860 fi
8861
8862
8863 enablestring=
8864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8865 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8866 no_cache=0
8867 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8868 if test "${enable_tbarnative+set}" = set; then
8869 enableval="$enable_tbarnative"
8870
8871 if test "$enableval" = yes; then
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8873 else
8874 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8875 fi
8876
8877 else
8878
8879 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8880 if test "x$LINE" != x ; then
8881 eval "DEFAULT_$LINE"
8882 else
8883 no_cache=1
8884 fi
8885
8886 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8887
8888 fi;
8889
8890 eval "$ac_cv_use_tbarnative"
8891 if test "$no_cache" != 1; then
8892 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8893 fi
8894
8895 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8896 echo "$as_me:$LINENO: result: yes" >&5
8897 echo "${ECHO_T}yes" >&6
8898 else
8899 echo "$as_me:$LINENO: result: no" >&5
8900 echo "${ECHO_T}no" >&6
8901 fi
8902
8903
8904 enablestring=
8905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8906 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8907 no_cache=0
8908 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8909 if test "${enable_tbarsmpl+set}" = set; then
8910 enableval="$enable_tbarsmpl"
8911
8912 if test "$enableval" = yes; then
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8914 else
8915 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8916 fi
8917
8918 else
8919
8920 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8921 if test "x$LINE" != x ; then
8922 eval "DEFAULT_$LINE"
8923 else
8924 no_cache=1
8925 fi
8926
8927 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8928
8929 fi;
8930
8931 eval "$ac_cv_use_tbarsmpl"
8932 if test "$no_cache" != 1; then
8933 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8934 fi
8935
8936 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8937 echo "$as_me:$LINENO: result: yes" >&5
8938 echo "${ECHO_T}yes" >&6
8939 else
8940 echo "$as_me:$LINENO: result: no" >&5
8941 echo "${ECHO_T}no" >&6
8942 fi
8943
8944
8945 enablestring=
8946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8947 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8948 no_cache=0
8949 # Check whether --enable-treectrl or --disable-treectrl was given.
8950 if test "${enable_treectrl+set}" = set; then
8951 enableval="$enable_treectrl"
8952
8953 if test "$enableval" = yes; then
8954 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8955 else
8956 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8957 fi
8958
8959 else
8960
8961 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8962 if test "x$LINE" != x ; then
8963 eval "DEFAULT_$LINE"
8964 else
8965 no_cache=1
8966 fi
8967
8968 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8969
8970 fi;
8971
8972 eval "$ac_cv_use_treectrl"
8973 if test "$no_cache" != 1; then
8974 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8975 fi
8976
8977 if test "$wxUSE_TREECTRL" = yes; then
8978 echo "$as_me:$LINENO: result: yes" >&5
8979 echo "${ECHO_T}yes" >&6
8980 else
8981 echo "$as_me:$LINENO: result: no" >&5
8982 echo "${ECHO_T}no" >&6
8983 fi
8984
8985
8986 enablestring=
8987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8989 no_cache=0
8990 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8991 if test "${enable_tipwindow+set}" = set; then
8992 enableval="$enable_tipwindow"
8993
8994 if test "$enableval" = yes; then
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8996 else
8997 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8998 fi
8999
9000 else
9001
9002 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9003 if test "x$LINE" != x ; then
9004 eval "DEFAULT_$LINE"
9005 else
9006 no_cache=1
9007 fi
9008
9009 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9010
9011 fi;
9012
9013 eval "$ac_cv_use_tipwindow"
9014 if test "$no_cache" != 1; then
9015 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9016 fi
9017
9018 if test "$wxUSE_TIPWINDOW" = yes; then
9019 echo "$as_me:$LINENO: result: yes" >&5
9020 echo "${ECHO_T}yes" >&6
9021 else
9022 echo "$as_me:$LINENO: result: no" >&5
9023 echo "${ECHO_T}no" >&6
9024 fi
9025
9026
9027 enablestring=
9028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9030 no_cache=0
9031 # Check whether --enable-popupwin or --disable-popupwin was given.
9032 if test "${enable_popupwin+set}" = set; then
9033 enableval="$enable_popupwin"
9034
9035 if test "$enableval" = yes; then
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9037 else
9038 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9039 fi
9040
9041 else
9042
9043 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9044 if test "x$LINE" != x ; then
9045 eval "DEFAULT_$LINE"
9046 else
9047 no_cache=1
9048 fi
9049
9050 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9051
9052 fi;
9053
9054 eval "$ac_cv_use_popupwin"
9055 if test "$no_cache" != 1; then
9056 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9057 fi
9058
9059 if test "$wxUSE_POPUPWIN" = yes; then
9060 echo "$as_me:$LINENO: result: yes" >&5
9061 echo "${ECHO_T}yes" >&6
9062 else
9063 echo "$as_me:$LINENO: result: no" >&5
9064 echo "${ECHO_T}no" >&6
9065 fi
9066
9067
9068
9069
9070 enablestring=
9071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9073 no_cache=0
9074 # Check whether --enable-commondlg or --disable-commondlg was given.
9075 if test "${enable_commondlg+set}" = set; then
9076 enableval="$enable_commondlg"
9077
9078 if test "$enableval" = yes; then
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9080 else
9081 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9082 fi
9083
9084 else
9085
9086 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9087 if test "x$LINE" != x ; then
9088 eval "DEFAULT_$LINE"
9089 else
9090 no_cache=1
9091 fi
9092
9093 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9094
9095 fi;
9096
9097 eval "$ac_cv_use_commondlg"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9100 fi
9101
9102 if test "$wxUSE_COMMONDLGS" = yes; then
9103 echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6
9105 else
9106 echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6
9108 fi
9109
9110
9111 enablestring=
9112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9114 no_cache=0
9115 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9116 if test "${enable_choicedlg+set}" = set; then
9117 enableval="$enable_choicedlg"
9118
9119 if test "$enableval" = yes; then
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9121 else
9122 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9123 fi
9124
9125 else
9126
9127 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9128 if test "x$LINE" != x ; then
9129 eval "DEFAULT_$LINE"
9130 else
9131 no_cache=1
9132 fi
9133
9134 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9135
9136 fi;
9137
9138 eval "$ac_cv_use_choicedlg"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9141 fi
9142
9143 if test "$wxUSE_CHOICEDLG" = yes; then
9144 echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6
9146 else
9147 echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6
9149 fi
9150
9151
9152 enablestring=
9153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9155 no_cache=0
9156 # Check whether --enable-coldlg or --disable-coldlg was given.
9157 if test "${enable_coldlg+set}" = set; then
9158 enableval="$enable_coldlg"
9159
9160 if test "$enableval" = yes; then
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9162 else
9163 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9164 fi
9165
9166 else
9167
9168 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9169 if test "x$LINE" != x ; then
9170 eval "DEFAULT_$LINE"
9171 else
9172 no_cache=1
9173 fi
9174
9175 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9176
9177 fi;
9178
9179 eval "$ac_cv_use_coldlg"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9182 fi
9183
9184 if test "$wxUSE_COLOURDLG" = yes; then
9185 echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6
9187 else
9188 echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6
9190 fi
9191
9192
9193 enablestring=
9194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9196 no_cache=0
9197 # Check whether --enable-filedlg or --disable-filedlg was given.
9198 if test "${enable_filedlg+set}" = set; then
9199 enableval="$enable_filedlg"
9200
9201 if test "$enableval" = yes; then
9202 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9203 else
9204 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9205 fi
9206
9207 else
9208
9209 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9210 if test "x$LINE" != x ; then
9211 eval "DEFAULT_$LINE"
9212 else
9213 no_cache=1
9214 fi
9215
9216 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9217
9218 fi;
9219
9220 eval "$ac_cv_use_filedlg"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9223 fi
9224
9225 if test "$wxUSE_FILEDLG" = yes; then
9226 echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6
9228 else
9229 echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6
9231 fi
9232
9233
9234 enablestring=
9235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9237 no_cache=0
9238 # Check whether --enable-finddlg or --disable-finddlg was given.
9239 if test "${enable_finddlg+set}" = set; then
9240 enableval="$enable_finddlg"
9241
9242 if test "$enableval" = yes; then
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9244 else
9245 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9246 fi
9247
9248 else
9249
9250 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9251 if test "x$LINE" != x ; then
9252 eval "DEFAULT_$LINE"
9253 else
9254 no_cache=1
9255 fi
9256
9257 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9258
9259 fi;
9260
9261 eval "$ac_cv_use_finddlg"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9264 fi
9265
9266 if test "$wxUSE_FINDREPLDLG" = yes; then
9267 echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6
9269 else
9270 echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6
9272 fi
9273
9274
9275 enablestring=
9276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9278 no_cache=0
9279 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9280 if test "${enable_fontdlg+set}" = set; then
9281 enableval="$enable_fontdlg"
9282
9283 if test "$enableval" = yes; then
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9285 else
9286 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9287 fi
9288
9289 else
9290
9291 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9292 if test "x$LINE" != x ; then
9293 eval "DEFAULT_$LINE"
9294 else
9295 no_cache=1
9296 fi
9297
9298 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9299
9300 fi;
9301
9302 eval "$ac_cv_use_fontdlg"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9305 fi
9306
9307 if test "$wxUSE_FONTDLG" = yes; then
9308 echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6
9310 else
9311 echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6
9313 fi
9314
9315
9316 enablestring=
9317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9319 no_cache=0
9320 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9321 if test "${enable_dirdlg+set}" = set; then
9322 enableval="$enable_dirdlg"
9323
9324 if test "$enableval" = yes; then
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9326 else
9327 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9328 fi
9329
9330 else
9331
9332 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9333 if test "x$LINE" != x ; then
9334 eval "DEFAULT_$LINE"
9335 else
9336 no_cache=1
9337 fi
9338
9339 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9340
9341 fi;
9342
9343 eval "$ac_cv_use_dirdlg"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9346 fi
9347
9348 if test "$wxUSE_DIRDLG" = yes; then
9349 echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6
9351 else
9352 echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6
9354 fi
9355
9356
9357 enablestring=
9358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9360 no_cache=0
9361 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9362 if test "${enable_msgdlg+set}" = set; then
9363 enableval="$enable_msgdlg"
9364
9365 if test "$enableval" = yes; then
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9367 else
9368 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9369 fi
9370
9371 else
9372
9373 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9374 if test "x$LINE" != x ; then
9375 eval "DEFAULT_$LINE"
9376 else
9377 no_cache=1
9378 fi
9379
9380 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9381
9382 fi;
9383
9384 eval "$ac_cv_use_msgdlg"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9387 fi
9388
9389 if test "$wxUSE_MSGDLG" = yes; then
9390 echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6
9392 else
9393 echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6
9395 fi
9396
9397
9398 enablestring=
9399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9401 no_cache=0
9402 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9403 if test "${enable_numberdlg+set}" = set; then
9404 enableval="$enable_numberdlg"
9405
9406 if test "$enableval" = yes; then
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9408 else
9409 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9410 fi
9411
9412 else
9413
9414 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9415 if test "x$LINE" != x ; then
9416 eval "DEFAULT_$LINE"
9417 else
9418 no_cache=1
9419 fi
9420
9421 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9422
9423 fi;
9424
9425 eval "$ac_cv_use_numberdlg"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9428 fi
9429
9430 if test "$wxUSE_NUMBERDLG" = yes; then
9431 echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6
9433 else
9434 echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6
9436 fi
9437
9438
9439 enablestring=
9440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9442 no_cache=0
9443 # Check whether --enable-splash or --disable-splash was given.
9444 if test "${enable_splash+set}" = set; then
9445 enableval="$enable_splash"
9446
9447 if test "$enableval" = yes; then
9448 ac_cv_use_splash='wxUSE_SPLASH=yes'
9449 else
9450 ac_cv_use_splash='wxUSE_SPLASH=no'
9451 fi
9452
9453 else
9454
9455 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9456 if test "x$LINE" != x ; then
9457 eval "DEFAULT_$LINE"
9458 else
9459 no_cache=1
9460 fi
9461
9462 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9463
9464 fi;
9465
9466 eval "$ac_cv_use_splash"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9469 fi
9470
9471 if test "$wxUSE_SPLASH" = yes; then
9472 echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6
9474 else
9475 echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6
9477 fi
9478
9479
9480 enablestring=
9481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9483 no_cache=0
9484 # Check whether --enable-textdlg or --disable-textdlg was given.
9485 if test "${enable_textdlg+set}" = set; then
9486 enableval="$enable_textdlg"
9487
9488 if test "$enableval" = yes; then
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9490 else
9491 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9492 fi
9493
9494 else
9495
9496 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x ; then
9498 eval "DEFAULT_$LINE"
9499 else
9500 no_cache=1
9501 fi
9502
9503 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9504
9505 fi;
9506
9507 eval "$ac_cv_use_textdlg"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test "$wxUSE_TEXTDLG" = yes; then
9513 echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6
9515 else
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9518 fi
9519
9520
9521 enablestring=
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9524 no_cache=0
9525 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9526 if test "${enable_tipdlg+set}" = set; then
9527 enableval="$enable_tipdlg"
9528
9529 if test "$enableval" = yes; then
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9531 else
9532 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9533 fi
9534
9535 else
9536
9537 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x ; then
9539 eval "DEFAULT_$LINE"
9540 else
9541 no_cache=1
9542 fi
9543
9544 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9545
9546 fi;
9547
9548 eval "$ac_cv_use_tipdlg"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test "$wxUSE_STARTUP_TIPS" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9556 else
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9559 fi
9560
9561
9562 enablestring=
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9565 no_cache=0
9566 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9567 if test "${enable_progressdlg+set}" = set; then
9568 enableval="$enable_progressdlg"
9569
9570 if test "$enableval" = yes; then
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9572 else
9573 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9574 fi
9575
9576 else
9577
9578 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x ; then
9580 eval "DEFAULT_$LINE"
9581 else
9582 no_cache=1
9583 fi
9584
9585 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9586
9587 fi;
9588
9589 eval "$ac_cv_use_progressdlg"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test "$wxUSE_PROGRESSDLG" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9597 else
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9600 fi
9601
9602
9603 enablestring=
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9606 no_cache=0
9607 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9608 if test "${enable_wizarddlg+set}" = set; then
9609 enableval="$enable_wizarddlg"
9610
9611 if test "$enableval" = yes; then
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9613 else
9614 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9615 fi
9616
9617 else
9618
9619 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9622 else
9623 no_cache=1
9624 fi
9625
9626 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9627
9628 fi;
9629
9630 eval "$ac_cv_use_wizarddlg"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9633 fi
9634
9635 if test "$wxUSE_WIZARDDLG" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9638 else
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9641 fi
9642
9643
9644
9645
9646 enablestring=
9647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9648 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9649 no_cache=0
9650 # Check whether --enable-menus or --disable-menus was given.
9651 if test "${enable_menus+set}" = set; then
9652 enableval="$enable_menus"
9653
9654 if test "$enableval" = yes; then
9655 ac_cv_use_menus='wxUSE_MENUS=yes'
9656 else
9657 ac_cv_use_menus='wxUSE_MENUS=no'
9658 fi
9659
9660 else
9661
9662 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9665 else
9666 no_cache=1
9667 fi
9668
9669 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9670
9671 fi;
9672
9673 eval "$ac_cv_use_menus"
9674 if test "$no_cache" != 1; then
9675 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9676 fi
9677
9678 if test "$wxUSE_MENUS" = yes; then
9679 echo "$as_me:$LINENO: result: yes" >&5
9680 echo "${ECHO_T}yes" >&6
9681 else
9682 echo "$as_me:$LINENO: result: no" >&5
9683 echo "${ECHO_T}no" >&6
9684 fi
9685
9686
9687 enablestring=
9688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9690 no_cache=0
9691 # Check whether --enable-miniframe or --disable-miniframe was given.
9692 if test "${enable_miniframe+set}" = set; then
9693 enableval="$enable_miniframe"
9694
9695 if test "$enableval" = yes; then
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9697 else
9698 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9699 fi
9700
9701 else
9702
9703 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9704 if test "x$LINE" != x ; then
9705 eval "DEFAULT_$LINE"
9706 else
9707 no_cache=1
9708 fi
9709
9710 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9711
9712 fi;
9713
9714 eval "$ac_cv_use_miniframe"
9715 if test "$no_cache" != 1; then
9716 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9717 fi
9718
9719 if test "$wxUSE_MINIFRAME" = yes; then
9720 echo "$as_me:$LINENO: result: yes" >&5
9721 echo "${ECHO_T}yes" >&6
9722 else
9723 echo "$as_me:$LINENO: result: no" >&5
9724 echo "${ECHO_T}no" >&6
9725 fi
9726
9727
9728 enablestring=
9729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9731 no_cache=0
9732 # Check whether --enable-tooltips or --disable-tooltips was given.
9733 if test "${enable_tooltips+set}" = set; then
9734 enableval="$enable_tooltips"
9735
9736 if test "$enableval" = yes; then
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9738 else
9739 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9740 fi
9741
9742 else
9743
9744 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9745 if test "x$LINE" != x ; then
9746 eval "DEFAULT_$LINE"
9747 else
9748 no_cache=1
9749 fi
9750
9751 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9752
9753 fi;
9754
9755 eval "$ac_cv_use_tooltips"
9756 if test "$no_cache" != 1; then
9757 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9758 fi
9759
9760 if test "$wxUSE_TOOLTIPS" = yes; then
9761 echo "$as_me:$LINENO: result: yes" >&5
9762 echo "${ECHO_T}yes" >&6
9763 else
9764 echo "$as_me:$LINENO: result: no" >&5
9765 echo "${ECHO_T}no" >&6
9766 fi
9767
9768
9769 enablestring=
9770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9772 no_cache=0
9773 # Check whether --enable-splines or --disable-splines was given.
9774 if test "${enable_splines+set}" = set; then
9775 enableval="$enable_splines"
9776
9777 if test "$enableval" = yes; then
9778 ac_cv_use_splines='wxUSE_SPLINES=yes'
9779 else
9780 ac_cv_use_splines='wxUSE_SPLINES=no'
9781 fi
9782
9783 else
9784
9785 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9788 else
9789 no_cache=1
9790 fi
9791
9792 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9793
9794 fi;
9795
9796 eval "$ac_cv_use_splines"
9797 if test "$no_cache" != 1; then
9798 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9799 fi
9800
9801 if test "$wxUSE_SPLINES" = yes; then
9802 echo "$as_me:$LINENO: result: yes" >&5
9803 echo "${ECHO_T}yes" >&6
9804 else
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9807 fi
9808
9809
9810 enablestring=
9811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9812 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9813 no_cache=0
9814 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9815 if test "${enable_mousewheel+set}" = set; then
9816 enableval="$enable_mousewheel"
9817
9818 if test "$enableval" = yes; then
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9820 else
9821 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9822 fi
9823
9824 else
9825
9826 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x ; then
9828 eval "DEFAULT_$LINE"
9829 else
9830 no_cache=1
9831 fi
9832
9833 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9834
9835 fi;
9836
9837 eval "$ac_cv_use_mousewheel"
9838 if test "$no_cache" != 1; then
9839 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9840 fi
9841
9842 if test "$wxUSE_MOUSEWHEEL" = yes; then
9843 echo "$as_me:$LINENO: result: yes" >&5
9844 echo "${ECHO_T}yes" >&6
9845 else
9846 echo "$as_me:$LINENO: result: no" >&5
9847 echo "${ECHO_T}no" >&6
9848 fi
9849
9850
9851 enablestring=
9852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9854 no_cache=0
9855 # Check whether --enable-validators or --disable-validators was given.
9856 if test "${enable_validators+set}" = set; then
9857 enableval="$enable_validators"
9858
9859 if test "$enableval" = yes; then
9860 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9861 else
9862 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9863 fi
9864
9865 else
9866
9867 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9868 if test "x$LINE" != x ; then
9869 eval "DEFAULT_$LINE"
9870 else
9871 no_cache=1
9872 fi
9873
9874 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9875
9876 fi;
9877
9878 eval "$ac_cv_use_validators"
9879 if test "$no_cache" != 1; then
9880 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9881 fi
9882
9883 if test "$wxUSE_VALIDATORS" = yes; then
9884 echo "$as_me:$LINENO: result: yes" >&5
9885 echo "${ECHO_T}yes" >&6
9886 else
9887 echo "$as_me:$LINENO: result: no" >&5
9888 echo "${ECHO_T}no" >&6
9889 fi
9890
9891
9892 enablestring=
9893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9895 no_cache=0
9896 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9897 if test "${enable_busyinfo+set}" = set; then
9898 enableval="$enable_busyinfo"
9899
9900 if test "$enableval" = yes; then
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9902 else
9903 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9904 fi
9905
9906 else
9907
9908 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9911 else
9912 no_cache=1
9913 fi
9914
9915 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9916
9917 fi;
9918
9919 eval "$ac_cv_use_busyinfo"
9920 if test "$no_cache" != 1; then
9921 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9922 fi
9923
9924 if test "$wxUSE_BUSYINFO" = yes; then
9925 echo "$as_me:$LINENO: result: yes" >&5
9926 echo "${ECHO_T}yes" >&6
9927 else
9928 echo "$as_me:$LINENO: result: no" >&5
9929 echo "${ECHO_T}no" >&6
9930 fi
9931
9932
9933 enablestring=
9934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9935 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9936 no_cache=0
9937 # Check whether --enable-joystick or --disable-joystick was given.
9938 if test "${enable_joystick+set}" = set; then
9939 enableval="$enable_joystick"
9940
9941 if test "$enableval" = yes; then
9942 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9943 else
9944 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9945 fi
9946
9947 else
9948
9949 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9952 else
9953 no_cache=1
9954 fi
9955
9956 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9957
9958 fi;
9959
9960 eval "$ac_cv_use_joystick"
9961 if test "$no_cache" != 1; then
9962 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9963 fi
9964
9965 if test "$wxUSE_JOYSTICK" = yes; then
9966 echo "$as_me:$LINENO: result: yes" >&5
9967 echo "${ECHO_T}yes" >&6
9968 else
9969 echo "$as_me:$LINENO: result: no" >&5
9970 echo "${ECHO_T}no" >&6
9971 fi
9972
9973
9974 enablestring=
9975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9977 no_cache=0
9978 # Check whether --enable-metafile or --disable-metafile was given.
9979 if test "${enable_metafile+set}" = set; then
9980 enableval="$enable_metafile"
9981
9982 if test "$enableval" = yes; then
9983 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9984 else
9985 ac_cv_use_metafile='wxUSE_METAFILE=no'
9986 fi
9987
9988 else
9989
9990 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9991 if test "x$LINE" != x ; then
9992 eval "DEFAULT_$LINE"
9993 else
9994 no_cache=1
9995 fi
9996
9997 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9998
9999 fi;
10000
10001 eval "$ac_cv_use_metafile"
10002 if test "$no_cache" != 1; then
10003 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10004 fi
10005
10006 if test "$wxUSE_METAFILE" = yes; then
10007 echo "$as_me:$LINENO: result: yes" >&5
10008 echo "${ECHO_T}yes" >&6
10009 else
10010 echo "$as_me:$LINENO: result: no" >&5
10011 echo "${ECHO_T}no" >&6
10012 fi
10013
10014
10015 enablestring=
10016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10017 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10018 no_cache=0
10019 # Check whether --enable-dragimage or --disable-dragimage was given.
10020 if test "${enable_dragimage+set}" = set; then
10021 enableval="$enable_dragimage"
10022
10023 if test "$enableval" = yes; then
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10025 else
10026 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10027 fi
10028
10029 else
10030
10031 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10034 else
10035 no_cache=1
10036 fi
10037
10038 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10039
10040 fi;
10041
10042 eval "$ac_cv_use_dragimage"
10043 if test "$no_cache" != 1; then
10044 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10045 fi
10046
10047 if test "$wxUSE_DRAGIMAGE" = yes; then
10048 echo "$as_me:$LINENO: result: yes" >&5
10049 echo "${ECHO_T}yes" >&6
10050 else
10051 echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6
10053 fi
10054
10055
10056 enablestring=
10057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10058 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10059 no_cache=0
10060 # Check whether --enable-accessibility or --disable-accessibility was given.
10061 if test "${enable_accessibility+set}" = set; then
10062 enableval="$enable_accessibility"
10063
10064 if test "$enableval" = yes; then
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10066 else
10067 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10068 fi
10069
10070 else
10071
10072 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10073 if test "x$LINE" != x ; then
10074 eval "DEFAULT_$LINE"
10075 else
10076 no_cache=1
10077 fi
10078
10079 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10080
10081 fi;
10082
10083 eval "$ac_cv_use_accessibility"
10084 if test "$no_cache" != 1; then
10085 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10086 fi
10087
10088 if test "$wxUSE_ACCESSIBILITY" = yes; then
10089 echo "$as_me:$LINENO: result: yes" >&5
10090 echo "${ECHO_T}yes" >&6
10091 else
10092 echo "$as_me:$LINENO: result: no" >&5
10093 echo "${ECHO_T}no" >&6
10094 fi
10095
10096
10097 if test "$wxUSE_MSW" = "1"; then
10098
10099 enablestring=
10100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10102 no_cache=0
10103 # Check whether --enable-dccache or --disable-dccache was given.
10104 if test "${enable_dccache+set}" = set; then
10105 enableval="$enable_dccache"
10106
10107 if test "$enableval" = yes; then
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10109 else
10110 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10111 fi
10112
10113 else
10114
10115 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10116 if test "x$LINE" != x ; then
10117 eval "DEFAULT_$LINE"
10118 else
10119 no_cache=1
10120 fi
10121
10122 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10123
10124 fi;
10125
10126 eval "$ac_cv_use_dccache"
10127 if test "$no_cache" != 1; then
10128 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10129 fi
10130
10131 if test "$wxUSE_DC_CACHEING" = yes; then
10132 echo "$as_me:$LINENO: result: yes" >&5
10133 echo "${ECHO_T}yes" >&6
10134 else
10135 echo "$as_me:$LINENO: result: no" >&5
10136 echo "${ECHO_T}no" >&6
10137 fi
10138
10139 fi
10140
10141
10142
10143 enablestring=
10144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10146 no_cache=0
10147 # Check whether --enable-palette or --disable-palette was given.
10148 if test "${enable_palette+set}" = set; then
10149 enableval="$enable_palette"
10150
10151 if test "$enableval" = yes; then
10152 ac_cv_use_palette='wxUSE_PALETTE=yes'
10153 else
10154 ac_cv_use_palette='wxUSE_PALETTE=no'
10155 fi
10156
10157 else
10158
10159 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10160 if test "x$LINE" != x ; then
10161 eval "DEFAULT_$LINE"
10162 else
10163 no_cache=1
10164 fi
10165
10166 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10167
10168 fi;
10169
10170 eval "$ac_cv_use_palette"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10173 fi
10174
10175 if test "$wxUSE_PALETTE" = yes; then
10176 echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6
10178 else
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10181 fi
10182
10183
10184 enablestring=
10185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10187 no_cache=0
10188 # Check whether --enable-image or --disable-image was given.
10189 if test "${enable_image+set}" = set; then
10190 enableval="$enable_image"
10191
10192 if test "$enableval" = yes; then
10193 ac_cv_use_image='wxUSE_IMAGE=yes'
10194 else
10195 ac_cv_use_image='wxUSE_IMAGE=no'
10196 fi
10197
10198 else
10199
10200 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10201 if test "x$LINE" != x ; then
10202 eval "DEFAULT_$LINE"
10203 else
10204 no_cache=1
10205 fi
10206
10207 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10208
10209 fi;
10210
10211 eval "$ac_cv_use_image"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10214 fi
10215
10216 if test "$wxUSE_IMAGE" = yes; then
10217 echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6
10219 else
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10222 fi
10223
10224
10225 enablestring=
10226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10228 no_cache=0
10229 # Check whether --enable-gif or --disable-gif was given.
10230 if test "${enable_gif+set}" = set; then
10231 enableval="$enable_gif"
10232
10233 if test "$enableval" = yes; then
10234 ac_cv_use_gif='wxUSE_GIF=yes'
10235 else
10236 ac_cv_use_gif='wxUSE_GIF=no'
10237 fi
10238
10239 else
10240
10241 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10242 if test "x$LINE" != x ; then
10243 eval "DEFAULT_$LINE"
10244 else
10245 no_cache=1
10246 fi
10247
10248 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10249
10250 fi;
10251
10252 eval "$ac_cv_use_gif"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10255 fi
10256
10257 if test "$wxUSE_GIF" = yes; then
10258 echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6
10260 else
10261 echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6
10263 fi
10264
10265
10266 enablestring=
10267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10269 no_cache=0
10270 # Check whether --enable-pcx or --disable-pcx was given.
10271 if test "${enable_pcx+set}" = set; then
10272 enableval="$enable_pcx"
10273
10274 if test "$enableval" = yes; then
10275 ac_cv_use_pcx='wxUSE_PCX=yes'
10276 else
10277 ac_cv_use_pcx='wxUSE_PCX=no'
10278 fi
10279
10280 else
10281
10282 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x ; then
10284 eval "DEFAULT_$LINE"
10285 else
10286 no_cache=1
10287 fi
10288
10289 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10290
10291 fi;
10292
10293 eval "$ac_cv_use_pcx"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10296 fi
10297
10298 if test "$wxUSE_PCX" = yes; then
10299 echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6
10301 else
10302 echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10304 fi
10305
10306
10307 enablestring=
10308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10310 no_cache=0
10311 # Check whether --enable-iff or --disable-iff was given.
10312 if test "${enable_iff+set}" = set; then
10313 enableval="$enable_iff"
10314
10315 if test "$enableval" = yes; then
10316 ac_cv_use_iff='wxUSE_IFF=yes'
10317 else
10318 ac_cv_use_iff='wxUSE_IFF=no'
10319 fi
10320
10321 else
10322
10323 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10324 if test "x$LINE" != x ; then
10325 eval "DEFAULT_$LINE"
10326 else
10327 no_cache=1
10328 fi
10329
10330 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10331
10332 fi;
10333
10334 eval "$ac_cv_use_iff"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10337 fi
10338
10339 if test "$wxUSE_IFF" = yes; then
10340 echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6
10342 else
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10345 fi
10346
10347
10348 enablestring=
10349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10351 no_cache=0
10352 # Check whether --enable-pnm or --disable-pnm was given.
10353 if test "${enable_pnm+set}" = set; then
10354 enableval="$enable_pnm"
10355
10356 if test "$enableval" = yes; then
10357 ac_cv_use_pnm='wxUSE_PNM=yes'
10358 else
10359 ac_cv_use_pnm='wxUSE_PNM=no'
10360 fi
10361
10362 else
10363
10364 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10365 if test "x$LINE" != x ; then
10366 eval "DEFAULT_$LINE"
10367 else
10368 no_cache=1
10369 fi
10370
10371 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10372
10373 fi;
10374
10375 eval "$ac_cv_use_pnm"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10378 fi
10379
10380 if test "$wxUSE_PNM" = yes; then
10381 echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6
10383 else
10384 echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6
10386 fi
10387
10388
10389 enablestring=
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10392 no_cache=0
10393 # Check whether --enable-xpm or --disable-xpm was given.
10394 if test "${enable_xpm+set}" = set; then
10395 enableval="$enable_xpm"
10396
10397 if test "$enableval" = yes; then
10398 ac_cv_use_xpm='wxUSE_XPM=yes'
10399 else
10400 ac_cv_use_xpm='wxUSE_XPM=no'
10401 fi
10402
10403 else
10404
10405 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x ; then
10407 eval "DEFAULT_$LINE"
10408 else
10409 no_cache=1
10410 fi
10411
10412 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10413
10414 fi;
10415
10416 eval "$ac_cv_use_xpm"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test "$wxUSE_XPM" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10424 else
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10427 fi
10428
10429
10430 enablestring=
10431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10433 no_cache=0
10434 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10435 if test "${enable_ico_cur+set}" = set; then
10436 enableval="$enable_ico_cur"
10437
10438 if test "$enableval" = yes; then
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10440 else
10441 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10442 fi
10443
10444 else
10445
10446 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x ; then
10448 eval "DEFAULT_$LINE"
10449 else
10450 no_cache=1
10451 fi
10452
10453 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10454
10455 fi;
10456
10457 eval "$ac_cv_use_ico_cur"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10460 fi
10461
10462 if test "$wxUSE_ICO_CUR" = yes; then
10463 echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6
10465 else
10466 echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6
10468 fi
10469
10470
10471 fi
10472
10473
10474
10475 # Check whether --with-flavour or --without-flavour was given.
10476 if test "${with_flavour+set}" = set; then
10477 withval="$with_flavour"
10478 WX_FLAVOUR="$withval"
10479 fi;
10480
10481
10482
10483 enablestring=
10484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10485 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10486 no_cache=0
10487 # Check whether --enable-official_build or --disable-official_build was given.
10488 if test "${enable_official_build+set}" = set; then
10489 enableval="$enable_official_build"
10490
10491 if test "$enableval" = yes; then
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10493 else
10494 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10495 fi
10496
10497 else
10498
10499 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10500 if test "x$LINE" != x ; then
10501 eval "DEFAULT_$LINE"
10502 else
10503 no_cache=1
10504 fi
10505
10506 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10507
10508 fi;
10509
10510 eval "$ac_cv_use_official_build"
10511 if test "$no_cache" != 1; then
10512 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10513 fi
10514
10515 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10516 echo "$as_me:$LINENO: result: yes" >&5
10517 echo "${ECHO_T}yes" >&6
10518 else
10519 echo "$as_me:$LINENO: result: no" >&5
10520 echo "${ECHO_T}no" >&6
10521 fi
10522
10523 # Check whether --enable-vendor or --disable-vendor was given.
10524 if test "${enable_vendor+set}" = set; then
10525 enableval="$enable_vendor"
10526 VENDOR="$enableval"
10527 fi;
10528 if test "x$VENDOR" = "x"; then
10529 VENDOR="custom"
10530 fi
10531
10532
10533
10534
10535 echo "saving argument cache $wx_arg_cache_file"
10536 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10537
10538
10539
10540 echo "$as_me:$LINENO: checking for toolkit" >&5
10541 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10542
10543 # In Wine, we need to default to MSW, not GTK or MOTIF
10544 if test "$wxUSE_WINE" = "yes"; then
10545 DEFAULT_DEFAULT_wxUSE_GTK=0
10546 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10547 DEFAULT_DEFAULT_wxUSE_MSW=1
10548 wxUSE_SHARED=no
10549 fi
10550
10551
10552 if test "$wxUSE_GUI" = "yes"; then
10553
10554 if test "$USE_BEOS" = 1; then
10555 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10556 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10557 { (exit 1); exit 1; }; }
10558 fi
10559
10560 if test "$TOOLKIT_GIVEN" = 1; then
10561 for toolkit in `echo $ALL_TOOLKITS`; do
10562 var=wxUSE_$toolkit
10563 eval "value=\$${var}"
10564 if test "x$value" = "xno"; then
10565 eval "$var=0"
10566 elif test "x$value" != "x"; then
10567 eval "$var=1"
10568 fi
10569
10570 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10571 eval "wx${toolkit}_VERSION=$value"
10572 fi
10573 done
10574 else
10575 for toolkit in `echo $ALL_TOOLKITS`; do
10576 if test "$has_toolkit_in_cache" != 1; then
10577 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10578 else
10579 var=DEFAULT_wxUSE_$toolkit
10580
10581 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10582 if test "x$version" != "x"; then
10583 eval "wx${toolkit}_VERSION=$version"
10584 fi
10585 fi
10586 eval "wxUSE_$toolkit=\$${var}"
10587 done
10588 fi
10589
10590 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10591 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10592 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10593
10594 case "${host}" in
10595 *-pc-os2_emx | *-pc-os2-emx )
10596 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10597 esac
10598
10599 case "$NUM_TOOLKITS" in
10600 1)
10601 ;;
10602 0)
10603 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10604 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10605 { (exit 1); exit 1; }; }
10606 ;;
10607 *)
10608 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10609 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10610 { (exit 1); exit 1; }; }
10611 esac
10612
10613 # to be removed when --disable-gtk2 isn't needed
10614 if test "x$wxUSE_GTK2" = "xyes"; then
10615 wxGTK_VERSION=2
10616 elif test "x$wxUSE_GTK2" = "xno"; then
10617 wxGTK_VERSION=1
10618 fi
10619
10620 for toolkit in `echo $ALL_TOOLKITS`; do
10621 var=wxUSE_$toolkit
10622 eval "value=\$${var}"
10623 if test "x$value" != x; then
10624 cache_var=CACHE_$toolkit
10625 eval "cache=\$${cache_var}"
10626 if test "$cache" = 1; then
10627 echo "$var=$value" >> ${wx_arg_cache_file}
10628 eval "version=\$wx${toolkit}_VERSION"
10629 if test "x$version" != "x"; then
10630 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10631 fi
10632 fi
10633 if test "$value" = 1; then
10634 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10635 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10636 echo "${ECHO_T}$toolkit_echo" >&6
10637 fi
10638 fi
10639 done
10640 else
10641 if test "x$host_alias" != "x"; then
10642 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10643 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10644 else
10645 echo "$as_me:$LINENO: result: base only" >&5
10646 echo "${ECHO_T}base only" >&6
10647 fi
10648 fi
10649
10650 wants_win32=0
10651 doesnt_want_win32=0
10652 case "${host}" in
10653 *-*-cygwin*)
10654 if test "$wxUSE_MSW" = 1 ; then
10655 wants_win32=1
10656 BAKEFILE_FORCE_PLATFORM=win32
10657 else
10658 doesnt_want_win32=1
10659 fi
10660 ;;
10661 *-*-mingw*)
10662 wants_win32=1
10663 ;;
10664 esac
10665
10666 if test "$wxUSE_WINE" = "yes"; then
10667 wants_win32=1
10668 CC=winegcc
10669 CXX=wineg++
10670 LDFLAGS_GUI="-mwindows"
10671 fi
10672
10673 if test "$wants_win32" = 1 ; then
10674 USE_UNIX=0
10675 USE_WIN32=1
10676 cat >>confdefs.h <<\_ACEOF
10677 #define __WIN32__ 1
10678 _ACEOF
10679
10680 cat >>confdefs.h <<\_ACEOF
10681 #define __WIN95__ 1
10682 _ACEOF
10683
10684 cat >>confdefs.h <<\_ACEOF
10685 #define __WINDOWS__ 1
10686 _ACEOF
10687
10688 cat >>confdefs.h <<\_ACEOF
10689 #define __GNUWIN32__ 1
10690 _ACEOF
10691
10692 cat >>confdefs.h <<\_ACEOF
10693 #define STRICT 1
10694 _ACEOF
10695
10696 cat >>confdefs.h <<\_ACEOF
10697 #define WINVER 0x0400
10698 _ACEOF
10699
10700 fi
10701 if test "$doesnt_want_win32" = 1 ; then
10702 USE_UNIX=1
10703 USE_WIN32=0
10704 fi
10705
10706 if test "$USE_UNIX" = 1 ; then
10707 wxUSE_UNIX=yes
10708 cat >>confdefs.h <<\_ACEOF
10709 #define __UNIX__ 1
10710 _ACEOF
10711
10712 fi
10713
10714
10715 cat >confcache <<\_ACEOF
10716 # This file is a shell script that caches the results of configure
10717 # tests run on this system so they can be shared between configure
10718 # scripts and configure runs, see configure's option --config-cache.
10719 # It is not useful on other systems. If it contains results you don't
10720 # want to keep, you may remove or edit it.
10721 #
10722 # config.status only pays attention to the cache file if you give it
10723 # the --recheck option to rerun configure.
10724 #
10725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10727 # following values.
10728
10729 _ACEOF
10730
10731 # The following way of writing the cache mishandles newlines in values,
10732 # but we know of no workaround that is simple, portable, and efficient.
10733 # So, don't put newlines in cache variables' values.
10734 # Ultrix sh set writes to stderr and can't be redirected directly,
10735 # and sets the high bit in the cache file unless we assign to the vars.
10736 {
10737 (set) 2>&1 |
10738 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10739 *ac_space=\ *)
10740 # `set' does not quote correctly, so add quotes (double-quote
10741 # substitution turns \\\\ into \\, and sed turns \\ into \).
10742 sed -n \
10743 "s/'/'\\\\''/g;
10744 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10745 ;;
10746 *)
10747 # `set' quotes correctly as required by POSIX, so do not add quotes.
10748 sed -n \
10749 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10750 ;;
10751 esac;
10752 } |
10753 sed '
10754 t clear
10755 : clear
10756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10757 t end
10758 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10759 : end' >>confcache
10760 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10761 if test -w $cache_file; then
10762 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10763 cat confcache >$cache_file
10764 else
10765 echo "not updating unwritable cache $cache_file"
10766 fi
10767 fi
10768 rm -f confcache
10769
10770 CFLAGS=${CFLAGS:=}
10771
10772
10773
10774 ac_ext=c
10775 ac_cpp='$CPP $CPPFLAGS'
10776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10779 if test -n "$ac_tool_prefix"; then
10780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10781 set dummy ${ac_tool_prefix}gcc; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10791 for as_dir in $PATH
10792 do
10793 IFS=$as_save_IFS
10794 test -z "$as_dir" && as_dir=.
10795 for ac_exec_ext in '' $ac_executable_extensions; do
10796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10797 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10799 break 2
10800 fi
10801 done
10802 done
10803
10804 fi
10805 fi
10806 CC=$ac_cv_prog_CC
10807 if test -n "$CC"; then
10808 echo "$as_me:$LINENO: result: $CC" >&5
10809 echo "${ECHO_T}$CC" >&6
10810 else
10811 echo "$as_me:$LINENO: result: no" >&5
10812 echo "${ECHO_T}no" >&6
10813 fi
10814
10815 fi
10816 if test -z "$ac_cv_prog_CC"; then
10817 ac_ct_CC=$CC
10818 # Extract the first word of "gcc", so it can be a program name with args.
10819 set dummy gcc; ac_word=$2
10820 echo "$as_me:$LINENO: checking for $ac_word" >&5
10821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 else
10825 if test -n "$ac_ct_CC"; then
10826 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10827 else
10828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829 for as_dir in $PATH
10830 do
10831 IFS=$as_save_IFS
10832 test -z "$as_dir" && as_dir=.
10833 for ac_exec_ext in '' $ac_executable_extensions; do
10834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10835 ac_cv_prog_ac_ct_CC="gcc"
10836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10837 break 2
10838 fi
10839 done
10840 done
10841
10842 fi
10843 fi
10844 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10845 if test -n "$ac_ct_CC"; then
10846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10847 echo "${ECHO_T}$ac_ct_CC" >&6
10848 else
10849 echo "$as_me:$LINENO: result: no" >&5
10850 echo "${ECHO_T}no" >&6
10851 fi
10852
10853 CC=$ac_ct_CC
10854 else
10855 CC="$ac_cv_prog_CC"
10856 fi
10857
10858 if test -z "$CC"; then
10859 if test -n "$ac_tool_prefix"; then
10860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10861 set dummy ${ac_tool_prefix}cc; ac_word=$2
10862 echo "$as_me:$LINENO: checking for $ac_word" >&5
10863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10864 if test "${ac_cv_prog_CC+set}" = set; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 else
10867 if test -n "$CC"; then
10868 ac_cv_prog_CC="$CC" # Let the user override the test.
10869 else
10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10871 for as_dir in $PATH
10872 do
10873 IFS=$as_save_IFS
10874 test -z "$as_dir" && as_dir=.
10875 for ac_exec_ext in '' $ac_executable_extensions; do
10876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10877 ac_cv_prog_CC="${ac_tool_prefix}cc"
10878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10879 break 2
10880 fi
10881 done
10882 done
10883
10884 fi
10885 fi
10886 CC=$ac_cv_prog_CC
10887 if test -n "$CC"; then
10888 echo "$as_me:$LINENO: result: $CC" >&5
10889 echo "${ECHO_T}$CC" >&6
10890 else
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10893 fi
10894
10895 fi
10896 if test -z "$ac_cv_prog_CC"; then
10897 ac_ct_CC=$CC
10898 # Extract the first word of "cc", so it can be a program name with args.
10899 set dummy cc; ac_word=$2
10900 echo "$as_me:$LINENO: checking for $ac_word" >&5
10901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10902 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 else
10905 if test -n "$ac_ct_CC"; then
10906 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10907 else
10908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10909 for as_dir in $PATH
10910 do
10911 IFS=$as_save_IFS
10912 test -z "$as_dir" && as_dir=.
10913 for ac_exec_ext in '' $ac_executable_extensions; do
10914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10915 ac_cv_prog_ac_ct_CC="cc"
10916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10917 break 2
10918 fi
10919 done
10920 done
10921
10922 fi
10923 fi
10924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10925 if test -n "$ac_ct_CC"; then
10926 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10927 echo "${ECHO_T}$ac_ct_CC" >&6
10928 else
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10931 fi
10932
10933 CC=$ac_ct_CC
10934 else
10935 CC="$ac_cv_prog_CC"
10936 fi
10937
10938 fi
10939 if test -z "$CC"; then
10940 # Extract the first word of "cc", so it can be a program name with args.
10941 set dummy cc; ac_word=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CC+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 else
10947 if test -n "$CC"; then
10948 ac_cv_prog_CC="$CC" # Let the user override the test.
10949 else
10950 ac_prog_rejected=no
10951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10952 for as_dir in $PATH
10953 do
10954 IFS=$as_save_IFS
10955 test -z "$as_dir" && as_dir=.
10956 for ac_exec_ext in '' $ac_executable_extensions; do
10957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10959 ac_prog_rejected=yes
10960 continue
10961 fi
10962 ac_cv_prog_CC="cc"
10963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10964 break 2
10965 fi
10966 done
10967 done
10968
10969 if test $ac_prog_rejected = yes; then
10970 # We found a bogon in the path, so make sure we never use it.
10971 set dummy $ac_cv_prog_CC
10972 shift
10973 if test $# != 0; then
10974 # We chose a different compiler from the bogus one.
10975 # However, it has the same basename, so the bogon will be chosen
10976 # first if we set CC to just the basename; use the full file name.
10977 shift
10978 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10979 fi
10980 fi
10981 fi
10982 fi
10983 CC=$ac_cv_prog_CC
10984 if test -n "$CC"; then
10985 echo "$as_me:$LINENO: result: $CC" >&5
10986 echo "${ECHO_T}$CC" >&6
10987 else
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10990 fi
10991
10992 fi
10993 if test -z "$CC"; then
10994 if test -n "$ac_tool_prefix"; then
10995 for ac_prog in cl
10996 do
10997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10999 echo "$as_me:$LINENO: checking for $ac_word" >&5
11000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11001 if test "${ac_cv_prog_CC+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11004 if test -n "$CC"; then
11005 ac_cv_prog_CC="$CC" # Let the user override the test.
11006 else
11007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11008 for as_dir in $PATH
11009 do
11010 IFS=$as_save_IFS
11011 test -z "$as_dir" && as_dir=.
11012 for ac_exec_ext in '' $ac_executable_extensions; do
11013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11014 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11016 break 2
11017 fi
11018 done
11019 done
11020
11021 fi
11022 fi
11023 CC=$ac_cv_prog_CC
11024 if test -n "$CC"; then
11025 echo "$as_me:$LINENO: result: $CC" >&5
11026 echo "${ECHO_T}$CC" >&6
11027 else
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11030 fi
11031
11032 test -n "$CC" && break
11033 done
11034 fi
11035 if test -z "$CC"; then
11036 ac_ct_CC=$CC
11037 for ac_prog in cl
11038 do
11039 # Extract the first word of "$ac_prog", so it can be a program name with args.
11040 set dummy $ac_prog; ac_word=$2
11041 echo "$as_me:$LINENO: checking for $ac_word" >&5
11042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11046 if test -n "$ac_ct_CC"; then
11047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11048 else
11049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11050 for as_dir in $PATH
11051 do
11052 IFS=$as_save_IFS
11053 test -z "$as_dir" && as_dir=.
11054 for ac_exec_ext in '' $ac_executable_extensions; do
11055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11056 ac_cv_prog_ac_ct_CC="$ac_prog"
11057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11058 break 2
11059 fi
11060 done
11061 done
11062
11063 fi
11064 fi
11065 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11066 if test -n "$ac_ct_CC"; then
11067 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11068 echo "${ECHO_T}$ac_ct_CC" >&6
11069 else
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11072 fi
11073
11074 test -n "$ac_ct_CC" && break
11075 done
11076
11077 CC=$ac_ct_CC
11078 fi
11079
11080 fi
11081
11082
11083 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11084 See \`config.log' for more details." >&5
11085 echo "$as_me: error: no acceptable C compiler found in \$PATH
11086 See \`config.log' for more details." >&2;}
11087 { (exit 1); exit 1; }; }
11088
11089 # Provide some information about the compiler.
11090 echo "$as_me:$LINENO:" \
11091 "checking for C compiler version" >&5
11092 ac_compiler=`set X $ac_compile; echo $2`
11093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11094 (eval $ac_compiler --version </dev/null >&5) 2>&5
11095 ac_status=$?
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }
11098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11099 (eval $ac_compiler -v </dev/null >&5) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }
11103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11104 (eval $ac_compiler -V </dev/null >&5) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }
11108
11109 cat >conftest.$ac_ext <<_ACEOF
11110 /* confdefs.h. */
11111 _ACEOF
11112 cat confdefs.h >>conftest.$ac_ext
11113 cat >>conftest.$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11115
11116 int
11117 main ()
11118 {
11119
11120 ;
11121 return 0;
11122 }
11123 _ACEOF
11124 ac_clean_files_save=$ac_clean_files
11125 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11126 # Try to create an executable without -o first, disregard a.out.
11127 # It will help us diagnose broken compilers, and finding out an intuition
11128 # of exeext.
11129 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11131 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11132 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11133 (eval $ac_link_default) 2>&5
11134 ac_status=$?
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; then
11137 # Find the output, starting from the most likely. This scheme is
11138 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11139 # resort.
11140
11141 # Be careful to initialize this variable, since it used to be cached.
11142 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11143 ac_cv_exeext=
11144 # b.out is created by i960 compilers.
11145 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11146 do
11147 test -f "$ac_file" || continue
11148 case $ac_file in
11149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11150 ;;
11151 conftest.$ac_ext )
11152 # This is the source file.
11153 ;;
11154 [ab].out )
11155 # We found the default executable, but exeext='' is most
11156 # certainly right.
11157 break;;
11158 *.* )
11159 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11160 # FIXME: I believe we export ac_cv_exeext for Libtool,
11161 # but it would be cool to find out if it's true. Does anybody
11162 # maintain Libtool? --akim.
11163 export ac_cv_exeext
11164 break;;
11165 * )
11166 break;;
11167 esac
11168 done
11169 else
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11172
11173 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: C compiler cannot create executables
11176 See \`config.log' for more details." >&2;}
11177 { (exit 77); exit 77; }; }
11178 fi
11179
11180 ac_exeext=$ac_cv_exeext
11181 echo "$as_me:$LINENO: result: $ac_file" >&5
11182 echo "${ECHO_T}$ac_file" >&6
11183
11184 # Check the compiler produces executables we can run. If not, either
11185 # the compiler is broken, or we cross compile.
11186 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11187 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11188 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11189 # If not cross compiling, check that we can run a simple program.
11190 if test "$cross_compiling" != yes; then
11191 if { ac_try='./$ac_file'
11192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11193 (eval $ac_try) 2>&5
11194 ac_status=$?
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); }; }; then
11197 cross_compiling=no
11198 else
11199 if test "$cross_compiling" = maybe; then
11200 cross_compiling=yes
11201 else
11202 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11203 If you meant to cross compile, use \`--host'.
11204 See \`config.log' for more details." >&5
11205 echo "$as_me: error: cannot run C compiled programs.
11206 If you meant to cross compile, use \`--host'.
11207 See \`config.log' for more details." >&2;}
11208 { (exit 1); exit 1; }; }
11209 fi
11210 fi
11211 fi
11212 echo "$as_me:$LINENO: result: yes" >&5
11213 echo "${ECHO_T}yes" >&6
11214
11215 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11216 ac_clean_files=$ac_clean_files_save
11217 # Check the compiler produces executables we can run. If not, either
11218 # the compiler is broken, or we cross compile.
11219 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11220 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11221 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11222 echo "${ECHO_T}$cross_compiling" >&6
11223
11224 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11225 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11227 (eval $ac_link) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; then
11231 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11232 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11233 # work properly (i.e., refer to `conftest.exe'), while it won't with
11234 # `rm'.
11235 for ac_file in conftest.exe conftest conftest.*; do
11236 test -f "$ac_file" || continue
11237 case $ac_file in
11238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11239 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11240 export ac_cv_exeext
11241 break;;
11242 * ) break;;
11243 esac
11244 done
11245 else
11246 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11247 See \`config.log' for more details." >&5
11248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11249 See \`config.log' for more details." >&2;}
11250 { (exit 1); exit 1; }; }
11251 fi
11252
11253 rm -f conftest$ac_cv_exeext
11254 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11255 echo "${ECHO_T}$ac_cv_exeext" >&6
11256
11257 rm -f conftest.$ac_ext
11258 EXEEXT=$ac_cv_exeext
11259 ac_exeext=$EXEEXT
11260 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11262 if test "${ac_cv_objext+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 else
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271
11272 int
11273 main ()
11274 {
11275
11276 ;
11277 return 0;
11278 }
11279 _ACEOF
11280 rm -f conftest.o conftest.obj
11281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11282 (eval $ac_compile) 2>&5
11283 ac_status=$?
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; then
11286 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11287 case $ac_file in
11288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11290 break;;
11291 esac
11292 done
11293 else
11294 echo "$as_me: failed program was:" >&5
11295 sed 's/^/| /' conftest.$ac_ext >&5
11296
11297 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11298 See \`config.log' for more details." >&5
11299 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11300 See \`config.log' for more details." >&2;}
11301 { (exit 1); exit 1; }; }
11302 fi
11303
11304 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11305 fi
11306 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11307 echo "${ECHO_T}$ac_cv_objext" >&6
11308 OBJEXT=$ac_cv_objext
11309 ac_objext=$OBJEXT
11310 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 else
11315 cat >conftest.$ac_ext <<_ACEOF
11316 /* confdefs.h. */
11317 _ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321
11322 int
11323 main ()
11324 {
11325 #ifndef __GNUC__
11326 choke me
11327 #endif
11328
11329 ;
11330 return 0;
11331 }
11332 _ACEOF
11333 rm -f conftest.$ac_objext
11334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11335 (eval $ac_compile) 2>conftest.er1
11336 ac_status=$?
11337 grep -v '^ *+' conftest.er1 >conftest.err
11338 rm -f conftest.er1
11339 cat conftest.err >&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11345 ac_status=$?
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest.$ac_objext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11351 ac_status=$?
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 ac_compiler_gnu=yes
11355 else
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.$ac_ext >&5
11358
11359 ac_compiler_gnu=no
11360 fi
11361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11362 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11363
11364 fi
11365 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11366 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11367 GCC=`test $ac_compiler_gnu = yes && echo yes`
11368 ac_test_CFLAGS=${CFLAGS+set}
11369 ac_save_CFLAGS=$CFLAGS
11370 CFLAGS="-g"
11371 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11372 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11373 if test "${ac_cv_prog_cc_g+set}" = set; then
11374 echo $ECHO_N "(cached) $ECHO_C" >&6
11375 else
11376 cat >conftest.$ac_ext <<_ACEOF
11377 /* confdefs.h. */
11378 _ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11382
11383 int
11384 main ()
11385 {
11386
11387 ;
11388 return 0;
11389 }
11390 _ACEOF
11391 rm -f conftest.$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11394 ac_status=$?
11395 grep -v '^ *+' conftest.er1 >conftest.err
11396 rm -f conftest.er1
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; } &&
11406 { ac_try='test -s conftest.$ac_objext'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11409 ac_status=$?
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; }; then
11412 ac_cv_prog_cc_g=yes
11413 else
11414 echo "$as_me: failed program was:" >&5
11415 sed 's/^/| /' conftest.$ac_ext >&5
11416
11417 ac_cv_prog_cc_g=no
11418 fi
11419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11420 fi
11421 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11423 if test "$ac_test_CFLAGS" = set; then
11424 CFLAGS=$ac_save_CFLAGS
11425 elif test $ac_cv_prog_cc_g = yes; then
11426 if test "$GCC" = yes; then
11427 CFLAGS="-g -O2"
11428 else
11429 CFLAGS="-g"
11430 fi
11431 else
11432 if test "$GCC" = yes; then
11433 CFLAGS="-O2"
11434 else
11435 CFLAGS=
11436 fi
11437 fi
11438 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11439 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11440 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 else
11443 ac_cv_prog_cc_stdc=no
11444 ac_save_CC=$CC
11445 cat >conftest.$ac_ext <<_ACEOF
11446 /* confdefs.h. */
11447 _ACEOF
11448 cat confdefs.h >>conftest.$ac_ext
11449 cat >>conftest.$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 #include <stdarg.h>
11452 #include <stdio.h>
11453 #include <sys/types.h>
11454 #include <sys/stat.h>
11455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11456 struct buf { int x; };
11457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11458 static char *e (p, i)
11459 char **p;
11460 int i;
11461 {
11462 return p[i];
11463 }
11464 static char *f (char * (*g) (char **, int), char **p, ...)
11465 {
11466 char *s;
11467 va_list v;
11468 va_start (v,p);
11469 s = g (p, va_arg (v,int));
11470 va_end (v);
11471 return s;
11472 }
11473
11474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11475 function prototypes and stuff, but not '\xHH' hex character constants.
11476 These don't provoke an error unfortunately, instead are silently treated
11477 as 'x'. The following induces an error, until -std1 is added to get
11478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11479 array size at least. It's necessary to write '\x00'==0 to get something
11480 that's true only with -std1. */
11481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11482
11483 int test (int i, double x);
11484 struct s1 {int (*f) (int a);};
11485 struct s2 {int (*f) (double a);};
11486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11487 int argc;
11488 char **argv;
11489 int
11490 main ()
11491 {
11492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11493 ;
11494 return 0;
11495 }
11496 _ACEOF
11497 # Don't try gcc -ansi; that turns off useful extensions and
11498 # breaks some systems' header files.
11499 # AIX -qlanglvl=ansi
11500 # Ultrix and OSF/1 -std1
11501 # HP-UX 10.20 and later -Ae
11502 # HP-UX older versions -Aa -D_HPUX_SOURCE
11503 # SVR4 -Xc -D__EXTENSIONS__
11504 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11505 do
11506 CC="$ac_save_CC $ac_arg"
11507 rm -f conftest.$ac_objext
11508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11509 (eval $ac_compile) 2>conftest.er1
11510 ac_status=$?
11511 grep -v '^ *+' conftest.er1 >conftest.err
11512 rm -f conftest.er1
11513 cat conftest.err >&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } &&
11516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; } &&
11522 { ac_try='test -s conftest.$ac_objext'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11525 ac_status=$?
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; }; then
11528 ac_cv_prog_cc_stdc=$ac_arg
11529 break
11530 else
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.$ac_ext >&5
11533
11534 fi
11535 rm -f conftest.err conftest.$ac_objext
11536 done
11537 rm -f conftest.$ac_ext conftest.$ac_objext
11538 CC=$ac_save_CC
11539
11540 fi
11541
11542 case "x$ac_cv_prog_cc_stdc" in
11543 x|xno)
11544 echo "$as_me:$LINENO: result: none needed" >&5
11545 echo "${ECHO_T}none needed" >&6 ;;
11546 *)
11547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11549 CC="$CC $ac_cv_prog_cc_stdc" ;;
11550 esac
11551
11552 # Some people use a C++ compiler to compile C. Since we use `exit',
11553 # in C++ we need to declare it. In case someone uses the same compiler
11554 # for both compiling C and C++ we need to have the C++ compiler decide
11555 # the declaration of exit, since it's the most demanding environment.
11556 cat >conftest.$ac_ext <<_ACEOF
11557 #ifndef __cplusplus
11558 choke me
11559 #endif
11560 _ACEOF
11561 rm -f conftest.$ac_objext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11563 (eval $ac_compile) 2>conftest.er1
11564 ac_status=$?
11565 grep -v '^ *+' conftest.er1 >conftest.err
11566 rm -f conftest.er1
11567 cat conftest.err >&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest.$ac_objext'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11579 ac_status=$?
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; }; then
11582 for ac_declaration in \
11583 '' \
11584 'extern "C" void std::exit (int) throw (); using std::exit;' \
11585 'extern "C" void std::exit (int); using std::exit;' \
11586 'extern "C" void exit (int) throw ();' \
11587 'extern "C" void exit (int);' \
11588 'void exit (int);'
11589 do
11590 cat >conftest.$ac_ext <<_ACEOF
11591 /* confdefs.h. */
11592 _ACEOF
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11596 $ac_declaration
11597 #include <stdlib.h>
11598 int
11599 main ()
11600 {
11601 exit (42);
11602 ;
11603 return 0;
11604 }
11605 _ACEOF
11606 rm -f conftest.$ac_objext
11607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11608 (eval $ac_compile) 2>conftest.er1
11609 ac_status=$?
11610 grep -v '^ *+' conftest.er1 >conftest.err
11611 rm -f conftest.er1
11612 cat conftest.err >&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); } &&
11615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11618 ac_status=$?
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; } &&
11621 { ac_try='test -s conftest.$ac_objext'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11624 ac_status=$?
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; }; then
11627 :
11628 else
11629 echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.$ac_ext >&5
11631
11632 continue
11633 fi
11634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11635 cat >conftest.$ac_ext <<_ACEOF
11636 /* confdefs.h. */
11637 _ACEOF
11638 cat confdefs.h >>conftest.$ac_ext
11639 cat >>conftest.$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641 $ac_declaration
11642 int
11643 main ()
11644 {
11645 exit (42);
11646 ;
11647 return 0;
11648 }
11649 _ACEOF
11650 rm -f conftest.$ac_objext
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>conftest.er1
11653 ac_status=$?
11654 grep -v '^ *+' conftest.er1 >conftest.err
11655 rm -f conftest.er1
11656 cat conftest.err >&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11662 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; } &&
11665 { ac_try='test -s conftest.$ac_objext'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11668 ac_status=$?
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11671 break
11672 else
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11675
11676 fi
11677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11678 done
11679 rm -f conftest*
11680 if test -n "$ac_declaration"; then
11681 echo '#ifdef __cplusplus' >>confdefs.h
11682 echo $ac_declaration >>confdefs.h
11683 echo '#endif' >>confdefs.h
11684 fi
11685
11686 else
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11689
11690 fi
11691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11692 ac_ext=c
11693 ac_cpp='$CPP $CPPFLAGS'
11694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11697
11698
11699
11700 ac_ext=c
11701 ac_cpp='$CPP $CPPFLAGS'
11702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11705
11706 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11707 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11708 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 else
11711 cat >conftest.$ac_ext <<_ACEOF
11712 /* confdefs.h. */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717
11718 int
11719 main ()
11720 {
11721
11722 #ifndef __INTEL_COMPILER
11723 choke me
11724 #endif
11725
11726 ;
11727 return 0;
11728 }
11729 _ACEOF
11730 rm -f conftest.$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>conftest.er1
11733 ac_status=$?
11734 grep -v '^ *+' conftest.er1 >conftest.err
11735 rm -f conftest.er1
11736 cat conftest.err >&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11742 ac_status=$?
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; } &&
11745 { ac_try='test -s conftest.$ac_objext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11748 ac_status=$?
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11752 else
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11755
11756 bakefile_cv_c_compiler___INTEL_COMPILER=no
11757
11758 fi
11759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11760
11761
11762 fi
11763 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11764 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11765 ac_ext=c
11766 ac_cpp='$CPP $CPPFLAGS'
11767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11770
11771 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11772 :; INTELCC=yes
11773 else
11774 :;
11775 fi
11776
11777
11778 if test "x$GCC" != "xyes"; then
11779 if test "xCC" = "xC"; then
11780 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11781 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11782 if test "${bakefile_cv_c_exto+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 else
11785 cat >conftest.$ac_ext <<_ACEOF
11786 /* confdefs.h. */
11787 _ACEOF
11788 cat confdefs.h >>conftest.$ac_ext
11789 cat >>conftest.$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11791
11792 int
11793 main ()
11794 {
11795
11796 ;
11797 return 0;
11798 }
11799 _ACEOF
11800 rm -f conftest.$ac_objext conftest.$ac_ext.o
11801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11802 (eval $ac_compile) 2>&5
11803 ac_status=$?
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; then
11806 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11807 case $ac_file in
11808 conftest.$ac_ext.o)
11809 bakefile_cv_c_exto="-ext o"
11810 ;;
11811 *)
11812 ;;
11813 esac
11814 done
11815 else
11816 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11817 See \`config.log' for more details." >&5
11818 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11819 See \`config.log' for more details." >&2;}
11820 { (exit 1); exit 1; }; }
11821
11822 fi
11823
11824 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11825
11826 fi
11827 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11828 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11829 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11830 if test "c" = "c"; then
11831 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
11832 fi
11833 if test "c" = "cxx"; then
11834 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
11835 fi
11836 fi
11837
11838 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11839 unset ac_cv_prog_cc_g
11840 ac_test_CFLAGS=${CFLAGS+set}
11841 ac_save_CFLAGS=$CFLAGS
11842 CFLAGS="-g"
11843 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11845 if test "${ac_cv_prog_cc_g+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 else
11848 cat >conftest.$ac_ext <<_ACEOF
11849 /* confdefs.h. */
11850 _ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854
11855 int
11856 main ()
11857 {
11858
11859 ;
11860 return 0;
11861 }
11862 _ACEOF
11863 rm -f conftest.$ac_objext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11865 (eval $ac_compile) 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); } &&
11872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11875 ac_status=$?
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; } &&
11878 { ac_try='test -s conftest.$ac_objext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11881 ac_status=$?
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11884 ac_cv_prog_cc_g=yes
11885 else
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.$ac_ext >&5
11888
11889 ac_cv_prog_cc_g=no
11890 fi
11891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11892 fi
11893 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11894 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11895 if test "$ac_test_CFLAGS" = set; then
11896 CFLAGS=$ac_save_CFLAGS
11897 elif test $ac_cv_prog_cc_g = yes; then
11898 if test "$GCC" = yes; then
11899 CFLAGS="-g -O2"
11900 else
11901 CFLAGS="-g"
11902 fi
11903 else
11904 if test "$GCC" = yes; then
11905 CFLAGS="-O2"
11906 else
11907 CFLAGS=
11908 fi
11909 fi
11910 fi
11911 fi
11912
11913 case `uname -s` in
11914 AIX*)
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920
11921 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11922 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11923 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11926 cat >conftest.$ac_ext <<_ACEOF
11927 /* confdefs.h. */
11928 _ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932
11933 int
11934 main ()
11935 {
11936 #ifndef __xlC__
11937 choke me
11938 #endif
11939
11940 ;
11941 return 0;
11942 }
11943 _ACEOF
11944 rm -f conftest.$ac_objext
11945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11946 (eval $ac_compile) 2>conftest.er1
11947 ac_status=$?
11948 grep -v '^ *+' conftest.er1 >conftest.err
11949 rm -f conftest.er1
11950 cat conftest.err >&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); } &&
11953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11956 ac_status=$?
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; } &&
11959 { ac_try='test -s conftest.$ac_objext'
11960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11961 (eval $ac_try) 2>&5
11962 ac_status=$?
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); }; }; then
11965 bakefile_compiler_xlc=yes
11966 else
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.$ac_ext >&5
11969
11970 bakefile_compiler_xlc=no
11971 fi
11972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11973 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
11974
11975 fi
11976 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
11977 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
11978
11979 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
11980 ac_ext=c
11981 ac_cpp='$CPP $CPPFLAGS'
11982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11985
11986
11987 ;;
11988
11989 Darwin)
11990 ac_ext=c
11991 ac_cpp='$CPP $CPPFLAGS'
11992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11995
11996 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11997 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11998 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 else
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
12008 int
12009 main ()
12010 {
12011 #ifndef __MWERKS__
12012 choke me
12013 #endif
12014
12015 ;
12016 return 0;
12017 }
12018 _ACEOF
12019 rm -f conftest.$ac_objext
12020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12021 (eval $ac_compile) 2>conftest.er1
12022 ac_status=$?
12023 grep -v '^ *+' conftest.er1 >conftest.err
12024 rm -f conftest.er1
12025 cat conftest.err >&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12031 ac_status=$?
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; } &&
12034 { ac_try='test -s conftest.$ac_objext'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12037 ac_status=$?
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12040 bakefile_compiler_mwerks=yes
12041 else
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12044
12045 bakefile_compiler_mwerks=no
12046 fi
12047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12048 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12049
12050 fi
12051 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12052 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12053
12054 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12055 ac_ext=c
12056 ac_cpp='$CPP $CPPFLAGS'
12057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12060
12061
12062 ac_ext=c
12063 ac_cpp='$CPP $CPPFLAGS'
12064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12067
12068 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12069 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12070 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12072 else
12073 cat >conftest.$ac_ext <<_ACEOF
12074 /* confdefs.h. */
12075 _ACEOF
12076 cat confdefs.h >>conftest.$ac_ext
12077 cat >>conftest.$ac_ext <<_ACEOF
12078 /* end confdefs.h. */
12079
12080 int
12081 main ()
12082 {
12083 #ifndef __xlC__
12084 choke me
12085 #endif
12086
12087 ;
12088 return 0;
12089 }
12090 _ACEOF
12091 rm -f conftest.$ac_objext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093 (eval $ac_compile) 2>conftest.er1
12094 ac_status=$?
12095 grep -v '^ *+' conftest.er1 >conftest.err
12096 rm -f conftest.er1
12097 cat conftest.err >&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12103 ac_status=$?
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try='test -s conftest.$ac_objext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 bakefile_compiler_xlc=yes
12113 else
12114 echo "$as_me: failed program was:" >&5
12115 sed 's/^/| /' conftest.$ac_ext >&5
12116
12117 bakefile_compiler_xlc=no
12118 fi
12119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12120 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12121
12122 fi
12123 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12124 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12125
12126 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12127 ac_ext=c
12128 ac_cpp='$CPP $CPPFLAGS'
12129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12132
12133
12134 ;;
12135
12136 IRIX*)
12137
12138
12139 ac_ext=c
12140 ac_cpp='$CPP $CPPFLAGS'
12141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12144
12145 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12146 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12147 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 cat >conftest.$ac_ext <<_ACEOF
12151 /* confdefs.h. */
12152 _ACEOF
12153 cat confdefs.h >>conftest.$ac_ext
12154 cat >>conftest.$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12156
12157 int
12158 main ()
12159 {
12160
12161 #ifndef _SGI_COMPILER_VERSION
12162 choke me
12163 #endif
12164
12165 ;
12166 return 0;
12167 }
12168 _ACEOF
12169 rm -f conftest.$ac_objext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12171 (eval $ac_compile) 2>conftest.er1
12172 ac_status=$?
12173 grep -v '^ *+' conftest.er1 >conftest.err
12174 rm -f conftest.er1
12175 cat conftest.err >&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } &&
12178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 (eval $ac_try) 2>&5
12181 ac_status=$?
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; } &&
12184 { ac_try='test -s conftest.$ac_objext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12187 ac_status=$?
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12191 else
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12194
12195 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12196
12197 fi
12198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12199
12200
12201 fi
12202 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12203 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12204 ac_ext=c
12205 ac_cpp='$CPP $CPPFLAGS'
12206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12209
12210 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12211 :; SGICC=yes
12212 else
12213 :;
12214 fi
12215
12216
12217 ;;
12218
12219 HP-UX*)
12220
12221
12222 ac_ext=c
12223 ac_cpp='$CPP $CPPFLAGS'
12224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12227
12228 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12229 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12230 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 else
12233 cat >conftest.$ac_ext <<_ACEOF
12234 /* confdefs.h. */
12235 _ACEOF
12236 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239
12240 int
12241 main ()
12242 {
12243
12244 #ifndef __HP_cc
12245 choke me
12246 #endif
12247
12248 ;
12249 return 0;
12250 }
12251 _ACEOF
12252 rm -f conftest.$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 (eval $ac_compile) 2>conftest.er1
12255 ac_status=$?
12256 grep -v '^ *+' conftest.er1 >conftest.err
12257 rm -f conftest.er1
12258 cat conftest.err >&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } &&
12261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12264 ac_status=$?
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try='test -s conftest.$ac_objext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 bakefile_cv_c_compiler___HP_cc=yes
12274 else
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12277
12278 bakefile_cv_c_compiler___HP_cc=no
12279
12280 fi
12281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12282
12283
12284 fi
12285 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12286 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12287 ac_ext=c
12288 ac_cpp='$CPP $CPPFLAGS'
12289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12292
12293 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12294 :; HPCC=yes
12295 else
12296 :;
12297 fi
12298
12299
12300 ;;
12301
12302 OSF1)
12303
12304
12305 ac_ext=c
12306 ac_cpp='$CPP $CPPFLAGS'
12307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12310
12311 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12312 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12313 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 else
12316 cat >conftest.$ac_ext <<_ACEOF
12317 /* confdefs.h. */
12318 _ACEOF
12319 cat confdefs.h >>conftest.$ac_ext
12320 cat >>conftest.$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12322
12323 int
12324 main ()
12325 {
12326
12327 #ifndef __DECC
12328 choke me
12329 #endif
12330
12331 ;
12332 return 0;
12333 }
12334 _ACEOF
12335 rm -f conftest.$ac_objext
12336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12337 (eval $ac_compile) 2>conftest.er1
12338 ac_status=$?
12339 grep -v '^ *+' conftest.er1 >conftest.err
12340 rm -f conftest.er1
12341 cat conftest.err >&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 (eval $ac_try) 2>&5
12347 ac_status=$?
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; } &&
12350 { ac_try='test -s conftest.$ac_objext'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12353 ac_status=$?
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; }; then
12356 bakefile_cv_c_compiler___DECC=yes
12357 else
12358 echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.$ac_ext >&5
12360
12361 bakefile_cv_c_compiler___DECC=no
12362
12363 fi
12364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12365
12366
12367 fi
12368 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12369 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12370 ac_ext=c
12371 ac_cpp='$CPP $CPPFLAGS'
12372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12375
12376 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12377 :; COMPAQCC=yes
12378 else
12379 :;
12380 fi
12381
12382
12383 ;;
12384
12385 SunOS)
12386
12387
12388 ac_ext=c
12389 ac_cpp='$CPP $CPPFLAGS'
12390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12393
12394 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12395 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12396 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399 cat >conftest.$ac_ext <<_ACEOF
12400 /* confdefs.h. */
12401 _ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12405
12406 int
12407 main ()
12408 {
12409
12410 #ifndef __SUNPRO_C
12411 choke me
12412 #endif
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 rm -f conftest.$ac_objext
12419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12420 (eval $ac_compile) 2>conftest.er1
12421 ac_status=$?
12422 grep -v '^ *+' conftest.er1 >conftest.err
12423 rm -f conftest.er1
12424 cat conftest.err >&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } &&
12427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12430 ac_status=$?
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try='test -s conftest.$ac_objext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12436 ac_status=$?
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 bakefile_cv_c_compiler___SUNPRO_C=yes
12440 else
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12443
12444 bakefile_cv_c_compiler___SUNPRO_C=no
12445
12446 fi
12447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12448
12449
12450 fi
12451 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12452 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12453 ac_ext=c
12454 ac_cpp='$CPP $CPPFLAGS'
12455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12458
12459 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12460 :; SUNCC=yes
12461 else
12462 :;
12463 fi
12464
12465
12466 ;;
12467 esac
12468 fi
12469
12470
12471
12472 ac_ext=c
12473 ac_cpp='$CPP $CPPFLAGS'
12474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12477 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12478 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12479 # On Suns, sometimes $CPP names a directory.
12480 if test -n "$CPP" && test -d "$CPP"; then
12481 CPP=
12482 fi
12483 if test -z "$CPP"; then
12484 if test "${ac_cv_prog_CPP+set}" = set; then
12485 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 else
12487 # Double quotes because CPP needs to be expanded
12488 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12489 do
12490 ac_preproc_ok=false
12491 for ac_c_preproc_warn_flag in '' yes
12492 do
12493 # Use a header file that comes with gcc, so configuring glibc
12494 # with a fresh cross-compiler works.
12495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12496 # <limits.h> exists even on freestanding compilers.
12497 # On the NeXT, cc -E runs the code through the compiler's parser,
12498 # not just through cpp. "Syntax error" is here to catch this case.
12499 cat >conftest.$ac_ext <<_ACEOF
12500 /* confdefs.h. */
12501 _ACEOF
12502 cat confdefs.h >>conftest.$ac_ext
12503 cat >>conftest.$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 #ifdef __STDC__
12506 # include <limits.h>
12507 #else
12508 # include <assert.h>
12509 #endif
12510 Syntax error
12511 _ACEOF
12512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12514 ac_status=$?
12515 grep -v '^ *+' conftest.er1 >conftest.err
12516 rm -f conftest.er1
12517 cat conftest.err >&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } >/dev/null; then
12520 if test -s conftest.err; then
12521 ac_cpp_err=$ac_c_preproc_warn_flag
12522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12523 else
12524 ac_cpp_err=
12525 fi
12526 else
12527 ac_cpp_err=yes
12528 fi
12529 if test -z "$ac_cpp_err"; then
12530 :
12531 else
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12534
12535 # Broken: fails on valid input.
12536 continue
12537 fi
12538 rm -f conftest.err conftest.$ac_ext
12539
12540 # OK, works on sane cases. Now check whether non-existent headers
12541 # can be detected and how.
12542 cat >conftest.$ac_ext <<_ACEOF
12543 /* confdefs.h. */
12544 _ACEOF
12545 cat confdefs.h >>conftest.$ac_ext
12546 cat >>conftest.$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12548 #include <ac_nonexistent.h>
12549 _ACEOF
12550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12552 ac_status=$?
12553 grep -v '^ *+' conftest.er1 >conftest.err
12554 rm -f conftest.er1
12555 cat conftest.err >&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } >/dev/null; then
12558 if test -s conftest.err; then
12559 ac_cpp_err=$ac_c_preproc_warn_flag
12560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12561 else
12562 ac_cpp_err=
12563 fi
12564 else
12565 ac_cpp_err=yes
12566 fi
12567 if test -z "$ac_cpp_err"; then
12568 # Broken: success on invalid input.
12569 continue
12570 else
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.$ac_ext >&5
12573
12574 # Passes both tests.
12575 ac_preproc_ok=:
12576 break
12577 fi
12578 rm -f conftest.err conftest.$ac_ext
12579
12580 done
12581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12582 rm -f conftest.err conftest.$ac_ext
12583 if $ac_preproc_ok; then
12584 break
12585 fi
12586
12587 done
12588 ac_cv_prog_CPP=$CPP
12589
12590 fi
12591 CPP=$ac_cv_prog_CPP
12592 else
12593 ac_cv_prog_CPP=$CPP
12594 fi
12595 echo "$as_me:$LINENO: result: $CPP" >&5
12596 echo "${ECHO_T}$CPP" >&6
12597 ac_preproc_ok=false
12598 for ac_c_preproc_warn_flag in '' yes
12599 do
12600 # Use a header file that comes with gcc, so configuring glibc
12601 # with a fresh cross-compiler works.
12602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12603 # <limits.h> exists even on freestanding compilers.
12604 # On the NeXT, cc -E runs the code through the compiler's parser,
12605 # not just through cpp. "Syntax error" is here to catch this case.
12606 cat >conftest.$ac_ext <<_ACEOF
12607 /* confdefs.h. */
12608 _ACEOF
12609 cat confdefs.h >>conftest.$ac_ext
12610 cat >>conftest.$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 #ifdef __STDC__
12613 # include <limits.h>
12614 #else
12615 # include <assert.h>
12616 #endif
12617 Syntax error
12618 _ACEOF
12619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } >/dev/null; then
12627 if test -s conftest.err; then
12628 ac_cpp_err=$ac_c_preproc_warn_flag
12629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12630 else
12631 ac_cpp_err=
12632 fi
12633 else
12634 ac_cpp_err=yes
12635 fi
12636 if test -z "$ac_cpp_err"; then
12637 :
12638 else
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12641
12642 # Broken: fails on valid input.
12643 continue
12644 fi
12645 rm -f conftest.err conftest.$ac_ext
12646
12647 # OK, works on sane cases. Now check whether non-existent headers
12648 # can be detected and how.
12649 cat >conftest.$ac_ext <<_ACEOF
12650 /* confdefs.h. */
12651 _ACEOF
12652 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12655 #include <ac_nonexistent.h>
12656 _ACEOF
12657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12659 ac_status=$?
12660 grep -v '^ *+' conftest.er1 >conftest.err
12661 rm -f conftest.er1
12662 cat conftest.err >&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } >/dev/null; then
12665 if test -s conftest.err; then
12666 ac_cpp_err=$ac_c_preproc_warn_flag
12667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12668 else
12669 ac_cpp_err=
12670 fi
12671 else
12672 ac_cpp_err=yes
12673 fi
12674 if test -z "$ac_cpp_err"; then
12675 # Broken: success on invalid input.
12676 continue
12677 else
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12680
12681 # Passes both tests.
12682 ac_preproc_ok=:
12683 break
12684 fi
12685 rm -f conftest.err conftest.$ac_ext
12686
12687 done
12688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12689 rm -f conftest.err conftest.$ac_ext
12690 if $ac_preproc_ok; then
12691 :
12692 else
12693 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12694 See \`config.log' for more details." >&5
12695 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12696 See \`config.log' for more details." >&2;}
12697 { (exit 1); exit 1; }; }
12698 fi
12699
12700 ac_ext=c
12701 ac_cpp='$CPP $CPPFLAGS'
12702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12705
12706
12707 echo "$as_me:$LINENO: checking for egrep" >&5
12708 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12709 if test "${ac_cv_prog_egrep+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 else
12712 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12713 then ac_cv_prog_egrep='grep -E'
12714 else ac_cv_prog_egrep='egrep'
12715 fi
12716 fi
12717 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12718 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12719 EGREP=$ac_cv_prog_egrep
12720
12721
12722 if test $ac_cv_c_compiler_gnu = yes; then
12723 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12724 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12725 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 else
12728 ac_pattern="Autoconf.*'x'"
12729 cat >conftest.$ac_ext <<_ACEOF
12730 /* confdefs.h. */
12731 _ACEOF
12732 cat confdefs.h >>conftest.$ac_ext
12733 cat >>conftest.$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12735 #include <sgtty.h>
12736 Autoconf TIOCGETP
12737 _ACEOF
12738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12739 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12740 ac_cv_prog_gcc_traditional=yes
12741 else
12742 ac_cv_prog_gcc_traditional=no
12743 fi
12744 rm -f conftest*
12745
12746
12747 if test $ac_cv_prog_gcc_traditional = no; then
12748 cat >conftest.$ac_ext <<_ACEOF
12749 /* confdefs.h. */
12750 _ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 #include <termio.h>
12755 Autoconf TCGETA
12756 _ACEOF
12757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12758 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12759 ac_cv_prog_gcc_traditional=yes
12760 fi
12761 rm -f conftest*
12762
12763 fi
12764 fi
12765 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12766 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12767 if test $ac_cv_prog_gcc_traditional = yes; then
12768 CC="$CC -traditional"
12769 fi
12770 fi
12771
12772
12773
12774
12775 ac_ext=cc
12776 ac_cpp='$CXXCPP $CPPFLAGS'
12777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12780
12781
12782 CXXFLAGS=${CXXFLAGS:=}
12783
12784
12785
12786 ac_ext=cc
12787 ac_cpp='$CXXCPP $CPPFLAGS'
12788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12791 if test -n "$ac_tool_prefix"; then
12792 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12793 do
12794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12796 echo "$as_me:$LINENO: checking for $ac_word" >&5
12797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12798 if test "${ac_cv_prog_CXX+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 else
12801 if test -n "$CXX"; then
12802 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12803 else
12804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12805 for as_dir in $PATH
12806 do
12807 IFS=$as_save_IFS
12808 test -z "$as_dir" && as_dir=.
12809 for ac_exec_ext in '' $ac_executable_extensions; do
12810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12811 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12813 break 2
12814 fi
12815 done
12816 done
12817
12818 fi
12819 fi
12820 CXX=$ac_cv_prog_CXX
12821 if test -n "$CXX"; then
12822 echo "$as_me:$LINENO: result: $CXX" >&5
12823 echo "${ECHO_T}$CXX" >&6
12824 else
12825 echo "$as_me:$LINENO: result: no" >&5
12826 echo "${ECHO_T}no" >&6
12827 fi
12828
12829 test -n "$CXX" && break
12830 done
12831 fi
12832 if test -z "$CXX"; then
12833 ac_ct_CXX=$CXX
12834 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12835 do
12836 # Extract the first word of "$ac_prog", so it can be a program name with args.
12837 set dummy $ac_prog; ac_word=$2
12838 echo "$as_me:$LINENO: checking for $ac_word" >&5
12839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12840 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 if test -n "$ac_ct_CXX"; then
12844 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12845 else
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12848 do
12849 IFS=$as_save_IFS
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_prog_ac_ct_CXX="$ac_prog"
12854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12855 break 2
12856 fi
12857 done
12858 done
12859
12860 fi
12861 fi
12862 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12863 if test -n "$ac_ct_CXX"; then
12864 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12865 echo "${ECHO_T}$ac_ct_CXX" >&6
12866 else
12867 echo "$as_me:$LINENO: result: no" >&5
12868 echo "${ECHO_T}no" >&6
12869 fi
12870
12871 test -n "$ac_ct_CXX" && break
12872 done
12873 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12874
12875 CXX=$ac_ct_CXX
12876 fi
12877
12878
12879 # Provide some information about the compiler.
12880 echo "$as_me:$LINENO:" \
12881 "checking for C++ compiler version" >&5
12882 ac_compiler=`set X $ac_compile; echo $2`
12883 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12884 (eval $ac_compiler --version </dev/null >&5) 2>&5
12885 ac_status=$?
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }
12888 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12889 (eval $ac_compiler -v </dev/null >&5) 2>&5
12890 ac_status=$?
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }
12893 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12894 (eval $ac_compiler -V </dev/null >&5) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }
12898
12899 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12900 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12901 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914 #ifndef __GNUC__
12915 choke me
12916 #endif
12917
12918 ;
12919 return 0;
12920 }
12921 _ACEOF
12922 rm -f conftest.$ac_objext
12923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12924 (eval $ac_compile) 2>conftest.er1
12925 ac_status=$?
12926 grep -v '^ *+' conftest.er1 >conftest.err
12927 rm -f conftest.er1
12928 cat conftest.err >&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } &&
12931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12934 ac_status=$?
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try='test -s conftest.$ac_objext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 ac_compiler_gnu=yes
12944 else
12945 echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.$ac_ext >&5
12947
12948 ac_compiler_gnu=no
12949 fi
12950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12952
12953 fi
12954 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12955 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12956 GXX=`test $ac_compiler_gnu = yes && echo yes`
12957 ac_test_CXXFLAGS=${CXXFLAGS+set}
12958 ac_save_CXXFLAGS=$CXXFLAGS
12959 CXXFLAGS="-g"
12960 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12961 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12962 if test "${ac_cv_prog_cxx_g+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 else
12965 cat >conftest.$ac_ext <<_ACEOF
12966 /* confdefs.h. */
12967 _ACEOF
12968 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971
12972 int
12973 main ()
12974 {
12975
12976 ;
12977 return 0;
12978 }
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_cv_prog_cxx_g=yes
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13005
13006 ac_cv_prog_cxx_g=no
13007 fi
13008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13009 fi
13010 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13011 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13012 if test "$ac_test_CXXFLAGS" = set; then
13013 CXXFLAGS=$ac_save_CXXFLAGS
13014 elif test $ac_cv_prog_cxx_g = yes; then
13015 if test "$GXX" = yes; then
13016 CXXFLAGS="-g -O2"
13017 else
13018 CXXFLAGS="-g"
13019 fi
13020 else
13021 if test "$GXX" = yes; then
13022 CXXFLAGS="-O2"
13023 else
13024 CXXFLAGS=
13025 fi
13026 fi
13027 for ac_declaration in \
13028 '' \
13029 'extern "C" void std::exit (int) throw (); using std::exit;' \
13030 'extern "C" void std::exit (int); using std::exit;' \
13031 'extern "C" void exit (int) throw ();' \
13032 'extern "C" void exit (int);' \
13033 'void exit (int);'
13034 do
13035 cat >conftest.$ac_ext <<_ACEOF
13036 /* confdefs.h. */
13037 _ACEOF
13038 cat confdefs.h >>conftest.$ac_ext
13039 cat >>conftest.$ac_ext <<_ACEOF
13040 /* end confdefs.h. */
13041 $ac_declaration
13042 #include <stdlib.h>
13043 int
13044 main ()
13045 {
13046 exit (42);
13047 ;
13048 return 0;
13049 }
13050 _ACEOF
13051 rm -f conftest.$ac_objext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 :
13073 else
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13076
13077 continue
13078 fi
13079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13080 cat >conftest.$ac_ext <<_ACEOF
13081 /* confdefs.h. */
13082 _ACEOF
13083 cat confdefs.h >>conftest.$ac_ext
13084 cat >>conftest.$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 $ac_declaration
13087 int
13088 main ()
13089 {
13090 exit (42);
13091 ;
13092 return 0;
13093 }
13094 _ACEOF
13095 rm -f conftest.$ac_objext
13096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13097 (eval $ac_compile) 2>conftest.er1
13098 ac_status=$?
13099 grep -v '^ *+' conftest.er1 >conftest.err
13100 rm -f conftest.er1
13101 cat conftest.err >&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); } &&
13104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13107 ac_status=$?
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; } &&
13110 { ac_try='test -s conftest.$ac_objext'
13111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13112 (eval $ac_try) 2>&5
13113 ac_status=$?
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); }; }; then
13116 break
13117 else
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.$ac_ext >&5
13120
13121 fi
13122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13123 done
13124 rm -f conftest*
13125 if test -n "$ac_declaration"; then
13126 echo '#ifdef __cplusplus' >>confdefs.h
13127 echo $ac_declaration >>confdefs.h
13128 echo '#endif' >>confdefs.h
13129 fi
13130
13131 ac_ext=cc
13132 ac_cpp='$CXXCPP $CPPFLAGS'
13133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13136
13137
13138
13139 ac_ext=cc
13140 ac_cpp='$CXXCPP $CPPFLAGS'
13141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13144
13145 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13146 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13147 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 else
13150 cat >conftest.$ac_ext <<_ACEOF
13151 /* confdefs.h. */
13152 _ACEOF
13153 cat confdefs.h >>conftest.$ac_ext
13154 cat >>conftest.$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156
13157 int
13158 main ()
13159 {
13160
13161 #ifndef __INTEL_COMPILER
13162 choke me
13163 #endif
13164
13165 ;
13166 return 0;
13167 }
13168 _ACEOF
13169 rm -f conftest.$ac_objext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13171 (eval $ac_compile) 2>conftest.er1
13172 ac_status=$?
13173 grep -v '^ *+' conftest.er1 >conftest.err
13174 rm -f conftest.er1
13175 cat conftest.err >&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13181 ac_status=$?
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try='test -s conftest.$ac_objext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13187 ac_status=$?
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13191 else
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13194
13195 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13196
13197 fi
13198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13199
13200
13201 fi
13202 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13203 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13204 ac_ext=cc
13205 ac_cpp='$CXXCPP $CPPFLAGS'
13206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13209
13210 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13211 :; INTELCXX=yes
13212 else
13213 :;
13214 fi
13215
13216
13217 if test "x$GCXX" != "xyes"; then
13218 if test "xCXX" = "xC"; then
13219 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13220 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13221 if test "${bakefile_cv_cxx_exto+set}" = set; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 else
13224 cat >conftest.$ac_ext <<_ACEOF
13225 /* confdefs.h. */
13226 _ACEOF
13227 cat confdefs.h >>conftest.$ac_ext
13228 cat >>conftest.$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13230
13231 int
13232 main ()
13233 {
13234
13235 ;
13236 return 0;
13237 }
13238 _ACEOF
13239 rm -f conftest.$ac_objext conftest.$ac_ext.o
13240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 (eval $ac_compile) 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }; then
13245 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13246 case $ac_file in
13247 conftest.$ac_ext.o)
13248 bakefile_cv_cxx_exto="-ext o"
13249 ;;
13250 *)
13251 ;;
13252 esac
13253 done
13254 else
13255 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13256 See \`config.log' for more details." >&5
13257 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13258 See \`config.log' for more details." >&2;}
13259 { (exit 1); exit 1; }; }
13260
13261 fi
13262
13263 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13264
13265 fi
13266 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13267 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13268 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13269 if test "cxx" = "c"; then
13270 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13271 fi
13272 if test "cxx" = "cxx"; then
13273 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13274 fi
13275 fi
13276
13277 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13278 unset ac_cv_prog_cc_g
13279 ac_test_CFLAGS=${CFLAGS+set}
13280 ac_save_CFLAGS=$CFLAGS
13281 CFLAGS="-g"
13282 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13283 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13284 if test "${ac_cv_prog_cc_g+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287 cat >conftest.$ac_ext <<_ACEOF
13288 /* confdefs.h. */
13289 _ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13293
13294 int
13295 main ()
13296 {
13297
13298 ;
13299 return 0;
13300 }
13301 _ACEOF
13302 rm -f conftest.$ac_objext
13303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13304 (eval $ac_compile) 2>conftest.er1
13305 ac_status=$?
13306 grep -v '^ *+' conftest.er1 >conftest.err
13307 rm -f conftest.er1
13308 cat conftest.err >&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } &&
13311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13314 ac_status=$?
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; } &&
13317 { ac_try='test -s conftest.$ac_objext'
13318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 (eval $ac_try) 2>&5
13320 ac_status=$?
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 ac_cv_prog_cc_g=yes
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13327
13328 ac_cv_prog_cc_g=no
13329 fi
13330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13331 fi
13332 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13333 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13334 if test "$ac_test_CFLAGS" = set; then
13335 CFLAGS=$ac_save_CFLAGS
13336 elif test $ac_cv_prog_cc_g = yes; then
13337 if test "$GCC" = yes; then
13338 CFLAGS="-g -O2"
13339 else
13340 CFLAGS="-g"
13341 fi
13342 else
13343 if test "$GCC" = yes; then
13344 CFLAGS="-O2"
13345 else
13346 CFLAGS=
13347 fi
13348 fi
13349 fi
13350 fi
13351
13352 case `uname -s` in
13353 AIX*)
13354 ac_ext=cc
13355 ac_cpp='$CXXCPP $CPPFLAGS'
13356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13359
13360 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13361 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13362 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365 cat >conftest.$ac_ext <<_ACEOF
13366 /* confdefs.h. */
13367 _ACEOF
13368 cat confdefs.h >>conftest.$ac_ext
13369 cat >>conftest.$ac_ext <<_ACEOF
13370 /* end confdefs.h. */
13371
13372 int
13373 main ()
13374 {
13375 #ifndef __xlC__
13376 choke me
13377 #endif
13378
13379 ;
13380 return 0;
13381 }
13382 _ACEOF
13383 rm -f conftest.$ac_objext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13385 (eval $ac_compile) 2>conftest.er1
13386 ac_status=$?
13387 grep -v '^ *+' conftest.er1 >conftest.err
13388 rm -f conftest.er1
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } &&
13392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13394 (eval $ac_try) 2>&5
13395 ac_status=$?
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); }; } &&
13398 { ac_try='test -s conftest.$ac_objext'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13401 ac_status=$?
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; }; then
13404 bakefile_compiler_xlc=yes
13405 else
13406 echo "$as_me: failed program was:" >&5
13407 sed 's/^/| /' conftest.$ac_ext >&5
13408
13409 bakefile_compiler_xlc=no
13410 fi
13411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13412 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13413
13414 fi
13415 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13416 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13417
13418 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13419 ac_ext=cc
13420 ac_cpp='$CXXCPP $CPPFLAGS'
13421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13424
13425
13426 ;;
13427
13428 Darwin)
13429 ac_ext=cc
13430 ac_cpp='$CXXCPP $CPPFLAGS'
13431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13434
13435 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13436 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13437 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 else
13440 cat >conftest.$ac_ext <<_ACEOF
13441 /* confdefs.h. */
13442 _ACEOF
13443 cat confdefs.h >>conftest.$ac_ext
13444 cat >>conftest.$ac_ext <<_ACEOF
13445 /* end confdefs.h. */
13446
13447 int
13448 main ()
13449 {
13450 #ifndef __MWERKS__
13451 choke me
13452 #endif
13453
13454 ;
13455 return 0;
13456 }
13457 _ACEOF
13458 rm -f conftest.$ac_objext
13459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13460 (eval $ac_compile) 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13470 ac_status=$?
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; } &&
13473 { ac_try='test -s conftest.$ac_objext'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13476 ac_status=$?
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; }; then
13479 bakefile_compiler_mwerks=yes
13480 else
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13483
13484 bakefile_compiler_mwerks=no
13485 fi
13486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13487 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13488
13489 fi
13490 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13491 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13492
13493 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13494 ac_ext=cc
13495 ac_cpp='$CXXCPP $CPPFLAGS'
13496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13499
13500
13501 ac_ext=cc
13502 ac_cpp='$CXXCPP $CPPFLAGS'
13503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13506
13507 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13508 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13509 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 else
13512 cat >conftest.$ac_ext <<_ACEOF
13513 /* confdefs.h. */
13514 _ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13518
13519 int
13520 main ()
13521 {
13522 #ifndef __xlC__
13523 choke me
13524 #endif
13525
13526 ;
13527 return 0;
13528 }
13529 _ACEOF
13530 rm -f conftest.$ac_objext
13531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13532 (eval $ac_compile) 2>conftest.er1
13533 ac_status=$?
13534 grep -v '^ *+' conftest.er1 >conftest.err
13535 rm -f conftest.er1
13536 cat conftest.err >&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); } &&
13539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13542 ac_status=$?
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; } &&
13545 { ac_try='test -s conftest.$ac_objext'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13548 ac_status=$?
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; }; then
13551 bakefile_compiler_xlc=yes
13552 else
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13555
13556 bakefile_compiler_xlc=no
13557 fi
13558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13559 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13560
13561 fi
13562 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13563 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13564
13565 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13566 ac_ext=cc
13567 ac_cpp='$CXXCPP $CPPFLAGS'
13568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13571
13572
13573 ;;
13574
13575 IRIX*)
13576
13577
13578 ac_ext=cc
13579 ac_cpp='$CXXCPP $CPPFLAGS'
13580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13583
13584 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13585 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13586 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h. */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13595
13596 int
13597 main ()
13598 {
13599
13600 #ifndef _SGI_COMPILER_VERSION
13601 choke me
13602 #endif
13603
13604 ;
13605 return 0;
13606 }
13607 _ACEOF
13608 rm -f conftest.$ac_objext
13609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13610 (eval $ac_compile) 2>conftest.er1
13611 ac_status=$?
13612 grep -v '^ *+' conftest.er1 >conftest.err
13613 rm -f conftest.er1
13614 cat conftest.err >&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); } &&
13617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13620 ac_status=$?
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13630 else
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13633
13634 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13635
13636 fi
13637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13638
13639
13640 fi
13641 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13642 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13643 ac_ext=cc
13644 ac_cpp='$CXXCPP $CPPFLAGS'
13645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13648
13649 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13650 :; SGICXX=yes
13651 else
13652 :;
13653 fi
13654
13655
13656 ;;
13657
13658 HP-UX*)
13659
13660
13661 ac_ext=cc
13662 ac_cpp='$CXXCPP $CPPFLAGS'
13663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13666
13667 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13668 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13669 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13671 else
13672 cat >conftest.$ac_ext <<_ACEOF
13673 /* confdefs.h. */
13674 _ACEOF
13675 cat confdefs.h >>conftest.$ac_ext
13676 cat >>conftest.$ac_ext <<_ACEOF
13677 /* end confdefs.h. */
13678
13679 int
13680 main ()
13681 {
13682
13683 #ifndef __HP_aCC
13684 choke me
13685 #endif
13686
13687 ;
13688 return 0;
13689 }
13690 _ACEOF
13691 rm -f conftest.$ac_objext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13693 (eval $ac_compile) 2>conftest.er1
13694 ac_status=$?
13695 grep -v '^ *+' conftest.er1 >conftest.err
13696 rm -f conftest.er1
13697 cat conftest.err >&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13703 ac_status=$?
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; } &&
13706 { ac_try='test -s conftest.$ac_objext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13709 ac_status=$?
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 bakefile_cv_cxx_compiler___HP_aCC=yes
13713 else
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.$ac_ext >&5
13716
13717 bakefile_cv_cxx_compiler___HP_aCC=no
13718
13719 fi
13720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13721
13722
13723 fi
13724 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13725 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13726 ac_ext=cc
13727 ac_cpp='$CXXCPP $CPPFLAGS'
13728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13731
13732 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13733 :; HPCXX=yes
13734 else
13735 :;
13736 fi
13737
13738
13739 ;;
13740
13741 OSF1)
13742
13743
13744 ac_ext=cc
13745 ac_cpp='$CXXCPP $CPPFLAGS'
13746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13749
13750 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13751 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13752 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761
13762 int
13763 main ()
13764 {
13765
13766 #ifndef __DECCXX
13767 choke me
13768 #endif
13769
13770 ;
13771 return 0;
13772 }
13773 _ACEOF
13774 rm -f conftest.$ac_objext
13775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13776 (eval $ac_compile) 2>conftest.er1
13777 ac_status=$?
13778 grep -v '^ *+' conftest.er1 >conftest.err
13779 rm -f conftest.er1
13780 cat conftest.err >&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; } &&
13789 { ac_try='test -s conftest.$ac_objext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 bakefile_cv_cxx_compiler___DECCXX=yes
13796 else
13797 echo "$as_me: failed program was:" >&5
13798 sed 's/^/| /' conftest.$ac_ext >&5
13799
13800 bakefile_cv_cxx_compiler___DECCXX=no
13801
13802 fi
13803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13804
13805
13806 fi
13807 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13809 ac_ext=cc
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13814
13815 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13816 :; COMPAQCXX=yes
13817 else
13818 :;
13819 fi
13820
13821
13822 ;;
13823
13824 SunOS)
13825
13826
13827 ac_ext=cc
13828 ac_cpp='$CXXCPP $CPPFLAGS'
13829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13832
13833 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13834 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13835 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13837 else
13838 cat >conftest.$ac_ext <<_ACEOF
13839 /* confdefs.h. */
13840 _ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844
13845 int
13846 main ()
13847 {
13848
13849 #ifndef __SUNPRO_CC
13850 choke me
13851 #endif
13852
13853 ;
13854 return 0;
13855 }
13856 _ACEOF
13857 rm -f conftest.$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13869 ac_status=$?
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; } &&
13872 { ac_try='test -s conftest.$ac_objext'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13875 ac_status=$?
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13878 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13879 else
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.$ac_ext >&5
13882
13883 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13884
13885 fi
13886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13887
13888
13889 fi
13890 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13891 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13892 ac_ext=cc
13893 ac_cpp='$CXXCPP $CPPFLAGS'
13894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13897
13898 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13899 :; SUNCXX=yes
13900 else
13901 :;
13902 fi
13903
13904
13905 ;;
13906 esac
13907 fi
13908
13909
13910
13911 ac_ext=c
13912 ac_cpp='$CPP $CPPFLAGS'
13913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13916
13917
13918 if test -n "$ac_tool_prefix"; then
13919 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13920 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13921 echo "$as_me:$LINENO: checking for $ac_word" >&5
13922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13923 if test "${ac_cv_prog_RANLIB+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 else
13926 if test -n "$RANLIB"; then
13927 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13928 else
13929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13930 for as_dir in $PATH
13931 do
13932 IFS=$as_save_IFS
13933 test -z "$as_dir" && as_dir=.
13934 for ac_exec_ext in '' $ac_executable_extensions; do
13935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13936 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13938 break 2
13939 fi
13940 done
13941 done
13942
13943 fi
13944 fi
13945 RANLIB=$ac_cv_prog_RANLIB
13946 if test -n "$RANLIB"; then
13947 echo "$as_me:$LINENO: result: $RANLIB" >&5
13948 echo "${ECHO_T}$RANLIB" >&6
13949 else
13950 echo "$as_me:$LINENO: result: no" >&5
13951 echo "${ECHO_T}no" >&6
13952 fi
13953
13954 fi
13955 if test -z "$ac_cv_prog_RANLIB"; then
13956 ac_ct_RANLIB=$RANLIB
13957 # Extract the first word of "ranlib", so it can be a program name with args.
13958 set dummy ranlib; ac_word=$2
13959 echo "$as_me:$LINENO: checking for $ac_word" >&5
13960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 else
13964 if test -n "$ac_ct_RANLIB"; then
13965 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13966 else
13967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13968 for as_dir in $PATH
13969 do
13970 IFS=$as_save_IFS
13971 test -z "$as_dir" && as_dir=.
13972 for ac_exec_ext in '' $ac_executable_extensions; do
13973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_prog_ac_ct_RANLIB="ranlib"
13975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13976 break 2
13977 fi
13978 done
13979 done
13980
13981 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13982 fi
13983 fi
13984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13985 if test -n "$ac_ct_RANLIB"; then
13986 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13987 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13988 else
13989 echo "$as_me:$LINENO: result: no" >&5
13990 echo "${ECHO_T}no" >&6
13991 fi
13992
13993 RANLIB=$ac_ct_RANLIB
13994 else
13995 RANLIB="$ac_cv_prog_RANLIB"
13996 fi
13997
13998
13999 if test -n "$ac_tool_prefix"; then
14000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14001 set dummy ${ac_tool_prefix}ar; ac_word=$2
14002 echo "$as_me:$LINENO: checking for $ac_word" >&5
14003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14004 if test "${ac_cv_prog_AR+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 else
14007 if test -n "$AR"; then
14008 ac_cv_prog_AR="$AR" # Let the user override the test.
14009 else
14010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14011 for as_dir in $PATH
14012 do
14013 IFS=$as_save_IFS
14014 test -z "$as_dir" && as_dir=.
14015 for ac_exec_ext in '' $ac_executable_extensions; do
14016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14017 ac_cv_prog_AR="${ac_tool_prefix}ar"
14018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14019 break 2
14020 fi
14021 done
14022 done
14023
14024 fi
14025 fi
14026 AR=$ac_cv_prog_AR
14027 if test -n "$AR"; then
14028 echo "$as_me:$LINENO: result: $AR" >&5
14029 echo "${ECHO_T}$AR" >&6
14030 else
14031 echo "$as_me:$LINENO: result: no" >&5
14032 echo "${ECHO_T}no" >&6
14033 fi
14034
14035 fi
14036 if test -z "$ac_cv_prog_AR"; then
14037 ac_ct_AR=$AR
14038 # Extract the first word of "ar", so it can be a program name with args.
14039 set dummy ar; ac_word=$2
14040 echo "$as_me:$LINENO: checking for $ac_word" >&5
14041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14042 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14043 echo $ECHO_N "(cached) $ECHO_C" >&6
14044 else
14045 if test -n "$ac_ct_AR"; then
14046 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14047 else
14048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14049 for as_dir in $PATH
14050 do
14051 IFS=$as_save_IFS
14052 test -z "$as_dir" && as_dir=.
14053 for ac_exec_ext in '' $ac_executable_extensions; do
14054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14055 ac_cv_prog_ac_ct_AR="ar"
14056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14057 break 2
14058 fi
14059 done
14060 done
14061
14062 fi
14063 fi
14064 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14065 if test -n "$ac_ct_AR"; then
14066 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14067 echo "${ECHO_T}$ac_ct_AR" >&6
14068 else
14069 echo "$as_me:$LINENO: result: no" >&5
14070 echo "${ECHO_T}no" >&6
14071 fi
14072
14073 AR=$ac_ct_AR
14074 else
14075 AR="$ac_cv_prog_AR"
14076 fi
14077
14078 if test "x$AR" = "x" ; then
14079 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14080 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14081 { (exit 1); exit 1; }; }
14082 fi
14083
14084 # Find a good install program. We prefer a C program (faster),
14085 # so one script is as good as another. But avoid the broken or
14086 # incompatible versions:
14087 # SysV /etc/install, /usr/sbin/install
14088 # SunOS /usr/etc/install
14089 # IRIX /sbin/install
14090 # AIX /bin/install
14091 # AmigaOS /C/install, which installs bootblocks on floppy discs
14092 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14093 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14094 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14095 # OS/2's system install, which has a completely different semantic
14096 # ./install, which can be erroneously created by make from ./install.sh.
14097 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14098 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14099 if test -z "$INSTALL"; then
14100 if test "${ac_cv_path_install+set}" = set; then
14101 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 else
14103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14104 for as_dir in $PATH
14105 do
14106 IFS=$as_save_IFS
14107 test -z "$as_dir" && as_dir=.
14108 # Account for people who put trailing slashes in PATH elements.
14109 case $as_dir/ in
14110 ./ | .// | /cC/* | \
14111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14112 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14113 /usr/ucb/* ) ;;
14114 *)
14115 # OSF1 and SCO ODT 3.0 have their own names for install.
14116 # Don't use installbsd from OSF since it installs stuff as root
14117 # by default.
14118 for ac_prog in ginstall scoinst install; do
14119 for ac_exec_ext in '' $ac_executable_extensions; do
14120 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14121 if test $ac_prog = install &&
14122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14123 # AIX install. It has an incompatible calling convention.
14124 :
14125 elif test $ac_prog = install &&
14126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14127 # program-specific install script used by HP pwplus--don't use.
14128 :
14129 else
14130 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14131 break 3
14132 fi
14133 fi
14134 done
14135 done
14136 ;;
14137 esac
14138 done
14139
14140
14141 fi
14142 if test "${ac_cv_path_install+set}" = set; then
14143 INSTALL=$ac_cv_path_install
14144 else
14145 # As a last resort, use the slow shell script. We don't cache a
14146 # path for INSTALL within a source directory, because that will
14147 # break other packages using the cache if that directory is
14148 # removed, or if the path is relative.
14149 INSTALL=$ac_install_sh
14150 fi
14151 fi
14152 echo "$as_me:$LINENO: result: $INSTALL" >&5
14153 echo "${ECHO_T}$INSTALL" >&6
14154
14155 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14156 # It thinks the first close brace ends the variable substitution.
14157 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14158
14159 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14160
14161 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14162
14163
14164 case ${INSTALL} in
14165 /* ) # Absolute
14166 ;;
14167 ?:* ) # Drive letter, considered as absolute.
14168 ;;
14169 *)
14170 INSTALL=`pwd`/${INSTALL} ;;
14171 esac
14172
14173
14174 case "${host}" in
14175
14176 *-*-darwin* )
14177 INSTALL_PROGRAM="cp -fp"
14178 INSTALL_DATA="cp -fp"
14179 ;;
14180 *)
14181 ;;
14182 esac
14183
14184 if test -n "$ac_tool_prefix"; then
14185 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14186 set dummy ${ac_tool_prefix}strip; ac_word=$2
14187 echo "$as_me:$LINENO: checking for $ac_word" >&5
14188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14189 if test "${ac_cv_prog_STRIP+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 if test -n "$STRIP"; then
14193 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14194 else
14195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14197 do
14198 IFS=$as_save_IFS
14199 test -z "$as_dir" && as_dir=.
14200 for ac_exec_ext in '' $ac_executable_extensions; do
14201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14202 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14204 break 2
14205 fi
14206 done
14207 done
14208
14209 fi
14210 fi
14211 STRIP=$ac_cv_prog_STRIP
14212 if test -n "$STRIP"; then
14213 echo "$as_me:$LINENO: result: $STRIP" >&5
14214 echo "${ECHO_T}$STRIP" >&6
14215 else
14216 echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6
14218 fi
14219
14220 fi
14221 if test -z "$ac_cv_prog_STRIP"; then
14222 ac_ct_STRIP=$STRIP
14223 # Extract the first word of "strip", so it can be a program name with args.
14224 set dummy strip; ac_word=$2
14225 echo "$as_me:$LINENO: checking for $ac_word" >&5
14226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14227 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 if test -n "$ac_ct_STRIP"; then
14231 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14232 else
14233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14234 for as_dir in $PATH
14235 do
14236 IFS=$as_save_IFS
14237 test -z "$as_dir" && as_dir=.
14238 for ac_exec_ext in '' $ac_executable_extensions; do
14239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14240 ac_cv_prog_ac_ct_STRIP="strip"
14241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14242 break 2
14243 fi
14244 done
14245 done
14246
14247 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14248 fi
14249 fi
14250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14251 if test -n "$ac_ct_STRIP"; then
14252 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14253 echo "${ECHO_T}$ac_ct_STRIP" >&6
14254 else
14255 echo "$as_me:$LINENO: result: no" >&5
14256 echo "${ECHO_T}no" >&6
14257 fi
14258
14259 STRIP=$ac_ct_STRIP
14260 else
14261 STRIP="$ac_cv_prog_STRIP"
14262 fi
14263
14264
14265 if test "$wxUSE_WINE" = "yes"; then
14266 if test -n "$ac_tool_prefix"; then
14267 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14268 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14269 echo "$as_me:$LINENO: checking for $ac_word" >&5
14270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14271 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 else
14274 if test -n "$RESCOMP"; then
14275 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14276 else
14277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14278 for as_dir in $PATH
14279 do
14280 IFS=$as_save_IFS
14281 test -z "$as_dir" && as_dir=.
14282 for ac_exec_ext in '' $ac_executable_extensions; do
14283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14284 ac_cv_prog_RESCOMP="${ac_tool_prefix}wrc"
14285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14286 break 2
14287 fi
14288 done
14289 done
14290
14291 fi
14292 fi
14293 RESCOMP=$ac_cv_prog_RESCOMP
14294 if test -n "$RESCOMP"; then
14295 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14296 echo "${ECHO_T}$RESCOMP" >&6
14297 else
14298 echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6
14300 fi
14301
14302 fi
14303 if test -z "$ac_cv_prog_RESCOMP"; then
14304 ac_ct_RESCOMP=$RESCOMP
14305 # Extract the first word of "wrc", so it can be a program name with args.
14306 set dummy wrc; ac_word=$2
14307 echo "$as_me:$LINENO: checking for $ac_word" >&5
14308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14309 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 else
14312 if test -n "$ac_ct_RESCOMP"; then
14313 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14314 else
14315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14316 for as_dir in $PATH
14317 do
14318 IFS=$as_save_IFS
14319 test -z "$as_dir" && as_dir=.
14320 for ac_exec_ext in '' $ac_executable_extensions; do
14321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14322 ac_cv_prog_ac_ct_RESCOMP="wrc"
14323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14324 break 2
14325 fi
14326 done
14327 done
14328
14329 fi
14330 fi
14331 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14332 if test -n "$ac_ct_RESCOMP"; then
14333 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14334 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14335 else
14336 echo "$as_me:$LINENO: result: no" >&5
14337 echo "${ECHO_T}no" >&6
14338 fi
14339
14340 RESCOMP=$ac_ct_RESCOMP
14341 else
14342 RESCOMP="$ac_cv_prog_RESCOMP"
14343 fi
14344
14345 else
14346 case "${host}" in
14347 *-*-cygwin* | *-*-mingw32* )
14348 if test -n "$ac_tool_prefix"; then
14349 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14350 set dummy ${ac_tool_prefix}windres; ac_word=$2
14351 echo "$as_me:$LINENO: checking for $ac_word" >&5
14352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14353 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 if test -n "$RESCOMP"; then
14357 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14358 else
14359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14360 for as_dir in $PATH
14361 do
14362 IFS=$as_save_IFS
14363 test -z "$as_dir" && as_dir=.
14364 for ac_exec_ext in '' $ac_executable_extensions; do
14365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14366 ac_cv_prog_RESCOMP="${ac_tool_prefix}windres"
14367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14368 break 2
14369 fi
14370 done
14371 done
14372
14373 fi
14374 fi
14375 RESCOMP=$ac_cv_prog_RESCOMP
14376 if test -n "$RESCOMP"; then
14377 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14378 echo "${ECHO_T}$RESCOMP" >&6
14379 else
14380 echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6
14382 fi
14383
14384 fi
14385 if test -z "$ac_cv_prog_RESCOMP"; then
14386 ac_ct_RESCOMP=$RESCOMP
14387 # Extract the first word of "windres", so it can be a program name with args.
14388 set dummy windres; ac_word=$2
14389 echo "$as_me:$LINENO: checking for $ac_word" >&5
14390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14391 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 else
14394 if test -n "$ac_ct_RESCOMP"; then
14395 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14396 else
14397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14398 for as_dir in $PATH
14399 do
14400 IFS=$as_save_IFS
14401 test -z "$as_dir" && as_dir=.
14402 for ac_exec_ext in '' $ac_executable_extensions; do
14403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14404 ac_cv_prog_ac_ct_RESCOMP="windres"
14405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14406 break 2
14407 fi
14408 done
14409 done
14410
14411 fi
14412 fi
14413 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14414 if test -n "$ac_ct_RESCOMP"; then
14415 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14416 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14417 else
14418 echo "$as_me:$LINENO: result: no" >&5
14419 echo "${ECHO_T}no" >&6
14420 fi
14421
14422 RESCOMP=$ac_ct_RESCOMP
14423 else
14424 RESCOMP="$ac_cv_prog_RESCOMP"
14425 fi
14426
14427 if test -n "$ac_tool_prefix"; then
14428 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14430 echo "$as_me:$LINENO: checking for $ac_word" >&5
14431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14432 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14435 if test -n "$DLLTOOL"; then
14436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14437 else
14438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14439 for as_dir in $PATH
14440 do
14441 IFS=$as_save_IFS
14442 test -z "$as_dir" && as_dir=.
14443 for ac_exec_ext in '' $ac_executable_extensions; do
14444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14447 break 2
14448 fi
14449 done
14450 done
14451
14452 fi
14453 fi
14454 DLLTOOL=$ac_cv_prog_DLLTOOL
14455 if test -n "$DLLTOOL"; then
14456 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14457 echo "${ECHO_T}$DLLTOOL" >&6
14458 else
14459 echo "$as_me:$LINENO: result: no" >&5
14460 echo "${ECHO_T}no" >&6
14461 fi
14462
14463 fi
14464 if test -z "$ac_cv_prog_DLLTOOL"; then
14465 ac_ct_DLLTOOL=$DLLTOOL
14466 # Extract the first word of "dlltool", so it can be a program name with args.
14467 set dummy dlltool; ac_word=$2
14468 echo "$as_me:$LINENO: checking for $ac_word" >&5
14469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14470 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 else
14473 if test -n "$ac_ct_DLLTOOL"; then
14474 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14475 else
14476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14477 for as_dir in $PATH
14478 do
14479 IFS=$as_save_IFS
14480 test -z "$as_dir" && as_dir=.
14481 for ac_exec_ext in '' $ac_executable_extensions; do
14482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14483 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14485 break 2
14486 fi
14487 done
14488 done
14489
14490 fi
14491 fi
14492 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14493 if test -n "$ac_ct_DLLTOOL"; then
14494 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14495 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14496 else
14497 echo "$as_me:$LINENO: result: no" >&5
14498 echo "${ECHO_T}no" >&6
14499 fi
14500
14501 DLLTOOL=$ac_ct_DLLTOOL
14502 else
14503 DLLTOOL="$ac_cv_prog_DLLTOOL"
14504 fi
14505
14506 ;;
14507 esac
14508 fi
14509
14510 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14511 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14512 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14514 else
14515
14516 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14517 egrep -s GNU > /dev/null); then
14518 wx_cv_prog_makeisgnu="yes"
14519 else
14520 wx_cv_prog_makeisgnu="no"
14521 fi
14522
14523 fi
14524 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14525 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14526
14527 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14528 IF_GNU_MAKE=""
14529 else
14530 IF_GNU_MAKE="#"
14531 fi
14532
14533
14534
14535 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14536 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14537 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14538 if test "${wx_cv_prog_makevpath+set}" = set; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 else
14541
14542 cat - << EOF > confMake
14543 check : file
14544 cp \$? \$@
14545 cp \$? final_file
14546 EOF
14547
14548 if test ! -d sub ; then
14549 mkdir sub
14550 fi
14551 echo dummy > sub/file
14552 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14553 RESULT=$?
14554 rm -f sub/file check final_file confMake
14555 rmdir sub
14556 if test "$RESULT" = 0; then
14557 wx_cv_prog_makevpath="yes"
14558 else
14559 wx_cv_prog_makevpath="no"
14560 fi
14561
14562 fi
14563 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14564 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14565
14566 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14567 { { echo "$as_me:$LINENO: error:
14568 You need a make-utility that is able to use the variable
14569 VPATH correctly.
14570 If your version of make does not support VPATH correctly,
14571 please install GNU-make (possibly as gmake), and start
14572 configure with the following command:
14573 export MAKE=gmake; ./configure for sh-type shells
14574 setenv MAKE gmake; ./configure for csh-type shells
14575 Also please do remember to use gmake in this case every time
14576 you are trying to compile.
14577 " >&5
14578 echo "$as_me: error:
14579 You need a make-utility that is able to use the variable
14580 VPATH correctly.
14581 If your version of make does not support VPATH correctly,
14582 please install GNU-make (possibly as gmake), and start
14583 configure with the following command:
14584 export MAKE=gmake; ./configure for sh-type shells
14585 setenv MAKE gmake; ./configure for csh-type shells
14586 Also please do remember to use gmake in this case every time
14587 you are trying to compile.
14588 " >&2;}
14589 { (exit 1); exit 1; }; }
14590 fi fi
14591 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14592 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14593 LN_S=$as_ln_s
14594 if test "$LN_S" = "ln -s"; then
14595 echo "$as_me:$LINENO: result: yes" >&5
14596 echo "${ECHO_T}yes" >&6
14597 else
14598 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14599 echo "${ECHO_T}no, using $LN_S" >&6
14600 fi
14601
14602
14603
14604 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14605 CXXFLAGS="$CXXFLAGS -qunique"
14606 fi
14607
14608 case "${host}" in
14609 powerpc-*-darwin* )
14610 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14611 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14612 cat >conftest.$ac_ext <<_ACEOF
14613 /* confdefs.h. */
14614 _ACEOF
14615 cat confdefs.h >>conftest.$ac_ext
14616 cat >>conftest.$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618
14619 int
14620 main ()
14621 {
14622 #ifndef __POWERPC__
14623 choke me for lack of PowerPC
14624 #endif
14625
14626 ;
14627 return 0;
14628 }
14629 _ACEOF
14630 rm -f conftest.$ac_objext
14631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14632 (eval $ac_compile) 2>conftest.er1
14633 ac_status=$?
14634 grep -v '^ *+' conftest.er1 >conftest.err
14635 rm -f conftest.er1
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 echo "$as_me:$LINENO: result: yes" >&5
14652 echo "${ECHO_T}yes" >&6
14653 else
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.$ac_ext >&5
14656
14657 echo "$as_me:$LINENO: result: no" >&5
14658 echo "${ECHO_T}no" >&6
14659 cat >>confdefs.h <<\_ACEOF
14660 #define __POWERPC__ 1
14661 _ACEOF
14662
14663
14664 fi
14665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14666 ;;
14667 esac
14668
14669 case "${host}" in
14670 *-*-darwin* )
14671 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14672 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14673 cat >conftest.$ac_ext <<_ACEOF
14674 /* confdefs.h. */
14675 _ACEOF
14676 cat confdefs.h >>conftest.$ac_ext
14677 cat >>conftest.$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679 #include <CoreFoundation/CFBase.h>
14680
14681 int
14682 main ()
14683 {
14684
14685 ;
14686 return 0;
14687 }
14688 _ACEOF
14689 rm -f conftest.$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>conftest.er1
14692 ac_status=$?
14693 grep -v '^ *+' conftest.er1 >conftest.err
14694 rm -f conftest.er1
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; } &&
14704 { ac_try='test -s conftest.$ac_objext'
14705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706 (eval $ac_try) 2>&5
14707 ac_status=$?
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); }; }; then
14710 echo "$as_me:$LINENO: result: yes" >&5
14711 echo "${ECHO_T}yes" >&6
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 echo "$as_me:$LINENO: result: no" >&5
14717 echo "${ECHO_T}no" >&6
14718 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14719 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14720 cat >conftest.$ac_ext <<_ACEOF
14721 /* confdefs.h. */
14722 _ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #define __CF_USE_FRAMEWORK_INCLUDES__
14727 #include <CoreFoundation/CFBase.h>
14728
14729 int
14730 main ()
14731 {
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; } &&
14752 { ac_try='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14755 ac_status=$?
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 echo "$as_me:$LINENO: result: yes" >&5
14759 echo "${ECHO_T}yes" >&6
14760 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14761 else
14762 echo "$as_me: failed program was:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14764
14765 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14766 See \`config.log' for more details." >&5
14767 echo "$as_me: error: no. CoreFoundation not available.
14768 See \`config.log' for more details." >&2;}
14769 { (exit 1); exit 1; }; }
14770
14771 fi
14772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14773
14774
14775 fi
14776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14777 ;;
14778 esac
14779
14780 case "${host}" in
14781 *-pc-os2_emx | *-pc-os2-emx )
14782 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14783 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14784 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14785 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 else
14788 ac_check_lib_save_LIBS=$LIBS
14789 LIBS="-lcExt $LIBS"
14790 cat >conftest.$ac_ext <<_ACEOF
14791 /* confdefs.h. */
14792 _ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14796
14797 /* Override any gcc2 internal prototype to avoid an error. */
14798 #ifdef __cplusplus
14799 extern "C"
14800 #endif
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14803 char drand48 ();
14804 int
14805 main ()
14806 {
14807 drand48 ();
14808 ;
14809 return 0;
14810 }
14811 _ACEOF
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14814 (eval $ac_link) 2>conftest.er1
14815 ac_status=$?
14816 grep -v '^ *+' conftest.er1 >conftest.err
14817 rm -f conftest.er1
14818 cat conftest.err >&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14824 ac_status=$?
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; } &&
14827 { ac_try='test -s conftest$ac_exeext'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_cv_lib_cExt_drand48=yes
14834 else
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14837
14838 ac_cv_lib_cExt_drand48=no
14839 fi
14840 rm -f conftest.err conftest.$ac_objext \
14841 conftest$ac_exeext conftest.$ac_ext
14842 LIBS=$ac_check_lib_save_LIBS
14843 fi
14844 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14845 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14846 if test $ac_cv_lib_cExt_drand48 = yes; then
14847 LIBS="$LIBS -lcExt"
14848 fi
14849
14850 else
14851 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
14852 fi
14853 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14854 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14855 if test "${wx_cv_gccversion+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 else
14858
14859 if test "$cross_compiling" = yes; then
14860 wx_cv_gccversion="EMX2"
14861
14862 else
14863 cat >conftest.$ac_ext <<_ACEOF
14864 /* confdefs.h. */
14865 _ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869
14870 #include <stdio.h>
14871
14872 int main()
14873 {
14874 FILE *f=fopen("conftestval", "w");
14875 if (!f) exit(1);
14876 fprintf(f,
14877 #if (__GNUC__ < 3)
14878 "EMX2"
14879 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14880 "EMX3"
14881 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14882 "Innotek5"
14883 #else
14884 "Innotek6"
14885 #endif
14886 );
14887 exit(0);
14888 }
14889
14890 _ACEOF
14891 rm -f conftest$ac_exeext
14892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14893 (eval $ac_link) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; }; then
14902 wx_cv_gccversion=`cat conftestval`
14903 else
14904 echo "$as_me: program exited with status $ac_status" >&5
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14907
14908 ( exit $ac_status )
14909 wx_cv_gccversion="EMX2"
14910 fi
14911 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14912 fi
14913
14914 fi
14915 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14916 echo "${ECHO_T}$wx_cv_gccversion" >&6
14917 if test "$wx_cv_gccversion" = "EMX2"; then
14918 LIBS="$LIBS -lstdcpp"
14919 LDFLAGS="$LDFLAGS -Zsysv-signals"
14920 else
14921 if test "$wx_cv_gccversion" = "EMX3"; then
14922 LIBS="$LIBS -lstdcxx -lgcc"
14923 LDFLAGS="$LDFLAGS -Zsysv-signals"
14924 else
14925 LIBS="$LIBS -lstdc++"
14926 fi
14927 fi
14928 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14929 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14930 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14931 wxUSE_OMF=yes
14932 enable_omf=yes
14933 fi
14934 ;;
14935 *)
14936
14937
14938
14939 ac_ext=cc
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14944
14945
14946 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14947 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14948 if test "${ac_cv_string_strcasecmp+set}" = set; then
14949 echo $ECHO_N "(cached) $ECHO_C" >&6
14950 else
14951
14952 cat >conftest.$ac_ext <<_ACEOF
14953 /* confdefs.h. */
14954 _ACEOF
14955 cat confdefs.h >>conftest.$ac_ext
14956 cat >>conftest.$ac_ext <<_ACEOF
14957 /* end confdefs.h. */
14958
14959 #include <string.h>
14960
14961 int
14962 main ()
14963 {
14964
14965 strcasecmp("foo", "bar");
14966
14967 ;
14968 return 0;
14969 }
14970 _ACEOF
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14973 (eval $ac_link) 2>conftest.er1
14974 ac_status=$?
14975 grep -v '^ *+' conftest.er1 >conftest.err
14976 rm -f conftest.er1
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14983 ac_status=$?
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; } &&
14986 { ac_try='test -s conftest$ac_exeext'
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14989 ac_status=$?
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; }; then
14992 ac_cv_string_strcasecmp=yes
14993 else
14994 echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14996
14997 ac_cv_string_strcasecmp=no
14998
14999 fi
15000 rm -f conftest.err conftest.$ac_objext \
15001 conftest$ac_exeext conftest.$ac_ext
15002
15003 fi
15004 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15005 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15006
15007 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15008 cat >>confdefs.h <<\_ACEOF
15009 #define HAVE_STRCASECMP_IN_STRING_H 1
15010 _ACEOF
15011
15012 else
15013 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15014 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15015 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 else
15018
15019 cat >conftest.$ac_ext <<_ACEOF
15020 /* confdefs.h. */
15021 _ACEOF
15022 cat confdefs.h >>conftest.$ac_ext
15023 cat >>conftest.$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15025
15026 #include <strings.h>
15027
15028 int
15029 main ()
15030 {
15031
15032 strcasecmp("foo", "bar");
15033
15034 ;
15035 return 0;
15036 }
15037 _ACEOF
15038 rm -f conftest.$ac_objext conftest$ac_exeext
15039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15040 (eval $ac_link) 2>conftest.er1
15041 ac_status=$?
15042 grep -v '^ *+' conftest.er1 >conftest.err
15043 rm -f conftest.er1
15044 cat conftest.err >&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } &&
15047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15050 ac_status=$?
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; } &&
15053 { ac_try='test -s conftest$ac_exeext'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15056 ac_status=$?
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; }; then
15059 ac_cv_strings_strcasecmp=yes
15060 else
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15063
15064 ac_cv_strings_strcasecmp=no
15065
15066 fi
15067 rm -f conftest.err conftest.$ac_objext \
15068 conftest$ac_exeext conftest.$ac_ext
15069
15070 fi
15071 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15072 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15073
15074 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15075 cat >>confdefs.h <<\_ACEOF
15076 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15077 _ACEOF
15078
15079 else
15080 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15081 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15082 { (exit 1); exit 1; }; }
15083 fi
15084 fi
15085
15086 ac_ext=c
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15091
15092 ;;
15093 esac
15094
15095
15096 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15097 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15098 if test "${ac_cv_header_stdc+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 else
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15107 #include <stdlib.h>
15108 #include <stdarg.h>
15109 #include <string.h>
15110 #include <float.h>
15111
15112 int
15113 main ()
15114 {
15115
15116 ;
15117 return 0;
15118 }
15119 _ACEOF
15120 rm -f conftest.$ac_objext
15121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15122 (eval $ac_compile) 2>conftest.er1
15123 ac_status=$?
15124 grep -v '^ *+' conftest.er1 >conftest.err
15125 rm -f conftest.er1
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); } &&
15129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15138 ac_status=$?
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15141 ac_cv_header_stdc=yes
15142 else
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.$ac_ext >&5
15145
15146 ac_cv_header_stdc=no
15147 fi
15148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15149
15150 if test $ac_cv_header_stdc = yes; then
15151 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15152 cat >conftest.$ac_ext <<_ACEOF
15153 /* confdefs.h. */
15154 _ACEOF
15155 cat confdefs.h >>conftest.$ac_ext
15156 cat >>conftest.$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15158 #include <string.h>
15159
15160 _ACEOF
15161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15162 $EGREP "memchr" >/dev/null 2>&1; then
15163 :
15164 else
15165 ac_cv_header_stdc=no
15166 fi
15167 rm -f conftest*
15168
15169 fi
15170
15171 if test $ac_cv_header_stdc = yes; then
15172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15173 cat >conftest.$ac_ext <<_ACEOF
15174 /* confdefs.h. */
15175 _ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 #include <stdlib.h>
15180
15181 _ACEOF
15182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15183 $EGREP "free" >/dev/null 2>&1; then
15184 :
15185 else
15186 ac_cv_header_stdc=no
15187 fi
15188 rm -f conftest*
15189
15190 fi
15191
15192 if test $ac_cv_header_stdc = yes; then
15193 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15194 if test "$cross_compiling" = yes; then
15195 :
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 #include <ctype.h>
15204 #if ((' ' & 0x0FF) == 0x020)
15205 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15206 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15207 #else
15208 # define ISLOWER(c) \
15209 (('a' <= (c) && (c) <= 'i') \
15210 || ('j' <= (c) && (c) <= 'r') \
15211 || ('s' <= (c) && (c) <= 'z'))
15212 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15213 #endif
15214
15215 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15216 int
15217 main ()
15218 {
15219 int i;
15220 for (i = 0; i < 256; i++)
15221 if (XOR (islower (i), ISLOWER (i))
15222 || toupper (i) != TOUPPER (i))
15223 exit(2);
15224 exit (0);
15225 }
15226 _ACEOF
15227 rm -f conftest$ac_exeext
15228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15229 (eval $ac_link) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15235 ac_status=$?
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; }; then
15238 :
15239 else
15240 echo "$as_me: program exited with status $ac_status" >&5
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15243
15244 ( exit $ac_status )
15245 ac_cv_header_stdc=no
15246 fi
15247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15248 fi
15249 fi
15250 fi
15251 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15252 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15253 if test $ac_cv_header_stdc = yes; then
15254
15255 cat >>confdefs.h <<\_ACEOF
15256 #define STDC_HEADERS 1
15257 _ACEOF
15258
15259 fi
15260
15261 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15272 inttypes.h stdint.h unistd.h
15273 do
15274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15275 echo "$as_me:$LINENO: checking for $ac_header" >&5
15276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 $ac_includes_default
15287
15288 #include <$ac_header>
15289 _ACEOF
15290 rm -f conftest.$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } &&
15299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15302 ac_status=$?
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; } &&
15305 { ac_try='test -s conftest.$ac_objext'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15308 ac_status=$?
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; }; then
15311 eval "$as_ac_Header=yes"
15312 else
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15315
15316 eval "$as_ac_Header=no"
15317 fi
15318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15319 fi
15320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15323 cat >>confdefs.h <<_ACEOF
15324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15325 _ACEOF
15326
15327 fi
15328
15329 done
15330
15331
15332
15333 for ac_header in stdlib.h
15334 do
15335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15337 echo "$as_me:$LINENO: checking for $ac_header" >&5
15338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 fi
15342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15344 else
15345 # Is the header compilable?
15346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15348 cat >conftest.$ac_ext <<_ACEOF
15349 /* confdefs.h. */
15350 _ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 $ac_includes_default
15355 #include <$ac_header>
15356 _ACEOF
15357 rm -f conftest.$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359 (eval $ac_compile) 2>conftest.er1
15360 ac_status=$?
15361 grep -v '^ *+' conftest.er1 >conftest.err
15362 rm -f conftest.er1
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15369 ac_status=$?
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try='test -s conftest.$ac_objext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15378 ac_header_compiler=yes
15379 else
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15382
15383 ac_header_compiler=no
15384 fi
15385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15387 echo "${ECHO_T}$ac_header_compiler" >&6
15388
15389 # Is the header present?
15390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15392 cat >conftest.$ac_ext <<_ACEOF
15393 /* confdefs.h. */
15394 _ACEOF
15395 cat confdefs.h >>conftest.$ac_ext
15396 cat >>conftest.$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 #include <$ac_header>
15399 _ACEOF
15400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } >/dev/null; then
15408 if test -s conftest.err; then
15409 ac_cpp_err=$ac_c_preproc_warn_flag
15410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15411 else
15412 ac_cpp_err=
15413 fi
15414 else
15415 ac_cpp_err=yes
15416 fi
15417 if test -z "$ac_cpp_err"; then
15418 ac_header_preproc=yes
15419 else
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15422
15423 ac_header_preproc=no
15424 fi
15425 rm -f conftest.err conftest.$ac_ext
15426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15427 echo "${ECHO_T}$ac_header_preproc" >&6
15428
15429 # So? What about this header?
15430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15431 yes:no: )
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15436 ac_header_preproc=yes
15437 ;;
15438 no:yes:* )
15439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15451 (
15452 cat <<\_ASBOX
15453 ## ----------------------------------------- ##
15454 ## Report this to wx-dev@lists.wxwidgets.org ##
15455 ## ----------------------------------------- ##
15456 _ASBOX
15457 ) |
15458 sed "s/^/$as_me: WARNING: /" >&2
15459 ;;
15460 esac
15461 echo "$as_me:$LINENO: checking for $ac_header" >&5
15462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15464 echo $ECHO_N "(cached) $ECHO_C" >&6
15465 else
15466 eval "$as_ac_Header=\$ac_header_preproc"
15467 fi
15468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15470
15471 fi
15472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15473 cat >>confdefs.h <<_ACEOF
15474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15475 _ACEOF
15476
15477 fi
15478
15479 done
15480
15481
15482 for ac_header in malloc.h
15483 do
15484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15486 echo "$as_me:$LINENO: checking for $ac_header" >&5
15487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 fi
15491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15493 else
15494 # Is the header compilable?
15495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15497 cat >conftest.$ac_ext <<_ACEOF
15498 /* confdefs.h. */
15499 _ACEOF
15500 cat confdefs.h >>conftest.$ac_ext
15501 cat >>conftest.$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15503 $ac_includes_default
15504 #include <$ac_header>
15505 _ACEOF
15506 rm -f conftest.$ac_objext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15508 (eval $ac_compile) 2>conftest.er1
15509 ac_status=$?
15510 grep -v '^ *+' conftest.er1 >conftest.err
15511 rm -f conftest.er1
15512 cat conftest.err >&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15518 ac_status=$?
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; } &&
15521 { ac_try='test -s conftest.$ac_objext'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; }; then
15527 ac_header_compiler=yes
15528 else
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15531
15532 ac_header_compiler=no
15533 fi
15534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15536 echo "${ECHO_T}$ac_header_compiler" >&6
15537
15538 # Is the header present?
15539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547 #include <$ac_header>
15548 _ACEOF
15549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15551 ac_status=$?
15552 grep -v '^ *+' conftest.er1 >conftest.err
15553 rm -f conftest.er1
15554 cat conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } >/dev/null; then
15557 if test -s conftest.err; then
15558 ac_cpp_err=$ac_c_preproc_warn_flag
15559 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15560 else
15561 ac_cpp_err=
15562 fi
15563 else
15564 ac_cpp_err=yes
15565 fi
15566 if test -z "$ac_cpp_err"; then
15567 ac_header_preproc=yes
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15571
15572 ac_header_preproc=no
15573 fi
15574 rm -f conftest.err conftest.$ac_ext
15575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15576 echo "${ECHO_T}$ac_header_preproc" >&6
15577
15578 # So? What about this header?
15579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15580 yes:no: )
15581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15585 ac_header_preproc=yes
15586 ;;
15587 no:yes:* )
15588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15600 (
15601 cat <<\_ASBOX
15602 ## ----------------------------------------- ##
15603 ## Report this to wx-dev@lists.wxwidgets.org ##
15604 ## ----------------------------------------- ##
15605 _ASBOX
15606 ) |
15607 sed "s/^/$as_me: WARNING: /" >&2
15608 ;;
15609 esac
15610 echo "$as_me:$LINENO: checking for $ac_header" >&5
15611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 eval "$as_ac_Header=\$ac_header_preproc"
15616 fi
15617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15619
15620 fi
15621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15622 cat >>confdefs.h <<_ACEOF
15623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15624 _ACEOF
15625
15626 fi
15627
15628 done
15629
15630
15631 for ac_header in unistd.h
15632 do
15633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15635 echo "$as_me:$LINENO: checking for $ac_header" >&5
15636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 fi
15640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15642 else
15643 # Is the header compilable?
15644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15646 cat >conftest.$ac_ext <<_ACEOF
15647 /* confdefs.h. */
15648 _ACEOF
15649 cat confdefs.h >>conftest.$ac_ext
15650 cat >>conftest.$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15652 $ac_includes_default
15653 #include <$ac_header>
15654 _ACEOF
15655 rm -f conftest.$ac_objext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15657 (eval $ac_compile) 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15667 ac_status=$?
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; } &&
15670 { ac_try='test -s conftest.$ac_objext'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15673 ac_status=$?
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; }; then
15676 ac_header_compiler=yes
15677 else
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.$ac_ext >&5
15680
15681 ac_header_compiler=no
15682 fi
15683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15685 echo "${ECHO_T}$ac_header_compiler" >&6
15686
15687 # Is the header present?
15688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15690 cat >conftest.$ac_ext <<_ACEOF
15691 /* confdefs.h. */
15692 _ACEOF
15693 cat confdefs.h >>conftest.$ac_ext
15694 cat >>conftest.$ac_ext <<_ACEOF
15695 /* end confdefs.h. */
15696 #include <$ac_header>
15697 _ACEOF
15698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15700 ac_status=$?
15701 grep -v '^ *+' conftest.er1 >conftest.err
15702 rm -f conftest.er1
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } >/dev/null; then
15706 if test -s conftest.err; then
15707 ac_cpp_err=$ac_c_preproc_warn_flag
15708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15709 else
15710 ac_cpp_err=
15711 fi
15712 else
15713 ac_cpp_err=yes
15714 fi
15715 if test -z "$ac_cpp_err"; then
15716 ac_header_preproc=yes
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15720
15721 ac_header_preproc=no
15722 fi
15723 rm -f conftest.err conftest.$ac_ext
15724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15725 echo "${ECHO_T}$ac_header_preproc" >&6
15726
15727 # So? What about this header?
15728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15729 yes:no: )
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15734 ac_header_preproc=yes
15735 ;;
15736 no:yes:* )
15737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15749 (
15750 cat <<\_ASBOX
15751 ## ----------------------------------------- ##
15752 ## Report this to wx-dev@lists.wxwidgets.org ##
15753 ## ----------------------------------------- ##
15754 _ASBOX
15755 ) |
15756 sed "s/^/$as_me: WARNING: /" >&2
15757 ;;
15758 esac
15759 echo "$as_me:$LINENO: checking for $ac_header" >&5
15760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 else
15764 eval "$as_ac_Header=\$ac_header_preproc"
15765 fi
15766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15768
15769 fi
15770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15771 cat >>confdefs.h <<_ACEOF
15772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15773 _ACEOF
15774
15775 fi
15776
15777 done
15778
15779
15780 for ac_header in wchar.h
15781 do
15782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15784 echo "$as_me:$LINENO: checking for $ac_header" >&5
15785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15787 echo $ECHO_N "(cached) $ECHO_C" >&6
15788 fi
15789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15791 else
15792 # Is the header compilable?
15793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 $ac_includes_default
15802 #include <$ac_header>
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15806 (eval $ac_compile) 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_header_compiler=yes
15826 else
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15829
15830 ac_header_compiler=no
15831 fi
15832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15834 echo "${ECHO_T}$ac_header_compiler" >&6
15835
15836 # Is the header present?
15837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15839 cat >conftest.$ac_ext <<_ACEOF
15840 /* confdefs.h. */
15841 _ACEOF
15842 cat confdefs.h >>conftest.$ac_ext
15843 cat >>conftest.$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845 #include <$ac_header>
15846 _ACEOF
15847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15849 ac_status=$?
15850 grep -v '^ *+' conftest.er1 >conftest.err
15851 rm -f conftest.er1
15852 cat conftest.err >&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } >/dev/null; then
15855 if test -s conftest.err; then
15856 ac_cpp_err=$ac_c_preproc_warn_flag
15857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15858 else
15859 ac_cpp_err=
15860 fi
15861 else
15862 ac_cpp_err=yes
15863 fi
15864 if test -z "$ac_cpp_err"; then
15865 ac_header_preproc=yes
15866 else
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15869
15870 ac_header_preproc=no
15871 fi
15872 rm -f conftest.err conftest.$ac_ext
15873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15874 echo "${ECHO_T}$ac_header_preproc" >&6
15875
15876 # So? What about this header?
15877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15878 yes:no: )
15879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15883 ac_header_preproc=yes
15884 ;;
15885 no:yes:* )
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15898 (
15899 cat <<\_ASBOX
15900 ## ----------------------------------------- ##
15901 ## Report this to wx-dev@lists.wxwidgets.org ##
15902 ## ----------------------------------------- ##
15903 _ASBOX
15904 ) |
15905 sed "s/^/$as_me: WARNING: /" >&2
15906 ;;
15907 esac
15908 echo "$as_me:$LINENO: checking for $ac_header" >&5
15909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 else
15913 eval "$as_ac_Header=\$ac_header_preproc"
15914 fi
15915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15917
15918 fi
15919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15920 cat >>confdefs.h <<_ACEOF
15921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15922 _ACEOF
15923
15924 fi
15925
15926 done
15927
15928
15929 if test "$ac_cv_header_wchar_h" != "yes"; then
15930
15931 for ac_header in wcstr.h
15932 do
15933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15935 echo "$as_me:$LINENO: checking for $ac_header" >&5
15936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15939 fi
15940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15942 else
15943 # Is the header compilable?
15944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15953 #include <$ac_header>
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15958 ac_status=$?
15959 grep -v '^ *+' conftest.er1 >conftest.err
15960 rm -f conftest.er1
15961 cat conftest.err >&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966 (eval $ac_try) 2>&5
15967 ac_status=$?
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } &&
15970 { ac_try='test -s conftest.$ac_objext'
15971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15972 (eval $ac_try) 2>&5
15973 ac_status=$?
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); }; }; then
15976 ac_header_compiler=yes
15977 else
15978 echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.$ac_ext >&5
15980
15981 ac_header_compiler=no
15982 fi
15983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15985 echo "${ECHO_T}$ac_header_compiler" >&6
15986
15987 # Is the header present?
15988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15990 cat >conftest.$ac_ext <<_ACEOF
15991 /* confdefs.h. */
15992 _ACEOF
15993 cat confdefs.h >>conftest.$ac_ext
15994 cat >>conftest.$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 #include <$ac_header>
15997 _ACEOF
15998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16000 ac_status=$?
16001 grep -v '^ *+' conftest.er1 >conftest.err
16002 rm -f conftest.er1
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } >/dev/null; then
16006 if test -s conftest.err; then
16007 ac_cpp_err=$ac_c_preproc_warn_flag
16008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16009 else
16010 ac_cpp_err=
16011 fi
16012 else
16013 ac_cpp_err=yes
16014 fi
16015 if test -z "$ac_cpp_err"; then
16016 ac_header_preproc=yes
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16020
16021 ac_header_preproc=no
16022 fi
16023 rm -f conftest.err conftest.$ac_ext
16024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16025 echo "${ECHO_T}$ac_header_preproc" >&6
16026
16027 # So? What about this header?
16028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16029 yes:no: )
16030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16034 ac_header_preproc=yes
16035 ;;
16036 no:yes:* )
16037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16049 (
16050 cat <<\_ASBOX
16051 ## ----------------------------------------- ##
16052 ## Report this to wx-dev@lists.wxwidgets.org ##
16053 ## ----------------------------------------- ##
16054 _ASBOX
16055 ) |
16056 sed "s/^/$as_me: WARNING: /" >&2
16057 ;;
16058 esac
16059 echo "$as_me:$LINENO: checking for $ac_header" >&5
16060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 else
16064 eval "$as_ac_Header=\$ac_header_preproc"
16065 fi
16066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16068
16069 fi
16070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16071 cat >>confdefs.h <<_ACEOF
16072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16073 _ACEOF
16074
16075 fi
16076
16077 done
16078
16079 fi
16080
16081
16082 for ac_header in fnmatch.h
16083 do
16084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16086 echo "$as_me:$LINENO: checking for $ac_header" >&5
16087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 fi
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16093 else
16094 # Is the header compilable?
16095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 #include <$ac_header>
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16108 (eval $ac_compile) 2>conftest.er1
16109 ac_status=$?
16110 grep -v '^ *+' conftest.er1 >conftest.err
16111 rm -f conftest.er1
16112 cat conftest.err >&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_header_compiler=yes
16128 else
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16131
16132 ac_header_compiler=no
16133 fi
16134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16136 echo "${ECHO_T}$ac_header_compiler" >&6
16137
16138 # Is the header present?
16139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16141 cat >conftest.$ac_ext <<_ACEOF
16142 /* confdefs.h. */
16143 _ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147 #include <$ac_header>
16148 _ACEOF
16149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } >/dev/null; then
16157 if test -s conftest.err; then
16158 ac_cpp_err=$ac_c_preproc_warn_flag
16159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16160 else
16161 ac_cpp_err=
16162 fi
16163 else
16164 ac_cpp_err=yes
16165 fi
16166 if test -z "$ac_cpp_err"; then
16167 ac_header_preproc=yes
16168 else
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16171
16172 ac_header_preproc=no
16173 fi
16174 rm -f conftest.err conftest.$ac_ext
16175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16176 echo "${ECHO_T}$ac_header_preproc" >&6
16177
16178 # So? What about this header?
16179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16180 yes:no: )
16181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16185 ac_header_preproc=yes
16186 ;;
16187 no:yes:* )
16188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16200 (
16201 cat <<\_ASBOX
16202 ## ----------------------------------------- ##
16203 ## Report this to wx-dev@lists.wxwidgets.org ##
16204 ## ----------------------------------------- ##
16205 _ASBOX
16206 ) |
16207 sed "s/^/$as_me: WARNING: /" >&2
16208 ;;
16209 esac
16210 echo "$as_me:$LINENO: checking for $ac_header" >&5
16211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215 eval "$as_ac_Header=\$ac_header_preproc"
16216 fi
16217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16219
16220 fi
16221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16222 cat >>confdefs.h <<_ACEOF
16223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16224 _ACEOF
16225
16226 fi
16227
16228 done
16229
16230
16231
16232 for ac_header in langinfo.h
16233 do
16234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16236 echo "$as_me:$LINENO: checking for $ac_header" >&5
16237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 fi
16241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16243 else
16244 # Is the header compilable?
16245 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16247 cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16254 #include <$ac_header>
16255 _ACEOF
16256 rm -f conftest.$ac_objext
16257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16258 (eval $ac_compile) 2>conftest.er1
16259 ac_status=$?
16260 grep -v '^ *+' conftest.er1 >conftest.err
16261 rm -f conftest.er1
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } &&
16265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267 (eval $ac_try) 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }; } &&
16271 { ac_try='test -s conftest.$ac_objext'
16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273 (eval $ac_try) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }; }; then
16277 ac_header_compiler=yes
16278 else
16279 echo "$as_me: failed program was:" >&5
16280 sed 's/^/| /' conftest.$ac_ext >&5
16281
16282 ac_header_compiler=no
16283 fi
16284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16286 echo "${ECHO_T}$ac_header_compiler" >&6
16287
16288 # Is the header present?
16289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h. */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 #include <$ac_header>
16298 _ACEOF
16299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16301 ac_status=$?
16302 grep -v '^ *+' conftest.er1 >conftest.err
16303 rm -f conftest.er1
16304 cat conftest.err >&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } >/dev/null; then
16307 if test -s conftest.err; then
16308 ac_cpp_err=$ac_c_preproc_warn_flag
16309 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16310 else
16311 ac_cpp_err=
16312 fi
16313 else
16314 ac_cpp_err=yes
16315 fi
16316 if test -z "$ac_cpp_err"; then
16317 ac_header_preproc=yes
16318 else
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16321
16322 ac_header_preproc=no
16323 fi
16324 rm -f conftest.err conftest.$ac_ext
16325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16326 echo "${ECHO_T}$ac_header_preproc" >&6
16327
16328 # So? What about this header?
16329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16330 yes:no: )
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16335 ac_header_preproc=yes
16336 ;;
16337 no:yes:* )
16338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16350 (
16351 cat <<\_ASBOX
16352 ## ----------------------------------------- ##
16353 ## Report this to wx-dev@lists.wxwidgets.org ##
16354 ## ----------------------------------------- ##
16355 _ASBOX
16356 ) |
16357 sed "s/^/$as_me: WARNING: /" >&2
16358 ;;
16359 esac
16360 echo "$as_me:$LINENO: checking for $ac_header" >&5
16361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 else
16365 eval "$as_ac_Header=\$ac_header_preproc"
16366 fi
16367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16369
16370 fi
16371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16372 cat >>confdefs.h <<_ACEOF
16373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16374 _ACEOF
16375
16376 fi
16377
16378 done
16379
16380
16381 case "${host}" in
16382 *-pc-os2_emx | *-pc-os2-emx )
16383 if test $ac_cv_header_langinfo_h = "yes" \
16384 -a \( "$wx_cv_gccversion" = "EMX2" \
16385 -o "$wx_cv_gccversion" = "EMX3" \
16386 -o "$wx_cv_gccversion" = "Innotek5" \); then
16387 LIBS="$LIBS -lintl"
16388 fi
16389 ;;
16390 esac
16391
16392
16393 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16394 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16395 if test "${ac_cv_c_const+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398 cat >conftest.$ac_ext <<_ACEOF
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404
16405 int
16406 main ()
16407 {
16408 /* FIXME: Include the comments suggested by Paul. */
16409 #ifndef __cplusplus
16410 /* Ultrix mips cc rejects this. */
16411 typedef int charset[2];
16412 const charset x;
16413 /* SunOS 4.1.1 cc rejects this. */
16414 char const *const *ccp;
16415 char **p;
16416 /* NEC SVR4.0.2 mips cc rejects this. */
16417 struct point {int x, y;};
16418 static struct point const zero = {0,0};
16419 /* AIX XL C 1.02.0.0 rejects this.
16420 It does not let you subtract one const X* pointer from another in
16421 an arm of an if-expression whose if-part is not a constant
16422 expression */
16423 const char *g = "string";
16424 ccp = &g + (g ? g-g : 0);
16425 /* HPUX 7.0 cc rejects these. */
16426 ++ccp;
16427 p = (char**) ccp;
16428 ccp = (char const *const *) p;
16429 { /* SCO 3.2v4 cc rejects this. */
16430 char *t;
16431 char const *s = 0 ? (char *) 0 : (char const *) 0;
16432
16433 *t++ = 0;
16434 }
16435 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16436 int x[] = {25, 17};
16437 const int *foo = &x[0];
16438 ++foo;
16439 }
16440 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16441 typedef const int *iptr;
16442 iptr p = 0;
16443 ++p;
16444 }
16445 { /* AIX XL C 1.02.0.0 rejects this saying
16446 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16447 struct s { int j; const int *ap[3]; };
16448 struct s *b; b->j = 5;
16449 }
16450 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16451 const int foo = 10;
16452 }
16453 #endif
16454
16455 ;
16456 return 0;
16457 }
16458 _ACEOF
16459 rm -f conftest.$ac_objext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16461 (eval $ac_compile) 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16471 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16480 ac_cv_c_const=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16484
16485 ac_cv_c_const=no
16486 fi
16487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16488 fi
16489 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16490 echo "${ECHO_T}$ac_cv_c_const" >&6
16491 if test $ac_cv_c_const = no; then
16492
16493 cat >>confdefs.h <<\_ACEOF
16494 #define const
16495 _ACEOF
16496
16497 fi
16498
16499 echo "$as_me:$LINENO: checking for inline" >&5
16500 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16501 if test "${ac_cv_c_inline+set}" = set; then
16502 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 else
16504 ac_cv_c_inline=no
16505 for ac_kw in inline __inline__ __inline; do
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #ifndef __cplusplus
16513 typedef int foo_t;
16514 static $ac_kw foo_t static_foo () {return 0; }
16515 $ac_kw foo_t foo () {return 0; }
16516 #endif
16517
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try='test -s conftest.$ac_objext'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16537 ac_status=$?
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 ac_cv_c_inline=$ac_kw; break
16541 else
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16544
16545 fi
16546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16547 done
16548
16549 fi
16550 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16551 echo "${ECHO_T}$ac_cv_c_inline" >&6
16552
16553
16554 case $ac_cv_c_inline in
16555 inline | yes) ;;
16556 *)
16557 case $ac_cv_c_inline in
16558 no) ac_val=;;
16559 *) ac_val=$ac_cv_c_inline;;
16560 esac
16561 cat >>confdefs.h <<_ACEOF
16562 #ifndef __cplusplus
16563 #define inline $ac_val
16564 #endif
16565 _ACEOF
16566 ;;
16567 esac
16568
16569
16570 echo "$as_me:$LINENO: checking for char" >&5
16571 echo $ECHO_N "checking for char... $ECHO_C" >&6
16572 if test "${ac_cv_type_char+set}" = set; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 cat >conftest.$ac_ext <<_ACEOF
16576 /* confdefs.h. */
16577 _ACEOF
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 $ac_includes_default
16582 int
16583 main ()
16584 {
16585 if ((char *) 0)
16586 return 0;
16587 if (sizeof (char))
16588 return 0;
16589 ;
16590 return 0;
16591 }
16592 _ACEOF
16593 rm -f conftest.$ac_objext
16594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16595 (eval $ac_compile) 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } &&
16602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; } &&
16608 { ac_try='test -s conftest.$ac_objext'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; }; then
16614 ac_cv_type_char=yes
16615 else
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16618
16619 ac_cv_type_char=no
16620 fi
16621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16622 fi
16623 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16624 echo "${ECHO_T}$ac_cv_type_char" >&6
16625
16626 echo "$as_me:$LINENO: checking size of char" >&5
16627 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16628 if test "${ac_cv_sizeof_char+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 else
16631 if test "$ac_cv_type_char" = yes; then
16632 # The cast to unsigned long works around a bug in the HP C Compiler
16633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16635 # This bug is HP SR number 8606223364.
16636 if test "$cross_compiling" = yes; then
16637 # Depending upon the size, compute the lo and hi bounds.
16638 cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h. */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 $ac_includes_default
16645 int
16646 main ()
16647 {
16648 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16649 test_array [0] = 0
16650
16651 ;
16652 return 0;
16653 }
16654 _ACEOF
16655 rm -f conftest.$ac_objext
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>conftest.er1
16658 ac_status=$?
16659 grep -v '^ *+' conftest.er1 >conftest.err
16660 rm -f conftest.er1
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } &&
16664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_lo=0 ac_mid=0
16677 while :; do
16678 cat >conftest.$ac_ext <<_ACEOF
16679 /* confdefs.h. */
16680 _ACEOF
16681 cat confdefs.h >>conftest.$ac_ext
16682 cat >>conftest.$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 $ac_includes_default
16685 int
16686 main ()
16687 {
16688 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16689 test_array [0] = 0
16690
16691 ;
16692 return 0;
16693 }
16694 _ACEOF
16695 rm -f conftest.$ac_objext
16696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16697 (eval $ac_compile) 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } &&
16704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; } &&
16710 { ac_try='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_hi=$ac_mid; break
16717 else
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16720
16721 ac_lo=`expr $ac_mid + 1`
16722 if test $ac_lo -le $ac_mid; then
16723 ac_lo= ac_hi=
16724 break
16725 fi
16726 ac_mid=`expr 2 '*' $ac_mid + 1`
16727 fi
16728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16729 done
16730 else
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.$ac_ext >&5
16733
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 $ac_includes_default
16741 int
16742 main ()
16743 {
16744 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16745 test_array [0] = 0
16746
16747 ;
16748 return 0;
16749 }
16750 _ACEOF
16751 rm -f conftest.$ac_objext
16752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16753 (eval $ac_compile) 2>conftest.er1
16754 ac_status=$?
16755 grep -v '^ *+' conftest.er1 >conftest.err
16756 rm -f conftest.er1
16757 cat conftest.err >&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } &&
16760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16763 ac_status=$?
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; } &&
16766 { ac_try='test -s conftest.$ac_objext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16769 ac_status=$?
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 ac_hi=-1 ac_mid=-1
16773 while :; do
16774 cat >conftest.$ac_ext <<_ACEOF
16775 /* confdefs.h. */
16776 _ACEOF
16777 cat confdefs.h >>conftest.$ac_ext
16778 cat >>conftest.$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16780 $ac_includes_default
16781 int
16782 main ()
16783 {
16784 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16785 test_array [0] = 0
16786
16787 ;
16788 return 0;
16789 }
16790 _ACEOF
16791 rm -f conftest.$ac_objext
16792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16793 (eval $ac_compile) 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } &&
16800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16803 ac_status=$?
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; } &&
16806 { ac_try='test -s conftest.$ac_objext'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; }; then
16812 ac_lo=$ac_mid; break
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817 ac_hi=`expr '(' $ac_mid ')' - 1`
16818 if test $ac_mid -le $ac_hi; then
16819 ac_lo= ac_hi=
16820 break
16821 fi
16822 ac_mid=`expr 2 '*' $ac_mid`
16823 fi
16824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16825 done
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16829
16830 ac_lo= ac_hi=
16831 fi
16832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16833 fi
16834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835 # Binary search between lo and hi bounds.
16836 while test "x$ac_lo" != "x$ac_hi"; do
16837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16838 cat >conftest.$ac_ext <<_ACEOF
16839 /* confdefs.h. */
16840 _ACEOF
16841 cat confdefs.h >>conftest.$ac_ext
16842 cat >>conftest.$ac_ext <<_ACEOF
16843 /* end confdefs.h. */
16844 $ac_includes_default
16845 int
16846 main ()
16847 {
16848 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16849 test_array [0] = 0
16850
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 rm -f conftest.$ac_objext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16857 (eval $ac_compile) 2>conftest.er1
16858 ac_status=$?
16859 grep -v '^ *+' conftest.er1 >conftest.err
16860 rm -f conftest.er1
16861 cat conftest.err >&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); } &&
16864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16867 ac_status=$?
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; } &&
16870 { ac_try='test -s conftest.$ac_objext'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16873 ac_status=$?
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; }; then
16876 ac_hi=$ac_mid
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 ac_lo=`expr '(' $ac_mid ')' + 1`
16882 fi
16883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16884 done
16885 case $ac_lo in
16886 ?*) ac_cv_sizeof_char=$ac_lo;;
16887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16888 See \`config.log' for more details." >&5
16889 echo "$as_me: error: cannot compute sizeof (char), 77
16890 See \`config.log' for more details." >&2;}
16891 { (exit 1); exit 1; }; } ;;
16892 esac
16893 else
16894 if test "$cross_compiling" = yes; then
16895 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16896 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16897 { (exit 1); exit 1; }; }
16898 else
16899 cat >conftest.$ac_ext <<_ACEOF
16900 /* confdefs.h. */
16901 _ACEOF
16902 cat confdefs.h >>conftest.$ac_ext
16903 cat >>conftest.$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 $ac_includes_default
16906 long longval () { return (long) (sizeof (char)); }
16907 unsigned long ulongval () { return (long) (sizeof (char)); }
16908 #include <stdio.h>
16909 #include <stdlib.h>
16910 int
16911 main ()
16912 {
16913
16914 FILE *f = fopen ("conftest.val", "w");
16915 if (! f)
16916 exit (1);
16917 if (((long) (sizeof (char))) < 0)
16918 {
16919 long i = longval ();
16920 if (i != ((long) (sizeof (char))))
16921 exit (1);
16922 fprintf (f, "%ld\n", i);
16923 }
16924 else
16925 {
16926 unsigned long i = ulongval ();
16927 if (i != ((long) (sizeof (char))))
16928 exit (1);
16929 fprintf (f, "%lu\n", i);
16930 }
16931 exit (ferror (f) || fclose (f) != 0);
16932
16933 ;
16934 return 0;
16935 }
16936 _ACEOF
16937 rm -f conftest$ac_exeext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16939 (eval $ac_link) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; }; then
16948 ac_cv_sizeof_char=`cat conftest.val`
16949 else
16950 echo "$as_me: program exited with status $ac_status" >&5
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 ( exit $ac_status )
16955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16956 See \`config.log' for more details." >&5
16957 echo "$as_me: error: cannot compute sizeof (char), 77
16958 See \`config.log' for more details." >&2;}
16959 { (exit 1); exit 1; }; }
16960 fi
16961 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16962 fi
16963 fi
16964 rm -f conftest.val
16965 else
16966 ac_cv_sizeof_char=0
16967 fi
16968 fi
16969 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16970 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16971 cat >>confdefs.h <<_ACEOF
16972 #define SIZEOF_CHAR $ac_cv_sizeof_char
16973 _ACEOF
16974
16975
16976 echo "$as_me:$LINENO: checking for short" >&5
16977 echo $ECHO_N "checking for short... $ECHO_C" >&6
16978 if test "${ac_cv_type_short+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 else
16981 cat >conftest.$ac_ext <<_ACEOF
16982 /* confdefs.h. */
16983 _ACEOF
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h. */
16987 $ac_includes_default
16988 int
16989 main ()
16990 {
16991 if ((short *) 0)
16992 return 0;
16993 if (sizeof (short))
16994 return 0;
16995 ;
16996 return 0;
16997 }
16998 _ACEOF
16999 rm -f conftest.$ac_objext
17000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17001 (eval $ac_compile) 2>conftest.er1
17002 ac_status=$?
17003 grep -v '^ *+' conftest.er1 >conftest.err
17004 rm -f conftest.er1
17005 cat conftest.err >&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } &&
17008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; } &&
17014 { ac_try='test -s conftest.$ac_objext'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; }; then
17020 ac_cv_type_short=yes
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17024
17025 ac_cv_type_short=no
17026 fi
17027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17028 fi
17029 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17030 echo "${ECHO_T}$ac_cv_type_short" >&6
17031
17032 echo "$as_me:$LINENO: checking size of short" >&5
17033 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17034 if test "${ac_cv_sizeof_short+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 else
17037 if test "$ac_cv_type_short" = yes; then
17038 # The cast to unsigned long works around a bug in the HP C Compiler
17039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17041 # This bug is HP SR number 8606223364.
17042 if test "$cross_compiling" = yes; then
17043 # Depending upon the size, compute the lo and hi bounds.
17044 cat >conftest.$ac_ext <<_ACEOF
17045 /* confdefs.h. */
17046 _ACEOF
17047 cat confdefs.h >>conftest.$ac_ext
17048 cat >>conftest.$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17050 $ac_includes_default
17051 int
17052 main ()
17053 {
17054 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17055 test_array [0] = 0
17056
17057 ;
17058 return 0;
17059 }
17060 _ACEOF
17061 rm -f conftest.$ac_objext
17062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17063 (eval $ac_compile) 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } &&
17070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17082 ac_lo=0 ac_mid=0
17083 while :; do
17084 cat >conftest.$ac_ext <<_ACEOF
17085 /* confdefs.h. */
17086 _ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17090 $ac_includes_default
17091 int
17092 main ()
17093 {
17094 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17095 test_array [0] = 0
17096
17097 ;
17098 return 0;
17099 }
17100 _ACEOF
17101 rm -f conftest.$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; } &&
17116 { ac_try='test -s conftest.$ac_objext'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 ac_hi=$ac_mid; break
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 ac_lo=`expr $ac_mid + 1`
17128 if test $ac_lo -le $ac_mid; then
17129 ac_lo= ac_hi=
17130 break
17131 fi
17132 ac_mid=`expr 2 '*' $ac_mid + 1`
17133 fi
17134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17135 done
17136 else
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 cat >conftest.$ac_ext <<_ACEOF
17141 /* confdefs.h. */
17142 _ACEOF
17143 cat confdefs.h >>conftest.$ac_ext
17144 cat >>conftest.$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17146 $ac_includes_default
17147 int
17148 main ()
17149 {
17150 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17151 test_array [0] = 0
17152
17153 ;
17154 return 0;
17155 }
17156 _ACEOF
17157 rm -f conftest.$ac_objext
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } &&
17166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; } &&
17172 { ac_try='test -s conftest.$ac_objext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17175 ac_status=$?
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17178 ac_hi=-1 ac_mid=-1
17179 while :; do
17180 cat >conftest.$ac_ext <<_ACEOF
17181 /* confdefs.h. */
17182 _ACEOF
17183 cat confdefs.h >>conftest.$ac_ext
17184 cat >>conftest.$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17186 $ac_includes_default
17187 int
17188 main ()
17189 {
17190 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17191 test_array [0] = 0
17192
17193 ;
17194 return 0;
17195 }
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17199 (eval $ac_compile) 2>conftest.er1
17200 ac_status=$?
17201 grep -v '^ *+' conftest.er1 >conftest.err
17202 rm -f conftest.er1
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; } &&
17212 { ac_try='test -s conftest.$ac_objext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 ac_lo=$ac_mid; break
17219 else
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17222
17223 ac_hi=`expr '(' $ac_mid ')' - 1`
17224 if test $ac_mid -le $ac_hi; then
17225 ac_lo= ac_hi=
17226 break
17227 fi
17228 ac_mid=`expr 2 '*' $ac_mid`
17229 fi
17230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17231 done
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17235
17236 ac_lo= ac_hi=
17237 fi
17238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17239 fi
17240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17241 # Binary search between lo and hi bounds.
17242 while test "x$ac_lo" != "x$ac_hi"; do
17243 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17244 cat >conftest.$ac_ext <<_ACEOF
17245 /* confdefs.h. */
17246 _ACEOF
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17250 $ac_includes_default
17251 int
17252 main ()
17253 {
17254 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17255 test_array [0] = 0
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 rm -f conftest.$ac_objext
17262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17263 (eval $ac_compile) 2>conftest.er1
17264 ac_status=$?
17265 grep -v '^ *+' conftest.er1 >conftest.err
17266 rm -f conftest.er1
17267 cat conftest.err >&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } &&
17270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17273 ac_status=$?
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; } &&
17276 { ac_try='test -s conftest.$ac_objext'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; }; then
17282 ac_hi=$ac_mid
17283 else
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17286
17287 ac_lo=`expr '(' $ac_mid ')' + 1`
17288 fi
17289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17290 done
17291 case $ac_lo in
17292 ?*) ac_cv_sizeof_short=$ac_lo;;
17293 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17294 See \`config.log' for more details." >&5
17295 echo "$as_me: error: cannot compute sizeof (short), 77
17296 See \`config.log' for more details." >&2;}
17297 { (exit 1); exit 1; }; } ;;
17298 esac
17299 else
17300 if test "$cross_compiling" = yes; then
17301 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17302 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17303 { (exit 1); exit 1; }; }
17304 else
17305 cat >conftest.$ac_ext <<_ACEOF
17306 /* confdefs.h. */
17307 _ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 long longval () { return (long) (sizeof (short)); }
17313 unsigned long ulongval () { return (long) (sizeof (short)); }
17314 #include <stdio.h>
17315 #include <stdlib.h>
17316 int
17317 main ()
17318 {
17319
17320 FILE *f = fopen ("conftest.val", "w");
17321 if (! f)
17322 exit (1);
17323 if (((long) (sizeof (short))) < 0)
17324 {
17325 long i = longval ();
17326 if (i != ((long) (sizeof (short))))
17327 exit (1);
17328 fprintf (f, "%ld\n", i);
17329 }
17330 else
17331 {
17332 unsigned long i = ulongval ();
17333 if (i != ((long) (sizeof (short))))
17334 exit (1);
17335 fprintf (f, "%lu\n", i);
17336 }
17337 exit (ferror (f) || fclose (f) != 0);
17338
17339 ;
17340 return 0;
17341 }
17342 _ACEOF
17343 rm -f conftest$ac_exeext
17344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17345 (eval $ac_link) 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; }; then
17354 ac_cv_sizeof_short=`cat conftest.val`
17355 else
17356 echo "$as_me: program exited with status $ac_status" >&5
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17359
17360 ( exit $ac_status )
17361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17362 See \`config.log' for more details." >&5
17363 echo "$as_me: error: cannot compute sizeof (short), 77
17364 See \`config.log' for more details." >&2;}
17365 { (exit 1); exit 1; }; }
17366 fi
17367 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17368 fi
17369 fi
17370 rm -f conftest.val
17371 else
17372 ac_cv_sizeof_short=0
17373 fi
17374 fi
17375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17376 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17377 cat >>confdefs.h <<_ACEOF
17378 #define SIZEOF_SHORT $ac_cv_sizeof_short
17379 _ACEOF
17380
17381
17382 echo "$as_me:$LINENO: checking for void *" >&5
17383 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17384 if test "${ac_cv_type_void_p+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 else
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393 $ac_includes_default
17394 int
17395 main ()
17396 {
17397 if ((void * *) 0)
17398 return 0;
17399 if (sizeof (void *))
17400 return 0;
17401 ;
17402 return 0;
17403 }
17404 _ACEOF
17405 rm -f conftest.$ac_objext
17406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17407 (eval $ac_compile) 2>conftest.er1
17408 ac_status=$?
17409 grep -v '^ *+' conftest.er1 >conftest.err
17410 rm -f conftest.er1
17411 cat conftest.err >&5
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17417 ac_status=$?
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; } &&
17420 { ac_try='test -s conftest.$ac_objext'
17421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17422 (eval $ac_try) 2>&5
17423 ac_status=$?
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); }; }; then
17426 ac_cv_type_void_p=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17430
17431 ac_cv_type_void_p=no
17432 fi
17433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17434 fi
17435 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17436 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17437
17438 echo "$as_me:$LINENO: checking size of void *" >&5
17439 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17440 if test "${ac_cv_sizeof_void_p+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 else
17443 if test "$ac_cv_type_void_p" = yes; then
17444 # The cast to unsigned long works around a bug in the HP C Compiler
17445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17447 # This bug is HP SR number 8606223364.
17448 if test "$cross_compiling" = yes; then
17449 # Depending upon the size, compute the lo and hi bounds.
17450 cat >conftest.$ac_ext <<_ACEOF
17451 /* confdefs.h. */
17452 _ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456 $ac_includes_default
17457 int
17458 main ()
17459 {
17460 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17461 test_array [0] = 0
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 rm -f conftest.$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17479 ac_status=$?
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; } &&
17482 { ac_try='test -s conftest.$ac_objext'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; }; then
17488 ac_lo=0 ac_mid=0
17489 while :; do
17490 cat >conftest.$ac_ext <<_ACEOF
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 $ac_includes_default
17497 int
17498 main ()
17499 {
17500 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17501 test_array [0] = 0
17502
17503 ;
17504 return 0;
17505 }
17506 _ACEOF
17507 rm -f conftest.$ac_objext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509 (eval $ac_compile) 2>conftest.er1
17510 ac_status=$?
17511 grep -v '^ *+' conftest.er1 >conftest.err
17512 rm -f conftest.er1
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } &&
17516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5
17519 ac_status=$?
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; } &&
17522 { ac_try='test -s conftest.$ac_objext'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17525 ac_status=$?
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; }; then
17528 ac_hi=$ac_mid; break
17529 else
17530 echo "$as_me: failed program was:" >&5
17531 sed 's/^/| /' conftest.$ac_ext >&5
17532
17533 ac_lo=`expr $ac_mid + 1`
17534 if test $ac_lo -le $ac_mid; then
17535 ac_lo= ac_hi=
17536 break
17537 fi
17538 ac_mid=`expr 2 '*' $ac_mid + 1`
17539 fi
17540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17541 done
17542 else
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17545
17546 cat >conftest.$ac_ext <<_ACEOF
17547 /* confdefs.h. */
17548 _ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 $ac_includes_default
17553 int
17554 main ()
17555 {
17556 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17557 test_array [0] = 0
17558
17559 ;
17560 return 0;
17561 }
17562 _ACEOF
17563 rm -f conftest.$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>conftest.er1
17566 ac_status=$?
17567 grep -v '^ *+' conftest.er1 >conftest.err
17568 rm -f conftest.er1
17569 cat conftest.err >&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } &&
17572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; } &&
17578 { ac_try='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17581 ac_status=$?
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17584 ac_hi=-1 ac_mid=-1
17585 while :; do
17586 cat >conftest.$ac_ext <<_ACEOF
17587 /* confdefs.h. */
17588 _ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17593 int
17594 main ()
17595 {
17596 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17597 test_array [0] = 0
17598
17599 ;
17600 return 0;
17601 }
17602 _ACEOF
17603 rm -f conftest.$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17606 ac_status=$?
17607 grep -v '^ *+' conftest.er1 >conftest.err
17608 rm -f conftest.er1
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; } &&
17618 { ac_try='test -s conftest.$ac_objext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_lo=$ac_mid; break
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 ac_hi=`expr '(' $ac_mid ')' - 1`
17630 if test $ac_mid -le $ac_hi; then
17631 ac_lo= ac_hi=
17632 break
17633 fi
17634 ac_mid=`expr 2 '*' $ac_mid`
17635 fi
17636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17637 done
17638 else
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.$ac_ext >&5
17641
17642 ac_lo= ac_hi=
17643 fi
17644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17645 fi
17646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17647 # Binary search between lo and hi bounds.
17648 while test "x$ac_lo" != "x$ac_hi"; do
17649 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17650 cat >conftest.$ac_ext <<_ACEOF
17651 /* confdefs.h. */
17652 _ACEOF
17653 cat confdefs.h >>conftest.$ac_ext
17654 cat >>conftest.$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 $ac_includes_default
17657 int
17658 main ()
17659 {
17660 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17661 test_array [0] = 0
17662
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17679 ac_status=$?
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_hi=$ac_mid
17689 else
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ac_lo=`expr '(' $ac_mid ')' + 1`
17694 fi
17695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17696 done
17697 case $ac_lo in
17698 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17699 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17700 See \`config.log' for more details." >&5
17701 echo "$as_me: error: cannot compute sizeof (void *), 77
17702 See \`config.log' for more details." >&2;}
17703 { (exit 1); exit 1; }; } ;;
17704 esac
17705 else
17706 if test "$cross_compiling" = yes; then
17707 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17708 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17709 { (exit 1); exit 1; }; }
17710 else
17711 cat >conftest.$ac_ext <<_ACEOF
17712 /* confdefs.h. */
17713 _ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 $ac_includes_default
17718 long longval () { return (long) (sizeof (void *)); }
17719 unsigned long ulongval () { return (long) (sizeof (void *)); }
17720 #include <stdio.h>
17721 #include <stdlib.h>
17722 int
17723 main ()
17724 {
17725
17726 FILE *f = fopen ("conftest.val", "w");
17727 if (! f)
17728 exit (1);
17729 if (((long) (sizeof (void *))) < 0)
17730 {
17731 long i = longval ();
17732 if (i != ((long) (sizeof (void *))))
17733 exit (1);
17734 fprintf (f, "%ld\n", i);
17735 }
17736 else
17737 {
17738 unsigned long i = ulongval ();
17739 if (i != ((long) (sizeof (void *))))
17740 exit (1);
17741 fprintf (f, "%lu\n", i);
17742 }
17743 exit (ferror (f) || fclose (f) != 0);
17744
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 rm -f conftest$ac_exeext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17751 (eval $ac_link) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; }; then
17760 ac_cv_sizeof_void_p=`cat conftest.val`
17761 else
17762 echo "$as_me: program exited with status $ac_status" >&5
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 ( exit $ac_status )
17767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17768 See \`config.log' for more details." >&5
17769 echo "$as_me: error: cannot compute sizeof (void *), 77
17770 See \`config.log' for more details." >&2;}
17771 { (exit 1); exit 1; }; }
17772 fi
17773 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17774 fi
17775 fi
17776 rm -f conftest.val
17777 else
17778 ac_cv_sizeof_void_p=0
17779 fi
17780 fi
17781 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17782 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17783 cat >>confdefs.h <<_ACEOF
17784 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17785 _ACEOF
17786
17787
17788 echo "$as_me:$LINENO: checking for int" >&5
17789 echo $ECHO_N "checking for int... $ECHO_C" >&6
17790 if test "${ac_cv_type_int+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17793 cat >conftest.$ac_ext <<_ACEOF
17794 /* confdefs.h. */
17795 _ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 $ac_includes_default
17800 int
17801 main ()
17802 {
17803 if ((int *) 0)
17804 return 0;
17805 if (sizeof (int))
17806 return 0;
17807 ;
17808 return 0;
17809 }
17810 _ACEOF
17811 rm -f conftest.$ac_objext
17812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17813 (eval $ac_compile) 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } &&
17820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; } &&
17826 { ac_try='test -s conftest.$ac_objext'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17829 ac_status=$?
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; }; then
17832 ac_cv_type_int=yes
17833 else
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17836
17837 ac_cv_type_int=no
17838 fi
17839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17840 fi
17841 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17842 echo "${ECHO_T}$ac_cv_type_int" >&6
17843
17844 echo "$as_me:$LINENO: checking size of int" >&5
17845 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17846 if test "${ac_cv_sizeof_int+set}" = set; then
17847 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 else
17849 if test "$ac_cv_type_int" = yes; then
17850 # The cast to unsigned long works around a bug in the HP C Compiler
17851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17853 # This bug is HP SR number 8606223364.
17854 if test "$cross_compiling" = yes; then
17855 # Depending upon the size, compute the lo and hi bounds.
17856 cat >conftest.$ac_ext <<_ACEOF
17857 /* confdefs.h. */
17858 _ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17863 int
17864 main ()
17865 {
17866 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17867 test_array [0] = 0
17868
17869 ;
17870 return 0;
17871 }
17872 _ACEOF
17873 rm -f conftest.$ac_objext
17874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17875 (eval $ac_compile) 2>conftest.er1
17876 ac_status=$?
17877 grep -v '^ *+' conftest.er1 >conftest.err
17878 rm -f conftest.er1
17879 cat conftest.err >&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } &&
17882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; } &&
17888 { ac_try='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17891 ac_status=$?
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 ac_lo=0 ac_mid=0
17895 while :; do
17896 cat >conftest.$ac_ext <<_ACEOF
17897 /* confdefs.h. */
17898 _ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 $ac_includes_default
17903 int
17904 main ()
17905 {
17906 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17907 test_array [0] = 0
17908
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17925 ac_status=$?
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; } &&
17928 { ac_try='test -s conftest.$ac_objext'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17931 ac_status=$?
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 ac_hi=$ac_mid; break
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 ac_lo=`expr $ac_mid + 1`
17940 if test $ac_lo -le $ac_mid; then
17941 ac_lo= ac_hi=
17942 break
17943 fi
17944 ac_mid=`expr 2 '*' $ac_mid + 1`
17945 fi
17946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17947 done
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17951
17952 cat >conftest.$ac_ext <<_ACEOF
17953 /* confdefs.h. */
17954 _ACEOF
17955 cat confdefs.h >>conftest.$ac_ext
17956 cat >>conftest.$ac_ext <<_ACEOF
17957 /* end confdefs.h. */
17958 $ac_includes_default
17959 int
17960 main ()
17961 {
17962 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17963 test_array [0] = 0
17964
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17971 (eval $ac_compile) 2>conftest.er1
17972 ac_status=$?
17973 grep -v '^ *+' conftest.er1 >conftest.err
17974 rm -f conftest.er1
17975 cat conftest.err >&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); } &&
17978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; } &&
17984 { ac_try='test -s conftest.$ac_objext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17987 ac_status=$?
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17990 ac_hi=-1 ac_mid=-1
17991 while :; do
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 (int))) >= $ac_mid)];
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" || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18021 ac_status=$?
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_lo=$ac_mid; break
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18034
18035 ac_hi=`expr '(' $ac_mid ')' - 1`
18036 if test $ac_mid -le $ac_hi; then
18037 ac_lo= ac_hi=
18038 break
18039 fi
18040 ac_mid=`expr 2 '*' $ac_mid`
18041 fi
18042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18043 done
18044 else
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.$ac_ext >&5
18047
18048 ac_lo= ac_hi=
18049 fi
18050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18051 fi
18052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18053 # Binary search between lo and hi bounds.
18054 while test "x$ac_lo" != "x$ac_hi"; do
18055 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 $ac_includes_default
18063 int
18064 main ()
18065 {
18066 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18067 test_array [0] = 0
18068
18069 ;
18070 return 0;
18071 }
18072 _ACEOF
18073 rm -f conftest.$ac_objext
18074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18075 (eval $ac_compile) 2>conftest.er1
18076 ac_status=$?
18077 grep -v '^ *+' conftest.er1 >conftest.err
18078 rm -f conftest.er1
18079 cat conftest.err >&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } &&
18082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18084 (eval $ac_try) 2>&5
18085 ac_status=$?
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); }; } &&
18088 { ac_try='test -s conftest.$ac_objext'
18089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090 (eval $ac_try) 2>&5
18091 ac_status=$?
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; }; then
18094 ac_hi=$ac_mid
18095 else
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18098
18099 ac_lo=`expr '(' $ac_mid ')' + 1`
18100 fi
18101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 done
18103 case $ac_lo in
18104 ?*) ac_cv_sizeof_int=$ac_lo;;
18105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18106 See \`config.log' for more details." >&5
18107 echo "$as_me: error: cannot compute sizeof (int), 77
18108 See \`config.log' for more details." >&2;}
18109 { (exit 1); exit 1; }; } ;;
18110 esac
18111 else
18112 if test "$cross_compiling" = yes; then
18113 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18114 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18115 { (exit 1); exit 1; }; }
18116 else
18117 cat >conftest.$ac_ext <<_ACEOF
18118 /* confdefs.h. */
18119 _ACEOF
18120 cat confdefs.h >>conftest.$ac_ext
18121 cat >>conftest.$ac_ext <<_ACEOF
18122 /* end confdefs.h. */
18123 $ac_includes_default
18124 long longval () { return (long) (sizeof (int)); }
18125 unsigned long ulongval () { return (long) (sizeof (int)); }
18126 #include <stdio.h>
18127 #include <stdlib.h>
18128 int
18129 main ()
18130 {
18131
18132 FILE *f = fopen ("conftest.val", "w");
18133 if (! f)
18134 exit (1);
18135 if (((long) (sizeof (int))) < 0)
18136 {
18137 long i = longval ();
18138 if (i != ((long) (sizeof (int))))
18139 exit (1);
18140 fprintf (f, "%ld\n", i);
18141 }
18142 else
18143 {
18144 unsigned long i = ulongval ();
18145 if (i != ((long) (sizeof (int))))
18146 exit (1);
18147 fprintf (f, "%lu\n", i);
18148 }
18149 exit (ferror (f) || fclose (f) != 0);
18150
18151 ;
18152 return 0;
18153 }
18154 _ACEOF
18155 rm -f conftest$ac_exeext
18156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18157 (eval $ac_link) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 ac_cv_sizeof_int=`cat conftest.val`
18167 else
18168 echo "$as_me: program exited with status $ac_status" >&5
18169 echo "$as_me: failed program was:" >&5
18170 sed 's/^/| /' conftest.$ac_ext >&5
18171
18172 ( exit $ac_status )
18173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18174 See \`config.log' for more details." >&5
18175 echo "$as_me: error: cannot compute sizeof (int), 77
18176 See \`config.log' for more details." >&2;}
18177 { (exit 1); exit 1; }; }
18178 fi
18179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18180 fi
18181 fi
18182 rm -f conftest.val
18183 else
18184 ac_cv_sizeof_int=0
18185 fi
18186 fi
18187 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18188 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18189 cat >>confdefs.h <<_ACEOF
18190 #define SIZEOF_INT $ac_cv_sizeof_int
18191 _ACEOF
18192
18193
18194 echo "$as_me:$LINENO: checking for long" >&5
18195 echo $ECHO_N "checking for long... $ECHO_C" >&6
18196 if test "${ac_cv_type_long+set}" = set; then
18197 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 else
18199 cat >conftest.$ac_ext <<_ACEOF
18200 /* confdefs.h. */
18201 _ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 $ac_includes_default
18206 int
18207 main ()
18208 {
18209 if ((long *) 0)
18210 return 0;
18211 if (sizeof (long))
18212 return 0;
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 rm -f conftest.$ac_objext
18218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18219 (eval $ac_compile) 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } &&
18226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_cv_type_long=yes
18239 else
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18242
18243 ac_cv_type_long=no
18244 fi
18245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18246 fi
18247 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18248 echo "${ECHO_T}$ac_cv_type_long" >&6
18249
18250 echo "$as_me:$LINENO: checking size of long" >&5
18251 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18252 if test "${ac_cv_sizeof_long+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 if test "$ac_cv_type_long" = yes; then
18256 # The cast to unsigned long works around a bug in the HP C Compiler
18257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18259 # This bug is HP SR number 8606223364.
18260 if test "$cross_compiling" = yes; then
18261 # Depending upon the size, compute the lo and hi bounds.
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18269 int
18270 main ()
18271 {
18272 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18273 test_array [0] = 0
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281 (eval $ac_compile) 2>conftest.er1
18282 ac_status=$?
18283 grep -v '^ *+' conftest.er1 >conftest.err
18284 rm -f conftest.er1
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } &&
18288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try='test -s conftest.$ac_objext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 ac_lo=0 ac_mid=0
18301 while :; do
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308 $ac_includes_default
18309 int
18310 main ()
18311 {
18312 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18313 test_array [0] = 0
18314
18315 ;
18316 return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } &&
18328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 ac_hi=$ac_mid; break
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_lo=`expr $ac_mid + 1`
18346 if test $ac_lo -le $ac_mid; then
18347 ac_lo= ac_hi=
18348 break
18349 fi
18350 ac_mid=`expr 2 '*' $ac_mid + 1`
18351 fi
18352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18353 done
18354 else
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18357
18358 cat >conftest.$ac_ext <<_ACEOF
18359 /* confdefs.h. */
18360 _ACEOF
18361 cat confdefs.h >>conftest.$ac_ext
18362 cat >>conftest.$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18364 $ac_includes_default
18365 int
18366 main ()
18367 {
18368 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18369 test_array [0] = 0
18370
18371 ;
18372 return 0;
18373 }
18374 _ACEOF
18375 rm -f conftest.$ac_objext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>conftest.er1
18378 ac_status=$?
18379 grep -v '^ *+' conftest.er1 >conftest.err
18380 rm -f conftest.er1
18381 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } &&
18384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; } &&
18390 { ac_try='test -s conftest.$ac_objext'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18393 ac_status=$?
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; }; then
18396 ac_hi=-1 ac_mid=-1
18397 while :; do
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 $ac_includes_default
18405 int
18406 main ()
18407 {
18408 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18409 test_array [0] = 0
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_lo=$ac_mid; break
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_hi=`expr '(' $ac_mid ')' - 1`
18442 if test $ac_mid -le $ac_hi; then
18443 ac_lo= ac_hi=
18444 break
18445 fi
18446 ac_mid=`expr 2 '*' $ac_mid`
18447 fi
18448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18449 done
18450 else
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.$ac_ext >&5
18453
18454 ac_lo= ac_hi=
18455 fi
18456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18457 fi
18458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18459 # Binary search between lo and hi bounds.
18460 while test "x$ac_lo" != "x$ac_hi"; do
18461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 $ac_includes_default
18469 int
18470 main ()
18471 {
18472 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18473 test_array [0] = 0
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18491 ac_status=$?
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; } &&
18494 { ac_try='test -s conftest.$ac_objext'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; }; then
18500 ac_hi=$ac_mid
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 ac_lo=`expr '(' $ac_mid ')' + 1`
18506 fi
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18508 done
18509 case $ac_lo in
18510 ?*) ac_cv_sizeof_long=$ac_lo;;
18511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18512 See \`config.log' for more details." >&5
18513 echo "$as_me: error: cannot compute sizeof (long), 77
18514 See \`config.log' for more details." >&2;}
18515 { (exit 1); exit 1; }; } ;;
18516 esac
18517 else
18518 if test "$cross_compiling" = yes; then
18519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18521 { (exit 1); exit 1; }; }
18522 else
18523 cat >conftest.$ac_ext <<_ACEOF
18524 /* confdefs.h. */
18525 _ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18529 $ac_includes_default
18530 long longval () { return (long) (sizeof (long)); }
18531 unsigned long ulongval () { return (long) (sizeof (long)); }
18532 #include <stdio.h>
18533 #include <stdlib.h>
18534 int
18535 main ()
18536 {
18537
18538 FILE *f = fopen ("conftest.val", "w");
18539 if (! f)
18540 exit (1);
18541 if (((long) (sizeof (long))) < 0)
18542 {
18543 long i = longval ();
18544 if (i != ((long) (sizeof (long))))
18545 exit (1);
18546 fprintf (f, "%ld\n", i);
18547 }
18548 else
18549 {
18550 unsigned long i = ulongval ();
18551 if (i != ((long) (sizeof (long))))
18552 exit (1);
18553 fprintf (f, "%lu\n", i);
18554 }
18555 exit (ferror (f) || fclose (f) != 0);
18556
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 rm -f conftest$ac_exeext
18562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18563 (eval $ac_link) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_cv_sizeof_long=`cat conftest.val`
18573 else
18574 echo "$as_me: program exited with status $ac_status" >&5
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18577
18578 ( exit $ac_status )
18579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18580 See \`config.log' for more details." >&5
18581 echo "$as_me: error: cannot compute sizeof (long), 77
18582 See \`config.log' for more details." >&2;}
18583 { (exit 1); exit 1; }; }
18584 fi
18585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 fi
18588 rm -f conftest.val
18589 else
18590 ac_cv_sizeof_long=0
18591 fi
18592 fi
18593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18594 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18595 cat >>confdefs.h <<_ACEOF
18596 #define SIZEOF_LONG $ac_cv_sizeof_long
18597 _ACEOF
18598
18599
18600 echo "$as_me:$LINENO: checking for size_t" >&5
18601 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18602 if test "${ac_cv_type_size_t+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 else
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18612 int
18613 main ()
18614 {
18615 if ((size_t *) 0)
18616 return 0;
18617 if (sizeof (size_t))
18618 return 0;
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18625 (eval $ac_compile) 2>conftest.er1
18626 ac_status=$?
18627 grep -v '^ *+' conftest.er1 >conftest.err
18628 rm -f conftest.er1
18629 cat conftest.err >&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } &&
18632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_type_size_t=yes
18645 else
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18648
18649 ac_cv_type_size_t=no
18650 fi
18651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18652 fi
18653 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18654 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18655
18656 echo "$as_me:$LINENO: checking size of size_t" >&5
18657 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18658 if test "${ac_cv_sizeof_size_t+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661 if test "$ac_cv_type_size_t" = yes; then
18662 # The cast to unsigned long works around a bug in the HP C Compiler
18663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18665 # This bug is HP SR number 8606223364.
18666 if test "$cross_compiling" = yes; then
18667 # Depending upon the size, compute the lo and hi bounds.
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 $ac_includes_default
18675 int
18676 main ()
18677 {
18678 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18679 test_array [0] = 0
18680
18681 ;
18682 return 0;
18683 }
18684 _ACEOF
18685 rm -f conftest.$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 ac_lo=0 ac_mid=0
18707 while :; do
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 int
18716 main ()
18717 {
18718 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18719 test_array [0] = 0
18720
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_hi=$ac_mid; break
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751 ac_lo=`expr $ac_mid + 1`
18752 if test $ac_lo -le $ac_mid; then
18753 ac_lo= ac_hi=
18754 break
18755 fi
18756 ac_mid=`expr 2 '*' $ac_mid + 1`
18757 fi
18758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18759 done
18760 else
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18763
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771 int
18772 main ()
18773 {
18774 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18775 test_array [0] = 0
18776
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" || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_hi=-1 ac_mid=-1
18803 while :; do
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 $ac_includes_default
18811 int
18812 main ()
18813 {
18814 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18815 test_array [0] = 0
18816
18817 ;
18818 return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_lo=$ac_mid; break
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_hi=`expr '(' $ac_mid ')' - 1`
18848 if test $ac_mid -le $ac_hi; then
18849 ac_lo= ac_hi=
18850 break
18851 fi
18852 ac_mid=`expr 2 '*' $ac_mid`
18853 fi
18854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18855 done
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18859
18860 ac_lo= ac_hi=
18861 fi
18862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18863 fi
18864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18865 # Binary search between lo and hi bounds.
18866 while test "x$ac_lo" != "x$ac_hi"; do
18867 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 (size_t))) <= $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" || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 ac_hi=$ac_mid
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18910
18911 ac_lo=`expr '(' $ac_mid ')' + 1`
18912 fi
18913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18914 done
18915 case $ac_lo in
18916 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18918 See \`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (size_t), 77
18920 See \`config.log' for more details." >&2;}
18921 { (exit 1); exit 1; }; } ;;
18922 esac
18923 else
18924 if test "$cross_compiling" = yes; then
18925 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18926 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18927 { (exit 1); exit 1; }; }
18928 else
18929 cat >conftest.$ac_ext <<_ACEOF
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 $ac_includes_default
18936 long longval () { return (long) (sizeof (size_t)); }
18937 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18938 #include <stdio.h>
18939 #include <stdlib.h>
18940 int
18941 main ()
18942 {
18943
18944 FILE *f = fopen ("conftest.val", "w");
18945 if (! f)
18946 exit (1);
18947 if (((long) (sizeof (size_t))) < 0)
18948 {
18949 long i = longval ();
18950 if (i != ((long) (sizeof (size_t))))
18951 exit (1);
18952 fprintf (f, "%ld\n", i);
18953 }
18954 else
18955 {
18956 unsigned long i = ulongval ();
18957 if (i != ((long) (sizeof (size_t))))
18958 exit (1);
18959 fprintf (f, "%lu\n", i);
18960 }
18961 exit (ferror (f) || fclose (f) != 0);
18962
18963 ;
18964 return 0;
18965 }
18966 _ACEOF
18967 rm -f conftest$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_sizeof_size_t=`cat conftest.val`
18979 else
18980 echo "$as_me: program exited with status $ac_status" >&5
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ( exit $ac_status )
18985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18986 See \`config.log' for more details." >&5
18987 echo "$as_me: error: cannot compute sizeof (size_t), 77
18988 See \`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }
18990 fi
18991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18992 fi
18993 fi
18994 rm -f conftest.val
18995 else
18996 ac_cv_sizeof_size_t=0
18997 fi
18998 fi
18999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19000 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19001 cat >>confdefs.h <<_ACEOF
19002 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19003 _ACEOF
19004
19005
19006
19007 case "${host}" in
19008 arm-*-linux* )
19009 echo "$as_me:$LINENO: checking for long long" >&5
19010 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19011 if test "${ac_cv_type_long_long+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h. */
19016 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 $ac_includes_default
19021 int
19022 main ()
19023 {
19024 if ((long long *) 0)
19025 return 0;
19026 if (sizeof (long long))
19027 return 0;
19028 ;
19029 return 0;
19030 }
19031 _ACEOF
19032 rm -f conftest.$ac_objext
19033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19034 (eval $ac_compile) 2>conftest.er1
19035 ac_status=$?
19036 grep -v '^ *+' conftest.er1 >conftest.err
19037 rm -f conftest.er1
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } &&
19041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19044 ac_status=$?
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; } &&
19047 { ac_try='test -s conftest.$ac_objext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19050 ac_status=$?
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19053 ac_cv_type_long_long=yes
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_cv_type_long_long=no
19059 fi
19060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19061 fi
19062 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19063 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19064
19065 echo "$as_me:$LINENO: checking size of long long" >&5
19066 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19067 if test "${ac_cv_sizeof_long_long+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test "$ac_cv_type_long_long" = yes; then
19071 # The cast to unsigned long works around a bug in the HP C Compiler
19072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19074 # This bug is HP SR number 8606223364.
19075 if test "$cross_compiling" = yes; then
19076 # Depending upon the size, compute the lo and hi bounds.
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 $ac_includes_default
19084 int
19085 main ()
19086 {
19087 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19088 test_array [0] = 0
19089
19090 ;
19091 return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest.$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>conftest.er1
19097 ac_status=$?
19098 grep -v '^ *+' conftest.er1 >conftest.err
19099 rm -f conftest.er1
19100 cat conftest.err >&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_lo=0 ac_mid=0
19116 while :; do
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 int
19125 main ()
19126 {
19127 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19128 test_array [0] = 0
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_hi=$ac_mid; break
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19159
19160 ac_lo=`expr $ac_mid + 1`
19161 if test $ac_lo -le $ac_mid; then
19162 ac_lo= ac_hi=
19163 break
19164 fi
19165 ac_mid=`expr 2 '*' $ac_mid + 1`
19166 fi
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 done
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 int
19181 main ()
19182 {
19183 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19184 test_array [0] = 0
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; } &&
19205 { ac_try='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_hi=-1 ac_mid=-1
19212 while :; do
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 $ac_includes_default
19220 int
19221 main ()
19222 {
19223 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19224 test_array [0] = 0
19225
19226 ;
19227 return 0;
19228 }
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_lo=$ac_mid; break
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19255
19256 ac_hi=`expr '(' $ac_mid ')' - 1`
19257 if test $ac_mid -le $ac_hi; then
19258 ac_lo= ac_hi=
19259 break
19260 fi
19261 ac_mid=`expr 2 '*' $ac_mid`
19262 fi
19263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19264 done
19265 else
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19268
19269 ac_lo= ac_hi=
19270 fi
19271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274 # Binary search between lo and hi bounds.
19275 while test "x$ac_lo" != "x$ac_hi"; do
19276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19284 int
19285 main ()
19286 {
19287 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
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" || test ! -s conftest.err'
19304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 (eval $ac_try) 2>&5
19306 ac_status=$?
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; } &&
19309 { ac_try='test -s conftest.$ac_objext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_hi=$ac_mid
19316 else
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19319
19320 ac_lo=`expr '(' $ac_mid ')' + 1`
19321 fi
19322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19323 done
19324 case $ac_lo in
19325 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19326 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19327 See \`config.log' for more details." >&5
19328 echo "$as_me: error: cannot compute sizeof (long long), 77
19329 See \`config.log' for more details." >&2;}
19330 { (exit 1); exit 1; }; } ;;
19331 esac
19332 else
19333 if test "$cross_compiling" = yes; then
19334 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19335 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19336 { (exit 1); exit 1; }; }
19337 else
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 $ac_includes_default
19345 long longval () { return (long) (sizeof (long long)); }
19346 unsigned long ulongval () { return (long) (sizeof (long long)); }
19347 #include <stdio.h>
19348 #include <stdlib.h>
19349 int
19350 main ()
19351 {
19352
19353 FILE *f = fopen ("conftest.val", "w");
19354 if (! f)
19355 exit (1);
19356 if (((long) (sizeof (long long))) < 0)
19357 {
19358 long i = longval ();
19359 if (i != ((long) (sizeof (long long))))
19360 exit (1);
19361 fprintf (f, "%ld\n", i);
19362 }
19363 else
19364 {
19365 unsigned long i = ulongval ();
19366 if (i != ((long) (sizeof (long long))))
19367 exit (1);
19368 fprintf (f, "%lu\n", i);
19369 }
19370 exit (ferror (f) || fclose (f) != 0);
19371
19372 ;
19373 return 0;
19374 }
19375 _ACEOF
19376 rm -f conftest$ac_exeext
19377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19378 (eval $ac_link) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_sizeof_long_long=`cat conftest.val`
19388 else
19389 echo "$as_me: program exited with status $ac_status" >&5
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.$ac_ext >&5
19392
19393 ( exit $ac_status )
19394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19395 See \`config.log' for more details." >&5
19396 echo "$as_me: error: cannot compute sizeof (long long), 77
19397 See \`config.log' for more details." >&2;}
19398 { (exit 1); exit 1; }; }
19399 fi
19400 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19401 fi
19402 fi
19403 rm -f conftest.val
19404 else
19405 ac_cv_sizeof_long_long=0
19406 fi
19407 fi
19408 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19409 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19410 cat >>confdefs.h <<_ACEOF
19411 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19412 _ACEOF
19413
19414
19415 ;;
19416 *-hp-hpux* )
19417 echo "$as_me:$LINENO: checking for long long" >&5
19418 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19419 if test "${ac_cv_type_long_long+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 else
19422 cat >conftest.$ac_ext <<_ACEOF
19423 /* confdefs.h. */
19424 _ACEOF
19425 cat confdefs.h >>conftest.$ac_ext
19426 cat >>conftest.$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 $ac_includes_default
19429 int
19430 main ()
19431 {
19432 if ((long long *) 0)
19433 return 0;
19434 if (sizeof (long long))
19435 return 0;
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19442 (eval $ac_compile) 2>conftest.er1
19443 ac_status=$?
19444 grep -v '^ *+' conftest.er1 >conftest.err
19445 rm -f conftest.er1
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19452 ac_status=$?
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; } &&
19455 { ac_try='test -s conftest.$ac_objext'
19456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19457 (eval $ac_try) 2>&5
19458 ac_status=$?
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); }; }; then
19461 ac_cv_type_long_long=yes
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19465
19466 ac_cv_type_long_long=no
19467 fi
19468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19469 fi
19470 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19471 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19472
19473 echo "$as_me:$LINENO: checking size of long long" >&5
19474 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19475 if test "${ac_cv_sizeof_long_long+set}" = set; then
19476 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 else
19478 if test "$ac_cv_type_long_long" = yes; then
19479 # The cast to unsigned long works around a bug in the HP C Compiler
19480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19482 # This bug is HP SR number 8606223364.
19483 if test "$cross_compiling" = yes; then
19484 # Depending upon the size, compute the lo and hi bounds.
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19492 int
19493 main ()
19494 {
19495 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19496 test_array [0] = 0
19497
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 rm -f conftest.$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19520 ac_status=$?
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_lo=0 ac_mid=0
19524 while :; do
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 int
19533 main ()
19534 {
19535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19536 test_array [0] = 0
19537
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 rm -f conftest.$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19554 ac_status=$?
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; } &&
19557 { ac_try='test -s conftest.$ac_objext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19560 ac_status=$?
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 ac_hi=$ac_mid; break
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19567
19568 ac_lo=`expr $ac_mid + 1`
19569 if test $ac_lo -le $ac_mid; then
19570 ac_lo= ac_hi=
19571 break
19572 fi
19573 ac_mid=`expr 2 '*' $ac_mid + 1`
19574 fi
19575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19576 done
19577 else
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19580
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 int
19589 main ()
19590 {
19591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19592 test_array [0] = 0
19593
19594 ;
19595 return 0;
19596 }
19597 _ACEOF
19598 rm -f conftest.$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>conftest.er1
19601 ac_status=$?
19602 grep -v '^ *+' conftest.er1 >conftest.err
19603 rm -f conftest.er1
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } &&
19607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; } &&
19613 { ac_try='test -s conftest.$ac_objext'
19614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19615 (eval $ac_try) 2>&5
19616 ac_status=$?
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); }; }; then
19619 ac_hi=-1 ac_mid=-1
19620 while :; do
19621 cat >conftest.$ac_ext <<_ACEOF
19622 /* confdefs.h. */
19623 _ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 $ac_includes_default
19628 int
19629 main ()
19630 {
19631 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19632 test_array [0] = 0
19633
19634 ;
19635 return 0;
19636 }
19637 _ACEOF
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19641 ac_status=$?
19642 grep -v '^ *+' conftest.er1 >conftest.err
19643 rm -f conftest.er1
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19650 ac_status=$?
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19656 ac_status=$?
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 ac_lo=$ac_mid; break
19660 else
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19663
19664 ac_hi=`expr '(' $ac_mid ')' - 1`
19665 if test $ac_mid -le $ac_hi; then
19666 ac_lo= ac_hi=
19667 break
19668 fi
19669 ac_mid=`expr 2 '*' $ac_mid`
19670 fi
19671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19672 done
19673 else
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.$ac_ext >&5
19676
19677 ac_lo= ac_hi=
19678 fi
19679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19680 fi
19681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19682 # Binary search between lo and hi bounds.
19683 while test "x$ac_lo" != "x$ac_hi"; do
19684 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19685 cat >conftest.$ac_ext <<_ACEOF
19686 /* confdefs.h. */
19687 _ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691 $ac_includes_default
19692 int
19693 main ()
19694 {
19695 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19696 test_array [0] = 0
19697
19698 ;
19699 return 0;
19700 }
19701 _ACEOF
19702 rm -f conftest.$ac_objext
19703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19704 (eval $ac_compile) 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } &&
19711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19713 (eval $ac_try) 2>&5
19714 ac_status=$?
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); }; } &&
19717 { ac_try='test -s conftest.$ac_objext'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19720 ac_status=$?
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; }; then
19723 ac_hi=$ac_mid
19724 else
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19727
19728 ac_lo=`expr '(' $ac_mid ')' + 1`
19729 fi
19730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19731 done
19732 case $ac_lo in
19733 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19734 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19735 See \`config.log' for more details." >&5
19736 echo "$as_me: error: cannot compute sizeof (long long), 77
19737 See \`config.log' for more details." >&2;}
19738 { (exit 1); exit 1; }; } ;;
19739 esac
19740 else
19741 if test "$cross_compiling" = yes; then
19742 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19743 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19744 { (exit 1); exit 1; }; }
19745 else
19746 cat >conftest.$ac_ext <<_ACEOF
19747 /* confdefs.h. */
19748 _ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 long longval () { return (long) (sizeof (long long)); }
19754 unsigned long ulongval () { return (long) (sizeof (long long)); }
19755 #include <stdio.h>
19756 #include <stdlib.h>
19757 int
19758 main ()
19759 {
19760
19761 FILE *f = fopen ("conftest.val", "w");
19762 if (! f)
19763 exit (1);
19764 if (((long) (sizeof (long long))) < 0)
19765 {
19766 long i = longval ();
19767 if (i != ((long) (sizeof (long long))))
19768 exit (1);
19769 fprintf (f, "%ld\n", i);
19770 }
19771 else
19772 {
19773 unsigned long i = ulongval ();
19774 if (i != ((long) (sizeof (long long))))
19775 exit (1);
19776 fprintf (f, "%lu\n", i);
19777 }
19778 exit (ferror (f) || fclose (f) != 0);
19779
19780 ;
19781 return 0;
19782 }
19783 _ACEOF
19784 rm -f conftest$ac_exeext
19785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19786 (eval $ac_link) 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19792 ac_status=$?
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; }; then
19795 ac_cv_sizeof_long_long=`cat conftest.val`
19796 else
19797 echo "$as_me: program exited with status $ac_status" >&5
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19800
19801 ( exit $ac_status )
19802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19803 See \`config.log' for more details." >&5
19804 echo "$as_me: error: cannot compute sizeof (long long), 77
19805 See \`config.log' for more details." >&2;}
19806 { (exit 1); exit 1; }; }
19807 fi
19808 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19809 fi
19810 fi
19811 rm -f conftest.val
19812 else
19813 ac_cv_sizeof_long_long=0
19814 fi
19815 fi
19816 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19817 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19818 cat >>confdefs.h <<_ACEOF
19819 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19820 _ACEOF
19821
19822
19823 if test "$ac_cv_sizeof_long_long" != "0"; then
19824 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19825 fi
19826 ;;
19827 * )
19828 echo "$as_me:$LINENO: checking for long long" >&5
19829 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19830 if test "${ac_cv_type_long_long+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 else
19833 cat >conftest.$ac_ext <<_ACEOF
19834 /* confdefs.h. */
19835 _ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 $ac_includes_default
19840 int
19841 main ()
19842 {
19843 if ((long long *) 0)
19844 return 0;
19845 if (sizeof (long long))
19846 return 0;
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5
19863 ac_status=$?
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); }; } &&
19866 { ac_try='test -s conftest.$ac_objext'
19867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19868 (eval $ac_try) 2>&5
19869 ac_status=$?
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); }; }; then
19872 ac_cv_type_long_long=yes
19873 else
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19876
19877 ac_cv_type_long_long=no
19878 fi
19879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19880 fi
19881 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19882 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19883
19884 echo "$as_me:$LINENO: checking size of long long" >&5
19885 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19886 if test "${ac_cv_sizeof_long_long+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 else
19889 if test "$ac_cv_type_long_long" = yes; then
19890 # The cast to unsigned long works around a bug in the HP C Compiler
19891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19893 # This bug is HP SR number 8606223364.
19894 if test "$cross_compiling" = yes; then
19895 # Depending upon the size, compute the lo and hi bounds.
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 int
19904 main ()
19905 {
19906 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19907 test_array [0] = 0
19908
19909 ;
19910 return 0;
19911 }
19912 _ACEOF
19913 rm -f conftest.$ac_objext
19914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19915 (eval $ac_compile) 2>conftest.er1
19916 ac_status=$?
19917 grep -v '^ *+' conftest.er1 >conftest.err
19918 rm -f conftest.er1
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } &&
19922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; } &&
19928 { ac_try='test -s conftest.$ac_objext'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; }; then
19934 ac_lo=0 ac_mid=0
19935 while :; do
19936 cat >conftest.$ac_ext <<_ACEOF
19937 /* confdefs.h. */
19938 _ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 $ac_includes_default
19943 int
19944 main ()
19945 {
19946 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19947 test_array [0] = 0
19948
19949 ;
19950 return 0;
19951 }
19952 _ACEOF
19953 rm -f conftest.$ac_objext
19954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19955 (eval $ac_compile) 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19965 ac_status=$?
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; } &&
19968 { ac_try='test -s conftest.$ac_objext'
19969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19970 (eval $ac_try) 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; }; then
19974 ac_hi=$ac_mid; break
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19978
19979 ac_lo=`expr $ac_mid + 1`
19980 if test $ac_lo -le $ac_mid; then
19981 ac_lo= ac_hi=
19982 break
19983 fi
19984 ac_mid=`expr 2 '*' $ac_mid + 1`
19985 fi
19986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19987 done
19988 else
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19991
19992 cat >conftest.$ac_ext <<_ACEOF
19993 /* confdefs.h. */
19994 _ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19998 $ac_includes_default
19999 int
20000 main ()
20001 {
20002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20003 test_array [0] = 0
20004
20005 ;
20006 return 0;
20007 }
20008 _ACEOF
20009 rm -f conftest.$ac_objext
20010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20011 (eval $ac_compile) 2>conftest.er1
20012 ac_status=$?
20013 grep -v '^ *+' conftest.er1 >conftest.err
20014 rm -f conftest.er1
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } &&
20018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20021 ac_status=$?
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; } &&
20024 { ac_try='test -s conftest.$ac_objext'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; }; then
20030 ac_hi=-1 ac_mid=-1
20031 while :; do
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h. */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20039 int
20040 main ()
20041 {
20042 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20043 test_array [0] = 0
20044
20045 ;
20046 return 0;
20047 }
20048 _ACEOF
20049 rm -f conftest.$ac_objext
20050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20051 (eval $ac_compile) 2>conftest.er1
20052 ac_status=$?
20053 grep -v '^ *+' conftest.er1 >conftest.err
20054 rm -f conftest.er1
20055 cat conftest.err >&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } &&
20058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060 (eval $ac_try) 2>&5
20061 ac_status=$?
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; } &&
20064 { ac_try='test -s conftest.$ac_objext'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; }; then
20070 ac_lo=$ac_mid; break
20071 else
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20074
20075 ac_hi=`expr '(' $ac_mid ')' - 1`
20076 if test $ac_mid -le $ac_hi; then
20077 ac_lo= ac_hi=
20078 break
20079 fi
20080 ac_mid=`expr 2 '*' $ac_mid`
20081 fi
20082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20083 done
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_lo= ac_hi=
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 fi
20092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20093 # Binary search between lo and hi bounds.
20094 while test "x$ac_lo" != "x$ac_hi"; do
20095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 int
20104 main ()
20105 {
20106 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20107 test_array [0] = 0
20108
20109 ;
20110 return 0;
20111 }
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>conftest.er1
20116 ac_status=$?
20117 grep -v '^ *+' conftest.er1 >conftest.err
20118 rm -f conftest.er1
20119 cat conftest.err >&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } &&
20122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20125 ac_status=$?
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; } &&
20128 { ac_try='test -s conftest.$ac_objext'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; }; then
20134 ac_hi=$ac_mid
20135 else
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20138
20139 ac_lo=`expr '(' $ac_mid ')' + 1`
20140 fi
20141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20142 done
20143 case $ac_lo in
20144 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20145 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20146 See \`config.log' for more details." >&5
20147 echo "$as_me: error: cannot compute sizeof (long long), 77
20148 See \`config.log' for more details." >&2;}
20149 { (exit 1); exit 1; }; } ;;
20150 esac
20151 else
20152 if test "$cross_compiling" = yes; then
20153 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20154 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20155 { (exit 1); exit 1; }; }
20156 else
20157 cat >conftest.$ac_ext <<_ACEOF
20158 /* confdefs.h. */
20159 _ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 $ac_includes_default
20164 long longval () { return (long) (sizeof (long long)); }
20165 unsigned long ulongval () { return (long) (sizeof (long long)); }
20166 #include <stdio.h>
20167 #include <stdlib.h>
20168 int
20169 main ()
20170 {
20171
20172 FILE *f = fopen ("conftest.val", "w");
20173 if (! f)
20174 exit (1);
20175 if (((long) (sizeof (long long))) < 0)
20176 {
20177 long i = longval ();
20178 if (i != ((long) (sizeof (long long))))
20179 exit (1);
20180 fprintf (f, "%ld\n", i);
20181 }
20182 else
20183 {
20184 unsigned long i = ulongval ();
20185 if (i != ((long) (sizeof (long long))))
20186 exit (1);
20187 fprintf (f, "%lu\n", i);
20188 }
20189 exit (ferror (f) || fclose (f) != 0);
20190
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 rm -f conftest$ac_exeext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20197 (eval $ac_link) 2>&5
20198 ac_status=$?
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 ac_cv_sizeof_long_long=`cat conftest.val`
20207 else
20208 echo "$as_me: program exited with status $ac_status" >&5
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20211
20212 ( exit $ac_status )
20213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20214 See \`config.log' for more details." >&5
20215 echo "$as_me: error: cannot compute sizeof (long long), 77
20216 See \`config.log' for more details." >&2;}
20217 { (exit 1); exit 1; }; }
20218 fi
20219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20220 fi
20221 fi
20222 rm -f conftest.val
20223 else
20224 ac_cv_sizeof_long_long=0
20225 fi
20226 fi
20227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20228 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20229 cat >>confdefs.h <<_ACEOF
20230 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20231 _ACEOF
20232
20233
20234 esac
20235
20236 echo "$as_me:$LINENO: checking for wchar_t" >&5
20237 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20238 if test "${ac_cv_type_wchar_t+set}" = set; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 else
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247
20248 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20249 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20250 # error "fake wchar_t"
20251 #endif
20252 #ifdef HAVE_WCHAR_H
20253 # ifdef __CYGWIN__
20254 # include <stddef.h>
20255 # endif
20256 # include <wchar.h>
20257 #endif
20258 #ifdef HAVE_STDLIB_H
20259 # include <stdlib.h>
20260 #endif
20261 #include <stdio.h>
20262
20263
20264
20265 int
20266 main ()
20267 {
20268 if ((wchar_t *) 0)
20269 return 0;
20270 if (sizeof (wchar_t))
20271 return 0;
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20279 ac_status=$?
20280 grep -v '^ *+' conftest.er1 >conftest.err
20281 rm -f conftest.er1
20282 cat conftest.err >&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20288 ac_status=$?
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20294 ac_status=$?
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_type_wchar_t=yes
20298 else
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302 ac_cv_type_wchar_t=no
20303 fi
20304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20305 fi
20306 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20307 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20308
20309 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20310 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20311 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314 if test "$ac_cv_type_wchar_t" = yes; then
20315 # The cast to unsigned long works around a bug in the HP C Compiler
20316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20318 # This bug is HP SR number 8606223364.
20319 if test "$cross_compiling" = yes; then
20320 # Depending upon the size, compute the lo and hi bounds.
20321 cat >conftest.$ac_ext <<_ACEOF
20322 /* confdefs.h. */
20323 _ACEOF
20324 cat confdefs.h >>conftest.$ac_ext
20325 cat >>conftest.$ac_ext <<_ACEOF
20326 /* end confdefs.h. */
20327
20328 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20329 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20330 # error "fake wchar_t"
20331 #endif
20332 #ifdef HAVE_WCHAR_H
20333 # ifdef __CYGWIN__
20334 # include <stddef.h>
20335 # endif
20336 # include <wchar.h>
20337 #endif
20338 #ifdef HAVE_STDLIB_H
20339 # include <stdlib.h>
20340 #endif
20341 #include <stdio.h>
20342
20343
20344
20345 int
20346 main ()
20347 {
20348 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20349 test_array [0] = 0
20350
20351 ;
20352 return 0;
20353 }
20354 _ACEOF
20355 rm -f conftest.$ac_objext
20356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20357 (eval $ac_compile) 2>conftest.er1
20358 ac_status=$?
20359 grep -v '^ *+' conftest.er1 >conftest.err
20360 rm -f conftest.er1
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } &&
20364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; } &&
20370 { ac_try='test -s conftest.$ac_objext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_lo=0 ac_mid=0
20377 while :; do
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384
20385 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20386 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20387 # error "fake wchar_t"
20388 #endif
20389 #ifdef HAVE_WCHAR_H
20390 # ifdef __CYGWIN__
20391 # include <stddef.h>
20392 # endif
20393 # include <wchar.h>
20394 #endif
20395 #ifdef HAVE_STDLIB_H
20396 # include <stdlib.h>
20397 #endif
20398 #include <stdio.h>
20399
20400
20401
20402 int
20403 main ()
20404 {
20405 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20406 test_array [0] = 0
20407
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20414 (eval $ac_compile) 2>conftest.er1
20415 ac_status=$?
20416 grep -v '^ *+' conftest.er1 >conftest.err
20417 rm -f conftest.er1
20418 cat conftest.err >&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20424 ac_status=$?
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; } &&
20427 { ac_try='test -s conftest.$ac_objext'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20430 ac_status=$?
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; }; then
20433 ac_hi=$ac_mid; break
20434 else
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ac_lo=`expr $ac_mid + 1`
20439 if test $ac_lo -le $ac_mid; then
20440 ac_lo= ac_hi=
20441 break
20442 fi
20443 ac_mid=`expr 2 '*' $ac_mid + 1`
20444 fi
20445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20446 done
20447 else
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457
20458 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20459 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20460 # error "fake wchar_t"
20461 #endif
20462 #ifdef HAVE_WCHAR_H
20463 # ifdef __CYGWIN__
20464 # include <stddef.h>
20465 # endif
20466 # include <wchar.h>
20467 #endif
20468 #ifdef HAVE_STDLIB_H
20469 # include <stdlib.h>
20470 #endif
20471 #include <stdio.h>
20472
20473
20474
20475 int
20476 main ()
20477 {
20478 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20479 test_array [0] = 0
20480
20481 ;
20482 return 0;
20483 }
20484 _ACEOF
20485 rm -f conftest.$ac_objext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20487 (eval $ac_compile) 2>conftest.er1
20488 ac_status=$?
20489 grep -v '^ *+' conftest.er1 >conftest.err
20490 rm -f conftest.er1
20491 cat conftest.err >&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); } &&
20494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20497 ac_status=$?
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; } &&
20500 { ac_try='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20503 ac_status=$?
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 ac_hi=-1 ac_mid=-1
20507 while :; do
20508 cat >conftest.$ac_ext <<_ACEOF
20509 /* confdefs.h. */
20510 _ACEOF
20511 cat confdefs.h >>conftest.$ac_ext
20512 cat >>conftest.$ac_ext <<_ACEOF
20513 /* end confdefs.h. */
20514
20515 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20516 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20517 # error "fake wchar_t"
20518 #endif
20519 #ifdef HAVE_WCHAR_H
20520 # ifdef __CYGWIN__
20521 # include <stddef.h>
20522 # endif
20523 # include <wchar.h>
20524 #endif
20525 #ifdef HAVE_STDLIB_H
20526 # include <stdlib.h>
20527 #endif
20528 #include <stdio.h>
20529
20530
20531
20532 int
20533 main ()
20534 {
20535 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20536 test_array [0] = 0
20537
20538 ;
20539 return 0;
20540 }
20541 _ACEOF
20542 rm -f conftest.$ac_objext
20543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20544 (eval $ac_compile) 2>conftest.er1
20545 ac_status=$?
20546 grep -v '^ *+' conftest.er1 >conftest.err
20547 rm -f conftest.er1
20548 cat conftest.err >&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } &&
20551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; } &&
20557 { ac_try='test -s conftest.$ac_objext'
20558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20559 (eval $ac_try) 2>&5
20560 ac_status=$?
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); }; }; then
20563 ac_lo=$ac_mid; break
20564 else
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20567
20568 ac_hi=`expr '(' $ac_mid ')' - 1`
20569 if test $ac_mid -le $ac_hi; then
20570 ac_lo= ac_hi=
20571 break
20572 fi
20573 ac_mid=`expr 2 '*' $ac_mid`
20574 fi
20575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20576 done
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 ac_lo= ac_hi=
20582 fi
20583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20584 fi
20585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20586 # Binary search between lo and hi bounds.
20587 while test "x$ac_lo" != "x$ac_hi"; do
20588 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20589 cat >conftest.$ac_ext <<_ACEOF
20590 /* confdefs.h. */
20591 _ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595
20596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20598 # error "fake wchar_t"
20599 #endif
20600 #ifdef HAVE_WCHAR_H
20601 # ifdef __CYGWIN__
20602 # include <stddef.h>
20603 # endif
20604 # include <wchar.h>
20605 #endif
20606 #ifdef HAVE_STDLIB_H
20607 # include <stdlib.h>
20608 #endif
20609 #include <stdio.h>
20610
20611
20612
20613 int
20614 main ()
20615 {
20616 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20617 test_array [0] = 0
20618
20619 ;
20620 return 0;
20621 }
20622 _ACEOF
20623 rm -f conftest.$ac_objext
20624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20625 (eval $ac_compile) 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } &&
20632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20635 ac_status=$?
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; } &&
20638 { ac_try='test -s conftest.$ac_objext'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; }; then
20644 ac_hi=$ac_mid
20645 else
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20648
20649 ac_lo=`expr '(' $ac_mid ')' + 1`
20650 fi
20651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20652 done
20653 case $ac_lo in
20654 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20655 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20656 See \`config.log' for more details." >&5
20657 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20658 See \`config.log' for more details." >&2;}
20659 { (exit 1); exit 1; }; } ;;
20660 esac
20661 else
20662 if test "$cross_compiling" = yes; then
20663 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20664 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20665 { (exit 1); exit 1; }; }
20666 else
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673
20674 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20675 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20676 # error "fake wchar_t"
20677 #endif
20678 #ifdef HAVE_WCHAR_H
20679 # ifdef __CYGWIN__
20680 # include <stddef.h>
20681 # endif
20682 # include <wchar.h>
20683 #endif
20684 #ifdef HAVE_STDLIB_H
20685 # include <stdlib.h>
20686 #endif
20687 #include <stdio.h>
20688
20689
20690
20691 long longval () { return (long) (sizeof (wchar_t)); }
20692 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20693 #include <stdio.h>
20694 #include <stdlib.h>
20695 int
20696 main ()
20697 {
20698
20699 FILE *f = fopen ("conftest.val", "w");
20700 if (! f)
20701 exit (1);
20702 if (((long) (sizeof (wchar_t))) < 0)
20703 {
20704 long i = longval ();
20705 if (i != ((long) (sizeof (wchar_t))))
20706 exit (1);
20707 fprintf (f, "%ld\n", i);
20708 }
20709 else
20710 {
20711 unsigned long i = ulongval ();
20712 if (i != ((long) (sizeof (wchar_t))))
20713 exit (1);
20714 fprintf (f, "%lu\n", i);
20715 }
20716 exit (ferror (f) || fclose (f) != 0);
20717
20718 ;
20719 return 0;
20720 }
20721 _ACEOF
20722 rm -f conftest$ac_exeext
20723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20724 (eval $ac_link) 2>&5
20725 ac_status=$?
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20729 (eval $ac_try) 2>&5
20730 ac_status=$?
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); }; }; then
20733 ac_cv_sizeof_wchar_t=`cat conftest.val`
20734 else
20735 echo "$as_me: program exited with status $ac_status" >&5
20736 echo "$as_me: failed program was:" >&5
20737 sed 's/^/| /' conftest.$ac_ext >&5
20738
20739 ( exit $ac_status )
20740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20741 See \`config.log' for more details." >&5
20742 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20743 See \`config.log' for more details." >&2;}
20744 { (exit 1); exit 1; }; }
20745 fi
20746 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20747 fi
20748 fi
20749 rm -f conftest.val
20750 else
20751 ac_cv_sizeof_wchar_t=0
20752 fi
20753 fi
20754 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20755 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20756 cat >>confdefs.h <<_ACEOF
20757 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20758 _ACEOF
20759
20760
20761 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20762 wxUSE_WCHAR_T=yes
20763 else
20764 wxUSE_WCHAR_T=no
20765 fi
20766
20767 echo "$as_me:$LINENO: checking for va_copy" >&5
20768 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20769 if test "${wx_cv_func_va_copy+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 else
20772
20773 cat >conftest.$ac_ext <<_ACEOF
20774
20775 #include <stdarg.h>
20776 void foo(char *f, ...)
20777 {
20778 va_list ap1, ap2;
20779 va_start(ap1, f);
20780 va_copy(ap2, ap1);
20781 va_end(ap2);
20782 va_end(ap1);
20783 }
20784 int main()
20785 {
20786 foo("hi", 17);
20787 return 0;
20788 }
20789 _ACEOF
20790 rm -f conftest.$ac_objext conftest$ac_exeext
20791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20792 (eval $ac_link) 2>conftest.er1
20793 ac_status=$?
20794 grep -v '^ *+' conftest.er1 >conftest.err
20795 rm -f conftest.er1
20796 cat conftest.err >&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } &&
20799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20801 (eval $ac_try) 2>&5
20802 ac_status=$?
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); }; } &&
20805 { ac_try='test -s conftest$ac_exeext'
20806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20807 (eval $ac_try) 2>&5
20808 ac_status=$?
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); }; }; then
20811 wx_cv_func_va_copy=yes
20812 else
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20815
20816 wx_cv_func_va_copy=no
20817
20818 fi
20819 rm -f conftest.err conftest.$ac_objext \
20820 conftest$ac_exeext conftest.$ac_ext
20821
20822
20823 fi
20824 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20825 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20826
20827 if test $wx_cv_func_va_copy = "yes"; then
20828 cat >>confdefs.h <<\_ACEOF
20829 #define HAVE_VA_COPY 1
20830 _ACEOF
20831
20832 else
20833 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20834 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20835 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20836 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 else
20838
20839 if test "$cross_compiling" = yes; then
20840 wx_cv_type_va_list_lvalue=yes
20841
20842 else
20843 cat >conftest.$ac_ext <<_ACEOF
20844
20845 #include <stdarg.h>
20846 int foo(char *f, ...)
20847 {
20848 va_list ap1, ap2;
20849 va_start(ap1, f);
20850 ap2 = ap1;
20851 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20852 return 1;
20853 va_end(ap2);
20854 va_end(ap1);
20855 return 0;
20856 }
20857 int main()
20858 {
20859 return foo("hi", 17);
20860 }
20861 _ACEOF
20862 rm -f conftest$ac_exeext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20864 (eval $ac_link) 2>&5
20865 ac_status=$?
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 wx_cv_type_va_list_lvalue=yes
20874 else
20875 echo "$as_me: program exited with status $ac_status" >&5
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.$ac_ext >&5
20878
20879 ( exit $ac_status )
20880 wx_cv_type_va_list_lvalue=no
20881 fi
20882 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20883 fi
20884
20885
20886 fi
20887 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20888 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20889
20890 if test $wx_cv_type_va_list_lvalue != "yes"; then
20891 cat >>confdefs.h <<\_ACEOF
20892 #define VA_LIST_IS_ARRAY 1
20893 _ACEOF
20894
20895 fi
20896 fi
20897
20898 # Check whether --enable-largefile or --disable-largefile was given.
20899 if test "${enable_largefile+set}" = set; then
20900 enableval="$enable_largefile"
20901
20902 fi;
20903 if test "$enable_largefile" != no; then
20904 wx_largefile=no
20905
20906 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20907 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20908 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20910 else
20911
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #define _FILE_OFFSET_BITS 64
20919 #include <sys/types.h>
20920 int
20921 main ()
20922 {
20923 typedef struct {
20924 unsigned int field: sizeof(off_t) == 8;
20925 } wxlf;
20926
20927 ;
20928 return 0;
20929 }
20930 _ACEOF
20931 rm -f conftest.$ac_objext
20932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20933 (eval $ac_compile) 2>conftest.er1
20934 ac_status=$?
20935 grep -v '^ *+' conftest.er1 >conftest.err
20936 rm -f conftest.er1
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } &&
20940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_sys_file_offset_bits=64
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20956
20957 ac_cv_sys_file_offset_bits=no
20958 fi
20959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20960
20961
20962 fi
20963 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20964 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20965
20966 if test "$ac_cv_sys_file_offset_bits" != no; then
20967 wx_largefile=yes
20968 cat >>confdefs.h <<_ACEOF
20969 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20970 _ACEOF
20971
20972 fi
20973
20974 if test "x$wx_largefile" != "xyes"; then
20975
20976 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20977 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20978 if test "${ac_cv_sys_large_files+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 #define _LARGE_FILES 1
20989 #include <sys/types.h>
20990 int
20991 main ()
20992 {
20993 typedef struct {
20994 unsigned int field: sizeof(off_t) == 8;
20995 } wxlf;
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21003 (eval $ac_compile) 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } &&
21010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try='test -s conftest.$ac_objext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 ac_cv_sys_large_files=1
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21026
21027 ac_cv_sys_large_files=no
21028 fi
21029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21030
21031
21032 fi
21033 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21034 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21035
21036 if test "$ac_cv_sys_large_files" != no; then
21037 wx_largefile=yes
21038 cat >>confdefs.h <<_ACEOF
21039 #define _LARGE_FILES $ac_cv_sys_large_files
21040 _ACEOF
21041
21042 fi
21043
21044 fi
21045
21046 echo "$as_me:$LINENO: checking if large file support is available" >&5
21047 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21048 if test "x$wx_largefile" = "xyes"; then
21049 cat >>confdefs.h <<\_ACEOF
21050 #define HAVE_LARGEFILE_SUPPORT 1
21051 _ACEOF
21052
21053 fi
21054 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21055 echo "${ECHO_T}$wx_largefile" >&6
21056 fi
21057
21058
21059 if test "x$wx_largefile" = "xyes"; then
21060 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21061 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21062
21063 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21064 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21065 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21066 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 else
21069
21070
21071
21072 ac_ext=cc
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077
21078 cat >conftest.$ac_ext <<_ACEOF
21079 /* confdefs.h. */
21080 _ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084
21085 int
21086 main ()
21087 {
21088
21089 #ifndef __STDC_EXT__
21090 choke me
21091 #endif
21092
21093 ;
21094 return 0;
21095 }
21096 _ACEOF
21097 rm -f conftest.$ac_objext
21098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21099 (eval $ac_compile) 2>conftest.er1
21100 ac_status=$?
21101 grep -v '^ *+' conftest.er1 >conftest.err
21102 rm -f conftest.er1
21103 cat conftest.err >&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } &&
21106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; } &&
21112 { ac_try='test -s conftest.$ac_objext'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; }; then
21118 wx_cv_STDC_EXT_required=no
21119 else
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 wx_cv_STDC_EXT_required=yes
21124
21125 fi
21126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21127 ac_ext=c
21128 ac_cpp='$CPP $CPPFLAGS'
21129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21132
21133
21134
21135 fi
21136 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21137 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21138 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21139 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
21140 fi
21141 fi
21142 else
21143 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
21144 fi
21145 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21146 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21147 if test "${ac_cv_sys_largefile_source+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 while :; do
21151 ac_cv_sys_largefile_source=no
21152 cat >conftest.$ac_ext <<_ACEOF
21153 /* confdefs.h. */
21154 _ACEOF
21155 cat confdefs.h >>conftest.$ac_ext
21156 cat >>conftest.$ac_ext <<_ACEOF
21157 /* end confdefs.h. */
21158 #include <stdio.h>
21159 int
21160 main ()
21161 {
21162 return !fseeko;
21163 ;
21164 return 0;
21165 }
21166 _ACEOF
21167 rm -f conftest.$ac_objext
21168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21169 (eval $ac_compile) 2>conftest.er1
21170 ac_status=$?
21171 grep -v '^ *+' conftest.er1 >conftest.err
21172 rm -f conftest.er1
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } &&
21176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178 (eval $ac_try) 2>&5
21179 ac_status=$?
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); }; } &&
21182 { ac_try='test -s conftest.$ac_objext'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 break
21189 else
21190 echo "$as_me: failed program was:" >&5
21191 sed 's/^/| /' conftest.$ac_ext >&5
21192
21193 fi
21194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 #define _LARGEFILE_SOURCE 1
21202 #include <stdio.h>
21203 int
21204 main ()
21205 {
21206 return !fseeko;
21207 ;
21208 return 0;
21209 }
21210 _ACEOF
21211 rm -f conftest.$ac_objext
21212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21213 (eval $ac_compile) 2>conftest.er1
21214 ac_status=$?
21215 grep -v '^ *+' conftest.er1 >conftest.err
21216 rm -f conftest.er1
21217 cat conftest.err >&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); } &&
21220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21223 ac_status=$?
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; } &&
21226 { ac_try='test -s conftest.$ac_objext'
21227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21228 (eval $ac_try) 2>&5
21229 ac_status=$?
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); }; }; then
21232 ac_cv_sys_largefile_source=1; break
21233 else
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21236
21237 fi
21238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21239 break
21240 done
21241 fi
21242 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21243 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21244 if test "$ac_cv_sys_largefile_source" != no; then
21245
21246 cat >>confdefs.h <<_ACEOF
21247 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21248 _ACEOF
21249
21250 fi
21251 rm -f conftest*
21252
21253 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21254 # in glibc 2.1.3, but that breaks too many other things.
21255 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21256 echo "$as_me:$LINENO: checking for fseeko" >&5
21257 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21258 if test "${ac_cv_func_fseeko+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 else
21261 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h. */
21263 _ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h. */
21267 #include <stdio.h>
21268 int
21269 main ()
21270 {
21271 return fseeko && fseeko (stdin, 0, 0);
21272 ;
21273 return 0;
21274 }
21275 _ACEOF
21276 rm -f conftest.$ac_objext conftest$ac_exeext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21278 (eval $ac_link) 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest$ac_exeext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 ac_cv_func_fseeko=yes
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 ac_cv_func_fseeko=no
21303 fi
21304 rm -f conftest.err conftest.$ac_objext \
21305 conftest$ac_exeext conftest.$ac_ext
21306 fi
21307 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21308 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21309 if test $ac_cv_func_fseeko = yes; then
21310
21311 cat >>confdefs.h <<\_ACEOF
21312 #define HAVE_FSEEKO 1
21313 _ACEOF
21314
21315 fi
21316
21317 if test "$ac_cv_sys_largefile_source" != no; then
21318 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21319 fi
21320 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21321 fi
21322
21323 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21324 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21325 if test "${ac_cv_c_bigendian+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 ac_cv_c_bigendian=unknown
21329 # See if sys/param.h defines the BYTE_ORDER macro.
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 #include <sys/types.h>
21337 #include <sys/param.h>
21338 int
21339 main ()
21340 {
21341
21342 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21343 bogus endian macros
21344 #endif
21345 ;
21346 return 0;
21347 }
21348 _ACEOF
21349 rm -f conftest.$ac_objext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21351 (eval $ac_compile) 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest.$ac_objext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 # It does; now see whether it defined to BIG_ENDIAN or not.
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <sys/types.h>
21378 #include <sys/param.h>
21379 int
21380 main ()
21381 {
21382
21383 #if BYTE_ORDER != BIG_ENDIAN
21384 not big endian
21385 #endif
21386 ;
21387 return 0;
21388 }
21389 _ACEOF
21390 rm -f conftest.$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21402 ac_status=$?
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; } &&
21405 { ac_try='test -s conftest.$ac_objext'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 ac_cv_c_bigendian=yes
21412 else
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.$ac_ext >&5
21415
21416 ac_cv_c_bigendian=no
21417 fi
21418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21419 else
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21422
21423 fi
21424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21425 if test $ac_cv_c_bigendian = unknown; then
21426 if test "$cross_compiling" = yes; then
21427 ac_cv_c_bigendian=unknown
21428 else
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 main () {
21436 /* Are we little or big endian? From Harbison&Steele. */
21437 union
21438 {
21439 long l;
21440 char c[sizeof (long)];
21441 } u;
21442 u.l = 1;
21443 exit (u.c[sizeof (long) - 1] == 1);
21444 }
21445 _ACEOF
21446 rm -f conftest$ac_exeext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21448 (eval $ac_link) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_c_bigendian=no
21458 else
21459 echo "$as_me: program exited with status $ac_status" >&5
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21462
21463 ( exit $ac_status )
21464 ac_cv_c_bigendian=yes
21465 fi
21466 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21467 fi
21468 fi
21469 fi
21470 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21471 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21472 if test $ac_cv_c_bigendian = unknown; then
21473 { 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
21474 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;}
21475 fi
21476 if test $ac_cv_c_bigendian = yes; then
21477 cat >>confdefs.h <<\_ACEOF
21478 #define WORDS_BIGENDIAN 1
21479 _ACEOF
21480
21481 fi
21482
21483
21484 ac_ext=cc
21485 ac_cpp='$CXXCPP $CPPFLAGS'
21486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21489 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21490 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21491 if test -z "$CXXCPP"; then
21492 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21493 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 else
21495 # Double quotes because CXXCPP needs to be expanded
21496 for CXXCPP in "$CXX -E" "/lib/cpp"
21497 do
21498 ac_preproc_ok=false
21499 for ac_cxx_preproc_warn_flag in '' yes
21500 do
21501 # Use a header file that comes with gcc, so configuring glibc
21502 # with a fresh cross-compiler works.
21503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21504 # <limits.h> exists even on freestanding compilers.
21505 # On the NeXT, cc -E runs the code through the compiler's parser,
21506 # not just through cpp. "Syntax error" is here to catch this case.
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 #ifdef __STDC__
21514 # include <limits.h>
21515 #else
21516 # include <assert.h>
21517 #endif
21518 Syntax error
21519 _ACEOF
21520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } >/dev/null; then
21528 if test -s conftest.err; then
21529 ac_cpp_err=$ac_cxx_preproc_warn_flag
21530 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21531 else
21532 ac_cpp_err=
21533 fi
21534 else
21535 ac_cpp_err=yes
21536 fi
21537 if test -z "$ac_cpp_err"; then
21538 :
21539 else
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.$ac_ext >&5
21542
21543 # Broken: fails on valid input.
21544 continue
21545 fi
21546 rm -f conftest.err conftest.$ac_ext
21547
21548 # OK, works on sane cases. Now check whether non-existent headers
21549 # can be detected and how.
21550 cat >conftest.$ac_ext <<_ACEOF
21551 /* confdefs.h. */
21552 _ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 #include <ac_nonexistent.h>
21557 _ACEOF
21558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } >/dev/null; then
21566 if test -s conftest.err; then
21567 ac_cpp_err=$ac_cxx_preproc_warn_flag
21568 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21569 else
21570 ac_cpp_err=
21571 fi
21572 else
21573 ac_cpp_err=yes
21574 fi
21575 if test -z "$ac_cpp_err"; then
21576 # Broken: success on invalid input.
21577 continue
21578 else
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21581
21582 # Passes both tests.
21583 ac_preproc_ok=:
21584 break
21585 fi
21586 rm -f conftest.err conftest.$ac_ext
21587
21588 done
21589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21590 rm -f conftest.err conftest.$ac_ext
21591 if $ac_preproc_ok; then
21592 break
21593 fi
21594
21595 done
21596 ac_cv_prog_CXXCPP=$CXXCPP
21597
21598 fi
21599 CXXCPP=$ac_cv_prog_CXXCPP
21600 else
21601 ac_cv_prog_CXXCPP=$CXXCPP
21602 fi
21603 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21604 echo "${ECHO_T}$CXXCPP" >&6
21605 ac_preproc_ok=false
21606 for ac_cxx_preproc_warn_flag in '' yes
21607 do
21608 # Use a header file that comes with gcc, so configuring glibc
21609 # with a fresh cross-compiler works.
21610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21611 # <limits.h> exists even on freestanding compilers.
21612 # On the NeXT, cc -E runs the code through the compiler's parser,
21613 # not just through cpp. "Syntax error" is here to catch this case.
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #ifdef __STDC__
21621 # include <limits.h>
21622 #else
21623 # include <assert.h>
21624 #endif
21625 Syntax error
21626 _ACEOF
21627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21629 ac_status=$?
21630 grep -v '^ *+' conftest.er1 >conftest.err
21631 rm -f conftest.er1
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } >/dev/null; then
21635 if test -s conftest.err; then
21636 ac_cpp_err=$ac_cxx_preproc_warn_flag
21637 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21638 else
21639 ac_cpp_err=
21640 fi
21641 else
21642 ac_cpp_err=yes
21643 fi
21644 if test -z "$ac_cpp_err"; then
21645 :
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 # Broken: fails on valid input.
21651 continue
21652 fi
21653 rm -f conftest.err conftest.$ac_ext
21654
21655 # OK, works on sane cases. Now check whether non-existent headers
21656 # can be detected and how.
21657 cat >conftest.$ac_ext <<_ACEOF
21658 /* confdefs.h. */
21659 _ACEOF
21660 cat confdefs.h >>conftest.$ac_ext
21661 cat >>conftest.$ac_ext <<_ACEOF
21662 /* end confdefs.h. */
21663 #include <ac_nonexistent.h>
21664 _ACEOF
21665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21667 ac_status=$?
21668 grep -v '^ *+' conftest.er1 >conftest.err
21669 rm -f conftest.er1
21670 cat conftest.err >&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } >/dev/null; then
21673 if test -s conftest.err; then
21674 ac_cpp_err=$ac_cxx_preproc_warn_flag
21675 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21676 else
21677 ac_cpp_err=
21678 fi
21679 else
21680 ac_cpp_err=yes
21681 fi
21682 if test -z "$ac_cpp_err"; then
21683 # Broken: success on invalid input.
21684 continue
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 # Passes both tests.
21690 ac_preproc_ok=:
21691 break
21692 fi
21693 rm -f conftest.err conftest.$ac_ext
21694
21695 done
21696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21697 rm -f conftest.err conftest.$ac_ext
21698 if $ac_preproc_ok; then
21699 :
21700 else
21701 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21702 See \`config.log' for more details." >&5
21703 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21704 See \`config.log' for more details." >&2;}
21705 { (exit 1); exit 1; }; }
21706 fi
21707
21708 ac_ext=cc
21709 ac_cpp='$CXXCPP $CPPFLAGS'
21710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21713
21714
21715
21716
21717
21718 ac_ext=cc
21719 ac_cpp='$CXXCPP $CPPFLAGS'
21720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21723
21724
21725
21726 for ac_header in iostream
21727 do
21728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21730 echo "$as_me:$LINENO: checking for $ac_header" >&5
21731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21733 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 fi
21735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21737 else
21738 # Is the header compilable?
21739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21741 cat >conftest.$ac_ext <<_ACEOF
21742 /* confdefs.h. */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 #include <$ac_header>
21749 _ACEOF
21750 rm -f conftest.$ac_objext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21752 (eval $ac_compile) 2>conftest.er1
21753 ac_status=$?
21754 grep -v '^ *+' conftest.er1 >conftest.err
21755 rm -f conftest.er1
21756 cat conftest.err >&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } &&
21759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21762 ac_status=$?
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21768 ac_status=$?
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_header_compiler=yes
21772 else
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.$ac_ext >&5
21775
21776 ac_header_compiler=no
21777 fi
21778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21780 echo "${ECHO_T}$ac_header_compiler" >&6
21781
21782 # Is the header present?
21783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #include <$ac_header>
21792 _ACEOF
21793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21795 ac_status=$?
21796 grep -v '^ *+' conftest.er1 >conftest.err
21797 rm -f conftest.er1
21798 cat conftest.err >&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } >/dev/null; then
21801 if test -s conftest.err; then
21802 ac_cpp_err=$ac_cxx_preproc_warn_flag
21803 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21804 else
21805 ac_cpp_err=
21806 fi
21807 else
21808 ac_cpp_err=yes
21809 fi
21810 if test -z "$ac_cpp_err"; then
21811 ac_header_preproc=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_header_preproc=no
21817 fi
21818 rm -f conftest.err conftest.$ac_ext
21819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21820 echo "${ECHO_T}$ac_header_preproc" >&6
21821
21822 # So? What about this header?
21823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21824 yes:no: )
21825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21829 ac_header_preproc=yes
21830 ;;
21831 no:yes:* )
21832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21844 (
21845 cat <<\_ASBOX
21846 ## ----------------------------------------- ##
21847 ## Report this to wx-dev@lists.wxwidgets.org ##
21848 ## ----------------------------------------- ##
21849 _ASBOX
21850 ) |
21851 sed "s/^/$as_me: WARNING: /" >&2
21852 ;;
21853 esac
21854 echo "$as_me:$LINENO: checking for $ac_header" >&5
21855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 else
21859 eval "$as_ac_Header=\$ac_header_preproc"
21860 fi
21861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21863
21864 fi
21865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21866 cat >>confdefs.h <<_ACEOF
21867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21868 _ACEOF
21869
21870 fi
21871
21872 done
21873
21874
21875 if test "$ac_cv_header_iostream" = "yes" ; then
21876 :
21877 else
21878 cat >>confdefs.h <<\_ACEOF
21879 #define wxUSE_IOSTREAMH 1
21880 _ACEOF
21881
21882 fi
21883
21884 ac_ext=c
21885 ac_cpp='$CPP $CPPFLAGS'
21886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21889
21890
21891
21892
21893 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21894 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21895 if test "${wx_cv_cpp_bool+set}" = set; then
21896 echo $ECHO_N "(cached) $ECHO_C" >&6
21897 else
21898
21899
21900
21901 ac_ext=cc
21902 ac_cpp='$CXXCPP $CPPFLAGS'
21903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21906
21907
21908 cat >conftest.$ac_ext <<_ACEOF
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914
21915
21916 int
21917 main ()
21918 {
21919
21920 bool b = true;
21921
21922 return 0;
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21940 ac_status=$?
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21946 ac_status=$?
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949
21950 wx_cv_cpp_bool=yes
21951
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956
21957 wx_cv_cpp_bool=no
21958
21959
21960 fi
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962
21963 ac_ext=c
21964 ac_cpp='$CPP $CPPFLAGS'
21965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21968
21969
21970 fi
21971 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21972 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21973
21974 if test "$wx_cv_cpp_bool" = "yes"; then
21975 cat >>confdefs.h <<\_ACEOF
21976 #define HAVE_BOOL 1
21977 _ACEOF
21978
21979 fi
21980
21981
21982
21983 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21984 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21985 if test "${wx_cv_explicit+set}" = set; then
21986 echo $ECHO_N "(cached) $ECHO_C" >&6
21987 else
21988
21989
21990
21991 ac_ext=cc
21992 ac_cpp='$CXXCPP $CPPFLAGS'
21993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21996
21997
21998 cat >conftest.$ac_ext <<_ACEOF
21999 /* confdefs.h. */
22000 _ACEOF
22001 cat confdefs.h >>conftest.$ac_ext
22002 cat >>conftest.$ac_ext <<_ACEOF
22003 /* end confdefs.h. */
22004
22005 class Foo { public: explicit Foo(int) {} };
22006
22007 int
22008 main ()
22009 {
22010
22011 return 0;
22012
22013 ;
22014 return 0;
22015 }
22016 _ACEOF
22017 rm -f conftest.$ac_objext
22018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22019 (eval $ac_compile) 2>conftest.er1
22020 ac_status=$?
22021 grep -v '^ *+' conftest.er1 >conftest.err
22022 rm -f conftest.er1
22023 cat conftest.err >&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); } &&
22026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22029 ac_status=$?
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; } &&
22032 { ac_try='test -s conftest.$ac_objext'
22033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22034 (eval $ac_try) 2>&5
22035 ac_status=$?
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); }; }; then
22038
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045
22046 class Foo { public: explicit Foo(int) {} };
22047 static void TakeFoo(const Foo& foo) { }
22048
22049 int
22050 main ()
22051 {
22052
22053 TakeFoo(17);
22054 return 0;
22055
22056 ;
22057 return 0;
22058 }
22059 _ACEOF
22060 rm -f conftest.$ac_objext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22062 (eval $ac_compile) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 wx_cv_explicit=no
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 wx_cv_explicit=yes
22087
22088 fi
22089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22090
22091 else
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22094
22095 wx_cv_explicit=no
22096
22097 fi
22098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22099
22100 ac_ext=c
22101 ac_cpp='$CPP $CPPFLAGS'
22102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22105
22106
22107 fi
22108 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22109 echo "${ECHO_T}$wx_cv_explicit" >&6
22110
22111 if test "$wx_cv_explicit" = "yes"; then
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_EXPLICIT 1
22114 _ACEOF
22115
22116 fi
22117
22118
22119 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22120 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22121 if test "${ac_cv_cxx_const_cast+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22123 else
22124
22125
22126 ac_ext=cc
22127 ac_cpp='$CXXCPP $CPPFLAGS'
22128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138
22139 int
22140 main ()
22141 {
22142 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22143 ;
22144 return 0;
22145 }
22146 _ACEOF
22147 rm -f conftest.$ac_objext
22148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22149 (eval $ac_compile) 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } &&
22156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22158 (eval $ac_try) 2>&5
22159 ac_status=$?
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; } &&
22162 { ac_try='test -s conftest.$ac_objext'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; }; then
22168 ac_cv_cxx_const_cast=yes
22169 else
22170 echo "$as_me: failed program was:" >&5
22171 sed 's/^/| /' conftest.$ac_ext >&5
22172
22173 ac_cv_cxx_const_cast=no
22174 fi
22175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22176 ac_ext=c
22177 ac_cpp='$CPP $CPPFLAGS'
22178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22181
22182
22183 fi
22184 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22185 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22186 if test "$ac_cv_cxx_const_cast" = yes; then
22187
22188 cat >>confdefs.h <<\_ACEOF
22189 #define HAVE_CONST_CAST
22190 _ACEOF
22191
22192 fi
22193
22194 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22195 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22196 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22197 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 else
22199
22200
22201 ac_ext=cc
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22206
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 #include <typeinfo>
22214 class Base { public : Base () {} virtual void f () = 0;};
22215 class Derived : public Base { public : Derived () {} virtual void f () {} };
22216 class Unrelated { public : Unrelated () {} };
22217 int g (Unrelated&) { return 0; }
22218 int
22219 main ()
22220 {
22221
22222 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22229 (eval $ac_compile) 2>conftest.er1
22230 ac_status=$?
22231 grep -v '^ *+' conftest.er1 >conftest.err
22232 rm -f conftest.er1
22233 cat conftest.err >&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22238 (eval $ac_try) 2>&5
22239 ac_status=$?
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); }; } &&
22242 { ac_try='test -s conftest.$ac_objext'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 ac_cv_cxx_reinterpret_cast=yes
22249 else
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22252
22253 ac_cv_cxx_reinterpret_cast=no
22254 fi
22255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22256 ac_ext=c
22257 ac_cpp='$CPP $CPPFLAGS'
22258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22261
22262
22263 fi
22264 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22265 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22266 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22267
22268 cat >>confdefs.h <<\_ACEOF
22269 #define HAVE_REINTERPRET_CAST
22270 _ACEOF
22271
22272 fi
22273
22274 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22275 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22276 if test "${ac_cv_cxx_static_cast+set}" = set; then
22277 echo $ECHO_N "(cached) $ECHO_C" >&6
22278 else
22279
22280
22281 ac_ext=cc
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 #include <typeinfo>
22294 class Base { public : Base () {} virtual void f () = 0; };
22295 class Derived : public Base { public : Derived () {} virtual void f () {} };
22296 int g (Derived&) { return 0; }
22297 int
22298 main ()
22299 {
22300
22301 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 ac_cv_cxx_static_cast=yes
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22331
22332 ac_cv_cxx_static_cast=no
22333 fi
22334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340
22341
22342 fi
22343 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22344 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22345 if test "$ac_cv_cxx_static_cast" = yes; then
22346
22347 cat >>confdefs.h <<\_ACEOF
22348 #define HAVE_STATIC_CAST
22349 _ACEOF
22350
22351 fi
22352
22353
22354 if test "x$SUNCXX" = xyes; then
22355 CXXFLAGS="$CXXFLAGS -features=tmplife"
22356 fi
22357
22358 if test "x$SUNCC" = xyes; then
22359 CFLAGS="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22360 fi
22361
22362 if test "x$SGICC" = "xyes"; then
22363 CFLAGS="$CFLAGS -woff 3970"
22364 fi
22365 if test "x$SGICXX" = "xyes"; then
22366 CXXFLAGS="$CXXFLAGS -woff 3970"
22367 fi
22368
22369 if test "x$HPCC" = "xyes"; then
22370 CFLAGS="$CFLAGS +W 2011,2450"
22371 fi
22372 if test "x$HPCXX" = "xyes"; then
22373 CXXFLAGS="$CXXFLAGS +W 2340"
22374 fi
22375
22376 if test "x$COMPAQCXX" = "xyes"; then
22377 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22378 fi
22379
22380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22381 ac_ext=cc
22382 ac_cpp='$CXXCPP $CPPFLAGS'
22383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386
22387
22388 if test "$wxUSE_UNICODE" = "yes"; then
22389 std_string="std::wstring"
22390 char_type="wchar_t"
22391 else
22392 std_string="std::string"
22393 char_type="char"
22394 fi
22395
22396 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22397 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22398 cat >conftest.$ac_ext <<_ACEOF
22399 /* confdefs.h. */
22400 _ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22404 #include <string>
22405 int
22406 main ()
22407 {
22408 $std_string foo;
22409 ;
22410 return 0;
22411 }
22412 _ACEOF
22413 rm -f conftest.$ac_objext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22415 (eval $ac_compile) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; } &&
22428 { ac_try='test -s conftest.$ac_objext'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22431 ac_status=$?
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; }; then
22434 echo "$as_me:$LINENO: result: yes" >&5
22435 echo "${ECHO_T}yes" >&6
22436 cat >>confdefs.h <<\_ACEOF
22437 #define HAVE_STD_WSTRING 1
22438 _ACEOF
22439
22440 else
22441 echo "$as_me: failed program was:" >&5
22442 sed 's/^/| /' conftest.$ac_ext >&5
22443
22444 echo "$as_me:$LINENO: result: no" >&5
22445 echo "${ECHO_T}no" >&6
22446 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22447 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22448 cat >conftest.$ac_ext <<_ACEOF
22449 /* confdefs.h. */
22450 _ACEOF
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454
22455 #ifdef HAVE_WCHAR_H
22456 # ifdef __CYGWIN__
22457 # include <stddef.h>
22458 # endif
22459 # include <wchar.h>
22460 #endif
22461 #ifdef HAVE_STDLIB_H
22462 # include <stdlib.h>
22463 #endif
22464 #include <stdio.h>
22465 #include <string>
22466
22467 int
22468 main ()
22469 {
22470 std::basic_string<$char_type> foo;
22471 const $char_type* dummy = foo.c_str();
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 rm -f conftest.$ac_objext
22477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22478 (eval $ac_compile) 2>conftest.er1
22479 ac_status=$?
22480 grep -v '^ *+' conftest.er1 >conftest.err
22481 rm -f conftest.er1
22482 cat conftest.err >&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); } &&
22485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487 (eval $ac_try) 2>&5
22488 ac_status=$?
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; } &&
22491 { ac_try='test -s conftest.$ac_objext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 echo "$as_me:$LINENO: result: yes" >&5
22498 echo "${ECHO_T}yes" >&6
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 echo "$as_me:$LINENO: result: no" >&5
22504 echo "${ECHO_T}no" >&6
22505 if test "$wxUSE_STL" = "yes"; then
22506 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22507 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22508 { (exit 1); exit 1; }; }
22509 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22510 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22511 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22512 { (exit 1); exit 1; }; }
22513 else
22514 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22515 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22516 wxUSE_STD_STRING=no
22517 fi
22518
22519
22520 fi
22521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22522
22523 fi
22524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22525
22526 ac_ext=c
22527 ac_cpp='$CPP $CPPFLAGS'
22528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22531
22532 fi
22533
22534 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22535 ac_ext=cc
22536 ac_cpp='$CXXCPP $CPPFLAGS'
22537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22540
22541
22542 echo "$as_me:$LINENO: checking for std::istream" >&5
22543 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22544 if test "${ac_cv_type_std__istream+set}" = set; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 else
22547 cat >conftest.$ac_ext <<_ACEOF
22548 /* confdefs.h. */
22549 _ACEOF
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22553 #include <iostream>
22554
22555 int
22556 main ()
22557 {
22558 if ((std::istream *) 0)
22559 return 0;
22560 if (sizeof (std::istream))
22561 return 0;
22562 ;
22563 return 0;
22564 }
22565 _ACEOF
22566 rm -f conftest.$ac_objext
22567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22568 (eval $ac_compile) 2>conftest.er1
22569 ac_status=$?
22570 grep -v '^ *+' conftest.er1 >conftest.err
22571 rm -f conftest.er1
22572 cat conftest.err >&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } &&
22575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; } &&
22581 { ac_try='test -s conftest.$ac_objext'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_type_std__istream=yes
22588 else
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.$ac_ext >&5
22591
22592 ac_cv_type_std__istream=no
22593 fi
22594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22595 fi
22596 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22597 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22598 if test $ac_cv_type_std__istream = yes; then
22599
22600 cat >>confdefs.h <<_ACEOF
22601 #define HAVE_STD__ISTREAM 1
22602 _ACEOF
22603
22604
22605 else
22606 wxUSE_STD_IOSTREAM=no
22607 fi
22608 echo "$as_me:$LINENO: checking for std::ostream" >&5
22609 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22610 if test "${ac_cv_type_std__ostream+set}" = set; then
22611 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 else
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <iostream>
22620
22621 int
22622 main ()
22623 {
22624 if ((std::ostream *) 0)
22625 return 0;
22626 if (sizeof (std::ostream))
22627 return 0;
22628 ;
22629 return 0;
22630 }
22631 _ACEOF
22632 rm -f conftest.$ac_objext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22634 (eval $ac_compile) 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643 (eval $ac_try) 2>&5
22644 ac_status=$?
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; } &&
22647 { ac_try='test -s conftest.$ac_objext'
22648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; }; then
22653 ac_cv_type_std__ostream=yes
22654 else
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_cv_type_std__ostream=no
22659 fi
22660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22661 fi
22662 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22663 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22664 if test $ac_cv_type_std__ostream = yes; then
22665
22666 cat >>confdefs.h <<_ACEOF
22667 #define HAVE_STD__OSTREAM 1
22668 _ACEOF
22669
22670
22671 else
22672 wxUSE_STD_IOSTREAM=no
22673 fi
22674
22675
22676 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22677 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22678 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22679 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22680 { (exit 1); exit 1; }; }
22681 else
22682 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22683 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22684 fi
22685 fi
22686
22687 ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692
22693 fi
22694
22695 if test "$wxUSE_STL" = "yes"; then
22696 ac_ext=cc
22697 ac_cpp='$CXXCPP $CPPFLAGS'
22698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22701
22702
22703 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22704 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22705 cat >conftest.$ac_ext <<_ACEOF
22706 /* confdefs.h. */
22707 _ACEOF
22708 cat confdefs.h >>conftest.$ac_ext
22709 cat >>conftest.$ac_ext <<_ACEOF
22710 /* end confdefs.h. */
22711 #include <string>
22712 #include <functional>
22713 #include <algorithm>
22714 #include <vector>
22715 #include <list>
22716 int
22717 main ()
22718 {
22719 std::vector<int> moo;
22720 std::list<int> foo;
22721 std::vector<int>::iterator it =
22722 std::find_if(moo.begin(), moo.end(),
22723 std::bind2nd(std::less<int>(), 3));
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 rm -f conftest.$ac_objext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22730 (eval $ac_compile) 2>conftest.er1
22731 ac_status=$?
22732 grep -v '^ *+' conftest.er1 >conftest.err
22733 rm -f conftest.er1
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; } &&
22743 { ac_try='test -s conftest.$ac_objext'
22744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22745 (eval $ac_try) 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 echo "$as_me:$LINENO: result: yes" >&5
22750 echo "${ECHO_T}yes" >&6
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 echo "$as_me:$LINENO: result: no" >&5
22756 echo "${ECHO_T}no" >&6
22757 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22758 echo "$as_me: error: Basic STL functionality missing" >&2;}
22759 { (exit 1); exit 1; }; }
22760 fi
22761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22762
22763 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22764 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22765 cat >conftest.$ac_ext <<_ACEOF
22766 /* confdefs.h. */
22767 _ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 #include <string>
22772 int
22773 main ()
22774 {
22775 std::string foo, bar;
22776 foo.compare(bar);
22777 foo.compare(1, 1, bar);
22778 foo.compare(1, 1, bar, 1, 1);
22779 foo.compare("");
22780 foo.compare(1, 1, "");
22781 foo.compare(1, 1, "", 2);
22782 ;
22783 return 0;
22784 }
22785 _ACEOF
22786 rm -f conftest.$ac_objext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22788 (eval $ac_compile) 2>conftest.er1
22789 ac_status=$?
22790 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1
22792 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; } &&
22801 { ac_try='test -s conftest.$ac_objext'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22804 ac_status=$?
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; }; then
22807 echo "$as_me:$LINENO: result: yes" >&5
22808 echo "${ECHO_T}yes" >&6
22809 cat >>confdefs.h <<\_ACEOF
22810 #define HAVE_STD_STRING_COMPARE 1
22811 _ACEOF
22812
22813 else
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.$ac_ext >&5
22816
22817 echo "$as_me:$LINENO: result: no" >&5
22818 echo "${ECHO_T}no" >&6
22819 fi
22820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22821
22822 if test "${ac_cv_header_hash_map+set}" = set; then
22823 echo "$as_me:$LINENO: checking for hash_map" >&5
22824 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22825 if test "${ac_cv_header_hash_map+set}" = set; then
22826 echo $ECHO_N "(cached) $ECHO_C" >&6
22827 fi
22828 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22829 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22830 else
22831 # Is the header compilable?
22832 echo "$as_me:$LINENO: checking hash_map usability" >&5
22833 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 $ac_includes_default
22841 #include <hash_map>
22842 _ACEOF
22843 rm -f conftest.$ac_objext
22844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22845 (eval $ac_compile) 2>conftest.er1
22846 ac_status=$?
22847 grep -v '^ *+' conftest.er1 >conftest.err
22848 rm -f conftest.er1
22849 cat conftest.err >&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } &&
22852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; } &&
22858 { ac_try='test -s conftest.$ac_objext'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22861 ac_status=$?
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 ac_header_compiler=yes
22865 else
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22868
22869 ac_header_compiler=no
22870 fi
22871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22873 echo "${ECHO_T}$ac_header_compiler" >&6
22874
22875 # Is the header present?
22876 echo "$as_me:$LINENO: checking hash_map presence" >&5
22877 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include <hash_map>
22885 _ACEOF
22886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22888 ac_status=$?
22889 grep -v '^ *+' conftest.er1 >conftest.err
22890 rm -f conftest.er1
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } >/dev/null; then
22894 if test -s conftest.err; then
22895 ac_cpp_err=$ac_cxx_preproc_warn_flag
22896 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22897 else
22898 ac_cpp_err=
22899 fi
22900 else
22901 ac_cpp_err=yes
22902 fi
22903 if test -z "$ac_cpp_err"; then
22904 ac_header_preproc=yes
22905 else
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.$ac_ext >&5
22908
22909 ac_header_preproc=no
22910 fi
22911 rm -f conftest.err conftest.$ac_ext
22912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22913 echo "${ECHO_T}$ac_header_preproc" >&6
22914
22915 # So? What about this header?
22916 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22917 yes:no: )
22918 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22919 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22920 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22921 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22922 ac_header_preproc=yes
22923 ;;
22924 no:yes:* )
22925 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22926 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22927 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22928 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22929 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22930 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22931 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22932 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22933 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22934 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22935 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22936 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22937 (
22938 cat <<\_ASBOX
22939 ## ----------------------------------------- ##
22940 ## Report this to wx-dev@lists.wxwidgets.org ##
22941 ## ----------------------------------------- ##
22942 _ASBOX
22943 ) |
22944 sed "s/^/$as_me: WARNING: /" >&2
22945 ;;
22946 esac
22947 echo "$as_me:$LINENO: checking for hash_map" >&5
22948 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22949 if test "${ac_cv_header_hash_map+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22951 else
22952 ac_cv_header_hash_map=$ac_header_preproc
22953 fi
22954 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22955 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22956
22957 fi
22958 if test $ac_cv_header_hash_map = yes; then
22959 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22960 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22961 cat >conftest.$ac_ext <<_ACEOF
22962 /* confdefs.h. */
22963 _ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 #include <hash_map>
22968 #include <hash_set>
22969 int
22970 main ()
22971 {
22972 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22973 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 rm -f conftest.$ac_objext
22979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22980 (eval $ac_compile) 2>conftest.er1
22981 ac_status=$?
22982 grep -v '^ *+' conftest.er1 >conftest.err
22983 rm -f conftest.er1
22984 cat conftest.err >&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } &&
22987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22990 ac_status=$?
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; } &&
22993 { ac_try='test -s conftest.$ac_objext'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22996 ac_status=$?
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; }; then
22999 echo "$as_me:$LINENO: result: yes" >&5
23000 echo "${ECHO_T}yes" >&6
23001 cat >>confdefs.h <<\_ACEOF
23002 #define HAVE_HASH_MAP 1
23003 _ACEOF
23004
23005 cat >>confdefs.h <<\_ACEOF
23006 #define HAVE_STD_HASH_MAP 1
23007 _ACEOF
23008
23009 else
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.$ac_ext >&5
23012
23013 echo "$as_me:$LINENO: result: no" >&5
23014 echo "${ECHO_T}no" >&6
23015 fi
23016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23017
23018 fi
23019
23020
23021
23022 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23023 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23024 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23025 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23026 echo $ECHO_N "(cached) $ECHO_C" >&6
23027 fi
23028 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23029 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23030 else
23031 # Is the header compilable?
23032 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23033 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23034 cat >conftest.$ac_ext <<_ACEOF
23035 /* confdefs.h. */
23036 _ACEOF
23037 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 $ac_includes_default
23041 #include <ext/hash_map>
23042 _ACEOF
23043 rm -f conftest.$ac_objext
23044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23045 (eval $ac_compile) 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try='test -s conftest.$ac_objext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23061 ac_status=$?
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_header_compiler=yes
23065 else
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23068
23069 ac_header_compiler=no
23070 fi
23071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23073 echo "${ECHO_T}$ac_header_compiler" >&6
23074
23075 # Is the header present?
23076 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23077 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23078 cat >conftest.$ac_ext <<_ACEOF
23079 /* confdefs.h. */
23080 _ACEOF
23081 cat confdefs.h >>conftest.$ac_ext
23082 cat >>conftest.$ac_ext <<_ACEOF
23083 /* end confdefs.h. */
23084 #include <ext/hash_map>
23085 _ACEOF
23086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23088 ac_status=$?
23089 grep -v '^ *+' conftest.er1 >conftest.err
23090 rm -f conftest.er1
23091 cat conftest.err >&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } >/dev/null; then
23094 if test -s conftest.err; then
23095 ac_cpp_err=$ac_cxx_preproc_warn_flag
23096 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23097 else
23098 ac_cpp_err=
23099 fi
23100 else
23101 ac_cpp_err=yes
23102 fi
23103 if test -z "$ac_cpp_err"; then
23104 ac_header_preproc=yes
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 ac_header_preproc=no
23110 fi
23111 rm -f conftest.err conftest.$ac_ext
23112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23113 echo "${ECHO_T}$ac_header_preproc" >&6
23114
23115 # So? What about this header?
23116 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23117 yes:no: )
23118 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23119 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23120 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23121 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23122 ac_header_preproc=yes
23123 ;;
23124 no:yes:* )
23125 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23126 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23127 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23128 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23129 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23130 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23131 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23132 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23133 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23134 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23135 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23136 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23137 (
23138 cat <<\_ASBOX
23139 ## ----------------------------------------- ##
23140 ## Report this to wx-dev@lists.wxwidgets.org ##
23141 ## ----------------------------------------- ##
23142 _ASBOX
23143 ) |
23144 sed "s/^/$as_me: WARNING: /" >&2
23145 ;;
23146 esac
23147 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23148 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23149 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 else
23152 ac_cv_header_ext_hash_map=$ac_header_preproc
23153 fi
23154 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23155 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23156
23157 fi
23158 if test $ac_cv_header_ext_hash_map = yes; then
23159 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23160 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 #include <ext/hash_map>
23168 #include <ext/hash_set>
23169 int
23170 main ()
23171 {
23172 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23173 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest.$ac_objext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23180 (eval $ac_compile) 2>conftest.er1
23181 ac_status=$?
23182 grep -v '^ *+' conftest.er1 >conftest.err
23183 rm -f conftest.er1
23184 cat conftest.err >&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); } &&
23187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23190 ac_status=$?
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try='test -s conftest.$ac_objext'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; }; then
23199 echo "$as_me:$LINENO: result: yes" >&5
23200 echo "${ECHO_T}yes" >&6
23201 cat >>confdefs.h <<\_ACEOF
23202 #define HAVE_EXT_HASH_MAP 1
23203 _ACEOF
23204
23205 cat >>confdefs.h <<\_ACEOF
23206 #define HAVE_GNU_CXX_HASH_MAP 1
23207 _ACEOF
23208
23209 else
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.$ac_ext >&5
23212
23213 echo "$as_me:$LINENO: result: no" >&5
23214 echo "${ECHO_T}no" >&6
23215 fi
23216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23217
23218 fi
23219
23220
23221
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23227
23228 fi
23229
23230
23231 SEARCH_INCLUDE="\
23232 /usr/local/include \
23233 \
23234 /usr/Motif-2.1/include \
23235 /usr/Motif-1.2/include \
23236 /usr/include/Motif1.2 \
23237 \
23238 /usr/dt/include \
23239 /usr/openwin/include \
23240 \
23241 /usr/include/Xm \
23242 \
23243 /usr/X11R6/include \
23244 /usr/X11R6.4/include \
23245 /usr/X11R5/include \
23246 /usr/X11R4/include \
23247 \
23248 /usr/include/X11R6 \
23249 /usr/include/X11R5 \
23250 /usr/include/X11R4 \
23251 \
23252 /usr/local/X11R6/include \
23253 /usr/local/X11R5/include \
23254 /usr/local/X11R4/include \
23255 \
23256 /usr/local/include/X11R6 \
23257 /usr/local/include/X11R5 \
23258 /usr/local/include/X11R4 \
23259 \
23260 /usr/X11/include \
23261 /usr/include/X11 \
23262 /usr/local/X11/include \
23263 /usr/local/include/X11 \
23264 \
23265 /usr/XFree86/include/X11 \
23266 /usr/pkg/include \
23267 \
23268 /usr/openwin/share/include"
23269
23270 echo "$as_me:$LINENO: checking for libraries directory" >&5
23271 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23272
23273 case "${host}" in
23274 *-*-irix6* )
23275 if test "${wx_cv_std_libpath+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23277 else
23278
23279 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23280 for e in a so sl dylib dll.a; do
23281 libc="$d/libc.$e"
23282 if test -f $libc; then
23283 save_LIBS="$LIBS"
23284 LIBS="$libc"
23285 cat >conftest.$ac_ext <<_ACEOF
23286 int main() { return 0; }
23287 _ACEOF
23288 rm -f conftest.$ac_objext conftest$ac_exeext
23289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23290 (eval $ac_link) 2>conftest.er1
23291 ac_status=$?
23292 grep -v '^ *+' conftest.er1 >conftest.err
23293 rm -f conftest.er1
23294 cat conftest.err >&5
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); } &&
23297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23299 (eval $ac_try) 2>&5
23300 ac_status=$?
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; } &&
23303 { ac_try='test -s conftest$ac_exeext'
23304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305 (eval $ac_try) 2>&5
23306 ac_status=$?
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); }; }; then
23309 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23310 else
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23313
23314 fi
23315 rm -f conftest.err conftest.$ac_objext \
23316 conftest$ac_exeext conftest.$ac_ext
23317 LIBS="$save_LIBS"
23318 if test "x$wx_cv_std_libpath" != "x"; then
23319 break 2
23320 fi
23321 fi
23322 done
23323 done
23324 if test "x$wx_cv_std_libpath" = "x"; then
23325 wx_cv_std_libpath="lib"
23326 fi
23327
23328
23329 fi
23330
23331 ;;
23332
23333 *-*-solaris2* )
23334 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23335 wx_cv_std_libpath="lib/64"
23336 else
23337 wx_cv_std_libpath="lib"
23338 fi
23339 ;;
23340
23341 *-*-linux* )
23342 if test "$ac_cv_sizeof_void_p" = 8 -a \
23343 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23344 wx_cv_std_libpath="lib64"
23345 else
23346 wx_cv_std_libpath="lib"
23347 fi
23348 ;;
23349
23350 *)
23351 wx_cv_std_libpath="lib";
23352 ;;
23353 esac
23354
23355 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23356 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23357
23358 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23359
23360 if test "$build" != "$host" -a "$GCC" = yes; then
23361 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23362 cross_root=`dirname $cross_root`
23363 cross_root=`dirname $cross_root`
23364
23365 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23366 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23367
23368 if test -z "$PKG_CONFIG_PATH"; then
23369 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23370 export PKG_CONFIG_PATH
23371 fi
23372
23373 if test -z "$x_includes" -o "$x_includes" = NONE; then
23374
23375 ac_find_includes=
23376 for ac_dir in $SEARCH_INCLUDE /usr/include;
23377 do
23378 if test -f "$ac_dir/X11/Intrinsic.h"; then
23379 ac_find_includes=$ac_dir
23380 break
23381 fi
23382 done
23383
23384 x_includes=$ac_find_includes
23385 fi
23386 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23387
23388 ac_find_libraries=
23389 for ac_dir in $SEARCH_LIB;
23390 do
23391 for ac_extension in a so sl dylib dll.a; do
23392 if test -f "$ac_dir/libXt.$ac_extension"; then
23393 ac_find_libraries=$ac_dir
23394 break 2
23395 fi
23396 done
23397 done
23398
23399 x_libraries=$ac_find_libraries
23400 fi
23401 fi
23402 fi
23403
23404
23405 cat >confcache <<\_ACEOF
23406 # This file is a shell script that caches the results of configure
23407 # tests run on this system so they can be shared between configure
23408 # scripts and configure runs, see configure's option --config-cache.
23409 # It is not useful on other systems. If it contains results you don't
23410 # want to keep, you may remove or edit it.
23411 #
23412 # config.status only pays attention to the cache file if you give it
23413 # the --recheck option to rerun configure.
23414 #
23415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23417 # following values.
23418
23419 _ACEOF
23420
23421 # The following way of writing the cache mishandles newlines in values,
23422 # but we know of no workaround that is simple, portable, and efficient.
23423 # So, don't put newlines in cache variables' values.
23424 # Ultrix sh set writes to stderr and can't be redirected directly,
23425 # and sets the high bit in the cache file unless we assign to the vars.
23426 {
23427 (set) 2>&1 |
23428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23429 *ac_space=\ *)
23430 # `set' does not quote correctly, so add quotes (double-quote
23431 # substitution turns \\\\ into \\, and sed turns \\ into \).
23432 sed -n \
23433 "s/'/'\\\\''/g;
23434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23435 ;;
23436 *)
23437 # `set' quotes correctly as required by POSIX, so do not add quotes.
23438 sed -n \
23439 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23440 ;;
23441 esac;
23442 } |
23443 sed '
23444 t clear
23445 : clear
23446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23447 t end
23448 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23449 : end' >>confcache
23450 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23451 if test -w $cache_file; then
23452 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23453 cat confcache >$cache_file
23454 else
23455 echo "not updating unwritable cache $cache_file"
23456 fi
23457 fi
23458 rm -f confcache
23459
23460 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23461 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23462 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23463 if test "${wx_cv_lib_glibc21+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466
23467 cat >conftest.$ac_ext <<_ACEOF
23468 /* confdefs.h. */
23469 _ACEOF
23470 cat confdefs.h >>conftest.$ac_ext
23471 cat >>conftest.$ac_ext <<_ACEOF
23472 /* end confdefs.h. */
23473 #include <features.h>
23474 int
23475 main ()
23476 {
23477
23478 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23479 not glibc 2.1
23480 #endif
23481
23482 ;
23483 return 0;
23484 }
23485 _ACEOF
23486 rm -f conftest.$ac_objext
23487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23488 (eval $ac_compile) 2>conftest.er1
23489 ac_status=$?
23490 grep -v '^ *+' conftest.er1 >conftest.err
23491 rm -f conftest.er1
23492 cat conftest.err >&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } &&
23495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; } &&
23501 { ac_try='test -s conftest.$ac_objext'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23504 ac_status=$?
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; }; then
23507
23508 wx_cv_lib_glibc21=yes
23509
23510 else
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514
23515 wx_cv_lib_glibc21=no
23516
23517
23518 fi
23519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23520
23521 fi
23522 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23523 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23524 if test "$wx_cv_lib_glibc21" = "yes"; then
23525 cat >>confdefs.h <<\_ACEOF
23526 #define wxHAVE_GLIBC2 1
23527 _ACEOF
23528
23529 fi
23530 fi
23531
23532 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23533 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23534 cat >>confdefs.h <<\_ACEOF
23535 #define _GNU_SOURCE 1
23536 _ACEOF
23537
23538 fi
23539 fi
23540
23541
23542
23543 if test "$wxUSE_REGEX" != "no"; then
23544 cat >>confdefs.h <<\_ACEOF
23545 #define wxUSE_REGEX 1
23546 _ACEOF
23547
23548
23549 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23550 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23551 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23552 wxUSE_REGEX=builtin
23553 fi
23554
23555 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23556 if test "${ac_cv_header_regex_h+set}" = set; then
23557 echo "$as_me:$LINENO: checking for regex.h" >&5
23558 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23559 if test "${ac_cv_header_regex_h+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 fi
23562 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23563 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23564 else
23565 # Is the header compilable?
23566 echo "$as_me:$LINENO: checking regex.h usability" >&5
23567 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 #include <regex.h>
23576 _ACEOF
23577 rm -f conftest.$ac_objext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23579 (eval $ac_compile) 2>conftest.er1
23580 ac_status=$?
23581 grep -v '^ *+' conftest.er1 >conftest.err
23582 rm -f conftest.er1
23583 cat conftest.err >&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } &&
23586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23589 ac_status=$?
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try='test -s conftest.$ac_objext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23595 ac_status=$?
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23598 ac_header_compiler=yes
23599 else
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.$ac_ext >&5
23602
23603 ac_header_compiler=no
23604 fi
23605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23607 echo "${ECHO_T}$ac_header_compiler" >&6
23608
23609 # Is the header present?
23610 echo "$as_me:$LINENO: checking regex.h presence" >&5
23611 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23612 cat >conftest.$ac_ext <<_ACEOF
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #include <regex.h>
23619 _ACEOF
23620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23622 ac_status=$?
23623 grep -v '^ *+' conftest.er1 >conftest.err
23624 rm -f conftest.er1
23625 cat conftest.err >&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } >/dev/null; then
23628 if test -s conftest.err; then
23629 ac_cpp_err=$ac_c_preproc_warn_flag
23630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23631 else
23632 ac_cpp_err=
23633 fi
23634 else
23635 ac_cpp_err=yes
23636 fi
23637 if test -z "$ac_cpp_err"; then
23638 ac_header_preproc=yes
23639 else
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.$ac_ext >&5
23642
23643 ac_header_preproc=no
23644 fi
23645 rm -f conftest.err conftest.$ac_ext
23646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23647 echo "${ECHO_T}$ac_header_preproc" >&6
23648
23649 # So? What about this header?
23650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23651 yes:no: )
23652 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23653 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23654 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23655 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23656 ac_header_preproc=yes
23657 ;;
23658 no:yes:* )
23659 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23660 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23661 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23662 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23663 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23664 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23665 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23666 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23667 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23668 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23669 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23670 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23671 (
23672 cat <<\_ASBOX
23673 ## ----------------------------------------- ##
23674 ## Report this to wx-dev@lists.wxwidgets.org ##
23675 ## ----------------------------------------- ##
23676 _ASBOX
23677 ) |
23678 sed "s/^/$as_me: WARNING: /" >&2
23679 ;;
23680 esac
23681 echo "$as_me:$LINENO: checking for regex.h" >&5
23682 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23683 if test "${ac_cv_header_regex_h+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686 ac_cv_header_regex_h=$ac_header_preproc
23687 fi
23688 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23689 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23690
23691 fi
23692 if test $ac_cv_header_regex_h = yes; then
23693
23694 for ac_func in regcomp
23695 do
23696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23697 echo "$as_me:$LINENO: checking for $ac_func" >&5
23698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23699 if eval "test \"\${$as_ac_var+set}\" = set"; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 else
23702 cat >conftest.$ac_ext <<_ACEOF
23703 /* confdefs.h. */
23704 _ACEOF
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23710 #define $ac_func innocuous_$ac_func
23711
23712 /* System header to define __stub macros and hopefully few prototypes,
23713 which can conflict with char $ac_func (); below.
23714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23715 <limits.h> exists even on freestanding compilers. */
23716
23717 #ifdef __STDC__
23718 # include <limits.h>
23719 #else
23720 # include <assert.h>
23721 #endif
23722
23723 #undef $ac_func
23724
23725 /* Override any gcc2 internal prototype to avoid an error. */
23726 #ifdef __cplusplus
23727 extern "C"
23728 {
23729 #endif
23730 /* We use char because int might match the return type of a gcc2
23731 builtin and then its argument prototype would still apply. */
23732 char $ac_func ();
23733 /* The GNU C library defines this for functions which it implements
23734 to always fail with ENOSYS. Some functions are actually named
23735 something starting with __ and the normal name is an alias. */
23736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23737 choke me
23738 #else
23739 char (*f) () = $ac_func;
23740 #endif
23741 #ifdef __cplusplus
23742 }
23743 #endif
23744
23745 int
23746 main ()
23747 {
23748 return f != $ac_func;
23749 ;
23750 return 0;
23751 }
23752 _ACEOF
23753 rm -f conftest.$ac_objext conftest$ac_exeext
23754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23755 (eval $ac_link) 2>conftest.er1
23756 ac_status=$?
23757 grep -v '^ *+' conftest.er1 >conftest.err
23758 rm -f conftest.er1
23759 cat conftest.err >&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); } &&
23762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23764 (eval $ac_try) 2>&5
23765 ac_status=$?
23766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23767 (exit $ac_status); }; } &&
23768 { ac_try='test -s conftest$ac_exeext'
23769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23770 (eval $ac_try) 2>&5
23771 ac_status=$?
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); }; }; then
23774 eval "$as_ac_var=yes"
23775 else
23776 echo "$as_me: failed program was:" >&5
23777 sed 's/^/| /' conftest.$ac_ext >&5
23778
23779 eval "$as_ac_var=no"
23780 fi
23781 rm -f conftest.err conftest.$ac_objext \
23782 conftest$ac_exeext conftest.$ac_ext
23783 fi
23784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23786 if test `eval echo '${'$as_ac_var'}'` = yes; then
23787 cat >>confdefs.h <<_ACEOF
23788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23789 _ACEOF
23790
23791 fi
23792 done
23793
23794 fi
23795
23796
23797
23798 if test "x$ac_cv_func_regcomp" != "xyes"; then
23799 if test "$wxUSE_REGEX" = "sys" ; then
23800 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23801 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23802 { (exit 1); exit 1; }; }
23803 else
23804 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23805 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23806 wxUSE_REGEX=builtin
23807 fi
23808 else
23809 wxUSE_REGEX=sys
23810 cat >>confdefs.h <<\_ACEOF
23811 #define WX_NO_REGEX_ADVANCED 1
23812 _ACEOF
23813
23814 fi
23815 fi
23816 fi
23817
23818
23819 ZLIB_LINK=
23820 if test "$wxUSE_ZLIB" != "no" ; then
23821 cat >>confdefs.h <<\_ACEOF
23822 #define wxUSE_ZLIB 1
23823 _ACEOF
23824
23825
23826 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23827 if test "$USE_DARWIN" = 1; then
23828 system_zlib_h_ok="yes"
23829 else
23830 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23831 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23832 if test "${ac_cv_header_zlib_h+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 else
23835 if test "$cross_compiling" = yes; then
23836 unset ac_cv_header_zlib_h
23837
23838 else
23839 cat >conftest.$ac_ext <<_ACEOF
23840 /* confdefs.h. */
23841 _ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845
23846 #include <zlib.h>
23847 #include <stdio.h>
23848
23849 int main()
23850 {
23851 FILE *f=fopen("conftestval", "w");
23852 if (!f) exit(1);
23853 fprintf(f, "%s",
23854 ZLIB_VERSION[0] == '1' &&
23855 (ZLIB_VERSION[2] > '1' ||
23856 (ZLIB_VERSION[2] == '1' &&
23857 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23858 exit(0);
23859 }
23860
23861 _ACEOF
23862 rm -f conftest$ac_exeext
23863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23864 (eval $ac_link) 2>&5
23865 ac_status=$?
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869 (eval $ac_try) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); }; }; then
23873 ac_cv_header_zlib_h=`cat conftestval`
23874 else
23875 echo "$as_me: program exited with status $ac_status" >&5
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 ( exit $ac_status )
23880 ac_cv_header_zlib_h=no
23881 fi
23882 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23883 fi
23884
23885 fi
23886 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23888 if test "${ac_cv_header_zlib_h+set}" = set; then
23889 echo "$as_me:$LINENO: checking for zlib.h" >&5
23890 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23891 if test "${ac_cv_header_zlib_h+set}" = set; then
23892 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 fi
23894 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23895 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23896 else
23897 # Is the header compilable?
23898 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23899 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 $ac_includes_default
23907 #include <zlib.h>
23908 _ACEOF
23909 rm -f conftest.$ac_objext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23911 (eval $ac_compile) 2>conftest.er1
23912 ac_status=$?
23913 grep -v '^ *+' conftest.er1 >conftest.err
23914 rm -f conftest.er1
23915 cat conftest.err >&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920 (eval $ac_try) 2>&5
23921 ac_status=$?
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; } &&
23924 { ac_try='test -s conftest.$ac_objext'
23925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23926 (eval $ac_try) 2>&5
23927 ac_status=$?
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); }; }; then
23930 ac_header_compiler=yes
23931 else
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23934
23935 ac_header_compiler=no
23936 fi
23937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23939 echo "${ECHO_T}$ac_header_compiler" >&6
23940
23941 # Is the header present?
23942 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23943 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23944 cat >conftest.$ac_ext <<_ACEOF
23945 /* confdefs.h. */
23946 _ACEOF
23947 cat confdefs.h >>conftest.$ac_ext
23948 cat >>conftest.$ac_ext <<_ACEOF
23949 /* end confdefs.h. */
23950 #include <zlib.h>
23951 _ACEOF
23952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } >/dev/null; then
23960 if test -s conftest.err; then
23961 ac_cpp_err=$ac_c_preproc_warn_flag
23962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23963 else
23964 ac_cpp_err=
23965 fi
23966 else
23967 ac_cpp_err=yes
23968 fi
23969 if test -z "$ac_cpp_err"; then
23970 ac_header_preproc=yes
23971 else
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23974
23975 ac_header_preproc=no
23976 fi
23977 rm -f conftest.err conftest.$ac_ext
23978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23979 echo "${ECHO_T}$ac_header_preproc" >&6
23980
23981 # So? What about this header?
23982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23983 yes:no: )
23984 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23985 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23987 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23988 ac_header_preproc=yes
23989 ;;
23990 no:yes:* )
23991 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23992 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23993 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23994 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23996 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23997 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23998 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23999 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24000 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24001 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24002 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24003 (
24004 cat <<\_ASBOX
24005 ## ----------------------------------------- ##
24006 ## Report this to wx-dev@lists.wxwidgets.org ##
24007 ## ----------------------------------------- ##
24008 _ASBOX
24009 ) |
24010 sed "s/^/$as_me: WARNING: /" >&2
24011 ;;
24012 esac
24013 echo "$as_me:$LINENO: checking for zlib.h" >&5
24014 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24015 if test "${ac_cv_header_zlib_h+set}" = set; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 else
24018 ac_cv_header_zlib_h=$ac_header_preproc
24019 fi
24020 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24021 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24022
24023 fi
24024
24025
24026
24027 system_zlib_h_ok=$ac_cv_header_zlib_h
24028 fi
24029
24030 if test "$system_zlib_h_ok" = "yes"; then
24031 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24032 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24033 if test "${ac_cv_lib_z_deflate+set}" = set; then
24034 echo $ECHO_N "(cached) $ECHO_C" >&6
24035 else
24036 ac_check_lib_save_LIBS=$LIBS
24037 LIBS="-lz $LIBS"
24038 cat >conftest.$ac_ext <<_ACEOF
24039 /* confdefs.h. */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044
24045 /* Override any gcc2 internal prototype to avoid an error. */
24046 #ifdef __cplusplus
24047 extern "C"
24048 #endif
24049 /* We use char because int might match the return type of a gcc2
24050 builtin and then its argument prototype would still apply. */
24051 char deflate ();
24052 int
24053 main ()
24054 {
24055 deflate ();
24056 ;
24057 return 0;
24058 }
24059 _ACEOF
24060 rm -f conftest.$ac_objext conftest$ac_exeext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24062 (eval $ac_link) 2>conftest.er1
24063 ac_status=$?
24064 grep -v '^ *+' conftest.er1 >conftest.err
24065 rm -f conftest.er1
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try='test -s conftest$ac_exeext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 ac_cv_lib_z_deflate=yes
24082 else
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.$ac_ext >&5
24085
24086 ac_cv_lib_z_deflate=no
24087 fi
24088 rm -f conftest.err conftest.$ac_objext \
24089 conftest$ac_exeext conftest.$ac_ext
24090 LIBS=$ac_check_lib_save_LIBS
24091 fi
24092 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24093 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24094 if test $ac_cv_lib_z_deflate = yes; then
24095 ZLIB_LINK=" -lz"
24096 fi
24097
24098 fi
24099
24100 if test "x$ZLIB_LINK" = "x" ; then
24101 if test "$wxUSE_ZLIB" = "sys" ; then
24102 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24103 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24104 { (exit 1); exit 1; }; }
24105 else
24106 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24107 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24108 wxUSE_ZLIB=builtin
24109 fi
24110 else
24111 wxUSE_ZLIB=sys
24112 fi
24113 fi
24114 fi
24115
24116
24117 PNG_LINK=
24118 if test "$wxUSE_LIBPNG" != "no" ; then
24119 cat >>confdefs.h <<\_ACEOF
24120 #define wxUSE_LIBPNG 1
24121 _ACEOF
24122
24123
24124 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24125 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24126 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24127 wxUSE_LIBPNG=sys
24128 fi
24129
24130 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24131 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24132 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24133 wxUSE_LIBPNG=builtin
24134 fi
24135
24136 if test "$wxUSE_MGL" != 1 ; then
24137 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24138 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24139 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24140 if test "${ac_cv_header_png_h+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 else
24143 if test "$cross_compiling" = yes; then
24144 unset ac_cv_header_png_h
24145
24146 else
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153
24154 #include <png.h>
24155 #include <stdio.h>
24156
24157 int main()
24158 {
24159 FILE *f=fopen("conftestval", "w");
24160 if (!f) exit(1);
24161 fprintf(f, "%s",
24162 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24163 exit(0);
24164 }
24165
24166 _ACEOF
24167 rm -f conftest$ac_exeext
24168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24169 (eval $ac_link) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; }; then
24178 ac_cv_header_png_h=`cat conftestval`
24179 else
24180 echo "$as_me: program exited with status $ac_status" >&5
24181 echo "$as_me: failed program was:" >&5
24182 sed 's/^/| /' conftest.$ac_ext >&5
24183
24184 ( exit $ac_status )
24185 ac_cv_header_png_h=no
24186 fi
24187 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24188 fi
24189
24190 fi
24191 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24192 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24193 if test "${ac_cv_header_png_h+set}" = set; then
24194 echo "$as_me:$LINENO: checking for png.h" >&5
24195 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24196 if test "${ac_cv_header_png_h+set}" = set; then
24197 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 fi
24199 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24200 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24201 else
24202 # Is the header compilable?
24203 echo "$as_me:$LINENO: checking png.h usability" >&5
24204 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24205 cat >conftest.$ac_ext <<_ACEOF
24206 /* confdefs.h. */
24207 _ACEOF
24208 cat confdefs.h >>conftest.$ac_ext
24209 cat >>conftest.$ac_ext <<_ACEOF
24210 /* end confdefs.h. */
24211 $ac_includes_default
24212 #include <png.h>
24213 _ACEOF
24214 rm -f conftest.$ac_objext
24215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24216 (eval $ac_compile) 2>conftest.er1
24217 ac_status=$?
24218 grep -v '^ *+' conftest.er1 >conftest.err
24219 rm -f conftest.er1
24220 cat conftest.err >&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24226 ac_status=$?
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; } &&
24229 { ac_try='test -s conftest.$ac_objext'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24232 ac_status=$?
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; }; then
24235 ac_header_compiler=yes
24236 else
24237 echo "$as_me: failed program was:" >&5
24238 sed 's/^/| /' conftest.$ac_ext >&5
24239
24240 ac_header_compiler=no
24241 fi
24242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24244 echo "${ECHO_T}$ac_header_compiler" >&6
24245
24246 # Is the header present?
24247 echo "$as_me:$LINENO: checking png.h presence" >&5
24248 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24249 cat >conftest.$ac_ext <<_ACEOF
24250 /* confdefs.h. */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255 #include <png.h>
24256 _ACEOF
24257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24259 ac_status=$?
24260 grep -v '^ *+' conftest.er1 >conftest.err
24261 rm -f conftest.er1
24262 cat conftest.err >&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); } >/dev/null; then
24265 if test -s conftest.err; then
24266 ac_cpp_err=$ac_c_preproc_warn_flag
24267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24268 else
24269 ac_cpp_err=
24270 fi
24271 else
24272 ac_cpp_err=yes
24273 fi
24274 if test -z "$ac_cpp_err"; then
24275 ac_header_preproc=yes
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 ac_header_preproc=no
24281 fi
24282 rm -f conftest.err conftest.$ac_ext
24283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24284 echo "${ECHO_T}$ac_header_preproc" >&6
24285
24286 # So? What about this header?
24287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24288 yes:no: )
24289 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24290 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24291 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24292 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24293 ac_header_preproc=yes
24294 ;;
24295 no:yes:* )
24296 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24297 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24298 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24299 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24300 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24301 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24302 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24303 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24304 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24305 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24306 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24307 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24308 (
24309 cat <<\_ASBOX
24310 ## ----------------------------------------- ##
24311 ## Report this to wx-dev@lists.wxwidgets.org ##
24312 ## ----------------------------------------- ##
24313 _ASBOX
24314 ) |
24315 sed "s/^/$as_me: WARNING: /" >&2
24316 ;;
24317 esac
24318 echo "$as_me:$LINENO: checking for png.h" >&5
24319 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24320 if test "${ac_cv_header_png_h+set}" = set; then
24321 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 else
24323 ac_cv_header_png_h=$ac_header_preproc
24324 fi
24325 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24326 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24327
24328 fi
24329
24330
24331
24332 if test "$ac_cv_header_png_h" = "yes"; then
24333 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24334 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24335 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 ac_check_lib_save_LIBS=$LIBS
24339 LIBS="-lpng -lz -lm $LIBS"
24340 cat >conftest.$ac_ext <<_ACEOF
24341 /* confdefs.h. */
24342 _ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24346
24347 /* Override any gcc2 internal prototype to avoid an error. */
24348 #ifdef __cplusplus
24349 extern "C"
24350 #endif
24351 /* We use char because int might match the return type of a gcc2
24352 builtin and then its argument prototype would still apply. */
24353 char png_check_sig ();
24354 int
24355 main ()
24356 {
24357 png_check_sig ();
24358 ;
24359 return 0;
24360 }
24361 _ACEOF
24362 rm -f conftest.$ac_objext conftest$ac_exeext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24364 (eval $ac_link) 2>conftest.er1
24365 ac_status=$?
24366 grep -v '^ *+' conftest.er1 >conftest.err
24367 rm -f conftest.er1
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try='test -s conftest$ac_exeext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 ac_cv_lib_png_png_check_sig=yes
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24387
24388 ac_cv_lib_png_png_check_sig=no
24389 fi
24390 rm -f conftest.err conftest.$ac_objext \
24391 conftest$ac_exeext conftest.$ac_ext
24392 LIBS=$ac_check_lib_save_LIBS
24393 fi
24394 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24395 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24396 if test $ac_cv_lib_png_png_check_sig = yes; then
24397 PNG_LINK=" -lpng -lz"
24398 fi
24399
24400 fi
24401
24402 if test "x$PNG_LINK" = "x" ; then
24403 if test "$wxUSE_LIBPNG" = "sys" ; then
24404 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24405 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24406 { (exit 1); exit 1; }; }
24407 else
24408 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24409 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24410 wxUSE_LIBPNG=builtin
24411 fi
24412 else
24413 wxUSE_LIBPNG=sys
24414 fi
24415 fi
24416 fi
24417
24418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24419 fi
24420
24421
24422 JPEG_LINK=
24423 if test "$wxUSE_LIBJPEG" != "no" ; then
24424 cat >>confdefs.h <<\_ACEOF
24425 #define wxUSE_LIBJPEG 1
24426 _ACEOF
24427
24428
24429 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24430 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24431 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24432 wxUSE_LIBJPEG=sys
24433 fi
24434
24435 if test "$wxUSE_MGL" != 1 ; then
24436 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24437 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24438 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24439 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 else
24442 cat >conftest.$ac_ext <<_ACEOF
24443 /* confdefs.h. */
24444 _ACEOF
24445 cat confdefs.h >>conftest.$ac_ext
24446 cat >>conftest.$ac_ext <<_ACEOF
24447 /* end confdefs.h. */
24448
24449 #undef HAVE_STDLIB_H
24450 #include <stdio.h>
24451 #include <jpeglib.h>
24452
24453 int
24454 main ()
24455 {
24456
24457
24458 ;
24459 return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464 (eval $ac_compile) 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try='test -s conftest.$ac_objext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24480 ac_status=$?
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 ac_cv_header_jpeglib_h=yes
24484 else
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24487
24488 ac_cv_header_jpeglib_h=no
24489
24490 fi
24491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24492
24493 fi
24494
24495 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24496 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24497
24498 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24499 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24500 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24501 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24502 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 else
24504 ac_check_lib_save_LIBS=$LIBS
24505 LIBS="-ljpeg $LIBS"
24506 cat >conftest.$ac_ext <<_ACEOF
24507 /* confdefs.h. */
24508 _ACEOF
24509 cat confdefs.h >>conftest.$ac_ext
24510 cat >>conftest.$ac_ext <<_ACEOF
24511 /* end confdefs.h. */
24512
24513 /* Override any gcc2 internal prototype to avoid an error. */
24514 #ifdef __cplusplus
24515 extern "C"
24516 #endif
24517 /* We use char because int might match the return type of a gcc2
24518 builtin and then its argument prototype would still apply. */
24519 char jpeg_read_header ();
24520 int
24521 main ()
24522 {
24523 jpeg_read_header ();
24524 ;
24525 return 0;
24526 }
24527 _ACEOF
24528 rm -f conftest.$ac_objext conftest$ac_exeext
24529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24530 (eval $ac_link) 2>conftest.er1
24531 ac_status=$?
24532 grep -v '^ *+' conftest.er1 >conftest.err
24533 rm -f conftest.er1
24534 cat conftest.err >&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); } &&
24537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24539 (eval $ac_try) 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; } &&
24543 { ac_try='test -s conftest$ac_exeext'
24544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545 (eval $ac_try) 2>&5
24546 ac_status=$?
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); }; }; then
24549 ac_cv_lib_jpeg_jpeg_read_header=yes
24550 else
24551 echo "$as_me: failed program was:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24553
24554 ac_cv_lib_jpeg_jpeg_read_header=no
24555 fi
24556 rm -f conftest.err conftest.$ac_objext \
24557 conftest$ac_exeext conftest.$ac_ext
24558 LIBS=$ac_check_lib_save_LIBS
24559 fi
24560 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24561 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24562 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24563 JPEG_LINK=" -ljpeg"
24564 fi
24565
24566 fi
24567
24568 if test "x$JPEG_LINK" = "x" ; then
24569 if test "$wxUSE_LIBJPEG" = "sys" ; then
24570 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24571 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24572 { (exit 1); exit 1; }; }
24573 else
24574 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24575 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24576 wxUSE_LIBJPEG=builtin
24577 fi
24578 else
24579 wxUSE_LIBJPEG=sys
24580 fi
24581 fi
24582 fi
24583 fi
24584
24585
24586 TIFF_LINK=
24587 TIFF_PREREQ_LINKS=-lm
24588 if test "$wxUSE_LIBTIFF" != "no" ; then
24589 cat >>confdefs.h <<\_ACEOF
24590 #define wxUSE_LIBTIFF 1
24591 _ACEOF
24592
24593
24594 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24595 if test "$wxUSE_LIBJPEG" = "sys"; then
24596 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24597 fi
24598 if test "$wxUSE_ZLIB" = "sys"; then
24599 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24600 fi
24601 if test "${ac_cv_header_tiffio_h+set}" = set; then
24602 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24603 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24604 if test "${ac_cv_header_tiffio_h+set}" = set; then
24605 echo $ECHO_N "(cached) $ECHO_C" >&6
24606 fi
24607 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24608 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24609 else
24610 # Is the header compilable?
24611 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24612 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24613 cat >conftest.$ac_ext <<_ACEOF
24614 /* confdefs.h. */
24615 _ACEOF
24616 cat confdefs.h >>conftest.$ac_ext
24617 cat >>conftest.$ac_ext <<_ACEOF
24618 /* end confdefs.h. */
24619 $ac_includes_default
24620 #include <tiffio.h>
24621 _ACEOF
24622 rm -f conftest.$ac_objext
24623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24624 (eval $ac_compile) 2>conftest.er1
24625 ac_status=$?
24626 grep -v '^ *+' conftest.er1 >conftest.err
24627 rm -f conftest.er1
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } &&
24631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; } &&
24637 { ac_try='test -s conftest.$ac_objext'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24640 ac_status=$?
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 ac_header_compiler=yes
24644 else
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24647
24648 ac_header_compiler=no
24649 fi
24650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24652 echo "${ECHO_T}$ac_header_compiler" >&6
24653
24654 # Is the header present?
24655 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24656 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24657 cat >conftest.$ac_ext <<_ACEOF
24658 /* confdefs.h. */
24659 _ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663 #include <tiffio.h>
24664 _ACEOF
24665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24667 ac_status=$?
24668 grep -v '^ *+' conftest.er1 >conftest.err
24669 rm -f conftest.er1
24670 cat conftest.err >&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); } >/dev/null; then
24673 if test -s conftest.err; then
24674 ac_cpp_err=$ac_c_preproc_warn_flag
24675 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24676 else
24677 ac_cpp_err=
24678 fi
24679 else
24680 ac_cpp_err=yes
24681 fi
24682 if test -z "$ac_cpp_err"; then
24683 ac_header_preproc=yes
24684 else
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.$ac_ext >&5
24687
24688 ac_header_preproc=no
24689 fi
24690 rm -f conftest.err conftest.$ac_ext
24691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24692 echo "${ECHO_T}$ac_header_preproc" >&6
24693
24694 # So? What about this header?
24695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24696 yes:no: )
24697 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24698 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24699 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24700 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24701 ac_header_preproc=yes
24702 ;;
24703 no:yes:* )
24704 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24705 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24706 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24707 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24708 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24709 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24710 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24711 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24712 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24713 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24714 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24715 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24716 (
24717 cat <<\_ASBOX
24718 ## ----------------------------------------- ##
24719 ## Report this to wx-dev@lists.wxwidgets.org ##
24720 ## ----------------------------------------- ##
24721 _ASBOX
24722 ) |
24723 sed "s/^/$as_me: WARNING: /" >&2
24724 ;;
24725 esac
24726 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24727 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24728 if test "${ac_cv_header_tiffio_h+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 else
24731 ac_cv_header_tiffio_h=$ac_header_preproc
24732 fi
24733 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24734 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24735
24736 fi
24737 if test $ac_cv_header_tiffio_h = yes; then
24738
24739 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24740 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24741 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 else
24744 ac_check_lib_save_LIBS=$LIBS
24745 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24746 cat >conftest.$ac_ext <<_ACEOF
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752
24753 /* Override any gcc2 internal prototype to avoid an error. */
24754 #ifdef __cplusplus
24755 extern "C"
24756 #endif
24757 /* We use char because int might match the return type of a gcc2
24758 builtin and then its argument prototype would still apply. */
24759 char TIFFError ();
24760 int
24761 main ()
24762 {
24763 TIFFError ();
24764 ;
24765 return 0;
24766 }
24767 _ACEOF
24768 rm -f conftest.$ac_objext conftest$ac_exeext
24769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24770 (eval $ac_link) 2>conftest.er1
24771 ac_status=$?
24772 grep -v '^ *+' conftest.er1 >conftest.err
24773 rm -f conftest.er1
24774 cat conftest.err >&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); } &&
24777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24779 (eval $ac_try) 2>&5
24780 ac_status=$?
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; } &&
24783 { ac_try='test -s conftest$ac_exeext'
24784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24785 (eval $ac_try) 2>&5
24786 ac_status=$?
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); }; }; then
24789 ac_cv_lib_tiff_TIFFError=yes
24790 else
24791 echo "$as_me: failed program was:" >&5
24792 sed 's/^/| /' conftest.$ac_ext >&5
24793
24794 ac_cv_lib_tiff_TIFFError=no
24795 fi
24796 rm -f conftest.err conftest.$ac_objext \
24797 conftest$ac_exeext conftest.$ac_ext
24798 LIBS=$ac_check_lib_save_LIBS
24799 fi
24800 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24801 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24802 if test $ac_cv_lib_tiff_TIFFError = yes; then
24803 TIFF_LINK=" -ltiff"
24804 fi
24805
24806
24807
24808 fi
24809
24810
24811
24812 if test "x$TIFF_LINK" = "x" ; then
24813 if test "$wxUSE_LIBTIFF" = "sys" ; then
24814 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24815 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24816 { (exit 1); exit 1; }; }
24817 else
24818 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24819 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24820 wxUSE_LIBTIFF=builtin
24821 fi
24822 else
24823 wxUSE_LIBTIFF=sys
24824 fi
24825 fi
24826 fi
24827
24828
24829 if test "$wxUSE_WCHAR_T" != "yes"; then
24830 if test "$wxUSE_EXPAT" != "no"; then
24831 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24832 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24833 wxUSE_EXPAT=no
24834 fi
24835 if test "$wxUSE_XML" != "no"; then
24836 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24837 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24838 wxUSE_XML=no
24839 fi
24840 fi
24841
24842 if test "$wxUSE_EXPAT" != "no"; then
24843 wxUSE_XML=yes
24844 cat >>confdefs.h <<\_ACEOF
24845 #define wxUSE_EXPAT 1
24846 _ACEOF
24847
24848 cat >>confdefs.h <<\_ACEOF
24849 #define wxUSE_XML 1
24850 _ACEOF
24851
24852
24853 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24854 if test "${ac_cv_header_expat_h+set}" = set; then
24855 echo "$as_me:$LINENO: checking for expat.h" >&5
24856 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24857 if test "${ac_cv_header_expat_h+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 fi
24860 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24861 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24862 else
24863 # Is the header compilable?
24864 echo "$as_me:$LINENO: checking expat.h usability" >&5
24865 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24866 cat >conftest.$ac_ext <<_ACEOF
24867 /* confdefs.h. */
24868 _ACEOF
24869 cat confdefs.h >>conftest.$ac_ext
24870 cat >>conftest.$ac_ext <<_ACEOF
24871 /* end confdefs.h. */
24872 $ac_includes_default
24873 #include <expat.h>
24874 _ACEOF
24875 rm -f conftest.$ac_objext
24876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24877 (eval $ac_compile) 2>conftest.er1
24878 ac_status=$?
24879 grep -v '^ *+' conftest.er1 >conftest.err
24880 rm -f conftest.er1
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } &&
24884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24886 (eval $ac_try) 2>&5
24887 ac_status=$?
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); }; } &&
24890 { ac_try='test -s conftest.$ac_objext'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; }; then
24896 ac_header_compiler=yes
24897 else
24898 echo "$as_me: failed program was:" >&5
24899 sed 's/^/| /' conftest.$ac_ext >&5
24900
24901 ac_header_compiler=no
24902 fi
24903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24905 echo "${ECHO_T}$ac_header_compiler" >&6
24906
24907 # Is the header present?
24908 echo "$as_me:$LINENO: checking expat.h presence" >&5
24909 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24910 cat >conftest.$ac_ext <<_ACEOF
24911 /* confdefs.h. */
24912 _ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24916 #include <expat.h>
24917 _ACEOF
24918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24920 ac_status=$?
24921 grep -v '^ *+' conftest.er1 >conftest.err
24922 rm -f conftest.er1
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } >/dev/null; then
24926 if test -s conftest.err; then
24927 ac_cpp_err=$ac_c_preproc_warn_flag
24928 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24929 else
24930 ac_cpp_err=
24931 fi
24932 else
24933 ac_cpp_err=yes
24934 fi
24935 if test -z "$ac_cpp_err"; then
24936 ac_header_preproc=yes
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 ac_header_preproc=no
24942 fi
24943 rm -f conftest.err conftest.$ac_ext
24944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24945 echo "${ECHO_T}$ac_header_preproc" >&6
24946
24947 # So? What about this header?
24948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24949 yes:no: )
24950 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24951 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24952 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24953 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24954 ac_header_preproc=yes
24955 ;;
24956 no:yes:* )
24957 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24958 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24959 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24960 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24962 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24964 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24965 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24966 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24967 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24968 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24969 (
24970 cat <<\_ASBOX
24971 ## ----------------------------------------- ##
24972 ## Report this to wx-dev@lists.wxwidgets.org ##
24973 ## ----------------------------------------- ##
24974 _ASBOX
24975 ) |
24976 sed "s/^/$as_me: WARNING: /" >&2
24977 ;;
24978 esac
24979 echo "$as_me:$LINENO: checking for expat.h" >&5
24980 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24981 if test "${ac_cv_header_expat_h+set}" = set; then
24982 echo $ECHO_N "(cached) $ECHO_C" >&6
24983 else
24984 ac_cv_header_expat_h=$ac_header_preproc
24985 fi
24986 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24987 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24988
24989 fi
24990 if test $ac_cv_header_expat_h = yes; then
24991 found_expat_h=1
24992 fi
24993
24994
24995 if test "x$found_expat_h" = "x1"; then
24996 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24997 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24998 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001
25002
25003
25004 ac_ext=cc
25005 ac_cpp='$CXXCPP $CPPFLAGS'
25006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009
25010 cat >conftest.$ac_ext <<_ACEOF
25011 /* confdefs.h. */
25012 _ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h. */
25016 #include <expat.h>
25017 int
25018 main ()
25019 {
25020
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 rm -f conftest.$ac_objext
25026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25027 (eval $ac_compile) 2>conftest.er1
25028 ac_status=$?
25029 grep -v '^ *+' conftest.er1 >conftest.err
25030 rm -f conftest.er1
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } &&
25034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036 (eval $ac_try) 2>&5
25037 ac_status=$?
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); }; } &&
25040 { ac_try='test -s conftest.$ac_objext'
25041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25042 (eval $ac_try) 2>&5
25043 ac_status=$?
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); }; }; then
25046 wx_cv_expat_is_not_broken=yes
25047 else
25048 echo "$as_me: failed program was:" >&5
25049 sed 's/^/| /' conftest.$ac_ext >&5
25050
25051 wx_cv_expat_is_not_broken=no
25052
25053 fi
25054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25055 ac_ext=c
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060
25061
25062
25063 fi
25064 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25065 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25066 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25067 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25068 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25069 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072 ac_check_lib_save_LIBS=$LIBS
25073 LIBS="-lexpat $LIBS"
25074 cat >conftest.$ac_ext <<_ACEOF
25075 /* confdefs.h. */
25076 _ACEOF
25077 cat confdefs.h >>conftest.$ac_ext
25078 cat >>conftest.$ac_ext <<_ACEOF
25079 /* end confdefs.h. */
25080
25081 /* Override any gcc2 internal prototype to avoid an error. */
25082 #ifdef __cplusplus
25083 extern "C"
25084 #endif
25085 /* We use char because int might match the return type of a gcc2
25086 builtin and then its argument prototype would still apply. */
25087 char XML_ParserCreate ();
25088 int
25089 main ()
25090 {
25091 XML_ParserCreate ();
25092 ;
25093 return 0;
25094 }
25095 _ACEOF
25096 rm -f conftest.$ac_objext conftest$ac_exeext
25097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25098 (eval $ac_link) 2>conftest.er1
25099 ac_status=$?
25100 grep -v '^ *+' conftest.er1 >conftest.err
25101 rm -f conftest.er1
25102 cat conftest.err >&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } &&
25105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25108 ac_status=$?
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; } &&
25111 { ac_try='test -s conftest$ac_exeext'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25114 ac_status=$?
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; }; then
25117 ac_cv_lib_expat_XML_ParserCreate=yes
25118 else
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ac_cv_lib_expat_XML_ParserCreate=no
25123 fi
25124 rm -f conftest.err conftest.$ac_objext \
25125 conftest$ac_exeext conftest.$ac_ext
25126 LIBS=$ac_check_lib_save_LIBS
25127 fi
25128 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25129 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25130 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25131 EXPAT_LINK=" -lexpat"
25132 fi
25133
25134 fi
25135 fi
25136 if test "x$EXPAT_LINK" = "x" ; then
25137 if test "$wxUSE_EXPAT" = "sys" ; then
25138 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25139 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25140 { (exit 1); exit 1; }; }
25141 else
25142 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25143 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25144 wxUSE_EXPAT=builtin
25145 fi
25146 else
25147 wxUSE_EXPAT=sys
25148 fi
25149 fi
25150 if test "$wxUSE_EXPAT" = "builtin" ; then
25151
25152
25153 subdirs="$subdirs src/expat"
25154
25155 fi
25156 fi
25157
25158
25159
25160 if test "$wxUSE_LIBMSPACK" != "no"; then
25161 if test "${ac_cv_header_mspack_h+set}" = set; then
25162 echo "$as_me:$LINENO: checking for mspack.h" >&5
25163 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25164 if test "${ac_cv_header_mspack_h+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25166 fi
25167 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25168 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25169 else
25170 # Is the header compilable?
25171 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25172 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25173 cat >conftest.$ac_ext <<_ACEOF
25174 /* confdefs.h. */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 $ac_includes_default
25180 #include <mspack.h>
25181 _ACEOF
25182 rm -f conftest.$ac_objext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25184 (eval $ac_compile) 2>conftest.er1
25185 ac_status=$?
25186 grep -v '^ *+' conftest.er1 >conftest.err
25187 rm -f conftest.er1
25188 cat conftest.err >&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); } &&
25191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try='test -s conftest.$ac_objext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_header_compiler=yes
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208 ac_header_compiler=no
25209 fi
25210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25212 echo "${ECHO_T}$ac_header_compiler" >&6
25213
25214 # Is the header present?
25215 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25216 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25217 cat >conftest.$ac_ext <<_ACEOF
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 #include <mspack.h>
25224 _ACEOF
25225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25227 ac_status=$?
25228 grep -v '^ *+' conftest.er1 >conftest.err
25229 rm -f conftest.er1
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } >/dev/null; then
25233 if test -s conftest.err; then
25234 ac_cpp_err=$ac_c_preproc_warn_flag
25235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25236 else
25237 ac_cpp_err=
25238 fi
25239 else
25240 ac_cpp_err=yes
25241 fi
25242 if test -z "$ac_cpp_err"; then
25243 ac_header_preproc=yes
25244 else
25245 echo "$as_me: failed program was:" >&5
25246 sed 's/^/| /' conftest.$ac_ext >&5
25247
25248 ac_header_preproc=no
25249 fi
25250 rm -f conftest.err conftest.$ac_ext
25251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25252 echo "${ECHO_T}$ac_header_preproc" >&6
25253
25254 # So? What about this header?
25255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25256 yes:no: )
25257 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25258 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25260 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25261 ac_header_preproc=yes
25262 ;;
25263 no:yes:* )
25264 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25265 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25266 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25267 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25268 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25269 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25270 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25271 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25272 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25273 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25274 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25275 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25276 (
25277 cat <<\_ASBOX
25278 ## ----------------------------------------- ##
25279 ## Report this to wx-dev@lists.wxwidgets.org ##
25280 ## ----------------------------------------- ##
25281 _ASBOX
25282 ) |
25283 sed "s/^/$as_me: WARNING: /" >&2
25284 ;;
25285 esac
25286 echo "$as_me:$LINENO: checking for mspack.h" >&5
25287 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25288 if test "${ac_cv_header_mspack_h+set}" = set; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25290 else
25291 ac_cv_header_mspack_h=$ac_header_preproc
25292 fi
25293 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25294 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25295
25296 fi
25297 if test $ac_cv_header_mspack_h = yes; then
25298 found_mspack_h=1
25299 fi
25300
25301
25302 if test "x$found_mspack_h" = "x1"; then
25303 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25304 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25305 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25306 echo $ECHO_N "(cached) $ECHO_C" >&6
25307 else
25308 ac_check_lib_save_LIBS=$LIBS
25309 LIBS="-lmspack $LIBS"
25310 cat >conftest.$ac_ext <<_ACEOF
25311 /* confdefs.h. */
25312 _ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25316
25317 /* Override any gcc2 internal prototype to avoid an error. */
25318 #ifdef __cplusplus
25319 extern "C"
25320 #endif
25321 /* We use char because int might match the return type of a gcc2
25322 builtin and then its argument prototype would still apply. */
25323 char mspack_create_chm_decompressor ();
25324 int
25325 main ()
25326 {
25327 mspack_create_chm_decompressor ();
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25335 ac_status=$?
25336 grep -v '^ *+' conftest.er1 >conftest.err
25337 rm -f conftest.er1
25338 cat conftest.err >&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; } &&
25347 { ac_try='test -s conftest$ac_exeext'
25348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349 (eval $ac_try) 2>&5
25350 ac_status=$?
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25354 else
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25357
25358 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25359 fi
25360 rm -f conftest.err conftest.$ac_objext \
25361 conftest$ac_exeext conftest.$ac_ext
25362 LIBS=$ac_check_lib_save_LIBS
25363 fi
25364 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25365 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25366 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25367 MSPACK_LINK=" -lmspack"
25368 fi
25369
25370 fi
25371 if test "x$MSPACK_LINK" = "x" ; then
25372 wxUSE_LIBMSPACK=no
25373 fi
25374 fi
25375
25376 if test "$wxUSE_LIBMSPACK" != "no"; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define wxUSE_LIBMSPACK 1
25379 _ACEOF
25380
25381 fi
25382
25383
25384
25385 AFMINSTALL=
25386 WIN32INSTALL=
25387
25388 TOOLKIT=
25389 TOOLKIT_INCLUDE=
25390 WIDGET_SET=
25391
25392 if test "$USE_WIN32" = 1 ; then
25393
25394 for ac_header in w32api.h
25395 do
25396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25398 echo "$as_me:$LINENO: checking for $ac_header" >&5
25399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 fi
25403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25405 else
25406 # Is the header compilable?
25407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25409 cat >conftest.$ac_ext <<_ACEOF
25410 /* confdefs.h. */
25411 _ACEOF
25412 cat confdefs.h >>conftest.$ac_ext
25413 cat >>conftest.$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25415 $ac_includes_default
25416 #include <$ac_header>
25417 _ACEOF
25418 rm -f conftest.$ac_objext
25419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25420 (eval $ac_compile) 2>conftest.er1
25421 ac_status=$?
25422 grep -v '^ *+' conftest.er1 >conftest.err
25423 rm -f conftest.er1
25424 cat conftest.err >&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } &&
25427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25430 ac_status=$?
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; } &&
25433 { ac_try='test -s conftest.$ac_objext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 ac_header_compiler=yes
25440 else
25441 echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.$ac_ext >&5
25443
25444 ac_header_compiler=no
25445 fi
25446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25448 echo "${ECHO_T}$ac_header_compiler" >&6
25449
25450 # Is the header present?
25451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25453 cat >conftest.$ac_ext <<_ACEOF
25454 /* confdefs.h. */
25455 _ACEOF
25456 cat confdefs.h >>conftest.$ac_ext
25457 cat >>conftest.$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <$ac_header>
25460 _ACEOF
25461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25463 ac_status=$?
25464 grep -v '^ *+' conftest.er1 >conftest.err
25465 rm -f conftest.er1
25466 cat conftest.err >&5
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); } >/dev/null; then
25469 if test -s conftest.err; then
25470 ac_cpp_err=$ac_c_preproc_warn_flag
25471 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25472 else
25473 ac_cpp_err=
25474 fi
25475 else
25476 ac_cpp_err=yes
25477 fi
25478 if test -z "$ac_cpp_err"; then
25479 ac_header_preproc=yes
25480 else
25481 echo "$as_me: failed program was:" >&5
25482 sed 's/^/| /' conftest.$ac_ext >&5
25483
25484 ac_header_preproc=no
25485 fi
25486 rm -f conftest.err conftest.$ac_ext
25487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25488 echo "${ECHO_T}$ac_header_preproc" >&6
25489
25490 # So? What about this header?
25491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25492 yes:no: )
25493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25497 ac_header_preproc=yes
25498 ;;
25499 no:yes:* )
25500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25512 (
25513 cat <<\_ASBOX
25514 ## ----------------------------------------- ##
25515 ## Report this to wx-dev@lists.wxwidgets.org ##
25516 ## ----------------------------------------- ##
25517 _ASBOX
25518 ) |
25519 sed "s/^/$as_me: WARNING: /" >&2
25520 ;;
25521 esac
25522 echo "$as_me:$LINENO: checking for $ac_header" >&5
25523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 else
25527 eval "$as_ac_Header=\$ac_header_preproc"
25528 fi
25529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25531
25532 fi
25533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25534 cat >>confdefs.h <<_ACEOF
25535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25536 _ACEOF
25537
25538 fi
25539
25540 done
25541
25542 if test "${ac_cv_header_windows_h+set}" = set; then
25543 echo "$as_me:$LINENO: checking for windows.h" >&5
25544 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25545 if test "${ac_cv_header_windows_h+set}" = set; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 fi
25548 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25549 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25550 else
25551 # Is the header compilable?
25552 echo "$as_me:$LINENO: checking windows.h usability" >&5
25553 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25554 cat >conftest.$ac_ext <<_ACEOF
25555 /* confdefs.h. */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560 $ac_includes_default
25561 #include <windows.h>
25562 _ACEOF
25563 rm -f conftest.$ac_objext
25564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25565 (eval $ac_compile) 2>conftest.er1
25566 ac_status=$?
25567 grep -v '^ *+' conftest.er1 >conftest.err
25568 rm -f conftest.er1
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25574 (eval $ac_try) 2>&5
25575 ac_status=$?
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); }; } &&
25578 { ac_try='test -s conftest.$ac_objext'
25579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580 (eval $ac_try) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); }; }; then
25584 ac_header_compiler=yes
25585 else
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25588
25589 ac_header_compiler=no
25590 fi
25591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25593 echo "${ECHO_T}$ac_header_compiler" >&6
25594
25595 # Is the header present?
25596 echo "$as_me:$LINENO: checking windows.h presence" >&5
25597 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25598 cat >conftest.$ac_ext <<_ACEOF
25599 /* confdefs.h. */
25600 _ACEOF
25601 cat confdefs.h >>conftest.$ac_ext
25602 cat >>conftest.$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 #include <windows.h>
25605 _ACEOF
25606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25608 ac_status=$?
25609 grep -v '^ *+' conftest.er1 >conftest.err
25610 rm -f conftest.er1
25611 cat conftest.err >&5
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); } >/dev/null; then
25614 if test -s conftest.err; then
25615 ac_cpp_err=$ac_c_preproc_warn_flag
25616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25617 else
25618 ac_cpp_err=
25619 fi
25620 else
25621 ac_cpp_err=yes
25622 fi
25623 if test -z "$ac_cpp_err"; then
25624 ac_header_preproc=yes
25625 else
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25628
25629 ac_header_preproc=no
25630 fi
25631 rm -f conftest.err conftest.$ac_ext
25632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25633 echo "${ECHO_T}$ac_header_preproc" >&6
25634
25635 # So? What about this header?
25636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25637 yes:no: )
25638 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25639 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25640 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25641 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25642 ac_header_preproc=yes
25643 ;;
25644 no:yes:* )
25645 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25646 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25647 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25648 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25649 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25650 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25651 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25652 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25653 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25654 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25655 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25656 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25657 (
25658 cat <<\_ASBOX
25659 ## ----------------------------------------- ##
25660 ## Report this to wx-dev@lists.wxwidgets.org ##
25661 ## ----------------------------------------- ##
25662 _ASBOX
25663 ) |
25664 sed "s/^/$as_me: WARNING: /" >&2
25665 ;;
25666 esac
25667 echo "$as_me:$LINENO: checking for windows.h" >&5
25668 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25669 if test "${ac_cv_header_windows_h+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25671 else
25672 ac_cv_header_windows_h=$ac_header_preproc
25673 fi
25674 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25675 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25676
25677 fi
25678 if test $ac_cv_header_windows_h = yes; then
25679 :
25680 else
25681
25682 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25683 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25684 { (exit 1); exit 1; }; }
25685
25686 fi
25687
25688
25689
25690 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25691
25692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25693 LIBS="$LIBS -loleacc"
25694 fi
25695
25696 case "${host}" in
25697 *-*-cygwin* )
25698 LIBS="$LIBS -lkernel32 -luser32"
25699 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
25700 esac
25701
25702 if test "$wxUSE_ODBC" = "sys" ; then
25703 wxUSE_ODBC = "yes"
25704 fi
25705 if test "$wxUSE_ODBC" = "yes" ; then
25706 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
25707 cat >>confdefs.h <<\_ACEOF
25708 #define wxUSE_ODBC 1
25709 _ACEOF
25710
25711 fi
25712
25713 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25714 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
25715
25716 WIN32INSTALL=win32install
25717 fi
25718
25719 if test "$wxUSE_GUI" = "yes"; then
25720 USE_GUI=1
25721
25722 GUI_TK_LIBRARY=
25723
25724 WXGTK12=
25725 WXGTK127=
25726 WXGTK20=
25727 WXGPE=
25728
25729 if test "$wxUSE_COCOA" = 1 ; then
25730 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25731 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25732 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25733 wxUSE_PRINTING_ARCHITECTURE=no
25734 fi
25735 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25736 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25737 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25738 wxUSE_DRAG_AND_DROP=no
25739 fi
25740 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25741 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25742 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25743 wxUSE_DRAGIMAGE=no
25744 fi
25745 fi
25746
25747 if test "$wxUSE_MSW" = 1 ; then
25748 TOOLKIT=MSW
25749 GUIDIST=MSW_DIST
25750
25751 case "${host}" in
25752 *-*-mingw32* )
25753 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25754 esac
25755 fi
25756
25757 if test "$wxUSE_GTK" = 1; then
25758 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25759 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25760
25761 gtk_version_cached=1
25762 if test "${wx_cv_lib_gtk+set}" = set; then
25763 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 else
25765
25766 gtk_version_cached=0
25767 echo "$as_me:$LINENO: result: " >&5
25768 echo "${ECHO_T}" >&6
25769
25770 GTK_MODULES=
25771 if test "$wxUSE_THREADS" = "yes"; then
25772 GTK_MODULES=gthread
25773 fi
25774
25775 wx_cv_lib_gtk=
25776 if test "x$wxGTK_VERSION" != "x1"
25777 then
25778 case "${host}" in
25779 *-*-solaris2* )
25780 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25781 enable_gtktest=no
25782 fi
25783 esac
25784
25785 # Check whether --enable-gtktest or --disable-gtktest was given.
25786 if test "${enable_gtktest+set}" = set; then
25787 enableval="$enable_gtktest"
25788
25789 else
25790 enable_gtktest=yes
25791 fi;
25792
25793 pkg_config_args=gtk+-2.0
25794 for module in . $GTK_MODULES
25795 do
25796 case "$module" in
25797 gthread)
25798 pkg_config_args="$pkg_config_args gthread-2.0"
25799 ;;
25800 esac
25801 done
25802
25803 no_gtk=""
25804
25805 # Extract the first word of "pkg-config", so it can be a program name with args.
25806 set dummy pkg-config; ac_word=$2
25807 echo "$as_me:$LINENO: checking for $ac_word" >&5
25808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25810 echo $ECHO_N "(cached) $ECHO_C" >&6
25811 else
25812 case $PKG_CONFIG in
25813 [\\/]* | ?:[\\/]*)
25814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25815 ;;
25816 *)
25817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25818 for as_dir in $PATH
25819 do
25820 IFS=$as_save_IFS
25821 test -z "$as_dir" && as_dir=.
25822 for ac_exec_ext in '' $ac_executable_extensions; do
25823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25826 break 2
25827 fi
25828 done
25829 done
25830
25831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25832 ;;
25833 esac
25834 fi
25835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25836
25837 if test -n "$PKG_CONFIG"; then
25838 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25839 echo "${ECHO_T}$PKG_CONFIG" >&6
25840 else
25841 echo "$as_me:$LINENO: result: no" >&5
25842 echo "${ECHO_T}no" >&6
25843 fi
25844
25845
25846 if test x$PKG_CONFIG != xno ; then
25847 if pkg-config --atleast-pkgconfig-version 0.7 ; then
25848 :
25849 else
25850 echo "*** pkg-config too old; version 0.7 or better required."
25851 no_gtk=yes
25852 PKG_CONFIG=no
25853 fi
25854 else
25855 no_gtk=yes
25856 fi
25857
25858 min_gtk_version=2.0.0
25859 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25860 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25861
25862 if test x$PKG_CONFIG != xno ; then
25863 ## don't try to run the test against uninstalled libtool libs
25864 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25865 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25866 enable_gtktest=no
25867 fi
25868
25869 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25870 :
25871 else
25872 no_gtk=yes
25873 fi
25874 fi
25875
25876 if test x"$no_gtk" = x ; then
25877 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
25878 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
25879 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25881 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25883 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25885 if test "x$enable_gtktest" = "xyes" ; then
25886 ac_save_CFLAGS="$CFLAGS"
25887 ac_save_LIBS="$LIBS"
25888 CFLAGS="$CFLAGS $GTK_CFLAGS"
25889 LIBS="$GTK_LIBS $LIBS"
25890 rm -f conf.gtktest
25891 if test "$cross_compiling" = yes; then
25892 echo $ac_n "cross compiling; assumed OK... $ac_c"
25893 else
25894 cat >conftest.$ac_ext <<_ACEOF
25895 /* confdefs.h. */
25896 _ACEOF
25897 cat confdefs.h >>conftest.$ac_ext
25898 cat >>conftest.$ac_ext <<_ACEOF
25899 /* end confdefs.h. */
25900
25901 #include <gtk/gtk.h>
25902 #include <stdio.h>
25903 #include <stdlib.h>
25904
25905 int
25906 main ()
25907 {
25908 int major, minor, micro;
25909 char *tmp_version;
25910
25911 system ("touch conf.gtktest");
25912
25913 /* HP/UX 9 (%@#!) writes to sscanf strings */
25914 tmp_version = g_strdup("$min_gtk_version");
25915 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25916 printf("%s, bad version string\n", "$min_gtk_version");
25917 exit(1);
25918 }
25919
25920 if ((gtk_major_version != $gtk_config_major_version) ||
25921 (gtk_minor_version != $gtk_config_minor_version) ||
25922 (gtk_micro_version != $gtk_config_micro_version))
25923 {
25924 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25925 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25926 gtk_major_version, gtk_minor_version, gtk_micro_version);
25927 printf ("*** was found! If pkg-config was correct, then it is best\n");
25928 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25929 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25930 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25931 printf("*** required on your system.\n");
25932 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25933 printf("*** to point to the correct configuration files\n");
25934 }
25935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25936 (gtk_minor_version != GTK_MINOR_VERSION) ||
25937 (gtk_micro_version != GTK_MICRO_VERSION))
25938 {
25939 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25941 printf("*** library (version %d.%d.%d)\n",
25942 gtk_major_version, gtk_minor_version, gtk_micro_version);
25943 }
25944 else
25945 {
25946 if ((gtk_major_version > major) ||
25947 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25948 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25949 {
25950 return 0;
25951 }
25952 else
25953 {
25954 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25955 gtk_major_version, gtk_minor_version, gtk_micro_version);
25956 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25957 major, minor, micro);
25958 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25959 printf("***\n");
25960 printf("*** If you have already installed a sufficiently new version, this error\n");
25961 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25962 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25963 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25964 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25965 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25966 printf("*** so that the correct libraries are found at run-time))\n");
25967 }
25968 }
25969 return 1;
25970 }
25971
25972 _ACEOF
25973 rm -f conftest$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25976 ac_status=$?
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25981 ac_status=$?
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25984 :
25985 else
25986 echo "$as_me: program exited with status $ac_status" >&5
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.$ac_ext >&5
25989
25990 ( exit $ac_status )
25991 no_gtk=yes
25992 fi
25993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25994 fi
25995 CFLAGS="$ac_save_CFLAGS"
25996 LIBS="$ac_save_LIBS"
25997 fi
25998 fi
25999 if test "x$no_gtk" = x ; then
26000 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26001 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26002 wx_cv_lib_gtk=2.0
26003 else
26004 echo "$as_me:$LINENO: result: no" >&5
26005 echo "${ECHO_T}no" >&6
26006 if test "$PKG_CONFIG" = "no" ; then
26007 echo "*** A new enough version of pkg-config was not found."
26008 echo "*** See http://pkgconfig.sourceforge.net"
26009 else
26010 if test -f conf.gtktest ; then
26011 :
26012 else
26013 echo "*** Could not run GTK+ test program, checking why..."
26014 ac_save_CFLAGS="$CFLAGS"
26015 ac_save_LIBS="$LIBS"
26016 CFLAGS="$CFLAGS $GTK_CFLAGS"
26017 LIBS="$LIBS $GTK_LIBS"
26018 cat >conftest.$ac_ext <<_ACEOF
26019 /* confdefs.h. */
26020 _ACEOF
26021 cat confdefs.h >>conftest.$ac_ext
26022 cat >>conftest.$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26024
26025 #include <gtk/gtk.h>
26026 #include <stdio.h>
26027
26028 int
26029 main ()
26030 {
26031 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26032 ;
26033 return 0;
26034 }
26035 _ACEOF
26036 rm -f conftest.$ac_objext conftest$ac_exeext
26037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26038 (eval $ac_link) 2>conftest.er1
26039 ac_status=$?
26040 grep -v '^ *+' conftest.er1 >conftest.err
26041 rm -f conftest.er1
26042 cat conftest.err >&5
26043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26044 (exit $ac_status); } &&
26045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26047 (eval $ac_try) 2>&5
26048 ac_status=$?
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); }; } &&
26051 { ac_try='test -s conftest$ac_exeext'
26052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26053 (eval $ac_try) 2>&5
26054 ac_status=$?
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); }; }; then
26057 echo "*** The test program compiled, but did not run. This usually means"
26058 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26059 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26060 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26061 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26062 echo "*** is required on your system"
26063 echo "***"
26064 echo "*** If you have an old version installed, it is best to remove it, although"
26065 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26066 else
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26069
26070 echo "*** The test program failed to compile or link. See the file config.log for the"
26071 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26072 fi
26073 rm -f conftest.err conftest.$ac_objext \
26074 conftest$ac_exeext conftest.$ac_ext
26075 CFLAGS="$ac_save_CFLAGS"
26076 LIBS="$ac_save_LIBS"
26077 fi
26078 fi
26079 GTK_CFLAGS=""
26080 GTK_LIBS=""
26081 :
26082 fi
26083
26084
26085 rm -f conf.gtktest
26086
26087
26088 case "${host}" in
26089 *-*-solaris2* )
26090 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26091 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26092 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26093 fi
26094 if test "$wxUSE_SHARED" != "yes"; then
26095 GTK_LIBS="$GTK_LIBS -lX11"
26096 fi
26097 esac
26098 fi
26099
26100 if test -z "$wx_cv_lib_gtk"; then
26101 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26102
26103 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26104 if test "${with_gtk_prefix+set}" = set; then
26105 withval="$with_gtk_prefix"
26106 gtk_config_prefix="$withval"
26107 else
26108 gtk_config_prefix=""
26109 fi;
26110
26111 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26112 if test "${with_gtk_exec_prefix+set}" = set; then
26113 withval="$with_gtk_exec_prefix"
26114 gtk_config_exec_prefix="$withval"
26115 else
26116 gtk_config_exec_prefix=""
26117 fi;
26118 # Check whether --enable-gtktest or --disable-gtktest was given.
26119 if test "${enable_gtktest+set}" = set; then
26120 enableval="$enable_gtktest"
26121
26122 else
26123 enable_gtktest=yes
26124 fi;
26125
26126 for module in . $GTK_MODULES
26127 do
26128 case "$module" in
26129 gthread)
26130 gtk_config_args="$gtk_config_args gthread"
26131 ;;
26132 esac
26133 done
26134
26135 if test x$gtk_config_exec_prefix != x ; then
26136 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26137 if test x${GTK_CONFIG+set} != xset ; then
26138 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26139 fi
26140 fi
26141 if test x$gtk_config_prefix != x ; then
26142 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26143 if test x${GTK_CONFIG+set} != xset ; then
26144 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26145 fi
26146 fi
26147
26148 # Extract the first word of "gtk-config", so it can be a program name with args.
26149 set dummy gtk-config; ac_word=$2
26150 echo "$as_me:$LINENO: checking for $ac_word" >&5
26151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26152 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26153 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 else
26155 case $GTK_CONFIG in
26156 [\\/]* | ?:[\\/]*)
26157 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26158 ;;
26159 *)
26160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26161 for as_dir in $PATH
26162 do
26163 IFS=$as_save_IFS
26164 test -z "$as_dir" && as_dir=.
26165 for ac_exec_ext in '' $ac_executable_extensions; do
26166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26167 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26169 break 2
26170 fi
26171 done
26172 done
26173
26174 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26175 ;;
26176 esac
26177 fi
26178 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26179
26180 if test -n "$GTK_CONFIG"; then
26181 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26182 echo "${ECHO_T}$GTK_CONFIG" >&6
26183 else
26184 echo "$as_me:$LINENO: result: no" >&5
26185 echo "${ECHO_T}no" >&6
26186 fi
26187
26188 min_gtk_version=1.2.7
26189 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26190 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26191 no_gtk=""
26192 if test "$GTK_CONFIG" = "no" ; then
26193 no_gtk=yes
26194 else
26195 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26196 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26197 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26199 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26200 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26201 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26202 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26203 if test "x$enable_gtktest" = "xyes" ; then
26204 ac_save_CFLAGS="$CFLAGS"
26205 ac_save_LIBS="$LIBS"
26206 CFLAGS="$CFLAGS $GTK_CFLAGS"
26207 LIBS="$GTK_LIBS $LIBS"
26208 rm -f conf.gtktest
26209 if test "$cross_compiling" = yes; then
26210 echo $ac_n "cross compiling; assumed OK... $ac_c"
26211 else
26212 cat >conftest.$ac_ext <<_ACEOF
26213 /* confdefs.h. */
26214 _ACEOF
26215 cat confdefs.h >>conftest.$ac_ext
26216 cat >>conftest.$ac_ext <<_ACEOF
26217 /* end confdefs.h. */
26218
26219 #include <gtk/gtk.h>
26220 #include <stdio.h>
26221 #include <stdlib.h>
26222
26223 int
26224 main ()
26225 {
26226 int major, minor, micro;
26227 char *tmp_version;
26228
26229 system ("touch conf.gtktest");
26230
26231 /* HP/UX 9 (%@#!) writes to sscanf strings */
26232 tmp_version = g_strdup("$min_gtk_version");
26233 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26234 printf("%s, bad version string\n", "$min_gtk_version");
26235 exit(1);
26236 }
26237
26238 if ((gtk_major_version != $gtk_config_major_version) ||
26239 (gtk_minor_version != $gtk_config_minor_version) ||
26240 (gtk_micro_version != $gtk_config_micro_version))
26241 {
26242 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26243 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26244 gtk_major_version, gtk_minor_version, gtk_micro_version);
26245 printf ("*** was found! If gtk-config was correct, then it is best\n");
26246 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26247 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26248 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26249 printf("*** required on your system.\n");
26250 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26251 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26252 printf("*** before re-running configure\n");
26253 }
26254 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26255 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26256 (gtk_minor_version != GTK_MINOR_VERSION) ||
26257 (gtk_micro_version != GTK_MICRO_VERSION))
26258 {
26259 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26260 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26261 printf("*** library (version %d.%d.%d)\n",
26262 gtk_major_version, gtk_minor_version, gtk_micro_version);
26263 }
26264 #endif /* defined (GTK_MAJOR_VERSION) ... */
26265 else
26266 {
26267 if ((gtk_major_version > major) ||
26268 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26269 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26270 {
26271 return 0;
26272 }
26273 else
26274 {
26275 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26276 gtk_major_version, gtk_minor_version, gtk_micro_version);
26277 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26278 major, minor, micro);
26279 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26280 printf("***\n");
26281 printf("*** If you have already installed a sufficiently new version, this error\n");
26282 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26283 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26284 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26285 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26286 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26287 printf("*** so that the correct libraries are found at run-time))\n");
26288 }
26289 }
26290 return 1;
26291 }
26292
26293 _ACEOF
26294 rm -f conftest$ac_exeext
26295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26296 (eval $ac_link) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26301 (eval $ac_try) 2>&5
26302 ac_status=$?
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 :
26306 else
26307 echo "$as_me: program exited with status $ac_status" >&5
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26310
26311 ( exit $ac_status )
26312 no_gtk=yes
26313 fi
26314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26315 fi
26316 CFLAGS="$ac_save_CFLAGS"
26317 LIBS="$ac_save_LIBS"
26318 fi
26319 fi
26320 if test "x$no_gtk" = x ; then
26321 echo "$as_me:$LINENO: result: yes" >&5
26322 echo "${ECHO_T}yes" >&6
26323 wx_cv_lib_gtk=1.2.7
26324 else
26325 echo "$as_me:$LINENO: result: no" >&5
26326 echo "${ECHO_T}no" >&6
26327 if test "$GTK_CONFIG" = "no" ; then
26328 echo "*** The gtk-config script installed by GTK could not be found"
26329 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26330 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26331 echo "*** full path to gtk-config."
26332 else
26333 if test -f conf.gtktest ; then
26334 :
26335 else
26336 echo "*** Could not run GTK test program, checking why..."
26337 CFLAGS="$CFLAGS $GTK_CFLAGS"
26338 LIBS="$LIBS $GTK_LIBS"
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h. */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26345
26346 #include <gtk/gtk.h>
26347 #include <stdio.h>
26348
26349 int
26350 main ()
26351 {
26352 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26353 ;
26354 return 0;
26355 }
26356 _ACEOF
26357 rm -f conftest.$ac_objext conftest$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359 (eval $ac_link) 2>conftest.er1
26360 ac_status=$?
26361 grep -v '^ *+' conftest.er1 >conftest.err
26362 rm -f conftest.er1
26363 cat conftest.err >&5
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); } &&
26366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26369 ac_status=$?
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try='test -s conftest$ac_exeext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26375 ac_status=$?
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26378 echo "*** The test program compiled, but did not run. This usually means"
26379 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26380 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26381 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26382 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26383 echo "*** is required on your system"
26384 echo "***"
26385 echo "*** If you have an old version installed, it is best to remove it, although"
26386 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26387 echo "***"
26388 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26389 echo "*** came with the system with the command"
26390 echo "***"
26391 echo "*** rpm --erase --nodeps gtk gtk-devel"
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26395
26396 echo "*** The test program failed to compile or link. See the file config.log for the"
26397 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26398 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26399 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26400 fi
26401 rm -f conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 CFLAGS="$ac_save_CFLAGS"
26404 LIBS="$ac_save_LIBS"
26405 fi
26406 fi
26407 GTK_CFLAGS=""
26408 GTK_LIBS=""
26409 :
26410 fi
26411
26412
26413 rm -f conf.gtktest
26414
26415
26416 if test -z "$wx_cv_lib_gtk"; then
26417
26418 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26419 if test "${with_gtk_prefix+set}" = set; then
26420 withval="$with_gtk_prefix"
26421 gtk_config_prefix="$withval"
26422 else
26423 gtk_config_prefix=""
26424 fi;
26425
26426 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26427 if test "${with_gtk_exec_prefix+set}" = set; then
26428 withval="$with_gtk_exec_prefix"
26429 gtk_config_exec_prefix="$withval"
26430 else
26431 gtk_config_exec_prefix=""
26432 fi;
26433 # Check whether --enable-gtktest or --disable-gtktest was given.
26434 if test "${enable_gtktest+set}" = set; then
26435 enableval="$enable_gtktest"
26436
26437 else
26438 enable_gtktest=yes
26439 fi;
26440
26441 for module in . $GTK_MODULES
26442 do
26443 case "$module" in
26444 gthread)
26445 gtk_config_args="$gtk_config_args gthread"
26446 ;;
26447 esac
26448 done
26449
26450 if test x$gtk_config_exec_prefix != x ; then
26451 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26452 if test x${GTK_CONFIG+set} != xset ; then
26453 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26454 fi
26455 fi
26456 if test x$gtk_config_prefix != x ; then
26457 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26458 if test x${GTK_CONFIG+set} != xset ; then
26459 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26460 fi
26461 fi
26462
26463 # Extract the first word of "gtk-config", so it can be a program name with args.
26464 set dummy gtk-config; ac_word=$2
26465 echo "$as_me:$LINENO: checking for $ac_word" >&5
26466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26467 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470 case $GTK_CONFIG in
26471 [\\/]* | ?:[\\/]*)
26472 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26473 ;;
26474 *)
26475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26476 for as_dir in $PATH
26477 do
26478 IFS=$as_save_IFS
26479 test -z "$as_dir" && as_dir=.
26480 for ac_exec_ext in '' $ac_executable_extensions; do
26481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26482 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26484 break 2
26485 fi
26486 done
26487 done
26488
26489 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26490 ;;
26491 esac
26492 fi
26493 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26494
26495 if test -n "$GTK_CONFIG"; then
26496 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26497 echo "${ECHO_T}$GTK_CONFIG" >&6
26498 else
26499 echo "$as_me:$LINENO: result: no" >&5
26500 echo "${ECHO_T}no" >&6
26501 fi
26502
26503 min_gtk_version=1.2.3
26504 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26505 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26506 no_gtk=""
26507 if test "$GTK_CONFIG" = "no" ; then
26508 no_gtk=yes
26509 else
26510 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26511 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26512 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26514 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26516 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26518 if test "x$enable_gtktest" = "xyes" ; then
26519 ac_save_CFLAGS="$CFLAGS"
26520 ac_save_LIBS="$LIBS"
26521 CFLAGS="$CFLAGS $GTK_CFLAGS"
26522 LIBS="$GTK_LIBS $LIBS"
26523 rm -f conf.gtktest
26524 if test "$cross_compiling" = yes; then
26525 echo $ac_n "cross compiling; assumed OK... $ac_c"
26526 else
26527 cat >conftest.$ac_ext <<_ACEOF
26528 /* confdefs.h. */
26529 _ACEOF
26530 cat confdefs.h >>conftest.$ac_ext
26531 cat >>conftest.$ac_ext <<_ACEOF
26532 /* end confdefs.h. */
26533
26534 #include <gtk/gtk.h>
26535 #include <stdio.h>
26536 #include <stdlib.h>
26537
26538 int
26539 main ()
26540 {
26541 int major, minor, micro;
26542 char *tmp_version;
26543
26544 system ("touch conf.gtktest");
26545
26546 /* HP/UX 9 (%@#!) writes to sscanf strings */
26547 tmp_version = g_strdup("$min_gtk_version");
26548 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26549 printf("%s, bad version string\n", "$min_gtk_version");
26550 exit(1);
26551 }
26552
26553 if ((gtk_major_version != $gtk_config_major_version) ||
26554 (gtk_minor_version != $gtk_config_minor_version) ||
26555 (gtk_micro_version != $gtk_config_micro_version))
26556 {
26557 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26558 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26559 gtk_major_version, gtk_minor_version, gtk_micro_version);
26560 printf ("*** was found! If gtk-config was correct, then it is best\n");
26561 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26562 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26563 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26564 printf("*** required on your system.\n");
26565 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26566 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26567 printf("*** before re-running configure\n");
26568 }
26569 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26570 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26571 (gtk_minor_version != GTK_MINOR_VERSION) ||
26572 (gtk_micro_version != GTK_MICRO_VERSION))
26573 {
26574 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26575 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26576 printf("*** library (version %d.%d.%d)\n",
26577 gtk_major_version, gtk_minor_version, gtk_micro_version);
26578 }
26579 #endif /* defined (GTK_MAJOR_VERSION) ... */
26580 else
26581 {
26582 if ((gtk_major_version > major) ||
26583 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26584 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26585 {
26586 return 0;
26587 }
26588 else
26589 {
26590 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26591 gtk_major_version, gtk_minor_version, gtk_micro_version);
26592 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26593 major, minor, micro);
26594 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26595 printf("***\n");
26596 printf("*** If you have already installed a sufficiently new version, this error\n");
26597 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26598 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26599 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26600 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26601 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26602 printf("*** so that the correct libraries are found at run-time))\n");
26603 }
26604 }
26605 return 1;
26606 }
26607
26608 _ACEOF
26609 rm -f conftest$ac_exeext
26610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26611 (eval $ac_link) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26617 ac_status=$?
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; }; then
26620 :
26621 else
26622 echo "$as_me: program exited with status $ac_status" >&5
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26625
26626 ( exit $ac_status )
26627 no_gtk=yes
26628 fi
26629 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26630 fi
26631 CFLAGS="$ac_save_CFLAGS"
26632 LIBS="$ac_save_LIBS"
26633 fi
26634 fi
26635 if test "x$no_gtk" = x ; then
26636 echo "$as_me:$LINENO: result: yes" >&5
26637 echo "${ECHO_T}yes" >&6
26638 wx_cv_lib_gtk=1.2.3
26639 else
26640 echo "$as_me:$LINENO: result: no" >&5
26641 echo "${ECHO_T}no" >&6
26642 if test "$GTK_CONFIG" = "no" ; then
26643 echo "*** The gtk-config script installed by GTK could not be found"
26644 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26645 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26646 echo "*** full path to gtk-config."
26647 else
26648 if test -f conf.gtktest ; then
26649 :
26650 else
26651 echo "*** Could not run GTK test program, checking why..."
26652 CFLAGS="$CFLAGS $GTK_CFLAGS"
26653 LIBS="$LIBS $GTK_LIBS"
26654 cat >conftest.$ac_ext <<_ACEOF
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660
26661 #include <gtk/gtk.h>
26662 #include <stdio.h>
26663
26664 int
26665 main ()
26666 {
26667 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26668 ;
26669 return 0;
26670 }
26671 _ACEOF
26672 rm -f conftest.$ac_objext conftest$ac_exeext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26674 (eval $ac_link) 2>conftest.er1
26675 ac_status=$?
26676 grep -v '^ *+' conftest.er1 >conftest.err
26677 rm -f conftest.er1
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest$ac_exeext'
26688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689 (eval $ac_try) 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 echo "*** The test program compiled, but did not run. This usually means"
26694 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26695 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26698 echo "*** is required on your system"
26699 echo "***"
26700 echo "*** If you have an old version installed, it is best to remove it, although"
26701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26702 echo "***"
26703 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26704 echo "*** came with the system with the command"
26705 echo "***"
26706 echo "*** rpm --erase --nodeps gtk gtk-devel"
26707 else
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.$ac_ext >&5
26710
26711 echo "*** The test program failed to compile or link. See the file config.log for the"
26712 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26713 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26714 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26715 fi
26716 rm -f conftest.err conftest.$ac_objext \
26717 conftest$ac_exeext conftest.$ac_ext
26718 CFLAGS="$ac_save_CFLAGS"
26719 LIBS="$ac_save_LIBS"
26720 fi
26721 fi
26722 GTK_CFLAGS=""
26723 GTK_LIBS=""
26724 :
26725 fi
26726
26727
26728 rm -f conf.gtktest
26729
26730 fi
26731 fi
26732 fi
26733
26734 if test -z "$wx_cv_lib_gtk"; then
26735 wx_cv_lib_gtk=none
26736 else
26737 wx_cv_cflags_gtk=$GTK_CFLAGS
26738 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26739 fi
26740
26741
26742 fi
26743
26744
26745 if test "$gtk_version_cached" = 1; then
26746 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26747 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26748 fi
26749
26750 case "$wx_cv_lib_gtk" in
26751 2.0) WXGTK20=1
26752 TOOLKIT_VERSION=2
26753 ;;
26754 1.2.7) WXGTK127=1
26755 WXGTK12=1
26756 ;;
26757 1.2.3) WXGTK12=1
26758 ;;
26759 *) { { echo "$as_me:$LINENO: error:
26760 The development files for GTK+ were not found. For GTK+ 2, please
26761 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26762 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26763 and that the version is 1.2.3 or above. Also check that the
26764 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26765 --libs' are in the LD_LIBRARY_PATH or equivalent.
26766 " >&5
26767 echo "$as_me: error:
26768 The development files for GTK+ were not found. For GTK+ 2, please
26769 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26770 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26771 and that the version is 1.2.3 or above. Also check that the
26772 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26773 --libs' are in the LD_LIBRARY_PATH or equivalent.
26774 " >&2;}
26775 { (exit 1); exit 1; }; }
26776 ;;
26777 esac
26778
26779 if test "$WXGTK20" = 1; then
26780 save_CFLAGS="$CFLAGS"
26781 save_LIBS="$LIBS"
26782 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
26783 LIBS="$LIBS $wx_cv_libs_gtk"
26784
26785 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26786 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26787 cat >conftest.$ac_ext <<_ACEOF
26788 /* confdefs.h. */
26789 _ACEOF
26790 cat confdefs.h >>conftest.$ac_ext
26791 cat >>conftest.$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26793
26794 #include <gtk/gtk.h>
26795
26796 int
26797 main ()
26798 {
26799
26800 void *f = gtk_icon_size_lookup;
26801
26802 ;
26803 return 0;
26804 }
26805 _ACEOF
26806 rm -f conftest.$ac_objext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>conftest.er1
26809 ac_status=$?
26810 grep -v '^ *+' conftest.er1 >conftest.err
26811 rm -f conftest.er1
26812 cat conftest.err >&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } &&
26815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817 (eval $ac_try) 2>&5
26818 ac_status=$?
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); }; } &&
26821 { ac_try='test -s conftest.$ac_objext'
26822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823 (eval $ac_try) 2>&5
26824 ac_status=$?
26825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826 (exit $ac_status); }; }; then
26827
26828 echo "$as_me:$LINENO: result: no" >&5
26829 echo "${ECHO_T}no" >&6
26830
26831 else
26832 echo "$as_me: failed program was:" >&5
26833 sed 's/^/| /' conftest.$ac_ext >&5
26834
26835
26836 cat >>confdefs.h <<\_ACEOF
26837 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26838 _ACEOF
26839
26840 echo "$as_me:$LINENO: result: yes" >&5
26841 echo "${ECHO_T}yes" >&6
26842
26843 fi
26844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26845
26846 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26847 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26848 cat >conftest.$ac_ext <<_ACEOF
26849 /* confdefs.h. */
26850 _ACEOF
26851 cat confdefs.h >>conftest.$ac_ext
26852 cat >>conftest.$ac_ext <<_ACEOF
26853 /* end confdefs.h. */
26854
26855 #include <gtk/gtk.h>
26856
26857 int
26858 main ()
26859 {
26860
26861 #if !GTK_CHECK_VERSION(2,4,0)
26862 Not GTK+ 2.4
26863 #endif
26864
26865 ;
26866 return 0;
26867 }
26868 _ACEOF
26869 rm -f conftest.$ac_objext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26871 (eval $ac_compile) 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } &&
26878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; } &&
26884 { ac_try='test -s conftest.$ac_objext'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890
26891 cat >>confdefs.h <<\_ACEOF
26892 #define __WXGTK24__ 1
26893 _ACEOF
26894
26895 echo "$as_me:$LINENO: result: yes" >&5
26896 echo "${ECHO_T}yes" >&6
26897
26898 else
26899 echo "$as_me: failed program was:" >&5
26900 sed 's/^/| /' conftest.$ac_ext >&5
26901
26902
26903 echo "$as_me:$LINENO: result: no" >&5
26904 echo "${ECHO_T}no" >&6
26905
26906 fi
26907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26908
26909 CFLAGS="$save_CFLAGS"
26910 LIBS="$save_LIBS"
26911 else
26912 if test "$wxUSE_UNICODE" = "yes"; then
26913 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26914 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26915 wxUSE_UNICODE=no
26916 fi
26917 fi
26918
26919 if test "$USE_DARWIN" != 1; then
26920
26921 for ac_func in poll
26922 do
26923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26924 echo "$as_me:$LINENO: checking for $ac_func" >&5
26925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26926 if eval "test \"\${$as_ac_var+set}\" = set"; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26937 #define $ac_func innocuous_$ac_func
26938
26939 /* System header to define __stub macros and hopefully few prototypes,
26940 which can conflict with char $ac_func (); below.
26941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26942 <limits.h> exists even on freestanding compilers. */
26943
26944 #ifdef __STDC__
26945 # include <limits.h>
26946 #else
26947 # include <assert.h>
26948 #endif
26949
26950 #undef $ac_func
26951
26952 /* Override any gcc2 internal prototype to avoid an error. */
26953 #ifdef __cplusplus
26954 extern "C"
26955 {
26956 #endif
26957 /* We use char because int might match the return type of a gcc2
26958 builtin and then its argument prototype would still apply. */
26959 char $ac_func ();
26960 /* The GNU C library defines this for functions which it implements
26961 to always fail with ENOSYS. Some functions are actually named
26962 something starting with __ and the normal name is an alias. */
26963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26964 choke me
26965 #else
26966 char (*f) () = $ac_func;
26967 #endif
26968 #ifdef __cplusplus
26969 }
26970 #endif
26971
26972 int
26973 main ()
26974 {
26975 return f != $ac_func;
26976 ;
26977 return 0;
26978 }
26979 _ACEOF
26980 rm -f conftest.$ac_objext conftest$ac_exeext
26981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26982 (eval $ac_link) 2>conftest.er1
26983 ac_status=$?
26984 grep -v '^ *+' conftest.er1 >conftest.err
26985 rm -f conftest.er1
26986 cat conftest.err >&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); } &&
26989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26991 (eval $ac_try) 2>&5
26992 ac_status=$?
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); }; } &&
26995 { ac_try='test -s conftest$ac_exeext'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; }; then
27001 eval "$as_ac_var=yes"
27002 else
27003 echo "$as_me: failed program was:" >&5
27004 sed 's/^/| /' conftest.$ac_ext >&5
27005
27006 eval "$as_ac_var=no"
27007 fi
27008 rm -f conftest.err conftest.$ac_objext \
27009 conftest$ac_exeext conftest.$ac_ext
27010 fi
27011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27013 if test `eval echo '${'$as_ac_var'}'` = yes; then
27014 cat >>confdefs.h <<_ACEOF
27015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27016 _ACEOF
27017
27018 fi
27019 done
27020
27021 fi
27022
27023 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27024 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27025
27026 AFMINSTALL=afminstall
27027 TOOLKIT=GTK
27028 GUIDIST=GTK_DIST
27029
27030 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27031 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27032 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 else
27035 ac_check_lib_save_LIBS=$LIBS
27036 LIBS="-lgdk $LIBS"
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043
27044 /* Override any gcc2 internal prototype to avoid an error. */
27045 #ifdef __cplusplus
27046 extern "C"
27047 #endif
27048 /* We use char because int might match the return type of a gcc2
27049 builtin and then its argument prototype would still apply. */
27050 char gdk_im_open ();
27051 int
27052 main ()
27053 {
27054 gdk_im_open ();
27055 ;
27056 return 0;
27057 }
27058 _ACEOF
27059 rm -f conftest.$ac_objext conftest$ac_exeext
27060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27061 (eval $ac_link) 2>conftest.er1
27062 ac_status=$?
27063 grep -v '^ *+' conftest.er1 >conftest.err
27064 rm -f conftest.er1
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27071 ac_status=$?
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; } &&
27074 { ac_try='test -s conftest$ac_exeext'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27077 ac_status=$?
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; }; then
27080 ac_cv_lib_gdk_gdk_im_open=yes
27081 else
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085 ac_cv_lib_gdk_gdk_im_open=no
27086 fi
27087 rm -f conftest.err conftest.$ac_objext \
27088 conftest$ac_exeext conftest.$ac_ext
27089 LIBS=$ac_check_lib_save_LIBS
27090 fi
27091 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27092 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27093 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27094 cat >>confdefs.h <<\_ACEOF
27095 #define HAVE_XIM 1
27096 _ACEOF
27097
27098 fi
27099
27100
27101
27102 if test "$wxUSE_GPE" = "yes"; then
27103 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27104 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27105
27106 ac_find_libraries=
27107 for ac_dir in $SEARCH_LIB;
27108 do
27109 for ac_extension in a so sl dylib dll.a; do
27110 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27111 ac_find_libraries=$ac_dir
27112 break 2
27113 fi
27114 done
27115 done
27116
27117 if test "$ac_find_libraries" != "" ; then
27118
27119 if test "$ac_find_libraries" = "default location"; then
27120 ac_path_to_link=""
27121 else
27122 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27123 result=$?
27124 if test $result = 0; then
27125 ac_path_to_link=""
27126 else
27127 ac_path_to_link=" -L$ac_find_libraries"
27128 fi
27129 fi
27130
27131 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27132 WXGPE=1
27133 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27134 echo "${ECHO_T}found in $ac_find_libraries" >&6
27135 else
27136 echo "$as_me:$LINENO: result: not found" >&5
27137 echo "${ECHO_T}not found" >&6
27138 fi
27139
27140 fi
27141 fi
27142
27143 if test "$wxUSE_MGL" = 1; then
27144 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27145 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27146 if test "x$MGL_ROOT" = x ; then
27147 echo "$as_me:$LINENO: result: not found" >&5
27148 echo "${ECHO_T}not found" >&6
27149 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27150 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27151 { (exit 1); exit 1; }; }
27152 else
27153 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27154 echo "${ECHO_T}$MGL_ROOT" >&6
27155 fi
27156
27157 echo "$as_me:$LINENO: checking for libmgl location" >&5
27158 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27159 case "${host}" in
27160 *-*-linux* )
27161 if test "x$wxUSE_SHARED" = xyes ; then
27162 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27163 else
27164 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27165 fi
27166 ;;
27167 *-pc-msdosdjgpp )
27168 mgl_os_candidates="dos32/dj2"
27169 ;;
27170 *)
27171 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27172 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27173 { (exit 1); exit 1; }; }
27174 esac
27175
27176 mgl_lib_type=""
27177 mgl_os=""
27178
27179 for mgl_os_i in $mgl_os_candidates ; do
27180 if test "x$mgl_os" = x ; then
27181 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27182 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27183 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27184 mgl_lib_type=debug
27185 mgl_os=$mgl_os_i
27186 fi
27187 fi
27188 if test "x$mgl_lib_type" = x ; then
27189 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27190 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27191 mgl_lib_type=release
27192 mgl_os=$mgl_os_i
27193 fi
27194 fi
27195 fi
27196 done
27197
27198 if test "x$mgl_os" = x ; then
27199 echo "$as_me:$LINENO: result: not found" >&5
27200 echo "${ECHO_T}not found" >&6
27201 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27202 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27203 { (exit 1); exit 1; }; }
27204 fi
27205 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27206 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27207
27208 wxUSE_UNIVERSAL="yes"
27209
27210 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27211 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27212
27213 AFMINSTALL=afminstall
27214 TOOLKIT=MGL
27215 GUIDIST=MGL_DIST
27216 fi
27217
27218 if test "$wxUSE_MICROWIN" = 1; then
27219 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27220 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27221 if test "x$MICROWINDOWS" = x ; then
27222 echo "$as_me:$LINENO: result: not found" >&5
27223 echo "${ECHO_T}not found" >&6
27224 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27225 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27226 { (exit 1); exit 1; }; }
27227 else
27228 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27229 echo "${ECHO_T}$MICROWINDOWS" >&6
27230 fi
27231
27232 if test -f $MICROWINDOWS/lib/libmwin.a; then
27233 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27234 echo "${ECHO_T}MicroWindows' libraries found." >&6
27235 else
27236 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27237 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27238 { (exit 1); exit 1; }; }
27239 fi
27240
27241 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27242 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27243
27244 wxUSE_UNIVERSAL="yes"
27245
27246 AFMINSTALL=afminstall
27247 TOOLKIT=MICROWIN
27248 GUIDIST=MICROWIN_DIST
27249
27250 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27251 fi
27252
27253 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27254
27255 if test "x$ac_path_x_has_been_run" != xyes; then
27256 echo "$as_me:$LINENO: checking for X" >&5
27257 echo $ECHO_N "checking for X... $ECHO_C" >&6
27258
27259 ac_path_x_has_been_run=yes
27260
27261 # Check whether --with-x or --without-x was given.
27262 if test "${with_x+set}" = set; then
27263 withval="$with_x"
27264
27265 fi;
27266 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27267 if test "x$with_x" = xno; then
27268 # The user explicitly disabled X.
27269 have_x=disabled
27270 else
27271 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27272 # Both variables are already set.
27273 have_x=yes
27274 else
27275 if test "${ac_cv_have_x+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27277 else
27278 # One or both of the vars are not set, and there is no cached value.
27279 ac_x_includes=no ac_x_libraries=no
27280 rm -fr conftest.dir
27281 if mkdir conftest.dir; then
27282 cd conftest.dir
27283 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27284 cat >Imakefile <<'_ACEOF'
27285 acfindx:
27286 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27287 _ACEOF
27288 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27289 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27290 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27291 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27292 for ac_extension in a so sl; do
27293 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27294 test -f $ac_im_libdir/libX11.$ac_extension; then
27295 ac_im_usrlibdir=$ac_im_libdir; break
27296 fi
27297 done
27298 # Screen out bogus values from the imake configuration. They are
27299 # bogus both because they are the default anyway, and because
27300 # using them would break gcc on systems where it needs fixed includes.
27301 case $ac_im_incroot in
27302 /usr/include) ;;
27303 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27304 esac
27305 case $ac_im_usrlibdir in
27306 /usr/lib | /lib) ;;
27307 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27308 esac
27309 fi
27310 cd ..
27311 rm -fr conftest.dir
27312 fi
27313
27314 # Standard set of common directories for X headers.
27315 # Check X11 before X11Rn because it is often a symlink to the current release.
27316 ac_x_header_dirs='
27317 /usr/X11/include
27318 /usr/X11R6/include
27319 /usr/X11R5/include
27320 /usr/X11R4/include
27321
27322 /usr/include/X11
27323 /usr/include/X11R6
27324 /usr/include/X11R5
27325 /usr/include/X11R4
27326
27327 /usr/local/X11/include
27328 /usr/local/X11R6/include
27329 /usr/local/X11R5/include
27330 /usr/local/X11R4/include
27331
27332 /usr/local/include/X11
27333 /usr/local/include/X11R6
27334 /usr/local/include/X11R5
27335 /usr/local/include/X11R4
27336
27337 /usr/X386/include
27338 /usr/x386/include
27339 /usr/XFree86/include/X11
27340
27341 /usr/include
27342 /usr/local/include
27343 /usr/unsupported/include
27344 /usr/athena/include
27345 /usr/local/x11r5/include
27346 /usr/lpp/Xamples/include
27347
27348 /usr/openwin/include
27349 /usr/openwin/share/include'
27350
27351 if test "$ac_x_includes" = no; then
27352 # Guess where to find include files, by looking for a specified header file.
27353 # First, try using that file with no special directory specified.
27354 cat >conftest.$ac_ext <<_ACEOF
27355 /* confdefs.h. */
27356 _ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 #include <X11/Intrinsic.h>
27361 _ACEOF
27362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27364 ac_status=$?
27365 grep -v '^ *+' conftest.er1 >conftest.err
27366 rm -f conftest.er1
27367 cat conftest.err >&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } >/dev/null; then
27370 if test -s conftest.err; then
27371 ac_cpp_err=$ac_c_preproc_warn_flag
27372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27373 else
27374 ac_cpp_err=
27375 fi
27376 else
27377 ac_cpp_err=yes
27378 fi
27379 if test -z "$ac_cpp_err"; then
27380 # We can compile using X headers with no special include directory.
27381 ac_x_includes=
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 for ac_dir in $ac_x_header_dirs; do
27387 if test -r "$ac_dir/X11/Intrinsic.h"; then
27388 ac_x_includes=$ac_dir
27389 break
27390 fi
27391 done
27392 fi
27393 rm -f conftest.err conftest.$ac_ext
27394 fi # $ac_x_includes = no
27395
27396 if test "$ac_x_libraries" = no; then
27397 # Check for the libraries.
27398 # See if we find them without any special options.
27399 # Don't add to $LIBS permanently.
27400 ac_save_LIBS=$LIBS
27401 LIBS="-lXt $LIBS"
27402 cat >conftest.$ac_ext <<_ACEOF
27403 /* confdefs.h. */
27404 _ACEOF
27405 cat confdefs.h >>conftest.$ac_ext
27406 cat >>conftest.$ac_ext <<_ACEOF
27407 /* end confdefs.h. */
27408 #include <X11/Intrinsic.h>
27409 int
27410 main ()
27411 {
27412 XtMalloc (0)
27413 ;
27414 return 0;
27415 }
27416 _ACEOF
27417 rm -f conftest.$ac_objext conftest$ac_exeext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>conftest.er1
27420 ac_status=$?
27421 grep -v '^ *+' conftest.er1 >conftest.err
27422 rm -f conftest.er1
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } &&
27426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27428 (eval $ac_try) 2>&5
27429 ac_status=$?
27430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27431 (exit $ac_status); }; } &&
27432 { ac_try='test -s conftest$ac_exeext'
27433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27434 (eval $ac_try) 2>&5
27435 ac_status=$?
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); }; }; then
27438 LIBS=$ac_save_LIBS
27439 # We can link X programs with no special library path.
27440 ac_x_libraries=
27441 else
27442 echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27444
27445 LIBS=$ac_save_LIBS
27446 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27447 do
27448 # Don't even attempt the hair of trying to link an X program!
27449 for ac_extension in a so sl; do
27450 if test -r $ac_dir/libXt.$ac_extension; then
27451 ac_x_libraries=$ac_dir
27452 break 2
27453 fi
27454 done
27455 done
27456 fi
27457 rm -f conftest.err conftest.$ac_objext \
27458 conftest$ac_exeext conftest.$ac_ext
27459 fi # $ac_x_libraries = no
27460
27461 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27462 # Didn't find X anywhere. Cache the known absence of X.
27463 ac_cv_have_x="have_x=no"
27464 else
27465 # Record where we found X for the cache.
27466 ac_cv_have_x="have_x=yes \
27467 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27468 fi
27469 fi
27470
27471 fi
27472 eval "$ac_cv_have_x"
27473 fi # $with_x != no
27474
27475 if test "$have_x" != yes; then
27476 echo "$as_me:$LINENO: result: $have_x" >&5
27477 echo "${ECHO_T}$have_x" >&6
27478 no_x=yes
27479 else
27480 # If each of the values was on the command line, it overrides each guess.
27481 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27482 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27483 # Update the cache value to reflect the command line values.
27484 ac_cv_have_x="have_x=yes \
27485 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27486 # It might be that x_includes is empty (headers are found in the
27487 # standard search path. Then output the corresponding message
27488 ac_out_x_includes=$x_includes
27489 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
27490 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27491 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27492 fi
27493
27494 fi
27495 if test "$no_x" = yes; then
27496 # Not all programs may use this symbol, but it does not hurt to define it.
27497
27498 cat >>confdefs.h <<\_ACEOF
27499 #define X_DISPLAY_MISSING 1
27500 _ACEOF
27501
27502 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27503 else
27504 if test -n "$x_includes"; then
27505 X_CFLAGS="$X_CFLAGS -I$x_includes"
27506 fi
27507
27508 # It would also be nice to do this for all -L options, not just this one.
27509 if test -n "$x_libraries"; then
27510 X_LIBS="$X_LIBS -L$x_libraries"
27511 # For Solaris; some versions of Sun CC require a space after -R and
27512 # others require no space. Words are not sufficient . . . .
27513 case `(uname -sr) 2>/dev/null` in
27514 "SunOS 5"*)
27515 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27516 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27517 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27518 cat >conftest.$ac_ext <<_ACEOF
27519 /* confdefs.h. */
27520 _ACEOF
27521 cat confdefs.h >>conftest.$ac_ext
27522 cat >>conftest.$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27524
27525 int
27526 main ()
27527 {
27528
27529 ;
27530 return 0;
27531 }
27532 _ACEOF
27533 rm -f conftest.$ac_objext conftest$ac_exeext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27535 (eval $ac_link) 2>conftest.er1
27536 ac_status=$?
27537 grep -v '^ *+' conftest.er1 >conftest.err
27538 rm -f conftest.er1
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } &&
27542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try='test -s conftest$ac_exeext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27551 ac_status=$?
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 ac_R_nospace=yes
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 ac_R_nospace=no
27560 fi
27561 rm -f conftest.err conftest.$ac_objext \
27562 conftest$ac_exeext conftest.$ac_ext
27563 if test $ac_R_nospace = yes; then
27564 echo "$as_me:$LINENO: result: no" >&5
27565 echo "${ECHO_T}no" >&6
27566 X_LIBS="$X_LIBS -R$x_libraries"
27567 else
27568 LIBS="$ac_xsave_LIBS -R $x_libraries"
27569 cat >conftest.$ac_ext <<_ACEOF
27570 /* confdefs.h. */
27571 _ACEOF
27572 cat confdefs.h >>conftest.$ac_ext
27573 cat >>conftest.$ac_ext <<_ACEOF
27574 /* end confdefs.h. */
27575
27576 int
27577 main ()
27578 {
27579
27580 ;
27581 return 0;
27582 }
27583 _ACEOF
27584 rm -f conftest.$ac_objext conftest$ac_exeext
27585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27586 (eval $ac_link) 2>conftest.er1
27587 ac_status=$?
27588 grep -v '^ *+' conftest.er1 >conftest.err
27589 rm -f conftest.er1
27590 cat conftest.err >&5
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); } &&
27593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27596 ac_status=$?
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27602 ac_status=$?
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 ac_R_space=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 ac_R_space=no
27611 fi
27612 rm -f conftest.err conftest.$ac_objext \
27613 conftest$ac_exeext conftest.$ac_ext
27614 if test $ac_R_space = yes; then
27615 echo "$as_me:$LINENO: result: yes" >&5
27616 echo "${ECHO_T}yes" >&6
27617 X_LIBS="$X_LIBS -R $x_libraries"
27618 else
27619 echo "$as_me:$LINENO: result: neither works" >&5
27620 echo "${ECHO_T}neither works" >&6
27621 fi
27622 fi
27623 LIBS=$ac_xsave_LIBS
27624 esac
27625 fi
27626
27627 # Check for system-dependent libraries X programs must link with.
27628 # Do this before checking for the system-independent R6 libraries
27629 # (-lICE), since we may need -lsocket or whatever for X linking.
27630
27631 if test "$ISC" = yes; then
27632 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27633 else
27634 # Martyn Johnson says this is needed for Ultrix, if the X
27635 # libraries were built with DECnet support. And Karl Berry says
27636 # the Alpha needs dnet_stub (dnet does not exist).
27637 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27638 cat >conftest.$ac_ext <<_ACEOF
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644
27645 /* Override any gcc2 internal prototype to avoid an error. */
27646 #ifdef __cplusplus
27647 extern "C"
27648 #endif
27649 /* We use char because int might match the return type of a gcc2
27650 builtin and then its argument prototype would still apply. */
27651 char XOpenDisplay ();
27652 int
27653 main ()
27654 {
27655 XOpenDisplay ();
27656 ;
27657 return 0;
27658 }
27659 _ACEOF
27660 rm -f conftest.$ac_objext conftest$ac_exeext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27662 (eval $ac_link) 2>conftest.er1
27663 ac_status=$?
27664 grep -v '^ *+' conftest.er1 >conftest.err
27665 rm -f conftest.er1
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27672 ac_status=$?
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; } &&
27675 { ac_try='test -s conftest$ac_exeext'
27676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677 (eval $ac_try) 2>&5
27678 ac_status=$?
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); }; }; then
27681 :
27682 else
27683 echo "$as_me: failed program was:" >&5
27684 sed 's/^/| /' conftest.$ac_ext >&5
27685
27686 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27687 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27688 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 else
27691 ac_check_lib_save_LIBS=$LIBS
27692 LIBS="-ldnet $LIBS"
27693 cat >conftest.$ac_ext <<_ACEOF
27694 /* confdefs.h. */
27695 _ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699
27700 /* Override any gcc2 internal prototype to avoid an error. */
27701 #ifdef __cplusplus
27702 extern "C"
27703 #endif
27704 /* We use char because int might match the return type of a gcc2
27705 builtin and then its argument prototype would still apply. */
27706 char dnet_ntoa ();
27707 int
27708 main ()
27709 {
27710 dnet_ntoa ();
27711 ;
27712 return 0;
27713 }
27714 _ACEOF
27715 rm -f conftest.$ac_objext conftest$ac_exeext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27717 (eval $ac_link) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; } &&
27730 { ac_try='test -s conftest$ac_exeext'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27733 ac_status=$?
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_cv_lib_dnet_dnet_ntoa=yes
27737 else
27738 echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.$ac_ext >&5
27740
27741 ac_cv_lib_dnet_dnet_ntoa=no
27742 fi
27743 rm -f conftest.err conftest.$ac_objext \
27744 conftest$ac_exeext conftest.$ac_ext
27745 LIBS=$ac_check_lib_save_LIBS
27746 fi
27747 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27748 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27749 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27750 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27751 fi
27752
27753 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27754 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27755 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27756 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27757 echo $ECHO_N "(cached) $ECHO_C" >&6
27758 else
27759 ac_check_lib_save_LIBS=$LIBS
27760 LIBS="-ldnet_stub $LIBS"
27761 cat >conftest.$ac_ext <<_ACEOF
27762 /* confdefs.h. */
27763 _ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767
27768 /* Override any gcc2 internal prototype to avoid an error. */
27769 #ifdef __cplusplus
27770 extern "C"
27771 #endif
27772 /* We use char because int might match the return type of a gcc2
27773 builtin and then its argument prototype would still apply. */
27774 char dnet_ntoa ();
27775 int
27776 main ()
27777 {
27778 dnet_ntoa ();
27779 ;
27780 return 0;
27781 }
27782 _ACEOF
27783 rm -f conftest.$ac_objext conftest$ac_exeext
27784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27785 (eval $ac_link) 2>conftest.er1
27786 ac_status=$?
27787 grep -v '^ *+' conftest.er1 >conftest.err
27788 rm -f conftest.er1
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } &&
27792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27795 ac_status=$?
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; } &&
27798 { ac_try='test -s conftest$ac_exeext'
27799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27800 (eval $ac_try) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); }; }; then
27804 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27805 else
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27808
27809 ac_cv_lib_dnet_stub_dnet_ntoa=no
27810 fi
27811 rm -f conftest.err conftest.$ac_objext \
27812 conftest$ac_exeext conftest.$ac_ext
27813 LIBS=$ac_check_lib_save_LIBS
27814 fi
27815 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27816 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27817 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27818 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27819 fi
27820
27821 fi
27822 fi
27823 rm -f conftest.err conftest.$ac_objext \
27824 conftest$ac_exeext conftest.$ac_ext
27825 LIBS="$ac_xsave_LIBS"
27826
27827 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27828 # to get the SysV transport functions.
27829 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27830 # needs -lnsl.
27831 # The nsl library prevents programs from opening the X display
27832 # on Irix 5.2, according to T.E. Dickey.
27833 # The functions gethostbyname, getservbyname, and inet_addr are
27834 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27835 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27836 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27837 if test "${ac_cv_func_gethostbyname+set}" = set; then
27838 echo $ECHO_N "(cached) $ECHO_C" >&6
27839 else
27840 cat >conftest.$ac_ext <<_ACEOF
27841 /* confdefs.h. */
27842 _ACEOF
27843 cat confdefs.h >>conftest.$ac_ext
27844 cat >>conftest.$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27846 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27848 #define gethostbyname innocuous_gethostbyname
27849
27850 /* System header to define __stub macros and hopefully few prototypes,
27851 which can conflict with char gethostbyname (); below.
27852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27853 <limits.h> exists even on freestanding compilers. */
27854
27855 #ifdef __STDC__
27856 # include <limits.h>
27857 #else
27858 # include <assert.h>
27859 #endif
27860
27861 #undef gethostbyname
27862
27863 /* Override any gcc2 internal prototype to avoid an error. */
27864 #ifdef __cplusplus
27865 extern "C"
27866 {
27867 #endif
27868 /* We use char because int might match the return type of a gcc2
27869 builtin and then its argument prototype would still apply. */
27870 char gethostbyname ();
27871 /* The GNU C library defines this for functions which it implements
27872 to always fail with ENOSYS. Some functions are actually named
27873 something starting with __ and the normal name is an alias. */
27874 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27875 choke me
27876 #else
27877 char (*f) () = gethostbyname;
27878 #endif
27879 #ifdef __cplusplus
27880 }
27881 #endif
27882
27883 int
27884 main ()
27885 {
27886 return f != gethostbyname;
27887 ;
27888 return 0;
27889 }
27890 _ACEOF
27891 rm -f conftest.$ac_objext conftest$ac_exeext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27893 (eval $ac_link) 2>conftest.er1
27894 ac_status=$?
27895 grep -v '^ *+' conftest.er1 >conftest.err
27896 rm -f conftest.er1
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; } &&
27906 { ac_try='test -s conftest$ac_exeext'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27909 ac_status=$?
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; }; then
27912 ac_cv_func_gethostbyname=yes
27913 else
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27916
27917 ac_cv_func_gethostbyname=no
27918 fi
27919 rm -f conftest.err conftest.$ac_objext \
27920 conftest$ac_exeext conftest.$ac_ext
27921 fi
27922 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27923 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27924
27925 if test $ac_cv_func_gethostbyname = no; then
27926 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27927 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27928 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27930 else
27931 ac_check_lib_save_LIBS=$LIBS
27932 LIBS="-lnsl $LIBS"
27933 cat >conftest.$ac_ext <<_ACEOF
27934 /* confdefs.h. */
27935 _ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939
27940 /* Override any gcc2 internal prototype to avoid an error. */
27941 #ifdef __cplusplus
27942 extern "C"
27943 #endif
27944 /* We use char because int might match the return type of a gcc2
27945 builtin and then its argument prototype would still apply. */
27946 char gethostbyname ();
27947 int
27948 main ()
27949 {
27950 gethostbyname ();
27951 ;
27952 return 0;
27953 }
27954 _ACEOF
27955 rm -f conftest.$ac_objext conftest$ac_exeext
27956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27957 (eval $ac_link) 2>conftest.er1
27958 ac_status=$?
27959 grep -v '^ *+' conftest.er1 >conftest.err
27960 rm -f conftest.er1
27961 cat conftest.err >&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; } &&
27970 { ac_try='test -s conftest$ac_exeext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27973 ac_status=$?
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27976 ac_cv_lib_nsl_gethostbyname=yes
27977 else
27978 echo "$as_me: failed program was:" >&5
27979 sed 's/^/| /' conftest.$ac_ext >&5
27980
27981 ac_cv_lib_nsl_gethostbyname=no
27982 fi
27983 rm -f conftest.err conftest.$ac_objext \
27984 conftest$ac_exeext conftest.$ac_ext
27985 LIBS=$ac_check_lib_save_LIBS
27986 fi
27987 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27988 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27989 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27990 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27991 fi
27992
27993 if test $ac_cv_lib_nsl_gethostbyname = no; then
27994 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27995 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27996 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999 ac_check_lib_save_LIBS=$LIBS
28000 LIBS="-lbsd $LIBS"
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 /* Override any gcc2 internal prototype to avoid an error. */
28009 #ifdef __cplusplus
28010 extern "C"
28011 #endif
28012 /* We use char because int might match the return type of a gcc2
28013 builtin and then its argument prototype would still apply. */
28014 char gethostbyname ();
28015 int
28016 main ()
28017 {
28018 gethostbyname ();
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext conftest$ac_exeext
28024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28025 (eval $ac_link) 2>conftest.er1
28026 ac_status=$?
28027 grep -v '^ *+' conftest.er1 >conftest.err
28028 rm -f conftest.er1
28029 cat conftest.err >&5
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); } &&
28032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28034 (eval $ac_try) 2>&5
28035 ac_status=$?
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); }; } &&
28038 { ac_try='test -s conftest$ac_exeext'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28041 ac_status=$?
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; }; then
28044 ac_cv_lib_bsd_gethostbyname=yes
28045 else
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28048
28049 ac_cv_lib_bsd_gethostbyname=no
28050 fi
28051 rm -f conftest.err conftest.$ac_objext \
28052 conftest$ac_exeext conftest.$ac_ext
28053 LIBS=$ac_check_lib_save_LIBS
28054 fi
28055 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28056 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28057 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28058 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28059 fi
28060
28061 fi
28062 fi
28063
28064 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28065 # socket/setsockopt and other routines are undefined under SCO ODT
28066 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28067 # on later versions), says Simon Leinen: it contains gethostby*
28068 # variants that don't use the name server (or something). -lsocket
28069 # must be given before -lnsl if both are needed. We assume that
28070 # if connect needs -lnsl, so does gethostbyname.
28071 echo "$as_me:$LINENO: checking for connect" >&5
28072 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28073 if test "${ac_cv_func_connect+set}" = set; then
28074 echo $ECHO_N "(cached) $ECHO_C" >&6
28075 else
28076 cat >conftest.$ac_ext <<_ACEOF
28077 /* confdefs.h. */
28078 _ACEOF
28079 cat confdefs.h >>conftest.$ac_ext
28080 cat >>conftest.$ac_ext <<_ACEOF
28081 /* end confdefs.h. */
28082 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28084 #define connect innocuous_connect
28085
28086 /* System header to define __stub macros and hopefully few prototypes,
28087 which can conflict with char connect (); below.
28088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28089 <limits.h> exists even on freestanding compilers. */
28090
28091 #ifdef __STDC__
28092 # include <limits.h>
28093 #else
28094 # include <assert.h>
28095 #endif
28096
28097 #undef connect
28098
28099 /* Override any gcc2 internal prototype to avoid an error. */
28100 #ifdef __cplusplus
28101 extern "C"
28102 {
28103 #endif
28104 /* We use char because int might match the return type of a gcc2
28105 builtin and then its argument prototype would still apply. */
28106 char connect ();
28107 /* The GNU C library defines this for functions which it implements
28108 to always fail with ENOSYS. Some functions are actually named
28109 something starting with __ and the normal name is an alias. */
28110 #if defined (__stub_connect) || defined (__stub___connect)
28111 choke me
28112 #else
28113 char (*f) () = connect;
28114 #endif
28115 #ifdef __cplusplus
28116 }
28117 #endif
28118
28119 int
28120 main ()
28121 {
28122 return f != connect;
28123 ;
28124 return 0;
28125 }
28126 _ACEOF
28127 rm -f conftest.$ac_objext conftest$ac_exeext
28128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28129 (eval $ac_link) 2>conftest.er1
28130 ac_status=$?
28131 grep -v '^ *+' conftest.er1 >conftest.err
28132 rm -f conftest.er1
28133 cat conftest.err >&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } &&
28136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try='test -s conftest$ac_exeext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 ac_cv_func_connect=yes
28149 else
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28152
28153 ac_cv_func_connect=no
28154 fi
28155 rm -f conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28157 fi
28158 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28159 echo "${ECHO_T}$ac_cv_func_connect" >&6
28160
28161 if test $ac_cv_func_connect = no; then
28162 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28163 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28164 if test "${ac_cv_lib_socket_connect+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 else
28167 ac_check_lib_save_LIBS=$LIBS
28168 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28169 cat >conftest.$ac_ext <<_ACEOF
28170 /* confdefs.h. */
28171 _ACEOF
28172 cat confdefs.h >>conftest.$ac_ext
28173 cat >>conftest.$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28175
28176 /* Override any gcc2 internal prototype to avoid an error. */
28177 #ifdef __cplusplus
28178 extern "C"
28179 #endif
28180 /* We use char because int might match the return type of a gcc2
28181 builtin and then its argument prototype would still apply. */
28182 char connect ();
28183 int
28184 main ()
28185 {
28186 connect ();
28187 ;
28188 return 0;
28189 }
28190 _ACEOF
28191 rm -f conftest.$ac_objext conftest$ac_exeext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28193 (eval $ac_link) 2>conftest.er1
28194 ac_status=$?
28195 grep -v '^ *+' conftest.er1 >conftest.err
28196 rm -f conftest.er1
28197 cat conftest.err >&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } &&
28200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; } &&
28206 { ac_try='test -s conftest$ac_exeext'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28209 ac_status=$?
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 ac_cv_lib_socket_connect=yes
28213 else
28214 echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28216
28217 ac_cv_lib_socket_connect=no
28218 fi
28219 rm -f conftest.err conftest.$ac_objext \
28220 conftest$ac_exeext conftest.$ac_ext
28221 LIBS=$ac_check_lib_save_LIBS
28222 fi
28223 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28224 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28225 if test $ac_cv_lib_socket_connect = yes; then
28226 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28227 fi
28228
28229 fi
28230
28231 # Guillermo Gomez says -lposix is necessary on A/UX.
28232 echo "$as_me:$LINENO: checking for remove" >&5
28233 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28234 if test "${ac_cv_func_remove+set}" = set; then
28235 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 else
28237 cat >conftest.$ac_ext <<_ACEOF
28238 /* confdefs.h. */
28239 _ACEOF
28240 cat confdefs.h >>conftest.$ac_ext
28241 cat >>conftest.$ac_ext <<_ACEOF
28242 /* end confdefs.h. */
28243 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28245 #define remove innocuous_remove
28246
28247 /* System header to define __stub macros and hopefully few prototypes,
28248 which can conflict with char remove (); below.
28249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28250 <limits.h> exists even on freestanding compilers. */
28251
28252 #ifdef __STDC__
28253 # include <limits.h>
28254 #else
28255 # include <assert.h>
28256 #endif
28257
28258 #undef remove
28259
28260 /* Override any gcc2 internal prototype to avoid an error. */
28261 #ifdef __cplusplus
28262 extern "C"
28263 {
28264 #endif
28265 /* We use char because int might match the return type of a gcc2
28266 builtin and then its argument prototype would still apply. */
28267 char remove ();
28268 /* The GNU C library defines this for functions which it implements
28269 to always fail with ENOSYS. Some functions are actually named
28270 something starting with __ and the normal name is an alias. */
28271 #if defined (__stub_remove) || defined (__stub___remove)
28272 choke me
28273 #else
28274 char (*f) () = remove;
28275 #endif
28276 #ifdef __cplusplus
28277 }
28278 #endif
28279
28280 int
28281 main ()
28282 {
28283 return f != remove;
28284 ;
28285 return 0;
28286 }
28287 _ACEOF
28288 rm -f conftest.$ac_objext conftest$ac_exeext
28289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28290 (eval $ac_link) 2>conftest.er1
28291 ac_status=$?
28292 grep -v '^ *+' conftest.er1 >conftest.err
28293 rm -f conftest.er1
28294 cat conftest.err >&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } &&
28297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 (eval $ac_try) 2>&5
28300 ac_status=$?
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); }; } &&
28303 { ac_try='test -s conftest$ac_exeext'
28304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305 (eval $ac_try) 2>&5
28306 ac_status=$?
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; }; then
28309 ac_cv_func_remove=yes
28310 else
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ac_cv_func_remove=no
28315 fi
28316 rm -f conftest.err conftest.$ac_objext \
28317 conftest$ac_exeext conftest.$ac_ext
28318 fi
28319 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28320 echo "${ECHO_T}$ac_cv_func_remove" >&6
28321
28322 if test $ac_cv_func_remove = no; then
28323 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28324 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28325 if test "${ac_cv_lib_posix_remove+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328 ac_check_lib_save_LIBS=$LIBS
28329 LIBS="-lposix $LIBS"
28330 cat >conftest.$ac_ext <<_ACEOF
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336
28337 /* Override any gcc2 internal prototype to avoid an error. */
28338 #ifdef __cplusplus
28339 extern "C"
28340 #endif
28341 /* We use char because int might match the return type of a gcc2
28342 builtin and then its argument prototype would still apply. */
28343 char remove ();
28344 int
28345 main ()
28346 {
28347 remove ();
28348 ;
28349 return 0;
28350 }
28351 _ACEOF
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28354 (eval $ac_link) 2>conftest.er1
28355 ac_status=$?
28356 grep -v '^ *+' conftest.er1 >conftest.err
28357 rm -f conftest.er1
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } &&
28361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28364 ac_status=$?
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; } &&
28367 { ac_try='test -s conftest$ac_exeext'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28370 ac_status=$?
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; }; then
28373 ac_cv_lib_posix_remove=yes
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378 ac_cv_lib_posix_remove=no
28379 fi
28380 rm -f conftest.err conftest.$ac_objext \
28381 conftest$ac_exeext conftest.$ac_ext
28382 LIBS=$ac_check_lib_save_LIBS
28383 fi
28384 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28385 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28386 if test $ac_cv_lib_posix_remove = yes; then
28387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28388 fi
28389
28390 fi
28391
28392 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28393 echo "$as_me:$LINENO: checking for shmat" >&5
28394 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28395 if test "${ac_cv_func_shmat+set}" = set; then
28396 echo $ECHO_N "(cached) $ECHO_C" >&6
28397 else
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 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28406 #define shmat innocuous_shmat
28407
28408 /* System header to define __stub macros and hopefully few prototypes,
28409 which can conflict with char shmat (); below.
28410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28411 <limits.h> exists even on freestanding compilers. */
28412
28413 #ifdef __STDC__
28414 # include <limits.h>
28415 #else
28416 # include <assert.h>
28417 #endif
28418
28419 #undef shmat
28420
28421 /* Override any gcc2 internal prototype to avoid an error. */
28422 #ifdef __cplusplus
28423 extern "C"
28424 {
28425 #endif
28426 /* We use char because int might match the return type of a gcc2
28427 builtin and then its argument prototype would still apply. */
28428 char shmat ();
28429 /* The GNU C library defines this for functions which it implements
28430 to always fail with ENOSYS. Some functions are actually named
28431 something starting with __ and the normal name is an alias. */
28432 #if defined (__stub_shmat) || defined (__stub___shmat)
28433 choke me
28434 #else
28435 char (*f) () = shmat;
28436 #endif
28437 #ifdef __cplusplus
28438 }
28439 #endif
28440
28441 int
28442 main ()
28443 {
28444 return f != shmat;
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28451 (eval $ac_link) 2>conftest.er1
28452 ac_status=$?
28453 grep -v '^ *+' conftest.er1 >conftest.err
28454 rm -f conftest.er1
28455 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } &&
28458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28461 ac_status=$?
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; } &&
28464 { ac_try='test -s conftest$ac_exeext'
28465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28466 (eval $ac_try) 2>&5
28467 ac_status=$?
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); }; }; then
28470 ac_cv_func_shmat=yes
28471 else
28472 echo "$as_me: failed program was:" >&5
28473 sed 's/^/| /' conftest.$ac_ext >&5
28474
28475 ac_cv_func_shmat=no
28476 fi
28477 rm -f conftest.err conftest.$ac_objext \
28478 conftest$ac_exeext conftest.$ac_ext
28479 fi
28480 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28481 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28482
28483 if test $ac_cv_func_shmat = no; then
28484 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28485 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28486 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28487 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 else
28489 ac_check_lib_save_LIBS=$LIBS
28490 LIBS="-lipc $LIBS"
28491 cat >conftest.$ac_ext <<_ACEOF
28492 /* confdefs.h. */
28493 _ACEOF
28494 cat confdefs.h >>conftest.$ac_ext
28495 cat >>conftest.$ac_ext <<_ACEOF
28496 /* end confdefs.h. */
28497
28498 /* Override any gcc2 internal prototype to avoid an error. */
28499 #ifdef __cplusplus
28500 extern "C"
28501 #endif
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28504 char shmat ();
28505 int
28506 main ()
28507 {
28508 shmat ();
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext conftest$ac_exeext
28514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28515 (eval $ac_link) 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } &&
28522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; } &&
28528 { ac_try='test -s conftest$ac_exeext'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; }; then
28534 ac_cv_lib_ipc_shmat=yes
28535 else
28536 echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 ac_cv_lib_ipc_shmat=no
28540 fi
28541 rm -f conftest.err conftest.$ac_objext \
28542 conftest$ac_exeext conftest.$ac_ext
28543 LIBS=$ac_check_lib_save_LIBS
28544 fi
28545 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28546 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28547 if test $ac_cv_lib_ipc_shmat = yes; then
28548 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28549 fi
28550
28551 fi
28552 fi
28553
28554 # Check for libraries that X11R6 Xt/Xaw programs need.
28555 ac_save_LDFLAGS=$LDFLAGS
28556 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28557 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28558 # check for ICE first), but we must link in the order -lSM -lICE or
28559 # we get undefined symbols. So assume we have SM if we have ICE.
28560 # These have to be linked with before -lX11, unlike the other
28561 # libraries we check for below, so use a different variable.
28562 # John Interrante, Karl Berry
28563 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28564 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28565 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28567 else
28568 ac_check_lib_save_LIBS=$LIBS
28569 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28570 cat >conftest.$ac_ext <<_ACEOF
28571 /* confdefs.h. */
28572 _ACEOF
28573 cat confdefs.h >>conftest.$ac_ext
28574 cat >>conftest.$ac_ext <<_ACEOF
28575 /* end confdefs.h. */
28576
28577 /* Override any gcc2 internal prototype to avoid an error. */
28578 #ifdef __cplusplus
28579 extern "C"
28580 #endif
28581 /* We use char because int might match the return type of a gcc2
28582 builtin and then its argument prototype would still apply. */
28583 char IceConnectionNumber ();
28584 int
28585 main ()
28586 {
28587 IceConnectionNumber ();
28588 ;
28589 return 0;
28590 }
28591 _ACEOF
28592 rm -f conftest.$ac_objext conftest$ac_exeext
28593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28594 (eval $ac_link) 2>conftest.er1
28595 ac_status=$?
28596 grep -v '^ *+' conftest.er1 >conftest.err
28597 rm -f conftest.er1
28598 cat conftest.err >&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); } &&
28601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603 (eval $ac_try) 2>&5
28604 ac_status=$?
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); }; } &&
28607 { ac_try='test -s conftest$ac_exeext'
28608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28609 (eval $ac_try) 2>&5
28610 ac_status=$?
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); }; }; then
28613 ac_cv_lib_ICE_IceConnectionNumber=yes
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28617
28618 ac_cv_lib_ICE_IceConnectionNumber=no
28619 fi
28620 rm -f conftest.err conftest.$ac_objext \
28621 conftest$ac_exeext conftest.$ac_ext
28622 LIBS=$ac_check_lib_save_LIBS
28623 fi
28624 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28625 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28626 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28627 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28628 fi
28629
28630 LDFLAGS=$ac_save_LDFLAGS
28631
28632 fi
28633
28634
28635 if test "$no_x" = "yes"; then
28636 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28637 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28638 { (exit 1); exit 1; }; }
28639 fi
28640
28641 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28642 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
28643 AFMINSTALL=afminstall
28644 COMPILED_X_PROGRAM=0
28645
28646 fi
28647
28648 if test "$wxUSE_X11" = 1; then
28649 if test "$wxUSE_NANOX" = "yes"; then
28650 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28651 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28652 if test "x$MICROWIN" = x ; then
28653 echo "$as_me:$LINENO: result: not found" >&5
28654 echo "${ECHO_T}not found" >&6
28655 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28656 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28657 { (exit 1); exit 1; }; }
28658 else
28659 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28660 echo "${ECHO_T}$MICROWIN" >&6
28661 cat >>confdefs.h <<\_ACEOF
28662 #define wxUSE_NANOX 1
28663 _ACEOF
28664
28665 fi
28666 fi
28667
28668 if test "$wxUSE_UNICODE" = "yes"; then
28669
28670 succeeded=no
28671
28672 if test -z "$PKG_CONFIG"; then
28673 # Extract the first word of "pkg-config", so it can be a program name with args.
28674 set dummy pkg-config; ac_word=$2
28675 echo "$as_me:$LINENO: checking for $ac_word" >&5
28676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28677 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28678 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 else
28680 case $PKG_CONFIG in
28681 [\\/]* | ?:[\\/]*)
28682 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28683 ;;
28684 *)
28685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28686 for as_dir in $PATH
28687 do
28688 IFS=$as_save_IFS
28689 test -z "$as_dir" && as_dir=.
28690 for ac_exec_ext in '' $ac_executable_extensions; do
28691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28692 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28694 break 2
28695 fi
28696 done
28697 done
28698
28699 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28700 ;;
28701 esac
28702 fi
28703 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28704
28705 if test -n "$PKG_CONFIG"; then
28706 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28707 echo "${ECHO_T}$PKG_CONFIG" >&6
28708 else
28709 echo "$as_me:$LINENO: result: no" >&5
28710 echo "${ECHO_T}no" >&6
28711 fi
28712
28713 fi
28714
28715 if test "$PKG_CONFIG" = "no" ; then
28716 echo "*** The pkg-config script could not be found. Make sure it is"
28717 echo "*** in your path, or set the PKG_CONFIG environment variable"
28718 echo "*** to the full path to pkg-config."
28719 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28720 else
28721 PKG_CONFIG_MIN_VERSION=0.9.0
28722 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28723 echo "$as_me:$LINENO: checking for pangox" >&5
28724 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28725
28726 if $PKG_CONFIG --exists "pangox" ; then
28727 echo "$as_me:$LINENO: result: yes" >&5
28728 echo "${ECHO_T}yes" >&6
28729 succeeded=yes
28730
28731 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28732 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28733 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
28734 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28735 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28736
28737 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28738 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28739 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
28740 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28741 echo "${ECHO_T}$PANGOX_LIBS" >&6
28742 else
28743 PANGOX_CFLAGS=""
28744 PANGOX_LIBS=""
28745 ## If we have a custom action on failure, don't print errors, but
28746 ## do set a variable so people can do so.
28747 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28748
28749 fi
28750
28751
28752
28753 else
28754 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28755 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28756 fi
28757 fi
28758
28759 if test $succeeded = yes; then
28760
28761 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
28762 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
28763
28764 else
28765
28766 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28767 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28768 { (exit 1); exit 1; }; }
28769
28770
28771 fi
28772
28773
28774 succeeded=no
28775
28776 if test -z "$PKG_CONFIG"; then
28777 # Extract the first word of "pkg-config", so it can be a program name with args.
28778 set dummy pkg-config; ac_word=$2
28779 echo "$as_me:$LINENO: checking for $ac_word" >&5
28780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28781 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 case $PKG_CONFIG in
28785 [\\/]* | ?:[\\/]*)
28786 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28787 ;;
28788 *)
28789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28790 for as_dir in $PATH
28791 do
28792 IFS=$as_save_IFS
28793 test -z "$as_dir" && as_dir=.
28794 for ac_exec_ext in '' $ac_executable_extensions; do
28795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28796 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28798 break 2
28799 fi
28800 done
28801 done
28802
28803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28804 ;;
28805 esac
28806 fi
28807 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28808
28809 if test -n "$PKG_CONFIG"; then
28810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28811 echo "${ECHO_T}$PKG_CONFIG" >&6
28812 else
28813 echo "$as_me:$LINENO: result: no" >&5
28814 echo "${ECHO_T}no" >&6
28815 fi
28816
28817 fi
28818
28819 if test "$PKG_CONFIG" = "no" ; then
28820 echo "*** The pkg-config script could not be found. Make sure it is"
28821 echo "*** in your path, or set the PKG_CONFIG environment variable"
28822 echo "*** to the full path to pkg-config."
28823 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28824 else
28825 PKG_CONFIG_MIN_VERSION=0.9.0
28826 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28827 echo "$as_me:$LINENO: checking for pangoft2" >&5
28828 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28829
28830 if $PKG_CONFIG --exists "pangoft2" ; then
28831 echo "$as_me:$LINENO: result: yes" >&5
28832 echo "${ECHO_T}yes" >&6
28833 succeeded=yes
28834
28835 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28836 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28837 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
28838 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28839 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28840
28841 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28842 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28843 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
28844 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28845 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28846 else
28847 PANGOFT2_CFLAGS=""
28848 PANGOFT2_LIBS=""
28849 ## If we have a custom action on failure, don't print errors, but
28850 ## do set a variable so people can do so.
28851 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28852
28853 fi
28854
28855
28856
28857 else
28858 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28859 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28860 fi
28861 fi
28862
28863 if test $succeeded = yes; then
28864
28865 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
28866 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28867
28868 else
28869
28870 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28871 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28872 wxUSE_PRINTING_ARCHITECTURE="no"
28873
28874
28875 fi
28876
28877
28878 succeeded=no
28879
28880 if test -z "$PKG_CONFIG"; then
28881 # Extract the first word of "pkg-config", so it can be a program name with args.
28882 set dummy pkg-config; ac_word=$2
28883 echo "$as_me:$LINENO: checking for $ac_word" >&5
28884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28885 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 else
28888 case $PKG_CONFIG in
28889 [\\/]* | ?:[\\/]*)
28890 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28891 ;;
28892 *)
28893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28894 for as_dir in $PATH
28895 do
28896 IFS=$as_save_IFS
28897 test -z "$as_dir" && as_dir=.
28898 for ac_exec_ext in '' $ac_executable_extensions; do
28899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28900 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28902 break 2
28903 fi
28904 done
28905 done
28906
28907 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28908 ;;
28909 esac
28910 fi
28911 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28912
28913 if test -n "$PKG_CONFIG"; then
28914 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28915 echo "${ECHO_T}$PKG_CONFIG" >&6
28916 else
28917 echo "$as_me:$LINENO: result: no" >&5
28918 echo "${ECHO_T}no" >&6
28919 fi
28920
28921 fi
28922
28923 if test "$PKG_CONFIG" = "no" ; then
28924 echo "*** The pkg-config script could not be found. Make sure it is"
28925 echo "*** in your path, or set the PKG_CONFIG environment variable"
28926 echo "*** to the full path to pkg-config."
28927 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28928 else
28929 PKG_CONFIG_MIN_VERSION=0.9.0
28930 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28931 echo "$as_me:$LINENO: checking for pangoxft" >&5
28932 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28933
28934 if $PKG_CONFIG --exists "pangoxft" ; then
28935 echo "$as_me:$LINENO: result: yes" >&5
28936 echo "${ECHO_T}yes" >&6
28937 succeeded=yes
28938
28939 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28940 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28941 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28942 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28943 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28944
28945 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28946 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28947 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28948 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28949 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28950 else
28951 PANGOXFT_CFLAGS=""
28952 PANGOXFT_LIBS=""
28953 ## If we have a custom action on failure, don't print errors, but
28954 ## do set a variable so people can do so.
28955 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28956
28957 fi
28958
28959
28960
28961 else
28962 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28963 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28964 fi
28965 fi
28966
28967 if test $succeeded = yes; then
28968
28969 cat >>confdefs.h <<\_ACEOF
28970 #define HAVE_PANGO_XFT 1
28971 _ACEOF
28972
28973 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28974 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28975
28976 else
28977
28978 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28979 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28980
28981
28982 fi
28983
28984 save_CFLAGS="$CFLAGS"
28985 save_LIBS="$LIBS"
28986 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28987 LIBS="$LIBS $PANGOX_LIBS"
28988
28989 for ac_func in pango_font_family_is_monospace
28990 do
28991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28992 echo "$as_me:$LINENO: checking for $ac_func" >&5
28993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28994 if eval "test \"\${$as_ac_var+set}\" = set"; then
28995 echo $ECHO_N "(cached) $ECHO_C" >&6
28996 else
28997 cat >conftest.$ac_ext <<_ACEOF
28998 /* confdefs.h. */
28999 _ACEOF
29000 cat confdefs.h >>conftest.$ac_ext
29001 cat >>conftest.$ac_ext <<_ACEOF
29002 /* end confdefs.h. */
29003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29005 #define $ac_func innocuous_$ac_func
29006
29007 /* System header to define __stub macros and hopefully few prototypes,
29008 which can conflict with char $ac_func (); below.
29009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29010 <limits.h> exists even on freestanding compilers. */
29011
29012 #ifdef __STDC__
29013 # include <limits.h>
29014 #else
29015 # include <assert.h>
29016 #endif
29017
29018 #undef $ac_func
29019
29020 /* Override any gcc2 internal prototype to avoid an error. */
29021 #ifdef __cplusplus
29022 extern "C"
29023 {
29024 #endif
29025 /* We use char because int might match the return type of a gcc2
29026 builtin and then its argument prototype would still apply. */
29027 char $ac_func ();
29028 /* The GNU C library defines this for functions which it implements
29029 to always fail with ENOSYS. Some functions are actually named
29030 something starting with __ and the normal name is an alias. */
29031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29032 choke me
29033 #else
29034 char (*f) () = $ac_func;
29035 #endif
29036 #ifdef __cplusplus
29037 }
29038 #endif
29039
29040 int
29041 main ()
29042 {
29043 return f != $ac_func;
29044 ;
29045 return 0;
29046 }
29047 _ACEOF
29048 rm -f conftest.$ac_objext conftest$ac_exeext
29049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29050 (eval $ac_link) 2>conftest.er1
29051 ac_status=$?
29052 grep -v '^ *+' conftest.er1 >conftest.err
29053 rm -f conftest.er1
29054 cat conftest.err >&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } &&
29057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; } &&
29063 { ac_try='test -s conftest$ac_exeext'
29064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065 (eval $ac_try) 2>&5
29066 ac_status=$?
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); }; }; then
29069 eval "$as_ac_var=yes"
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 eval "$as_ac_var=no"
29075 fi
29076 rm -f conftest.err conftest.$ac_objext \
29077 conftest$ac_exeext conftest.$ac_ext
29078 fi
29079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29081 if test `eval echo '${'$as_ac_var'}'` = yes; then
29082 cat >>confdefs.h <<_ACEOF
29083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29084 _ACEOF
29085
29086 fi
29087 done
29088
29089 CFLAGS="$save_CFLAGS"
29090 LIBS="$save_LIBS"
29091 fi
29092
29093 wxUSE_UNIVERSAL="yes"
29094
29095 if test "$wxUSE_NANOX" = "yes"; then
29096 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29097 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"
29098 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29099 else
29100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29101 fi
29102
29103 TOOLKIT=X11
29104 GUIDIST=X11_DIST
29105 fi
29106
29107 if test "$wxUSE_MOTIF" = 1; then
29108 if test "$wxUSE_UNICODE" = "yes"; then
29109 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29110 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29111 { (exit 1); exit 1; }; }
29112 fi
29113
29114 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29115 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29116
29117 ac_find_includes=
29118 for ac_dir in $SEARCH_INCLUDE /usr/include;
29119 do
29120 if test -f "$ac_dir/Xm/Xm.h"; then
29121 ac_find_includes=$ac_dir
29122 break
29123 fi
29124 done
29125
29126 if test "$ac_find_includes" != "" ; then
29127 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29128 echo "${ECHO_T}found in $ac_find_includes" >&6
29129
29130 if test "x$ac_find_includes" = "x/usr/include"; then
29131 ac_path_to_include=""
29132 else
29133 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29134 result=$?
29135 if test $result = 0; then
29136 ac_path_to_include=""
29137 else
29138 ac_path_to_include=" -I$ac_find_includes"
29139 fi
29140 fi
29141
29142 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29143 else
29144 save_CFLAGS=$CFLAGS
29145 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29146
29147 cat >conftest.$ac_ext <<_ACEOF
29148 /* confdefs.h. */
29149 _ACEOF
29150 cat confdefs.h >>conftest.$ac_ext
29151 cat >>conftest.$ac_ext <<_ACEOF
29152 /* end confdefs.h. */
29153
29154 #include <Xm/Xm.h>
29155
29156 int
29157 main ()
29158 {
29159
29160 int version;
29161 version = xmUseVersion;
29162
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext
29168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29169 (eval $ac_compile) 2>conftest.er1
29170 ac_status=$?
29171 grep -v '^ *+' conftest.er1 >conftest.err
29172 rm -f conftest.er1
29173 cat conftest.err >&5
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); } &&
29176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178 (eval $ac_try) 2>&5
29179 ac_status=$?
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; } &&
29182 { ac_try='test -s conftest.$ac_objext'
29183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184 (eval $ac_try) 2>&5
29185 ac_status=$?
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); }; }; then
29188
29189 echo "$as_me:$LINENO: result: found in default search path" >&5
29190 echo "${ECHO_T}found in default search path" >&6
29191 COMPILED_X_PROGRAM=1
29192
29193 else
29194 echo "$as_me: failed program was:" >&5
29195 sed 's/^/| /' conftest.$ac_ext >&5
29196
29197
29198 echo "$as_me:$LINENO: result: no" >&5
29199 echo "${ECHO_T}no" >&6
29200 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29201 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29202 { (exit 1); exit 1; }; }
29203
29204
29205 fi
29206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29207
29208 CFLAGS=$save_CFLAGS
29209 fi
29210
29211
29212 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29213 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29214
29215 ac_find_libraries=
29216 for ac_dir in $SEARCH_LIB;
29217 do
29218 for ac_extension in a so sl dylib dll.a; do
29219 if test -f "$ac_dir/libXm.$ac_extension"; then
29220 ac_find_libraries=$ac_dir
29221 break 2
29222 fi
29223 done
29224 done
29225
29226
29227 if test "x$ac_find_libraries" != "x" ; then
29228 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29229 echo "${ECHO_T}found in $ac_find_libraries" >&6
29230
29231
29232 if test "$ac_find_libraries" = "default location"; then
29233 ac_path_to_link=""
29234 else
29235 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29236 result=$?
29237 if test $result = 0; then
29238 ac_path_to_link=""
29239 else
29240 ac_path_to_link=" -L$ac_find_libraries"
29241 fi
29242 fi
29243
29244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29245 else
29246 save_CFLAGS=$CFLAGS
29247 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29248 save_LIBS="$LIBS"
29249 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29250
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257
29258 #include <Xm/Xm.h>
29259
29260 int
29261 main ()
29262 {
29263
29264 int version;
29265 version = xmUseVersion;
29266
29267 ;
29268 return 0;
29269 }
29270 _ACEOF
29271 rm -f conftest.$ac_objext conftest$ac_exeext
29272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29273 (eval $ac_link) 2>conftest.er1
29274 ac_status=$?
29275 grep -v '^ *+' conftest.er1 >conftest.err
29276 rm -f conftest.er1
29277 cat conftest.err >&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } &&
29280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; } &&
29286 { ac_try='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29289 ac_status=$?
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292
29293 echo "$as_me:$LINENO: result: found in default search path" >&5
29294 echo "${ECHO_T}found in default search path" >&6
29295 COMPILED_X_PROGRAM=1
29296
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301
29302 echo "$as_me:$LINENO: result: no" >&5
29303 echo "${ECHO_T}no" >&6
29304 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29305 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29306 { (exit 1); exit 1; }; }
29307
29308
29309 fi
29310 rm -f conftest.err conftest.$ac_objext \
29311 conftest$ac_exeext conftest.$ac_ext
29312
29313 CFLAGS=$save_CFLAGS
29314 LIBS="$save_LIBS"
29315 fi
29316
29317 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29318 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29319 libp_link=""
29320 libsm_ice_link=""
29321 libs_found=0
29322 for libp in "" " -lXp"; do
29323 if test "$libs_found" = "0"; then
29324 for libsm_ice in "" " -lSM -lICE"; do
29325 if test "$libs_found" = "0"; then
29326 save_LIBS="$LIBS"
29327 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29328 save_CFLAGS=$CFLAGS
29329 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29330
29331 cat >conftest.$ac_ext <<_ACEOF
29332 /* confdefs.h. */
29333 _ACEOF
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337
29338 #include <Xm/Xm.h>
29339 #include <Xm/List.h>
29340
29341 int
29342 main ()
29343 {
29344
29345 XmString string = NULL;
29346 Widget w = NULL;
29347 int position = 0;
29348 XmListAddItem(w, string, position);
29349
29350 ;
29351 return 0;
29352 }
29353 _ACEOF
29354 rm -f conftest.$ac_objext conftest$ac_exeext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29356 (eval $ac_link) 2>conftest.er1
29357 ac_status=$?
29358 grep -v '^ *+' conftest.er1 >conftest.err
29359 rm -f conftest.er1
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } &&
29363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29365 (eval $ac_try) 2>&5
29366 ac_status=$?
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; } &&
29369 { ac_try='test -s conftest$ac_exeext'
29370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29371 (eval $ac_try) 2>&5
29372 ac_status=$?
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); }; }; then
29375
29376 libp_link="$libp"
29377 libsm_ice_link="$libsm_ice"
29378 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29379 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29380 libs_found=1
29381
29382 else
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.$ac_ext >&5
29385
29386
29387
29388 fi
29389 rm -f conftest.err conftest.$ac_objext \
29390 conftest$ac_exeext conftest.$ac_ext
29391
29392 LIBS="$save_LIBS"
29393 CFLAGS=$save_CFLAGS
29394 fi
29395 done
29396 fi
29397 done
29398
29399 if test "$libs_found" = "0"; then
29400 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29401 echo "${ECHO_T}can't find the right libraries" >&6
29402 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29403 echo "$as_me: error: can't link a simple motif program" >&2;}
29404 { (exit 1); exit 1; }; }
29405 fi
29406
29407 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29408 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29409 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 ac_check_lib_save_LIBS=$LIBS
29413 LIBS="-lSgm $LIBS"
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 /* Override any gcc2 internal prototype to avoid an error. */
29422 #ifdef __cplusplus
29423 extern "C"
29424 #endif
29425 /* We use char because int might match the return type of a gcc2
29426 builtin and then its argument prototype would still apply. */
29427 char SgCreateList ();
29428 int
29429 main ()
29430 {
29431 SgCreateList ();
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 rm -f conftest.$ac_objext conftest$ac_exeext
29437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29438 (eval $ac_link) 2>conftest.er1
29439 ac_status=$?
29440 grep -v '^ *+' conftest.er1 >conftest.err
29441 rm -f conftest.er1
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } &&
29445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29451 { ac_try='test -s conftest$ac_exeext'
29452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453 (eval $ac_try) 2>&5
29454 ac_status=$?
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; }; then
29457 ac_cv_lib_Sgm_SgCreateList=yes
29458 else
29459 echo "$as_me: failed program was:" >&5
29460 sed 's/^/| /' conftest.$ac_ext >&5
29461
29462 ac_cv_lib_Sgm_SgCreateList=no
29463 fi
29464 rm -f conftest.err conftest.$ac_objext \
29465 conftest$ac_exeext conftest.$ac_ext
29466 LIBS=$ac_check_lib_save_LIBS
29467 fi
29468 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29469 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29470 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29471 libsgm_link=" -lSgm"
29472 fi
29473
29474
29475 save_CFLAGS=$CFLAGS
29476 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29477
29478 echo "$as_me:$LINENO: checking for Motif 2" >&5
29479 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29480 if test "${wx_cv_lib_motif2+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29482 else
29483 cat >conftest.$ac_ext <<_ACEOF
29484 /* confdefs.h. */
29485 _ACEOF
29486 cat confdefs.h >>conftest.$ac_ext
29487 cat >>conftest.$ac_ext <<_ACEOF
29488 /* end confdefs.h. */
29489
29490 #include <Xm/Xm.h>
29491
29492 int
29493 main ()
29494 {
29495
29496 #if XmVersion < 2000
29497 Not Motif 2
29498 #endif
29499
29500 ;
29501 return 0;
29502 }
29503 _ACEOF
29504 rm -f conftest.$ac_objext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29506 (eval $ac_compile) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29516 ac_status=$?
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; } &&
29519 { ac_try='test -s conftest.$ac_objext'
29520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521 (eval $ac_try) 2>&5
29522 ac_status=$?
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; }; then
29525 wx_cv_lib_motif2="yes"
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 wx_cv_lib_motif2="no"
29531 fi
29532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29533 fi
29534 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29535 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29536 if test "$wx_cv_lib_motif2" = "yes"; then
29537 cat >>confdefs.h <<\_ACEOF
29538 #define __WXMOTIF20__ 1
29539 _ACEOF
29540
29541 else
29542 cat >>confdefs.h <<\_ACEOF
29543 #define __WXMOTIF20__ 0
29544 _ACEOF
29545
29546 fi
29547
29548 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29549 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29550 if test "${wx_cv_lib_lesstif+set}" = set; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 else
29553 cat >conftest.$ac_ext <<_ACEOF
29554 /* confdefs.h. */
29555 _ACEOF
29556 cat confdefs.h >>conftest.$ac_ext
29557 cat >>conftest.$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559
29560 #include <Xm/Xm.h>
29561
29562 int
29563 main ()
29564 {
29565
29566 #if !defined(LesstifVersion) || LesstifVersion <= 0
29567 Not Lesstif
29568 #endif
29569
29570 ;
29571 return 0;
29572 }
29573 _ACEOF
29574 rm -f conftest.$ac_objext
29575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29576 (eval $ac_compile) 2>conftest.er1
29577 ac_status=$?
29578 grep -v '^ *+' conftest.er1 >conftest.err
29579 rm -f conftest.er1
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } &&
29583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585 (eval $ac_try) 2>&5
29586 ac_status=$?
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; } &&
29589 { ac_try='test -s conftest.$ac_objext'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; }; then
29595 wx_cv_lib_lesstif="yes"
29596 else
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29599
29600 wx_cv_lib_lesstif="no"
29601 fi
29602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29603
29604 fi
29605 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29606 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29607 if test "$wx_cv_lib_lesstif" = "yes"; then
29608 cat >>confdefs.h <<\_ACEOF
29609 #define __WXLESSTIF__ 1
29610 _ACEOF
29611
29612 else
29613 cat >>confdefs.h <<\_ACEOF
29614 #define __WXLESSTIF__ 0
29615 _ACEOF
29616
29617 fi
29618
29619 CFLAGS=$save_CFLAGS
29620
29621 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29622 TOOLKIT=MOTIF
29623 GUIDIST=MOTIF_DIST
29624 fi
29625
29626 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29627 if test "$wxUSE_LIBXPM" = "sys"; then
29628 echo "$as_me:$LINENO: checking for Xpm library" >&5
29629 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29630
29631 ac_find_libraries=
29632 for ac_dir in $SEARCH_LIB;
29633 do
29634 for ac_extension in a so sl dylib dll.a; do
29635 if test -f "$ac_dir/libXpm.$ac_extension"; then
29636 ac_find_libraries=$ac_dir
29637 break 2
29638 fi
29639 done
29640 done
29641
29642 if test "$ac_find_libraries" != "" ; then
29643
29644 if test "$ac_find_libraries" = "default location"; then
29645 ac_path_to_link=""
29646 else
29647 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29648 result=$?
29649 if test $result = 0; then
29650 ac_path_to_link=""
29651 else
29652 ac_path_to_link=" -L$ac_find_libraries"
29653 fi
29654 fi
29655
29656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29657 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29658 echo "${ECHO_T}found in $ac_find_libraries" >&6
29659
29660 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29661 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29662 if test "${wx_cv_x11_xpm_h+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29664 else
29665
29666 save_CFLAGS=$CFLAGS
29667 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29668
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675
29676 #include <X11/xpm.h>
29677
29678 int
29679 main ()
29680 {
29681
29682 int version;
29683 version = XpmLibraryVersion();
29684
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29691 (eval $ac_compile) 2>conftest.er1
29692 ac_status=$?
29693 grep -v '^ *+' conftest.er1 >conftest.err
29694 rm -f conftest.er1
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29701 ac_status=$?
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try='test -s conftest.$ac_objext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 wx_cv_x11_xpm_h=yes
29711 else
29712 echo "$as_me: failed program was:" >&5
29713 sed 's/^/| /' conftest.$ac_ext >&5
29714
29715 wx_cv_x11_xpm_h=no
29716
29717 fi
29718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29719
29720 CFLAGS=$save_CFLAGS
29721
29722
29723 fi
29724 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29725 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29726
29727 if test $wx_cv_x11_xpm_h = "yes"; then
29728 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
29729 cat >>confdefs.h <<\_ACEOF
29730 #define wxHAVE_LIB_XPM 1
29731 _ACEOF
29732
29733 else
29734 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29735 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29736 fi
29737 fi
29738
29739 fi
29740
29741 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29742 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29743 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746 ac_check_lib_save_LIBS=$LIBS
29747 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29748 cat >conftest.$ac_ext <<_ACEOF
29749 /* confdefs.h. */
29750 _ACEOF
29751 cat confdefs.h >>conftest.$ac_ext
29752 cat >>conftest.$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29754
29755 /* Override any gcc2 internal prototype to avoid an error. */
29756 #ifdef __cplusplus
29757 extern "C"
29758 #endif
29759 /* We use char because int might match the return type of a gcc2
29760 builtin and then its argument prototype would still apply. */
29761 char XShapeQueryExtension ();
29762 int
29763 main ()
29764 {
29765 XShapeQueryExtension ();
29766 ;
29767 return 0;
29768 }
29769 _ACEOF
29770 rm -f conftest.$ac_objext conftest$ac_exeext
29771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29772 (eval $ac_link) 2>conftest.er1
29773 ac_status=$?
29774 grep -v '^ *+' conftest.er1 >conftest.err
29775 rm -f conftest.er1
29776 cat conftest.err >&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29782 ac_status=$?
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; } &&
29785 { ac_try='test -s conftest$ac_exeext'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29788 ac_status=$?
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; }; then
29791 ac_cv_lib_Xext_XShapeQueryExtension=yes
29792 else
29793 echo "$as_me: failed program was:" >&5
29794 sed 's/^/| /' conftest.$ac_ext >&5
29795
29796 ac_cv_lib_Xext_XShapeQueryExtension=no
29797 fi
29798 rm -f conftest.err conftest.$ac_objext \
29799 conftest$ac_exeext conftest.$ac_ext
29800 LIBS=$ac_check_lib_save_LIBS
29801 fi
29802 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29803 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29804 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29805
29806 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
29807 wxHAVE_XEXT_LIB=1
29808
29809 fi
29810
29811
29812 if test "$wxHAVE_XEXT_LIB" = 1; then
29813 save_CFLAGS="$CFLAGS"
29814 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29815
29816 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29817 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824
29825 #include <X11/Xlib.h>
29826 #include <X11/extensions/shape.h>
29827
29828 int
29829 main ()
29830 {
29831
29832 int dummy1, dummy2;
29833 XShapeQueryExtension((Display*)NULL,
29834 (int*)NULL, (int*)NULL);
29835
29836 ;
29837 return 0;
29838 }
29839 _ACEOF
29840 rm -f conftest.$ac_objext
29841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29842 (eval $ac_compile) 2>conftest.er1
29843 ac_status=$?
29844 grep -v '^ *+' conftest.er1 >conftest.err
29845 rm -f conftest.er1
29846 cat conftest.err >&5
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); } &&
29849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29851 (eval $ac_try) 2>&5
29852 ac_status=$?
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); }; } &&
29855 { ac_try='test -s conftest.$ac_objext'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; }; then
29861
29862 cat >>confdefs.h <<\_ACEOF
29863 #define HAVE_XSHAPE 1
29864 _ACEOF
29865
29866 echo "$as_me:$LINENO: result: found" >&5
29867 echo "${ECHO_T}found" >&6
29868
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873
29874 echo "$as_me:$LINENO: result: not found" >&5
29875 echo "${ECHO_T}not found" >&6
29876
29877 fi
29878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29879 CFLAGS="$save_CFLAGS"
29880
29881 fi
29882 fi
29883
29884 if test "$wxUSE_MAC" = 1; then
29885 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29886 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29887 if test "$GCC" = yes; then
29888 echo "$as_me:$LINENO: result: gcc" >&5
29889 echo "${ECHO_T}gcc" >&6
29890 CPPFLAGS_PASCAL="-fpascal-strings"
29891 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29892 echo "$as_me:$LINENO: result: xlc" >&5
29893 echo "${ECHO_T}xlc" >&6
29894 CPPFLAGS_PASCAL="-qmacpstr"
29895 else
29896 echo "$as_me:$LINENO: result: none" >&5
29897 echo "${ECHO_T}none" >&6
29898 fi
29899
29900 if test "x$wxUSE_UNIX" = "xyes"; then
29901 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29902 else
29903 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29904 fi
29905
29906 TOOLKIT=MAC
29907 GUIDIST=MACX_DIST
29908 WXBASEPORT="_carbon"
29909 fi
29910
29911 if test "$wxUSE_COCOA" = 1; then
29912 TOOLKIT=COCOA
29913 GUIDIST=COCOA_DIST
29914 fi
29915
29916 if test "$wxUSE_PM" = 1; then
29917 TOOLKIT=PM
29918 GUIDIST=PM_DIST
29919 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29920 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29921 if test "${wx_cv_spbcdata+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29923 else
29924
29925 cat >conftest.$ac_ext <<_ACEOF
29926 /* confdefs.h. */
29927 _ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29931
29932 #define INCL_PM
29933 #include <os2.h>
29934
29935 int
29936 main ()
29937 {
29938
29939 SPBCDATA test;
29940
29941 ;
29942 return 0;
29943 }
29944 _ACEOF
29945 rm -f conftest.$ac_objext
29946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29947 (eval $ac_compile) 2>conftest.er1
29948 ac_status=$?
29949 grep -v '^ *+' conftest.er1 >conftest.err
29950 rm -f conftest.er1
29951 cat conftest.err >&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); } &&
29954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29957 ac_status=$?
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; } &&
29960 { ac_try='test -s conftest.$ac_objext'
29961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29962 (eval $ac_try) 2>&5
29963 ac_status=$?
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; }; then
29966 wx_cv_spbcdata=yes
29967 else
29968 echo "$as_me: failed program was:" >&5
29969 sed 's/^/| /' conftest.$ac_ext >&5
29970
29971 wx_cv_spbcdata=no
29972
29973 fi
29974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29975
29976
29977 fi
29978 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29979 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29980
29981 if test $wx_cv_spbcdata = "yes"; then
29982 cat >>confdefs.h <<\_ACEOF
29983 #define HAVE_SPBCDATA 1
29984 _ACEOF
29985
29986 fi
29987 fi
29988
29989 if test "$TOOLKIT" = "PM" ; then
29990 TOOLKIT_DIR="os2"
29991 else
29992 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29993 fi
29994
29995 if test "$wxUSE_UNIVERSAL" = "yes"; then
29996 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29997 WIDGET_SET=univ
29998 fi
29999
30000 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30001 DISTDIR="wx\$(TOOLKIT)"
30002 else
30003 USE_GUI=0
30004
30005 TOOLKIT_DIR="base"
30006
30007 if test "$USE_WIN32" = 1 ; then
30008 TOOLKIT="MSW"
30009 fi
30010
30011 GUIDIST="BASE_DIST"
30012 DISTDIR="wxBase"
30013 fi
30014
30015
30016 if test "$wxUSE_GUI" = "yes"; then
30017 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30018
30019 for ac_header in X11/Xlib.h
30020 do
30021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30023 echo "$as_me:$LINENO: checking for $ac_header" >&5
30024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30026 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 fi
30028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30030 else
30031 # Is the header compilable?
30032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30034 cat >conftest.$ac_ext <<_ACEOF
30035 /* confdefs.h. */
30036 _ACEOF
30037 cat confdefs.h >>conftest.$ac_ext
30038 cat >>conftest.$ac_ext <<_ACEOF
30039 /* end confdefs.h. */
30040 $ac_includes_default
30041 #include <$ac_header>
30042 _ACEOF
30043 rm -f conftest.$ac_objext
30044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30045 (eval $ac_compile) 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } &&
30052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; } &&
30058 { ac_try='test -s conftest.$ac_objext'
30059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30061 ac_status=$?
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 ac_header_compiler=yes
30065 else
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30068
30069 ac_header_compiler=no
30070 fi
30071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30073 echo "${ECHO_T}$ac_header_compiler" >&6
30074
30075 # Is the header present?
30076 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084 #include <$ac_header>
30085 _ACEOF
30086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30088 ac_status=$?
30089 grep -v '^ *+' conftest.er1 >conftest.err
30090 rm -f conftest.er1
30091 cat conftest.err >&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } >/dev/null; then
30094 if test -s conftest.err; then
30095 ac_cpp_err=$ac_c_preproc_warn_flag
30096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30097 else
30098 ac_cpp_err=
30099 fi
30100 else
30101 ac_cpp_err=yes
30102 fi
30103 if test -z "$ac_cpp_err"; then
30104 ac_header_preproc=yes
30105 else
30106 echo "$as_me: failed program was:" >&5
30107 sed 's/^/| /' conftest.$ac_ext >&5
30108
30109 ac_header_preproc=no
30110 fi
30111 rm -f conftest.err conftest.$ac_ext
30112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30113 echo "${ECHO_T}$ac_header_preproc" >&6
30114
30115 # So? What about this header?
30116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30117 yes:no: )
30118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30121 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30122 ac_header_preproc=yes
30123 ;;
30124 no:yes:* )
30125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30137 (
30138 cat <<\_ASBOX
30139 ## ----------------------------------------- ##
30140 ## Report this to wx-dev@lists.wxwidgets.org ##
30141 ## ----------------------------------------- ##
30142 _ASBOX
30143 ) |
30144 sed "s/^/$as_me: WARNING: /" >&2
30145 ;;
30146 esac
30147 echo "$as_me:$LINENO: checking for $ac_header" >&5
30148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30150 echo $ECHO_N "(cached) $ECHO_C" >&6
30151 else
30152 eval "$as_ac_Header=\$ac_header_preproc"
30153 fi
30154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30156
30157 fi
30158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30159 cat >>confdefs.h <<_ACEOF
30160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30161 _ACEOF
30162
30163 fi
30164
30165 done
30166
30167
30168 for ac_header in X11/XKBlib.h
30169 do
30170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30171 echo "$as_me:$LINENO: checking for $ac_header" >&5
30172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30174 echo $ECHO_N "(cached) $ECHO_C" >&6
30175 else
30176 cat >conftest.$ac_ext <<_ACEOF
30177 /* confdefs.h. */
30178 _ACEOF
30179 cat confdefs.h >>conftest.$ac_ext
30180 cat >>conftest.$ac_ext <<_ACEOF
30181 /* end confdefs.h. */
30182
30183 #if HAVE_X11_XLIB_H
30184 #include <X11/Xlib.h>
30185 #endif
30186
30187
30188 #include <$ac_header>
30189 _ACEOF
30190 rm -f conftest.$ac_objext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30192 (eval $ac_compile) 2>conftest.er1
30193 ac_status=$?
30194 grep -v '^ *+' conftest.er1 >conftest.err
30195 rm -f conftest.er1
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try='test -s conftest.$ac_objext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 eval "$as_ac_Header=yes"
30212 else
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.$ac_ext >&5
30215
30216 eval "$as_ac_Header=no"
30217 fi
30218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30219 fi
30220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30223 cat >>confdefs.h <<_ACEOF
30224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30225 _ACEOF
30226
30227 fi
30228
30229 done
30230
30231 fi
30232 fi
30233
30234
30235
30236 IODBC_C_SRC=""
30237
30238
30239 if test "$TOOLKIT" != "MSW" ; then
30240
30241 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30242
30243 if test "${ac_cv_header_sql_h+set}" = set; then
30244 echo "$as_me:$LINENO: checking for sql.h" >&5
30245 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30246 if test "${ac_cv_header_sql_h+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 fi
30249 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30250 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30251 else
30252 # Is the header compilable?
30253 echo "$as_me:$LINENO: checking sql.h usability" >&5
30254 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30255 cat >conftest.$ac_ext <<_ACEOF
30256 /* confdefs.h. */
30257 _ACEOF
30258 cat confdefs.h >>conftest.$ac_ext
30259 cat >>conftest.$ac_ext <<_ACEOF
30260 /* end confdefs.h. */
30261 $ac_includes_default
30262 #include <sql.h>
30263 _ACEOF
30264 rm -f conftest.$ac_objext
30265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30266 (eval $ac_compile) 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try='test -s conftest.$ac_objext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 ac_header_compiler=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 ac_header_compiler=no
30291 fi
30292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30294 echo "${ECHO_T}$ac_header_compiler" >&6
30295
30296 # Is the header present?
30297 echo "$as_me:$LINENO: checking sql.h presence" >&5
30298 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305 #include <sql.h>
30306 _ACEOF
30307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30308 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
30315 if test -s conftest.err; then
30316 ac_cpp_err=$ac_c_preproc_warn_flag
30317 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30318 else
30319 ac_cpp_err=
30320 fi
30321 else
30322 ac_cpp_err=yes
30323 fi
30324 if test -z "$ac_cpp_err"; then
30325 ac_header_preproc=yes
30326 else
30327 echo "$as_me: failed program was:" >&5
30328 sed 's/^/| /' conftest.$ac_ext >&5
30329
30330 ac_header_preproc=no
30331 fi
30332 rm -f conftest.err conftest.$ac_ext
30333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30334 echo "${ECHO_T}$ac_header_preproc" >&6
30335
30336 # So? What about this header?
30337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30338 yes:no: )
30339 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30340 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30341 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30342 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30343 ac_header_preproc=yes
30344 ;;
30345 no:yes:* )
30346 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30347 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30348 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30349 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30350 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30351 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30352 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30353 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30354 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30355 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30356 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30357 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30358 (
30359 cat <<\_ASBOX
30360 ## ----------------------------------------- ##
30361 ## Report this to wx-dev@lists.wxwidgets.org ##
30362 ## ----------------------------------------- ##
30363 _ASBOX
30364 ) |
30365 sed "s/^/$as_me: WARNING: /" >&2
30366 ;;
30367 esac
30368 echo "$as_me:$LINENO: checking for sql.h" >&5
30369 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30370 if test "${ac_cv_header_sql_h+set}" = set; then
30371 echo $ECHO_N "(cached) $ECHO_C" >&6
30372 else
30373 ac_cv_header_sql_h=$ac_header_preproc
30374 fi
30375 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30376 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30377
30378 fi
30379 if test $ac_cv_header_sql_h = yes; then
30380 found_sql_h=1
30381 fi
30382
30383
30384 if test "x$found_sql_h" = "x1" ; then
30385 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30386 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30387 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 else
30390 ac_check_lib_save_LIBS=$LIBS
30391 LIBS="-liodbc $LIBS"
30392 cat >conftest.$ac_ext <<_ACEOF
30393 /* confdefs.h. */
30394 _ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30398
30399 /* Override any gcc2 internal prototype to avoid an error. */
30400 #ifdef __cplusplus
30401 extern "C"
30402 #endif
30403 /* We use char because int might match the return type of a gcc2
30404 builtin and then its argument prototype would still apply. */
30405 char SQLAllocEnv ();
30406 int
30407 main ()
30408 {
30409 SQLAllocEnv ();
30410 ;
30411 return 0;
30412 }
30413 _ACEOF
30414 rm -f conftest.$ac_objext conftest$ac_exeext
30415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30416 (eval $ac_link) 2>conftest.er1
30417 ac_status=$?
30418 grep -v '^ *+' conftest.er1 >conftest.err
30419 rm -f conftest.er1
30420 cat conftest.err >&5
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); } &&
30423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; } &&
30429 { ac_try='test -s conftest$ac_exeext'
30430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30431 (eval $ac_try) 2>&5
30432 ac_status=$?
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); }; }; then
30435 ac_cv_lib_iodbc_SQLAllocEnv=yes
30436 else
30437 echo "$as_me: failed program was:" >&5
30438 sed 's/^/| /' conftest.$ac_ext >&5
30439
30440 ac_cv_lib_iodbc_SQLAllocEnv=no
30441 fi
30442 rm -f conftest.err conftest.$ac_objext \
30443 conftest$ac_exeext conftest.$ac_ext
30444 LIBS=$ac_check_lib_save_LIBS
30445 fi
30446 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30447 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30448 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30449 ODBC_LINK=" -liodbc"
30450 else
30451
30452 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30453 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30454 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 else
30457 ac_check_lib_save_LIBS=$LIBS
30458 LIBS="-lunixodbc $LIBS"
30459 cat >conftest.$ac_ext <<_ACEOF
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465
30466 /* Override any gcc2 internal prototype to avoid an error. */
30467 #ifdef __cplusplus
30468 extern "C"
30469 #endif
30470 /* We use char because int might match the return type of a gcc2
30471 builtin and then its argument prototype would still apply. */
30472 char SQLAllocEnv ();
30473 int
30474 main ()
30475 {
30476 SQLAllocEnv ();
30477 ;
30478 return 0;
30479 }
30480 _ACEOF
30481 rm -f conftest.$ac_objext conftest$ac_exeext
30482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30483 (eval $ac_link) 2>conftest.er1
30484 ac_status=$?
30485 grep -v '^ *+' conftest.er1 >conftest.err
30486 rm -f conftest.er1
30487 cat conftest.err >&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); } &&
30490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30493 ac_status=$?
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; } &&
30496 { ac_try='test -s conftest$ac_exeext'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 ac_cv_lib_unixodbc_SQLAllocEnv=no
30508 fi
30509 rm -f conftest.err conftest.$ac_objext \
30510 conftest$ac_exeext conftest.$ac_ext
30511 LIBS=$ac_check_lib_save_LIBS
30512 fi
30513 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30514 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30515 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30516 ODBC_LINK=" -lunixodbc"
30517 else
30518
30519 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30520 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30521 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30523 else
30524 ac_check_lib_save_LIBS=$LIBS
30525 LIBS="-lodbc $LIBS"
30526 cat >conftest.$ac_ext <<_ACEOF
30527 /* confdefs.h. */
30528 _ACEOF
30529 cat confdefs.h >>conftest.$ac_ext
30530 cat >>conftest.$ac_ext <<_ACEOF
30531 /* end confdefs.h. */
30532
30533 /* Override any gcc2 internal prototype to avoid an error. */
30534 #ifdef __cplusplus
30535 extern "C"
30536 #endif
30537 /* We use char because int might match the return type of a gcc2
30538 builtin and then its argument prototype would still apply. */
30539 char SQLAllocEnv ();
30540 int
30541 main ()
30542 {
30543 SQLAllocEnv ();
30544 ;
30545 return 0;
30546 }
30547 _ACEOF
30548 rm -f conftest.$ac_objext conftest$ac_exeext
30549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30550 (eval $ac_link) 2>conftest.er1
30551 ac_status=$?
30552 grep -v '^ *+' conftest.er1 >conftest.err
30553 rm -f conftest.er1
30554 cat conftest.err >&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); } &&
30557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30560 ac_status=$?
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; } &&
30563 { ac_try='test -s conftest$ac_exeext'
30564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30565 (eval $ac_try) 2>&5
30566 ac_status=$?
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); }; }; then
30569 ac_cv_lib_odbc_SQLAllocEnv=yes
30570 else
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30573
30574 ac_cv_lib_odbc_SQLAllocEnv=no
30575 fi
30576 rm -f conftest.err conftest.$ac_objext \
30577 conftest$ac_exeext conftest.$ac_ext
30578 LIBS=$ac_check_lib_save_LIBS
30579 fi
30580 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30581 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30582 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30583 ODBC_LINK=" -lodbc"
30584 fi
30585
30586
30587 fi
30588
30589
30590 fi
30591
30592 fi
30593 if test "x$ODBC_LINK" = "x" ; then
30594 if test "$wxUSE_ODBC" = "sys" ; then
30595 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30596 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30597 { (exit 1); exit 1; }; }
30598 else
30599 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30600 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30601 wxUSE_ODBC=builtin
30602 fi
30603 else
30604 wxUSE_ODBC=sys
30605 fi
30606 fi
30607
30608 if test "$wxUSE_ODBC" = "builtin" ; then
30609 cat >>confdefs.h <<\_ACEOF
30610 #define wxUSE_BUILTIN_IODBC 1
30611 _ACEOF
30612
30613 fi
30614 fi
30615
30616 if test "$wxUSE_ODBC" != "no" ; then
30617 cat >>confdefs.h <<\_ACEOF
30618 #define wxUSE_ODBC 1
30619 _ACEOF
30620
30621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
30622
30623 WXODBCFLAG="-D_IODBC_"
30624 fi
30625
30626
30627 if test "$wxUSE_DISPLAY" = "yes"; then
30628 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30629 echo "$as_me:$LINENO: checking for Xinerama" >&5
30630 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30631
30632 ac_find_libraries=
30633 for ac_dir in $SEARCH_LIB;
30634 do
30635 for ac_extension in a so sl dylib dll.a; do
30636 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30637 ac_find_libraries=$ac_dir
30638 break 2
30639 fi
30640 done
30641 done
30642
30643 if test "$ac_find_libraries" != "" ; then
30644
30645 if test "$ac_find_libraries" = "default location"; then
30646 ac_path_to_link=""
30647 else
30648 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30649 result=$?
30650 if test $result = 0; then
30651 ac_path_to_link=""
30652 else
30653 ac_path_to_link=" -L$ac_find_libraries"
30654 fi
30655 fi
30656
30657 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30658 LDFLAGS="$LDFLAGS $ac_path_to_link"
30659 fi
30660 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
30661 echo "$as_me:$LINENO: result: yes" >&5
30662 echo "${ECHO_T}yes" >&6
30663
30664 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30665 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30666
30667 ac_find_libraries=
30668 for ac_dir in $SEARCH_LIB;
30669 do
30670 for ac_extension in a so sl dylib dll.a; do
30671 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30672 ac_find_libraries=$ac_dir
30673 break 2
30674 fi
30675 done
30676 done
30677
30678 if test "$ac_find_libraries" != "" ; then
30679 echo "$as_me:$LINENO: result: yes" >&5
30680 echo "${ECHO_T}yes" >&6
30681
30682 for ac_header in X11/extensions/xf86vmode.h
30683 do
30684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30685 echo "$as_me:$LINENO: checking for $ac_header" >&5
30686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 else
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696
30697 #if HAVE_X11_XLIB_H
30698 #include <X11/Xlib.h>
30699 #endif
30700
30701
30702 #include <$ac_header>
30703 _ACEOF
30704 rm -f conftest.$ac_objext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30706 (eval $ac_compile) 2>conftest.er1
30707 ac_status=$?
30708 grep -v '^ *+' conftest.er1 >conftest.err
30709 rm -f conftest.er1
30710 cat conftest.err >&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30715 (eval $ac_try) 2>&5
30716 ac_status=$?
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; } &&
30719 { ac_try='test -s conftest.$ac_objext'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; }; then
30725 eval "$as_ac_Header=yes"
30726 else
30727 echo "$as_me: failed program was:" >&5
30728 sed 's/^/| /' conftest.$ac_ext >&5
30729
30730 eval "$as_ac_Header=no"
30731 fi
30732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30733 fi
30734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30737 cat >>confdefs.h <<_ACEOF
30738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30739 _ACEOF
30740
30741 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
30742
30743 fi
30744
30745 done
30746
30747 else
30748 echo "$as_me:$LINENO: result: no" >&5
30749 echo "${ECHO_T}no" >&6
30750 fi
30751
30752 else
30753 echo "$as_me:$LINENO: result: no" >&5
30754 echo "${ECHO_T}no" >&6
30755 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30756 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30757 wxUSE_DISPLAY="no"
30758 fi
30759 elif test "$wxUSE_MSW" = 1; then
30760
30761
30762 for ac_header in multimon.h ddraw.h
30763 do
30764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30765 echo "$as_me:$LINENO: checking for $ac_header" >&5
30766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 else
30770 cat >conftest.$ac_ext <<_ACEOF
30771 /* confdefs.h. */
30772 _ACEOF
30773 cat confdefs.h >>conftest.$ac_ext
30774 cat >>conftest.$ac_ext <<_ACEOF
30775 /* end confdefs.h. */
30776 #include <windows.h>
30777
30778 #include <$ac_header>
30779 _ACEOF
30780 rm -f conftest.$ac_objext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30782 (eval $ac_compile) 2>conftest.er1
30783 ac_status=$?
30784 grep -v '^ *+' conftest.er1 >conftest.err
30785 rm -f conftest.er1
30786 cat conftest.err >&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } &&
30789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30791 (eval $ac_try) 2>&5
30792 ac_status=$?
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); }; } &&
30795 { ac_try='test -s conftest.$ac_objext'
30796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 (eval $ac_try) 2>&5
30798 ac_status=$?
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); }; }; then
30801 eval "$as_ac_Header=yes"
30802 else
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.$ac_ext >&5
30805
30806 eval "$as_ac_Header=no"
30807 fi
30808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30809 fi
30810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30813 cat >>confdefs.h <<_ACEOF
30814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30815 _ACEOF
30816
30817 else
30818
30819 wxUSE_DISPLAY="no"
30820 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30821 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30822
30823 fi
30824
30825 done
30826
30827 fi
30828 fi
30829
30830
30831 USE_OPENGL=0
30832 if test "$wxUSE_OPENGL" = "yes"; then
30833 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30834 OPENGL_LIBS="-framework OpenGL -framework AGL"
30835 elif test "$wxUSE_MSW" = 1; then
30836 OPENGL_LIBS="-lopengl32 -lglu32"
30837 else
30838
30839
30840 ac_find_includes=
30841 for ac_dir in $SEARCH_INCLUDE /usr/include;
30842 do
30843 if test -f "$ac_dir/GL/gl.h"; then
30844 ac_find_includes=$ac_dir
30845 break
30846 fi
30847 done
30848
30849 if test "$ac_find_includes" != "" ; then
30850 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30851 echo "${ECHO_T}found in $ac_find_includes" >&6
30852
30853 if test "x$ac_find_includes" = "x/usr/include"; then
30854 ac_path_to_include=""
30855 else
30856 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
30857 result=$?
30858 if test $result = 0; then
30859 ac_path_to_include=""
30860 else
30861 ac_path_to_include=" -I$ac_find_includes"
30862 fi
30863 fi
30864
30865 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
30866 fi
30867
30868 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30869 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30870 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 fi
30874 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30875 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30876 else
30877 # Is the header compilable?
30878 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30879 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30880 cat >conftest.$ac_ext <<_ACEOF
30881 /* confdefs.h. */
30882 _ACEOF
30883 cat confdefs.h >>conftest.$ac_ext
30884 cat >>conftest.$ac_ext <<_ACEOF
30885 /* end confdefs.h. */
30886 $ac_includes_default
30887 #include <GL/gl.h>
30888 _ACEOF
30889 rm -f conftest.$ac_objext
30890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30891 (eval $ac_compile) 2>conftest.er1
30892 ac_status=$?
30893 grep -v '^ *+' conftest.er1 >conftest.err
30894 rm -f conftest.er1
30895 cat conftest.err >&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } &&
30898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; } &&
30904 { ac_try='test -s conftest.$ac_objext'
30905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30906 (eval $ac_try) 2>&5
30907 ac_status=$?
30908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909 (exit $ac_status); }; }; then
30910 ac_header_compiler=yes
30911 else
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.$ac_ext >&5
30914
30915 ac_header_compiler=no
30916 fi
30917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30919 echo "${ECHO_T}$ac_header_compiler" >&6
30920
30921 # Is the header present?
30922 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30923 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30924 cat >conftest.$ac_ext <<_ACEOF
30925 /* confdefs.h. */
30926 _ACEOF
30927 cat confdefs.h >>conftest.$ac_ext
30928 cat >>conftest.$ac_ext <<_ACEOF
30929 /* end confdefs.h. */
30930 #include <GL/gl.h>
30931 _ACEOF
30932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30934 ac_status=$?
30935 grep -v '^ *+' conftest.er1 >conftest.err
30936 rm -f conftest.er1
30937 cat conftest.err >&5
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); } >/dev/null; then
30940 if test -s conftest.err; then
30941 ac_cpp_err=$ac_c_preproc_warn_flag
30942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30943 else
30944 ac_cpp_err=
30945 fi
30946 else
30947 ac_cpp_err=yes
30948 fi
30949 if test -z "$ac_cpp_err"; then
30950 ac_header_preproc=yes
30951 else
30952 echo "$as_me: failed program was:" >&5
30953 sed 's/^/| /' conftest.$ac_ext >&5
30954
30955 ac_header_preproc=no
30956 fi
30957 rm -f conftest.err conftest.$ac_ext
30958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30959 echo "${ECHO_T}$ac_header_preproc" >&6
30960
30961 # So? What about this header?
30962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30963 yes:no: )
30964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30965 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30967 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30968 ac_header_preproc=yes
30969 ;;
30970 no:yes:* )
30971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30972 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30974 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30976 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30978 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30980 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30981 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30982 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30983 (
30984 cat <<\_ASBOX
30985 ## ----------------------------------------- ##
30986 ## Report this to wx-dev@lists.wxwidgets.org ##
30987 ## ----------------------------------------- ##
30988 _ASBOX
30989 ) |
30990 sed "s/^/$as_me: WARNING: /" >&2
30991 ;;
30992 esac
30993 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30994 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30995 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30996 echo $ECHO_N "(cached) $ECHO_C" >&6
30997 else
30998 ac_cv_header_GL_gl_h=$ac_header_preproc
30999 fi
31000 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31001 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31002
31003 fi
31004 if test $ac_cv_header_GL_gl_h = yes; then
31005
31006 found_gl=0
31007
31008 echo "$as_me:$LINENO: checking for -lGL" >&5
31009 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31010
31011 ac_find_libraries=
31012 for ac_dir in $SEARCH_LIB;
31013 do
31014 for ac_extension in a so sl dylib dll.a; do
31015 if test -f "$ac_dir/libGL.$ac_extension"; then
31016 ac_find_libraries=$ac_dir
31017 break 2
31018 fi
31019 done
31020 done
31021
31022 if test "$ac_find_libraries" != "" ; then
31023 echo "$as_me:$LINENO: result: yes" >&5
31024 echo "${ECHO_T}yes" >&6
31025
31026
31027 if test "$ac_find_libraries" = "default location"; then
31028 ac_path_to_link=""
31029 else
31030 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31031 result=$?
31032 if test $result = 0; then
31033 ac_path_to_link=""
31034 else
31035 ac_path_to_link=" -L$ac_find_libraries"
31036 fi
31037 fi
31038
31039 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31040 LDFLAGS_GL="$ac_path_to_link"
31041 fi
31042
31043 echo "$as_me:$LINENO: checking for -lGLU" >&5
31044 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31045
31046 ac_find_libraries=
31047 for ac_dir in $SEARCH_LIB;
31048 do
31049 for ac_extension in a so sl dylib dll.a; do
31050 if test -f "$ac_dir/libGLU.$ac_extension"; then
31051 ac_find_libraries=$ac_dir
31052 break 2
31053 fi
31054 done
31055 done
31056
31057 if test "$ac_find_libraries" != "" ; then
31058
31059 if test "$ac_find_libraries" = "default location"; then
31060 ac_path_to_link=""
31061 else
31062 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31063 result=$?
31064 if test $result = 0; then
31065 ac_path_to_link=""
31066 else
31067 ac_path_to_link=" -L$ac_find_libraries"
31068 fi
31069 fi
31070
31071 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31072 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31073 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31074 fi
31075
31076 found_gl=1
31077 OPENGL_LIBS="-lGL -lGLU"
31078 echo "$as_me:$LINENO: result: yes" >&5
31079 echo "${ECHO_T}yes" >&6
31080 else
31081 echo "$as_me:$LINENO: result: no" >&5
31082 echo "${ECHO_T}no" >&6
31083 fi
31084 else
31085 echo "$as_me:$LINENO: result: no" >&5
31086 echo "${ECHO_T}no" >&6
31087 fi
31088
31089 if test "$found_gl" != 1; then
31090 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31091 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31092
31093 ac_find_libraries=
31094 for ac_dir in $SEARCH_LIB;
31095 do
31096 for ac_extension in a so sl dylib dll.a; do
31097 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31098 ac_find_libraries=$ac_dir
31099 break 2
31100 fi
31101 done
31102 done
31103
31104 if test "$ac_find_libraries" != "" ; then
31105
31106 if test "$ac_find_libraries" = "default location"; then
31107 ac_path_to_link=""
31108 else
31109 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31110 result=$?
31111 if test $result = 0; then
31112 ac_path_to_link=""
31113 else
31114 ac_path_to_link=" -L$ac_find_libraries"
31115 fi
31116 fi
31117
31118 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31119 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31120 echo "$as_me:$LINENO: result: yes" >&5
31121 echo "${ECHO_T}yes" >&6
31122 else
31123 echo "$as_me:$LINENO: result: no" >&5
31124 echo "${ECHO_T}no" >&6
31125 fi
31126 fi
31127
31128 fi
31129
31130
31131
31132 if test "x$OPENGL_LIBS" = "x"; then
31133 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31134 echo "$as_me: error: OpenGL libraries not available" >&2;}
31135 { (exit 1); exit 1; }; }
31136 fi
31137 fi
31138
31139 if test "$wxUSE_OPENGL" = "yes"; then
31140 USE_OPENGL=1
31141 cat >>confdefs.h <<\_ACEOF
31142 #define wxUSE_OPENGL 1
31143 _ACEOF
31144
31145 cat >>confdefs.h <<\_ACEOF
31146 #define wxUSE_GLCANVAS 1
31147 _ACEOF
31148
31149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31150 fi
31151 fi
31152
31153
31154 if test -n "$TOOLKIT" ; then
31155 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31156 fi
31157
31158
31159
31160 if test "$wxUSE_SHARED" = "yes"; then
31161 case "${host}" in
31162 *-pc-msdosdjgpp )
31163 wxUSE_SHARED=no
31164 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31165 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31166 ;;
31167 esac
31168 fi
31169
31170 if test "$wxUSE_SHARED" = "yes"; then
31171
31172
31173 found_versioning=no
31174
31175
31176 if test $found_versioning = no ; then
31177 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31178 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31179 if test "${wx_cv_version_script+set}" = set; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31181 else
31182
31183 echo "VER_1 { *; };" >conftest.sym
31184 echo "int main() { return 0; }" >conftest.cpp
31185
31186 if { ac_try='
31187 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31188 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31191 ac_status=$?
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; } ; then
31194 if test -s conftest.stderr ; then
31195 wx_cv_version_script=no
31196 else
31197 wx_cv_version_script=yes
31198 fi
31199 else
31200 wx_cv_version_script=no
31201 fi
31202
31203 if test $wx_cv_version_script = yes
31204 then
31205 echo "struct B { virtual ~B() { } }; \
31206 struct D : public B { }; \
31207 void F() { D d; }" > conftest.cpp
31208
31209 if { ac_try='
31210 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31211 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try='
31218 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31219 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31222 ac_status=$?
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; }
31225 then
31226 if { ac_try='
31227 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31228 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }
31234 then
31235 wx_cv_version_script=yes
31236 else
31237 wx_cv_version_script=no
31238 fi
31239 fi
31240 fi
31241
31242 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31243 rm -f conftest1.output conftest2.output conftest3.output
31244
31245 fi
31246 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31247 echo "${ECHO_T}$wx_cv_version_script" >&6
31248 if test $wx_cv_version_script = yes ; then
31249 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31250 fi
31251 fi
31252
31253
31254 case "${host}" in
31255 *-*-linux* | *-*-gnu* )
31256 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31257 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31258 ;;
31259
31260 *-*-solaris2* )
31261 if test "$GCC" = yes ; then
31262 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
31263
31264 saveLdflags="$LDFLAGS"
31265 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31266 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31267 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31268 cat >conftest.$ac_ext <<_ACEOF
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274
31275 int
31276 main ()
31277 {
31278
31279 ;
31280 return 0;
31281 }
31282 _ACEOF
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31285 (eval $ac_link) 2>conftest.er1
31286 ac_status=$?
31287 grep -v '^ *+' conftest.er1 >conftest.err
31288 rm -f conftest.er1
31289 cat conftest.err >&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } &&
31292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31294 (eval $ac_try) 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); }; } &&
31298 { ac_try='test -s conftest$ac_exeext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304
31305 echo "$as_me:$LINENO: result: yes" >&5
31306 echo "${ECHO_T}yes" >&6
31307 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31308 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31309
31310 else
31311 echo "$as_me: failed program was:" >&5
31312 sed 's/^/| /' conftest.$ac_ext >&5
31313
31314
31315 echo "$as_me:$LINENO: result: no" >&5
31316 echo "${ECHO_T}no" >&6
31317 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31318 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31319 LDFLAGS="$saveLdflags -Wl,-R,/"
31320 cat >conftest.$ac_ext <<_ACEOF
31321 /* confdefs.h. */
31322 _ACEOF
31323 cat confdefs.h >>conftest.$ac_ext
31324 cat >>conftest.$ac_ext <<_ACEOF
31325 /* end confdefs.h. */
31326
31327 int
31328 main ()
31329 {
31330
31331 ;
31332 return 0;
31333 }
31334 _ACEOF
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>conftest.er1
31338 ac_status=$?
31339 grep -v '^ *+' conftest.er1 >conftest.err
31340 rm -f conftest.er1
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } &&
31344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try='test -s conftest$ac_exeext'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31353 ac_status=$?
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; }; then
31356
31357 echo "$as_me:$LINENO: result: yes" >&5
31358 echo "${ECHO_T}yes" >&6
31359 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31360 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31361
31362 else
31363 echo "$as_me: failed program was:" >&5
31364 sed 's/^/| /' conftest.$ac_ext >&5
31365
31366
31367 echo "$as_me:$LINENO: result: no" >&5
31368 echo "${ECHO_T}no" >&6
31369
31370 fi
31371 rm -f conftest.err conftest.$ac_objext \
31372 conftest$ac_exeext conftest.$ac_ext
31373
31374 fi
31375 rm -f conftest.err conftest.$ac_objext \
31376 conftest$ac_exeext conftest.$ac_ext
31377 LDFLAGS="$saveLdflags"
31378 else
31379 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31380 WXCONFIG_RPATH="-R\$libdir"
31381 fi
31382 ;;
31383
31384 *-*-darwin* )
31385 install_name_tool=`which install_name_tool`
31386 if test "$install_name_tool" -a -x "$install_name_tool"; then
31387 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31388 cat <<EOF >change-install-names
31389 #!/bin/sh
31390 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31391 inst_cmd="install_name_tool "
31392 for i in \${libnames} ; do
31393 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31394 done
31395 \${inst_cmd} \${3}
31396 EOF
31397 chmod +x change-install-names
31398 fi
31399 ;;
31400
31401 *-*-cygwin* | *-*-mingw32* )
31402 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31403 ;;
31404
31405 *-*-hpux* )
31406 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31407 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31408 ;;
31409
31410 esac
31411
31412 if test $wxUSE_RPATH = "no"; then
31413 SAMPLES_RPATH_FLAG=''
31414 SAMPLES_RPATH_POSTLINK=''
31415 WXCONFIG_RPATH=''
31416 fi
31417
31418 SHARED=1
31419
31420 else
31421
31422 config_linkage_component="-static"
31423 SHARED=0
31424
31425 fi
31426
31427
31428 UNICODE=0
31429 lib_unicode_suffix=
31430 WX_CHARTYPE="ansi"
31431 if test "$wxUSE_UNICODE" = "yes"; then
31432 lib_unicode_suffix=u
31433 WX_CHARTYPE="unicode"
31434 UNICODE=1
31435 fi
31436
31437 lib_debug_suffix=
31438 WX_DEBUGTYPE="release"
31439 DEBUG_FLAG=0
31440 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31441 lib_debug_suffix=d
31442 WX_DEBUGTYPE="debug"
31443 DEBUG_FLAG=1
31444 fi
31445
31446 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31447 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31448
31449 DEBUG_INFO=0
31450 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31451 DEBUG_INFO=1
31452 fi
31453
31454 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31455
31456 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31457
31458 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31459
31460 if test "$cross_compiling" = "yes"; then
31461 HOST_SUFFIX="-$host_alias"
31462 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31463 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31464 fi
31465
31466 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31467 if test "${TOOLKIT_DIR}" = "os2"; then
31468 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31469 else
31470 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31471 fi
31472
31473
31474
31475 if test "$wxUSE_COCOA" = 1; then
31476
31477
31478 ac_ext=c
31479 ac_cpp='$CPP $CPPFLAGS'
31480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31483
31484 ac_ext=m
31485
31486 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31487 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31488 cat >conftest.$ac_ext <<_ACEOF
31489 /* confdefs.h. */
31490 _ACEOF
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 #include <AppKit/NSEvent.h>
31495 #include <CoreFoundation/CoreFoundation.h>
31496
31497 int
31498 main ()
31499 {
31500
31501 ;
31502 return 0;
31503 }
31504 _ACEOF
31505 rm -f conftest.$ac_objext
31506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31507 (eval $ac_compile) 2>conftest.er1
31508 ac_status=$?
31509 grep -v '^ *+' conftest.er1 >conftest.err
31510 rm -f conftest.er1
31511 cat conftest.err >&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); } &&
31514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31516 (eval $ac_try) 2>&5
31517 ac_status=$?
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); }; } &&
31520 { ac_try='test -s conftest.$ac_objext'
31521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522 (eval $ac_try) 2>&5
31523 ac_status=$?
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; }; then
31526 echo "$as_me:$LINENO: result: no" >&5
31527 echo "${ECHO_T}no" >&6
31528 else
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31531
31532 echo "$as_me:$LINENO: result: yes" >&5
31533 echo "${ECHO_T}yes" >&6
31534 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31535 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31536 cat >conftest.$ac_ext <<_ACEOF
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542 #define __Point__ 1
31543 #include <AppKit/NSEvent.h>
31544 #include <CoreFoundation/CoreFoundation.h>
31545
31546 int
31547 main ()
31548 {
31549
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 rm -f conftest.$ac_objext
31555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31556 (eval $ac_compile) 2>conftest.er1
31557 ac_status=$?
31558 grep -v '^ *+' conftest.er1 >conftest.err
31559 rm -f conftest.er1
31560 cat conftest.err >&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); } &&
31563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31565 (eval $ac_try) 2>&5
31566 ac_status=$?
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; } &&
31569 { ac_try='test -s conftest.$ac_objext'
31570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31571 (eval $ac_try) 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; }; then
31575 echo "$as_me:$LINENO: result: yes" >&5
31576 echo "${ECHO_T}yes" >&6
31577 cat >>confdefs.h <<\_ACEOF
31578 #define __Point__ 1
31579 _ACEOF
31580
31581
31582 else
31583 echo "$as_me: failed program was:" >&5
31584 sed 's/^/| /' conftest.$ac_ext >&5
31585
31586 { { echo "$as_me:$LINENO: error: no
31587 See \`config.log' for more details." >&5
31588 echo "$as_me: error: no
31589 See \`config.log' for more details." >&2;}
31590 { (exit 1); exit 1; }; }
31591
31592 fi
31593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31594
31595 fi
31596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31597 ac_ext=c
31598 ac_cpp='$CPP $CPPFLAGS'
31599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31602
31603 fi
31604
31605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31606 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31607 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31608
31609 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31610
31611 # Extract the first word of "Rez", so it can be a program name with args.
31612 set dummy Rez; ac_word=$2
31613 echo "$as_me:$LINENO: checking for $ac_word" >&5
31614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31615 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31616 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 else
31618 if test -n "$RESCOMP"; then
31619 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
31620 else
31621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31622 for as_dir in $PATH
31623 do
31624 IFS=$as_save_IFS
31625 test -z "$as_dir" && as_dir=.
31626 for ac_exec_ext in '' $ac_executable_extensions; do
31627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31628 ac_cv_prog_RESCOMP="Rez"
31629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31630 break 2
31631 fi
31632 done
31633 done
31634
31635 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
31636 fi
31637 fi
31638 RESCOMP=$ac_cv_prog_RESCOMP
31639 if test -n "$RESCOMP"; then
31640 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31641 echo "${ECHO_T}$RESCOMP" >&6
31642 else
31643 echo "$as_me:$LINENO: result: no" >&5
31644 echo "${ECHO_T}no" >&6
31645 fi
31646
31647 # Extract the first word of "DeRez", so it can be a program name with args.
31648 set dummy DeRez; ac_word=$2
31649 echo "$as_me:$LINENO: checking for $ac_word" >&5
31650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31651 if test "${ac_cv_prog_DEREZ+set}" = set; then
31652 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 else
31654 if test -n "$DEREZ"; then
31655 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
31656 else
31657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31658 for as_dir in $PATH
31659 do
31660 IFS=$as_save_IFS
31661 test -z "$as_dir" && as_dir=.
31662 for ac_exec_ext in '' $ac_executable_extensions; do
31663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31664 ac_cv_prog_DEREZ="DeRez"
31665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31666 break 2
31667 fi
31668 done
31669 done
31670
31671 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
31672 fi
31673 fi
31674 DEREZ=$ac_cv_prog_DEREZ
31675 if test -n "$DEREZ"; then
31676 echo "$as_me:$LINENO: result: $DEREZ" >&5
31677 echo "${ECHO_T}$DEREZ" >&6
31678 else
31679 echo "$as_me:$LINENO: result: no" >&5
31680 echo "${ECHO_T}no" >&6
31681 fi
31682
31683 # Extract the first word of "SetFile", so it can be a program name with args.
31684 set dummy SetFile; ac_word=$2
31685 echo "$as_me:$LINENO: checking for $ac_word" >&5
31686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31687 if test "${ac_cv_prog_SETFILE+set}" = set; then
31688 echo $ECHO_N "(cached) $ECHO_C" >&6
31689 else
31690 if test -n "$SETFILE"; then
31691 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
31692 else
31693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31694 for as_dir in $PATH
31695 do
31696 IFS=$as_save_IFS
31697 test -z "$as_dir" && as_dir=.
31698 for ac_exec_ext in '' $ac_executable_extensions; do
31699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31700 ac_cv_prog_SETFILE="SetFile"
31701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31702 break 2
31703 fi
31704 done
31705 done
31706
31707 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
31708 fi
31709 fi
31710 SETFILE=$ac_cv_prog_SETFILE
31711 if test -n "$SETFILE"; then
31712 echo "$as_me:$LINENO: result: $SETFILE" >&5
31713 echo "${ECHO_T}$SETFILE" >&6
31714 else
31715 echo "$as_me:$LINENO: result: no" >&5
31716 echo "${ECHO_T}no" >&6
31717 fi
31718
31719
31720 MACSETFILE="\$(SETFILE)"
31721
31722 if test "$wxUSE_MAC" = 1; then
31723 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31724
31725 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31726 else
31727 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31728 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31729 fi
31730 else
31731 MACSETFILE="@true"
31732 MACRESWXCONFIG="@true"
31733
31734 if test "$wxUSE_PM" = 1; then
31735 MACRESCOMP="emxbind -ep"
31736 else
31737 MACRESCOMP="@true"
31738 fi
31739 fi
31740
31741
31742
31743 echo "$as_me:$LINENO: checking for mode_t" >&5
31744 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31745 if test "${ac_cv_type_mode_t+set}" = set; then
31746 echo $ECHO_N "(cached) $ECHO_C" >&6
31747 else
31748 cat >conftest.$ac_ext <<_ACEOF
31749 /* confdefs.h. */
31750 _ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754 $ac_includes_default
31755 int
31756 main ()
31757 {
31758 if ((mode_t *) 0)
31759 return 0;
31760 if (sizeof (mode_t))
31761 return 0;
31762 ;
31763 return 0;
31764 }
31765 _ACEOF
31766 rm -f conftest.$ac_objext
31767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31768 (eval $ac_compile) 2>conftest.er1
31769 ac_status=$?
31770 grep -v '^ *+' conftest.er1 >conftest.err
31771 rm -f conftest.er1
31772 cat conftest.err >&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); } &&
31775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31778 ac_status=$?
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; } &&
31781 { ac_try='test -s conftest.$ac_objext'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; }; then
31787 ac_cv_type_mode_t=yes
31788 else
31789 echo "$as_me: failed program was:" >&5
31790 sed 's/^/| /' conftest.$ac_ext >&5
31791
31792 ac_cv_type_mode_t=no
31793 fi
31794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31795 fi
31796 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31797 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31798 if test $ac_cv_type_mode_t = yes; then
31799 :
31800 else
31801
31802 cat >>confdefs.h <<_ACEOF
31803 #define mode_t int
31804 _ACEOF
31805
31806 fi
31807
31808 echo "$as_me:$LINENO: checking for off_t" >&5
31809 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31810 if test "${ac_cv_type_off_t+set}" = set; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 else
31813 cat >conftest.$ac_ext <<_ACEOF
31814 /* confdefs.h. */
31815 _ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819 $ac_includes_default
31820 int
31821 main ()
31822 {
31823 if ((off_t *) 0)
31824 return 0;
31825 if (sizeof (off_t))
31826 return 0;
31827 ;
31828 return 0;
31829 }
31830 _ACEOF
31831 rm -f conftest.$ac_objext
31832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31833 (eval $ac_compile) 2>conftest.er1
31834 ac_status=$?
31835 grep -v '^ *+' conftest.er1 >conftest.err
31836 rm -f conftest.er1
31837 cat conftest.err >&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } &&
31840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31843 ac_status=$?
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; } &&
31846 { ac_try='test -s conftest.$ac_objext'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; }; then
31852 ac_cv_type_off_t=yes
31853 else
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31856
31857 ac_cv_type_off_t=no
31858 fi
31859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31860 fi
31861 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31862 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31863 if test $ac_cv_type_off_t = yes; then
31864 :
31865 else
31866
31867 cat >>confdefs.h <<_ACEOF
31868 #define off_t long
31869 _ACEOF
31870
31871 fi
31872
31873 echo "$as_me:$LINENO: checking for pid_t" >&5
31874 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31875 if test "${ac_cv_type_pid_t+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31877 else
31878 cat >conftest.$ac_ext <<_ACEOF
31879 /* confdefs.h. */
31880 _ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 $ac_includes_default
31885 int
31886 main ()
31887 {
31888 if ((pid_t *) 0)
31889 return 0;
31890 if (sizeof (pid_t))
31891 return 0;
31892 ;
31893 return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31898 (eval $ac_compile) 2>conftest.er1
31899 ac_status=$?
31900 grep -v '^ *+' conftest.er1 >conftest.err
31901 rm -f conftest.er1
31902 cat conftest.err >&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); } &&
31905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31907 (eval $ac_try) 2>&5
31908 ac_status=$?
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); }; } &&
31911 { ac_try='test -s conftest.$ac_objext'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; }; then
31917 ac_cv_type_pid_t=yes
31918 else
31919 echo "$as_me: failed program was:" >&5
31920 sed 's/^/| /' conftest.$ac_ext >&5
31921
31922 ac_cv_type_pid_t=no
31923 fi
31924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31925 fi
31926 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31927 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31928 if test $ac_cv_type_pid_t = yes; then
31929 :
31930 else
31931
31932 cat >>confdefs.h <<_ACEOF
31933 #define pid_t int
31934 _ACEOF
31935
31936 fi
31937
31938 echo "$as_me:$LINENO: checking for size_t" >&5
31939 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31940 if test "${ac_cv_type_size_t+set}" = set; then
31941 echo $ECHO_N "(cached) $ECHO_C" >&6
31942 else
31943 cat >conftest.$ac_ext <<_ACEOF
31944 /* confdefs.h. */
31945 _ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31949 $ac_includes_default
31950 int
31951 main ()
31952 {
31953 if ((size_t *) 0)
31954 return 0;
31955 if (sizeof (size_t))
31956 return 0;
31957 ;
31958 return 0;
31959 }
31960 _ACEOF
31961 rm -f conftest.$ac_objext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31963 (eval $ac_compile) 2>conftest.er1
31964 ac_status=$?
31965 grep -v '^ *+' conftest.er1 >conftest.err
31966 rm -f conftest.er1
31967 cat conftest.err >&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try='test -z "$ac_c_werror_flag" || 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 ac_cv_type_size_t=yes
31983 else
31984 echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.$ac_ext >&5
31986
31987 ac_cv_type_size_t=no
31988 fi
31989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31990 fi
31991 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31992 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31993 if test $ac_cv_type_size_t = yes; then
31994 :
31995 else
31996
31997 cat >>confdefs.h <<_ACEOF
31998 #define size_t unsigned
31999 _ACEOF
32000
32001 fi
32002
32003 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32004 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32005 if test "${ac_cv_type_uid_t+set}" = set; then
32006 echo $ECHO_N "(cached) $ECHO_C" >&6
32007 else
32008 cat >conftest.$ac_ext <<_ACEOF
32009 /* confdefs.h. */
32010 _ACEOF
32011 cat confdefs.h >>conftest.$ac_ext
32012 cat >>conftest.$ac_ext <<_ACEOF
32013 /* end confdefs.h. */
32014 #include <sys/types.h>
32015
32016 _ACEOF
32017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32018 $EGREP "uid_t" >/dev/null 2>&1; then
32019 ac_cv_type_uid_t=yes
32020 else
32021 ac_cv_type_uid_t=no
32022 fi
32023 rm -f conftest*
32024
32025 fi
32026 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32027 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32028 if test $ac_cv_type_uid_t = no; then
32029
32030 cat >>confdefs.h <<\_ACEOF
32031 #define uid_t int
32032 _ACEOF
32033
32034
32035 cat >>confdefs.h <<\_ACEOF
32036 #define gid_t int
32037 _ACEOF
32038
32039 fi
32040
32041
32042 echo "$as_me:$LINENO: checking for ssize_t" >&5
32043 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32044 if test "${ac_cv_type_ssize_t+set}" = set; then
32045 echo $ECHO_N "(cached) $ECHO_C" >&6
32046 else
32047 cat >conftest.$ac_ext <<_ACEOF
32048 /* confdefs.h. */
32049 _ACEOF
32050 cat confdefs.h >>conftest.$ac_ext
32051 cat >>conftest.$ac_ext <<_ACEOF
32052 /* end confdefs.h. */
32053 $ac_includes_default
32054 int
32055 main ()
32056 {
32057 if ((ssize_t *) 0)
32058 return 0;
32059 if (sizeof (ssize_t))
32060 return 0;
32061 ;
32062 return 0;
32063 }
32064 _ACEOF
32065 rm -f conftest.$ac_objext
32066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32067 (eval $ac_compile) 2>conftest.er1
32068 ac_status=$?
32069 grep -v '^ *+' conftest.er1 >conftest.err
32070 rm -f conftest.er1
32071 cat conftest.err >&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); } &&
32074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32076 (eval $ac_try) 2>&5
32077 ac_status=$?
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); }; } &&
32080 { ac_try='test -s conftest.$ac_objext'
32081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32082 (eval $ac_try) 2>&5
32083 ac_status=$?
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); }; }; then
32086 ac_cv_type_ssize_t=yes
32087 else
32088 echo "$as_me: failed program was:" >&5
32089 sed 's/^/| /' conftest.$ac_ext >&5
32090
32091 ac_cv_type_ssize_t=no
32092 fi
32093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32094 fi
32095 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32096 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32097 if test $ac_cv_type_ssize_t = yes; then
32098
32099 cat >>confdefs.h <<_ACEOF
32100 #define HAVE_SSIZE_T 1
32101 _ACEOF
32102
32103
32104 fi
32105
32106
32107
32108
32109 ac_ext=cc
32110 ac_cpp='$CXXCPP $CPPFLAGS'
32111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32114
32115 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32116 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32117 if test "${wx_cv_size_t_is_uint+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120
32121 cat >conftest.$ac_ext <<_ACEOF
32122 /* confdefs.h. */
32123 _ACEOF
32124 cat confdefs.h >>conftest.$ac_ext
32125 cat >>conftest.$ac_ext <<_ACEOF
32126 /* end confdefs.h. */
32127 #include <stddef.h>
32128 int
32129 main ()
32130 {
32131
32132 return 0; }
32133
32134 struct Foo { void foo(size_t); void foo(unsigned int); };
32135
32136 int bar() {
32137
32138 ;
32139 return 0;
32140 }
32141 _ACEOF
32142 rm -f conftest.$ac_objext
32143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32144 (eval $ac_compile) 2>conftest.er1
32145 ac_status=$?
32146 grep -v '^ *+' conftest.er1 >conftest.err
32147 rm -f conftest.er1
32148 cat conftest.err >&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } &&
32151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32153 (eval $ac_try) 2>&5
32154 ac_status=$?
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); }; } &&
32157 { ac_try='test -s conftest.$ac_objext'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; }; then
32163 wx_cv_size_t_is_uint=no
32164 else
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32167
32168 wx_cv_size_t_is_uint=yes
32169
32170 fi
32171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32172
32173
32174 fi
32175 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32176 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32177
32178 if test "$wx_cv_size_t_is_uint" = "yes"; then
32179 cat >>confdefs.h <<\_ACEOF
32180 #define wxSIZE_T_IS_UINT 1
32181 _ACEOF
32182
32183 else
32184 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32185 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32186 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32187 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 else
32189 cat >conftest.$ac_ext <<_ACEOF
32190 /* confdefs.h. */
32191 _ACEOF
32192 cat confdefs.h >>conftest.$ac_ext
32193 cat >>conftest.$ac_ext <<_ACEOF
32194 /* end confdefs.h. */
32195 #include <stddef.h>
32196 int
32197 main ()
32198 {
32199
32200 return 0; }
32201
32202 struct Foo { void foo(size_t); void foo(unsigned long); };
32203
32204 int bar() {
32205
32206 ;
32207 return 0;
32208 }
32209 _ACEOF
32210 rm -f conftest.$ac_objext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32212 (eval $ac_compile) 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try='test -s conftest.$ac_objext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32228 ac_status=$?
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 wx_cv_size_t_is_ulong=no
32232 else
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.$ac_ext >&5
32235
32236 wx_cv_size_t_is_ulong=yes
32237
32238 fi
32239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32240
32241 fi
32242 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32243 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32244
32245 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32246 cat >>confdefs.h <<\_ACEOF
32247 #define wxSIZE_T_IS_ULONG 1
32248 _ACEOF
32249
32250 fi
32251 fi
32252
32253 ac_ext=c
32254 ac_cpp='$CPP $CPPFLAGS'
32255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32258
32259
32260
32261 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32262 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32263 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32265 else
32266
32267 cat >conftest.$ac_ext <<_ACEOF
32268 /* confdefs.h. */
32269 _ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 #include <pwd.h>
32274 int
32275 main ()
32276 {
32277
32278 char *p;
32279 struct passwd *pw;
32280 p = pw->pw_gecos;
32281
32282 ;
32283 return 0;
32284 }
32285 _ACEOF
32286 rm -f conftest.$ac_objext
32287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32288 (eval $ac_compile) 2>conftest.er1
32289 ac_status=$?
32290 grep -v '^ *+' conftest.er1 >conftest.err
32291 rm -f conftest.er1
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } &&
32295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; } &&
32301 { ac_try='test -s conftest.$ac_objext'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; }; then
32307
32308 wx_cv_struct_pw_gecos=yes
32309
32310 else
32311 echo "$as_me: failed program was:" >&5
32312 sed 's/^/| /' conftest.$ac_ext >&5
32313
32314
32315 wx_cv_struct_pw_gecos=no
32316
32317
32318 fi
32319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32320
32321
32322 fi
32323 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32324 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32325
32326 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32327 cat >>confdefs.h <<\_ACEOF
32328 #define HAVE_PW_GECOS 1
32329 _ACEOF
32330
32331 fi
32332
32333
32334 if test "$wxUSE_WCHAR_T" = "yes"; then
32335 cat >>confdefs.h <<\_ACEOF
32336 #define wxUSE_WCHAR_T 1
32337 _ACEOF
32338
32339
32340 WCSLEN_FOUND=0
32341 WCHAR_LINK=
32342
32343 for ac_func in wcslen
32344 do
32345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32346 echo "$as_me:$LINENO: checking for $ac_func" >&5
32347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32348 if eval "test \"\${$as_ac_var+set}\" = set"; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32350 else
32351 cat >conftest.$ac_ext <<_ACEOF
32352 /* confdefs.h. */
32353 _ACEOF
32354 cat confdefs.h >>conftest.$ac_ext
32355 cat >>conftest.$ac_ext <<_ACEOF
32356 /* end confdefs.h. */
32357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32359 #define $ac_func innocuous_$ac_func
32360
32361 /* System header to define __stub macros and hopefully few prototypes,
32362 which can conflict with char $ac_func (); below.
32363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32364 <limits.h> exists even on freestanding compilers. */
32365
32366 #ifdef __STDC__
32367 # include <limits.h>
32368 #else
32369 # include <assert.h>
32370 #endif
32371
32372 #undef $ac_func
32373
32374 /* Override any gcc2 internal prototype to avoid an error. */
32375 #ifdef __cplusplus
32376 extern "C"
32377 {
32378 #endif
32379 /* We use char because int might match the return type of a gcc2
32380 builtin and then its argument prototype would still apply. */
32381 char $ac_func ();
32382 /* The GNU C library defines this for functions which it implements
32383 to always fail with ENOSYS. Some functions are actually named
32384 something starting with __ and the normal name is an alias. */
32385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32386 choke me
32387 #else
32388 char (*f) () = $ac_func;
32389 #endif
32390 #ifdef __cplusplus
32391 }
32392 #endif
32393
32394 int
32395 main ()
32396 {
32397 return f != $ac_func;
32398 ;
32399 return 0;
32400 }
32401 _ACEOF
32402 rm -f conftest.$ac_objext conftest$ac_exeext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32404 (eval $ac_link) 2>conftest.er1
32405 ac_status=$?
32406 grep -v '^ *+' conftest.er1 >conftest.err
32407 rm -f conftest.er1
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32414 ac_status=$?
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; } &&
32417 { ac_try='test -s conftest$ac_exeext'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32420 ac_status=$?
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; }; then
32423 eval "$as_ac_var=yes"
32424 else
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32427
32428 eval "$as_ac_var=no"
32429 fi
32430 rm -f conftest.err conftest.$ac_objext \
32431 conftest$ac_exeext conftest.$ac_ext
32432 fi
32433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32435 if test `eval echo '${'$as_ac_var'}'` = yes; then
32436 cat >>confdefs.h <<_ACEOF
32437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32438 _ACEOF
32439 WCSLEN_FOUND=1
32440 fi
32441 done
32442
32443
32444 if test "$WCSLEN_FOUND" = 0; then
32445 if test "$TOOLKIT" = "MSW"; then
32446 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32447 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32448 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32449 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 else
32451 ac_check_lib_save_LIBS=$LIBS
32452 LIBS="-lmsvcrt $LIBS"
32453 cat >conftest.$ac_ext <<_ACEOF
32454 /* confdefs.h. */
32455 _ACEOF
32456 cat confdefs.h >>conftest.$ac_ext
32457 cat >>conftest.$ac_ext <<_ACEOF
32458 /* end confdefs.h. */
32459
32460 /* Override any gcc2 internal prototype to avoid an error. */
32461 #ifdef __cplusplus
32462 extern "C"
32463 #endif
32464 /* We use char because int might match the return type of a gcc2
32465 builtin and then its argument prototype would still apply. */
32466 char wcslen ();
32467 int
32468 main ()
32469 {
32470 wcslen ();
32471 ;
32472 return 0;
32473 }
32474 _ACEOF
32475 rm -f conftest.$ac_objext conftest$ac_exeext
32476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32477 (eval $ac_link) 2>conftest.er1
32478 ac_status=$?
32479 grep -v '^ *+' conftest.er1 >conftest.err
32480 rm -f conftest.er1
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } &&
32484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; } &&
32490 { ac_try='test -s conftest$ac_exeext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496 ac_cv_lib_msvcrt_wcslen=yes
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501 ac_cv_lib_msvcrt_wcslen=no
32502 fi
32503 rm -f conftest.err conftest.$ac_objext \
32504 conftest$ac_exeext conftest.$ac_ext
32505 LIBS=$ac_check_lib_save_LIBS
32506 fi
32507 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32508 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32509 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32510 WCHAR_OK=1
32511 fi
32512
32513 else
32514 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32515 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32516 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32517 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 else
32519 ac_check_lib_save_LIBS=$LIBS
32520 LIBS="-lw $LIBS"
32521 cat >conftest.$ac_ext <<_ACEOF
32522 /* confdefs.h. */
32523 _ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32527
32528 /* Override any gcc2 internal prototype to avoid an error. */
32529 #ifdef __cplusplus
32530 extern "C"
32531 #endif
32532 /* We use char because int might match the return type of a gcc2
32533 builtin and then its argument prototype would still apply. */
32534 char wcslen ();
32535 int
32536 main ()
32537 {
32538 wcslen ();
32539 ;
32540 return 0;
32541 }
32542 _ACEOF
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32545 (eval $ac_link) 2>conftest.er1
32546 ac_status=$?
32547 grep -v '^ *+' conftest.er1 >conftest.err
32548 rm -f conftest.er1
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32554 (eval $ac_try) 2>&5
32555 ac_status=$?
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); }; } &&
32558 { ac_try='test -s conftest$ac_exeext'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32561 ac_status=$?
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; }; then
32564 ac_cv_lib_w_wcslen=yes
32565 else
32566 echo "$as_me: failed program was:" >&5
32567 sed 's/^/| /' conftest.$ac_ext >&5
32568
32569 ac_cv_lib_w_wcslen=no
32570 fi
32571 rm -f conftest.err conftest.$ac_objext \
32572 conftest$ac_exeext conftest.$ac_ext
32573 LIBS=$ac_check_lib_save_LIBS
32574 fi
32575 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32576 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32577 if test $ac_cv_lib_w_wcslen = yes; then
32578
32579 WCHAR_LINK=" -lw"
32580 WCSLEN_FOUND=1
32581
32582 fi
32583
32584 fi
32585 fi
32586
32587 if test "$WCSLEN_FOUND" = 1; then
32588 cat >>confdefs.h <<\_ACEOF
32589 #define HAVE_WCSLEN 1
32590 _ACEOF
32591
32592 fi
32593
32594 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32595 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32596 fi
32597
32598 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32599 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32600 if test "${ac_cv_type_mbstate_t+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32602 else
32603 cat >conftest.$ac_ext <<_ACEOF
32604 /* confdefs.h. */
32605 _ACEOF
32606 cat confdefs.h >>conftest.$ac_ext
32607 cat >>conftest.$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32609 #include <wchar.h>
32610
32611 int
32612 main ()
32613 {
32614 if ((mbstate_t *) 0)
32615 return 0;
32616 if (sizeof (mbstate_t))
32617 return 0;
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext
32623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32624 (eval $ac_compile) 2>conftest.er1
32625 ac_status=$?
32626 grep -v '^ *+' conftest.er1 >conftest.err
32627 rm -f conftest.er1
32628 cat conftest.err >&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } &&
32631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32634 ac_status=$?
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try='test -s conftest.$ac_objext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32640 ac_status=$?
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 ac_cv_type_mbstate_t=yes
32644 else
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32647
32648 ac_cv_type_mbstate_t=no
32649 fi
32650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32651 fi
32652 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32653 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32654 if test $ac_cv_type_mbstate_t = yes; then
32655
32656 cat >>confdefs.h <<_ACEOF
32657 #define HAVE_MBSTATE_T 1
32658 _ACEOF
32659
32660
32661 for ac_func in wcsrtombs
32662 do
32663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32664 echo "$as_me:$LINENO: checking for $ac_func" >&5
32665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32666 if eval "test \"\${$as_ac_var+set}\" = set"; then
32667 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 else
32669 cat >conftest.$ac_ext <<_ACEOF
32670 /* confdefs.h. */
32671 _ACEOF
32672 cat confdefs.h >>conftest.$ac_ext
32673 cat >>conftest.$ac_ext <<_ACEOF
32674 /* end confdefs.h. */
32675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32677 #define $ac_func innocuous_$ac_func
32678
32679 /* System header to define __stub macros and hopefully few prototypes,
32680 which can conflict with char $ac_func (); below.
32681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32682 <limits.h> exists even on freestanding compilers. */
32683
32684 #ifdef __STDC__
32685 # include <limits.h>
32686 #else
32687 # include <assert.h>
32688 #endif
32689
32690 #undef $ac_func
32691
32692 /* Override any gcc2 internal prototype to avoid an error. */
32693 #ifdef __cplusplus
32694 extern "C"
32695 {
32696 #endif
32697 /* We use char because int might match the return type of a gcc2
32698 builtin and then its argument prototype would still apply. */
32699 char $ac_func ();
32700 /* The GNU C library defines this for functions which it implements
32701 to always fail with ENOSYS. Some functions are actually named
32702 something starting with __ and the normal name is an alias. */
32703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32704 choke me
32705 #else
32706 char (*f) () = $ac_func;
32707 #endif
32708 #ifdef __cplusplus
32709 }
32710 #endif
32711
32712 int
32713 main ()
32714 {
32715 return f != $ac_func;
32716 ;
32717 return 0;
32718 }
32719 _ACEOF
32720 rm -f conftest.$ac_objext conftest$ac_exeext
32721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32722 (eval $ac_link) 2>conftest.er1
32723 ac_status=$?
32724 grep -v '^ *+' conftest.er1 >conftest.err
32725 rm -f conftest.er1
32726 cat conftest.err >&5
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); } &&
32729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731 (eval $ac_try) 2>&5
32732 ac_status=$?
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); }; } &&
32735 { ac_try='test -s conftest$ac_exeext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32738 ac_status=$?
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
32741 eval "$as_ac_var=yes"
32742 else
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.$ac_ext >&5
32745
32746 eval "$as_ac_var=no"
32747 fi
32748 rm -f conftest.err conftest.$ac_objext \
32749 conftest$ac_exeext conftest.$ac_ext
32750 fi
32751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32753 if test `eval echo '${'$as_ac_var'}'` = yes; then
32754 cat >>confdefs.h <<_ACEOF
32755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32756 _ACEOF
32757
32758 fi
32759 done
32760
32761 fi
32762
32763 else
32764 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32765 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32766 fi
32767
32768
32769
32770 ac_ext=cc
32771 ac_cpp='$CXXCPP $CPPFLAGS'
32772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775
32776
32777
32778
32779 for ac_func in snprintf vsnprintf
32780 do
32781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32782 echo "$as_me:$LINENO: checking for $ac_func" >&5
32783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32784 if eval "test \"\${$as_ac_var+set}\" = set"; then
32785 echo $ECHO_N "(cached) $ECHO_C" >&6
32786 else
32787 cat >conftest.$ac_ext <<_ACEOF
32788 /* confdefs.h. */
32789 _ACEOF
32790 cat confdefs.h >>conftest.$ac_ext
32791 cat >>conftest.$ac_ext <<_ACEOF
32792 /* end confdefs.h. */
32793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32795 #define $ac_func innocuous_$ac_func
32796
32797 /* System header to define __stub macros and hopefully few prototypes,
32798 which can conflict with char $ac_func (); below.
32799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32800 <limits.h> exists even on freestanding compilers. */
32801
32802 #ifdef __STDC__
32803 # include <limits.h>
32804 #else
32805 # include <assert.h>
32806 #endif
32807
32808 #undef $ac_func
32809
32810 /* Override any gcc2 internal prototype to avoid an error. */
32811 #ifdef __cplusplus
32812 extern "C"
32813 {
32814 #endif
32815 /* We use char because int might match the return type of a gcc2
32816 builtin and then its argument prototype would still apply. */
32817 char $ac_func ();
32818 /* The GNU C library defines this for functions which it implements
32819 to always fail with ENOSYS. Some functions are actually named
32820 something starting with __ and the normal name is an alias. */
32821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32822 choke me
32823 #else
32824 char (*f) () = $ac_func;
32825 #endif
32826 #ifdef __cplusplus
32827 }
32828 #endif
32829
32830 int
32831 main ()
32832 {
32833 return f != $ac_func;
32834 ;
32835 return 0;
32836 }
32837 _ACEOF
32838 rm -f conftest.$ac_objext conftest$ac_exeext
32839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32840 (eval $ac_link) 2>conftest.er1
32841 ac_status=$?
32842 grep -v '^ *+' conftest.er1 >conftest.err
32843 rm -f conftest.er1
32844 cat conftest.err >&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } &&
32847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32850 ac_status=$?
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; } &&
32853 { ac_try='test -s conftest$ac_exeext'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32856 ac_status=$?
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; }; then
32859 eval "$as_ac_var=yes"
32860 else
32861 echo "$as_me: failed program was:" >&5
32862 sed 's/^/| /' conftest.$ac_ext >&5
32863
32864 eval "$as_ac_var=no"
32865 fi
32866 rm -f conftest.err conftest.$ac_objext \
32867 conftest$ac_exeext conftest.$ac_ext
32868 fi
32869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32871 if test `eval echo '${'$as_ac_var'}'` = yes; then
32872 cat >>confdefs.h <<_ACEOF
32873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32874 _ACEOF
32875
32876 fi
32877 done
32878
32879
32880 if test "$ac_cv_func_vsnprintf" = "yes"; then
32881 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32882 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32883 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32884 echo $ECHO_N "(cached) $ECHO_C" >&6
32885 else
32886
32887 cat >conftest.$ac_ext <<_ACEOF
32888 /* confdefs.h. */
32889 _ACEOF
32890 cat confdefs.h >>conftest.$ac_ext
32891 cat >>conftest.$ac_ext <<_ACEOF
32892 /* end confdefs.h. */
32893
32894 #include <stdio.h>
32895 #include <stdarg.h>
32896 #ifdef __MSL__
32897 #if __MSL__ >= 0x6000
32898 namespace std {}
32899 using namespace std;
32900 #endif
32901 #endif
32902
32903 int
32904 main ()
32905 {
32906
32907 char *buf;
32908 va_list ap;
32909 vsnprintf(buf, 10u, "%s", ap);
32910
32911 ;
32912 return 0;
32913 }
32914 _ACEOF
32915 rm -f conftest.$ac_objext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32917 (eval $ac_compile) 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; } &&
32930 { ac_try='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 wx_cv_func_vsnprintf_decl=yes
32937 else
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32940
32941 wx_cv_func_vsnprintf_decl=no
32942
32943 fi
32944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32945
32946
32947 fi
32948 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32949 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32950
32951 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32952 cat >>confdefs.h <<\_ACEOF
32953 #define HAVE_VSNPRINTF_DECL 1
32954 _ACEOF
32955
32956
32957 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32958 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32959 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962
32963 cat >conftest.$ac_ext <<_ACEOF
32964 /* confdefs.h. */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32969
32970 #include <stdio.h>
32971 #include <stdarg.h>
32972 #ifdef __MSL__
32973 #if __MSL__ >= 0x6000
32974 namespace std {}
32975 using namespace std;
32976 #endif
32977 #endif
32978
32979 int
32980 main ()
32981 {
32982
32983 char *buf;
32984 va_list ap;
32985 const char *fmt = "%s";
32986 vsnprintf(buf, 10u, fmt, ap);
32987
32988 ;
32989 return 0;
32990 }
32991 _ACEOF
32992 rm -f conftest.$ac_objext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32994 (eval $ac_compile) 2>conftest.er1
32995 ac_status=$?
32996 grep -v '^ *+' conftest.er1 >conftest.err
32997 rm -f conftest.er1
32998 cat conftest.err >&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); } &&
33001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; } &&
33007 { ac_try='test -s conftest.$ac_objext'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33010 ac_status=$?
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; }; then
33013 wx_cv_func_broken_vsnprintf_decl=no
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018 wx_cv_func_broken_vsnprintf_decl=yes
33019
33020 fi
33021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33022
33023
33024 fi
33025 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33026 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33027
33028 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33029 cat >>confdefs.h <<\_ACEOF
33030 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33031 _ACEOF
33032
33033 fi
33034 fi
33035 fi
33036
33037 if test "$ac_cv_func_snprintf" = "yes"; then
33038 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33039 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33040 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33041 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 else
33043
33044 cat >conftest.$ac_ext <<_ACEOF
33045 /* confdefs.h. */
33046 _ACEOF
33047 cat confdefs.h >>conftest.$ac_ext
33048 cat >>conftest.$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33050
33051 #include <stdio.h>
33052 #include <stdarg.h>
33053 #ifdef __MSL__
33054 #if __MSL__ >= 0x6000
33055 namespace std {}
33056 using namespace std;
33057 #endif
33058 #endif
33059
33060 int
33061 main ()
33062 {
33063
33064 char *buf;
33065 snprintf(buf, 10u, "%s", "wx");
33066
33067 ;
33068 return 0;
33069 }
33070 _ACEOF
33071 rm -f conftest.$ac_objext
33072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33073 (eval $ac_compile) 2>conftest.er1
33074 ac_status=$?
33075 grep -v '^ *+' conftest.er1 >conftest.err
33076 rm -f conftest.er1
33077 cat conftest.err >&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } &&
33080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } &&
33086 { ac_try='test -s conftest.$ac_objext'
33087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088 (eval $ac_try) 2>&5
33089 ac_status=$?
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); }; }; then
33092 wx_cv_func_snprintf_decl=yes
33093 else
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33096
33097 wx_cv_func_snprintf_decl=no
33098
33099 fi
33100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33101
33102
33103 fi
33104 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33105 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33106
33107 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33108 cat >>confdefs.h <<\_ACEOF
33109 #define HAVE_SNPRINTF_DECL 1
33110 _ACEOF
33111
33112
33113 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33114 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33115 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 else
33118
33119 cat >conftest.$ac_ext <<_ACEOF
33120 /* confdefs.h. */
33121 _ACEOF
33122 cat confdefs.h >>conftest.$ac_ext
33123 cat >>conftest.$ac_ext <<_ACEOF
33124 /* end confdefs.h. */
33125
33126 #include <stdio.h>
33127 #include <stdarg.h>
33128 #ifdef __MSL__
33129 #if __MSL__ >= 0x6000
33130 namespace std {}
33131 using namespace std;
33132 #endif
33133 #endif
33134
33135 int
33136 main ()
33137 {
33138
33139 char *buf;
33140 const char *fmt = "%s";
33141 snprintf(buf, 10u, fmt, "wx");
33142
33143 ;
33144 return 0;
33145 }
33146 _ACEOF
33147 rm -f conftest.$ac_objext
33148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33149 (eval $ac_compile) 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_cxx_werror_flag" || test ! -s conftest.err'
33157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33158 (eval $ac_try) 2>&5
33159 ac_status=$?
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); }; } &&
33162 { ac_try='test -s conftest.$ac_objext'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33165 ac_status=$?
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; }; then
33168 wx_cv_func_broken_snprintf_decl=no
33169 else
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33172
33173 wx_cv_func_broken_snprintf_decl=yes
33174
33175 fi
33176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33177
33178
33179 fi
33180 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33181 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33182
33183 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33184 cat >>confdefs.h <<\_ACEOF
33185 #define HAVE_BROKEN_SNPRINTF_DECL 1
33186 _ACEOF
33187
33188 fi
33189 fi
33190 fi
33191
33192 if test "$wxUSE_UNICODE" = yes; then
33193
33194
33195
33196
33197
33198
33199 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33200 do
33201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33202 echo "$as_me:$LINENO: checking for $ac_func" >&5
33203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33204 if eval "test \"\${$as_ac_var+set}\" = set"; then
33205 echo $ECHO_N "(cached) $ECHO_C" >&6
33206 else
33207 cat >conftest.$ac_ext <<_ACEOF
33208 /* confdefs.h. */
33209 _ACEOF
33210 cat confdefs.h >>conftest.$ac_ext
33211 cat >>conftest.$ac_ext <<_ACEOF
33212 /* end confdefs.h. */
33213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33215 #define $ac_func innocuous_$ac_func
33216
33217 /* System header to define __stub macros and hopefully few prototypes,
33218 which can conflict with char $ac_func (); below.
33219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33220 <limits.h> exists even on freestanding compilers. */
33221
33222 #ifdef __STDC__
33223 # include <limits.h>
33224 #else
33225 # include <assert.h>
33226 #endif
33227
33228 #undef $ac_func
33229
33230 /* Override any gcc2 internal prototype to avoid an error. */
33231 #ifdef __cplusplus
33232 extern "C"
33233 {
33234 #endif
33235 /* We use char because int might match the return type of a gcc2
33236 builtin and then its argument prototype would still apply. */
33237 char $ac_func ();
33238 /* The GNU C library defines this for functions which it implements
33239 to always fail with ENOSYS. Some functions are actually named
33240 something starting with __ and the normal name is an alias. */
33241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33242 choke me
33243 #else
33244 char (*f) () = $ac_func;
33245 #endif
33246 #ifdef __cplusplus
33247 }
33248 #endif
33249
33250 int
33251 main ()
33252 {
33253 return f != $ac_func;
33254 ;
33255 return 0;
33256 }
33257 _ACEOF
33258 rm -f conftest.$ac_objext conftest$ac_exeext
33259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33260 (eval $ac_link) 2>conftest.er1
33261 ac_status=$?
33262 grep -v '^ *+' conftest.er1 >conftest.err
33263 rm -f conftest.er1
33264 cat conftest.err >&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } &&
33267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269 (eval $ac_try) 2>&5
33270 ac_status=$?
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; } &&
33273 { ac_try='test -s conftest$ac_exeext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33276 ac_status=$?
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 eval "$as_ac_var=yes"
33280 else
33281 echo "$as_me: failed program was:" >&5
33282 sed 's/^/| /' conftest.$ac_ext >&5
33283
33284 eval "$as_ac_var=no"
33285 fi
33286 rm -f conftest.err conftest.$ac_objext \
33287 conftest$ac_exeext conftest.$ac_ext
33288 fi
33289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33291 if test `eval echo '${'$as_ac_var'}'` = yes; then
33292 cat >>confdefs.h <<_ACEOF
33293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33294 _ACEOF
33295
33296 fi
33297 done
33298
33299
33300 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33301 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33302 cat >conftest.$ac_ext <<_ACEOF
33303 /* confdefs.h. */
33304 _ACEOF
33305 cat confdefs.h >>conftest.$ac_ext
33306 cat >>conftest.$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308 #include <wchar.h>
33309 int
33310 main ()
33311 {
33312 &_vsnwprintf;
33313 ;
33314 return 0;
33315 }
33316 _ACEOF
33317 rm -f conftest.$ac_objext
33318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33319 (eval $ac_compile) 2>conftest.er1
33320 ac_status=$?
33321 grep -v '^ *+' conftest.er1 >conftest.err
33322 rm -f conftest.er1
33323 cat conftest.err >&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } &&
33326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33329 ac_status=$?
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; } &&
33332 { ac_try='test -s conftest.$ac_objext'
33333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33334 (eval $ac_try) 2>&5
33335 ac_status=$?
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); }; }; then
33338 echo "$as_me:$LINENO: result: yes" >&5
33339 echo "${ECHO_T}yes" >&6
33340 cat >>confdefs.h <<\_ACEOF
33341 #define HAVE__VSNWPRINTF 1
33342 _ACEOF
33343
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 echo "$as_me:$LINENO: result: no" >&5
33349 echo "${ECHO_T}no" >&6
33350 fi
33351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33352 fi
33353
33354 ac_ext=c
33355 ac_cpp='$CPP $CPPFLAGS'
33356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359
33360
33361 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33362
33363 for ac_func in fnmatch
33364 do
33365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33366 echo "$as_me:$LINENO: checking for $ac_func" >&5
33367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33368 if eval "test \"\${$as_ac_var+set}\" = set"; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33370 else
33371 cat >conftest.$ac_ext <<_ACEOF
33372 /* confdefs.h. */
33373 _ACEOF
33374 cat confdefs.h >>conftest.$ac_ext
33375 cat >>conftest.$ac_ext <<_ACEOF
33376 /* end confdefs.h. */
33377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33379 #define $ac_func innocuous_$ac_func
33380
33381 /* System header to define __stub macros and hopefully few prototypes,
33382 which can conflict with char $ac_func (); below.
33383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33384 <limits.h> exists even on freestanding compilers. */
33385
33386 #ifdef __STDC__
33387 # include <limits.h>
33388 #else
33389 # include <assert.h>
33390 #endif
33391
33392 #undef $ac_func
33393
33394 /* Override any gcc2 internal prototype to avoid an error. */
33395 #ifdef __cplusplus
33396 extern "C"
33397 {
33398 #endif
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33401 char $ac_func ();
33402 /* The GNU C library defines this for functions which it implements
33403 to always fail with ENOSYS. Some functions are actually named
33404 something starting with __ and the normal name is an alias. */
33405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33406 choke me
33407 #else
33408 char (*f) () = $ac_func;
33409 #endif
33410 #ifdef __cplusplus
33411 }
33412 #endif
33413
33414 int
33415 main ()
33416 {
33417 return f != $ac_func;
33418 ;
33419 return 0;
33420 }
33421 _ACEOF
33422 rm -f conftest.$ac_objext conftest$ac_exeext
33423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33424 (eval $ac_link) 2>conftest.er1
33425 ac_status=$?
33426 grep -v '^ *+' conftest.er1 >conftest.err
33427 rm -f conftest.er1
33428 cat conftest.err >&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); } &&
33431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33434 ac_status=$?
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; } &&
33437 { ac_try='test -s conftest$ac_exeext'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33440 ac_status=$?
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; }; then
33443 eval "$as_ac_var=yes"
33444 else
33445 echo "$as_me: failed program was:" >&5
33446 sed 's/^/| /' conftest.$ac_ext >&5
33447
33448 eval "$as_ac_var=no"
33449 fi
33450 rm -f conftest.err conftest.$ac_objext \
33451 conftest$ac_exeext conftest.$ac_ext
33452 fi
33453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33455 if test `eval echo '${'$as_ac_var'}'` = yes; then
33456 cat >>confdefs.h <<_ACEOF
33457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33458 _ACEOF
33459
33460 fi
33461 done
33462
33463 fi
33464
33465 if test "$wxUSE_FILE" = "yes"; then
33466
33467 for ac_func in fsync
33468 do
33469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33470 echo "$as_me:$LINENO: checking for $ac_func" >&5
33471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33472 if eval "test \"\${$as_ac_var+set}\" = set"; then
33473 echo $ECHO_N "(cached) $ECHO_C" >&6
33474 else
33475 cat >conftest.$ac_ext <<_ACEOF
33476 /* confdefs.h. */
33477 _ACEOF
33478 cat confdefs.h >>conftest.$ac_ext
33479 cat >>conftest.$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33483 #define $ac_func innocuous_$ac_func
33484
33485 /* System header to define __stub macros and hopefully few prototypes,
33486 which can conflict with char $ac_func (); below.
33487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33488 <limits.h> exists even on freestanding compilers. */
33489
33490 #ifdef __STDC__
33491 # include <limits.h>
33492 #else
33493 # include <assert.h>
33494 #endif
33495
33496 #undef $ac_func
33497
33498 /* Override any gcc2 internal prototype to avoid an error. */
33499 #ifdef __cplusplus
33500 extern "C"
33501 {
33502 #endif
33503 /* We use char because int might match the return type of a gcc2
33504 builtin and then its argument prototype would still apply. */
33505 char $ac_func ();
33506 /* The GNU C library defines this for functions which it implements
33507 to always fail with ENOSYS. Some functions are actually named
33508 something starting with __ and the normal name is an alias. */
33509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33510 choke me
33511 #else
33512 char (*f) () = $ac_func;
33513 #endif
33514 #ifdef __cplusplus
33515 }
33516 #endif
33517
33518 int
33519 main ()
33520 {
33521 return f != $ac_func;
33522 ;
33523 return 0;
33524 }
33525 _ACEOF
33526 rm -f conftest.$ac_objext conftest$ac_exeext
33527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33528 (eval $ac_link) 2>conftest.er1
33529 ac_status=$?
33530 grep -v '^ *+' conftest.er1 >conftest.err
33531 rm -f conftest.er1
33532 cat conftest.err >&5
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); } &&
33535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 eval "$as_ac_var=yes"
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 eval "$as_ac_var=no"
33553 fi
33554 rm -f conftest.err conftest.$ac_objext \
33555 conftest$ac_exeext conftest.$ac_ext
33556 fi
33557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33559 if test `eval echo '${'$as_ac_var'}'` = yes; then
33560 cat >>confdefs.h <<_ACEOF
33561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33562 _ACEOF
33563
33564 fi
33565 done
33566
33567 fi
33568
33569
33570 if test "$TOOLKIT" != "MSW"; then
33571
33572
33573
33574
33575 ac_ext=cc
33576 ac_cpp='$CXXCPP $CPPFLAGS'
33577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33580
33581
33582
33583
33584 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33585 if test "${with_libiconv_prefix+set}" = set; then
33586 withval="$with_libiconv_prefix"
33587
33588 for dir in `echo "$withval" | tr : ' '`; do
33589 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
33590 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
33591 done
33592
33593 fi;
33594
33595 echo "$as_me:$LINENO: checking for iconv" >&5
33596 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33597 if test "${am_cv_func_iconv+set}" = set; then
33598 echo $ECHO_N "(cached) $ECHO_C" >&6
33599 else
33600
33601 am_cv_func_iconv="no, consider installing GNU libiconv"
33602 am_cv_lib_iconv=no
33603 cat >conftest.$ac_ext <<_ACEOF
33604 /* confdefs.h. */
33605 _ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609 #include <stdlib.h>
33610 #include <iconv.h>
33611 int
33612 main ()
33613 {
33614 iconv_t cd = iconv_open("","");
33615 iconv(cd,NULL,NULL,NULL,NULL);
33616 iconv_close(cd);
33617 ;
33618 return 0;
33619 }
33620 _ACEOF
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33623 (eval $ac_link) 2>conftest.er1
33624 ac_status=$?
33625 grep -v '^ *+' conftest.er1 >conftest.err
33626 rm -f conftest.er1
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } &&
33630 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33632 (eval $ac_try) 2>&5
33633 ac_status=$?
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); }; } &&
33636 { ac_try='test -s conftest$ac_exeext'
33637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638 (eval $ac_try) 2>&5
33639 ac_status=$?
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); }; }; then
33642 am_cv_func_iconv=yes
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 fi
33648 rm -f conftest.err conftest.$ac_objext \
33649 conftest$ac_exeext conftest.$ac_ext
33650 if test "$am_cv_func_iconv" != yes; then
33651 am_save_LIBS="$LIBS"
33652 LIBS="$LIBS -liconv"
33653 cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h. */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 #include <stdlib.h>
33660 #include <iconv.h>
33661 int
33662 main ()
33663 {
33664 iconv_t cd = iconv_open("","");
33665 iconv(cd,NULL,NULL,NULL,NULL);
33666 iconv_close(cd);
33667 ;
33668 return 0;
33669 }
33670 _ACEOF
33671 rm -f conftest.$ac_objext conftest$ac_exeext
33672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33673 (eval $ac_link) 2>conftest.er1
33674 ac_status=$?
33675 grep -v '^ *+' conftest.er1 >conftest.err
33676 rm -f conftest.er1
33677 cat conftest.err >&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); } &&
33680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33682 (eval $ac_try) 2>&5
33683 ac_status=$?
33684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33685 (exit $ac_status); }; } &&
33686 { ac_try='test -s conftest$ac_exeext'
33687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33688 (eval $ac_try) 2>&5
33689 ac_status=$?
33690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33691 (exit $ac_status); }; }; then
33692 am_cv_lib_iconv=yes
33693 am_cv_func_iconv=yes
33694 else
33695 echo "$as_me: failed program was:" >&5
33696 sed 's/^/| /' conftest.$ac_ext >&5
33697
33698 fi
33699 rm -f conftest.err conftest.$ac_objext \
33700 conftest$ac_exeext conftest.$ac_ext
33701 LIBS="$am_save_LIBS"
33702 fi
33703
33704 fi
33705 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33706 echo "${ECHO_T}$am_cv_func_iconv" >&6
33707 if test "$am_cv_func_iconv" = yes; then
33708
33709 cat >>confdefs.h <<\_ACEOF
33710 #define HAVE_ICONV 1
33711 _ACEOF
33712
33713 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33714 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33715 if test "${wx_cv_func_iconv_const+set}" = set; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718 cat >conftest.$ac_ext <<_ACEOF
33719 /* confdefs.h. */
33720 _ACEOF
33721 cat confdefs.h >>conftest.$ac_ext
33722 cat >>conftest.$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724
33725 #include <stdlib.h>
33726 #include <iconv.h>
33727 extern
33728 #ifdef __cplusplus
33729 "C"
33730 #endif
33731 #if defined(__STDC__) || defined(__cplusplus)
33732 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33733 #else
33734 size_t iconv();
33735 #endif
33736
33737 int
33738 main ()
33739 {
33740
33741 ;
33742 return 0;
33743 }
33744 _ACEOF
33745 rm -f conftest.$ac_objext
33746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33747 (eval $ac_compile) 2>conftest.er1
33748 ac_status=$?
33749 grep -v '^ *+' conftest.er1 >conftest.err
33750 rm -f conftest.er1
33751 cat conftest.err >&5
33752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33753 (exit $ac_status); } &&
33754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33757 ac_status=$?
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try='test -s conftest.$ac_objext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 wx_cv_func_iconv_const="no"
33767 else
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33770
33771 wx_cv_func_iconv_const="yes"
33772
33773 fi
33774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33775
33776 fi
33777 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33778 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33779
33780 iconv_const=
33781 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33782 iconv_const="const"
33783 fi
33784
33785
33786 cat >>confdefs.h <<_ACEOF
33787 #define ICONV_CONST $iconv_const
33788 _ACEOF
33789
33790 fi
33791 LIBICONV=
33792 if test "$am_cv_lib_iconv" = yes; then
33793 LIBICONV="-liconv"
33794 fi
33795
33796
33797 LIBS="$LIBICONV $LIBS"
33798 ac_ext=c
33799 ac_cpp='$CPP $CPPFLAGS'
33800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803
33804
33805 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33806
33807 for ac_func in sigaction
33808 do
33809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33810 echo "$as_me:$LINENO: checking for $ac_func" >&5
33811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33812 if eval "test \"\${$as_ac_var+set}\" = set"; then
33813 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 else
33815 cat >conftest.$ac_ext <<_ACEOF
33816 /* confdefs.h. */
33817 _ACEOF
33818 cat confdefs.h >>conftest.$ac_ext
33819 cat >>conftest.$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33823 #define $ac_func innocuous_$ac_func
33824
33825 /* System header to define __stub macros and hopefully few prototypes,
33826 which can conflict with char $ac_func (); below.
33827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33828 <limits.h> exists even on freestanding compilers. */
33829
33830 #ifdef __STDC__
33831 # include <limits.h>
33832 #else
33833 # include <assert.h>
33834 #endif
33835
33836 #undef $ac_func
33837
33838 /* Override any gcc2 internal prototype to avoid an error. */
33839 #ifdef __cplusplus
33840 extern "C"
33841 {
33842 #endif
33843 /* We use char because int might match the return type of a gcc2
33844 builtin and then its argument prototype would still apply. */
33845 char $ac_func ();
33846 /* The GNU C library defines this for functions which it implements
33847 to always fail with ENOSYS. Some functions are actually named
33848 something starting with __ and the normal name is an alias. */
33849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33850 choke me
33851 #else
33852 char (*f) () = $ac_func;
33853 #endif
33854 #ifdef __cplusplus
33855 }
33856 #endif
33857
33858 int
33859 main ()
33860 {
33861 return f != $ac_func;
33862 ;
33863 return 0;
33864 }
33865 _ACEOF
33866 rm -f conftest.$ac_objext conftest$ac_exeext
33867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33868 (eval $ac_link) 2>conftest.er1
33869 ac_status=$?
33870 grep -v '^ *+' conftest.er1 >conftest.err
33871 rm -f conftest.er1
33872 cat conftest.err >&5
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); } &&
33875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; } &&
33881 { ac_try='test -s conftest$ac_exeext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 eval "$as_ac_var=yes"
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892 eval "$as_ac_var=no"
33893 fi
33894 rm -f conftest.err conftest.$ac_objext \
33895 conftest$ac_exeext conftest.$ac_ext
33896 fi
33897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33899 if test `eval echo '${'$as_ac_var'}'` = yes; then
33900 cat >>confdefs.h <<_ACEOF
33901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33902 _ACEOF
33903
33904 fi
33905 done
33906
33907
33908 if test "$ac_cv_func_sigaction" = "no"; then
33909 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33910 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33911 wxUSE_ON_FATAL_EXCEPTION=no
33912 fi
33913
33914 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33915
33916
33917 ac_ext=cc
33918 ac_cpp='$CXXCPP $CPPFLAGS'
33919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33922
33923
33924 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33925 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33926 if test "${wx_cv_type_sa_handler+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 #include <signal.h>
33937 int
33938 main ()
33939 {
33940
33941 extern void testSigHandler(int);
33942
33943 struct sigaction sa;
33944 sa.sa_handler = testSigHandler;
33945
33946 ;
33947 return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33952 (eval $ac_compile) 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } &&
33959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest.$ac_objext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971
33972 wx_cv_type_sa_handler=int
33973
33974 else
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33977
33978
33979 wx_cv_type_sa_handler=void
33980
33981 fi
33982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33983
33984 fi
33985 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33986 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33987
33988 ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993
33994
33995 cat >>confdefs.h <<_ACEOF
33996 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33997 _ACEOF
33998
33999 fi
34000 fi
34001
34002 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34003
34004
34005 ac_ext=cc
34006 ac_cpp='$CXXCPP $CPPFLAGS'
34007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34010
34011
34012 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34013 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34014 if test "${wx_cv_func_backtrace+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017
34018 cat >conftest.$ac_ext <<_ACEOF
34019 /* confdefs.h. */
34020 _ACEOF
34021 cat confdefs.h >>conftest.$ac_ext
34022 cat >>conftest.$ac_ext <<_ACEOF
34023 /* end confdefs.h. */
34024 #include <execinfo.h>
34025 int
34026 main ()
34027 {
34028
34029 void *trace[1];
34030 char **messages;
34031
34032 backtrace(trace, 1);
34033 messages = backtrace_symbols(trace, 1);
34034
34035 ;
34036 return 0;
34037 }
34038 _ACEOF
34039 rm -f conftest.$ac_objext
34040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34041 (eval $ac_compile) 2>conftest.er1
34042 ac_status=$?
34043 grep -v '^ *+' conftest.er1 >conftest.err
34044 rm -f conftest.er1
34045 cat conftest.err >&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); } &&
34048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34051 ac_status=$?
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; } &&
34054 { ac_try='test -s conftest.$ac_objext'
34055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056 (eval $ac_try) 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; }; then
34060 wx_cv_func_backtrace=yes
34061 else
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34064
34065 wx_cv_func_backtrace=no
34066
34067 fi
34068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34069
34070
34071 fi
34072 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34073 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34074
34075
34076 if test "$wx_cv_func_backtrace" = "no"; then
34077 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34078 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34079 wxUSE_STACKWALKER=no
34080 else
34081 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34082 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34083 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 else
34086
34087 cat >conftest.$ac_ext <<_ACEOF
34088 /* confdefs.h. */
34089 _ACEOF
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h. */
34093 #include <cxxabi.h>
34094 int
34095 main ()
34096 {
34097
34098 int rc;
34099 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34100
34101 ;
34102 return 0;
34103 }
34104 _ACEOF
34105 rm -f conftest.$ac_objext conftest$ac_exeext
34106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34107 (eval $ac_link) 2>conftest.er1
34108 ac_status=$?
34109 grep -v '^ *+' conftest.er1 >conftest.err
34110 rm -f conftest.er1
34111 cat conftest.err >&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); } &&
34114 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; } &&
34120 { ac_try='test -s conftest$ac_exeext'
34121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34122 (eval $ac_try) 2>&5
34123 ac_status=$?
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); }; }; then
34126 wx_cv_func_cxa_demangle=yes
34127 else
34128 echo "$as_me: failed program was:" >&5
34129 sed 's/^/| /' conftest.$ac_ext >&5
34130
34131 wx_cv_func_cxa_demangle=no
34132
34133 fi
34134 rm -f conftest.err conftest.$ac_objext \
34135 conftest$ac_exeext conftest.$ac_ext
34136
34137
34138 fi
34139 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34140 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34141
34142 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34143 cat >>confdefs.h <<\_ACEOF
34144 #define HAVE_CXA_DEMANGLE 1
34145 _ACEOF
34146
34147 fi
34148 fi
34149
34150 ac_ext=c
34151 ac_cpp='$CPP $CPPFLAGS'
34152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34155
34156 fi
34157
34158 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34159 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34160 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34161 wxUSE_STACKWALKER=no
34162 fi
34163
34164
34165
34166
34167 for ac_func in mkstemp mktemp
34168 do
34169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34170 echo "$as_me:$LINENO: checking for $ac_func" >&5
34171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34172 if eval "test \"\${$as_ac_var+set}\" = set"; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34175 cat >conftest.$ac_ext <<_ACEOF
34176 /* confdefs.h. */
34177 _ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34183 #define $ac_func innocuous_$ac_func
34184
34185 /* System header to define __stub macros and hopefully few prototypes,
34186 which can conflict with char $ac_func (); below.
34187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34188 <limits.h> exists even on freestanding compilers. */
34189
34190 #ifdef __STDC__
34191 # include <limits.h>
34192 #else
34193 # include <assert.h>
34194 #endif
34195
34196 #undef $ac_func
34197
34198 /* Override any gcc2 internal prototype to avoid an error. */
34199 #ifdef __cplusplus
34200 extern "C"
34201 {
34202 #endif
34203 /* We use char because int might match the return type of a gcc2
34204 builtin and then its argument prototype would still apply. */
34205 char $ac_func ();
34206 /* The GNU C library defines this for functions which it implements
34207 to always fail with ENOSYS. Some functions are actually named
34208 something starting with __ and the normal name is an alias. */
34209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34210 choke me
34211 #else
34212 char (*f) () = $ac_func;
34213 #endif
34214 #ifdef __cplusplus
34215 }
34216 #endif
34217
34218 int
34219 main ()
34220 {
34221 return f != $ac_func;
34222 ;
34223 return 0;
34224 }
34225 _ACEOF
34226 rm -f conftest.$ac_objext conftest$ac_exeext
34227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34228 (eval $ac_link) 2>conftest.er1
34229 ac_status=$?
34230 grep -v '^ *+' conftest.er1 >conftest.err
34231 rm -f conftest.er1
34232 cat conftest.err >&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); } &&
34235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237 (eval $ac_try) 2>&5
34238 ac_status=$?
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); }; } &&
34241 { ac_try='test -s conftest$ac_exeext'
34242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243 (eval $ac_try) 2>&5
34244 ac_status=$?
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); }; }; then
34247 eval "$as_ac_var=yes"
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34251
34252 eval "$as_ac_var=no"
34253 fi
34254 rm -f conftest.err conftest.$ac_objext \
34255 conftest$ac_exeext conftest.$ac_ext
34256 fi
34257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34259 if test `eval echo '${'$as_ac_var'}'` = yes; then
34260 cat >>confdefs.h <<_ACEOF
34261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34262 _ACEOF
34263 break
34264 fi
34265 done
34266
34267
34268 echo "$as_me:$LINENO: checking for statfs" >&5
34269 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34270 if test "${wx_cv_func_statfs+set}" = set; then
34271 echo $ECHO_N "(cached) $ECHO_C" >&6
34272 else
34273 cat >conftest.$ac_ext <<_ACEOF
34274 /* confdefs.h. */
34275 _ACEOF
34276 cat confdefs.h >>conftest.$ac_ext
34277 cat >>conftest.$ac_ext <<_ACEOF
34278 /* end confdefs.h. */
34279
34280 #if defined(__BSD__)
34281 #include <sys/param.h>
34282 #include <sys/mount.h>
34283 #else
34284 #include <sys/vfs.h>
34285 #endif
34286
34287 int
34288 main ()
34289 {
34290
34291 long l;
34292 struct statfs fs;
34293 statfs("/", &fs);
34294 l = fs.f_bsize;
34295 l += fs.f_blocks;
34296 l += fs.f_bavail;
34297
34298 ;
34299 return 0;
34300 }
34301 _ACEOF
34302 rm -f conftest.$ac_objext
34303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34304 (eval $ac_compile) 2>conftest.er1
34305 ac_status=$?
34306 grep -v '^ *+' conftest.er1 >conftest.err
34307 rm -f conftest.er1
34308 cat conftest.err >&5
34309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310 (exit $ac_status); } &&
34311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34313 (eval $ac_try) 2>&5
34314 ac_status=$?
34315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34316 (exit $ac_status); }; } &&
34317 { ac_try='test -s conftest.$ac_objext'
34318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34319 (eval $ac_try) 2>&5
34320 ac_status=$?
34321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34322 (exit $ac_status); }; }; then
34323 wx_cv_func_statfs=yes
34324 else
34325 echo "$as_me: failed program was:" >&5
34326 sed 's/^/| /' conftest.$ac_ext >&5
34327
34328 wx_cv_func_statfs=no
34329
34330 fi
34331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34332
34333 fi
34334 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34335 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34336
34337 if test "$wx_cv_func_statfs" = "yes"; then
34338
34339
34340 ac_ext=cc
34341 ac_cpp='$CXXCPP $CPPFLAGS'
34342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34345
34346 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34347 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34348 if test "${wx_cv_func_statfs_decl+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 else
34351 cat >conftest.$ac_ext <<_ACEOF
34352 /* confdefs.h. */
34353 _ACEOF
34354 cat confdefs.h >>conftest.$ac_ext
34355 cat >>conftest.$ac_ext <<_ACEOF
34356 /* end confdefs.h. */
34357
34358 #if defined(__BSD__)
34359 #include <sys/param.h>
34360 #include <sys/mount.h>
34361 #else
34362 #include <sys/vfs.h>
34363 #endif
34364
34365 int
34366 main ()
34367 {
34368
34369 struct statfs fs;
34370 statfs("", &fs);
34371
34372 ;
34373 return 0;
34374 }
34375 _ACEOF
34376 rm -f conftest.$ac_objext
34377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34378 (eval $ac_compile) 2>conftest.er1
34379 ac_status=$?
34380 grep -v '^ *+' conftest.er1 >conftest.err
34381 rm -f conftest.er1
34382 cat conftest.err >&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); } &&
34385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34387 (eval $ac_try) 2>&5
34388 ac_status=$?
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); }; } &&
34391 { ac_try='test -s conftest.$ac_objext'
34392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34393 (eval $ac_try) 2>&5
34394 ac_status=$?
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); }; }; then
34397 wx_cv_func_statfs_decl=yes
34398 else
34399 echo "$as_me: failed program was:" >&5
34400 sed 's/^/| /' conftest.$ac_ext >&5
34401
34402 wx_cv_func_statfs_decl=no
34403
34404 fi
34405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34406
34407 fi
34408 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34409 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 if test "$wx_cv_func_statfs_decl" = "yes"; then
34418 cat >>confdefs.h <<\_ACEOF
34419 #define HAVE_STATFS_DECL 1
34420 _ACEOF
34421
34422 fi
34423
34424 wx_cv_type_statvfs_t="struct statfs"
34425 cat >>confdefs.h <<\_ACEOF
34426 #define HAVE_STATFS 1
34427 _ACEOF
34428
34429 else
34430 echo "$as_me:$LINENO: checking for statvfs" >&5
34431 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34432 if test "${wx_cv_func_statvfs+set}" = set; then
34433 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 else
34435 cat >conftest.$ac_ext <<_ACEOF
34436 /* confdefs.h. */
34437 _ACEOF
34438 cat confdefs.h >>conftest.$ac_ext
34439 cat >>conftest.$ac_ext <<_ACEOF
34440 /* end confdefs.h. */
34441
34442 #include <stddef.h>
34443 #include <sys/statvfs.h>
34444
34445 int
34446 main ()
34447 {
34448
34449 statvfs("/", NULL);
34450
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34457 (eval $ac_compile) 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34467 ac_status=$?
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try='test -s conftest.$ac_objext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 wx_cv_func_statvfs=yes
34477 else
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34480
34481 wx_cv_func_statvfs=no
34482
34483 fi
34484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34485
34486 fi
34487 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34488 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34489
34490 if test "$wx_cv_func_statvfs" = "yes"; then
34491
34492
34493 ac_ext=cc
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34498
34499
34500 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34501 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34502 if test "${wx_cv_type_statvfs_t+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 else
34505 cat >conftest.$ac_ext <<_ACEOF
34506 /* confdefs.h. */
34507 _ACEOF
34508 cat confdefs.h >>conftest.$ac_ext
34509 cat >>conftest.$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511
34512 #include <sys/statvfs.h>
34513
34514 int
34515 main ()
34516 {
34517
34518 long l;
34519 statvfs_t fs;
34520 statvfs("/", &fs);
34521 l = fs.f_bsize;
34522 l += fs.f_blocks;
34523 l += fs.f_bavail;
34524
34525 ;
34526 return 0;
34527 }
34528 _ACEOF
34529 rm -f conftest.$ac_objext
34530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34531 (eval $ac_compile) 2>conftest.er1
34532 ac_status=$?
34533 grep -v '^ *+' conftest.er1 >conftest.err
34534 rm -f conftest.er1
34535 cat conftest.err >&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; } &&
34544 { ac_try='test -s conftest.$ac_objext'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34547 ac_status=$?
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }; then
34550 wx_cv_type_statvfs_t=statvfs_t
34551 else
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.$ac_ext >&5
34554
34555
34556 cat >conftest.$ac_ext <<_ACEOF
34557 /* confdefs.h. */
34558 _ACEOF
34559 cat confdefs.h >>conftest.$ac_ext
34560 cat >>conftest.$ac_ext <<_ACEOF
34561 /* end confdefs.h. */
34562
34563 #include <sys/statvfs.h>
34564
34565 int
34566 main ()
34567 {
34568
34569 long l;
34570 struct statvfs fs;
34571 statvfs("/", &fs);
34572 l = fs.f_bsize;
34573 l += fs.f_blocks;
34574 l += fs.f_bavail;
34575
34576 ;
34577 return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34582 (eval $ac_compile) 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; } &&
34595 { ac_try='test -s conftest.$ac_objext'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; }; then
34601 wx_cv_type_statvfs_t="struct statvfs"
34602 else
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.$ac_ext >&5
34605
34606 wx_cv_type_statvfs_t="unknown"
34607
34608 fi
34609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34610
34611
34612 fi
34613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34614
34615 fi
34616 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34617 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34618
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34624
34625
34626 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34627 cat >>confdefs.h <<\_ACEOF
34628 #define HAVE_STATVFS 1
34629 _ACEOF
34630
34631 fi
34632 else
34633 wx_cv_type_statvfs_t="unknown"
34634 fi
34635 fi
34636
34637 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34638 cat >>confdefs.h <<_ACEOF
34639 #define WX_STATFS_T $wx_cv_type_statvfs_t
34640 _ACEOF
34641
34642 else
34643 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34644 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34645 fi
34646
34647 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34648
34649
34650 for ac_func in fcntl flock
34651 do
34652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34653 echo "$as_me:$LINENO: checking for $ac_func" >&5
34654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34655 if eval "test \"\${$as_ac_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34666 #define $ac_func innocuous_$ac_func
34667
34668 /* System header to define __stub macros and hopefully few prototypes,
34669 which can conflict with char $ac_func (); 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 $ac_func
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 $ac_func ();
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_$ac_func) || defined (__stub___$ac_func)
34693 choke me
34694 #else
34695 char (*f) () = $ac_func;
34696 #endif
34697 #ifdef __cplusplus
34698 }
34699 #endif
34700
34701 int
34702 main ()
34703 {
34704 return f != $ac_func;
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" || test ! -s conftest.err'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; } &&
34724 { ac_try='test -s conftest$ac_exeext'
34725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34726 (eval $ac_try) 2>&5
34727 ac_status=$?
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); }; }; then
34730 eval "$as_ac_var=yes"
34731 else
34732 echo "$as_me: failed program was:" >&5
34733 sed 's/^/| /' conftest.$ac_ext >&5
34734
34735 eval "$as_ac_var=no"
34736 fi
34737 rm -f conftest.err conftest.$ac_objext \
34738 conftest$ac_exeext conftest.$ac_ext
34739 fi
34740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34742 if test `eval echo '${'$as_ac_var'}'` = yes; then
34743 cat >>confdefs.h <<_ACEOF
34744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34745 _ACEOF
34746 break
34747 fi
34748 done
34749
34750
34751 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34752 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34753 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34754 wxUSE_SNGLINST_CHECKER=no
34755 fi
34756 fi
34757
34758
34759 for ac_func in timegm
34760 do
34761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34762 echo "$as_me:$LINENO: checking for $ac_func" >&5
34763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34764 if eval "test \"\${$as_ac_var+set}\" = set"; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 cat >conftest.$ac_ext <<_ACEOF
34768 /* confdefs.h. */
34769 _ACEOF
34770 cat confdefs.h >>conftest.$ac_ext
34771 cat >>conftest.$ac_ext <<_ACEOF
34772 /* end confdefs.h. */
34773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34775 #define $ac_func innocuous_$ac_func
34776
34777 /* System header to define __stub macros and hopefully few prototypes,
34778 which can conflict with char $ac_func (); below.
34779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34780 <limits.h> exists even on freestanding compilers. */
34781
34782 #ifdef __STDC__
34783 # include <limits.h>
34784 #else
34785 # include <assert.h>
34786 #endif
34787
34788 #undef $ac_func
34789
34790 /* Override any gcc2 internal prototype to avoid an error. */
34791 #ifdef __cplusplus
34792 extern "C"
34793 {
34794 #endif
34795 /* We use char because int might match the return type of a gcc2
34796 builtin and then its argument prototype would still apply. */
34797 char $ac_func ();
34798 /* The GNU C library defines this for functions which it implements
34799 to always fail with ENOSYS. Some functions are actually named
34800 something starting with __ and the normal name is an alias. */
34801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34802 choke me
34803 #else
34804 char (*f) () = $ac_func;
34805 #endif
34806 #ifdef __cplusplus
34807 }
34808 #endif
34809
34810 int
34811 main ()
34812 {
34813 return f != $ac_func;
34814 ;
34815 return 0;
34816 }
34817 _ACEOF
34818 rm -f conftest.$ac_objext conftest$ac_exeext
34819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34820 (eval $ac_link) 2>conftest.er1
34821 ac_status=$?
34822 grep -v '^ *+' conftest.er1 >conftest.err
34823 rm -f conftest.er1
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } &&
34827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; } &&
34833 { ac_try='test -s conftest$ac_exeext'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34836 ac_status=$?
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; }; then
34839 eval "$as_ac_var=yes"
34840 else
34841 echo "$as_me: failed program was:" >&5
34842 sed 's/^/| /' conftest.$ac_ext >&5
34843
34844 eval "$as_ac_var=no"
34845 fi
34846 rm -f conftest.err conftest.$ac_objext \
34847 conftest$ac_exeext conftest.$ac_ext
34848 fi
34849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852 cat >>confdefs.h <<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859
34860
34861
34862 for ac_func in putenv setenv
34863 do
34864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34865 echo "$as_me:$LINENO: checking for $ac_func" >&5
34866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34867 if eval "test \"\${$as_ac_var+set}\" = set"; then
34868 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 else
34870 cat >conftest.$ac_ext <<_ACEOF
34871 /* confdefs.h. */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34878 #define $ac_func innocuous_$ac_func
34879
34880 /* System header to define __stub macros and hopefully few prototypes,
34881 which can conflict with char $ac_func (); below.
34882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34883 <limits.h> exists even on freestanding compilers. */
34884
34885 #ifdef __STDC__
34886 # include <limits.h>
34887 #else
34888 # include <assert.h>
34889 #endif
34890
34891 #undef $ac_func
34892
34893 /* Override any gcc2 internal prototype to avoid an error. */
34894 #ifdef __cplusplus
34895 extern "C"
34896 {
34897 #endif
34898 /* We use char because int might match the return type of a gcc2
34899 builtin and then its argument prototype would still apply. */
34900 char $ac_func ();
34901 /* The GNU C library defines this for functions which it implements
34902 to always fail with ENOSYS. Some functions are actually named
34903 something starting with __ and the normal name is an alias. */
34904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34905 choke me
34906 #else
34907 char (*f) () = $ac_func;
34908 #endif
34909 #ifdef __cplusplus
34910 }
34911 #endif
34912
34913 int
34914 main ()
34915 {
34916 return f != $ac_func;
34917 ;
34918 return 0;
34919 }
34920 _ACEOF
34921 rm -f conftest.$ac_objext conftest$ac_exeext
34922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34923 (eval $ac_link) 2>conftest.er1
34924 ac_status=$?
34925 grep -v '^ *+' conftest.er1 >conftest.err
34926 rm -f conftest.er1
34927 cat conftest.err >&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34933 ac_status=$?
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; } &&
34936 { ac_try='test -s conftest$ac_exeext'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34939 ac_status=$?
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 eval "$as_ac_var=yes"
34943 else
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34946
34947 eval "$as_ac_var=no"
34948 fi
34949 rm -f conftest.err conftest.$ac_objext \
34950 conftest$ac_exeext conftest.$ac_ext
34951 fi
34952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34954 if test `eval echo '${'$as_ac_var'}'` = yes; then
34955 cat >>confdefs.h <<_ACEOF
34956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34957 _ACEOF
34958 break
34959 fi
34960 done
34961
34962
34963 HAVE_SOME_SLEEP_FUNC=0
34964 if test "$USE_BEOS" = 1; then
34965 cat >>confdefs.h <<\_ACEOF
34966 #define HAVE_SLEEP 1
34967 _ACEOF
34968
34969 HAVE_SOME_SLEEP_FUNC=1
34970 fi
34971
34972 if test "$USE_DARWIN" = 1; then
34973 cat >>confdefs.h <<\_ACEOF
34974 #define HAVE_USLEEP 1
34975 _ACEOF
34976
34977 HAVE_SOME_SLEEP_FUNC=1
34978 fi
34979
34980 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34981 POSIX4_LINK=
34982
34983 for ac_func in nanosleep
34984 do
34985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34986 echo "$as_me:$LINENO: checking for $ac_func" >&5
34987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34988 if eval "test \"\${$as_ac_var+set}\" = set"; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 else
34991 cat >conftest.$ac_ext <<_ACEOF
34992 /* confdefs.h. */
34993 _ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h. */
34997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34999 #define $ac_func innocuous_$ac_func
35000
35001 /* System header to define __stub macros and hopefully few prototypes,
35002 which can conflict with char $ac_func (); below.
35003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35004 <limits.h> exists even on freestanding compilers. */
35005
35006 #ifdef __STDC__
35007 # include <limits.h>
35008 #else
35009 # include <assert.h>
35010 #endif
35011
35012 #undef $ac_func
35013
35014 /* Override any gcc2 internal prototype to avoid an error. */
35015 #ifdef __cplusplus
35016 extern "C"
35017 {
35018 #endif
35019 /* We use char because int might match the return type of a gcc2
35020 builtin and then its argument prototype would still apply. */
35021 char $ac_func ();
35022 /* The GNU C library defines this for functions which it implements
35023 to always fail with ENOSYS. Some functions are actually named
35024 something starting with __ and the normal name is an alias. */
35025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35026 choke me
35027 #else
35028 char (*f) () = $ac_func;
35029 #endif
35030 #ifdef __cplusplus
35031 }
35032 #endif
35033
35034 int
35035 main ()
35036 {
35037 return f != $ac_func;
35038 ;
35039 return 0;
35040 }
35041 _ACEOF
35042 rm -f conftest.$ac_objext conftest$ac_exeext
35043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35044 (eval $ac_link) 2>conftest.er1
35045 ac_status=$?
35046 grep -v '^ *+' conftest.er1 >conftest.err
35047 rm -f conftest.er1
35048 cat conftest.err >&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } &&
35051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35054 ac_status=$?
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; } &&
35057 { ac_try='test -s conftest$ac_exeext'
35058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35059 (eval $ac_try) 2>&5
35060 ac_status=$?
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); }; }; then
35063 eval "$as_ac_var=yes"
35064 else
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.$ac_ext >&5
35067
35068 eval "$as_ac_var=no"
35069 fi
35070 rm -f conftest.err conftest.$ac_objext \
35071 conftest$ac_exeext conftest.$ac_ext
35072 fi
35073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35075 if test `eval echo '${'$as_ac_var'}'` = yes; then
35076 cat >>confdefs.h <<_ACEOF
35077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35078 _ACEOF
35079 cat >>confdefs.h <<\_ACEOF
35080 #define HAVE_NANOSLEEP 1
35081 _ACEOF
35082
35083 else
35084
35085 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35086 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35087 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35088 echo $ECHO_N "(cached) $ECHO_C" >&6
35089 else
35090 ac_check_lib_save_LIBS=$LIBS
35091 LIBS="-lposix4 $LIBS"
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h. */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35098
35099 /* Override any gcc2 internal prototype to avoid an error. */
35100 #ifdef __cplusplus
35101 extern "C"
35102 #endif
35103 /* We use char because int might match the return type of a gcc2
35104 builtin and then its argument prototype would still apply. */
35105 char nanosleep ();
35106 int
35107 main ()
35108 {
35109 nanosleep ();
35110 ;
35111 return 0;
35112 }
35113 _ACEOF
35114 rm -f conftest.$ac_objext conftest$ac_exeext
35115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35116 (eval $ac_link) 2>conftest.er1
35117 ac_status=$?
35118 grep -v '^ *+' conftest.er1 >conftest.err
35119 rm -f conftest.er1
35120 cat conftest.err >&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); } &&
35123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35126 ac_status=$?
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; } &&
35129 { ac_try='test -s conftest$ac_exeext'
35130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35131 (eval $ac_try) 2>&5
35132 ac_status=$?
35133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134 (exit $ac_status); }; }; then
35135 ac_cv_lib_posix4_nanosleep=yes
35136 else
35137 echo "$as_me: failed program was:" >&5
35138 sed 's/^/| /' conftest.$ac_ext >&5
35139
35140 ac_cv_lib_posix4_nanosleep=no
35141 fi
35142 rm -f conftest.err conftest.$ac_objext \
35143 conftest$ac_exeext conftest.$ac_ext
35144 LIBS=$ac_check_lib_save_LIBS
35145 fi
35146 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35147 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35148 if test $ac_cv_lib_posix4_nanosleep = yes; then
35149
35150 cat >>confdefs.h <<\_ACEOF
35151 #define HAVE_NANOSLEEP 1
35152 _ACEOF
35153
35154 POSIX4_LINK=" -lposix4"
35155
35156 else
35157
35158
35159 for ac_func in usleep
35160 do
35161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35162 echo "$as_me:$LINENO: checking for $ac_func" >&5
35163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35164 if eval "test \"\${$as_ac_var+set}\" = set"; then
35165 echo $ECHO_N "(cached) $ECHO_C" >&6
35166 else
35167 cat >conftest.$ac_ext <<_ACEOF
35168 /* confdefs.h. */
35169 _ACEOF
35170 cat confdefs.h >>conftest.$ac_ext
35171 cat >>conftest.$ac_ext <<_ACEOF
35172 /* end confdefs.h. */
35173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35175 #define $ac_func innocuous_$ac_func
35176
35177 /* System header to define __stub macros and hopefully few prototypes,
35178 which can conflict with char $ac_func (); below.
35179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35180 <limits.h> exists even on freestanding compilers. */
35181
35182 #ifdef __STDC__
35183 # include <limits.h>
35184 #else
35185 # include <assert.h>
35186 #endif
35187
35188 #undef $ac_func
35189
35190 /* Override any gcc2 internal prototype to avoid an error. */
35191 #ifdef __cplusplus
35192 extern "C"
35193 {
35194 #endif
35195 /* We use char because int might match the return type of a gcc2
35196 builtin and then its argument prototype would still apply. */
35197 char $ac_func ();
35198 /* The GNU C library defines this for functions which it implements
35199 to always fail with ENOSYS. Some functions are actually named
35200 something starting with __ and the normal name is an alias. */
35201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35202 choke me
35203 #else
35204 char (*f) () = $ac_func;
35205 #endif
35206 #ifdef __cplusplus
35207 }
35208 #endif
35209
35210 int
35211 main ()
35212 {
35213 return f != $ac_func;
35214 ;
35215 return 0;
35216 }
35217 _ACEOF
35218 rm -f conftest.$ac_objext conftest$ac_exeext
35219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35220 (eval $ac_link) 2>conftest.er1
35221 ac_status=$?
35222 grep -v '^ *+' conftest.er1 >conftest.err
35223 rm -f conftest.er1
35224 cat conftest.err >&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } &&
35227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35230 ac_status=$?
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; } &&
35233 { ac_try='test -s conftest$ac_exeext'
35234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35235 (eval $ac_try) 2>&5
35236 ac_status=$?
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); }; }; then
35239 eval "$as_ac_var=yes"
35240 else
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35243
35244 eval "$as_ac_var=no"
35245 fi
35246 rm -f conftest.err conftest.$ac_objext \
35247 conftest$ac_exeext conftest.$ac_ext
35248 fi
35249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35251 if test `eval echo '${'$as_ac_var'}'` = yes; then
35252 cat >>confdefs.h <<_ACEOF
35253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35254 _ACEOF
35255 cat >>confdefs.h <<\_ACEOF
35256 #define HAVE_USLEEP 1
35257 _ACEOF
35258
35259 else
35260 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35261 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35262
35263 fi
35264 done
35265
35266
35267
35268 fi
35269
35270
35271
35272 fi
35273 done
35274
35275 fi
35276
35277
35278
35279 for ac_func in uname gethostname
35280 do
35281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35282 echo "$as_me:$LINENO: checking for $ac_func" >&5
35283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35284 if eval "test \"\${$as_ac_var+set}\" = set"; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35287 cat >conftest.$ac_ext <<_ACEOF
35288 /* confdefs.h. */
35289 _ACEOF
35290 cat confdefs.h >>conftest.$ac_ext
35291 cat >>conftest.$ac_ext <<_ACEOF
35292 /* end confdefs.h. */
35293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35295 #define $ac_func innocuous_$ac_func
35296
35297 /* System header to define __stub macros and hopefully few prototypes,
35298 which can conflict with char $ac_func (); below.
35299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35300 <limits.h> exists even on freestanding compilers. */
35301
35302 #ifdef __STDC__
35303 # include <limits.h>
35304 #else
35305 # include <assert.h>
35306 #endif
35307
35308 #undef $ac_func
35309
35310 /* Override any gcc2 internal prototype to avoid an error. */
35311 #ifdef __cplusplus
35312 extern "C"
35313 {
35314 #endif
35315 /* We use char because int might match the return type of a gcc2
35316 builtin and then its argument prototype would still apply. */
35317 char $ac_func ();
35318 /* The GNU C library defines this for functions which it implements
35319 to always fail with ENOSYS. Some functions are actually named
35320 something starting with __ and the normal name is an alias. */
35321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35322 choke me
35323 #else
35324 char (*f) () = $ac_func;
35325 #endif
35326 #ifdef __cplusplus
35327 }
35328 #endif
35329
35330 int
35331 main ()
35332 {
35333 return f != $ac_func;
35334 ;
35335 return 0;
35336 }
35337 _ACEOF
35338 rm -f conftest.$ac_objext conftest$ac_exeext
35339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35340 (eval $ac_link) 2>conftest.er1
35341 ac_status=$?
35342 grep -v '^ *+' conftest.er1 >conftest.err
35343 rm -f conftest.er1
35344 cat conftest.err >&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); } &&
35347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35349 (eval $ac_try) 2>&5
35350 ac_status=$?
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; } &&
35353 { ac_try='test -s conftest$ac_exeext'
35354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35355 (eval $ac_try) 2>&5
35356 ac_status=$?
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); }; }; then
35359 eval "$as_ac_var=yes"
35360 else
35361 echo "$as_me: failed program was:" >&5
35362 sed 's/^/| /' conftest.$ac_ext >&5
35363
35364 eval "$as_ac_var=no"
35365 fi
35366 rm -f conftest.err conftest.$ac_objext \
35367 conftest$ac_exeext conftest.$ac_ext
35368 fi
35369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35371 if test `eval echo '${'$as_ac_var'}'` = yes; then
35372 cat >>confdefs.h <<_ACEOF
35373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35374 _ACEOF
35375 break
35376 fi
35377 done
35378
35379
35380
35381
35382 ac_ext=cc
35383 ac_cpp='$CXXCPP $CPPFLAGS'
35384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387
35388
35389
35390 for ac_func in strtok_r
35391 do
35392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35393 echo "$as_me:$LINENO: checking for $ac_func" >&5
35394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35395 if eval "test \"\${$as_ac_var+set}\" = set"; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398 cat >conftest.$ac_ext <<_ACEOF
35399 /* confdefs.h. */
35400 _ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35406 #define $ac_func innocuous_$ac_func
35407
35408 /* System header to define __stub macros and hopefully few prototypes,
35409 which can conflict with char $ac_func (); below.
35410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35411 <limits.h> exists even on freestanding compilers. */
35412
35413 #ifdef __STDC__
35414 # include <limits.h>
35415 #else
35416 # include <assert.h>
35417 #endif
35418
35419 #undef $ac_func
35420
35421 /* Override any gcc2 internal prototype to avoid an error. */
35422 #ifdef __cplusplus
35423 extern "C"
35424 {
35425 #endif
35426 /* We use char because int might match the return type of a gcc2
35427 builtin and then its argument prototype would still apply. */
35428 char $ac_func ();
35429 /* The GNU C library defines this for functions which it implements
35430 to always fail with ENOSYS. Some functions are actually named
35431 something starting with __ and the normal name is an alias. */
35432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35433 choke me
35434 #else
35435 char (*f) () = $ac_func;
35436 #endif
35437 #ifdef __cplusplus
35438 }
35439 #endif
35440
35441 int
35442 main ()
35443 {
35444 return f != $ac_func;
35445 ;
35446 return 0;
35447 }
35448 _ACEOF
35449 rm -f conftest.$ac_objext conftest$ac_exeext
35450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35451 (eval $ac_link) 2>conftest.er1
35452 ac_status=$?
35453 grep -v '^ *+' conftest.er1 >conftest.err
35454 rm -f conftest.er1
35455 cat conftest.err >&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); } &&
35458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35461 ac_status=$?
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; } &&
35464 { ac_try='test -s conftest$ac_exeext'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; }; then
35470 eval "$as_ac_var=yes"
35471 else
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35474
35475 eval "$as_ac_var=no"
35476 fi
35477 rm -f conftest.err conftest.$ac_objext \
35478 conftest$ac_exeext conftest.$ac_ext
35479 fi
35480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35482 if test `eval echo '${'$as_ac_var'}'` = yes; then
35483 cat >>confdefs.h <<_ACEOF
35484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35485 _ACEOF
35486
35487 fi
35488 done
35489
35490
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496
35497
35498 INET_LINK=
35499
35500 for ac_func in inet_addr
35501 do
35502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35503 echo "$as_me:$LINENO: checking for $ac_func" >&5
35504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35505 if eval "test \"\${$as_ac_var+set}\" = set"; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35507 else
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35516 #define $ac_func innocuous_$ac_func
35517
35518 /* System header to define __stub macros and hopefully few prototypes,
35519 which can conflict with char $ac_func (); below.
35520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35521 <limits.h> exists even on freestanding compilers. */
35522
35523 #ifdef __STDC__
35524 # include <limits.h>
35525 #else
35526 # include <assert.h>
35527 #endif
35528
35529 #undef $ac_func
35530
35531 /* Override any gcc2 internal prototype to avoid an error. */
35532 #ifdef __cplusplus
35533 extern "C"
35534 {
35535 #endif
35536 /* We use char because int might match the return type of a gcc2
35537 builtin and then its argument prototype would still apply. */
35538 char $ac_func ();
35539 /* The GNU C library defines this for functions which it implements
35540 to always fail with ENOSYS. Some functions are actually named
35541 something starting with __ and the normal name is an alias. */
35542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35543 choke me
35544 #else
35545 char (*f) () = $ac_func;
35546 #endif
35547 #ifdef __cplusplus
35548 }
35549 #endif
35550
35551 int
35552 main ()
35553 {
35554 return f != $ac_func;
35555 ;
35556 return 0;
35557 }
35558 _ACEOF
35559 rm -f conftest.$ac_objext conftest$ac_exeext
35560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35561 (eval $ac_link) 2>conftest.er1
35562 ac_status=$?
35563 grep -v '^ *+' conftest.er1 >conftest.err
35564 rm -f conftest.er1
35565 cat conftest.err >&5
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); } &&
35568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35570 (eval $ac_try) 2>&5
35571 ac_status=$?
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; } &&
35574 { ac_try='test -s conftest$ac_exeext'
35575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35576 (eval $ac_try) 2>&5
35577 ac_status=$?
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); }; }; then
35580 eval "$as_ac_var=yes"
35581 else
35582 echo "$as_me: failed program was:" >&5
35583 sed 's/^/| /' conftest.$ac_ext >&5
35584
35585 eval "$as_ac_var=no"
35586 fi
35587 rm -f conftest.err conftest.$ac_objext \
35588 conftest$ac_exeext conftest.$ac_ext
35589 fi
35590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35592 if test `eval echo '${'$as_ac_var'}'` = yes; then
35593 cat >>confdefs.h <<_ACEOF
35594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35595 _ACEOF
35596 cat >>confdefs.h <<\_ACEOF
35597 #define HAVE_INET_ADDR 1
35598 _ACEOF
35599
35600 else
35601
35602 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35603 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35604 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35605 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 else
35607 ac_check_lib_save_LIBS=$LIBS
35608 LIBS="-lnsl $LIBS"
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615
35616 /* Override any gcc2 internal prototype to avoid an error. */
35617 #ifdef __cplusplus
35618 extern "C"
35619 #endif
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35622 char inet_addr ();
35623 int
35624 main ()
35625 {
35626 inet_addr ();
35627 ;
35628 return 0;
35629 }
35630 _ACEOF
35631 rm -f conftest.$ac_objext conftest$ac_exeext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35633 (eval $ac_link) 2>conftest.er1
35634 ac_status=$?
35635 grep -v '^ *+' conftest.er1 >conftest.err
35636 rm -f conftest.er1
35637 cat conftest.err >&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } &&
35640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35643 ac_status=$?
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_lib_nsl_inet_addr=yes
35653 else
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.$ac_ext >&5
35656
35657 ac_cv_lib_nsl_inet_addr=no
35658 fi
35659 rm -f conftest.err conftest.$ac_objext \
35660 conftest$ac_exeext conftest.$ac_ext
35661 LIBS=$ac_check_lib_save_LIBS
35662 fi
35663 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35664 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35665 if test $ac_cv_lib_nsl_inet_addr = yes; then
35666 INET_LINK="nsl"
35667 else
35668
35669 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35670 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35671 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35673 else
35674 ac_check_lib_save_LIBS=$LIBS
35675 LIBS="-lresolv $LIBS"
35676 cat >conftest.$ac_ext <<_ACEOF
35677 /* confdefs.h. */
35678 _ACEOF
35679 cat confdefs.h >>conftest.$ac_ext
35680 cat >>conftest.$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682
35683 /* Override any gcc2 internal prototype to avoid an error. */
35684 #ifdef __cplusplus
35685 extern "C"
35686 #endif
35687 /* We use char because int might match the return type of a gcc2
35688 builtin and then its argument prototype would still apply. */
35689 char inet_addr ();
35690 int
35691 main ()
35692 {
35693 inet_addr ();
35694 ;
35695 return 0;
35696 }
35697 _ACEOF
35698 rm -f conftest.$ac_objext conftest$ac_exeext
35699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35700 (eval $ac_link) 2>conftest.er1
35701 ac_status=$?
35702 grep -v '^ *+' conftest.er1 >conftest.err
35703 rm -f conftest.er1
35704 cat conftest.err >&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); } &&
35707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; } &&
35713 { ac_try='test -s conftest$ac_exeext'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; }; then
35719 ac_cv_lib_resolv_inet_addr=yes
35720 else
35721 echo "$as_me: failed program was:" >&5
35722 sed 's/^/| /' conftest.$ac_ext >&5
35723
35724 ac_cv_lib_resolv_inet_addr=no
35725 fi
35726 rm -f conftest.err conftest.$ac_objext \
35727 conftest$ac_exeext conftest.$ac_ext
35728 LIBS=$ac_check_lib_save_LIBS
35729 fi
35730 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35731 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35732 if test $ac_cv_lib_resolv_inet_addr = yes; then
35733 INET_LINK="resolv"
35734 else
35735
35736 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35737 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35738 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35739 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 else
35741 ac_check_lib_save_LIBS=$LIBS
35742 LIBS="-lsocket $LIBS"
35743 cat >conftest.$ac_ext <<_ACEOF
35744 /* confdefs.h. */
35745 _ACEOF
35746 cat confdefs.h >>conftest.$ac_ext
35747 cat >>conftest.$ac_ext <<_ACEOF
35748 /* end confdefs.h. */
35749
35750 /* Override any gcc2 internal prototype to avoid an error. */
35751 #ifdef __cplusplus
35752 extern "C"
35753 #endif
35754 /* We use char because int might match the return type of a gcc2
35755 builtin and then its argument prototype would still apply. */
35756 char inet_addr ();
35757 int
35758 main ()
35759 {
35760 inet_addr ();
35761 ;
35762 return 0;
35763 }
35764 _ACEOF
35765 rm -f conftest.$ac_objext conftest$ac_exeext
35766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35767 (eval $ac_link) 2>conftest.er1
35768 ac_status=$?
35769 grep -v '^ *+' conftest.er1 >conftest.err
35770 rm -f conftest.er1
35771 cat conftest.err >&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); } &&
35774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35777 ac_status=$?
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; } &&
35780 { ac_try='test -s conftest$ac_exeext'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35783 ac_status=$?
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; }; then
35786 ac_cv_lib_socket_inet_addr=yes
35787 else
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.$ac_ext >&5
35790
35791 ac_cv_lib_socket_inet_addr=no
35792 fi
35793 rm -f conftest.err conftest.$ac_objext \
35794 conftest$ac_exeext conftest.$ac_ext
35795 LIBS=$ac_check_lib_save_LIBS
35796 fi
35797 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35798 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35799 if test $ac_cv_lib_socket_inet_addr = yes; then
35800 INET_LINK="socket"
35801
35802 fi
35803
35804
35805
35806 fi
35807
35808
35809
35810 fi
35811
35812
35813
35814 fi
35815 done
35816
35817
35818
35819 for ac_func in inet_aton
35820 do
35821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35822 echo "$as_me:$LINENO: checking for $ac_func" >&5
35823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35824 if eval "test \"\${$as_ac_var+set}\" = set"; then
35825 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 else
35827 cat >conftest.$ac_ext <<_ACEOF
35828 /* confdefs.h. */
35829 _ACEOF
35830 cat confdefs.h >>conftest.$ac_ext
35831 cat >>conftest.$ac_ext <<_ACEOF
35832 /* end confdefs.h. */
35833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35835 #define $ac_func innocuous_$ac_func
35836
35837 /* System header to define __stub macros and hopefully few prototypes,
35838 which can conflict with char $ac_func (); below.
35839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35840 <limits.h> exists even on freestanding compilers. */
35841
35842 #ifdef __STDC__
35843 # include <limits.h>
35844 #else
35845 # include <assert.h>
35846 #endif
35847
35848 #undef $ac_func
35849
35850 /* Override any gcc2 internal prototype to avoid an error. */
35851 #ifdef __cplusplus
35852 extern "C"
35853 {
35854 #endif
35855 /* We use char because int might match the return type of a gcc2
35856 builtin and then its argument prototype would still apply. */
35857 char $ac_func ();
35858 /* The GNU C library defines this for functions which it implements
35859 to always fail with ENOSYS. Some functions are actually named
35860 something starting with __ and the normal name is an alias. */
35861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35862 choke me
35863 #else
35864 char (*f) () = $ac_func;
35865 #endif
35866 #ifdef __cplusplus
35867 }
35868 #endif
35869
35870 int
35871 main ()
35872 {
35873 return f != $ac_func;
35874 ;
35875 return 0;
35876 }
35877 _ACEOF
35878 rm -f conftest.$ac_objext conftest$ac_exeext
35879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35880 (eval $ac_link) 2>conftest.er1
35881 ac_status=$?
35882 grep -v '^ *+' conftest.er1 >conftest.err
35883 rm -f conftest.er1
35884 cat conftest.err >&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); } &&
35887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35890 ac_status=$?
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; } &&
35893 { ac_try='test -s conftest$ac_exeext'
35894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35895 (eval $ac_try) 2>&5
35896 ac_status=$?
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); }; }; then
35899 eval "$as_ac_var=yes"
35900 else
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35903
35904 eval "$as_ac_var=no"
35905 fi
35906 rm -f conftest.err conftest.$ac_objext \
35907 conftest$ac_exeext conftest.$ac_ext
35908 fi
35909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35911 if test `eval echo '${'$as_ac_var'}'` = yes; then
35912 cat >>confdefs.h <<_ACEOF
35913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35914 _ACEOF
35915 cat >>confdefs.h <<\_ACEOF
35916 #define HAVE_INET_ATON 1
35917 _ACEOF
35918
35919 else
35920
35921 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35922 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35923 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35924 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35925 echo $ECHO_N "(cached) $ECHO_C" >&6
35926 else
35927 ac_check_lib_save_LIBS=$LIBS
35928 LIBS="-l$INET_LINK $LIBS"
35929 cat >conftest.$ac_ext <<_ACEOF
35930 /* confdefs.h. */
35931 _ACEOF
35932 cat confdefs.h >>conftest.$ac_ext
35933 cat >>conftest.$ac_ext <<_ACEOF
35934 /* end confdefs.h. */
35935
35936 /* Override any gcc2 internal prototype to avoid an error. */
35937 #ifdef __cplusplus
35938 extern "C"
35939 #endif
35940 /* We use char because int might match the return type of a gcc2
35941 builtin and then its argument prototype would still apply. */
35942 char inet_aton ();
35943 int
35944 main ()
35945 {
35946 inet_aton ();
35947 ;
35948 return 0;
35949 }
35950 _ACEOF
35951 rm -f conftest.$ac_objext conftest$ac_exeext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35953 (eval $ac_link) 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } &&
35960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35962 (eval $ac_try) 2>&5
35963 ac_status=$?
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); }; } &&
35966 { ac_try='test -s conftest$ac_exeext'
35967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35968 (eval $ac_try) 2>&5
35969 ac_status=$?
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); }; }; then
35972 eval "$as_ac_Lib=yes"
35973 else
35974 echo "$as_me: failed program was:" >&5
35975 sed 's/^/| /' conftest.$ac_ext >&5
35976
35977 eval "$as_ac_Lib=no"
35978 fi
35979 rm -f conftest.err conftest.$ac_objext \
35980 conftest$ac_exeext conftest.$ac_ext
35981 LIBS=$ac_check_lib_save_LIBS
35982 fi
35983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35984 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35985 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35986 cat >>confdefs.h <<\_ACEOF
35987 #define HAVE_INET_ATON 1
35988 _ACEOF
35989
35990 fi
35991
35992
35993 fi
35994 done
35995
35996
35997 if test "x$INET_LINK" != "x"; then
35998 cat >>confdefs.h <<\_ACEOF
35999 #define HAVE_INET_ADDR 1
36000 _ACEOF
36001
36002 INET_LINK=" -l$INET_LINK"
36003 fi
36004
36005 fi
36006
36007
36008
36009 EXTRALIBS_ESD=
36010 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36011 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36012 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 else
36015 ac_check_lib_save_LIBS=$LIBS
36016 LIBS="-lesd $LIBS"
36017 cat >conftest.$ac_ext <<_ACEOF
36018 /* confdefs.h. */
36019 _ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023
36024 /* Override any gcc2 internal prototype to avoid an error. */
36025 #ifdef __cplusplus
36026 extern "C"
36027 #endif
36028 /* We use char because int might match the return type of a gcc2
36029 builtin and then its argument prototype would still apply. */
36030 char esd_close ();
36031 int
36032 main ()
36033 {
36034 esd_close ();
36035 ;
36036 return 0;
36037 }
36038 _ACEOF
36039 rm -f conftest.$ac_objext conftest$ac_exeext
36040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36041 (eval $ac_link) 2>conftest.er1
36042 ac_status=$?
36043 grep -v '^ *+' conftest.er1 >conftest.err
36044 rm -f conftest.er1
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } &&
36048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36050 (eval $ac_try) 2>&5
36051 ac_status=$?
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); }; } &&
36054 { ac_try='test -s conftest$ac_exeext'
36055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36056 (eval $ac_try) 2>&5
36057 ac_status=$?
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); }; }; then
36060 ac_cv_lib_esd_esd_close=yes
36061 else
36062 echo "$as_me: failed program was:" >&5
36063 sed 's/^/| /' conftest.$ac_ext >&5
36064
36065 ac_cv_lib_esd_esd_close=no
36066 fi
36067 rm -f conftest.err conftest.$ac_objext \
36068 conftest$ac_exeext conftest.$ac_ext
36069 LIBS=$ac_check_lib_save_LIBS
36070 fi
36071 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36072 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36073 if test $ac_cv_lib_esd_esd_close = yes; then
36074
36075
36076 for ac_header in esd.h
36077 do
36078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36080 echo "$as_me:$LINENO: checking for $ac_header" >&5
36081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 fi
36085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36087 else
36088 # Is the header compilable?
36089 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36090 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36091 cat >conftest.$ac_ext <<_ACEOF
36092 /* confdefs.h. */
36093 _ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 $ac_includes_default
36098 #include <$ac_header>
36099 _ACEOF
36100 rm -f conftest.$ac_objext
36101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36102 (eval $ac_compile) 2>conftest.er1
36103 ac_status=$?
36104 grep -v '^ *+' conftest.er1 >conftest.err
36105 rm -f conftest.er1
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } &&
36109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36111 (eval $ac_try) 2>&5
36112 ac_status=$?
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); }; } &&
36115 { ac_try='test -s conftest.$ac_objext'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36118 ac_status=$?
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; }; then
36121 ac_header_compiler=yes
36122 else
36123 echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36125
36126 ac_header_compiler=no
36127 fi
36128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36130 echo "${ECHO_T}$ac_header_compiler" >&6
36131
36132 # Is the header present?
36133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36135 cat >conftest.$ac_ext <<_ACEOF
36136 /* confdefs.h. */
36137 _ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h. */
36141 #include <$ac_header>
36142 _ACEOF
36143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36145 ac_status=$?
36146 grep -v '^ *+' conftest.er1 >conftest.err
36147 rm -f conftest.er1
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } >/dev/null; then
36151 if test -s conftest.err; then
36152 ac_cpp_err=$ac_c_preproc_warn_flag
36153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36154 else
36155 ac_cpp_err=
36156 fi
36157 else
36158 ac_cpp_err=yes
36159 fi
36160 if test -z "$ac_cpp_err"; then
36161 ac_header_preproc=yes
36162 else
36163 echo "$as_me: failed program was:" >&5
36164 sed 's/^/| /' conftest.$ac_ext >&5
36165
36166 ac_header_preproc=no
36167 fi
36168 rm -f conftest.err conftest.$ac_ext
36169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36170 echo "${ECHO_T}$ac_header_preproc" >&6
36171
36172 # So? What about this header?
36173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36174 yes:no: )
36175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36179 ac_header_preproc=yes
36180 ;;
36181 no:yes:* )
36182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36194 (
36195 cat <<\_ASBOX
36196 ## ----------------------------------------- ##
36197 ## Report this to wx-dev@lists.wxwidgets.org ##
36198 ## ----------------------------------------- ##
36199 _ASBOX
36200 ) |
36201 sed "s/^/$as_me: WARNING: /" >&2
36202 ;;
36203 esac
36204 echo "$as_me:$LINENO: checking for $ac_header" >&5
36205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 else
36209 eval "$as_ac_Header=\$ac_header_preproc"
36210 fi
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36213
36214 fi
36215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36216 cat >>confdefs.h <<_ACEOF
36217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36218 _ACEOF
36219
36220 EXTRALIBS_ESD="-lesd"
36221
36222 fi
36223
36224 done
36225
36226
36227 fi
36228
36229
36230
36231 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36232 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36233 cat >conftest.$ac_ext <<_ACEOF
36234 /* confdefs.h. */
36235 _ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36239 #ifdef __linux__
36240 #include <linux/cdrom.h>
36241 #else
36242 /* For Solaris */
36243 #include <sys/cdio.h>
36244 #endif
36245
36246 int
36247 main ()
36248 {
36249 struct cdrom_tocentry entry, old_entry;
36250 ;
36251 return 0;
36252 }
36253 _ACEOF
36254 rm -f conftest.$ac_objext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36256 (eval $ac_compile) 2>conftest.er1
36257 ac_status=$?
36258 grep -v '^ *+' conftest.er1 >conftest.err
36259 rm -f conftest.er1
36260 cat conftest.err >&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } &&
36263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try='test -s conftest.$ac_objext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36272 ac_status=$?
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 echo "$as_me:$LINENO: result: yes" >&5
36276 echo "${ECHO_T}yes" >&6
36277 cat >>confdefs.h <<\_ACEOF
36278 #define HAVE_KNOWN_CDROM_INTERFACE 1
36279 _ACEOF
36280
36281 else
36282 echo "$as_me: failed program was:" >&5
36283 sed 's/^/| /' conftest.$ac_ext >&5
36284
36285 echo "$as_me:$LINENO: result: no" >&5
36286 echo "${ECHO_T}no" >&6
36287 fi
36288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36289
36290
36291 cat >confcache <<\_ACEOF
36292 # This file is a shell script that caches the results of configure
36293 # tests run on this system so they can be shared between configure
36294 # scripts and configure runs, see configure's option --config-cache.
36295 # It is not useful on other systems. If it contains results you don't
36296 # want to keep, you may remove or edit it.
36297 #
36298 # config.status only pays attention to the cache file if you give it
36299 # the --recheck option to rerun configure.
36300 #
36301 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36302 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36303 # following values.
36304
36305 _ACEOF
36306
36307 # The following way of writing the cache mishandles newlines in values,
36308 # but we know of no workaround that is simple, portable, and efficient.
36309 # So, don't put newlines in cache variables' values.
36310 # Ultrix sh set writes to stderr and can't be redirected directly,
36311 # and sets the high bit in the cache file unless we assign to the vars.
36312 {
36313 (set) 2>&1 |
36314 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36315 *ac_space=\ *)
36316 # `set' does not quote correctly, so add quotes (double-quote
36317 # substitution turns \\\\ into \\, and sed turns \\ into \).
36318 sed -n \
36319 "s/'/'\\\\''/g;
36320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36321 ;;
36322 *)
36323 # `set' quotes correctly as required by POSIX, so do not add quotes.
36324 sed -n \
36325 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36326 ;;
36327 esac;
36328 } |
36329 sed '
36330 t clear
36331 : clear
36332 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36333 t end
36334 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36335 : end' >>confcache
36336 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36337 if test -w $cache_file; then
36338 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36339 cat confcache >$cache_file
36340 else
36341 echo "not updating unwritable cache $cache_file"
36342 fi
36343 fi
36344 rm -f confcache
36345
36346
36347 CPP_MT_FLAG=
36348 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36349
36350
36351 THREADS_LINK=
36352 THREADS_CFLAGS=
36353
36354 if test "$wxUSE_THREADS" = "yes" ; then
36355 if test "$USE_BEOS" = 1; then
36356 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36357 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36358 wxUSE_THREADS="no"
36359 fi
36360 fi
36361
36362 if test "$wxUSE_THREADS" = "yes" ; then
36363
36364
36365 THREAD_OPTS="-pthread"
36366 case "${host}" in
36367 *-*-solaris2* | *-*-sunos4* )
36368 if test "x$GCC" = "xyes"; then
36369 THREAD_OPTS="-pthreads $THREAD_OPTS"
36370 else
36371 THREAD_OPTS="-mt $THREAD_OPTS"
36372 fi
36373 ;;
36374 *-*-freebsd*)
36375 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36376 ;;
36377 *-*-darwin* | *-*-cygwin* )
36378 THREAD_OPTS=""
36379 ;;
36380 *-*-aix*)
36381 THREAD_OPTS="pthreads"
36382 ;;
36383 *-hp-hpux* )
36384 if test "x$GCC" = "xyes"; then
36385 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36386 THREAD_OPTS=""
36387 else
36388 THREAD_OPTS=""
36389 fi
36390 ;;
36391
36392 *-*-irix* )
36393 if test "x$GCC" = "xyes"; then
36394 THREAD_OPTS=""
36395 fi
36396 ;;
36397
36398 *-*-*UnixWare*)
36399 if test "x$GCC" != "xyes"; then
36400 THREAD_OPTS="-Ethread"
36401 fi
36402 ;;
36403 esac
36404
36405 THREAD_OPTS="$THREAD_OPTS pthread none"
36406
36407 THREADS_OK=no
36408 for flag in $THREAD_OPTS; do
36409 case $flag in
36410 none)
36411 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36412 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36413 ;;
36414
36415 -*)
36416 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36417 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36418 THREADS_CFLAGS="$flag"
36419 ;;
36420
36421 *)
36422 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36423 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36424 THREADS_LINK="-l$flag"
36425 ;;
36426 esac
36427
36428 save_LIBS="$LIBS"
36429 save_CFLAGS="$CFLAGS"
36430 LIBS="$THREADS_LINK $LIBS"
36431 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36432
36433 cat >conftest.$ac_ext <<_ACEOF
36434 /* confdefs.h. */
36435 _ACEOF
36436 cat confdefs.h >>conftest.$ac_ext
36437 cat >>conftest.$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 #include <pthread.h>
36440 int
36441 main ()
36442 {
36443 pthread_create(0,0,0,0);
36444 ;
36445 return 0;
36446 }
36447 _ACEOF
36448 rm -f conftest.$ac_objext conftest$ac_exeext
36449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36450 (eval $ac_link) 2>conftest.er1
36451 ac_status=$?
36452 grep -v '^ *+' conftest.er1 >conftest.err
36453 rm -f conftest.er1
36454 cat conftest.err >&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } &&
36457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36459 (eval $ac_try) 2>&5
36460 ac_status=$?
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); }; } &&
36463 { ac_try='test -s conftest$ac_exeext'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36466 ac_status=$?
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; }; then
36469 THREADS_OK=yes
36470 else
36471 echo "$as_me: failed program was:" >&5
36472 sed 's/^/| /' conftest.$ac_ext >&5
36473
36474 fi
36475 rm -f conftest.err conftest.$ac_objext \
36476 conftest$ac_exeext conftest.$ac_ext
36477
36478 LIBS="$save_LIBS"
36479 CFLAGS="$save_CFLAGS"
36480
36481 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36482 echo "${ECHO_T}$THREADS_OK" >&6
36483 if test "x$THREADS_OK" = "xyes"; then
36484 break;
36485 fi
36486
36487 THREADS_LINK=""
36488 THREADS_CFLAGS=""
36489 done
36490
36491 if test "x$THREADS_OK" != "xyes"; then
36492 wxUSE_THREADS=no
36493 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36494 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36495 else
36496 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
36497 LIBS="$THREADS_LINK $LIBS"
36498
36499 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36500 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36501 flag=no
36502 case "${host}" in
36503 *-aix*)
36504 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
36505 flag="-D_THREAD_SAFE"
36506 ;;
36507 *-freebsd*)
36508 flag="-D_THREAD_SAFE"
36509 ;;
36510 *-hp-hpux* )
36511 flag="-D_REENTRANT"
36512 if test "x$GCC" != "xyes"; then
36513 flag="$flag -D_RWSTD_MULTI_THREAD"
36514 fi
36515 ;;
36516 *solaris* | alpha*-osf*)
36517 flag="-D_REENTRANT"
36518 ;;
36519 esac
36520 echo "$as_me:$LINENO: result: ${flag}" >&5
36521 echo "${ECHO_T}${flag}" >&6
36522 if test "x$flag" != xno; then
36523 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
36524 fi
36525
36526 if test "x$THREADS_CFLAGS" != "x"; then
36527 CFLAGS="$CFLAGS $THREADS_CFLAGS"
36528 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
36529 fi
36530 fi
36531 fi
36532
36533 if test "$wxUSE_THREADS" = "yes" ; then
36534
36535 for ac_func in thr_setconcurrency
36536 do
36537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36538 echo "$as_me:$LINENO: checking for $ac_func" >&5
36539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36540 if eval "test \"\${$as_ac_var+set}\" = set"; then
36541 echo $ECHO_N "(cached) $ECHO_C" >&6
36542 else
36543 cat >conftest.$ac_ext <<_ACEOF
36544 /* confdefs.h. */
36545 _ACEOF
36546 cat confdefs.h >>conftest.$ac_ext
36547 cat >>conftest.$ac_ext <<_ACEOF
36548 /* end confdefs.h. */
36549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36551 #define $ac_func innocuous_$ac_func
36552
36553 /* System header to define __stub macros and hopefully few prototypes,
36554 which can conflict with char $ac_func (); below.
36555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36556 <limits.h> exists even on freestanding compilers. */
36557
36558 #ifdef __STDC__
36559 # include <limits.h>
36560 #else
36561 # include <assert.h>
36562 #endif
36563
36564 #undef $ac_func
36565
36566 /* Override any gcc2 internal prototype to avoid an error. */
36567 #ifdef __cplusplus
36568 extern "C"
36569 {
36570 #endif
36571 /* We use char because int might match the return type of a gcc2
36572 builtin and then its argument prototype would still apply. */
36573 char $ac_func ();
36574 /* The GNU C library defines this for functions which it implements
36575 to always fail with ENOSYS. Some functions are actually named
36576 something starting with __ and the normal name is an alias. */
36577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36578 choke me
36579 #else
36580 char (*f) () = $ac_func;
36581 #endif
36582 #ifdef __cplusplus
36583 }
36584 #endif
36585
36586 int
36587 main ()
36588 {
36589 return f != $ac_func;
36590 ;
36591 return 0;
36592 }
36593 _ACEOF
36594 rm -f conftest.$ac_objext conftest$ac_exeext
36595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36596 (eval $ac_link) 2>conftest.er1
36597 ac_status=$?
36598 grep -v '^ *+' conftest.er1 >conftest.err
36599 rm -f conftest.er1
36600 cat conftest.err >&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36606 ac_status=$?
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; } &&
36609 { ac_try='test -s conftest$ac_exeext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 eval "$as_ac_var=yes"
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 eval "$as_ac_var=no"
36621 fi
36622 rm -f conftest.err conftest.$ac_objext \
36623 conftest$ac_exeext conftest.$ac_ext
36624 fi
36625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36627 if test `eval echo '${'$as_ac_var'}'` = yes; then
36628 cat >>confdefs.h <<_ACEOF
36629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36630 _ACEOF
36631
36632 fi
36633 done
36634
36635
36636 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36637 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36638 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36641
36642 cat >conftest.$ac_ext <<_ACEOF
36643 /* confdefs.h. */
36644 _ACEOF
36645 cat confdefs.h >>conftest.$ac_ext
36646 cat >>conftest.$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36648 #include <pthread.h>
36649 void ThreadCleanupFunc(void *p);
36650
36651 int
36652 main ()
36653 {
36654
36655 void *p;
36656 pthread_cleanup_push(ThreadCleanupFunc, p);
36657 pthread_cleanup_pop(0);
36658
36659 ;
36660 return 0;
36661 }
36662 _ACEOF
36663 rm -f conftest.$ac_objext
36664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36665 (eval $ac_compile) 2>conftest.er1
36666 ac_status=$?
36667 grep -v '^ *+' conftest.er1 >conftest.err
36668 rm -f conftest.er1
36669 cat conftest.err >&5
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); } &&
36672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674 (eval $ac_try) 2>&5
36675 ac_status=$?
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; } &&
36678 { ac_try='test -s conftest.$ac_objext'
36679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36680 (eval $ac_try) 2>&5
36681 ac_status=$?
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); }; }; then
36684
36685 wx_cv_func_pthread_cleanup=yes
36686
36687 else
36688 echo "$as_me: failed program was:" >&5
36689 sed 's/^/| /' conftest.$ac_ext >&5
36690
36691
36692 wx_cv_func_pthread_cleanup=no
36693
36694
36695 fi
36696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36697
36698 fi
36699 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36700 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36701 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36702 cat >>confdefs.h <<\_ACEOF
36703 #define wxHAVE_PTHREAD_CLEANUP 1
36704 _ACEOF
36705
36706 fi
36707
36708
36709 for ac_header in sched.h
36710 do
36711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36713 echo "$as_me:$LINENO: checking for $ac_header" >&5
36714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 fi
36718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36720 else
36721 # Is the header compilable?
36722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36724 cat >conftest.$ac_ext <<_ACEOF
36725 /* confdefs.h. */
36726 _ACEOF
36727 cat confdefs.h >>conftest.$ac_ext
36728 cat >>conftest.$ac_ext <<_ACEOF
36729 /* end confdefs.h. */
36730 $ac_includes_default
36731 #include <$ac_header>
36732 _ACEOF
36733 rm -f conftest.$ac_objext
36734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36735 (eval $ac_compile) 2>conftest.er1
36736 ac_status=$?
36737 grep -v '^ *+' conftest.er1 >conftest.err
36738 rm -f conftest.er1
36739 cat conftest.err >&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } &&
36742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36744 (eval $ac_try) 2>&5
36745 ac_status=$?
36746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36747 (exit $ac_status); }; } &&
36748 { ac_try='test -s conftest.$ac_objext'
36749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36750 (eval $ac_try) 2>&5
36751 ac_status=$?
36752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36753 (exit $ac_status); }; }; then
36754 ac_header_compiler=yes
36755 else
36756 echo "$as_me: failed program was:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36758
36759 ac_header_compiler=no
36760 fi
36761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36763 echo "${ECHO_T}$ac_header_compiler" >&6
36764
36765 # Is the header present?
36766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36768 cat >conftest.$ac_ext <<_ACEOF
36769 /* confdefs.h. */
36770 _ACEOF
36771 cat confdefs.h >>conftest.$ac_ext
36772 cat >>conftest.$ac_ext <<_ACEOF
36773 /* end confdefs.h. */
36774 #include <$ac_header>
36775 _ACEOF
36776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36778 ac_status=$?
36779 grep -v '^ *+' conftest.er1 >conftest.err
36780 rm -f conftest.er1
36781 cat conftest.err >&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } >/dev/null; then
36784 if test -s conftest.err; then
36785 ac_cpp_err=$ac_c_preproc_warn_flag
36786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36787 else
36788 ac_cpp_err=
36789 fi
36790 else
36791 ac_cpp_err=yes
36792 fi
36793 if test -z "$ac_cpp_err"; then
36794 ac_header_preproc=yes
36795 else
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.$ac_ext >&5
36798
36799 ac_header_preproc=no
36800 fi
36801 rm -f conftest.err conftest.$ac_ext
36802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36803 echo "${ECHO_T}$ac_header_preproc" >&6
36804
36805 # So? What about this header?
36806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36807 yes:no: )
36808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36812 ac_header_preproc=yes
36813 ;;
36814 no:yes:* )
36815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36827 (
36828 cat <<\_ASBOX
36829 ## ----------------------------------------- ##
36830 ## Report this to wx-dev@lists.wxwidgets.org ##
36831 ## ----------------------------------------- ##
36832 _ASBOX
36833 ) |
36834 sed "s/^/$as_me: WARNING: /" >&2
36835 ;;
36836 esac
36837 echo "$as_me:$LINENO: checking for $ac_header" >&5
36838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36841 else
36842 eval "$as_ac_Header=\$ac_header_preproc"
36843 fi
36844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36846
36847 fi
36848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36849 cat >>confdefs.h <<_ACEOF
36850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36851 _ACEOF
36852
36853 fi
36854
36855 done
36856
36857 if test "$ac_cv_header_sched_h" = "yes"; then
36858 echo "$as_me:$LINENO: checking for sched_yield" >&5
36859 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36860 if test "${ac_cv_func_sched_yield+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 else
36863 cat >conftest.$ac_ext <<_ACEOF
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36871 #define sched_yield innocuous_sched_yield
36872
36873 /* System header to define __stub macros and hopefully few prototypes,
36874 which can conflict with char sched_yield (); below.
36875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36876 <limits.h> exists even on freestanding compilers. */
36877
36878 #ifdef __STDC__
36879 # include <limits.h>
36880 #else
36881 # include <assert.h>
36882 #endif
36883
36884 #undef sched_yield
36885
36886 /* Override any gcc2 internal prototype to avoid an error. */
36887 #ifdef __cplusplus
36888 extern "C"
36889 {
36890 #endif
36891 /* We use char because int might match the return type of a gcc2
36892 builtin and then its argument prototype would still apply. */
36893 char sched_yield ();
36894 /* The GNU C library defines this for functions which it implements
36895 to always fail with ENOSYS. Some functions are actually named
36896 something starting with __ and the normal name is an alias. */
36897 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36898 choke me
36899 #else
36900 char (*f) () = sched_yield;
36901 #endif
36902 #ifdef __cplusplus
36903 }
36904 #endif
36905
36906 int
36907 main ()
36908 {
36909 return f != sched_yield;
36910 ;
36911 return 0;
36912 }
36913 _ACEOF
36914 rm -f conftest.$ac_objext conftest$ac_exeext
36915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36916 (eval $ac_link) 2>conftest.er1
36917 ac_status=$?
36918 grep -v '^ *+' conftest.er1 >conftest.err
36919 rm -f conftest.er1
36920 cat conftest.err >&5
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); } &&
36923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36926 ac_status=$?
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; } &&
36929 { ac_try='test -s conftest$ac_exeext'
36930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36931 (eval $ac_try) 2>&5
36932 ac_status=$?
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); }; }; then
36935 ac_cv_func_sched_yield=yes
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940 ac_cv_func_sched_yield=no
36941 fi
36942 rm -f conftest.err conftest.$ac_objext \
36943 conftest$ac_exeext conftest.$ac_ext
36944 fi
36945 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36946 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36947 if test $ac_cv_func_sched_yield = yes; then
36948 cat >>confdefs.h <<\_ACEOF
36949 #define HAVE_SCHED_YIELD 1
36950 _ACEOF
36951
36952 else
36953
36954 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36955 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36956 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36957 echo $ECHO_N "(cached) $ECHO_C" >&6
36958 else
36959 ac_check_lib_save_LIBS=$LIBS
36960 LIBS="-lposix4 $LIBS"
36961 cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h. */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967
36968 /* Override any gcc2 internal prototype to avoid an error. */
36969 #ifdef __cplusplus
36970 extern "C"
36971 #endif
36972 /* We use char because int might match the return type of a gcc2
36973 builtin and then its argument prototype would still apply. */
36974 char sched_yield ();
36975 int
36976 main ()
36977 {
36978 sched_yield ();
36979 ;
36980 return 0;
36981 }
36982 _ACEOF
36983 rm -f conftest.$ac_objext conftest$ac_exeext
36984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36985 (eval $ac_link) 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } &&
36992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest$ac_exeext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 ac_cv_lib_posix4_sched_yield=yes
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37008
37009 ac_cv_lib_posix4_sched_yield=no
37010 fi
37011 rm -f conftest.err conftest.$ac_objext \
37012 conftest$ac_exeext conftest.$ac_ext
37013 LIBS=$ac_check_lib_save_LIBS
37014 fi
37015 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37016 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37017 if test $ac_cv_lib_posix4_sched_yield = yes; then
37018 cat >>confdefs.h <<\_ACEOF
37019 #define HAVE_SCHED_YIELD 1
37020 _ACEOF
37021 POSIX4_LINK=" -lposix4"
37022 else
37023 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37024 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37025
37026 fi
37027
37028
37029
37030 fi
37031
37032 fi
37033
37034 HAVE_PRIOR_FUNCS=0
37035 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37036 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37037 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37038 echo $ECHO_N "(cached) $ECHO_C" >&6
37039 else
37040 cat >conftest.$ac_ext <<_ACEOF
37041 /* confdefs.h. */
37042 _ACEOF
37043 cat confdefs.h >>conftest.$ac_ext
37044 cat >>conftest.$ac_ext <<_ACEOF
37045 /* end confdefs.h. */
37046 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37048 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37049
37050 /* System header to define __stub macros and hopefully few prototypes,
37051 which can conflict with char pthread_attr_getschedpolicy (); below.
37052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37053 <limits.h> exists even on freestanding compilers. */
37054
37055 #ifdef __STDC__
37056 # include <limits.h>
37057 #else
37058 # include <assert.h>
37059 #endif
37060
37061 #undef pthread_attr_getschedpolicy
37062
37063 /* Override any gcc2 internal prototype to avoid an error. */
37064 #ifdef __cplusplus
37065 extern "C"
37066 {
37067 #endif
37068 /* We use char because int might match the return type of a gcc2
37069 builtin and then its argument prototype would still apply. */
37070 char pthread_attr_getschedpolicy ();
37071 /* The GNU C library defines this for functions which it implements
37072 to always fail with ENOSYS. Some functions are actually named
37073 something starting with __ and the normal name is an alias. */
37074 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37075 choke me
37076 #else
37077 char (*f) () = pthread_attr_getschedpolicy;
37078 #endif
37079 #ifdef __cplusplus
37080 }
37081 #endif
37082
37083 int
37084 main ()
37085 {
37086 return f != pthread_attr_getschedpolicy;
37087 ;
37088 return 0;
37089 }
37090 _ACEOF
37091 rm -f conftest.$ac_objext conftest$ac_exeext
37092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37093 (eval $ac_link) 2>conftest.er1
37094 ac_status=$?
37095 grep -v '^ *+' conftest.er1 >conftest.err
37096 rm -f conftest.er1
37097 cat conftest.err >&5
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); } &&
37100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37103 ac_status=$?
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; } &&
37106 { ac_try='test -s conftest$ac_exeext'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37109 ac_status=$?
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; }; then
37112 ac_cv_func_pthread_attr_getschedpolicy=yes
37113 else
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 ac_cv_func_pthread_attr_getschedpolicy=no
37118 fi
37119 rm -f conftest.err conftest.$ac_objext \
37120 conftest$ac_exeext conftest.$ac_ext
37121 fi
37122 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37123 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37124 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37125 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37126 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37127 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 else
37130 cat >conftest.$ac_ext <<_ACEOF
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37139
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char pthread_attr_setschedparam (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37144
37145 #ifdef __STDC__
37146 # include <limits.h>
37147 #else
37148 # include <assert.h>
37149 #endif
37150
37151 #undef pthread_attr_setschedparam
37152
37153 /* Override any gcc2 internal prototype to avoid an error. */
37154 #ifdef __cplusplus
37155 extern "C"
37156 {
37157 #endif
37158 /* We use char because int might match the return type of a gcc2
37159 builtin and then its argument prototype would still apply. */
37160 char pthread_attr_setschedparam ();
37161 /* The GNU C library defines this for functions which it implements
37162 to always fail with ENOSYS. Some functions are actually named
37163 something starting with __ and the normal name is an alias. */
37164 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37165 choke me
37166 #else
37167 char (*f) () = pthread_attr_setschedparam;
37168 #endif
37169 #ifdef __cplusplus
37170 }
37171 #endif
37172
37173 int
37174 main ()
37175 {
37176 return f != pthread_attr_setschedparam;
37177 ;
37178 return 0;
37179 }
37180 _ACEOF
37181 rm -f conftest.$ac_objext conftest$ac_exeext
37182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37183 (eval $ac_link) 2>conftest.er1
37184 ac_status=$?
37185 grep -v '^ *+' conftest.er1 >conftest.err
37186 rm -f conftest.er1
37187 cat conftest.err >&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); } &&
37190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37192 (eval $ac_try) 2>&5
37193 ac_status=$?
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); }; } &&
37196 { ac_try='test -s conftest$ac_exeext'
37197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37198 (eval $ac_try) 2>&5
37199 ac_status=$?
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); }; }; then
37202 ac_cv_func_pthread_attr_setschedparam=yes
37203 else
37204 echo "$as_me: failed program was:" >&5
37205 sed 's/^/| /' conftest.$ac_ext >&5
37206
37207 ac_cv_func_pthread_attr_setschedparam=no
37208 fi
37209 rm -f conftest.err conftest.$ac_objext \
37210 conftest$ac_exeext conftest.$ac_ext
37211 fi
37212 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37213 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37214 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37215 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37216 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37217 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37220 cat >conftest.$ac_ext <<_ACEOF
37221 /* confdefs.h. */
37222 _ACEOF
37223 cat confdefs.h >>conftest.$ac_ext
37224 cat >>conftest.$ac_ext <<_ACEOF
37225 /* end confdefs.h. */
37226 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37228 #define sched_get_priority_max innocuous_sched_get_priority_max
37229
37230 /* System header to define __stub macros and hopefully few prototypes,
37231 which can conflict with char sched_get_priority_max (); below.
37232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37233 <limits.h> exists even on freestanding compilers. */
37234
37235 #ifdef __STDC__
37236 # include <limits.h>
37237 #else
37238 # include <assert.h>
37239 #endif
37240
37241 #undef sched_get_priority_max
37242
37243 /* Override any gcc2 internal prototype to avoid an error. */
37244 #ifdef __cplusplus
37245 extern "C"
37246 {
37247 #endif
37248 /* We use char because int might match the return type of a gcc2
37249 builtin and then its argument prototype would still apply. */
37250 char sched_get_priority_max ();
37251 /* The GNU C library defines this for functions which it implements
37252 to always fail with ENOSYS. Some functions are actually named
37253 something starting with __ and the normal name is an alias. */
37254 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37255 choke me
37256 #else
37257 char (*f) () = sched_get_priority_max;
37258 #endif
37259 #ifdef __cplusplus
37260 }
37261 #endif
37262
37263 int
37264 main ()
37265 {
37266 return f != sched_get_priority_max;
37267 ;
37268 return 0;
37269 }
37270 _ACEOF
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37273 (eval $ac_link) 2>conftest.er1
37274 ac_status=$?
37275 grep -v '^ *+' conftest.er1 >conftest.err
37276 rm -f conftest.er1
37277 cat conftest.err >&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); } &&
37280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37282 (eval $ac_try) 2>&5
37283 ac_status=$?
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); }; } &&
37286 { ac_try='test -s conftest$ac_exeext'
37287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37288 (eval $ac_try) 2>&5
37289 ac_status=$?
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); }; }; then
37292 ac_cv_func_sched_get_priority_max=yes
37293 else
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.$ac_ext >&5
37296
37297 ac_cv_func_sched_get_priority_max=no
37298 fi
37299 rm -f conftest.err conftest.$ac_objext \
37300 conftest$ac_exeext conftest.$ac_ext
37301 fi
37302 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37303 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37304 if test $ac_cv_func_sched_get_priority_max = yes; then
37305 HAVE_PRIOR_FUNCS=1
37306 else
37307 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37308 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37309 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37310 echo $ECHO_N "(cached) $ECHO_C" >&6
37311 else
37312 ac_check_lib_save_LIBS=$LIBS
37313 LIBS="-lposix4 $LIBS"
37314 cat >conftest.$ac_ext <<_ACEOF
37315 /* confdefs.h. */
37316 _ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37320
37321 /* Override any gcc2 internal prototype to avoid an error. */
37322 #ifdef __cplusplus
37323 extern "C"
37324 #endif
37325 /* We use char because int might match the return type of a gcc2
37326 builtin and then its argument prototype would still apply. */
37327 char sched_get_priority_max ();
37328 int
37329 main ()
37330 {
37331 sched_get_priority_max ();
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext conftest$ac_exeext
37337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37338 (eval $ac_link) 2>conftest.er1
37339 ac_status=$?
37340 grep -v '^ *+' conftest.er1 >conftest.err
37341 rm -f conftest.er1
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } &&
37345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37348 ac_status=$?
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; } &&
37351 { ac_try='test -s conftest$ac_exeext'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37354 ac_status=$?
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; }; then
37357 ac_cv_lib_posix4_sched_get_priority_max=yes
37358 else
37359 echo "$as_me: failed program was:" >&5
37360 sed 's/^/| /' conftest.$ac_ext >&5
37361
37362 ac_cv_lib_posix4_sched_get_priority_max=no
37363 fi
37364 rm -f conftest.err conftest.$ac_objext \
37365 conftest$ac_exeext conftest.$ac_ext
37366 LIBS=$ac_check_lib_save_LIBS
37367 fi
37368 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37369 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37370 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37371
37372 HAVE_PRIOR_FUNCS=1
37373 POSIX4_LINK=" -lposix4"
37374
37375 fi
37376
37377
37378 fi
37379
37380
37381 fi
37382
37383
37384 fi
37385
37386
37387 if test "$HAVE_PRIOR_FUNCS" = 1; then
37388 cat >>confdefs.h <<\_ACEOF
37389 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37390 _ACEOF
37391
37392 else
37393 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37394 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37395 fi
37396
37397 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37398 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37399 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37401 else
37402 cat >conftest.$ac_ext <<_ACEOF
37403 /* confdefs.h. */
37404 _ACEOF
37405 cat confdefs.h >>conftest.$ac_ext
37406 cat >>conftest.$ac_ext <<_ACEOF
37407 /* end confdefs.h. */
37408 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37410 #define pthread_cancel innocuous_pthread_cancel
37411
37412 /* System header to define __stub macros and hopefully few prototypes,
37413 which can conflict with char pthread_cancel (); below.
37414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37415 <limits.h> exists even on freestanding compilers. */
37416
37417 #ifdef __STDC__
37418 # include <limits.h>
37419 #else
37420 # include <assert.h>
37421 #endif
37422
37423 #undef pthread_cancel
37424
37425 /* Override any gcc2 internal prototype to avoid an error. */
37426 #ifdef __cplusplus
37427 extern "C"
37428 {
37429 #endif
37430 /* We use char because int might match the return type of a gcc2
37431 builtin and then its argument prototype would still apply. */
37432 char pthread_cancel ();
37433 /* The GNU C library defines this for functions which it implements
37434 to always fail with ENOSYS. Some functions are actually named
37435 something starting with __ and the normal name is an alias. */
37436 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37437 choke me
37438 #else
37439 char (*f) () = pthread_cancel;
37440 #endif
37441 #ifdef __cplusplus
37442 }
37443 #endif
37444
37445 int
37446 main ()
37447 {
37448 return f != pthread_cancel;
37449 ;
37450 return 0;
37451 }
37452 _ACEOF
37453 rm -f conftest.$ac_objext conftest$ac_exeext
37454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37455 (eval $ac_link) 2>conftest.er1
37456 ac_status=$?
37457 grep -v '^ *+' conftest.er1 >conftest.err
37458 rm -f conftest.er1
37459 cat conftest.err >&5
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); } &&
37462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; } &&
37468 { ac_try='test -s conftest$ac_exeext'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37471 ac_status=$?
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; }; then
37474 ac_cv_func_pthread_cancel=yes
37475 else
37476 echo "$as_me: failed program was:" >&5
37477 sed 's/^/| /' conftest.$ac_ext >&5
37478
37479 ac_cv_func_pthread_cancel=no
37480 fi
37481 rm -f conftest.err conftest.$ac_objext \
37482 conftest$ac_exeext conftest.$ac_ext
37483 fi
37484 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37485 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37486 if test $ac_cv_func_pthread_cancel = yes; then
37487 cat >>confdefs.h <<\_ACEOF
37488 #define HAVE_PTHREAD_CANCEL 1
37489 _ACEOF
37490
37491 else
37492 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37493 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37494 fi
37495
37496
37497 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37498 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37499 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502 cat >conftest.$ac_ext <<_ACEOF
37503 /* confdefs.h. */
37504 _ACEOF
37505 cat confdefs.h >>conftest.$ac_ext
37506 cat >>conftest.$ac_ext <<_ACEOF
37507 /* end confdefs.h. */
37508 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37510 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37511
37512 /* System header to define __stub macros and hopefully few prototypes,
37513 which can conflict with char pthread_attr_setstacksize (); below.
37514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37515 <limits.h> exists even on freestanding compilers. */
37516
37517 #ifdef __STDC__
37518 # include <limits.h>
37519 #else
37520 # include <assert.h>
37521 #endif
37522
37523 #undef pthread_attr_setstacksize
37524
37525 /* Override any gcc2 internal prototype to avoid an error. */
37526 #ifdef __cplusplus
37527 extern "C"
37528 {
37529 #endif
37530 /* We use char because int might match the return type of a gcc2
37531 builtin and then its argument prototype would still apply. */
37532 char pthread_attr_setstacksize ();
37533 /* The GNU C library defines this for functions which it implements
37534 to always fail with ENOSYS. Some functions are actually named
37535 something starting with __ and the normal name is an alias. */
37536 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37537 choke me
37538 #else
37539 char (*f) () = pthread_attr_setstacksize;
37540 #endif
37541 #ifdef __cplusplus
37542 }
37543 #endif
37544
37545 int
37546 main ()
37547 {
37548 return f != pthread_attr_setstacksize;
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 rm -f conftest.$ac_objext conftest$ac_exeext
37554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37555 (eval $ac_link) 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } &&
37562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; } &&
37568 { ac_try='test -s conftest$ac_exeext'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; }; then
37574 ac_cv_func_pthread_attr_setstacksize=yes
37575 else
37576 echo "$as_me: failed program was:" >&5
37577 sed 's/^/| /' conftest.$ac_ext >&5
37578
37579 ac_cv_func_pthread_attr_setstacksize=no
37580 fi
37581 rm -f conftest.err conftest.$ac_objext \
37582 conftest$ac_exeext conftest.$ac_ext
37583 fi
37584 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37585 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37586 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37587 cat >>confdefs.h <<\_ACEOF
37588 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37589 _ACEOF
37590
37591 fi
37592
37593
37594
37595 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37596 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37597 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 else
37600
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 #include <pthread.h>
37608 int
37609 main ()
37610 {
37611
37612 pthread_mutexattr_t attr;
37613 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37614
37615 ;
37616 return 0;
37617 }
37618 _ACEOF
37619 rm -f conftest.$ac_objext
37620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37621 (eval $ac_compile) 2>conftest.er1
37622 ac_status=$?
37623 grep -v '^ *+' conftest.er1 >conftest.err
37624 rm -f conftest.er1
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } &&
37628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37631 ac_status=$?
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; } &&
37634 { ac_try='test -s conftest.$ac_objext'
37635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37636 (eval $ac_try) 2>&5
37637 ac_status=$?
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; }; then
37640 wx_cv_type_pthread_mutexattr_t=yes
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37644
37645 wx_cv_type_pthread_mutexattr_t=no
37646
37647 fi
37648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37649
37650 fi
37651 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37652 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37653
37654 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37655 cat >>confdefs.h <<\_ACEOF
37656 #define HAVE_PTHREAD_MUTEXATTR_T 1
37657 _ACEOF
37658
37659
37660 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37661 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37662 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37665
37666 cat >conftest.$ac_ext <<_ACEOF
37667 /* confdefs.h. */
37668 _ACEOF
37669 cat confdefs.h >>conftest.$ac_ext
37670 cat >>conftest.$ac_ext <<_ACEOF
37671 /* end confdefs.h. */
37672 #include <pthread.h>
37673 int
37674 main ()
37675 {
37676
37677 pthread_mutexattr_t attr;
37678 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37679
37680 ;
37681 return 0;
37682 }
37683 _ACEOF
37684 rm -f conftest.$ac_objext
37685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37686 (eval $ac_compile) 2>conftest.er1
37687 ac_status=$?
37688 grep -v '^ *+' conftest.er1 >conftest.err
37689 rm -f conftest.er1
37690 cat conftest.err >&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); } &&
37693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37696 ac_status=$?
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try='test -s conftest.$ac_objext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37702 ac_status=$?
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 wx_cv_func_pthread_mutexattr_settype_decl=yes
37706 else
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37709
37710 wx_cv_func_pthread_mutexattr_settype_decl=no
37711
37712 fi
37713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37714
37715 fi
37716 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37717 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37718 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37719 cat >>confdefs.h <<\_ACEOF
37720 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37721 _ACEOF
37722
37723 fi
37724 else
37725 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37726 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37727 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37728 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 else
37730
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 #include <pthread.h>
37738 int
37739 main ()
37740 {
37741
37742 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37743
37744 ;
37745 return 0;
37746 }
37747 _ACEOF
37748 rm -f conftest.$ac_objext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37750 (eval $ac_compile) 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37759 (eval $ac_try) 2>&5
37760 ac_status=$?
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); }; } &&
37763 { ac_try='test -s conftest.$ac_objext'
37764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37765 (eval $ac_try) 2>&5
37766 ac_status=$?
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); }; }; then
37769
37770 wx_cv_type_pthread_rec_mutex_init=yes
37771
37772 else
37773 echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.$ac_ext >&5
37775
37776
37777 wx_cv_type_pthread_rec_mutex_init=no
37778
37779
37780 fi
37781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37782
37783 fi
37784 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37785 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37786 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37787 cat >>confdefs.h <<\_ACEOF
37788 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37789 _ACEOF
37790
37791 else
37792 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37793 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37794 fi
37795 fi
37796 fi
37797
37798 else
37799 if test "$wxUSE_THREADS" = "yes" ; then
37800 case "${host}" in
37801 *-*-mingw32* )
37802 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37803 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37804 if test "${wx_cv_cflags_mthread+set}" = set; then
37805 echo $ECHO_N "(cached) $ECHO_C" >&6
37806 else
37807
37808 CFLAGS_OLD="$CFLAGS"
37809 CFLAGS="$CFLAGS -mthreads"
37810 cat >conftest.$ac_ext <<_ACEOF
37811 /* confdefs.h. */
37812 _ACEOF
37813 cat confdefs.h >>conftest.$ac_ext
37814 cat >>conftest.$ac_ext <<_ACEOF
37815 /* end confdefs.h. */
37816
37817 int
37818 main ()
37819 {
37820
37821 ;
37822 return 0;
37823 }
37824 _ACEOF
37825 rm -f conftest.$ac_objext
37826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37827 (eval $ac_compile) 2>conftest.er1
37828 ac_status=$?
37829 grep -v '^ *+' conftest.er1 >conftest.err
37830 rm -f conftest.er1
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } &&
37834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37836 (eval $ac_try) 2>&5
37837 ac_status=$?
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); }; } &&
37840 { ac_try='test -s conftest.$ac_objext'
37841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37842 (eval $ac_try) 2>&5
37843 ac_status=$?
37844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37845 (exit $ac_status); }; }; then
37846 wx_cv_cflags_mthread=yes
37847 else
37848 echo "$as_me: failed program was:" >&5
37849 sed 's/^/| /' conftest.$ac_ext >&5
37850
37851 wx_cv_cflags_mthread=no
37852
37853 fi
37854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37855
37856
37857 fi
37858 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37859 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37860
37861 if test "$wx_cv_cflags_mthread" = "yes"; then
37862 CXXFLAGS="$CXXFLAGS -mthreads"
37863 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
37864 LDFLAGS="$LDFLAGS -mthreads"
37865 else
37866 CFLAGS="$CFLAGS_OLD"
37867 fi
37868 ;;
37869 *-pc-os2*emx )
37870 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37871 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37872 LDFLAGS="$LDFLAGS -Zmt"
37873 ;;
37874 esac
37875 fi
37876 fi
37877
37878 if test "$wxUSE_THREADS" = "yes"; then
37879 cat >>confdefs.h <<\_ACEOF
37880 #define wxUSE_THREADS 1
37881 _ACEOF
37882
37883
37884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
37885 else
37886 if test "$ac_cv_func_strtok_r" = "yes"; then
37887 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37888 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37889 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37890 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
37891 echo "$as_me:$LINENO: result: yes" >&5
37892 echo "${ECHO_T}yes" >&6
37893 else
37894 echo "$as_me:$LINENO: result: no" >&5
37895 echo "${ECHO_T}no" >&6
37896 fi
37897 fi
37898 fi
37899
37900 if test "$WXGTK20" = 1 ; then
37901 cat >>confdefs.h <<_ACEOF
37902 #define __WXGTK20__ $WXGTK20
37903 _ACEOF
37904
37905 WXGTK12=1
37906 fi
37907
37908 if test "$WXGTK12" = 1 ; then
37909 cat >>confdefs.h <<_ACEOF
37910 #define __WXGTK12__ $WXGTK12
37911 _ACEOF
37912
37913 fi
37914
37915 if test "$WXGTK127" = 1 ; then
37916 cat >>confdefs.h <<_ACEOF
37917 #define __WXGTK127__ $WXGTK127
37918 _ACEOF
37919
37920 fi
37921
37922 if test "$WXGPE" = 1 ; then
37923 cat >>confdefs.h <<_ACEOF
37924 #define __WXGPE__ $WXGPE
37925 _ACEOF
37926
37927 fi
37928
37929 WXDEBUG=
37930
37931 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37932 WXDEBUG="-g"
37933 wxUSE_OPTIMISE=no
37934 fi
37935
37936 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37937 wxUSE_DEBUG_INFO=yes
37938 if test "$GCC" = yes; then
37939 WXDEBUG="-ggdb"
37940 fi
37941 fi
37942
37943 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37944 cat >>confdefs.h <<\_ACEOF
37945 #define WXDEBUG 1
37946 _ACEOF
37947
37948 WXDEBUG_DEFINE="-D__WXDEBUG__"
37949 else
37950 if test "$wxUSE_GTK" = 1 ; then
37951 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
37952 fi
37953 fi
37954
37955 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37956 cat >>confdefs.h <<\_ACEOF
37957 #define wxUSE_MEMORY_TRACING 1
37958 _ACEOF
37959
37960 cat >>confdefs.h <<\_ACEOF
37961 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37962 _ACEOF
37963
37964 cat >>confdefs.h <<\_ACEOF
37965 #define wxUSE_DEBUG_NEW_ALWAYS 1
37966 _ACEOF
37967
37968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
37969 fi
37970
37971 if test "$wxUSE_DMALLOC" = "yes" ; then
37972 DMALLOC_LIBS="-ldmallocthcxx"
37973 fi
37974
37975 PROFILE=
37976 if test "$wxUSE_PROFILE" = "yes" ; then
37977 PROFILE=" -pg"
37978 fi
37979
37980 CODE_GEN_FLAGS=
37981 CODE_GEN_FLAGS_CXX=
37982 if test "$GCC" = "yes" ; then
37983 if test "$wxUSE_NO_RTTI" = "yes" ; then
37984 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
37985 fi
37986 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37987 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37988 fi
37989 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37990 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
37991 fi
37992
37993 case "${host}" in
37994 powerpc*-*-aix* )
37995 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
37996 ;;
37997 *-hppa* )
37998 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
37999 ;;
38000 esac
38001 fi
38002
38003 OPTIMISE=
38004 if test "$wxUSE_OPTIMISE" = "no" ; then
38005 if test "$GCC" = yes ; then
38006 OPTIMISE="-O0"
38007 fi
38008 else
38009 if test "$GCC" = yes ; then
38010 OPTIMISE="-O2"
38011
38012 case "${host}" in
38013 i586-*-*|i686-*-* )
38014 OPTIMISE="${OPTIMISE} "
38015 ;;
38016 esac
38017 else
38018 OPTIMISE="-O"
38019 fi
38020 fi
38021
38022
38023 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
38024 cat >>confdefs.h <<\_ACEOF
38025 #define WXWIN_COMPATIBILITY_2_2 1
38026 _ACEOF
38027
38028
38029 WXWIN_COMPATIBILITY_2_4="yes"
38030 fi
38031
38032 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
38033 cat >>confdefs.h <<\_ACEOF
38034 #define WXWIN_COMPATIBILITY_2_4 1
38035 _ACEOF
38036
38037 fi
38038
38039
38040 if test "$wxUSE_GUI" = "yes"; then
38041 cat >>confdefs.h <<\_ACEOF
38042 #define wxUSE_GUI 1
38043 _ACEOF
38044
38045
38046 fi
38047
38048
38049 if test "$wxUSE_UNIX" = "yes"; then
38050 cat >>confdefs.h <<\_ACEOF
38051 #define wxUSE_UNIX 1
38052 _ACEOF
38053
38054 fi
38055
38056
38057 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38058
38059 HAVE_DL_FUNCS=0
38060 HAVE_SHL_FUNCS=0
38061 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38062 if test "$USE_DARWIN" = 1; then
38063 HAVE_DL_FUNCS=1
38064 elif test "$USE_DOS" = 1; then
38065 HAVE_DL_FUNCS=0
38066 else
38067
38068 for ac_func in dlopen
38069 do
38070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076 cat >conftest.$ac_ext <<_ACEOF
38077 /* confdefs.h. */
38078 _ACEOF
38079 cat confdefs.h >>conftest.$ac_ext
38080 cat >>conftest.$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38084 #define $ac_func innocuous_$ac_func
38085
38086 /* System header to define __stub macros and hopefully few prototypes,
38087 which can conflict with char $ac_func (); below.
38088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38089 <limits.h> exists even on freestanding compilers. */
38090
38091 #ifdef __STDC__
38092 # include <limits.h>
38093 #else
38094 # include <assert.h>
38095 #endif
38096
38097 #undef $ac_func
38098
38099 /* Override any gcc2 internal prototype to avoid an error. */
38100 #ifdef __cplusplus
38101 extern "C"
38102 {
38103 #endif
38104 /* We use char because int might match the return type of a gcc2
38105 builtin and then its argument prototype would still apply. */
38106 char $ac_func ();
38107 /* The GNU C library defines this for functions which it implements
38108 to always fail with ENOSYS. Some functions are actually named
38109 something starting with __ and the normal name is an alias. */
38110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38111 choke me
38112 #else
38113 char (*f) () = $ac_func;
38114 #endif
38115 #ifdef __cplusplus
38116 }
38117 #endif
38118
38119 int
38120 main ()
38121 {
38122 return f != $ac_func;
38123 ;
38124 return 0;
38125 }
38126 _ACEOF
38127 rm -f conftest.$ac_objext conftest$ac_exeext
38128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38129 (eval $ac_link) 2>conftest.er1
38130 ac_status=$?
38131 grep -v '^ *+' conftest.er1 >conftest.err
38132 rm -f conftest.er1
38133 cat conftest.err >&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } &&
38136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38145 ac_status=$?
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 eval "$as_ac_var=yes"
38149 else
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38152
38153 eval "$as_ac_var=no"
38154 fi
38155 rm -f conftest.err conftest.$ac_objext \
38156 conftest$ac_exeext conftest.$ac_ext
38157 fi
38158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38160 if test `eval echo '${'$as_ac_var'}'` = yes; then
38161 cat >>confdefs.h <<_ACEOF
38162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38163 _ACEOF
38164
38165 cat >>confdefs.h <<\_ACEOF
38166 #define HAVE_DLOPEN 1
38167 _ACEOF
38168
38169 HAVE_DL_FUNCS=1
38170
38171 else
38172
38173 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38174 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38175 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 else
38178 ac_check_lib_save_LIBS=$LIBS
38179 LIBS="-ldl $LIBS"
38180 cat >conftest.$ac_ext <<_ACEOF
38181 /* confdefs.h. */
38182 _ACEOF
38183 cat confdefs.h >>conftest.$ac_ext
38184 cat >>conftest.$ac_ext <<_ACEOF
38185 /* end confdefs.h. */
38186
38187 /* Override any gcc2 internal prototype to avoid an error. */
38188 #ifdef __cplusplus
38189 extern "C"
38190 #endif
38191 /* We use char because int might match the return type of a gcc2
38192 builtin and then its argument prototype would still apply. */
38193 char dlopen ();
38194 int
38195 main ()
38196 {
38197 dlopen ();
38198 ;
38199 return 0;
38200 }
38201 _ACEOF
38202 rm -f conftest.$ac_objext conftest$ac_exeext
38203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38204 (eval $ac_link) 2>conftest.er1
38205 ac_status=$?
38206 grep -v '^ *+' conftest.er1 >conftest.err
38207 rm -f conftest.er1
38208 cat conftest.err >&5
38209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210 (exit $ac_status); } &&
38211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38213 (eval $ac_try) 2>&5
38214 ac_status=$?
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); }; } &&
38217 { ac_try='test -s conftest$ac_exeext'
38218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38219 (eval $ac_try) 2>&5
38220 ac_status=$?
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); }; }; then
38223 ac_cv_lib_dl_dlopen=yes
38224 else
38225 echo "$as_me: failed program was:" >&5
38226 sed 's/^/| /' conftest.$ac_ext >&5
38227
38228 ac_cv_lib_dl_dlopen=no
38229 fi
38230 rm -f conftest.err conftest.$ac_objext \
38231 conftest$ac_exeext conftest.$ac_ext
38232 LIBS=$ac_check_lib_save_LIBS
38233 fi
38234 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38235 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38236 if test $ac_cv_lib_dl_dlopen = yes; then
38237
38238 cat >>confdefs.h <<\_ACEOF
38239 #define HAVE_DLOPEN 1
38240 _ACEOF
38241
38242 HAVE_DL_FUNCS=1
38243 DL_LINK=" -ldl$DL_LINK"
38244
38245 else
38246
38247
38248 for ac_func in shl_load
38249 do
38250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38251 echo "$as_me:$LINENO: checking for $ac_func" >&5
38252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38253 if eval "test \"\${$as_ac_var+set}\" = set"; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38255 else
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38264 #define $ac_func innocuous_$ac_func
38265
38266 /* System header to define __stub macros and hopefully few prototypes,
38267 which can conflict with char $ac_func (); below.
38268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38269 <limits.h> exists even on freestanding compilers. */
38270
38271 #ifdef __STDC__
38272 # include <limits.h>
38273 #else
38274 # include <assert.h>
38275 #endif
38276
38277 #undef $ac_func
38278
38279 /* Override any gcc2 internal prototype to avoid an error. */
38280 #ifdef __cplusplus
38281 extern "C"
38282 {
38283 #endif
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char $ac_func ();
38287 /* The GNU C library defines this for functions which it implements
38288 to always fail with ENOSYS. Some functions are actually named
38289 something starting with __ and the normal name is an alias. */
38290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38291 choke me
38292 #else
38293 char (*f) () = $ac_func;
38294 #endif
38295 #ifdef __cplusplus
38296 }
38297 #endif
38298
38299 int
38300 main ()
38301 {
38302 return f != $ac_func;
38303 ;
38304 return 0;
38305 }
38306 _ACEOF
38307 rm -f conftest.$ac_objext conftest$ac_exeext
38308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38309 (eval $ac_link) 2>conftest.er1
38310 ac_status=$?
38311 grep -v '^ *+' conftest.er1 >conftest.err
38312 rm -f conftest.er1
38313 cat conftest.err >&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); } &&
38316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38318 (eval $ac_try) 2>&5
38319 ac_status=$?
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); }; } &&
38322 { ac_try='test -s conftest$ac_exeext'
38323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324 (eval $ac_try) 2>&5
38325 ac_status=$?
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); }; }; then
38328 eval "$as_ac_var=yes"
38329 else
38330 echo "$as_me: failed program was:" >&5
38331 sed 's/^/| /' conftest.$ac_ext >&5
38332
38333 eval "$as_ac_var=no"
38334 fi
38335 rm -f conftest.err conftest.$ac_objext \
38336 conftest$ac_exeext conftest.$ac_ext
38337 fi
38338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38340 if test `eval echo '${'$as_ac_var'}'` = yes; then
38341 cat >>confdefs.h <<_ACEOF
38342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38343 _ACEOF
38344
38345 cat >>confdefs.h <<\_ACEOF
38346 #define HAVE_SHL_LOAD 1
38347 _ACEOF
38348
38349 HAVE_SHL_FUNCS=1
38350
38351 else
38352
38353 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38354 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38355 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38356 echo $ECHO_N "(cached) $ECHO_C" >&6
38357 else
38358 ac_check_lib_save_LIBS=$LIBS
38359 LIBS="-lshl_load $LIBS"
38360 cat >conftest.$ac_ext <<_ACEOF
38361 /* confdefs.h. */
38362 _ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38366
38367 /* Override any gcc2 internal prototype to avoid an error. */
38368 #ifdef __cplusplus
38369 extern "C"
38370 #endif
38371 /* We use char because int might match the return type of a gcc2
38372 builtin and then its argument prototype would still apply. */
38373 char dld ();
38374 int
38375 main ()
38376 {
38377 dld ();
38378 ;
38379 return 0;
38380 }
38381 _ACEOF
38382 rm -f conftest.$ac_objext conftest$ac_exeext
38383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38384 (eval $ac_link) 2>conftest.er1
38385 ac_status=$?
38386 grep -v '^ *+' conftest.er1 >conftest.err
38387 rm -f conftest.er1
38388 cat conftest.err >&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } &&
38391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393 (eval $ac_try) 2>&5
38394 ac_status=$?
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); }; } &&
38397 { ac_try='test -s conftest$ac_exeext'
38398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38399 (eval $ac_try) 2>&5
38400 ac_status=$?
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); }; }; then
38403 ac_cv_lib_shl_load_dld=yes
38404 else
38405 echo "$as_me: failed program was:" >&5
38406 sed 's/^/| /' conftest.$ac_ext >&5
38407
38408 ac_cv_lib_shl_load_dld=no
38409 fi
38410 rm -f conftest.err conftest.$ac_objext \
38411 conftest$ac_exeext conftest.$ac_ext
38412 LIBS=$ac_check_lib_save_LIBS
38413 fi
38414 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38415 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38416 if test $ac_cv_lib_shl_load_dld = yes; then
38417
38418 HAVE_SHL_FUNCS=1
38419 DL_LINK=" -ldld$DL_LINK"
38420
38421 fi
38422
38423
38424 fi
38425 done
38426
38427
38428 fi
38429
38430
38431 fi
38432 done
38433
38434
38435 if test "$HAVE_DL_FUNCS" = 1; then
38436
38437 for ac_func in dlerror
38438 do
38439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38440 echo "$as_me:$LINENO: checking for $ac_func" >&5
38441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38442 if eval "test \"\${$as_ac_var+set}\" = set"; then
38443 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 else
38445 cat >conftest.$ac_ext <<_ACEOF
38446 /* confdefs.h. */
38447 _ACEOF
38448 cat confdefs.h >>conftest.$ac_ext
38449 cat >>conftest.$ac_ext <<_ACEOF
38450 /* end confdefs.h. */
38451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38453 #define $ac_func innocuous_$ac_func
38454
38455 /* System header to define __stub macros and hopefully few prototypes,
38456 which can conflict with char $ac_func (); below.
38457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38458 <limits.h> exists even on freestanding compilers. */
38459
38460 #ifdef __STDC__
38461 # include <limits.h>
38462 #else
38463 # include <assert.h>
38464 #endif
38465
38466 #undef $ac_func
38467
38468 /* Override any gcc2 internal prototype to avoid an error. */
38469 #ifdef __cplusplus
38470 extern "C"
38471 {
38472 #endif
38473 /* We use char because int might match the return type of a gcc2
38474 builtin and then its argument prototype would still apply. */
38475 char $ac_func ();
38476 /* The GNU C library defines this for functions which it implements
38477 to always fail with ENOSYS. Some functions are actually named
38478 something starting with __ and the normal name is an alias. */
38479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38480 choke me
38481 #else
38482 char (*f) () = $ac_func;
38483 #endif
38484 #ifdef __cplusplus
38485 }
38486 #endif
38487
38488 int
38489 main ()
38490 {
38491 return f != $ac_func;
38492 ;
38493 return 0;
38494 }
38495 _ACEOF
38496 rm -f conftest.$ac_objext conftest$ac_exeext
38497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38498 (eval $ac_link) 2>conftest.er1
38499 ac_status=$?
38500 grep -v '^ *+' conftest.er1 >conftest.err
38501 rm -f conftest.er1
38502 cat conftest.err >&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); } &&
38505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; } &&
38511 { ac_try='test -s conftest$ac_exeext'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38514 ac_status=$?
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; }; then
38517 eval "$as_ac_var=yes"
38518 else
38519 echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.$ac_ext >&5
38521
38522 eval "$as_ac_var=no"
38523 fi
38524 rm -f conftest.err conftest.$ac_objext \
38525 conftest$ac_exeext conftest.$ac_ext
38526 fi
38527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38529 if test `eval echo '${'$as_ac_var'}'` = yes; then
38530 cat >>confdefs.h <<_ACEOF
38531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38532 _ACEOF
38533 cat >>confdefs.h <<\_ACEOF
38534 #define HAVE_DLERROR 1
38535 _ACEOF
38536
38537 else
38538
38539 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38540 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38541 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544 ac_check_lib_save_LIBS=$LIBS
38545 LIBS="-ldl $LIBS"
38546 cat >conftest.$ac_ext <<_ACEOF
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552
38553 /* Override any gcc2 internal prototype to avoid an error. */
38554 #ifdef __cplusplus
38555 extern "C"
38556 #endif
38557 /* We use char because int might match the return type of a gcc2
38558 builtin and then its argument prototype would still apply. */
38559 char dlerror ();
38560 int
38561 main ()
38562 {
38563 dlerror ();
38564 ;
38565 return 0;
38566 }
38567 _ACEOF
38568 rm -f conftest.$ac_objext conftest$ac_exeext
38569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38570 (eval $ac_link) 2>conftest.er1
38571 ac_status=$?
38572 grep -v '^ *+' conftest.er1 >conftest.err
38573 rm -f conftest.er1
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } &&
38577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38580 ac_status=$?
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; } &&
38583 { ac_try='test -s conftest$ac_exeext'
38584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585 (eval $ac_try) 2>&5
38586 ac_status=$?
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); }; }; then
38589 ac_cv_lib_dl_dlerror=yes
38590 else
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38593
38594 ac_cv_lib_dl_dlerror=no
38595 fi
38596 rm -f conftest.err conftest.$ac_objext \
38597 conftest$ac_exeext conftest.$ac_ext
38598 LIBS=$ac_check_lib_save_LIBS
38599 fi
38600 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38601 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38602 if test $ac_cv_lib_dl_dlerror = yes; then
38603 cat >>confdefs.h <<\_ACEOF
38604 #define HAVE_DLERROR 1
38605 _ACEOF
38606
38607 fi
38608
38609
38610
38611 fi
38612 done
38613
38614 fi
38615 fi
38616
38617 if test "$HAVE_DL_FUNCS" = 0; then
38618 if test "$HAVE_SHL_FUNCS" = 0; then
38619 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38620 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38621 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38622 wxUSE_DYNAMIC_LOADER=no
38623 wxUSE_DYNLIB_CLASS=no
38624 else
38625 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38626 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38627 fi
38628 fi
38629 fi
38630 fi
38631 fi
38632
38633 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38634 cat >>confdefs.h <<\_ACEOF
38635 #define wxUSE_DYNAMIC_LOADER 1
38636 _ACEOF
38637
38638 fi
38639 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38640 cat >>confdefs.h <<\_ACEOF
38641 #define wxUSE_DYNLIB_CLASS 1
38642 _ACEOF
38643
38644 fi
38645
38646
38647
38648 if test "$wxUSE_PLUGINS" = "yes" ; then
38649 if test "$wxUSE_SHARED" = "no" ; then
38650 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38651 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38652 wxUSE_PLUGINS=no
38653 fi
38654 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38655 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38656 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38657 wxUSE_PLUGINS=no
38658 fi
38659 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38660 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38661 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38662 wxUSE_PLUGINS=no
38663 fi
38664 if test "$wxUSE_PLUGINS" = "yes" ; then
38665 cat >>confdefs.h <<\_ACEOF
38666 #define wxUSE_PLUGINS 1
38667 _ACEOF
38668
38669 fi
38670 fi
38671
38672
38673 if test "$wxUSE_STL" = "yes"; then
38674 cat >>confdefs.h <<\_ACEOF
38675 #define wxUSE_STL 1
38676 _ACEOF
38677
38678 fi
38679
38680 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38681 cat >>confdefs.h <<\_ACEOF
38682 #define wxUSE_APPLE_IEEE 1
38683 _ACEOF
38684
38685 fi
38686
38687 if test "$wxUSE_TIMER" = "yes"; then
38688 cat >>confdefs.h <<\_ACEOF
38689 #define wxUSE_TIMER 1
38690 _ACEOF
38691
38692 fi
38693
38694 if test "$USE_UNIX" = "1" ; then
38695 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38696 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38697 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38698 echo $ECHO_N "(cached) $ECHO_C" >&6
38699 else
38700
38701 cat >conftest.$ac_ext <<_ACEOF
38702 /* confdefs.h. */
38703 _ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707
38708 #include <sys/soundcard.h>
38709
38710 int
38711 main ()
38712 {
38713
38714 ioctl(0, SNDCTL_DSP_SYNC, 0);
38715
38716 ;
38717 return 0;
38718 }
38719 _ACEOF
38720 rm -f conftest.$ac_objext conftest$ac_exeext
38721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38722 (eval $ac_link) 2>conftest.er1
38723 ac_status=$?
38724 grep -v '^ *+' conftest.er1 >conftest.err
38725 rm -f conftest.er1
38726 cat conftest.err >&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); } &&
38729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38732 ac_status=$?
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; } &&
38735 { ac_try='test -s conftest$ac_exeext'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38738 ac_status=$?
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; }; then
38741 ac_cv_header_sys_soundcard=yes
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746
38747 saveLibs="$LIBS"
38748 LIBS="$saveLibs -lossaudio"
38749 cat >conftest.$ac_ext <<_ACEOF
38750 /* confdefs.h. */
38751 _ACEOF
38752 cat confdefs.h >>conftest.$ac_ext
38753 cat >>conftest.$ac_ext <<_ACEOF
38754 /* end confdefs.h. */
38755
38756 #include <sys/soundcard.h>
38757
38758 int
38759 main ()
38760 {
38761
38762 ioctl(0, SNDCTL_DSP_SYNC, 0);
38763
38764 ;
38765 return 0;
38766 }
38767 _ACEOF
38768 rm -f conftest.$ac_objext conftest$ac_exeext
38769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38770 (eval $ac_link) 2>conftest.er1
38771 ac_status=$?
38772 grep -v '^ *+' conftest.er1 >conftest.err
38773 rm -f conftest.er1
38774 cat conftest.err >&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); } &&
38777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38779 (eval $ac_try) 2>&5
38780 ac_status=$?
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); }; } &&
38783 { ac_try='test -s conftest$ac_exeext'
38784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38785 (eval $ac_try) 2>&5
38786 ac_status=$?
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); }; }; then
38789 ac_cv_header_sys_soundcard=yes
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794
38795 LIBS="$saveLibs"
38796 ac_cv_header_sys_soundcard=no
38797
38798
38799 fi
38800 rm -f conftest.err conftest.$ac_objext \
38801 conftest$ac_exeext conftest.$ac_ext
38802
38803
38804 fi
38805 rm -f conftest.err conftest.$ac_objext \
38806 conftest$ac_exeext conftest.$ac_ext
38807
38808 fi
38809 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38810 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38811
38812 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38813 cat >>confdefs.h <<\_ACEOF
38814 #define HAVE_SYS_SOUNDCARD_H 1
38815 _ACEOF
38816
38817 else
38818 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
38819 fi
38820 fi
38821 WITH_PLUGIN_SDL=0
38822 if test "$wxUSE_SOUND" = "yes"; then
38823 if test "$USE_UNIX" = "1" ; then
38824 if test "$wxUSE_LIBSDL" != "no"; then
38825
38826 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38827 if test "${with_sdl_prefix+set}" = set; then
38828 withval="$with_sdl_prefix"
38829 sdl_prefix="$withval"
38830 else
38831 sdl_prefix=""
38832 fi;
38833
38834 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38835 if test "${with_sdl_exec_prefix+set}" = set; then
38836 withval="$with_sdl_exec_prefix"
38837 sdl_exec_prefix="$withval"
38838 else
38839 sdl_exec_prefix=""
38840 fi;
38841 # Check whether --enable-sdltest or --disable-sdltest was given.
38842 if test "${enable_sdltest+set}" = set; then
38843 enableval="$enable_sdltest"
38844
38845 else
38846 enable_sdltest=yes
38847 fi;
38848
38849 if test x$sdl_exec_prefix != x ; then
38850 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
38851 if test x${SDL_CONFIG+set} != xset ; then
38852 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
38853 fi
38854 fi
38855 if test x$sdl_prefix != x ; then
38856 sdl_args="$sdl_args --prefix=$sdl_prefix"
38857 if test x${SDL_CONFIG+set} != xset ; then
38858 SDL_CONFIG=$sdl_prefix/bin/sdl-config
38859 fi
38860 fi
38861
38862
38863 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
38864 # Extract the first word of "sdl-config", so it can be a program name with args.
38865 set dummy sdl-config; ac_word=$2
38866 echo "$as_me:$LINENO: checking for $ac_word" >&5
38867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38868 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38869 echo $ECHO_N "(cached) $ECHO_C" >&6
38870 else
38871 case $SDL_CONFIG in
38872 [\\/]* | ?:[\\/]*)
38873 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
38874 ;;
38875 *)
38876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38877 for as_dir in $PATH
38878 do
38879 IFS=$as_save_IFS
38880 test -z "$as_dir" && as_dir=.
38881 for ac_exec_ext in '' $ac_executable_extensions; do
38882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38883 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38885 break 2
38886 fi
38887 done
38888 done
38889
38890 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
38891 ;;
38892 esac
38893 fi
38894 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
38895
38896 if test -n "$SDL_CONFIG"; then
38897 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38898 echo "${ECHO_T}$SDL_CONFIG" >&6
38899 else
38900 echo "$as_me:$LINENO: result: no" >&5
38901 echo "${ECHO_T}no" >&6
38902 fi
38903
38904 min_sdl_version=1.2.0
38905 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38906 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38907 no_sdl=""
38908 if test "$SDL_CONFIG" = "no" ; then
38909 no_sdl=yes
38910 else
38911 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
38912 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
38913
38914 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
38915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38916 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
38917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38918 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
38919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38920 if test "x$enable_sdltest" = "xyes" ; then
38921 ac_save_CFLAGS="$CFLAGS"
38922 ac_save_CXXFLAGS="$CXXFLAGS"
38923 ac_save_LIBS="$LIBS"
38924 CFLAGS="$CFLAGS $SDL_CFLAGS"
38925 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38926 LIBS="$LIBS $SDL_LIBS"
38927 rm -f conf.sdltest
38928 if test "$cross_compiling" = yes; then
38929 echo $ac_n "cross compiling; assumed OK... $ac_c"
38930 else
38931 cat >conftest.$ac_ext <<_ACEOF
38932 /* confdefs.h. */
38933 _ACEOF
38934 cat confdefs.h >>conftest.$ac_ext
38935 cat >>conftest.$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937
38938 #include <stdio.h>
38939 #include <stdlib.h>
38940 #include <string.h>
38941 #include "SDL.h"
38942
38943 char*
38944 my_strdup (char *str)
38945 {
38946 char *new_str;
38947
38948 if (str)
38949 {
38950 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38951 strcpy (new_str, str);
38952 }
38953 else
38954 new_str = NULL;
38955
38956 return new_str;
38957 }
38958
38959 int main (int argc, char *argv[])
38960 {
38961 int major, minor, micro;
38962 char *tmp_version;
38963
38964 /* This hangs on some systems (?)
38965 system ("touch conf.sdltest");
38966 */
38967 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38968
38969 /* HP/UX 9 (%@#!) writes to sscanf strings */
38970 tmp_version = my_strdup("$min_sdl_version");
38971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
38972 printf("%s, bad version string\n", "$min_sdl_version");
38973 exit(1);
38974 }
38975
38976 if (($sdl_major_version > major) ||
38977 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38978 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38979 {
38980 return 0;
38981 }
38982 else
38983 {
38984 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38985 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38986 printf("*** best to upgrade to the required version.\n");
38987 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38988 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38989 printf("*** config.cache before re-running configure\n");
38990 return 1;
38991 }
38992 }
38993
38994
38995 _ACEOF
38996 rm -f conftest$ac_exeext
38997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38998 (eval $ac_link) 2>&5
38999 ac_status=$?
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39003 (eval $ac_try) 2>&5
39004 ac_status=$?
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); }; }; then
39007 :
39008 else
39009 echo "$as_me: program exited with status $ac_status" >&5
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 ( exit $ac_status )
39014 no_sdl=yes
39015 fi
39016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39017 fi
39018 CFLAGS="$ac_save_CFLAGS"
39019 CXXFLAGS="$ac_save_CXXFLAGS"
39020 LIBS="$ac_save_LIBS"
39021 fi
39022 fi
39023 if test "x$no_sdl" = x ; then
39024 echo "$as_me:$LINENO: result: yes" >&5
39025 echo "${ECHO_T}yes" >&6
39026
39027 EXTRALIBS_SDL="$SDL_LIBS"
39028 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39029 cat >>confdefs.h <<\_ACEOF
39030 #define wxUSE_LIBSDL 1
39031 _ACEOF
39032
39033
39034 else
39035 echo "$as_me:$LINENO: result: no" >&5
39036 echo "${ECHO_T}no" >&6
39037 if test "$SDL_CONFIG" = "no" ; then
39038 echo "*** The sdl-config script installed by SDL could not be found"
39039 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39040 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39041 echo "*** full path to sdl-config."
39042 else
39043 if test -f conf.sdltest ; then
39044 :
39045 else
39046 echo "*** Could not run SDL test program, checking why..."
39047 CFLAGS="$CFLAGS $SDL_CFLAGS"
39048 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39049 LIBS="$LIBS $SDL_LIBS"
39050 cat >conftest.$ac_ext <<_ACEOF
39051 /* confdefs.h. */
39052 _ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39056
39057 #include <stdio.h>
39058 #include "SDL.h"
39059
39060 int main(int argc, char *argv[])
39061 { return 0; }
39062 #undef main
39063 #define main K_and_R_C_main
39064
39065 int
39066 main ()
39067 {
39068 return 0;
39069 ;
39070 return 0;
39071 }
39072 _ACEOF
39073 rm -f conftest.$ac_objext conftest$ac_exeext
39074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39075 (eval $ac_link) 2>conftest.er1
39076 ac_status=$?
39077 grep -v '^ *+' conftest.er1 >conftest.err
39078 rm -f conftest.er1
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); } &&
39082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39084 (eval $ac_try) 2>&5
39085 ac_status=$?
39086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39087 (exit $ac_status); }; } &&
39088 { ac_try='test -s conftest$ac_exeext'
39089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39090 (eval $ac_try) 2>&5
39091 ac_status=$?
39092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39093 (exit $ac_status); }; }; then
39094 echo "*** The test program compiled, but did not run. This usually means"
39095 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39096 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39099 echo "*** is required on your system"
39100 echo "***"
39101 echo "*** If you have an old version installed, it is best to remove it, although"
39102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39106
39107 echo "*** The test program failed to compile or link. See the file config.log for the"
39108 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39109 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39110 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39111 fi
39112 rm -f conftest.err conftest.$ac_objext \
39113 conftest$ac_exeext conftest.$ac_ext
39114 CFLAGS="$ac_save_CFLAGS"
39115 CXXFLAGS="$ac_save_CXXFLAGS"
39116 LIBS="$ac_save_LIBS"
39117 fi
39118 fi
39119 SDL_CFLAGS=""
39120 SDL_LIBS=""
39121 wxUSE_LIBSDL="no"
39122 fi
39123
39124
39125 rm -f conf.sdltest
39126
39127 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39128 WITH_PLUGIN_SDL=1
39129 fi
39130 fi
39131 fi
39132
39133 cat >>confdefs.h <<\_ACEOF
39134 #define wxUSE_SOUND 1
39135 _ACEOF
39136
39137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
39138 fi
39139
39140 if test "$WXGTK20" = 1; then
39141 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39142 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39143
39144
39145 succeeded=no
39146
39147 if test -z "$PKG_CONFIG"; then
39148 # Extract the first word of "pkg-config", so it can be a program name with args.
39149 set dummy pkg-config; ac_word=$2
39150 echo "$as_me:$LINENO: checking for $ac_word" >&5
39151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39153 echo $ECHO_N "(cached) $ECHO_C" >&6
39154 else
39155 case $PKG_CONFIG in
39156 [\\/]* | ?:[\\/]*)
39157 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39158 ;;
39159 *)
39160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39161 for as_dir in $PATH
39162 do
39163 IFS=$as_save_IFS
39164 test -z "$as_dir" && as_dir=.
39165 for ac_exec_ext in '' $ac_executable_extensions; do
39166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39167 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39169 break 2
39170 fi
39171 done
39172 done
39173
39174 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39175 ;;
39176 esac
39177 fi
39178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39179
39180 if test -n "$PKG_CONFIG"; then
39181 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39182 echo "${ECHO_T}$PKG_CONFIG" >&6
39183 else
39184 echo "$as_me:$LINENO: result: no" >&5
39185 echo "${ECHO_T}no" >&6
39186 fi
39187
39188 fi
39189
39190 if test "$PKG_CONFIG" = "no" ; then
39191 echo "*** The pkg-config script could not be found. Make sure it is"
39192 echo "*** in your path, or set the PKG_CONFIG environment variable"
39193 echo "*** to the full path to pkg-config."
39194 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39195 else
39196 PKG_CONFIG_MIN_VERSION=0.9.0
39197 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39198 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39199 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39200
39201 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39202 echo "$as_me:$LINENO: result: yes" >&5
39203 echo "${ECHO_T}yes" >&6
39204 succeeded=yes
39205
39206 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39207 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39208 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39209 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39210 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39211
39212 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39213 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39214 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39215 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39216 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39217 else
39218 LIBGNOMEPRINTUI_CFLAGS=""
39219 LIBGNOMEPRINTUI_LIBS=""
39220 ## If we have a custom action on failure, don't print errors, but
39221 ## do set a variable so people can do so.
39222 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39223
39224 fi
39225
39226
39227
39228 else
39229 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39230 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39231 fi
39232 fi
39233
39234 if test $succeeded = yes; then
39235
39236 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39237 cat >>confdefs.h <<\_ACEOF
39238 #define wxUSE_LIBGNOMEPRINT 1
39239 _ACEOF
39240
39241
39242 else
39243
39244 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39245 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39246 wxUSE_LIBGNOMEPRINT="no"
39247
39248
39249 fi
39250
39251 fi
39252 fi
39253 fi
39254
39255
39256 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39257 cat >>confdefs.h <<\_ACEOF
39258 #define wxUSE_CMDLINE_PARSER 1
39259 _ACEOF
39260
39261 fi
39262
39263 if test "$wxUSE_STOPWATCH" = "yes"; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define wxUSE_STOPWATCH 1
39266 _ACEOF
39267
39268 fi
39269
39270 if test "$wxUSE_DATETIME" = "yes"; then
39271 cat >>confdefs.h <<\_ACEOF
39272 #define wxUSE_DATETIME 1
39273 _ACEOF
39274
39275 fi
39276
39277 if test "$wxUSE_FILE" = "yes"; then
39278 cat >>confdefs.h <<\_ACEOF
39279 #define wxUSE_FILE 1
39280 _ACEOF
39281
39282 fi
39283
39284 if test "$wxUSE_FFILE" = "yes"; then
39285 cat >>confdefs.h <<\_ACEOF
39286 #define wxUSE_FFILE 1
39287 _ACEOF
39288
39289 fi
39290
39291 if test "$wxUSE_FILESYSTEM" = "yes"; then
39292 cat >>confdefs.h <<\_ACEOF
39293 #define wxUSE_FILESYSTEM 1
39294 _ACEOF
39295
39296 fi
39297
39298 if test "$wxUSE_FS_ZIP" = "yes"; then
39299 cat >>confdefs.h <<\_ACEOF
39300 #define wxUSE_FS_ZIP 1
39301 _ACEOF
39302
39303 fi
39304
39305 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39306 cat >>confdefs.h <<\_ACEOF
39307 #define wxUSE_ARCHIVE_STREAMS 1
39308 _ACEOF
39309
39310 fi
39311
39312 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39313 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39314 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39315 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39316 elif test "$wxUSE_ZLIB" = "no"; then
39317 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39318 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39319 else
39320 cat >>confdefs.h <<\_ACEOF
39321 #define wxUSE_ZIPSTREAM 1
39322 _ACEOF
39323
39324 fi
39325 fi
39326
39327 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39328 if test "$USE_UNIX" != 1; then
39329 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39330 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39331 wxUSE_ON_FATAL_EXCEPTION=no
39332 else
39333 cat >>confdefs.h <<\_ACEOF
39334 #define wxUSE_ON_FATAL_EXCEPTION 1
39335 _ACEOF
39336
39337 fi
39338 fi
39339
39340 if test "$wxUSE_STACKWALKER" = "yes"; then
39341 cat >>confdefs.h <<\_ACEOF
39342 #define wxUSE_STACKWALKER 1
39343 _ACEOF
39344
39345 fi
39346
39347 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39348 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39349 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39350 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39351 wxUSE_DEBUGREPORT=no
39352 else
39353 cat >>confdefs.h <<\_ACEOF
39354 #define wxUSE_DEBUGREPORT 1
39355 _ACEOF
39356
39357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
39359 fi
39360 fi
39361 fi
39362
39363 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39364 cat >>confdefs.h <<\_ACEOF
39365 #define wxUSE_SNGLINST_CHECKER 1
39366 _ACEOF
39367
39368 fi
39369
39370 if test "$wxUSE_BUSYINFO" = "yes"; then
39371 cat >>confdefs.h <<\_ACEOF
39372 #define wxUSE_BUSYINFO 1
39373 _ACEOF
39374
39375 fi
39376
39377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39378 cat >>confdefs.h <<\_ACEOF
39379 #define wxUSE_STD_IOSTREAM 1
39380 _ACEOF
39381
39382 fi
39383
39384 if test "$wxUSE_STD_STRING" = "yes"; then
39385 cat >>confdefs.h <<\_ACEOF
39386 #define wxUSE_STD_STRING 1
39387 _ACEOF
39388
39389 fi
39390
39391 if test "$wxUSE_STDPATHS" = "yes"; then
39392 cat >>confdefs.h <<\_ACEOF
39393 #define wxUSE_STDPATHS 1
39394 _ACEOF
39395
39396 fi
39397
39398 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39399 cat >>confdefs.h <<\_ACEOF
39400 #define wxUSE_TEXTBUFFER 1
39401 _ACEOF
39402
39403 fi
39404
39405 if test "$wxUSE_TEXTFILE" = "yes"; then
39406 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39407 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39408 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39409 else
39410 cat >>confdefs.h <<\_ACEOF
39411 #define wxUSE_TEXTFILE 1
39412 _ACEOF
39413
39414 fi
39415 fi
39416
39417 if test "$wxUSE_CONFIG" = "yes" ; then
39418 if test "$wxUSE_TEXTFILE" != "yes"; then
39419 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39420 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39421 else
39422 cat >>confdefs.h <<\_ACEOF
39423 #define wxUSE_CONFIG 1
39424 _ACEOF
39425
39426 cat >>confdefs.h <<\_ACEOF
39427 #define wxUSE_CONFIG_NATIVE 1
39428 _ACEOF
39429
39430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
39431 fi
39432 fi
39433
39434 if test "$wxUSE_INTL" = "yes" ; then
39435 if test "$wxUSE_FILE" != "yes"; then
39436 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39437 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39438 else
39439 cat >>confdefs.h <<\_ACEOF
39440 #define wxUSE_INTL 1
39441 _ACEOF
39442
39443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
39444 GUIDIST="$GUIDIST INTL_DIST"
39445 fi
39446 fi
39447
39448 if test "$wxUSE_LOG" = "yes"; then
39449 cat >>confdefs.h <<\_ACEOF
39450 #define wxUSE_LOG 1
39451 _ACEOF
39452
39453
39454 if test "$wxUSE_LOGGUI" = "yes"; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define wxUSE_LOGGUI 1
39457 _ACEOF
39458
39459 fi
39460
39461 if test "$wxUSE_LOGWINDOW" = "yes"; then
39462 cat >>confdefs.h <<\_ACEOF
39463 #define wxUSE_LOGWINDOW 1
39464 _ACEOF
39465
39466 fi
39467
39468 if test "$wxUSE_LOGDIALOG" = "yes"; then
39469 cat >>confdefs.h <<\_ACEOF
39470 #define wxUSE_LOG_DIALOG 1
39471 _ACEOF
39472
39473 fi
39474
39475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
39476 fi
39477
39478 if test "$wxUSE_LONGLONG" = "yes"; then
39479 cat >>confdefs.h <<\_ACEOF
39480 #define wxUSE_LONGLONG 1
39481 _ACEOF
39482
39483 fi
39484
39485 if test "$wxUSE_GEOMETRY" = "yes"; then
39486 cat >>confdefs.h <<\_ACEOF
39487 #define wxUSE_GEOMETRY 1
39488 _ACEOF
39489
39490 fi
39491
39492 if test "$wxUSE_STREAMS" = "yes" ; then
39493 cat >>confdefs.h <<\_ACEOF
39494 #define wxUSE_STREAMS 1
39495 _ACEOF
39496
39497 fi
39498
39499
39500 if test "$wxUSE_DATETIME" = "yes"; then
39501
39502 for ac_func in strptime
39503 do
39504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39505 echo "$as_me:$LINENO: checking for $ac_func" >&5
39506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39507 if eval "test \"\${$as_ac_var+set}\" = set"; then
39508 echo $ECHO_N "(cached) $ECHO_C" >&6
39509 else
39510 cat >conftest.$ac_ext <<_ACEOF
39511 /* confdefs.h. */
39512 _ACEOF
39513 cat confdefs.h >>conftest.$ac_ext
39514 cat >>conftest.$ac_ext <<_ACEOF
39515 /* end confdefs.h. */
39516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39518 #define $ac_func innocuous_$ac_func
39519
39520 /* System header to define __stub macros and hopefully few prototypes,
39521 which can conflict with char $ac_func (); below.
39522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39523 <limits.h> exists even on freestanding compilers. */
39524
39525 #ifdef __STDC__
39526 # include <limits.h>
39527 #else
39528 # include <assert.h>
39529 #endif
39530
39531 #undef $ac_func
39532
39533 /* Override any gcc2 internal prototype to avoid an error. */
39534 #ifdef __cplusplus
39535 extern "C"
39536 {
39537 #endif
39538 /* We use char because int might match the return type of a gcc2
39539 builtin and then its argument prototype would still apply. */
39540 char $ac_func ();
39541 /* The GNU C library defines this for functions which it implements
39542 to always fail with ENOSYS. Some functions are actually named
39543 something starting with __ and the normal name is an alias. */
39544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39545 choke me
39546 #else
39547 char (*f) () = $ac_func;
39548 #endif
39549 #ifdef __cplusplus
39550 }
39551 #endif
39552
39553 int
39554 main ()
39555 {
39556 return f != $ac_func;
39557 ;
39558 return 0;
39559 }
39560 _ACEOF
39561 rm -f conftest.$ac_objext conftest$ac_exeext
39562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39563 (eval $ac_link) 2>conftest.er1
39564 ac_status=$?
39565 grep -v '^ *+' conftest.er1 >conftest.err
39566 rm -f conftest.er1
39567 cat conftest.err >&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); } &&
39570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39572 (eval $ac_try) 2>&5
39573 ac_status=$?
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); }; } &&
39576 { ac_try='test -s conftest$ac_exeext'
39577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39578 (eval $ac_try) 2>&5
39579 ac_status=$?
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); }; }; then
39582 eval "$as_ac_var=yes"
39583 else
39584 echo "$as_me: failed program was:" >&5
39585 sed 's/^/| /' conftest.$ac_ext >&5
39586
39587 eval "$as_ac_var=no"
39588 fi
39589 rm -f conftest.err conftest.$ac_objext \
39590 conftest$ac_exeext conftest.$ac_ext
39591 fi
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39594 if test `eval echo '${'$as_ac_var'}'` = yes; then
39595 cat >>confdefs.h <<_ACEOF
39596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39597 _ACEOF
39598
39599 fi
39600 done
39601
39602 if test "$ac_cv_func_strptime" = "yes"; then
39603 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39604 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39605 if test "${wx_cv_func_strptime_decl+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608
39609
39610
39611 ac_ext=cc
39612 ac_cpp='$CXXCPP $CPPFLAGS'
39613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39616
39617 cat >conftest.$ac_ext <<_ACEOF
39618 /* confdefs.h. */
39619 _ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623
39624 #include <time.h>
39625
39626 int
39627 main ()
39628 {
39629
39630 struct tm t;
39631 strptime("foo", "bar", &t);
39632
39633 ;
39634 return 0;
39635 }
39636 _ACEOF
39637 rm -f conftest.$ac_objext
39638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39639 (eval $ac_compile) 2>conftest.er1
39640 ac_status=$?
39641 grep -v '^ *+' conftest.er1 >conftest.err
39642 rm -f conftest.er1
39643 cat conftest.err >&5
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); } &&
39646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648 (eval $ac_try) 2>&5
39649 ac_status=$?
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); }; } &&
39652 { ac_try='test -s conftest.$ac_objext'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; }; then
39658 wx_cv_func_strptime_decl=yes
39659 else
39660 echo "$as_me: failed program was:" >&5
39661 sed 's/^/| /' conftest.$ac_ext >&5
39662
39663 wx_cv_func_strptime_decl=no
39664
39665 fi
39666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39672
39673
39674
39675 fi
39676 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39677 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39678 fi
39679 if test "$wx_cv_func_strptime_decl" = "yes"; then
39680 cat >>confdefs.h <<\_ACEOF
39681 #define HAVE_STRPTIME_DECL 1
39682 _ACEOF
39683
39684 fi
39685
39686 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39687 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39688 if test "${wx_cv_var_timezone+set}" = set; then
39689 echo $ECHO_N "(cached) $ECHO_C" >&6
39690 else
39691
39692 cat >conftest.$ac_ext <<_ACEOF
39693 /* confdefs.h. */
39694 _ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698
39699 #include <time.h>
39700
39701 int
39702 main ()
39703 {
39704
39705 int tz;
39706 tz = timezone;
39707
39708 ;
39709 return 0;
39710 }
39711 _ACEOF
39712 rm -f conftest.$ac_objext
39713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39714 (eval $ac_compile) 2>conftest.er1
39715 ac_status=$?
39716 grep -v '^ *+' conftest.er1 >conftest.err
39717 rm -f conftest.er1
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } &&
39721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39723 (eval $ac_try) 2>&5
39724 ac_status=$?
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); }; } &&
39727 { ac_try='test -s conftest.$ac_objext'
39728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729 (eval $ac_try) 2>&5
39730 ac_status=$?
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); }; }; then
39733
39734 wx_cv_var_timezone=timezone
39735
39736 else
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.$ac_ext >&5
39739
39740
39741 cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h. */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747
39748 #include <time.h>
39749
39750 int
39751 main ()
39752 {
39753
39754 int tz;
39755 tz = _timezone;
39756
39757 ;
39758 return 0;
39759 }
39760 _ACEOF
39761 rm -f conftest.$ac_objext
39762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39763 (eval $ac_compile) 2>conftest.er1
39764 ac_status=$?
39765 grep -v '^ *+' conftest.er1 >conftest.err
39766 rm -f conftest.er1
39767 cat conftest.err >&5
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); } &&
39770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39772 (eval $ac_try) 2>&5
39773 ac_status=$?
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); }; } &&
39776 { ac_try='test -s conftest.$ac_objext'
39777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39778 (eval $ac_try) 2>&5
39779 ac_status=$?
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); }; }; then
39782
39783 wx_cv_var_timezone=_timezone
39784
39785 else
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.$ac_ext >&5
39788
39789
39790 cat >conftest.$ac_ext <<_ACEOF
39791 /* confdefs.h. */
39792 _ACEOF
39793 cat confdefs.h >>conftest.$ac_ext
39794 cat >>conftest.$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796
39797 #include <time.h>
39798
39799 int
39800 main ()
39801 {
39802
39803 int tz;
39804 tz = __timezone;
39805
39806 ;
39807 return 0;
39808 }
39809 _ACEOF
39810 rm -f conftest.$ac_objext
39811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39812 (eval $ac_compile) 2>conftest.er1
39813 ac_status=$?
39814 grep -v '^ *+' conftest.er1 >conftest.err
39815 rm -f conftest.er1
39816 cat conftest.err >&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } &&
39819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39822 ac_status=$?
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; } &&
39825 { ac_try='test -s conftest.$ac_objext'
39826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39827 (eval $ac_try) 2>&5
39828 ac_status=$?
39829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830 (exit $ac_status); }; }; then
39831
39832 wx_cv_var_timezone=__timezone
39833
39834 else
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39837
39838
39839 if test "$USE_DOS" = 0 ; then
39840 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39841 echo "$as_me: WARNING: no timezone variable" >&2;}
39842 fi
39843
39844
39845 fi
39846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39847
39848
39849 fi
39850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39851
39852
39853 fi
39854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39855
39856
39857 fi
39858 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39859 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39860
39861 if test "x$wx_cv_var_timezone" != x ; then
39862 cat >>confdefs.h <<_ACEOF
39863 #define WX_TIMEZONE $wx_cv_var_timezone
39864 _ACEOF
39865
39866 fi
39867
39868
39869 for ac_func in localtime
39870 do
39871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39872 echo "$as_me:$LINENO: checking for $ac_func" >&5
39873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39874 if eval "test \"\${$as_ac_var+set}\" = set"; then
39875 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 else
39877 cat >conftest.$ac_ext <<_ACEOF
39878 /* confdefs.h. */
39879 _ACEOF
39880 cat confdefs.h >>conftest.$ac_ext
39881 cat >>conftest.$ac_ext <<_ACEOF
39882 /* end confdefs.h. */
39883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39885 #define $ac_func innocuous_$ac_func
39886
39887 /* System header to define __stub macros and hopefully few prototypes,
39888 which can conflict with char $ac_func (); below.
39889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39890 <limits.h> exists even on freestanding compilers. */
39891
39892 #ifdef __STDC__
39893 # include <limits.h>
39894 #else
39895 # include <assert.h>
39896 #endif
39897
39898 #undef $ac_func
39899
39900 /* Override any gcc2 internal prototype to avoid an error. */
39901 #ifdef __cplusplus
39902 extern "C"
39903 {
39904 #endif
39905 /* We use char because int might match the return type of a gcc2
39906 builtin and then its argument prototype would still apply. */
39907 char $ac_func ();
39908 /* The GNU C library defines this for functions which it implements
39909 to always fail with ENOSYS. Some functions are actually named
39910 something starting with __ and the normal name is an alias. */
39911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39912 choke me
39913 #else
39914 char (*f) () = $ac_func;
39915 #endif
39916 #ifdef __cplusplus
39917 }
39918 #endif
39919
39920 int
39921 main ()
39922 {
39923 return f != $ac_func;
39924 ;
39925 return 0;
39926 }
39927 _ACEOF
39928 rm -f conftest.$ac_objext conftest$ac_exeext
39929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39930 (eval $ac_link) 2>conftest.er1
39931 ac_status=$?
39932 grep -v '^ *+' conftest.er1 >conftest.err
39933 rm -f conftest.er1
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } &&
39937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try='test -s conftest$ac_exeext'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39946 ac_status=$?
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; }; then
39949 eval "$as_ac_var=yes"
39950 else
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39953
39954 eval "$as_ac_var=no"
39955 fi
39956 rm -f conftest.err conftest.$ac_objext \
39957 conftest$ac_exeext conftest.$ac_ext
39958 fi
39959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39961 if test `eval echo '${'$as_ac_var'}'` = yes; then
39962 cat >>confdefs.h <<_ACEOF
39963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39964 _ACEOF
39965
39966 fi
39967 done
39968
39969
39970 if test "$ac_cv_func_localtime" = "yes"; then
39971 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39972 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39973 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39974 echo $ECHO_N "(cached) $ECHO_C" >&6
39975 else
39976
39977 cat >conftest.$ac_ext <<_ACEOF
39978 /* confdefs.h. */
39979 _ACEOF
39980 cat confdefs.h >>conftest.$ac_ext
39981 cat >>conftest.$ac_ext <<_ACEOF
39982 /* end confdefs.h. */
39983
39984 #include <time.h>
39985
39986 int
39987 main ()
39988 {
39989
39990 struct tm tm;
39991 tm.tm_gmtoff++;
39992
39993 ;
39994 return 0;
39995 }
39996 _ACEOF
39997 rm -f conftest.$ac_objext
39998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39999 (eval $ac_compile) 2>conftest.er1
40000 ac_status=$?
40001 grep -v '^ *+' conftest.er1 >conftest.err
40002 rm -f conftest.er1
40003 cat conftest.err >&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); } &&
40006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40008 (eval $ac_try) 2>&5
40009 ac_status=$?
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); }; } &&
40012 { ac_try='test -s conftest.$ac_objext'
40013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014 (eval $ac_try) 2>&5
40015 ac_status=$?
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); }; }; then
40018
40019 wx_cv_struct_tm_has_gmtoff=yes
40020
40021 else
40022 echo "$as_me: failed program was:" >&5
40023 sed 's/^/| /' conftest.$ac_ext >&5
40024
40025 wx_cv_struct_tm_has_gmtoff=no
40026
40027 fi
40028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40029
40030 fi
40031 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40032 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40033 fi
40034
40035 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40036 cat >>confdefs.h <<\_ACEOF
40037 #define WX_GMTOFF_IN_TM 1
40038 _ACEOF
40039
40040 fi
40041
40042
40043
40044 for ac_func in gettimeofday ftime
40045 do
40046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40047 echo "$as_me:$LINENO: checking for $ac_func" >&5
40048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40049 if eval "test \"\${$as_ac_var+set}\" = set"; then
40050 echo $ECHO_N "(cached) $ECHO_C" >&6
40051 else
40052 cat >conftest.$ac_ext <<_ACEOF
40053 /* confdefs.h. */
40054 _ACEOF
40055 cat confdefs.h >>conftest.$ac_ext
40056 cat >>conftest.$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40060 #define $ac_func innocuous_$ac_func
40061
40062 /* System header to define __stub macros and hopefully few prototypes,
40063 which can conflict with char $ac_func (); below.
40064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40065 <limits.h> exists even on freestanding compilers. */
40066
40067 #ifdef __STDC__
40068 # include <limits.h>
40069 #else
40070 # include <assert.h>
40071 #endif
40072
40073 #undef $ac_func
40074
40075 /* Override any gcc2 internal prototype to avoid an error. */
40076 #ifdef __cplusplus
40077 extern "C"
40078 {
40079 #endif
40080 /* We use char because int might match the return type of a gcc2
40081 builtin and then its argument prototype would still apply. */
40082 char $ac_func ();
40083 /* The GNU C library defines this for functions which it implements
40084 to always fail with ENOSYS. Some functions are actually named
40085 something starting with __ and the normal name is an alias. */
40086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40087 choke me
40088 #else
40089 char (*f) () = $ac_func;
40090 #endif
40091 #ifdef __cplusplus
40092 }
40093 #endif
40094
40095 int
40096 main ()
40097 {
40098 return f != $ac_func;
40099 ;
40100 return 0;
40101 }
40102 _ACEOF
40103 rm -f conftest.$ac_objext conftest$ac_exeext
40104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40105 (eval $ac_link) 2>conftest.er1
40106 ac_status=$?
40107 grep -v '^ *+' conftest.er1 >conftest.err
40108 rm -f conftest.er1
40109 cat conftest.err >&5
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); } &&
40112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40114 (eval $ac_try) 2>&5
40115 ac_status=$?
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); }; } &&
40118 { ac_try='test -s conftest$ac_exeext'
40119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40120 (eval $ac_try) 2>&5
40121 ac_status=$?
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); }; }; then
40124 eval "$as_ac_var=yes"
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40128
40129 eval "$as_ac_var=no"
40130 fi
40131 rm -f conftest.err conftest.$ac_objext \
40132 conftest$ac_exeext conftest.$ac_ext
40133 fi
40134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40136 if test `eval echo '${'$as_ac_var'}'` = yes; then
40137 cat >>confdefs.h <<_ACEOF
40138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40139 _ACEOF
40140 break
40141 fi
40142 done
40143
40144
40145 if test "$ac_cv_func_gettimeofday" = "yes"; then
40146 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40147 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40148 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40149 echo $ECHO_N "(cached) $ECHO_C" >&6
40150 else
40151
40152
40153
40154 ac_ext=cc
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40159
40160
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167
40168 #include <sys/time.h>
40169 #include <unistd.h>
40170
40171 int
40172 main ()
40173 {
40174
40175 struct timeval tv;
40176 gettimeofday(&tv, NULL);
40177
40178 ;
40179 return 0;
40180 }
40181 _ACEOF
40182 rm -f conftest.$ac_objext
40183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40184 (eval $ac_compile) 2>conftest.er1
40185 ac_status=$?
40186 grep -v '^ *+' conftest.er1 >conftest.err
40187 rm -f conftest.er1
40188 cat conftest.err >&5
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); } &&
40191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40194 ac_status=$?
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; } &&
40197 { ac_try='test -s conftest.$ac_objext'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40200 ac_status=$?
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; }; then
40203 wx_cv_func_gettimeofday_has_2_args=yes
40204 else
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.$ac_ext >&5
40207
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214
40215 #include <sys/time.h>
40216 #include <unistd.h>
40217
40218 int
40219 main ()
40220 {
40221
40222 struct timeval tv;
40223 gettimeofday(&tv);
40224
40225 ;
40226 return 0;
40227 }
40228 _ACEOF
40229 rm -f conftest.$ac_objext
40230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40231 (eval $ac_compile) 2>conftest.er1
40232 ac_status=$?
40233 grep -v '^ *+' conftest.er1 >conftest.err
40234 rm -f conftest.er1
40235 cat conftest.err >&5
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); } &&
40238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40240 (eval $ac_try) 2>&5
40241 ac_status=$?
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); }; } &&
40244 { ac_try='test -s conftest.$ac_objext'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40247 ac_status=$?
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; }; then
40250 wx_cv_func_gettimeofday_has_2_args=no
40251 else
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40254
40255
40256 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40257 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40258 wx_cv_func_gettimeofday_has_2_args=unknown
40259
40260
40261 fi
40262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40263
40264 fi
40265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40266 ac_ext=c
40267 ac_cpp='$CPP $CPPFLAGS'
40268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40271
40272
40273 fi
40274 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40275 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40276
40277 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40278 cat >>confdefs.h <<\_ACEOF
40279 #define WX_GETTIMEOFDAY_NO_TZ 1
40280 _ACEOF
40281
40282 fi
40283 fi
40284
40285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
40286 fi
40287
40288
40289 if test "$wxUSE_SOCKETS" = "yes"; then
40290 if test "$wxUSE_MGL" = "1"; then
40291 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40292 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40293 wxUSE_SOCKETS="no"
40294 fi
40295 fi
40296
40297 if test "$wxUSE_SOCKETS" = "yes"; then
40298 if test "$TOOLKIT" != "MSW"; then
40299 echo "$as_me:$LINENO: checking for socket" >&5
40300 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40301 if test "${ac_cv_func_socket+set}" = set; then
40302 echo $ECHO_N "(cached) $ECHO_C" >&6
40303 else
40304 cat >conftest.$ac_ext <<_ACEOF
40305 /* confdefs.h. */
40306 _ACEOF
40307 cat confdefs.h >>conftest.$ac_ext
40308 cat >>conftest.$ac_ext <<_ACEOF
40309 /* end confdefs.h. */
40310 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40312 #define socket innocuous_socket
40313
40314 /* System header to define __stub macros and hopefully few prototypes,
40315 which can conflict with char socket (); below.
40316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40317 <limits.h> exists even on freestanding compilers. */
40318
40319 #ifdef __STDC__
40320 # include <limits.h>
40321 #else
40322 # include <assert.h>
40323 #endif
40324
40325 #undef socket
40326
40327 /* Override any gcc2 internal prototype to avoid an error. */
40328 #ifdef __cplusplus
40329 extern "C"
40330 {
40331 #endif
40332 /* We use char because int might match the return type of a gcc2
40333 builtin and then its argument prototype would still apply. */
40334 char socket ();
40335 /* The GNU C library defines this for functions which it implements
40336 to always fail with ENOSYS. Some functions are actually named
40337 something starting with __ and the normal name is an alias. */
40338 #if defined (__stub_socket) || defined (__stub___socket)
40339 choke me
40340 #else
40341 char (*f) () = socket;
40342 #endif
40343 #ifdef __cplusplus
40344 }
40345 #endif
40346
40347 int
40348 main ()
40349 {
40350 return f != socket;
40351 ;
40352 return 0;
40353 }
40354 _ACEOF
40355 rm -f conftest.$ac_objext conftest$ac_exeext
40356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40357 (eval $ac_link) 2>conftest.er1
40358 ac_status=$?
40359 grep -v '^ *+' conftest.er1 >conftest.err
40360 rm -f conftest.er1
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } &&
40364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; } &&
40370 { ac_try='test -s conftest$ac_exeext'
40371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40372 (eval $ac_try) 2>&5
40373 ac_status=$?
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); }; }; then
40376 ac_cv_func_socket=yes
40377 else
40378 echo "$as_me: failed program was:" >&5
40379 sed 's/^/| /' conftest.$ac_ext >&5
40380
40381 ac_cv_func_socket=no
40382 fi
40383 rm -f conftest.err conftest.$ac_objext \
40384 conftest$ac_exeext conftest.$ac_ext
40385 fi
40386 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40387 echo "${ECHO_T}$ac_cv_func_socket" >&6
40388 if test $ac_cv_func_socket = yes; then
40389 :
40390 else
40391
40392 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40393 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40394 if test "${ac_cv_lib_socket_socket+set}" = set; then
40395 echo $ECHO_N "(cached) $ECHO_C" >&6
40396 else
40397 ac_check_lib_save_LIBS=$LIBS
40398 LIBS="-lsocket $LIBS"
40399 cat >conftest.$ac_ext <<_ACEOF
40400 /* confdefs.h. */
40401 _ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405
40406 /* Override any gcc2 internal prototype to avoid an error. */
40407 #ifdef __cplusplus
40408 extern "C"
40409 #endif
40410 /* We use char because int might match the return type of a gcc2
40411 builtin and then its argument prototype would still apply. */
40412 char socket ();
40413 int
40414 main ()
40415 {
40416 socket ();
40417 ;
40418 return 0;
40419 }
40420 _ACEOF
40421 rm -f conftest.$ac_objext conftest$ac_exeext
40422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40423 (eval $ac_link) 2>conftest.er1
40424 ac_status=$?
40425 grep -v '^ *+' conftest.er1 >conftest.err
40426 rm -f conftest.er1
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } &&
40430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40432 (eval $ac_try) 2>&5
40433 ac_status=$?
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); }; } &&
40436 { ac_try='test -s conftest$ac_exeext'
40437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40438 (eval $ac_try) 2>&5
40439 ac_status=$?
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; }; then
40442 ac_cv_lib_socket_socket=yes
40443 else
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40446
40447 ac_cv_lib_socket_socket=no
40448 fi
40449 rm -f conftest.err conftest.$ac_objext \
40450 conftest$ac_exeext conftest.$ac_ext
40451 LIBS=$ac_check_lib_save_LIBS
40452 fi
40453 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40454 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40455 if test $ac_cv_lib_socket_socket = yes; then
40456 if test "$INET_LINK" != " -lsocket"; then
40457 INET_LINK="$INET_LINK -lsocket"
40458 fi
40459 else
40460
40461 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40462 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40463 wxUSE_SOCKETS=no
40464
40465
40466 fi
40467
40468
40469
40470 fi
40471
40472 fi
40473 fi
40474
40475 if test "$wxUSE_SOCKETS" = "yes" ; then
40476 if test "$TOOLKIT" != "MSW"; then
40477 ac_ext=cc
40478 ac_cpp='$CXXCPP $CPPFLAGS'
40479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40482
40483 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40484 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40485 if test "${wx_cv_type_getsockname3+set}" = set; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40488
40489 cat >conftest.$ac_ext <<_ACEOF
40490 /* confdefs.h. */
40491 _ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40495
40496 #include <sys/types.h>
40497 #include <sys/socket.h>
40498
40499 int
40500 main ()
40501 {
40502
40503 socklen_t len;
40504 getsockname(0, 0, &len);
40505
40506 ;
40507 return 0;
40508 }
40509 _ACEOF
40510 rm -f conftest.$ac_objext
40511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40512 (eval $ac_compile) 2>conftest.er1
40513 ac_status=$?
40514 grep -v '^ *+' conftest.er1 >conftest.err
40515 rm -f conftest.er1
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } &&
40519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; } &&
40525 { ac_try='test -s conftest.$ac_objext'
40526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40527 (eval $ac_try) 2>&5
40528 ac_status=$?
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 wx_cv_type_getsockname3=socklen_t
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40535
40536
40537 CXXFLAGS_OLD="$CXXFLAGS"
40538 if test "$GCC" = yes ; then
40539 CXXFLAGS="$CXXFLAGS -Werror"
40540 fi
40541
40542 cat >conftest.$ac_ext <<_ACEOF
40543 /* confdefs.h. */
40544 _ACEOF
40545 cat confdefs.h >>conftest.$ac_ext
40546 cat >>conftest.$ac_ext <<_ACEOF
40547 /* end confdefs.h. */
40548
40549 #include <sys/types.h>
40550 #include <sys/socket.h>
40551
40552 int
40553 main ()
40554 {
40555
40556 size_t len;
40557 getsockname(0, 0, &len);
40558
40559 ;
40560 return 0;
40561 }
40562 _ACEOF
40563 rm -f conftest.$ac_objext
40564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40565 (eval $ac_compile) 2>conftest.er1
40566 ac_status=$?
40567 grep -v '^ *+' conftest.er1 >conftest.err
40568 rm -f conftest.er1
40569 cat conftest.err >&5
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); } &&
40572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40574 (eval $ac_try) 2>&5
40575 ac_status=$?
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); }; } &&
40578 { ac_try='test -s conftest.$ac_objext'
40579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40580 (eval $ac_try) 2>&5
40581 ac_status=$?
40582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40583 (exit $ac_status); }; }; then
40584 wx_cv_type_getsockname3=size_t
40585 else
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.$ac_ext >&5
40588
40589 cat >conftest.$ac_ext <<_ACEOF
40590 /* confdefs.h. */
40591 _ACEOF
40592 cat confdefs.h >>conftest.$ac_ext
40593 cat >>conftest.$ac_ext <<_ACEOF
40594 /* end confdefs.h. */
40595
40596 #include <sys/types.h>
40597 #include <sys/socket.h>
40598
40599 int
40600 main ()
40601 {
40602
40603 int len;
40604 getsockname(0, 0, &len);
40605
40606 ;
40607 return 0;
40608 }
40609 _ACEOF
40610 rm -f conftest.$ac_objext
40611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40612 (eval $ac_compile) 2>conftest.er1
40613 ac_status=$?
40614 grep -v '^ *+' conftest.er1 >conftest.err
40615 rm -f conftest.er1
40616 cat conftest.err >&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } &&
40619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40621 (eval $ac_try) 2>&5
40622 ac_status=$?
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); }; } &&
40625 { ac_try='test -s conftest.$ac_objext'
40626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40627 (eval $ac_try) 2>&5
40628 ac_status=$?
40629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630 (exit $ac_status); }; }; then
40631 wx_cv_type_getsockname3=int
40632 else
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40635
40636 wx_cv_type_getsockname3=unknown
40637
40638 fi
40639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40640
40641 fi
40642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40643
40644 CXXFLAGS="$CXXFLAGS_OLD"
40645
40646
40647 fi
40648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40649
40650 fi
40651 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40652 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40653
40654 if test "$wx_cv_type_getsockname3" = "unknown"; then
40655 wxUSE_SOCKETS=no
40656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40657 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40658 else
40659 cat >>confdefs.h <<_ACEOF
40660 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40661 _ACEOF
40662
40663 fi
40664 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40665 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40666 if test "${wx_cv_type_getsockopt5+set}" = set; then
40667 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 else
40669
40670 cat >conftest.$ac_ext <<_ACEOF
40671 /* confdefs.h. */
40672 _ACEOF
40673 cat confdefs.h >>conftest.$ac_ext
40674 cat >>conftest.$ac_ext <<_ACEOF
40675 /* end confdefs.h. */
40676
40677 #include <sys/types.h>
40678 #include <sys/socket.h>
40679
40680 int
40681 main ()
40682 {
40683
40684 socklen_t len;
40685 getsockopt(0, 0, 0, 0, &len);
40686
40687 ;
40688 return 0;
40689 }
40690 _ACEOF
40691 rm -f conftest.$ac_objext
40692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40693 (eval $ac_compile) 2>conftest.er1
40694 ac_status=$?
40695 grep -v '^ *+' conftest.er1 >conftest.err
40696 rm -f conftest.er1
40697 cat conftest.err >&5
40698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699 (exit $ac_status); } &&
40700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40702 (eval $ac_try) 2>&5
40703 ac_status=$?
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); }; } &&
40706 { ac_try='test -s conftest.$ac_objext'
40707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40708 (eval $ac_try) 2>&5
40709 ac_status=$?
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); }; }; then
40712 wx_cv_type_getsockopt5=socklen_t
40713 else
40714 echo "$as_me: failed program was:" >&5
40715 sed 's/^/| /' conftest.$ac_ext >&5
40716
40717
40718 CXXFLAGS_OLD="$CXXFLAGS"
40719 if test "$GCC" = yes ; then
40720 CXXFLAGS="$CXXFLAGS -Werror"
40721 fi
40722
40723 cat >conftest.$ac_ext <<_ACEOF
40724 /* confdefs.h. */
40725 _ACEOF
40726 cat confdefs.h >>conftest.$ac_ext
40727 cat >>conftest.$ac_ext <<_ACEOF
40728 /* end confdefs.h. */
40729
40730 #include <sys/types.h>
40731 #include <sys/socket.h>
40732
40733 int
40734 main ()
40735 {
40736
40737 size_t len;
40738 getsockopt(0, 0, 0, 0, &len);
40739
40740 ;
40741 return 0;
40742 }
40743 _ACEOF
40744 rm -f conftest.$ac_objext
40745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40746 (eval $ac_compile) 2>conftest.er1
40747 ac_status=$?
40748 grep -v '^ *+' conftest.er1 >conftest.err
40749 rm -f conftest.er1
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } &&
40753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; } &&
40759 { ac_try='test -s conftest.$ac_objext'
40760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761 (eval $ac_try) 2>&5
40762 ac_status=$?
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); }; }; then
40765 wx_cv_type_getsockopt5=size_t
40766 else
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40769
40770 cat >conftest.$ac_ext <<_ACEOF
40771 /* confdefs.h. */
40772 _ACEOF
40773 cat confdefs.h >>conftest.$ac_ext
40774 cat >>conftest.$ac_ext <<_ACEOF
40775 /* end confdefs.h. */
40776
40777 #include <sys/types.h>
40778 #include <sys/socket.h>
40779
40780 int
40781 main ()
40782 {
40783
40784 int len;
40785 getsockopt(0, 0, 0, 0, &len);
40786
40787 ;
40788 return 0;
40789 }
40790 _ACEOF
40791 rm -f conftest.$ac_objext
40792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40793 (eval $ac_compile) 2>conftest.er1
40794 ac_status=$?
40795 grep -v '^ *+' conftest.er1 >conftest.err
40796 rm -f conftest.er1
40797 cat conftest.err >&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } &&
40800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; } &&
40806 { ac_try='test -s conftest.$ac_objext'
40807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40808 (eval $ac_try) 2>&5
40809 ac_status=$?
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); }; }; then
40812 wx_cv_type_getsockopt5=int
40813 else
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40816
40817 wx_cv_type_getsockopt5=unknown
40818
40819 fi
40820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40821
40822 fi
40823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40824
40825 CXXFLAGS="$CXXFLAGS_OLD"
40826
40827
40828 fi
40829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40830
40831 fi
40832 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40833 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40834
40835 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40836 wxUSE_SOCKETS=no
40837 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40838 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40839 else
40840 cat >>confdefs.h <<_ACEOF
40841 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40842 _ACEOF
40843
40844 fi
40845 ac_ext=c
40846 ac_cpp='$CPP $CPPFLAGS'
40847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40850
40851 fi
40852 fi
40853
40854 if test "$wxUSE_SOCKETS" = "yes" ; then
40855 cat >>confdefs.h <<\_ACEOF
40856 #define wxUSE_SOCKETS 1
40857 _ACEOF
40858
40859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
40860 fi
40861
40862 if test "$wxUSE_PROTOCOL" = "yes"; then
40863 if test "$wxUSE_SOCKETS" != "yes"; then
40864 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40865 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40866 wxUSE_PROTOCOL=no
40867 fi
40868 fi
40869
40870 if test "$wxUSE_PROTOCOL" = "yes"; then
40871 cat >>confdefs.h <<\_ACEOF
40872 #define wxUSE_PROTOCOL 1
40873 _ACEOF
40874
40875
40876 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40877 cat >>confdefs.h <<\_ACEOF
40878 #define wxUSE_PROTOCOL_HTTP 1
40879 _ACEOF
40880
40881 fi
40882 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define wxUSE_PROTOCOL_FTP 1
40885 _ACEOF
40886
40887 fi
40888 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40889 cat >>confdefs.h <<\_ACEOF
40890 #define wxUSE_PROTOCOL_FILE 1
40891 _ACEOF
40892
40893 fi
40894 else
40895 if test "$wxUSE_FS_INET" = "yes"; then
40896 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40897 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40898 wxUSE_FS_INET="no"
40899 fi
40900 fi
40901
40902 if test "$wxUSE_URL" = "yes"; then
40903 if test "$wxUSE_PROTOCOL" != "yes"; then
40904 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40905 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40906 wxUSE_URL=no
40907 fi
40908 if test "$wxUSE_URL" = "yes"; then
40909 cat >>confdefs.h <<\_ACEOF
40910 #define wxUSE_URL 1
40911 _ACEOF
40912
40913 fi
40914 fi
40915
40916 if test "$wxUSE_FS_INET" = "yes"; then
40917 cat >>confdefs.h <<\_ACEOF
40918 #define wxUSE_FS_INET 1
40919 _ACEOF
40920
40921 fi
40922
40923
40924 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40925 wxUSE_JOYSTICK=no
40926
40927 if test "$TOOLKIT" = "MSW"; then
40928 wxUSE_JOYSTICK=yes
40929
40930 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40931 if test "$USE_DARWIN" = 1; then
40932 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40933 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40934 ac_ext=cc
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 #include <IOKit/hid/IOHIDLib.h>
40947 int
40948 main ()
40949 {
40950 IOHIDQueueInterface *qi = NULL;
40951 IOHIDCallbackFunction cb = NULL;
40952 qi->setEventCallout(NULL, cb, NULL, NULL);
40953 ;
40954 return 0;
40955 }
40956 _ACEOF
40957 rm -f conftest.$ac_objext
40958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40959 (eval $ac_compile) 2>conftest.er1
40960 ac_status=$?
40961 grep -v '^ *+' conftest.er1 >conftest.err
40962 rm -f conftest.er1
40963 cat conftest.err >&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } &&
40966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40968 (eval $ac_try) 2>&5
40969 ac_status=$?
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); }; } &&
40972 { ac_try='test -s conftest.$ac_objext'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40975 ac_status=$?
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; }; then
40978 wxUSE_JOYSTICK=yes
40979
40980 else
40981 echo "$as_me: failed program was:" >&5
40982 sed 's/^/| /' conftest.$ac_ext >&5
40983
40984 fi
40985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40986 ac_ext=c
40987 ac_cpp='$CPP $CPPFLAGS'
40988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40991
40992 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40993 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40994 fi
40995
40996 else
40997
40998 for ac_header in linux/joystick.h
40999 do
41000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41002 echo "$as_me:$LINENO: checking for $ac_header" >&5
41003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 fi
41007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41009 else
41010 # Is the header compilable?
41011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41013 cat >conftest.$ac_ext <<_ACEOF
41014 /* confdefs.h. */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41019 $ac_includes_default
41020 #include <$ac_header>
41021 _ACEOF
41022 rm -f conftest.$ac_objext
41023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41024 (eval $ac_compile) 2>conftest.er1
41025 ac_status=$?
41026 grep -v '^ *+' conftest.er1 >conftest.err
41027 rm -f conftest.er1
41028 cat conftest.err >&5
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } &&
41031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41033 (eval $ac_try) 2>&5
41034 ac_status=$?
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); }; } &&
41037 { ac_try='test -s conftest.$ac_objext'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; }; then
41043 ac_header_compiler=yes
41044 else
41045 echo "$as_me: failed program was:" >&5
41046 sed 's/^/| /' conftest.$ac_ext >&5
41047
41048 ac_header_compiler=no
41049 fi
41050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41052 echo "${ECHO_T}$ac_header_compiler" >&6
41053
41054 # Is the header present?
41055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41057 cat >conftest.$ac_ext <<_ACEOF
41058 /* confdefs.h. */
41059 _ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 #include <$ac_header>
41064 _ACEOF
41065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41067 ac_status=$?
41068 grep -v '^ *+' conftest.er1 >conftest.err
41069 rm -f conftest.er1
41070 cat conftest.err >&5
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } >/dev/null; then
41073 if test -s conftest.err; then
41074 ac_cpp_err=$ac_c_preproc_warn_flag
41075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41076 else
41077 ac_cpp_err=
41078 fi
41079 else
41080 ac_cpp_err=yes
41081 fi
41082 if test -z "$ac_cpp_err"; then
41083 ac_header_preproc=yes
41084 else
41085 echo "$as_me: failed program was:" >&5
41086 sed 's/^/| /' conftest.$ac_ext >&5
41087
41088 ac_header_preproc=no
41089 fi
41090 rm -f conftest.err conftest.$ac_ext
41091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41092 echo "${ECHO_T}$ac_header_preproc" >&6
41093
41094 # So? What about this header?
41095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41096 yes:no: )
41097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41101 ac_header_preproc=yes
41102 ;;
41103 no:yes:* )
41104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41116 (
41117 cat <<\_ASBOX
41118 ## ----------------------------------------- ##
41119 ## Report this to wx-dev@lists.wxwidgets.org ##
41120 ## ----------------------------------------- ##
41121 _ASBOX
41122 ) |
41123 sed "s/^/$as_me: WARNING: /" >&2
41124 ;;
41125 esac
41126 echo "$as_me:$LINENO: checking for $ac_header" >&5
41127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41129 echo $ECHO_N "(cached) $ECHO_C" >&6
41130 else
41131 eval "$as_ac_Header=\$ac_header_preproc"
41132 fi
41133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41135
41136 fi
41137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41138 cat >>confdefs.h <<_ACEOF
41139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41140 _ACEOF
41141 wxUSE_JOYSTICK=yes
41142 fi
41143
41144 done
41145
41146 fi
41147
41148 if test "$wxUSE_JOYSTICK" = "yes"; then
41149 cat >>confdefs.h <<\_ACEOF
41150 #define wxUSE_JOYSTICK 1
41151 _ACEOF
41152
41153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
41154 else
41155 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41156 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41157 fi
41158 fi
41159
41160
41161
41162 if test "$wxUSE_FONTMAP" = "yes" ; then
41163 cat >>confdefs.h <<\_ACEOF
41164 #define wxUSE_FONTMAP 1
41165 _ACEOF
41166
41167 fi
41168
41169 if test "$wxUSE_UNICODE" = "yes" ; then
41170 cat >>confdefs.h <<\_ACEOF
41171 #define wxUSE_UNICODE 1
41172 _ACEOF
41173
41174
41175 if test "$USE_WIN32" != 1; then
41176 wxUSE_UNICODE_MSLU=no
41177 fi
41178
41179 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41180 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41181 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41182 if test "${ac_cv_lib_unicows_main+set}" = set; then
41183 echo $ECHO_N "(cached) $ECHO_C" >&6
41184 else
41185 ac_check_lib_save_LIBS=$LIBS
41186 LIBS="-lunicows $LIBS"
41187 cat >conftest.$ac_ext <<_ACEOF
41188 /* confdefs.h. */
41189 _ACEOF
41190 cat confdefs.h >>conftest.$ac_ext
41191 cat >>conftest.$ac_ext <<_ACEOF
41192 /* end confdefs.h. */
41193
41194
41195 int
41196 main ()
41197 {
41198 main ();
41199 ;
41200 return 0;
41201 }
41202 _ACEOF
41203 rm -f conftest.$ac_objext conftest$ac_exeext
41204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41205 (eval $ac_link) 2>conftest.er1
41206 ac_status=$?
41207 grep -v '^ *+' conftest.er1 >conftest.err
41208 rm -f conftest.er1
41209 cat conftest.err >&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); } &&
41212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41214 (eval $ac_try) 2>&5
41215 ac_status=$?
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); }; } &&
41218 { ac_try='test -s conftest$ac_exeext'
41219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41220 (eval $ac_try) 2>&5
41221 ac_status=$?
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); }; }; then
41224 ac_cv_lib_unicows_main=yes
41225 else
41226 echo "$as_me: failed program was:" >&5
41227 sed 's/^/| /' conftest.$ac_ext >&5
41228
41229 ac_cv_lib_unicows_main=no
41230 fi
41231 rm -f conftest.err conftest.$ac_objext \
41232 conftest$ac_exeext conftest.$ac_ext
41233 LIBS=$ac_check_lib_save_LIBS
41234 fi
41235 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41236 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41237 if test $ac_cv_lib_unicows_main = yes; then
41238
41239 cat >>confdefs.h <<\_ACEOF
41240 #define wxUSE_UNICODE_MSLU 1
41241 _ACEOF
41242
41243
41244 else
41245
41246 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41247 Applications will only run on Windows NT/2000/XP!" >&5
41248 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41249 Applications will only run on Windows NT/2000/XP!" >&2;}
41250 wxUSE_UNICODE_MSLU=no
41251
41252 fi
41253
41254 fi
41255 fi
41256
41257 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41258 cat >>confdefs.h <<\_ACEOF
41259 #define wxUSE_EXPERIMENTAL_PRINTF 1
41260 _ACEOF
41261
41262 fi
41263
41264
41265 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41266 cat >>confdefs.h <<\_ACEOF
41267 #define wxUSE_POSTSCRIPT 1
41268 _ACEOF
41269
41270 fi
41271
41272 cat >>confdefs.h <<\_ACEOF
41273 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41274 _ACEOF
41275
41276
41277 cat >>confdefs.h <<\_ACEOF
41278 #define wxUSE_NORMALIZED_PS_FONTS 1
41279 _ACEOF
41280
41281
41282
41283 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41284 cat >>confdefs.h <<\_ACEOF
41285 #define wxUSE_CONSTRAINTS 1
41286 _ACEOF
41287
41288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
41289 fi
41290
41291 if test "$wxUSE_MDI" = "yes"; then
41292 cat >>confdefs.h <<\_ACEOF
41293 #define wxUSE_MDI 1
41294 _ACEOF
41295
41296
41297 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41298 cat >>confdefs.h <<\_ACEOF
41299 #define wxUSE_MDI_ARCHITECTURE 1
41300 _ACEOF
41301
41302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
41303 fi
41304 fi
41305
41306 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41307 cat >>confdefs.h <<\_ACEOF
41308 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41309 _ACEOF
41310
41311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
41312 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
41314 fi
41315 fi
41316
41317 if test "$wxUSE_HELP" = "yes"; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define wxUSE_HELP 1
41320 _ACEOF
41321
41322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
41323
41324 if test "$wxUSE_MSW" = 1; then
41325 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41326 cat >>confdefs.h <<\_ACEOF
41327 #define wxUSE_MS_HTML_HELP 1
41328 _ACEOF
41329
41330 fi
41331 fi
41332
41333 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41334 if test "$wxUSE_HTML" = "yes"; then
41335 cat >>confdefs.h <<\_ACEOF
41336 #define wxUSE_WXHTML_HELP 1
41337 _ACEOF
41338
41339 else
41340 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41341 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41342 wxUSE_WXHTML_HELP=no
41343 fi
41344 fi
41345 fi
41346
41347 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41348 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41349 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41350 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41351 else
41352 cat >>confdefs.h <<\_ACEOF
41353 #define wxUSE_PRINTING_ARCHITECTURE 1
41354 _ACEOF
41355
41356 fi
41357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
41358 fi
41359
41360 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41361 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41362 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41363 { (exit 1); exit 1; }; }
41364 fi
41365
41366
41367 if test "$wxUSE_METAFILE" = "yes"; then
41368 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41369 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41370 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41371 wxUSE_METAFILE=no
41372 fi
41373 fi
41374
41375
41376 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
41377 -o "$wxUSE_CLIPBOARD" = "yes" \
41378 -o "$wxUSE_OLE" = "yes" \
41379 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
41380
41381 for ac_header in ole2.h
41382 do
41383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41385 echo "$as_me:$LINENO: checking for $ac_header" >&5
41386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 fi
41390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41392 else
41393 # Is the header compilable?
41394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41396 cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h. */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402 $ac_includes_default
41403 #include <$ac_header>
41404 _ACEOF
41405 rm -f conftest.$ac_objext
41406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41407 (eval $ac_compile) 2>conftest.er1
41408 ac_status=$?
41409 grep -v '^ *+' conftest.er1 >conftest.err
41410 rm -f conftest.er1
41411 cat conftest.err >&5
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); } &&
41414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41416 (eval $ac_try) 2>&5
41417 ac_status=$?
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); }; } &&
41420 { ac_try='test -s conftest.$ac_objext'
41421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41422 (eval $ac_try) 2>&5
41423 ac_status=$?
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); }; }; then
41426 ac_header_compiler=yes
41427 else
41428 echo "$as_me: failed program was:" >&5
41429 sed 's/^/| /' conftest.$ac_ext >&5
41430
41431 ac_header_compiler=no
41432 fi
41433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41435 echo "${ECHO_T}$ac_header_compiler" >&6
41436
41437 # Is the header present?
41438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41440 cat >conftest.$ac_ext <<_ACEOF
41441 /* confdefs.h. */
41442 _ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41446 #include <$ac_header>
41447 _ACEOF
41448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41450 ac_status=$?
41451 grep -v '^ *+' conftest.er1 >conftest.err
41452 rm -f conftest.er1
41453 cat conftest.err >&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); } >/dev/null; then
41456 if test -s conftest.err; then
41457 ac_cpp_err=$ac_c_preproc_warn_flag
41458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41459 else
41460 ac_cpp_err=
41461 fi
41462 else
41463 ac_cpp_err=yes
41464 fi
41465 if test -z "$ac_cpp_err"; then
41466 ac_header_preproc=yes
41467 else
41468 echo "$as_me: failed program was:" >&5
41469 sed 's/^/| /' conftest.$ac_ext >&5
41470
41471 ac_header_preproc=no
41472 fi
41473 rm -f conftest.err conftest.$ac_ext
41474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41475 echo "${ECHO_T}$ac_header_preproc" >&6
41476
41477 # So? What about this header?
41478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41479 yes:no: )
41480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41484 ac_header_preproc=yes
41485 ;;
41486 no:yes:* )
41487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41499 (
41500 cat <<\_ASBOX
41501 ## ----------------------------------------- ##
41502 ## Report this to wx-dev@lists.wxwidgets.org ##
41503 ## ----------------------------------------- ##
41504 _ASBOX
41505 ) |
41506 sed "s/^/$as_me: WARNING: /" >&2
41507 ;;
41508 esac
41509 echo "$as_me:$LINENO: checking for $ac_header" >&5
41510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41512 echo $ECHO_N "(cached) $ECHO_C" >&6
41513 else
41514 eval "$as_ac_Header=\$ac_header_preproc"
41515 fi
41516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41518
41519 fi
41520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41521 cat >>confdefs.h <<_ACEOF
41522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41523 _ACEOF
41524
41525 fi
41526
41527 done
41528
41529
41530 if test "$ac_cv_header_ole2_h" = "yes" ; then
41531 if test "$GCC" = yes ; then
41532
41533
41534 ac_ext=cc
41535 ac_cpp='$CXXCPP $CPPFLAGS'
41536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41539
41540
41541 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41542 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 #include <windows.h>
41550 #include <ole2.h>
41551 int
41552 main ()
41553 {
41554
41555 ;
41556 return 0;
41557 }
41558 _ACEOF
41559 rm -f conftest.$ac_objext
41560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41561 (eval $ac_compile) 2>conftest.er1
41562 ac_status=$?
41563 grep -v '^ *+' conftest.er1 >conftest.err
41564 rm -f conftest.er1
41565 cat conftest.err >&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); } &&
41568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570 (eval $ac_try) 2>&5
41571 ac_status=$?
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; } &&
41574 { ac_try='test -s conftest.$ac_objext'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41577 ac_status=$?
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; }; then
41580 echo "$as_me:$LINENO: result: no" >&5
41581 echo "${ECHO_T}no" >&6
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41585
41586 echo "$as_me:$LINENO: result: yes" >&5
41587 echo "${ECHO_T}yes" >&6
41588 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41589 fi
41590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41591 ac_ext=c
41592 ac_cpp='$CPP $CPPFLAGS'
41593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41596
41597 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41598 if test "$wxUSE_OLE" = "yes" ; then
41599 cat >>confdefs.h <<\_ACEOF
41600 #define wxUSE_OLE 1
41601 _ACEOF
41602
41603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
41604 fi
41605 fi
41606
41607 if test "$wxUSE_DATAOBJ" = "yes" ; then
41608 cat >>confdefs.h <<\_ACEOF
41609 #define wxUSE_DATAOBJ 1
41610 _ACEOF
41611
41612 fi
41613 else
41614 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41615 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41616
41617 wxUSE_CLIPBOARD=no
41618 wxUSE_DRAG_AND_DROP=no
41619 wxUSE_DATAOBJ=no
41620 wxUSE_OLE=no
41621 fi
41622
41623 if test "$wxUSE_METAFILE" = "yes"; then
41624 cat >>confdefs.h <<\_ACEOF
41625 #define wxUSE_METAFILE 1
41626 _ACEOF
41627
41628
41629 cat >>confdefs.h <<\_ACEOF
41630 #define wxUSE_ENH_METAFILE 1
41631 _ACEOF
41632
41633 fi
41634 fi
41635
41636 if test "$wxUSE_IPC" = "yes"; then
41637 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41638 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41639 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41640 wxUSE_IPC=no
41641 fi
41642
41643 if test "$wxUSE_IPC" = "yes"; then
41644 cat >>confdefs.h <<\_ACEOF
41645 #define wxUSE_IPC 1
41646 _ACEOF
41647
41648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
41649 fi
41650 fi
41651
41652 if test "$wxUSE_DATAOBJ" = "yes"; then
41653 if test "$wxUSE_MGL" = 1; then
41654 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41655 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41656 wxUSE_DATAOBJ=no
41657 else
41658 cat >>confdefs.h <<\_ACEOF
41659 #define wxUSE_DATAOBJ 1
41660 _ACEOF
41661
41662 fi
41663 else
41664 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41665 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41666 wxUSE_CLIPBOARD=no
41667 wxUSE_DRAG_AND_DROP=no
41668 fi
41669
41670 if test "$wxUSE_CLIPBOARD" = "yes"; then
41671 if test "$wxUSE_MGL" = 1; then
41672 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41673 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41674 wxUSE_CLIPBOARD=no
41675 fi
41676
41677 if test "$wxUSE_CLIPBOARD" = "yes"; then
41678 cat >>confdefs.h <<\_ACEOF
41679 #define wxUSE_CLIPBOARD 1
41680 _ACEOF
41681
41682 fi
41683 fi
41684
41685 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41686 if test "$wxUSE_GTK" = 1; then
41687 if test "$WXGTK12" != 1; then
41688 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41689 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41690 wxUSE_DRAG_AND_DROP=no
41691 fi
41692 fi
41693
41694 if test "$wxUSE_MOTIF" = 1; then
41695 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41696 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41697 wxUSE_DRAG_AND_DROP=no
41698 fi
41699
41700 if test "$wxUSE_X11" = 1; then
41701 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41702 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41703 wxUSE_DRAG_AND_DROP=no
41704 fi
41705
41706 if test "$wxUSE_MGL" = 1; then
41707 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41708 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41709 wxUSE_DRAG_AND_DROP=no
41710 fi
41711
41712 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41713 cat >>confdefs.h <<\_ACEOF
41714 #define wxUSE_DRAG_AND_DROP 1
41715 _ACEOF
41716
41717 fi
41718
41719 fi
41720
41721 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
41723 fi
41724
41725 if test "$wxUSE_SPLINES" = "yes" ; then
41726 cat >>confdefs.h <<\_ACEOF
41727 #define wxUSE_SPLINES 1
41728 _ACEOF
41729
41730 fi
41731
41732 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41733 cat >>confdefs.h <<\_ACEOF
41734 #define wxUSE_MOUSEWHEEL 1
41735 _ACEOF
41736
41737 fi
41738
41739
41740 USES_CONTROLS=0
41741 if test "$wxUSE_CONTROLS" = "yes"; then
41742 USES_CONTROLS=1
41743 fi
41744
41745 if test "$wxUSE_ACCEL" = "yes"; then
41746 cat >>confdefs.h <<\_ACEOF
41747 #define wxUSE_ACCEL 1
41748 _ACEOF
41749
41750 USES_CONTROLS=1
41751 fi
41752
41753 if test "$wxUSE_BUTTON" = "yes"; then
41754 cat >>confdefs.h <<\_ACEOF
41755 #define wxUSE_BUTTON 1
41756 _ACEOF
41757
41758 USES_CONTROLS=1
41759 fi
41760
41761 if test "$wxUSE_BMPBUTTON" = "yes"; then
41762 cat >>confdefs.h <<\_ACEOF
41763 #define wxUSE_BMPBUTTON 1
41764 _ACEOF
41765
41766 USES_CONTROLS=1
41767 fi
41768
41769 if test "$wxUSE_CALCTRL" = "yes"; then
41770 cat >>confdefs.h <<\_ACEOF
41771 #define wxUSE_CALENDARCTRL 1
41772 _ACEOF
41773
41774 USES_CONTROLS=1
41775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
41776 fi
41777
41778 if test "$wxUSE_CARET" = "yes"; then
41779 cat >>confdefs.h <<\_ACEOF
41780 #define wxUSE_CARET 1
41781 _ACEOF
41782
41783 USES_CONTROLS=1
41784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
41785 fi
41786
41787 if test "$wxUSE_COMBOBOX" = "yes"; then
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_COMBOBOX 1
41790 _ACEOF
41791
41792 USES_CONTROLS=1
41793 fi
41794
41795 if test "$wxUSE_CHOICE" = "yes"; then
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_CHOICE 1
41798 _ACEOF
41799
41800 USES_CONTROLS=1
41801 fi
41802
41803 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41804 cat >>confdefs.h <<\_ACEOF
41805 #define wxUSE_CHOICEBOOK 1
41806 _ACEOF
41807
41808 USES_CONTROLS=1
41809 fi
41810
41811 if test "$wxUSE_CHECKBOX" = "yes"; then
41812 cat >>confdefs.h <<\_ACEOF
41813 #define wxUSE_CHECKBOX 1
41814 _ACEOF
41815
41816 USES_CONTROLS=1
41817 fi
41818
41819 if test "$wxUSE_CHECKLST" = "yes"; then
41820 cat >>confdefs.h <<\_ACEOF
41821 #define wxUSE_CHECKLISTBOX 1
41822 _ACEOF
41823
41824 USES_CONTROLS=1
41825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
41826 fi
41827
41828 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41829 cat >>confdefs.h <<\_ACEOF
41830 #define wxUSE_DATEPICKCTRL 1
41831 _ACEOF
41832
41833 USES_CONTROLS=1
41834 fi
41835
41836 if test "$wxUSE_DISPLAY" = "yes"; then
41837 cat >>confdefs.h <<\_ACEOF
41838 #define wxUSE_DISPLAY 1
41839 _ACEOF
41840
41841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
41842 fi
41843
41844 if test "$wxUSE_GAUGE" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define wxUSE_GAUGE 1
41847 _ACEOF
41848
41849 USES_CONTROLS=1
41850 fi
41851
41852 if test "$wxUSE_GRID" = "yes"; then
41853 cat >>confdefs.h <<\_ACEOF
41854 #define wxUSE_GRID 1
41855 _ACEOF
41856
41857 USES_CONTROLS=1
41858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
41859 fi
41860
41861 if test "$wxUSE_IMAGLIST" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_IMAGLIST 1
41864 _ACEOF
41865
41866 fi
41867
41868 if test "$wxUSE_LISTBOOK" = "yes"; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_LISTBOOK 1
41871 _ACEOF
41872
41873 USES_CONTROLS=1
41874 fi
41875
41876 if test "$wxUSE_LISTBOX" = "yes"; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_LISTBOX 1
41879 _ACEOF
41880
41881 USES_CONTROLS=1
41882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
41883 fi
41884
41885 if test "$wxUSE_LISTCTRL" = "yes"; then
41886 if test "$wxUSE_IMAGLIST" = "yes"; then
41887 cat >>confdefs.h <<\_ACEOF
41888 #define wxUSE_LISTCTRL 1
41889 _ACEOF
41890
41891 USES_CONTROLS=1
41892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
41893 else
41894 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41895 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41896 fi
41897 fi
41898
41899 if test "$wxUSE_NOTEBOOK" = "yes"; then
41900 cat >>confdefs.h <<\_ACEOF
41901 #define wxUSE_NOTEBOOK 1
41902 _ACEOF
41903
41904 USES_CONTROLS=1
41905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
41906 fi
41907
41908
41909 if test "$wxUSE_RADIOBOX" = "yes"; then
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_RADIOBOX 1
41912 _ACEOF
41913
41914 USES_CONTROLS=1
41915 fi
41916
41917 if test "$wxUSE_RADIOBTN" = "yes"; then
41918 cat >>confdefs.h <<\_ACEOF
41919 #define wxUSE_RADIOBTN 1
41920 _ACEOF
41921
41922 USES_CONTROLS=1
41923 fi
41924
41925 if test "$wxUSE_SASH" = "yes"; then
41926 cat >>confdefs.h <<\_ACEOF
41927 #define wxUSE_SASH 1
41928 _ACEOF
41929
41930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
41931 fi
41932
41933 if test "$wxUSE_SCROLLBAR" = "yes"; then
41934 cat >>confdefs.h <<\_ACEOF
41935 #define wxUSE_SCROLLBAR 1
41936 _ACEOF
41937
41938 USES_CONTROLS=1
41939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
41940 fi
41941
41942 if test "$wxUSE_SLIDER" = "yes"; then
41943 cat >>confdefs.h <<\_ACEOF
41944 #define wxUSE_SLIDER 1
41945 _ACEOF
41946
41947 USES_CONTROLS=1
41948 fi
41949
41950 if test "$wxUSE_SPINBTN" = "yes"; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_SPINBTN 1
41953 _ACEOF
41954
41955 USES_CONTROLS=1
41956 fi
41957
41958 if test "$wxUSE_SPINCTRL" = "yes"; then
41959 cat >>confdefs.h <<\_ACEOF
41960 #define wxUSE_SPINCTRL 1
41961 _ACEOF
41962
41963 USES_CONTROLS=1
41964 fi
41965
41966 if test "$wxUSE_SPLITTER" = "yes"; then
41967 cat >>confdefs.h <<\_ACEOF
41968 #define wxUSE_SPLITTER 1
41969 _ACEOF
41970
41971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
41972 fi
41973
41974 if test "$wxUSE_STATBMP" = "yes"; then
41975 cat >>confdefs.h <<\_ACEOF
41976 #define wxUSE_STATBMP 1
41977 _ACEOF
41978
41979 USES_CONTROLS=1
41980 fi
41981
41982 if test "$wxUSE_STATBOX" = "yes"; then
41983 cat >>confdefs.h <<\_ACEOF
41984 #define wxUSE_STATBOX 1
41985 _ACEOF
41986
41987 USES_CONTROLS=1
41988 fi
41989
41990 if test "$wxUSE_STATTEXT" = "yes"; then
41991 cat >>confdefs.h <<\_ACEOF
41992 #define wxUSE_STATTEXT 1
41993 _ACEOF
41994
41995 USES_CONTROLS=1
41996 fi
41997
41998 if test "$wxUSE_STATLINE" = "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define wxUSE_STATLINE 1
42001 _ACEOF
42002
42003 USES_CONTROLS=1
42004 fi
42005
42006 if test "$wxUSE_STATUSBAR" = "yes"; then
42007 cat >>confdefs.h <<\_ACEOF
42008 #define wxUSE_NATIVE_STATUSBAR 1
42009 _ACEOF
42010
42011 cat >>confdefs.h <<\_ACEOF
42012 #define wxUSE_STATUSBAR 1
42013 _ACEOF
42014
42015 USES_CONTROLS=1
42016
42017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
42018 fi
42019
42020 if test "$wxUSE_TABDIALOG" = "yes"; then
42021 cat >>confdefs.h <<\_ACEOF
42022 #define wxUSE_TAB_DIALOG 1
42023 _ACEOF
42024
42025 fi
42026
42027 if test "$wxUSE_TEXTCTRL" = "yes"; then
42028 cat >>confdefs.h <<\_ACEOF
42029 #define wxUSE_TEXTCTRL 1
42030 _ACEOF
42031
42032 USES_CONTROLS=1
42033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
42034 fi
42035
42036 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42037 if test "$wxUSE_COCOA" = 1 ; then
42038 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42039 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42040 wxUSE_TOGGLEBTN=no
42041 fi
42042 if test "$wxUSE_UNIVERSAL" = "yes"; then
42043 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42044 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42045 wxUSE_TOGGLEBTN=no
42046 fi
42047
42048 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42049 cat >>confdefs.h <<\_ACEOF
42050 #define wxUSE_TOGGLEBTN 1
42051 _ACEOF
42052
42053 USES_CONTROLS=1
42054 fi
42055 fi
42056
42057 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42058 cat >>confdefs.h <<\_ACEOF
42059 #define wxUSE_TOOLBAR_SIMPLE 1
42060 _ACEOF
42061
42062 wxUSE_TOOLBAR="yes"
42063 USES_CONTROLS=1
42064 fi
42065
42066 if test "$wxUSE_TOOLBAR" = "yes"; then
42067 cat >>confdefs.h <<\_ACEOF
42068 #define wxUSE_TOOLBAR 1
42069 _ACEOF
42070
42071 USES_CONTROLS=1
42072
42073 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42074 wxUSE_TOOLBAR_NATIVE="yes"
42075 fi
42076
42077 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42078 cat >>confdefs.h <<\_ACEOF
42079 #define wxUSE_TOOLBAR_NATIVE 1
42080 _ACEOF
42081
42082 USES_CONTROLS=1
42083 fi
42084
42085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
42086 fi
42087
42088 if test "$wxUSE_TOOLTIPS" = "yes"; then
42089 if test "$wxUSE_MOTIF" = 1; then
42090 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42091 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42092 else
42093 if test "$wxUSE_UNIVERSAL" = "yes"; then
42094 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42095 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42096 else
42097 cat >>confdefs.h <<\_ACEOF
42098 #define wxUSE_TOOLTIPS 1
42099 _ACEOF
42100
42101 fi
42102 fi
42103 fi
42104
42105 if test "$wxUSE_TREECTRL" = "yes"; then
42106 if test "$wxUSE_IMAGLIST" = "yes"; then
42107 cat >>confdefs.h <<\_ACEOF
42108 #define wxUSE_TREECTRL 1
42109 _ACEOF
42110
42111 USES_CONTROLS=1
42112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
42113 else
42114 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42115 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42116 fi
42117 fi
42118
42119 if test "$wxUSE_POPUPWIN" = "yes"; then
42120 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42121 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42122 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42123 else
42124 if test "$wxUSE_PM" = 1; then
42125 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42126 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42127 else
42128 cat >>confdefs.h <<\_ACEOF
42129 #define wxUSE_POPUPWIN 1
42130 _ACEOF
42131
42132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
42133
42134 USES_CONTROLS=1
42135 fi
42136 fi
42137 fi
42138
42139 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42140 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42141 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42142 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42143 else
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_DIALUP_MANAGER 1
42146 _ACEOF
42147
42148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
42149 fi
42150 fi
42151
42152 if test "$wxUSE_TIPWINDOW" = "yes"; then
42153 if test "$wxUSE_PM" = 1; then
42154 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42155 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42156 else
42157 cat >>confdefs.h <<\_ACEOF
42158 #define wxUSE_TIPWINDOW 1
42159 _ACEOF
42160
42161 fi
42162 fi
42163
42164 if test "$USES_CONTROLS" = 1; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define wxUSE_CONTROLS 1
42167 _ACEOF
42168
42169 fi
42170
42171
42172 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42173 cat >>confdefs.h <<\_ACEOF
42174 #define wxUSE_ACCESSIBILITY 1
42175 _ACEOF
42176
42177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
42178 fi
42179
42180 if test "$wxUSE_DC_CACHEING" = "yes"; then
42181 cat >>confdefs.h <<\_ACEOF
42182 #define wxUSE_DC_CACHEING 1
42183 _ACEOF
42184
42185 fi
42186
42187 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_DRAGIMAGE 1
42190 _ACEOF
42191
42192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
42193 fi
42194
42195 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42196 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42197 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42198 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42199 else
42200 cat >>confdefs.h <<\_ACEOF
42201 #define wxUSE_EXCEPTIONS 1
42202 _ACEOF
42203
42204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
42205 fi
42206 fi
42207
42208 USE_HTML=0
42209 if test "$wxUSE_HTML" = "yes"; then
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_HTML 1
42212 _ACEOF
42213
42214 USE_HTML=1
42215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42216 if test "$wxUSE_MAC" = 1; then
42217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
42218 fi
42219 fi
42220 if test "$wxUSE_WEBKIT" = "yes"; then
42221 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42222 old_CPPFLAGS="$CPPFLAGS"
42223 CPPFLAGS="$CPPFLAGS -x objective-c++"
42224 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42225 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42226 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42228 else
42229 cat >conftest.$ac_ext <<_ACEOF
42230 /* confdefs.h. */
42231 _ACEOF
42232 cat confdefs.h >>conftest.$ac_ext
42233 cat >>conftest.$ac_ext <<_ACEOF
42234 /* end confdefs.h. */
42235 #include <Carbon/Carbon.h>
42236
42237 #include <WebKit/HIWebView.h>
42238 _ACEOF
42239 rm -f conftest.$ac_objext
42240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42241 (eval $ac_compile) 2>conftest.er1
42242 ac_status=$?
42243 grep -v '^ *+' conftest.er1 >conftest.err
42244 rm -f conftest.er1
42245 cat conftest.err >&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); } &&
42248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; } &&
42254 { ac_try='test -s conftest.$ac_objext'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; }; then
42260 ac_cv_header_WebKit_HIWebView_h=yes
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265 ac_cv_header_WebKit_HIWebView_h=no
42266 fi
42267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42268 fi
42269 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42270 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42271 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42272
42273 cat >>confdefs.h <<\_ACEOF
42274 #define wxUSE_WEBKIT 1
42275 _ACEOF
42276
42277 WEBKIT_LINK="-framework WebKit"
42278
42279 else
42280
42281 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42282 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42283 wxUSE_WEBKIT=no
42284
42285 fi
42286
42287
42288 CPPFLAGS="$old_CPPFLAGS"
42289 elif test "$wxUSE_COCOA" = 1; then
42290 cat >>confdefs.h <<\_ACEOF
42291 #define wxUSE_WEBKIT 1
42292 _ACEOF
42293
42294 else
42295 wxUSE_WEBKIT=no
42296 fi
42297 fi
42298
42299 USE_XRC=0
42300 if test "$wxUSE_XRC" = "yes"; then
42301 if test "$wxUSE_XML" != "yes"; then
42302 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42303 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42304 wxUSE_XRC=no
42305 else
42306 cat >>confdefs.h <<\_ACEOF
42307 #define wxUSE_XRC 1
42308 _ACEOF
42309
42310 USE_XRC=1
42311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
42312 fi
42313 fi
42314
42315 if test "$wxUSE_MENUS" = "yes"; then
42316 cat >>confdefs.h <<\_ACEOF
42317 #define wxUSE_MENUS 1
42318 _ACEOF
42319
42320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
42321 fi
42322
42323 if test "$wxUSE_METAFILE" = "yes"; then
42324 cat >>confdefs.h <<\_ACEOF
42325 #define wxUSE_METAFILE 1
42326 _ACEOF
42327
42328 fi
42329
42330 if test "$wxUSE_MIMETYPE" = "yes"; then
42331 cat >>confdefs.h <<\_ACEOF
42332 #define wxUSE_MIMETYPE 1
42333 _ACEOF
42334
42335 fi
42336
42337 if test "$wxUSE_MINIFRAME" = "yes"; then
42338 cat >>confdefs.h <<\_ACEOF
42339 #define wxUSE_MINIFRAME 1
42340 _ACEOF
42341
42342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
42343 fi
42344
42345 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define wxUSE_SYSTEM_OPTIONS 1
42348 _ACEOF
42349
42350 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42351 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
42353 fi
42354 fi
42355
42356
42357 if test "$wxUSE_VALIDATORS" = "yes"; then
42358 cat >>confdefs.h <<\_ACEOF
42359 #define wxUSE_VALIDATORS 1
42360 _ACEOF
42361
42362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
42363 fi
42364
42365 if test "$wxUSE_PALETTE" = "yes" ; then
42366 cat >>confdefs.h <<\_ACEOF
42367 #define wxUSE_PALETTE 1
42368 _ACEOF
42369
42370 fi
42371
42372 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42373 LIBS=" -lunicows $LIBS"
42374 fi
42375
42376
42377 if test "$wxUSE_IMAGE" = "yes" ; then
42378 cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_IMAGE 1
42380 _ACEOF
42381
42382
42383 if test "$wxUSE_GIF" = "yes" ; then
42384 cat >>confdefs.h <<\_ACEOF
42385 #define wxUSE_GIF 1
42386 _ACEOF
42387
42388 fi
42389
42390 if test "$wxUSE_PCX" = "yes" ; then
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_PCX 1
42393 _ACEOF
42394
42395 fi
42396
42397 if test "$wxUSE_IFF" = "yes" ; then
42398 cat >>confdefs.h <<\_ACEOF
42399 #define wxUSE_IFF 1
42400 _ACEOF
42401
42402 fi
42403
42404 if test "$wxUSE_PNM" = "yes" ; then
42405 cat >>confdefs.h <<\_ACEOF
42406 #define wxUSE_PNM 1
42407 _ACEOF
42408
42409 fi
42410
42411 if test "$wxUSE_XPM" = "yes" ; then
42412 cat >>confdefs.h <<\_ACEOF
42413 #define wxUSE_XPM 1
42414 _ACEOF
42415
42416 fi
42417
42418 if test "$wxUSE_ICO_CUR" = "yes" ; then
42419 cat >>confdefs.h <<\_ACEOF
42420 #define wxUSE_ICO_CUR 1
42421 _ACEOF
42422
42423 fi
42424 fi
42425
42426
42427 if test "$wxUSE_CHOICEDLG" = "yes"; then
42428 cat >>confdefs.h <<\_ACEOF
42429 #define wxUSE_CHOICEDLG 1
42430 _ACEOF
42431
42432 fi
42433
42434 if test "$wxUSE_COLOURDLG" = "yes"; then
42435 cat >>confdefs.h <<\_ACEOF
42436 #define wxUSE_COLOURDLG 1
42437 _ACEOF
42438
42439 fi
42440
42441 if test "$wxUSE_FILEDLG" = "yes"; then
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_FILEDLG 1
42444 _ACEOF
42445
42446 fi
42447
42448 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_FINDREPLDLG 1
42451 _ACEOF
42452
42453 fi
42454
42455 if test "$wxUSE_FONTDLG" = "yes"; then
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_FONTDLG 1
42458 _ACEOF
42459
42460 fi
42461
42462 if test "$wxUSE_DIRDLG" = "yes"; then
42463 if test "$wxUSE_TREECTRL" != "yes"; then
42464 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42465 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42466 else
42467 cat >>confdefs.h <<\_ACEOF
42468 #define wxUSE_DIRDLG 1
42469 _ACEOF
42470
42471 fi
42472 fi
42473
42474 if test "$wxUSE_MSGDLG" = "yes"; then
42475 cat >>confdefs.h <<\_ACEOF
42476 #define wxUSE_MSGDLG 1
42477 _ACEOF
42478
42479 fi
42480
42481 if test "$wxUSE_NUMBERDLG" = "yes"; then
42482 cat >>confdefs.h <<\_ACEOF
42483 #define wxUSE_NUMBERDLG 1
42484 _ACEOF
42485
42486 fi
42487
42488 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42489 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42490 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42491 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42492 else
42493 cat >>confdefs.h <<\_ACEOF
42494 #define wxUSE_PROGRESSDLG 1
42495 _ACEOF
42496
42497 fi
42498 fi
42499
42500 if test "$wxUSE_SPLASH" = "yes"; then
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_SPLASH 1
42503 _ACEOF
42504
42505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
42506 fi
42507
42508 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42509 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42510 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42511 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42512 else
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_STARTUP_TIPS 1
42515 _ACEOF
42516
42517 fi
42518 fi
42519
42520 if test "$wxUSE_TEXTDLG" = "yes"; then
42521 cat >>confdefs.h <<\_ACEOF
42522 #define wxUSE_TEXTDLG 1
42523 _ACEOF
42524
42525 fi
42526
42527 if test "$wxUSE_WIZARDDLG" = "yes"; then
42528 cat >>confdefs.h <<\_ACEOF
42529 #define wxUSE_WIZARDDLG 1
42530 _ACEOF
42531
42532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
42533 fi
42534
42535
42536 if test "$wxUSE_MEDIACTRL" = "yes"; then
42537 if test "$wxUSE_GTK" = 1; then
42538 wxUSE_GSTREAMER="yes"
42539
42540
42541 succeeded=no
42542
42543 if test -z "$PKG_CONFIG"; then
42544 # Extract the first word of "pkg-config", so it can be a program name with args.
42545 set dummy pkg-config; ac_word=$2
42546 echo "$as_me:$LINENO: checking for $ac_word" >&5
42547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42548 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42549 echo $ECHO_N "(cached) $ECHO_C" >&6
42550 else
42551 case $PKG_CONFIG in
42552 [\\/]* | ?:[\\/]*)
42553 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42554 ;;
42555 *)
42556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42557 for as_dir in $PATH
42558 do
42559 IFS=$as_save_IFS
42560 test -z "$as_dir" && as_dir=.
42561 for ac_exec_ext in '' $ac_executable_extensions; do
42562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42563 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42565 break 2
42566 fi
42567 done
42568 done
42569
42570 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
42571 ;;
42572 esac
42573 fi
42574 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42575
42576 if test -n "$PKG_CONFIG"; then
42577 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42578 echo "${ECHO_T}$PKG_CONFIG" >&6
42579 else
42580 echo "$as_me:$LINENO: result: no" >&5
42581 echo "${ECHO_T}no" >&6
42582 fi
42583
42584 fi
42585
42586 if test "$PKG_CONFIG" = "no" ; then
42587 echo "*** The pkg-config script could not be found. Make sure it is"
42588 echo "*** in your path, or set the PKG_CONFIG environment variable"
42589 echo "*** to the full path to pkg-config."
42590 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42591 else
42592 PKG_CONFIG_MIN_VERSION=0.9.0
42593 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42594 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42595 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42596
42597 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42598 echo "$as_me:$LINENO: result: yes" >&5
42599 echo "${ECHO_T}yes" >&6
42600 succeeded=yes
42601
42602 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42603 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42604 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42605 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42606 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42607
42608 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42609 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42610 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
42611 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42612 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42613 else
42614 GSTREAMER_CFLAGS=""
42615 GSTREAMER_LIBS=""
42616 ## If we have a custom action on failure, don't print errors, but
42617 ## do set a variable so people can do so.
42618 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42619
42620 fi
42621
42622
42623
42624 else
42625 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42626 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42627 fi
42628 fi
42629
42630 if test $succeeded = yes; then
42631
42632 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
42633 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42634
42635 else
42636
42637 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42638 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42639 wxUSE_GSTREAMER="no"
42640
42641 fi
42642
42643
42644
42645
42646
42647 if test "x$GST_INSPECT" == "x"; then
42648 # Extract the first word of "gst-inspect", so it can be a program name with args.
42649 set dummy gst-inspect; ac_word=$2
42650 echo "$as_me:$LINENO: checking for $ac_word" >&5
42651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42652 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42653 echo $ECHO_N "(cached) $ECHO_C" >&6
42654 else
42655 if test -n "$GST_INSPECT"; then
42656 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
42657 else
42658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42659 for as_dir in $PATH
42660 do
42661 IFS=$as_save_IFS
42662 test -z "$as_dir" && as_dir=.
42663 for ac_exec_ext in '' $ac_executable_extensions; do
42664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42665 ac_cv_prog_GST_INSPECT="gst-inspect"
42666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42667 break 2
42668 fi
42669 done
42670 done
42671
42672 fi
42673 fi
42674 GST_INSPECT=$ac_cv_prog_GST_INSPECT
42675 if test -n "$GST_INSPECT"; then
42676 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42677 echo "${ECHO_T}$GST_INSPECT" >&6
42678 else
42679 echo "$as_me:$LINENO: result: no" >&5
42680 echo "${ECHO_T}no" >&6
42681 fi
42682
42683 fi
42684
42685 if test "x$GST_INSPECT" != "x"; then
42686 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42687 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42688 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
42689 echo "$as_me:$LINENO: result: found." >&5
42690 echo "${ECHO_T}found." >&6
42691
42692 else
42693 echo "$as_me:$LINENO: result: not found." >&5
42694 echo "${ECHO_T}not found." >&6
42695
42696 wxUSE_GSTREAMER="no"
42697 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42698 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42699
42700 fi
42701 fi
42702
42703
42704 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42705 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42706 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42707 echo $ECHO_N "(cached) $ECHO_C" >&6
42708 else
42709 cat >conftest.$ac_ext <<_ACEOF
42710 /* confdefs.h. */
42711 _ACEOF
42712 cat confdefs.h >>conftest.$ac_ext
42713 cat >>conftest.$ac_ext <<_ACEOF
42714 /* end confdefs.h. */
42715 #include <gst/gst.h>
42716
42717 #include <gst/xoverlay/xoverlay.h>
42718 _ACEOF
42719 rm -f conftest.$ac_objext
42720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42721 (eval $ac_compile) 2>conftest.er1
42722 ac_status=$?
42723 grep -v '^ *+' conftest.er1 >conftest.err
42724 rm -f conftest.er1
42725 cat conftest.err >&5
42726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42727 (exit $ac_status); } &&
42728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42730 (eval $ac_try) 2>&5
42731 ac_status=$?
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); }; } &&
42734 { ac_try='test -s conftest.$ac_objext'
42735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42736 (eval $ac_try) 2>&5
42737 ac_status=$?
42738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739 (exit $ac_status); }; }; then
42740 ac_cv_header_gst_xoverlay_xoverlay_h=yes
42741 else
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.$ac_ext >&5
42744
42745 ac_cv_header_gst_xoverlay_xoverlay_h=no
42746 fi
42747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42748 fi
42749 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42750 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42751 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42752 :
42753 else
42754
42755 wxUSE_GSTREAMER="no"
42756 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42757 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42758
42759 fi
42760
42761
42762
42763 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42764 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42765
42766 ac_find_libraries=
42767 for ac_dir in $SEARCH_LIB;
42768 do
42769 for ac_extension in a so sl dylib dll.a; do
42770 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42771 ac_find_libraries=$ac_dir
42772 break 2
42773 fi
42774 done
42775 done
42776
42777
42778 if test "$ac_find_libraries" = "" ; then
42779 echo "$as_me:$LINENO: result: no" >&5
42780 echo "${ECHO_T}no" >&6
42781 wxUSE_GSTREAMER="no"
42782 else
42783 echo "$as_me:$LINENO: result: yes" >&5
42784 echo "${ECHO_T}yes" >&6
42785 fi
42786
42787 if test "$wxUSE_GSTREAMER" = "yes"; then
42788 cat >>confdefs.h <<\_ACEOF
42789 #define wxUSE_GSTREAMER 1
42790 _ACEOF
42791
42792 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42793 echo "${ECHO_T}GStreamer detection successful" >&6
42794 fi
42795 fi
42796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
42797 cat >>confdefs.h <<\_ACEOF
42798 #define wxUSE_MEDIACTRL 1
42799 _ACEOF
42800
42801 fi
42802
42803
42804 if test "$cross_compiling" = "yes"; then
42805 OSINFO="\"$host\""
42806 else
42807 OSINFO=`uname -s -r -m`
42808 OSINFO="\"$OSINFO\""
42809 fi
42810
42811 cat >>confdefs.h <<_ACEOF
42812 #define WXWIN_OS_DESCRIPTION $OSINFO
42813 _ACEOF
42814
42815
42816
42817 if test "x$prefix" != "xNONE"; then
42818 wxPREFIX=$prefix
42819 else
42820 wxPREFIX=$ac_default_prefix
42821 fi
42822
42823 cat >>confdefs.h <<_ACEOF
42824 #define wxINSTALL_PREFIX "$wxPREFIX"
42825 _ACEOF
42826
42827
42828
42829
42830 CORE_BASE_LIBS="net base"
42831 CORE_GUI_LIBS="adv core"
42832
42833 if test "$wxUSE_XML" = "yes" ; then
42834 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
42835 fi
42836 if test "$wxUSE_ODBC" != "no" ; then
42837 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
42838 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
42839 fi
42840 if test "$wxUSE_HTML" = "yes" ; then
42841 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
42842 fi
42843 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42844 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
42845 fi
42846 if test "$wxUSE_XRC" = "yes" ; then
42847 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
42848 fi
42849
42850 if test "$wxUSE_GUI" != "yes"; then
42851 CORE_GUI_LIBS=""
42852 fi
42853
42854
42855
42856
42857
42858
42859
42860
42861 if test "$wxUSE_MAC" = 1 ; then
42862 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42863 if test "$USE_DARWIN" = 1; then
42864 LDFLAGS="$LDFLAGS -framework QuickTime"
42865 else
42866 LDFLAGS="$LDFLAGS -lQuickTimeLib"
42867 fi
42868 fi
42869 if test "$USE_DARWIN" = 1; then
42870 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42871 else
42872 LDFLAGS="$LDFLAGS -lCarbonLib"
42873 fi
42874 fi
42875 if test "$wxUSE_COCOA" = 1 ; then
42876 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
42877 if test "$wxUSE_MEDIACTRL" = "yes"; then
42878 LDFLAGS="$LDFLAGS -framework QuickTime"
42879 fi
42880 fi
42881 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42882 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42883 fi
42884
42885
42886 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42887
42888 have_cos=0
42889 have_floor=0
42890
42891 for ac_func in cos
42892 do
42893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42894 echo "$as_me:$LINENO: checking for $ac_func" >&5
42895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42896 if eval "test \"\${$as_ac_var+set}\" = set"; then
42897 echo $ECHO_N "(cached) $ECHO_C" >&6
42898 else
42899 cat >conftest.$ac_ext <<_ACEOF
42900 /* confdefs.h. */
42901 _ACEOF
42902 cat confdefs.h >>conftest.$ac_ext
42903 cat >>conftest.$ac_ext <<_ACEOF
42904 /* end confdefs.h. */
42905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42907 #define $ac_func innocuous_$ac_func
42908
42909 /* System header to define __stub macros and hopefully few prototypes,
42910 which can conflict with char $ac_func (); below.
42911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42912 <limits.h> exists even on freestanding compilers. */
42913
42914 #ifdef __STDC__
42915 # include <limits.h>
42916 #else
42917 # include <assert.h>
42918 #endif
42919
42920 #undef $ac_func
42921
42922 /* Override any gcc2 internal prototype to avoid an error. */
42923 #ifdef __cplusplus
42924 extern "C"
42925 {
42926 #endif
42927 /* We use char because int might match the return type of a gcc2
42928 builtin and then its argument prototype would still apply. */
42929 char $ac_func ();
42930 /* The GNU C library defines this for functions which it implements
42931 to always fail with ENOSYS. Some functions are actually named
42932 something starting with __ and the normal name is an alias. */
42933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42934 choke me
42935 #else
42936 char (*f) () = $ac_func;
42937 #endif
42938 #ifdef __cplusplus
42939 }
42940 #endif
42941
42942 int
42943 main ()
42944 {
42945 return f != $ac_func;
42946 ;
42947 return 0;
42948 }
42949 _ACEOF
42950 rm -f conftest.$ac_objext conftest$ac_exeext
42951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42952 (eval $ac_link) 2>conftest.er1
42953 ac_status=$?
42954 grep -v '^ *+' conftest.er1 >conftest.err
42955 rm -f conftest.er1
42956 cat conftest.err >&5
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); } &&
42959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42961 (eval $ac_try) 2>&5
42962 ac_status=$?
42963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42964 (exit $ac_status); }; } &&
42965 { ac_try='test -s conftest$ac_exeext'
42966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42967 (eval $ac_try) 2>&5
42968 ac_status=$?
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); }; }; then
42971 eval "$as_ac_var=yes"
42972 else
42973 echo "$as_me: failed program was:" >&5
42974 sed 's/^/| /' conftest.$ac_ext >&5
42975
42976 eval "$as_ac_var=no"
42977 fi
42978 rm -f conftest.err conftest.$ac_objext \
42979 conftest$ac_exeext conftest.$ac_ext
42980 fi
42981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42983 if test `eval echo '${'$as_ac_var'}'` = yes; then
42984 cat >>confdefs.h <<_ACEOF
42985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42986 _ACEOF
42987 have_cos=1
42988 fi
42989 done
42990
42991
42992 for ac_func in floor
42993 do
42994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42995 echo "$as_me:$LINENO: checking for $ac_func" >&5
42996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42997 if eval "test \"\${$as_ac_var+set}\" = set"; then
42998 echo $ECHO_N "(cached) $ECHO_C" >&6
42999 else
43000 cat >conftest.$ac_ext <<_ACEOF
43001 /* confdefs.h. */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h. */
43006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43008 #define $ac_func innocuous_$ac_func
43009
43010 /* System header to define __stub macros and hopefully few prototypes,
43011 which can conflict with char $ac_func (); below.
43012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43013 <limits.h> exists even on freestanding compilers. */
43014
43015 #ifdef __STDC__
43016 # include <limits.h>
43017 #else
43018 # include <assert.h>
43019 #endif
43020
43021 #undef $ac_func
43022
43023 /* Override any gcc2 internal prototype to avoid an error. */
43024 #ifdef __cplusplus
43025 extern "C"
43026 {
43027 #endif
43028 /* We use char because int might match the return type of a gcc2
43029 builtin and then its argument prototype would still apply. */
43030 char $ac_func ();
43031 /* The GNU C library defines this for functions which it implements
43032 to always fail with ENOSYS. Some functions are actually named
43033 something starting with __ and the normal name is an alias. */
43034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43035 choke me
43036 #else
43037 char (*f) () = $ac_func;
43038 #endif
43039 #ifdef __cplusplus
43040 }
43041 #endif
43042
43043 int
43044 main ()
43045 {
43046 return f != $ac_func;
43047 ;
43048 return 0;
43049 }
43050 _ACEOF
43051 rm -f conftest.$ac_objext conftest$ac_exeext
43052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43053 (eval $ac_link) 2>conftest.er1
43054 ac_status=$?
43055 grep -v '^ *+' conftest.er1 >conftest.err
43056 rm -f conftest.er1
43057 cat conftest.err >&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } &&
43060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43062 (eval $ac_try) 2>&5
43063 ac_status=$?
43064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43065 (exit $ac_status); }; } &&
43066 { ac_try='test -s conftest$ac_exeext'
43067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43068 (eval $ac_try) 2>&5
43069 ac_status=$?
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); }; }; then
43072 eval "$as_ac_var=yes"
43073 else
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.$ac_ext >&5
43076
43077 eval "$as_ac_var=no"
43078 fi
43079 rm -f conftest.err conftest.$ac_objext \
43080 conftest$ac_exeext conftest.$ac_ext
43081 fi
43082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43084 if test `eval echo '${'$as_ac_var'}'` = yes; then
43085 cat >>confdefs.h <<_ACEOF
43086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43087 _ACEOF
43088 have_floor=1
43089 fi
43090 done
43091
43092 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43093 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43094 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43095 echo "$as_me:$LINENO: result: yes" >&5
43096 echo "${ECHO_T}yes" >&6
43097 else
43098 echo "$as_me:$LINENO: result: no" >&5
43099 echo "${ECHO_T}no" >&6
43100 LIBS="$LIBS -lm"
43101 # use different functions to avoid configure caching
43102 have_sin=0
43103 have_ceil=0
43104
43105 for ac_func in sin
43106 do
43107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43108 echo "$as_me:$LINENO: checking for $ac_func" >&5
43109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43110 if eval "test \"\${$as_ac_var+set}\" = set"; then
43111 echo $ECHO_N "(cached) $ECHO_C" >&6
43112 else
43113 cat >conftest.$ac_ext <<_ACEOF
43114 /* confdefs.h. */
43115 _ACEOF
43116 cat confdefs.h >>conftest.$ac_ext
43117 cat >>conftest.$ac_ext <<_ACEOF
43118 /* end confdefs.h. */
43119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43121 #define $ac_func innocuous_$ac_func
43122
43123 /* System header to define __stub macros and hopefully few prototypes,
43124 which can conflict with char $ac_func (); below.
43125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43126 <limits.h> exists even on freestanding compilers. */
43127
43128 #ifdef __STDC__
43129 # include <limits.h>
43130 #else
43131 # include <assert.h>
43132 #endif
43133
43134 #undef $ac_func
43135
43136 /* Override any gcc2 internal prototype to avoid an error. */
43137 #ifdef __cplusplus
43138 extern "C"
43139 {
43140 #endif
43141 /* We use char because int might match the return type of a gcc2
43142 builtin and then its argument prototype would still apply. */
43143 char $ac_func ();
43144 /* The GNU C library defines this for functions which it implements
43145 to always fail with ENOSYS. Some functions are actually named
43146 something starting with __ and the normal name is an alias. */
43147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43148 choke me
43149 #else
43150 char (*f) () = $ac_func;
43151 #endif
43152 #ifdef __cplusplus
43153 }
43154 #endif
43155
43156 int
43157 main ()
43158 {
43159 return f != $ac_func;
43160 ;
43161 return 0;
43162 }
43163 _ACEOF
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43166 (eval $ac_link) 2>conftest.er1
43167 ac_status=$?
43168 grep -v '^ *+' conftest.er1 >conftest.err
43169 rm -f conftest.er1
43170 cat conftest.err >&5
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); } &&
43173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43175 (eval $ac_try) 2>&5
43176 ac_status=$?
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); }; } &&
43179 { ac_try='test -s conftest$ac_exeext'
43180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43181 (eval $ac_try) 2>&5
43182 ac_status=$?
43183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184 (exit $ac_status); }; }; then
43185 eval "$as_ac_var=yes"
43186 else
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43189
43190 eval "$as_ac_var=no"
43191 fi
43192 rm -f conftest.err conftest.$ac_objext \
43193 conftest$ac_exeext conftest.$ac_ext
43194 fi
43195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43197 if test `eval echo '${'$as_ac_var'}'` = yes; then
43198 cat >>confdefs.h <<_ACEOF
43199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43200 _ACEOF
43201 have_sin=1
43202 fi
43203 done
43204
43205
43206 for ac_func in ceil
43207 do
43208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43209 echo "$as_me:$LINENO: checking for $ac_func" >&5
43210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43211 if eval "test \"\${$as_ac_var+set}\" = set"; then
43212 echo $ECHO_N "(cached) $ECHO_C" >&6
43213 else
43214 cat >conftest.$ac_ext <<_ACEOF
43215 /* confdefs.h. */
43216 _ACEOF
43217 cat confdefs.h >>conftest.$ac_ext
43218 cat >>conftest.$ac_ext <<_ACEOF
43219 /* end confdefs.h. */
43220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43222 #define $ac_func innocuous_$ac_func
43223
43224 /* System header to define __stub macros and hopefully few prototypes,
43225 which can conflict with char $ac_func (); below.
43226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43227 <limits.h> exists even on freestanding compilers. */
43228
43229 #ifdef __STDC__
43230 # include <limits.h>
43231 #else
43232 # include <assert.h>
43233 #endif
43234
43235 #undef $ac_func
43236
43237 /* Override any gcc2 internal prototype to avoid an error. */
43238 #ifdef __cplusplus
43239 extern "C"
43240 {
43241 #endif
43242 /* We use char because int might match the return type of a gcc2
43243 builtin and then its argument prototype would still apply. */
43244 char $ac_func ();
43245 /* The GNU C library defines this for functions which it implements
43246 to always fail with ENOSYS. Some functions are actually named
43247 something starting with __ and the normal name is an alias. */
43248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43249 choke me
43250 #else
43251 char (*f) () = $ac_func;
43252 #endif
43253 #ifdef __cplusplus
43254 }
43255 #endif
43256
43257 int
43258 main ()
43259 {
43260 return f != $ac_func;
43261 ;
43262 return 0;
43263 }
43264 _ACEOF
43265 rm -f conftest.$ac_objext conftest$ac_exeext
43266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43267 (eval $ac_link) 2>conftest.er1
43268 ac_status=$?
43269 grep -v '^ *+' conftest.er1 >conftest.err
43270 rm -f conftest.er1
43271 cat conftest.err >&5
43272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43273 (exit $ac_status); } &&
43274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43276 (eval $ac_try) 2>&5
43277 ac_status=$?
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); }; } &&
43280 { ac_try='test -s conftest$ac_exeext'
43281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43282 (eval $ac_try) 2>&5
43283 ac_status=$?
43284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43285 (exit $ac_status); }; }; then
43286 eval "$as_ac_var=yes"
43287 else
43288 echo "$as_me: failed program was:" >&5
43289 sed 's/^/| /' conftest.$ac_ext >&5
43290
43291 eval "$as_ac_var=no"
43292 fi
43293 rm -f conftest.err conftest.$ac_objext \
43294 conftest$ac_exeext conftest.$ac_ext
43295 fi
43296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43298 if test `eval echo '${'$as_ac_var'}'` = yes; then
43299 cat >>confdefs.h <<_ACEOF
43300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43301 _ACEOF
43302 have_ceil=1
43303 fi
43304 done
43305
43306 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43307 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43308 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43309 echo "$as_me:$LINENO: result: yes" >&5
43310 echo "${ECHO_T}yes" >&6
43311 else
43312 echo "$as_me:$LINENO: result: no" >&5
43313 echo "${ECHO_T}no" >&6
43314 # not sure we should warn the user, crash, etc.
43315 fi
43316 fi
43317
43318 if test "$wxUSE_GUI" = "yes"; then
43319
43320
43321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43322 dynamic erase event exec font image minimal mobile \
43323 mobile/wxedit mobile/styles propsize render \
43324 richedit rotate shaped vscroll widgets"
43325
43326 if test "$wxUSE_MONOLITHIC" != "yes"; then
43327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
43328 fi
43329 if test "$TOOLKIT" = "MSW"; then
43330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
43331 if test "$wxUSE_UNIVERSAL" != "yes"; then
43332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43333 fi
43334 fi
43335 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
43337 fi
43338 else
43339 SAMPLES_SUBDIRS="console"
43340 fi
43341
43342
43343 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43344 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43345
43346 if test "x$INTELCC" = "xyes" ; then
43347 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
43348 elif test "$GCC" = yes ; then
43349 CWARNINGS="-Wall -Wundef"
43350 fi
43351
43352 if test "x$INTELCXX" = "xyes" ; then
43353 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
43354 elif test "$GXX" = yes ; then
43355 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
43356 fi
43357
43358 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43359
43360 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43361 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43362 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43363
43364 if test "x$MWCC" = "xyes"; then
43365
43366 CC="$CC -cwd source -I-"
43367 CXX="$CXX -cwd source -I-"
43368 fi
43369
43370
43371 LIBS=`echo $LIBS`
43372 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43373 EXTRALIBS_XML="$EXPAT_LINK"
43374 EXTRALIBS_HTML="$MSPACK_LINK"
43375 EXTRALIBS_ODBC="$ODBC_LINK"
43376 if test "$wxUSE_GUI" = "yes"; then
43377 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43378 fi
43379 if test "$wxUSE_OPENGL" = "yes"; then
43380 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
43381 fi
43382
43383 LDFLAGS="$LDFLAGS $PROFILE"
43384
43385 if test "$wxUSE_GTK" = 1; then
43386 WXCONFIG_INCLUDE=
43387 else
43388 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
43389 fi
43390
43391 WXCONFIG_EXTRALIBS="$LIBS"
43392
43393 if test "$wxUSE_REGEX" = "builtin" ; then
43394 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43395 fi
43396 if test "$wxUSE_EXPAT" = "builtin" ; then
43397 wxconfig_3rdparty="expat $wxconfig_3rdparty"
43398 fi
43399 if test "$wxUSE_ODBC" = "builtin" ; then
43400 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
43401 fi
43402 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43403 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
43404 fi
43405 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43406 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
43407 fi
43408 if test "$wxUSE_LIBPNG" = "builtin" ; then
43409 wxconfig_3rdparty="png $wxconfig_3rdparty"
43410 fi
43411 if test "$wxUSE_ZLIB" = "builtin" ; then
43412 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
43413 fi
43414
43415 for i in $wxconfig_3rdparty ; do
43416 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43417 done
43418
43419
43420 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43421 WXUNIV=1
43422 else
43423 WXUNIV=0
43424 fi
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434 if test $wxUSE_MONOLITHIC = "yes" ; then
43435 MONOLITHIC=1
43436 else
43437 MONOLITHIC=0
43438 fi
43439
43440 if test $wxUSE_PLUGINS = "yes" ; then
43441 USE_PLUGINS=1
43442 else
43443 USE_PLUGINS=0
43444 fi
43445
43446 if test $wxUSE_ODBC != "no" ; then
43447 USE_ODBC=1
43448 else
43449 USE_ODBC=0
43450 fi
43451
43452 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43453 USE_QA=1
43454 else
43455 USE_QA=0
43456 fi
43457
43458 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43459 OFFICIAL_BUILD=1
43460 else
43461 OFFICIAL_BUILD=0
43462 fi
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43487
43488
43489
43490
43491
43492
43493
43494
43495 case "$TOOLKIT" in
43496 GTK)
43497 TOOLKIT_USER="GTK+"
43498 if test "$WXGTK20" = 1; then
43499 TOOLKIT_USER="$TOOLKIT_USER 2"
43500 fi
43501 ;;
43502
43503 *)
43504 TOOLKIT_USER=$TOOLKIT_LOWERCASE
43505 ;;
43506 esac
43507
43508 if test "$wxUSE_WINE" = "yes"; then
43509 BAKEFILE_FORCE_PLATFORM=win32
43510 fi
43511
43512
43513
43514
43515 if test "x$BAKEFILE_HOST" = "x"; then
43516 BAKEFILE_HOST="${host}"
43517 fi
43518
43519 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43520
43521 if test -n "$ac_tool_prefix"; then
43522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
43524 echo "$as_me:$LINENO: checking for $ac_word" >&5
43525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43526 if test "${ac_cv_prog_RANLIB+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 else
43529 if test -n "$RANLIB"; then
43530 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
43531 else
43532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43533 for as_dir in $PATH
43534 do
43535 IFS=$as_save_IFS
43536 test -z "$as_dir" && as_dir=.
43537 for ac_exec_ext in '' $ac_executable_extensions; do
43538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
43540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43541 break 2
43542 fi
43543 done
43544 done
43545
43546 fi
43547 fi
43548 RANLIB=$ac_cv_prog_RANLIB
43549 if test -n "$RANLIB"; then
43550 echo "$as_me:$LINENO: result: $RANLIB" >&5
43551 echo "${ECHO_T}$RANLIB" >&6
43552 else
43553 echo "$as_me:$LINENO: result: no" >&5
43554 echo "${ECHO_T}no" >&6
43555 fi
43556
43557 fi
43558 if test -z "$ac_cv_prog_RANLIB"; then
43559 ac_ct_RANLIB=$RANLIB
43560 # Extract the first word of "ranlib", so it can be a program name with args.
43561 set dummy ranlib; ac_word=$2
43562 echo "$as_me:$LINENO: checking for $ac_word" >&5
43563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43565 echo $ECHO_N "(cached) $ECHO_C" >&6
43566 else
43567 if test -n "$ac_ct_RANLIB"; then
43568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
43569 else
43570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43571 for as_dir in $PATH
43572 do
43573 IFS=$as_save_IFS
43574 test -z "$as_dir" && as_dir=.
43575 for ac_exec_ext in '' $ac_executable_extensions; do
43576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43577 ac_cv_prog_ac_ct_RANLIB="ranlib"
43578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43579 break 2
43580 fi
43581 done
43582 done
43583
43584 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
43585 fi
43586 fi
43587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
43588 if test -n "$ac_ct_RANLIB"; then
43589 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43590 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43591 else
43592 echo "$as_me:$LINENO: result: no" >&5
43593 echo "${ECHO_T}no" >&6
43594 fi
43595
43596 RANLIB=$ac_ct_RANLIB
43597 else
43598 RANLIB="$ac_cv_prog_RANLIB"
43599 fi
43600
43601 # Find a good install program. We prefer a C program (faster),
43602 # so one script is as good as another. But avoid the broken or
43603 # incompatible versions:
43604 # SysV /etc/install, /usr/sbin/install
43605 # SunOS /usr/etc/install
43606 # IRIX /sbin/install
43607 # AIX /bin/install
43608 # AmigaOS /C/install, which installs bootblocks on floppy discs
43609 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43610 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43611 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43612 # OS/2's system install, which has a completely different semantic
43613 # ./install, which can be erroneously created by make from ./install.sh.
43614 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43615 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43616 if test -z "$INSTALL"; then
43617 if test "${ac_cv_path_install+set}" = set; then
43618 echo $ECHO_N "(cached) $ECHO_C" >&6
43619 else
43620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43621 for as_dir in $PATH
43622 do
43623 IFS=$as_save_IFS
43624 test -z "$as_dir" && as_dir=.
43625 # Account for people who put trailing slashes in PATH elements.
43626 case $as_dir/ in
43627 ./ | .// | /cC/* | \
43628 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
43629 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
43630 /usr/ucb/* ) ;;
43631 *)
43632 # OSF1 and SCO ODT 3.0 have their own names for install.
43633 # Don't use installbsd from OSF since it installs stuff as root
43634 # by default.
43635 for ac_prog in ginstall scoinst install; do
43636 for ac_exec_ext in '' $ac_executable_extensions; do
43637 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43638 if test $ac_prog = install &&
43639 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43640 # AIX install. It has an incompatible calling convention.
43641 :
43642 elif test $ac_prog = install &&
43643 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43644 # program-specific install script used by HP pwplus--don't use.
43645 :
43646 else
43647 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
43648 break 3
43649 fi
43650 fi
43651 done
43652 done
43653 ;;
43654 esac
43655 done
43656
43657
43658 fi
43659 if test "${ac_cv_path_install+set}" = set; then
43660 INSTALL=$ac_cv_path_install
43661 else
43662 # As a last resort, use the slow shell script. We don't cache a
43663 # path for INSTALL within a source directory, because that will
43664 # break other packages using the cache if that directory is
43665 # removed, or if the path is relative.
43666 INSTALL=$ac_install_sh
43667 fi
43668 fi
43669 echo "$as_me:$LINENO: result: $INSTALL" >&5
43670 echo "${ECHO_T}$INSTALL" >&6
43671
43672 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43673 # It thinks the first close brace ends the variable substitution.
43674 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
43675
43676 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
43677
43678 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43679
43680 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43681 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43682 LN_S=$as_ln_s
43683 if test "$LN_S" = "ln -s"; then
43684 echo "$as_me:$LINENO: result: yes" >&5
43685 echo "${ECHO_T}yes" >&6
43686 else
43687 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43688 echo "${ECHO_T}no, using $LN_S" >&6
43689 fi
43690
43691
43692 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43693 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43694 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43695 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43696 echo $ECHO_N "(cached) $ECHO_C" >&6
43697 else
43698 cat >conftest.make <<\_ACEOF
43699 all:
43700 @echo 'ac_maketemp="$(MAKE)"'
43701 _ACEOF
43702 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43703 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43704 if test -n "$ac_maketemp"; then
43705 eval ac_cv_prog_make_${ac_make}_set=yes
43706 else
43707 eval ac_cv_prog_make_${ac_make}_set=no
43708 fi
43709 rm -f conftest.make
43710 fi
43711 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43712 echo "$as_me:$LINENO: result: yes" >&5
43713 echo "${ECHO_T}yes" >&6
43714 SET_MAKE=
43715 else
43716 echo "$as_me:$LINENO: result: no" >&5
43717 echo "${ECHO_T}no" >&6
43718 SET_MAKE="MAKE=${MAKE-make}"
43719 fi
43720
43721
43722
43723 if test -n "$ac_tool_prefix"; then
43724 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43725 set dummy ${ac_tool_prefix}ar; ac_word=$2
43726 echo "$as_me:$LINENO: checking for $ac_word" >&5
43727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43728 if test "${ac_cv_prog_AR+set}" = set; then
43729 echo $ECHO_N "(cached) $ECHO_C" >&6
43730 else
43731 if test -n "$AR"; then
43732 ac_cv_prog_AR="$AR" # Let the user override the test.
43733 else
43734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43735 for as_dir in $PATH
43736 do
43737 IFS=$as_save_IFS
43738 test -z "$as_dir" && as_dir=.
43739 for ac_exec_ext in '' $ac_executable_extensions; do
43740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43741 ac_cv_prog_AR="${ac_tool_prefix}ar"
43742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43743 break 2
43744 fi
43745 done
43746 done
43747
43748 fi
43749 fi
43750 AR=$ac_cv_prog_AR
43751 if test -n "$AR"; then
43752 echo "$as_me:$LINENO: result: $AR" >&5
43753 echo "${ECHO_T}$AR" >&6
43754 else
43755 echo "$as_me:$LINENO: result: no" >&5
43756 echo "${ECHO_T}no" >&6
43757 fi
43758
43759 fi
43760 if test -z "$ac_cv_prog_AR"; then
43761 ac_ct_AR=$AR
43762 # Extract the first word of "ar", so it can be a program name with args.
43763 set dummy ar; ac_word=$2
43764 echo "$as_me:$LINENO: checking for $ac_word" >&5
43765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43766 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43767 echo $ECHO_N "(cached) $ECHO_C" >&6
43768 else
43769 if test -n "$ac_ct_AR"; then
43770 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
43771 else
43772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43773 for as_dir in $PATH
43774 do
43775 IFS=$as_save_IFS
43776 test -z "$as_dir" && as_dir=.
43777 for ac_exec_ext in '' $ac_executable_extensions; do
43778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43779 ac_cv_prog_ac_ct_AR="ar"
43780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43781 break 2
43782 fi
43783 done
43784 done
43785
43786 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
43787 fi
43788 fi
43789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
43790 if test -n "$ac_ct_AR"; then
43791 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43792 echo "${ECHO_T}$ac_ct_AR" >&6
43793 else
43794 echo "$as_me:$LINENO: result: no" >&5
43795 echo "${ECHO_T}no" >&6
43796 fi
43797
43798 AR=$ac_ct_AR
43799 else
43800 AR="$ac_cv_prog_AR"
43801 fi
43802
43803 if test -n "$ac_tool_prefix"; then
43804 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43805 set dummy ${ac_tool_prefix}strip; ac_word=$2
43806 echo "$as_me:$LINENO: checking for $ac_word" >&5
43807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43808 if test "${ac_cv_prog_STRIP+set}" = set; then
43809 echo $ECHO_N "(cached) $ECHO_C" >&6
43810 else
43811 if test -n "$STRIP"; then
43812 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
43813 else
43814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43815 for as_dir in $PATH
43816 do
43817 IFS=$as_save_IFS
43818 test -z "$as_dir" && as_dir=.
43819 for ac_exec_ext in '' $ac_executable_extensions; do
43820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43821 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
43822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43823 break 2
43824 fi
43825 done
43826 done
43827
43828 fi
43829 fi
43830 STRIP=$ac_cv_prog_STRIP
43831 if test -n "$STRIP"; then
43832 echo "$as_me:$LINENO: result: $STRIP" >&5
43833 echo "${ECHO_T}$STRIP" >&6
43834 else
43835 echo "$as_me:$LINENO: result: no" >&5
43836 echo "${ECHO_T}no" >&6
43837 fi
43838
43839 fi
43840 if test -z "$ac_cv_prog_STRIP"; then
43841 ac_ct_STRIP=$STRIP
43842 # Extract the first word of "strip", so it can be a program name with args.
43843 set dummy strip; ac_word=$2
43844 echo "$as_me:$LINENO: checking for $ac_word" >&5
43845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43846 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43848 else
43849 if test -n "$ac_ct_STRIP"; then
43850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
43851 else
43852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43853 for as_dir in $PATH
43854 do
43855 IFS=$as_save_IFS
43856 test -z "$as_dir" && as_dir=.
43857 for ac_exec_ext in '' $ac_executable_extensions; do
43858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43859 ac_cv_prog_ac_ct_STRIP="strip"
43860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43861 break 2
43862 fi
43863 done
43864 done
43865
43866 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
43867 fi
43868 fi
43869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
43870 if test -n "$ac_ct_STRIP"; then
43871 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43872 echo "${ECHO_T}$ac_ct_STRIP" >&6
43873 else
43874 echo "$as_me:$LINENO: result: no" >&5
43875 echo "${ECHO_T}no" >&6
43876 fi
43877
43878 STRIP=$ac_ct_STRIP
43879 else
43880 STRIP="$ac_cv_prog_STRIP"
43881 fi
43882
43883 if test -n "$ac_tool_prefix"; then
43884 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43885 set dummy ${ac_tool_prefix}nm; ac_word=$2
43886 echo "$as_me:$LINENO: checking for $ac_word" >&5
43887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43888 if test "${ac_cv_prog_NM+set}" = set; then
43889 echo $ECHO_N "(cached) $ECHO_C" >&6
43890 else
43891 if test -n "$NM"; then
43892 ac_cv_prog_NM="$NM" # Let the user override the test.
43893 else
43894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43895 for as_dir in $PATH
43896 do
43897 IFS=$as_save_IFS
43898 test -z "$as_dir" && as_dir=.
43899 for ac_exec_ext in '' $ac_executable_extensions; do
43900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43901 ac_cv_prog_NM="${ac_tool_prefix}nm"
43902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43903 break 2
43904 fi
43905 done
43906 done
43907
43908 fi
43909 fi
43910 NM=$ac_cv_prog_NM
43911 if test -n "$NM"; then
43912 echo "$as_me:$LINENO: result: $NM" >&5
43913 echo "${ECHO_T}$NM" >&6
43914 else
43915 echo "$as_me:$LINENO: result: no" >&5
43916 echo "${ECHO_T}no" >&6
43917 fi
43918
43919 fi
43920 if test -z "$ac_cv_prog_NM"; then
43921 ac_ct_NM=$NM
43922 # Extract the first word of "nm", so it can be a program name with args.
43923 set dummy nm; ac_word=$2
43924 echo "$as_me:$LINENO: checking for $ac_word" >&5
43925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43926 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43927 echo $ECHO_N "(cached) $ECHO_C" >&6
43928 else
43929 if test -n "$ac_ct_NM"; then
43930 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
43931 else
43932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43933 for as_dir in $PATH
43934 do
43935 IFS=$as_save_IFS
43936 test -z "$as_dir" && as_dir=.
43937 for ac_exec_ext in '' $ac_executable_extensions; do
43938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43939 ac_cv_prog_ac_ct_NM="nm"
43940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43941 break 2
43942 fi
43943 done
43944 done
43945
43946 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
43947 fi
43948 fi
43949 ac_ct_NM=$ac_cv_prog_ac_ct_NM
43950 if test -n "$ac_ct_NM"; then
43951 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43952 echo "${ECHO_T}$ac_ct_NM" >&6
43953 else
43954 echo "$as_me:$LINENO: result: no" >&5
43955 echo "${ECHO_T}no" >&6
43956 fi
43957
43958 NM=$ac_ct_NM
43959 else
43960 NM="$ac_cv_prog_NM"
43961 fi
43962
43963
43964 case ${BAKEFILE_HOST} in
43965 *-hp-hpux* )
43966 INSTALL_DIR="mkdir -p"
43967 ;;
43968 *) INSTALL_DIR="$INSTALL -d"
43969 ;;
43970 esac
43971
43972
43973 LDFLAGS_GUI=
43974 case ${BAKEFILE_HOST} in
43975 *-*-cygwin* | *-*-mingw32* )
43976 LDFLAGS_GUI="-mwindows"
43977 esac
43978
43979
43980 fi
43981
43982 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43983 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43984 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43985 echo $ECHO_N "(cached) $ECHO_C" >&6
43986 else
43987
43988 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
43989 egrep -s GNU > /dev/null); then
43990 bakefile_cv_prog_makeisgnu="yes"
43991 else
43992 bakefile_cv_prog_makeisgnu="no"
43993 fi
43994
43995 fi
43996 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43997 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43998
43999 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44000 IF_GNU_MAKE=""
44001 else
44002 IF_GNU_MAKE="#"
44003 fi
44004
44005
44006
44007 PLATFORM_UNIX=0
44008 PLATFORM_WIN32=0
44009 PLATFORM_MSDOS=0
44010 PLATFORM_MAC=0
44011 PLATFORM_MACOS=0
44012 PLATFORM_MACOSX=0
44013 PLATFORM_OS2=0
44014 PLATFORM_BEOS=0
44015
44016 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44017 case "${BAKEFILE_HOST}" in
44018 *-*-mingw32* )
44019 PLATFORM_WIN32=1
44020 ;;
44021 *-pc-msdosdjgpp )
44022 PLATFORM_MSDOS=1
44023 ;;
44024 *-pc-os2_emx | *-pc-os2-emx )
44025 PLATFORM_OS2=1
44026 ;;
44027 *-*-darwin* )
44028 PLATFORM_MAC=1
44029 PLATFORM_MACOSX=1
44030 ;;
44031 *-*-beos* )
44032 PLATFORM_BEOS=1
44033 ;;
44034 powerpc-apple-macos* )
44035 PLATFORM_MAC=1
44036 PLATFORM_MACOS=1
44037 ;;
44038 * )
44039 PLATFORM_UNIX=1
44040 ;;
44041 esac
44042 else
44043 case "$BAKEFILE_FORCE_PLATFORM" in
44044 win32 )
44045 PLATFORM_WIN32=1
44046 ;;
44047 msdos )
44048 PLATFORM_MSDOS=1
44049 ;;
44050 os2 )
44051 PLATFORM_OS2=1
44052 ;;
44053 darwin )
44054 PLATFORM_MAC=1
44055 PLATFORM_MACOSX=1
44056 ;;
44057 unix )
44058 PLATFORM_UNIX=1
44059 ;;
44060 beos )
44061 PLATFORM_BEOS=1
44062 ;;
44063 * )
44064 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44065 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44066 { (exit 1); exit 1; }; }
44067 ;;
44068 esac
44069 fi
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081 # Check whether --enable-omf or --disable-omf was given.
44082 if test "${enable_omf+set}" = set; then
44083 enableval="$enable_omf"
44084 bk_os2_use_omf="$enableval"
44085 fi;
44086
44087 case "${BAKEFILE_HOST}" in
44088 *-*-darwin* )
44089 if test "x$GCC" = "xyes"; then
44090 CFLAGS="$CFLAGS -fno-common"
44091 CXXFLAGS="$CXXFLAGS -fno-common"
44092 fi
44093 if test "x$XLCC" = "xyes"; then
44094 CFLAGS="$CFLAGS -qnocommon"
44095 CXXFLAGS="$CXXFLAGS -qnocommon"
44096 fi
44097 ;;
44098
44099 *-pc-os2_emx | *-pc-os2-emx )
44100 if test "x$bk_os2_use_omf" = "xyes" ; then
44101 AR=emxomfar
44102 RANLIB=:
44103 LDFLAGS="-Zomf $LDFLAGS"
44104 CFLAGS="-Zomf $CFLAGS"
44105 CXXFLAGS="-Zomf $CXXFLAGS"
44106 OS2_LIBEXT="lib"
44107 else
44108 OS2_LIBEXT="a"
44109 fi
44110 ;;
44111
44112 i*86-*-beos* )
44113 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
44114 ;;
44115 esac
44116
44117
44118 SO_SUFFIX="so"
44119 SO_SUFFIX_MODULE="so"
44120 EXEEXT=""
44121 LIBPREFIX="lib"
44122 LIBEXT=".a"
44123 DLLPREFIX="lib"
44124 DLLPREFIX_MODULE=""
44125 DLLIMP_SUFFIX=""
44126 dlldir="$libdir"
44127
44128 case "${BAKEFILE_HOST}" in
44129 *-hp-hpux* )
44130 SO_SUFFIX="sl"
44131 SO_SUFFIX_MODULE="sl"
44132 ;;
44133 *-*-aix* )
44134 SO_SUFFIX="a"
44135 SO_SUFFIX_MODULE="a"
44136 ;;
44137 *-*-cygwin* )
44138 SO_SUFFIX="dll"
44139 SO_SUFFIX_MODULE="dll"
44140 DLLIMP_SUFFIX="dll.a"
44141 EXEEXT=".exe"
44142 DLLPREFIX="cyg"
44143 dlldir="$bindir"
44144 ;;
44145 *-*-mingw32* )
44146 SO_SUFFIX="dll"
44147 SO_SUFFIX_MODULE="dll"
44148 DLLIMP_SUFFIX="dll.a"
44149 EXEEXT=".exe"
44150 DLLPREFIX=""
44151 dlldir="$bindir"
44152 ;;
44153 *-pc-msdosdjgpp )
44154 EXEEXT=".exe"
44155 DLLPREFIX=""
44156 dlldir="$bindir"
44157 ;;
44158 *-pc-os2_emx | *-pc-os2-emx )
44159 SO_SUFFIX="dll"
44160 SO_SUFFIX_MODULE="dll"
44161 DLLIMP_SUFFIX=$OS2_LIBEXT
44162 EXEEXT=".exe"
44163 DLLPREFIX=""
44164 LIBPREFIX=""
44165 LIBEXT=".$OS2_LIBEXT"
44166 dlldir="$bindir"
44167 ;;
44168 *-*-darwin* )
44169 SO_SUFFIX="dylib"
44170 SO_SUFFIX_MODULE="bundle"
44171 ;;
44172 esac
44173
44174 if test "x$DLLIMP_SUFFIX" = "x" ; then
44175 DLLIMP_SUFFIX="$SO_SUFFIX"
44176 fi
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189 PIC_FLAG=""
44190 if test "x$GCC" = "xyes"; then
44191 PIC_FLAG="-fPIC"
44192 fi
44193
44194 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
44195 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
44196 WINDOWS_IMPLIB=0
44197
44198 case "${BAKEFILE_HOST}" in
44199 *-hp-hpux* )
44200 if test "x$GCC" != "xyes"; then
44201 LDFLAGS="$LDFLAGS -L/usr/lib"
44202
44203 SHARED_LD_CC="${CC} -b -o"
44204 SHARED_LD_CXX="${CXX} -b -o"
44205 PIC_FLAG="+Z"
44206 fi
44207 ;;
44208
44209 *-*-linux* )
44210 if test "x$GCC" != "xyes"; then
44211 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44212 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44213 if test "${bakefile_cv_prog_icc+set}" = set; then
44214 echo $ECHO_N "(cached) $ECHO_C" >&6
44215 else
44216
44217 cat >conftest.$ac_ext <<_ACEOF
44218 /* confdefs.h. */
44219 _ACEOF
44220 cat confdefs.h >>conftest.$ac_ext
44221 cat >>conftest.$ac_ext <<_ACEOF
44222 /* end confdefs.h. */
44223
44224 int
44225 main ()
44226 {
44227
44228 #ifndef __INTEL_COMPILER
44229 #error Not icc
44230 #endif
44231
44232 ;
44233 return 0;
44234 }
44235 _ACEOF
44236 rm -f conftest.$ac_objext
44237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44238 (eval $ac_compile) 2>conftest.er1
44239 ac_status=$?
44240 grep -v '^ *+' conftest.er1 >conftest.err
44241 rm -f conftest.er1
44242 cat conftest.err >&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); } &&
44245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247 (eval $ac_try) 2>&5
44248 ac_status=$?
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); }; } &&
44251 { ac_try='test -s conftest.$ac_objext'
44252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44253 (eval $ac_try) 2>&5
44254 ac_status=$?
44255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256 (exit $ac_status); }; }; then
44257 bakefile_cv_prog_icc=yes
44258 else
44259 echo "$as_me: failed program was:" >&5
44260 sed 's/^/| /' conftest.$ac_ext >&5
44261
44262 bakefile_cv_prog_icc=no
44263
44264 fi
44265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44266
44267 fi
44268 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44269 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44270 if test "$bakefile_cv_prog_icc" = "yes"; then
44271 PIC_FLAG="-KPIC"
44272 fi
44273 fi
44274 ;;
44275
44276 *-*-solaris2* )
44277 if test "x$GCC" != xyes ; then
44278 SHARED_LD_CC="${CC} -G -o"
44279 SHARED_LD_CXX="${CXX} -G -o"
44280 PIC_FLAG="-KPIC"
44281 fi
44282 ;;
44283
44284 *-*-darwin* )
44285
44286 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44287 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
44288
44289 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44290 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44291 if test "${bakefile_cv_gcc31+set}" = set; then
44292 echo $ECHO_N "(cached) $ECHO_C" >&6
44293 else
44294
44295 cat >conftest.$ac_ext <<_ACEOF
44296 /* confdefs.h. */
44297 _ACEOF
44298 cat confdefs.h >>conftest.$ac_ext
44299 cat >>conftest.$ac_ext <<_ACEOF
44300 /* end confdefs.h. */
44301
44302 int
44303 main ()
44304 {
44305
44306 #if (__GNUC__ < 3) || \
44307 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44308 #error old gcc
44309 #endif
44310
44311 ;
44312 return 0;
44313 }
44314 _ACEOF
44315 rm -f conftest.$ac_objext
44316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44317 (eval $ac_compile) 2>conftest.er1
44318 ac_status=$?
44319 grep -v '^ *+' conftest.er1 >conftest.err
44320 rm -f conftest.er1
44321 cat conftest.err >&5
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); } &&
44324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326 (eval $ac_try) 2>&5
44327 ac_status=$?
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); }; } &&
44330 { ac_try='test -s conftest.$ac_objext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44336
44337 bakefile_cv_gcc31=yes
44338
44339 else
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343
44344 bakefile_cv_gcc31=no
44345
44346
44347 fi
44348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44349
44350 fi
44351 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44352 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44353 if test "$bakefile_cv_gcc31" = "no"; then
44354
44355 D='$'
44356 cat <<EOF >shared-ld-sh
44357 #!/bin/sh
44358 #-----------------------------------------------------------------------------
44359 #-- Name: distrib/mac/shared-ld-sh
44360 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44361 #-- Author: Gilles Depeyrot
44362 #-- Copyright: (c) 2002 Gilles Depeyrot
44363 #-- Licence: any use permitted
44364 #-----------------------------------------------------------------------------
44365
44366 verbose=0
44367 args=""
44368 objects=""
44369 linking_flag="-dynamiclib"
44370 ldargs="-r -keep_private_externs -nostdlib"
44371
44372 while test ${D}# -gt 0; do
44373 case ${D}1 in
44374
44375 -v)
44376 verbose=1
44377 ;;
44378
44379 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44380 # collect these options and values
44381 args="${D}{args} ${D}1 ${D}2"
44382 shift
44383 ;;
44384
44385 -s|-Wl,*)
44386 # collect these load args
44387 ldargs="${D}{ldargs} ${D}1"
44388 ;;
44389
44390 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44391 # collect these options
44392 args="${D}{args} ${D}1"
44393 ;;
44394
44395 -dynamiclib|-bundle)
44396 linking_flag="${D}1"
44397 ;;
44398
44399 -*)
44400 echo "shared-ld: unhandled option '${D}1'"
44401 exit 1
44402 ;;
44403
44404 *.o | *.a | *.dylib)
44405 # collect object files
44406 objects="${D}{objects} ${D}1"
44407 ;;
44408
44409 *)
44410 echo "shared-ld: unhandled argument '${D}1'"
44411 exit 1
44412 ;;
44413
44414 esac
44415 shift
44416 done
44417
44418 status=0
44419
44420 #
44421 # Link one module containing all the others
44422 #
44423 if test ${D}{verbose} = 1; then
44424 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44425 fi
44426 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44427 status=${D}?
44428
44429 #
44430 # Link the shared library from the single module created, but only if the
44431 # previous command didn't fail:
44432 #
44433 if test ${D}{status} = 0; then
44434 if test ${D}{verbose} = 1; then
44435 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44436 fi
44437 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44438 status=${D}?
44439 fi
44440
44441 #
44442 # Remove intermediate module
44443 #
44444 rm -f master.${D}${D}.o
44445
44446 exit ${D}status
44447 EOF
44448
44449 chmod +x shared-ld-sh
44450
44451 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44452 SHARED_LD_CXX="$SHARED_LD_CC"
44453 else
44454 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44455 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44456 fi
44457
44458 if test "x$GCC" == "xyes"; then
44459 PIC_FLAG="-dynamic -fPIC"
44460 fi
44461 if test "x$XLCC" = "xyes"; then
44462 PIC_FLAG="-dynamic -DPIC"
44463 fi
44464 ;;
44465
44466 *-*-aix* )
44467 if test "x$GCC" = "xyes"; then
44468 PIC_FLAG=""
44469
44470 case "${BAKEFILE_HOST}" in
44471 *-*-aix5* )
44472 LD_EXPFULL="-Wl,-bexpfull"
44473 ;;
44474 esac
44475
44476 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
44477 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
44478 else
44479 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44480 set dummy makeC++SharedLib; ac_word=$2
44481 echo "$as_me:$LINENO: checking for $ac_word" >&5
44482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44483 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44484 echo $ECHO_N "(cached) $ECHO_C" >&6
44485 else
44486 if test -n "$AIX_CXX_LD"; then
44487 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
44488 else
44489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44490 for as_dir in $PATH
44491 do
44492 IFS=$as_save_IFS
44493 test -z "$as_dir" && as_dir=.
44494 for ac_exec_ext in '' $ac_executable_extensions; do
44495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44496 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
44497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44498 break 2
44499 fi
44500 done
44501 done
44502
44503 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
44504 fi
44505 fi
44506 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
44507 if test -n "$AIX_CXX_LD"; then
44508 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44509 echo "${ECHO_T}$AIX_CXX_LD" >&6
44510 else
44511 echo "$as_me:$LINENO: result: no" >&5
44512 echo "${ECHO_T}no" >&6
44513 fi
44514
44515 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
44516 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
44517 fi
44518 ;;
44519
44520 *-*-beos* )
44521 SHARED_LD_CC="${LD} -nostart -o"
44522 SHARED_LD_CXX="${LD} -nostart -o"
44523 ;;
44524
44525 *-*-irix* )
44526 if test "x$GCC" != "xyes"; then
44527 PIC_FLAG="-KPIC"
44528 fi
44529 ;;
44530
44531 *-*-cygwin* | *-*-mingw32* )
44532 PIC_FLAG=""
44533 SHARED_LD_CC="\$(CC) -shared -o"
44534 SHARED_LD_CXX="\$(CXX) -shared -o"
44535 WINDOWS_IMPLIB=1
44536 ;;
44537
44538 *-pc-os2_emx | *-pc-os2-emx )
44539 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44540 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44541 PIC_FLAG=""
44542
44543 D='$'
44544 cat <<EOF >dllar.sh
44545 #!/bin/sh
44546 #
44547 # dllar - a tool to build both a .dll and an .a file
44548 # from a set of object (.o) files for EMX/OS2.
44549 #
44550 # Written by Andrew Zabolotny, bit@freya.etu.ru
44551 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44552 #
44553 # This script will accept a set of files on the command line.
44554 # All the public symbols from the .o files will be exported into
44555 # a .DEF file, then linker will be run (through gcc) against them to
44556 # build a shared library consisting of all given .o files. All libraries
44557 # (.a) will be first decompressed into component .o files then act as
44558 # described above. You can optionally give a description (-d "description")
44559 # which will be put into .DLL. To see the list of accepted options (as well
44560 # as command-line format) simply run this program without options. The .DLL
44561 # is built to be imported by name (there is no guarantee that new versions
44562 # of the library you build will have same ordinals for same symbols).
44563 #
44564 # dllar is free software; you can redistribute it and/or modify
44565 # it under the terms of the GNU General Public License as published by
44566 # the Free Software Foundation; either version 2, or (at your option)
44567 # any later version.
44568 #
44569 # dllar is distributed in the hope that it will be useful,
44570 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44571 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44572 # GNU General Public License for more details.
44573 #
44574 # You should have received a copy of the GNU General Public License
44575 # along with dllar; see the file COPYING. If not, write to the Free
44576 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44577 # 02111-1307, USA.
44578
44579 # To successfuly run this program you will need:
44580 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44581 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44582 # - gcc
44583 # (used to build the .dll)
44584 # - emxexp
44585 # (used to create .def file from .o files)
44586 # - emximp
44587 # (used to create .a file from .def file)
44588 # - GNU text utilites (cat, sort, uniq)
44589 # used to process emxexp output
44590 # - GNU file utilities (mv, rm)
44591 # - GNU sed
44592 # - lxlite (optional, see flag below)
44593 # (used for general .dll cleanup)
44594 #
44595
44596 flag_USE_LXLITE=1;
44597
44598 #
44599 # helper functions
44600 # basnam, variant of basename, which does _not_ remove the path, _iff_
44601 # second argument (suffix to remove) is given
44602 basnam(){
44603 case ${D}# in
44604 1)
44605 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44606 ;;
44607 2)
44608 echo ${D}1 | sed 's/'${D}2'${D}//'
44609 ;;
44610 *)
44611 echo "error in basnam ${D}*"
44612 exit 8
44613 ;;
44614 esac
44615 }
44616
44617 # Cleanup temporary files and output
44618 CleanUp() {
44619 cd ${D}curDir
44620 for i in ${D}inputFiles ; do
44621 case ${D}i in
44622 *!)
44623 rm -rf \`basnam ${D}i !\`
44624 ;;
44625 *)
44626 ;;
44627 esac
44628 done
44629
44630 # Kill result in case of failure as there is just to many stupid make/nmake
44631 # things out there which doesn't do this.
44632 if [ ${D}# -eq 0 ]; then
44633 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44634 fi
44635 }
44636
44637 # Print usage and exit script with rc=1.
44638 PrintHelp() {
44639 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44640 echo ' [-name-mangler-script script.sh]'
44641 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44642 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44643 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44644 echo ' [*.o] [*.a]'
44645 echo '*> "output_file" should have no extension.'
44646 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44647 echo ' The import library name is derived from this and is set to "name".a,'
44648 echo ' unless overridden by -import'
44649 echo '*> "importlib_name" should have no extension.'
44650 echo ' If it has the .o, or .a extension, it is automatically removed.'
44651 echo ' This name is used as the import library name and may be longer and'
44652 echo ' more descriptive than the DLL name which has to follow the old '
44653 echo ' 8.3 convention of FAT.'
44654 echo '*> "script.sh may be given to override the output_file name by a'
44655 echo ' different name. It is mainly useful if the regular make process'
44656 echo ' of some package does not take into account OS/2 restriction of'
44657 echo ' DLL name lengths. It takes the importlib name as input and is'
44658 echo ' supposed to procude a shorter name as output. The script should'
44659 echo ' expect to get importlib_name without extension and should produce'
44660 echo ' a (max.) 8 letter name without extension.'
44661 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44662 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44663 echo ' These flags will be put at the start of GCC command line.'
44664 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44665 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44666 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44667 echo ' If the last character of a symbol is "*", all symbols beginning'
44668 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44669 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44670 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44671 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44672 echo ' C runtime DLLs.'
44673 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44674 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44675 echo ' unchanged to GCC at the end of command line.'
44676 echo '*> If you create a DLL from a library and you do not specify -o,'
44677 echo ' the basename for DLL and import library will be set to library name,'
44678 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44679 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44680 echo ' library will be renamed into gcc_s.a.'
44681 echo '--------'
44682 echo 'Example:'
44683 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44684 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44685 CleanUp
44686 exit 1
44687 }
44688
44689 # Execute a command.
44690 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44691 # @Uses Whatever CleanUp() uses.
44692 doCommand() {
44693 echo "${D}*"
44694 eval ${D}*
44695 rcCmd=${D}?
44696
44697 if [ ${D}rcCmd -ne 0 ]; then
44698 echo "command failed, exit code="${D}rcCmd
44699 CleanUp
44700 exit ${D}rcCmd
44701 fi
44702 }
44703
44704 # main routine
44705 # setup globals
44706 cmdLine=${D}*
44707 outFile=""
44708 outimpFile=""
44709 inputFiles=""
44710 renameScript=""
44711 description=""
44712 CC=gcc.exe
44713 CFLAGS="-s -Zcrtdll"
44714 EXTRA_CFLAGS=""
44715 EXPORT_BY_ORDINALS=0
44716 exclude_symbols=""
44717 library_flags=""
44718 curDir=\`pwd\`
44719 curDirS=curDir
44720 case ${D}curDirS in
44721 */)
44722 ;;
44723 *)
44724 curDirS=${D}{curDirS}"/"
44725 ;;
44726 esac
44727 # Parse commandline
44728 libsToLink=0
44729 omfLinking=0
44730 while [ ${D}1 ]; do
44731 case ${D}1 in
44732 -ord*)
44733 EXPORT_BY_ORDINALS=1;
44734 ;;
44735 -o*)
44736 shift
44737 outFile=${D}1
44738 ;;
44739 -i*)
44740 shift
44741 outimpFile=${D}1
44742 ;;
44743 -name-mangler-script)
44744 shift
44745 renameScript=${D}1
44746 ;;
44747 -d*)
44748 shift
44749 description=${D}1
44750 ;;
44751 -f*)
44752 shift
44753 CFLAGS=${D}1
44754 ;;
44755 -c*)
44756 shift
44757 CC=${D}1
44758 ;;
44759 -h*)
44760 PrintHelp
44761 ;;
44762 -ex*)
44763 shift
44764 exclude_symbols=${D}{exclude_symbols}${D}1" "
44765 ;;
44766 -libf*)
44767 shift
44768 library_flags=${D}{library_flags}${D}1" "
44769 ;;
44770 -nocrt*)
44771 CFLAGS="-s"
44772 ;;
44773 -nolxl*)
44774 flag_USE_LXLITE=0
44775 ;;
44776 -* | /*)
44777 case ${D}1 in
44778 -L* | -l*)
44779 libsToLink=1
44780 ;;
44781 -Zomf)
44782 omfLinking=1
44783 ;;
44784 *)
44785 ;;
44786 esac
44787 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44788 ;;
44789 *.dll)
44790 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44791 if [ ${D}omfLinking -eq 1 ]; then
44792 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44793 else
44794 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44795 fi
44796 ;;
44797 *)
44798 found=0;
44799 if [ ${D}libsToLink -ne 0 ]; then
44800 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44801 else
44802 for file in ${D}1 ; do
44803 if [ -f ${D}file ]; then
44804 inputFiles="${D}{inputFiles} ${D}file"
44805 found=1
44806 fi
44807 done
44808 if [ ${D}found -eq 0 ]; then
44809 echo "ERROR: No file(s) found: "${D}1
44810 exit 8
44811 fi
44812 fi
44813 ;;
44814 esac
44815 shift
44816 done # iterate cmdline words
44817
44818 #
44819 if [ -z "${D}inputFiles" ]; then
44820 echo "dllar: no input files"
44821 PrintHelp
44822 fi
44823
44824 # Now extract all .o files from .a files
44825 newInputFiles=""
44826 for file in ${D}inputFiles ; do
44827 case ${D}file in
44828 *.a | *.lib)
44829 case ${D}file in
44830 *.a)
44831 suffix=".a"
44832 AR="ar"
44833 ;;
44834 *.lib)
44835 suffix=".lib"
44836 AR="emxomfar"
44837 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44838 ;;
44839 *)
44840 ;;
44841 esac
44842 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44843 mkdir ${D}dirname
44844 if [ ${D}? -ne 0 ]; then
44845 echo "Failed to create subdirectory ./${D}dirname"
44846 CleanUp
44847 exit 8;
44848 fi
44849 # Append '!' to indicate archive
44850 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44851 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44852 cd ${D}curDir
44853 found=0;
44854 for subfile in ${D}dirname/*.o* ; do
44855 if [ -f ${D}subfile ]; then
44856 found=1
44857 if [ -s ${D}subfile ]; then
44858 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44859 newInputFiles="${D}newInputFiles ${D}subfile"
44860 fi
44861 fi
44862 done
44863 if [ ${D}found -eq 0 ]; then
44864 echo "WARNING: there are no files in archive \\'${D}file\\'"
44865 fi
44866 ;;
44867 *)
44868 newInputFiles="${D}{newInputFiles} ${D}file"
44869 ;;
44870 esac
44871 done
44872 inputFiles="${D}newInputFiles"
44873
44874 # Output filename(s).
44875 do_backup=0;
44876 if [ -z ${D}outFile ]; then
44877 do_backup=1;
44878 set outFile ${D}inputFiles; outFile=${D}2
44879 fi
44880
44881 # If it is an archive, remove the '!' and the '_%' suffixes
44882 case ${D}outFile in
44883 *_%!)
44884 outFile=\`basnam ${D}outFile _%!\`
44885 ;;
44886 *)
44887 ;;
44888 esac
44889 case ${D}outFile in
44890 *.dll)
44891 outFile=\`basnam ${D}outFile .dll\`
44892 ;;
44893 *.DLL)
44894 outFile=\`basnam ${D}outFile .DLL\`
44895 ;;
44896 *.o)
44897 outFile=\`basnam ${D}outFile .o\`
44898 ;;
44899 *.obj)
44900 outFile=\`basnam ${D}outFile .obj\`
44901 ;;
44902 *.a)
44903 outFile=\`basnam ${D}outFile .a\`
44904 ;;
44905 *.lib)
44906 outFile=\`basnam ${D}outFile .lib\`
44907 ;;
44908 *)
44909 ;;
44910 esac
44911 case ${D}outimpFile in
44912 *.a)
44913 outimpFile=\`basnam ${D}outimpFile .a\`
44914 ;;
44915 *.lib)
44916 outimpFile=\`basnam ${D}outimpFile .lib\`
44917 ;;
44918 *)
44919 ;;
44920 esac
44921 if [ -z ${D}outimpFile ]; then
44922 outimpFile=${D}outFile
44923 fi
44924 defFile="${D}{outFile}.def"
44925 arcFile="${D}{outimpFile}.a"
44926 arcFile2="${D}{outimpFile}.lib"
44927
44928 #create ${D}dllFile as something matching 8.3 restrictions,
44929 if [ -z ${D}renameScript ] ; then
44930 dllFile="${D}outFile"
44931 else
44932 dllFile=\`${D}renameScript ${D}outimpFile\`
44933 fi
44934
44935 if [ ${D}do_backup -ne 0 ] ; then
44936 if [ -f ${D}arcFile ] ; then
44937 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44938 fi
44939 if [ -f ${D}arcFile2 ] ; then
44940 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44941 fi
44942 fi
44943
44944 # Extract public symbols from all the object files.
44945 tmpdefFile=${D}{defFile}_%
44946 rm -f ${D}tmpdefFile
44947 for file in ${D}inputFiles ; do
44948 case ${D}file in
44949 *!)
44950 ;;
44951 *)
44952 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44953 ;;
44954 esac
44955 done
44956
44957 # Create the def file.
44958 rm -f ${D}defFile
44959 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44960 dllFile="${D}{dllFile}.dll"
44961 if [ ! -z ${D}description ]; then
44962 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44963 fi
44964 echo "EXPORTS" >> ${D}defFile
44965
44966 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44967 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44968
44969 # Checks if the export is ok or not.
44970 for word in ${D}exclude_symbols; do
44971 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44972 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44973 done
44974
44975
44976 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44977 sed "=" < ${D}tmpdefFile | \\
44978 sed '
44979 N
44980 : loop
44981 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44982 t loop
44983 ' > ${D}{tmpdefFile}%
44984 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44985 else
44986 rm -f ${D}{tmpdefFile}%
44987 fi
44988 cat ${D}tmpdefFile >> ${D}defFile
44989 rm -f ${D}tmpdefFile
44990
44991 # Do linking, create implib, and apply lxlite.
44992 gccCmdl="";
44993 for file in ${D}inputFiles ; do
44994 case ${D}file in
44995 *!)
44996 ;;
44997 *)
44998 gccCmdl="${D}gccCmdl ${D}file"
44999 ;;
45000 esac
45001 done
45002 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45003 touch "${D}{outFile}.dll"
45004
45005 doCommand "emximp -o ${D}arcFile ${D}defFile"
45006 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45007 add_flags="";
45008 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45009 add_flags="-ynd"
45010 fi
45011 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45012 fi
45013 doCommand "emxomf -s -l ${D}arcFile"
45014
45015 # Successful exit.
45016 CleanUp 1
45017 exit 0
45018 EOF
45019
45020 chmod +x dllar.sh
45021 ;;
45022
45023 powerpc-apple-macos* | \
45024 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
45025 *-*-sunos4* | \
45026 *-*-osf* | \
45027 *-*-dgux5* | \
45028 *-*-sysv5* | \
45029 *-pc-msdosdjgpp )
45030 ;;
45031
45032 *)
45033 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45034 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45035 { (exit 1); exit 1; }; }
45036 esac
45037
45038 if test "x$PIC_FLAG" != "x" ; then
45039 PIC_FLAG="$PIC_FLAG -DPIC"
45040 fi
45041
45042 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45043 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
45044 fi
45045 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45046 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
45047 fi
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057 USE_SOVERSION=0
45058 USE_SOVERLINUX=0
45059 USE_SOVERSOLARIS=0
45060 USE_SOVERCYGWIN=0
45061 USE_SOSYMLINKS=0
45062 USE_MACVERSION=0
45063 SONAME_FLAG=
45064
45065 case "${BAKEFILE_HOST}" in
45066 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
45067 SONAME_FLAG="-Wl,-soname,"
45068 USE_SOVERSION=1
45069 USE_SOVERLINUX=1
45070 USE_SOSYMLINKS=1
45071 ;;
45072
45073 *-*-solaris2* )
45074 SONAME_FLAG="-h "
45075 USE_SOVERSION=1
45076 USE_SOVERSOLARIS=1
45077 USE_SOSYMLINKS=1
45078 ;;
45079
45080 *-*-darwin* )
45081 USE_MACVERSION=1
45082 USE_SOVERSION=1
45083 USE_SOSYMLINKS=1
45084 ;;
45085
45086 *-*-cygwin* )
45087 USE_SOVERSION=1
45088 USE_SOVERCYGWIN=1
45089 ;;
45090 esac
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45102 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45103 DEPS_TRACKING=1
45104
45105 if test "x$GCC" = "xyes"; then
45106 DEPSMODE=gcc
45107 case "${BAKEFILE_HOST}" in
45108 *-*-darwin* )
45109 DEPSFLAG="-no-cpp-precomp -MMD"
45110 ;;
45111 * )
45112 DEPSFLAG="-MMD"
45113 ;;
45114 esac
45115 echo "$as_me:$LINENO: result: gcc" >&5
45116 echo "${ECHO_T}gcc" >&6
45117 elif test "x$MWCC" = "xyes"; then
45118 DEPSMODE=mwcc
45119 DEPSFLAG="-MM"
45120 echo "$as_me:$LINENO: result: mwcc" >&5
45121 echo "${ECHO_T}mwcc" >&6
45122 elif test "x$SUNCC" = "xyes"; then
45123 DEPSMODE=unixcc
45124 DEPSFLAG="-xM1"
45125 echo "$as_me:$LINENO: result: Sun cc" >&5
45126 echo "${ECHO_T}Sun cc" >&6
45127 elif test "x$SGICC" = "xyes"; then
45128 DEPSMODE=unixcc
45129 DEPSFLAG="-M"
45130 echo "$as_me:$LINENO: result: SGI cc" >&5
45131 echo "${ECHO_T}SGI cc" >&6
45132 elif test "x$HPCC" = "xyes"; then
45133 DEPSMODE=unixcc
45134 DEPSFLAG="+make"
45135 echo "$as_me:$LINENO: result: HP cc" >&5
45136 echo "${ECHO_T}HP cc" >&6
45137 elif test "x$COMPAQCC" = "xyes"; then
45138 DEPSMODE=gcc
45139 DEPSFLAG="-MD"
45140 echo "$as_me:$LINENO: result: Compaq cc" >&5
45141 echo "${ECHO_T}Compaq cc" >&6
45142 else
45143 DEPS_TRACKING=0
45144 echo "$as_me:$LINENO: result: none" >&5
45145 echo "${ECHO_T}none" >&6
45146 fi
45147
45148 if test $DEPS_TRACKING = 1 ; then
45149
45150 D='$'
45151 cat <<EOF >bk-deps
45152 #!/bin/sh
45153
45154 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45155 # script. It is used to track C/C++ files dependencies in portable way.
45156 #
45157 # Permission is given to use this file in any way.
45158
45159 DEPSMODE=${DEPSMODE}
45160 DEPSDIR=.deps
45161 DEPSFLAG="${DEPSFLAG}"
45162
45163 mkdir -p ${D}DEPSDIR
45164
45165 if test ${D}DEPSMODE = gcc ; then
45166 ${D}* ${D}{DEPSFLAG}
45167 status=${D}?
45168 if test ${D}{status} != 0 ; then
45169 exit ${D}{status}
45170 fi
45171 # move created file to the location we want it in:
45172 while test ${D}# -gt 0; do
45173 case "${D}1" in
45174 -o )
45175 shift
45176 objfile=${D}1
45177 ;;
45178 -* )
45179 ;;
45180 * )
45181 srcfile=${D}1
45182 ;;
45183 esac
45184 shift
45185 done
45186 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45187 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45188 if test -f ${D}depfile ; then
45189 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45190 rm -f ${D}depfile
45191 else
45192 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45193 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45194 if test ! -f ${D}depfile ; then
45195 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45196 depfile="${D}objfile.d"
45197 fi
45198 if test -f ${D}depfile ; then
45199 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45200 rm -f ${D}depfile
45201 fi
45202 fi
45203 exit 0
45204 elif test ${D}DEPSMODE = mwcc ; then
45205 ${D}* || exit ${D}?
45206 # Run mwcc again with -MM and redirect into the dep file we want
45207 # NOTE: We can't use shift here because we need ${D}* to be valid
45208 prevarg=
45209 for arg in ${D}* ; do
45210 if test "${D}prevarg" = "-o"; then
45211 objfile=${D}arg
45212 else
45213 case "${D}arg" in
45214 -* )
45215 ;;
45216 * )
45217 srcfile=${D}arg
45218 ;;
45219 esac
45220 fi
45221 prevarg="${D}arg"
45222 done
45223 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45224 exit 0
45225 elif test ${D}DEPSMODE = unixcc; then
45226 ${D}* || exit ${D}?
45227 # Run compiler again with deps flag and redirect into the dep file.
45228 # It doesn't work if the '-o FILE' option is used, but without it the
45229 # dependency file will contain the wrong name for the object. So it is
45230 # removed from the command line, and the dep file is fixed with sed.
45231 cmd=""
45232 while test ${D}# -gt 0; do
45233 case "${D}1" in
45234 -o )
45235 shift
45236 objfile=${D}1
45237 ;;
45238 * )
45239 eval arg${D}#=\\${D}1
45240 cmd="${D}cmd \\${D}arg${D}#"
45241 ;;
45242 esac
45243 shift
45244 done
45245 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45246 exit 0
45247 else
45248 ${D}*
45249 exit ${D}?
45250 fi
45251 EOF
45252
45253 chmod +x bk-deps
45254 fi
45255
45256
45257
45258
45259 RESCOMP=
45260 SETFILE=
45261
45262 case ${BAKEFILE_HOST} in
45263 *-*-cygwin* | *-*-mingw32* )
45264 if test "$build" != "$host" ; then
45265 RESCOMP=$host_alias-windres
45266 else
45267 # Extract the first word of "windres", so it can be a program name with args.
45268 set dummy windres; ac_word=$2
45269 echo "$as_me:$LINENO: checking for $ac_word" >&5
45270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45271 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45272 echo $ECHO_N "(cached) $ECHO_C" >&6
45273 else
45274 if test -n "$RESCOMP"; then
45275 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45276 else
45277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45278 for as_dir in $PATH
45279 do
45280 IFS=$as_save_IFS
45281 test -z "$as_dir" && as_dir=.
45282 for ac_exec_ext in '' $ac_executable_extensions; do
45283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45284 ac_cv_prog_RESCOMP="windres"
45285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45286 break 2
45287 fi
45288 done
45289 done
45290
45291 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
45292 fi
45293 fi
45294 RESCOMP=$ac_cv_prog_RESCOMP
45295 if test -n "$RESCOMP"; then
45296 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45297 echo "${ECHO_T}$RESCOMP" >&6
45298 else
45299 echo "$as_me:$LINENO: result: no" >&5
45300 echo "${ECHO_T}no" >&6
45301 fi
45302
45303 fi
45304 ;;
45305
45306 *-*-darwin* | powerpc-apple-macos* )
45307 # Extract the first word of "Rez", so it can be a program name with args.
45308 set dummy Rez; ac_word=$2
45309 echo "$as_me:$LINENO: checking for $ac_word" >&5
45310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45311 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45312 echo $ECHO_N "(cached) $ECHO_C" >&6
45313 else
45314 if test -n "$RESCOMP"; then
45315 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45316 else
45317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45318 for as_dir in $PATH
45319 do
45320 IFS=$as_save_IFS
45321 test -z "$as_dir" && as_dir=.
45322 for ac_exec_ext in '' $ac_executable_extensions; do
45323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45324 ac_cv_prog_RESCOMP="Rez"
45325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45326 break 2
45327 fi
45328 done
45329 done
45330
45331 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
45332 fi
45333 fi
45334 RESCOMP=$ac_cv_prog_RESCOMP
45335 if test -n "$RESCOMP"; then
45336 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45337 echo "${ECHO_T}$RESCOMP" >&6
45338 else
45339 echo "$as_me:$LINENO: result: no" >&5
45340 echo "${ECHO_T}no" >&6
45341 fi
45342
45343 # Extract the first word of "SetFile", so it can be a program name with args.
45344 set dummy SetFile; ac_word=$2
45345 echo "$as_me:$LINENO: checking for $ac_word" >&5
45346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45347 if test "${ac_cv_prog_SETFILE+set}" = set; then
45348 echo $ECHO_N "(cached) $ECHO_C" >&6
45349 else
45350 if test -n "$SETFILE"; then
45351 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
45352 else
45353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45354 for as_dir in $PATH
45355 do
45356 IFS=$as_save_IFS
45357 test -z "$as_dir" && as_dir=.
45358 for ac_exec_ext in '' $ac_executable_extensions; do
45359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45360 ac_cv_prog_SETFILE="SetFile"
45361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45362 break 2
45363 fi
45364 done
45365 done
45366
45367 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
45368 fi
45369 fi
45370 SETFILE=$ac_cv_prog_SETFILE
45371 if test -n "$SETFILE"; then
45372 echo "$as_me:$LINENO: result: $SETFILE" >&5
45373 echo "${ECHO_T}$SETFILE" >&6
45374 else
45375 echo "$as_me:$LINENO: result: no" >&5
45376 echo "${ECHO_T}no" >&6
45377 fi
45378
45379 ;;
45380 esac
45381
45382
45383
45384
45385
45386 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
45387
45388
45389 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
45390
45391
45392
45393 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45394 if test "${enable_precomp_headers+set}" = set; then
45395 enableval="$enable_precomp_headers"
45396 bk_use_pch="$enableval"
45397 fi;
45398
45399 GCC_PCH=0
45400
45401 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45402 if test "x$GCC" = "xyes"; then
45403 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45404 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45405 cat >conftest.$ac_ext <<_ACEOF
45406 /* confdefs.h. */
45407 _ACEOF
45408 cat confdefs.h >>conftest.$ac_ext
45409 cat >>conftest.$ac_ext <<_ACEOF
45410 /* end confdefs.h. */
45411
45412 int
45413 main ()
45414 {
45415
45416 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45417 #error "no pch support"
45418 #endif
45419 #if (__GNUC__ < 3)
45420 #error "no pch support"
45421 #endif
45422 #if (__GNUC__ == 3) && \
45423 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45424 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45425 #error "no pch support"
45426 #endif
45427
45428 ;
45429 return 0;
45430 }
45431 _ACEOF
45432 rm -f conftest.$ac_objext
45433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45434 (eval $ac_compile) 2>conftest.er1
45435 ac_status=$?
45436 grep -v '^ *+' conftest.er1 >conftest.err
45437 rm -f conftest.er1
45438 cat conftest.err >&5
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); } &&
45441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45443 (eval $ac_try) 2>&5
45444 ac_status=$?
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); }; } &&
45447 { ac_try='test -s conftest.$ac_objext'
45448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45449 (eval $ac_try) 2>&5
45450 ac_status=$?
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; }; then
45453
45454 echo "$as_me:$LINENO: result: yes" >&5
45455 echo "${ECHO_T}yes" >&6
45456 GCC_PCH=1
45457
45458 else
45459 echo "$as_me: failed program was:" >&5
45460 sed 's/^/| /' conftest.$ac_ext >&5
45461
45462
45463 echo "$as_me:$LINENO: result: no" >&5
45464 echo "${ECHO_T}no" >&6
45465
45466 fi
45467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45468 if test $GCC_PCH = 1 ; then
45469
45470 D='$'
45471 cat <<EOF >bk-make-pch
45472 #!/bin/sh
45473
45474 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45475 # script. It is used to generated precompiled headers.
45476 #
45477 # Permission is given to use this file in any way.
45478
45479 outfile="${D}{1}"
45480 header="${D}{2}"
45481 shift
45482 shift
45483
45484 compiler=
45485 headerfile=
45486 while test ${D}{#} -gt 0; do
45487 case "${D}{1}" in
45488 -I* )
45489 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45490 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45491 headerfile="${D}{incdir}/${D}{header}"
45492 fi
45493 ;;
45494 esac
45495 compiler="${D}{compiler} ${D}{1}"
45496 shift
45497 done
45498
45499 if test "x${D}{headerfile}" = "x" ; then
45500 echo "error: can't find header ${D}{header} in include paths" >2
45501 else
45502 if test -f ${D}{outfile} ; then
45503 rm -f ${D}{outfile}
45504 else
45505 mkdir -p \`dirname ${D}{outfile}\`
45506 fi
45507 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45508 mkdir -p .deps
45509 # can do this because gcc is >= 3.4:
45510 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45511 exit ${D}{?}
45512 fi
45513 EOF
45514
45515 chmod +x bk-make-pch
45516 fi
45517 fi
45518 fi
45519
45520
45521
45522 COND_BUILD_DEBUG="#"
45523 if test "x$BUILD" = "xdebug" ; then
45524 COND_BUILD_DEBUG=""
45525 fi
45526
45527 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
45528 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45529 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
45530 fi
45531
45532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
45533 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45534 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
45535 fi
45536
45537 COND_BUILD_DEBUG_UNICODE_0="#"
45538 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45539 COND_BUILD_DEBUG_UNICODE_0=""
45540 fi
45541
45542 COND_BUILD_DEBUG_UNICODE_1="#"
45543 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45544 COND_BUILD_DEBUG_UNICODE_1=""
45545 fi
45546
45547 COND_BUILD_RELEASE="#"
45548 if test "x$BUILD" = "xrelease" ; then
45549 COND_BUILD_RELEASE=""
45550 fi
45551
45552 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
45553 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45554 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
45555 fi
45556
45557 COND_BUILD_RELEASE_UNICODE_0="#"
45558 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45559 COND_BUILD_RELEASE_UNICODE_0=""
45560 fi
45561
45562 COND_BUILD_RELEASE_UNICODE_1="#"
45563 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45564 COND_BUILD_RELEASE_UNICODE_1=""
45565 fi
45566
45567 COND_DEBUG_FLAG_1="#"
45568 if test "x$DEBUG_FLAG" = "x1" ; then
45569 COND_DEBUG_FLAG_1=""
45570 fi
45571
45572 COND_DEBUG_INFO_0="#"
45573 if test "x$DEBUG_INFO" = "x0" ; then
45574 COND_DEBUG_INFO_0=""
45575 fi
45576
45577 COND_DEBUG_INFO_1="#"
45578 if test "x$DEBUG_INFO" = "x1" ; then
45579 COND_DEBUG_INFO_1=""
45580 fi
45581
45582 COND_DEPS_TRACKING_0="#"
45583 if test "x$DEPS_TRACKING" = "x0" ; then
45584 COND_DEPS_TRACKING_0=""
45585 fi
45586
45587 COND_DEPS_TRACKING_1="#"
45588 if test "x$DEPS_TRACKING" = "x1" ; then
45589 COND_DEPS_TRACKING_1=""
45590 fi
45591
45592 COND_GCC_PCH_1="#"
45593 if test "x$GCC_PCH" = "x1" ; then
45594 COND_GCC_PCH_1=""
45595 fi
45596
45597 COND_MONOLITHIC_0="#"
45598 if test "x$MONOLITHIC" = "x0" ; then
45599 COND_MONOLITHIC_0=""
45600 fi
45601
45602 COND_MONOLITHIC_0_SHARED_0="#"
45603 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45604 COND_MONOLITHIC_0_SHARED_0=""
45605 fi
45606
45607 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
45608 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45609 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
45610 fi
45611
45612 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
45613 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45614 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
45615 fi
45616
45617 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
45618 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45619 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
45620 fi
45621
45622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
45623 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45624 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
45625 fi
45626
45627 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
45628 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45629 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
45630 fi
45631
45632 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
45633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45634 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
45635 fi
45636
45637 COND_MONOLITHIC_0_SHARED_1="#"
45638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45639 COND_MONOLITHIC_0_SHARED_1=""
45640 fi
45641
45642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
45643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45644 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
45645 fi
45646
45647 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
45648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45649 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
45650 fi
45651
45652 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
45653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45654 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
45655 fi
45656
45657 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
45658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45659 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
45660 fi
45661
45662 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
45663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45664 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
45665 fi
45666
45667 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
45668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45669 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
45670 fi
45671
45672 COND_MONOLITHIC_0_USE_ODBC_1="#"
45673 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45674 COND_MONOLITHIC_0_USE_ODBC_1=""
45675 fi
45676
45677 COND_MONOLITHIC_1="#"
45678 if test "x$MONOLITHIC" = "x1" ; then
45679 COND_MONOLITHIC_1=""
45680 fi
45681
45682 COND_MONOLITHIC_1_SHARED_0="#"
45683 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45684 COND_MONOLITHIC_1_SHARED_0=""
45685 fi
45686
45687 COND_MONOLITHIC_1_SHARED_1="#"
45688 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45689 COND_MONOLITHIC_1_SHARED_1=""
45690 fi
45691
45692 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
45693 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45694 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
45695 fi
45696
45697 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
45698 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45699 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
45700 fi
45701
45702 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
45703 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45704 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
45705 fi
45706
45707 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
45708 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45709 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
45710 fi
45711
45712 COND_PLATFORM_MACOSX_1="#"
45713 if test "x$PLATFORM_MACOSX" = "x1" ; then
45714 COND_PLATFORM_MACOSX_1=""
45715 fi
45716
45717 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
45718 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45719 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
45720 fi
45721
45722 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
45723 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45724 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
45725 fi
45726
45727 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
45728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45729 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
45730 fi
45731
45732 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
45733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45734 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
45735 fi
45736
45737 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
45738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45739 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
45740 fi
45741
45742 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45744 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45745 fi
45746
45747 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
45748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45749 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
45750 fi
45751
45752 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
45753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45754 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
45755 fi
45756
45757 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
45758 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45759 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
45760 fi
45761
45762 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
45763 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45764 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
45765 fi
45766
45767 COND_PLATFORM_MACOS_1="#"
45768 if test "x$PLATFORM_MACOS" = "x1" ; then
45769 COND_PLATFORM_MACOS_1=""
45770 fi
45771
45772 COND_PLATFORM_MAC_1="#"
45773 if test "x$PLATFORM_MAC" = "x1" ; then
45774 COND_PLATFORM_MAC_1=""
45775 fi
45776
45777 COND_PLATFORM_MSDOS_1="#"
45778 if test "x$PLATFORM_MSDOS" = "x1" ; then
45779 COND_PLATFORM_MSDOS_1=""
45780 fi
45781
45782 COND_PLATFORM_OS2_1="#"
45783 if test "x$PLATFORM_OS2" = "x1" ; then
45784 COND_PLATFORM_OS2_1=""
45785 fi
45786
45787 COND_PLATFORM_UNIX_0="#"
45788 if test "x$PLATFORM_UNIX" = "x0" ; then
45789 COND_PLATFORM_UNIX_0=""
45790 fi
45791
45792 COND_PLATFORM_UNIX_1="#"
45793 if test "x$PLATFORM_UNIX" = "x1" ; then
45794 COND_PLATFORM_UNIX_1=""
45795 fi
45796
45797 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
45798 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45799 COND_PLATFORM_UNIX_1_USE_GUI_1=""
45800 fi
45801
45802 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
45803 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45804 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
45805 fi
45806
45807 COND_PLATFORM_WIN32_0="#"
45808 if test "x$PLATFORM_WIN32" = "x0" ; then
45809 COND_PLATFORM_WIN32_0=""
45810 fi
45811
45812 COND_PLATFORM_WIN32_1="#"
45813 if test "x$PLATFORM_WIN32" = "x1" ; then
45814 COND_PLATFORM_WIN32_1=""
45815 fi
45816
45817 COND_SHARED_0="#"
45818 if test "x$SHARED" = "x0" ; then
45819 COND_SHARED_0=""
45820 fi
45821
45822 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
45823 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45824 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
45825 fi
45826
45827 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
45828 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45829 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
45830 fi
45831
45832 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
45833 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45834 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
45835 fi
45836
45837 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
45838 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45839 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
45840 fi
45841
45842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45843 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45844 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45845 fi
45846
45847 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45848 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45849 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45850 fi
45851
45852 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45853 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45854 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45855 fi
45856
45857 COND_SHARED_0_USE_XRC_1="#"
45858 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45859 COND_SHARED_0_USE_XRC_1=""
45860 fi
45861
45862 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
45863 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45864 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
45865 fi
45866
45867 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
45868 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45869 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
45870 fi
45871
45872 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
45873 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45874 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
45875 fi
45876
45877 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
45878 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45879 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
45880 fi
45881
45882 COND_SHARED_1="#"
45883 if test "x$SHARED" = "x1" ; then
45884 COND_SHARED_1=""
45885 fi
45886
45887 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
45888 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45889 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
45890 fi
45891
45892 COND_SHARED_1_USE_XRC_1="#"
45893 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45894 COND_SHARED_1_USE_XRC_1=""
45895 fi
45896
45897 COND_TOOLKIT_="#"
45898 if test "x$TOOLKIT" = "x" ; then
45899 COND_TOOLKIT_=""
45900 fi
45901
45902 COND_TOOLKIT_COCOA="#"
45903 if test "x$TOOLKIT" = "xCOCOA" ; then
45904 COND_TOOLKIT_COCOA=""
45905 fi
45906
45907 COND_TOOLKIT_COCOA_USE_GUI_1="#"
45908 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45909 COND_TOOLKIT_COCOA_USE_GUI_1=""
45910 fi
45911
45912 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
45913 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45914 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
45915 fi
45916
45917 COND_TOOLKIT_GTK="#"
45918 if test "x$TOOLKIT" = "xGTK" ; then
45919 COND_TOOLKIT_GTK=""
45920 fi
45921
45922 COND_TOOLKIT_GTK_USE_GUI_1="#"
45923 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45924 COND_TOOLKIT_GTK_USE_GUI_1=""
45925 fi
45926
45927 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
45928 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45929 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
45930 fi
45931
45932 COND_TOOLKIT_MAC="#"
45933 if test "x$TOOLKIT" = "xMAC" ; then
45934 COND_TOOLKIT_MAC=""
45935 fi
45936
45937 COND_TOOLKIT_MAC_USE_GUI_1="#"
45938 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45939 COND_TOOLKIT_MAC_USE_GUI_1=""
45940 fi
45941
45942 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45943 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45944 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45945 fi
45946
45947 COND_TOOLKIT_MGL="#"
45948 if test "x$TOOLKIT" = "xMGL" ; then
45949 COND_TOOLKIT_MGL=""
45950 fi
45951
45952 COND_TOOLKIT_MGL_USE_GUI_1="#"
45953 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45954 COND_TOOLKIT_MGL_USE_GUI_1=""
45955 fi
45956
45957 COND_TOOLKIT_MOTIF="#"
45958 if test "x$TOOLKIT" = "xMOTIF" ; then
45959 COND_TOOLKIT_MOTIF=""
45960 fi
45961
45962 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
45963 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45964 COND_TOOLKIT_MOTIF_USE_GUI_1=""
45965 fi
45966
45967 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
45968 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45969 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
45970 fi
45971
45972 COND_TOOLKIT_MSW="#"
45973 if test "x$TOOLKIT" = "xMSW" ; then
45974 COND_TOOLKIT_MSW=""
45975 fi
45976
45977 COND_TOOLKIT_MSW_USE_GUI_1="#"
45978 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45979 COND_TOOLKIT_MSW_USE_GUI_1=""
45980 fi
45981
45982 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
45983 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45984 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
45985 fi
45986
45987 COND_TOOLKIT_MSW_WXUNIV_0="#"
45988 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45989 COND_TOOLKIT_MSW_WXUNIV_0=""
45990 fi
45991
45992 COND_TOOLKIT_PM="#"
45993 if test "x$TOOLKIT" = "xPM" ; then
45994 COND_TOOLKIT_PM=""
45995 fi
45996
45997 COND_TOOLKIT_PM_USE_GUI_1="#"
45998 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45999 COND_TOOLKIT_PM_USE_GUI_1=""
46000 fi
46001
46002 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
46003 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46004 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
46005 fi
46006
46007 COND_TOOLKIT_WINCE="#"
46008 if test "x$TOOLKIT" = "xWINCE" ; then
46009 COND_TOOLKIT_WINCE=""
46010 fi
46011
46012 COND_TOOLKIT_WINCE_USE_GUI_1="#"
46013 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46014 COND_TOOLKIT_WINCE_USE_GUI_1=""
46015 fi
46016
46017 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
46018 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46019 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
46020 fi
46021
46022 COND_TOOLKIT_WINCE_WXUNIV_0="#"
46023 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46024 COND_TOOLKIT_WINCE_WXUNIV_0=""
46025 fi
46026
46027 COND_TOOLKIT_X11="#"
46028 if test "x$TOOLKIT" = "xX11" ; then
46029 COND_TOOLKIT_X11=""
46030 fi
46031
46032 COND_TOOLKIT_X11_USE_GUI_1="#"
46033 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46034 COND_TOOLKIT_X11_USE_GUI_1=""
46035 fi
46036
46037 COND_UNICODE_1="#"
46038 if test "x$UNICODE" = "x1" ; then
46039 COND_UNICODE_1=""
46040 fi
46041
46042 COND_USE_EXCEPTIONS_0="#"
46043 if test "x$USE_EXCEPTIONS" = "x0" ; then
46044 COND_USE_EXCEPTIONS_0=""
46045 fi
46046
46047 COND_USE_EXCEPTIONS_1="#"
46048 if test "x$USE_EXCEPTIONS" = "x1" ; then
46049 COND_USE_EXCEPTIONS_1=""
46050 fi
46051
46052 COND_USE_GUI_0="#"
46053 if test "x$USE_GUI" = "x0" ; then
46054 COND_USE_GUI_0=""
46055 fi
46056
46057 COND_USE_GUI_1="#"
46058 if test "x$USE_GUI" = "x1" ; then
46059 COND_USE_GUI_1=""
46060 fi
46061
46062 COND_USE_GUI_1_WXUNIV_0="#"
46063 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46064 COND_USE_GUI_1_WXUNIV_0=""
46065 fi
46066
46067 COND_USE_GUI_1_WXUNIV_1="#"
46068 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46069 COND_USE_GUI_1_WXUNIV_1=""
46070 fi
46071
46072 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
46073 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46074 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
46075 fi
46076
46077 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
46078 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46079 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
46080 fi
46081
46082 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
46083 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46084 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
46085 fi
46086
46087 COND_USE_ODBC_1="#"
46088 if test "x$USE_ODBC" = "x1" ; then
46089 COND_USE_ODBC_1=""
46090 fi
46091
46092 COND_USE_OPENGL_1="#"
46093 if test "x$USE_OPENGL" = "x1" ; then
46094 COND_USE_OPENGL_1=""
46095 fi
46096
46097 COND_USE_PLUGINS_0="#"
46098 if test "x$USE_PLUGINS" = "x0" ; then
46099 COND_USE_PLUGINS_0=""
46100 fi
46101
46102 COND_USE_RTTI_0="#"
46103 if test "x$USE_RTTI" = "x0" ; then
46104 COND_USE_RTTI_0=""
46105 fi
46106
46107 COND_USE_RTTI_1="#"
46108 if test "x$USE_RTTI" = "x1" ; then
46109 COND_USE_RTTI_1=""
46110 fi
46111
46112 COND_USE_SOSYMLINKS_1="#"
46113 if test "x$USE_SOSYMLINKS" = "x1" ; then
46114 COND_USE_SOSYMLINKS_1=""
46115 fi
46116
46117 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
46118 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46119 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
46120 fi
46121
46122 COND_USE_SOVERLINUX_1="#"
46123 if test "x$USE_SOVERLINUX" = "x1" ; then
46124 COND_USE_SOVERLINUX_1=""
46125 fi
46126
46127 COND_USE_SOVERSION_0="#"
46128 if test "x$USE_SOVERSION" = "x0" ; then
46129 COND_USE_SOVERSION_0=""
46130 fi
46131
46132 COND_USE_SOVERSOLARIS_1="#"
46133 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46134 COND_USE_SOVERSOLARIS_1=""
46135 fi
46136
46137 COND_USE_THREADS_0="#"
46138 if test "x$USE_THREADS" = "x0" ; then
46139 COND_USE_THREADS_0=""
46140 fi
46141
46142 COND_USE_THREADS_1="#"
46143 if test "x$USE_THREADS" = "x1" ; then
46144 COND_USE_THREADS_1=""
46145 fi
46146
46147 COND_USE_XRC_1="#"
46148 if test "x$USE_XRC" = "x1" ; then
46149 COND_USE_XRC_1=""
46150 fi
46151
46152 COND_WINDOWS_IMPLIB_1="#"
46153 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46154 COND_WINDOWS_IMPLIB_1=""
46155 fi
46156
46157 COND_WITH_PLUGIN_SDL_1="#"
46158 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46159 COND_WITH_PLUGIN_SDL_1=""
46160 fi
46161
46162 COND_WXUNIV_0="#"
46163 if test "x$WXUNIV" = "x0" ; then
46164 COND_WXUNIV_0=""
46165 fi
46166
46167 COND_WXUNIV_1="#"
46168 if test "x$WXUNIV" = "x1" ; then
46169 COND_WXUNIV_1=""
46170 fi
46171
46172 COND_WXUSE_EXPAT_BUILTIN="#"
46173 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46174 COND_WXUSE_EXPAT_BUILTIN=""
46175 fi
46176
46177 COND_WXUSE_LIBJPEG_BUILTIN="#"
46178 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46179 COND_WXUSE_LIBJPEG_BUILTIN=""
46180 fi
46181
46182 COND_WXUSE_LIBPNG_BUILTIN="#"
46183 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46184 COND_WXUSE_LIBPNG_BUILTIN=""
46185 fi
46186
46187 COND_WXUSE_LIBTIFF_BUILTIN="#"
46188 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46189 COND_WXUSE_LIBTIFF_BUILTIN=""
46190 fi
46191
46192 COND_WXUSE_ODBC_BUILTIN="#"
46193 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46194 COND_WXUSE_ODBC_BUILTIN=""
46195 fi
46196
46197 COND_WXUSE_REGEX_BUILTIN="#"
46198 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46199 COND_WXUSE_REGEX_BUILTIN=""
46200 fi
46201
46202 COND_WXUSE_ZLIB_BUILTIN="#"
46203 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46204 COND_WXUSE_ZLIB_BUILTIN=""
46205 fi
46206
46207
46208
46209 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46210 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
46211 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
46212 { (exit 1); exit 1; }; }
46213 fi
46214
46215 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46216 { { 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
46217 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;}
46218 { (exit 1); exit 1; }; }
46219 fi
46220
46221
46222 if test "$wxUSE_SHARED" = "yes"; then
46223
46224 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
46225 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
46226
46227 case "${host}" in
46228 *-pc-os2_emx | *-pc-os2-emx )
46229 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46230 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46231 cp -p ${srcdir}/src/os2/dllnames.sh .
46232 cp -p ${srcdir}/src/os2/dllar.sh .
46233 ;;
46234 esac
46235 else
46236
46237 EXE_LINKER="$CXX -o"
46238
46239 fi
46240 if test "$wxUSE_OMF" = "yes"; then
46241 case "${host}" in
46242 *-pc-os2_emx | *-pc-os2-emx )
46243 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
46244 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46245 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46246 ;;
46247 esac
46248 fi
46249
46250 if test $GCC_PCH = 1 ; then
46251 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
46252 fi
46253
46254 CPPFLAGS="$CPPFLAGS $TOOLCHAIN_DEFS"
46255
46256 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46321 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46322 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46323 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46324 echo $ECHO_N "(cached) $ECHO_C" >&6
46325 else
46326 cat >conftest.make <<\_ACEOF
46327 all:
46328 @echo 'ac_maketemp="$(MAKE)"'
46329 _ACEOF
46330 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46331 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46332 if test -n "$ac_maketemp"; then
46333 eval ac_cv_prog_make_${ac_make}_set=yes
46334 else
46335 eval ac_cv_prog_make_${ac_make}_set=no
46336 fi
46337 rm -f conftest.make
46338 fi
46339 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46340 echo "$as_me:$LINENO: result: yes" >&5
46341 echo "${ECHO_T}yes" >&6
46342 SET_MAKE=
46343 else
46344 echo "$as_me:$LINENO: result: no" >&5
46345 echo "${ECHO_T}no" >&6
46346 SET_MAKE="MAKE=${MAKE-make}"
46347 fi
46348
46349
46350
46351 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46352
46353
46354 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46355
46356
46357 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46358
46359
46360 ac_config_files="$ac_config_files version-script Makefile"
46361
46362
46363 ac_config_commands="$ac_config_commands wx-config
46364 "
46365
46366
46367
46368 if test "$wxWITH_SUBDIRS" != "no"; then
46369 if test "$wxUSE_GUI" = "yes"; then
46370 SUBDIRS="samples demos utils contrib"
46371 else SUBDIRS="samples utils"
46372 fi
46373
46374
46375
46376 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46377 if test "${with_cppunit_prefix+set}" = set; then
46378 withval="$with_cppunit_prefix"
46379 cppunit_config_prefix="$withval"
46380 else
46381 cppunit_config_prefix=""
46382 fi;
46383
46384 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46385 if test "${with_cppunit_exec_prefix+set}" = set; then
46386 withval="$with_cppunit_exec_prefix"
46387 cppunit_config_exec_prefix="$withval"
46388 else
46389 cppunit_config_exec_prefix=""
46390 fi;
46391
46392 if test x$cppunit_config_exec_prefix != x ; then
46393 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46394 if test x${CPPUNIT_CONFIG+set} != xset ; then
46395 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
46396 fi
46397 fi
46398 if test x$cppunit_config_prefix != x ; then
46399 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
46400 if test x${CPPUNIT_CONFIG+set} != xset ; then
46401 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
46402 fi
46403 fi
46404
46405 # Extract the first word of "cppunit-config", so it can be a program name with args.
46406 set dummy cppunit-config; ac_word=$2
46407 echo "$as_me:$LINENO: checking for $ac_word" >&5
46408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46409 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46410 echo $ECHO_N "(cached) $ECHO_C" >&6
46411 else
46412 case $CPPUNIT_CONFIG in
46413 [\\/]* | ?:[\\/]*)
46414 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46415 ;;
46416 *)
46417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46418 for as_dir in $PATH
46419 do
46420 IFS=$as_save_IFS
46421 test -z "$as_dir" && as_dir=.
46422 for ac_exec_ext in '' $ac_executable_extensions; do
46423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46424 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46426 break 2
46427 fi
46428 done
46429 done
46430
46431 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
46432 ;;
46433 esac
46434 fi
46435 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
46436
46437 if test -n "$CPPUNIT_CONFIG"; then
46438 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46439 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46440 else
46441 echo "$as_me:$LINENO: result: no" >&5
46442 echo "${ECHO_T}no" >&6
46443 fi
46444
46445 cppunit_version_min=1.8.0
46446
46447 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46448 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46449 no_cppunit=""
46450 if test "$CPPUNIT_CONFIG" = "no" ; then
46451 no_cppunit=yes
46452 else
46453 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
46454 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
46455 cppunit_version=`$CPPUNIT_CONFIG --version`
46456
46457 cppunit_major_version=`echo $cppunit_version | \
46458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46459 cppunit_minor_version=`echo $cppunit_version | \
46460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46461 cppunit_micro_version=`echo $cppunit_version | \
46462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46463
46464 cppunit_major_min=`echo $cppunit_version_min | \
46465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46466 cppunit_minor_min=`echo $cppunit_version_min | \
46467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46468 cppunit_micro_min=`echo $cppunit_version_min | \
46469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46470
46471 cppunit_version_proper=`expr \
46472 $cppunit_major_version \> $cppunit_major_min \| \
46473 $cppunit_major_version \= $cppunit_major_min \& \
46474 $cppunit_minor_version \> $cppunit_minor_min \| \
46475 $cppunit_major_version \= $cppunit_major_min \& \
46476 $cppunit_minor_version \= $cppunit_minor_min \& \
46477 $cppunit_micro_version \>= $cppunit_micro_min `
46478
46479 if test "$cppunit_version_proper" = "1" ; then
46480 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46481 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46482 else
46483 echo "$as_me:$LINENO: result: no" >&5
46484 echo "${ECHO_T}no" >&6
46485 no_cppunit=yes
46486 fi
46487 fi
46488
46489 if test "x$no_cppunit" = x ; then
46490 SUBDIRS="$SUBDIRS tests"
46491 else
46492 CPPUNIT_CFLAGS=""
46493 CPPUNIT_LIBS=""
46494 :
46495 fi
46496
46497
46498
46499
46500
46501 for subdir in `echo $SUBDIRS`; do
46502 if test -d ${srcdir}/${subdir} ; then
46503 if test "$wxUSE_GUI" = "yes"; then
46504 if test ${subdir} = "samples"; then
46505 makefiles="samples/Makefile.in $makefiles"
46506 for sample in `echo $SAMPLES_SUBDIRS`; do
46507 if test -d $srcdir/samples/$sample; then
46508 makefiles="samples/$sample/Makefile.in $makefiles"
46509 fi
46510 done
46511 else
46512 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
46513 eval "disabled=\$$disabled_var"
46514 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
46515 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46516 fi
46517 else if test ${subdir} = "samples"; then
46518 makefiles="samples/Makefile.in samples/console/Makefile.in"
46519 elif test ${subdir} = "utils"; then
46520 makefiles=""
46521 for util in HelpGen tex2rtf ; do
46522 if test -d $srcdir/utils/$util ; then
46523 makefiles="utils/$util/Makefile.in \
46524 utils/$util/src/Makefile.in \
46525 $makefiles"
46526 fi
46527 done
46528 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
46529 fi
46530 fi
46531
46532 for mkin in $makefiles ; do
46533 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46534 ac_config_files="$ac_config_files $mk"
46535
46536 done
46537 fi
46538 done
46539 fi
46540 cat >confcache <<\_ACEOF
46541 # This file is a shell script that caches the results of configure
46542 # tests run on this system so they can be shared between configure
46543 # scripts and configure runs, see configure's option --config-cache.
46544 # It is not useful on other systems. If it contains results you don't
46545 # want to keep, you may remove or edit it.
46546 #
46547 # config.status only pays attention to the cache file if you give it
46548 # the --recheck option to rerun configure.
46549 #
46550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46552 # following values.
46553
46554 _ACEOF
46555
46556 # The following way of writing the cache mishandles newlines in values,
46557 # but we know of no workaround that is simple, portable, and efficient.
46558 # So, don't put newlines in cache variables' values.
46559 # Ultrix sh set writes to stderr and can't be redirected directly,
46560 # and sets the high bit in the cache file unless we assign to the vars.
46561 {
46562 (set) 2>&1 |
46563 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46564 *ac_space=\ *)
46565 # `set' does not quote correctly, so add quotes (double-quote
46566 # substitution turns \\\\ into \\, and sed turns \\ into \).
46567 sed -n \
46568 "s/'/'\\\\''/g;
46569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46570 ;;
46571 *)
46572 # `set' quotes correctly as required by POSIX, so do not add quotes.
46573 sed -n \
46574 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46575 ;;
46576 esac;
46577 } |
46578 sed '
46579 t clear
46580 : clear
46581 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46582 t end
46583 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46584 : end' >>confcache
46585 if diff $cache_file confcache >/dev/null 2>&1; then :; else
46586 if test -w $cache_file; then
46587 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46588 cat confcache >$cache_file
46589 else
46590 echo "not updating unwritable cache $cache_file"
46591 fi
46592 fi
46593 rm -f confcache
46594
46595 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46596 # Let make expand exec_prefix.
46597 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46598
46599 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46600 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46601 # trailing colons and then remove the whole line if VPATH becomes empty
46602 # (actually we leave an empty line to preserve line numbers).
46603 if test "x$srcdir" = x.; then
46604 ac_vpsub='/^[ ]*VPATH[ ]*=/{
46605 s/:*\$(srcdir):*/:/;
46606 s/:*\${srcdir}:*/:/;
46607 s/:*@srcdir@:*/:/;
46608 s/^\([^=]*=[ ]*\):*/\1/;
46609 s/:*$//;
46610 s/^[^=]*=[ ]*$//;
46611 }'
46612 fi
46613
46614 DEFS=-DHAVE_CONFIG_H
46615
46616 ac_libobjs=
46617 ac_ltlibobjs=
46618 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46619 # 1. Remove the extension, and $U if already installed.
46620 ac_i=`echo "$ac_i" |
46621 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46622 # 2. Add them.
46623 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
46624 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
46625 done
46626 LIBOBJS=$ac_libobjs
46627
46628 LTLIBOBJS=$ac_ltlibobjs
46629
46630
46631
46632 : ${CONFIG_STATUS=./config.status}
46633 ac_clean_files_save=$ac_clean_files
46634 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
46635 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46636 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46637 cat >$CONFIG_STATUS <<_ACEOF
46638 #! $SHELL
46639 # Generated by $as_me.
46640 # Run this file to recreate the current configuration.
46641 # Compiler output produced by configure, useful for debugging
46642 # configure, is in config.log if it exists.
46643
46644 debug=false
46645 ac_cs_recheck=false
46646 ac_cs_silent=false
46647 SHELL=\${CONFIG_SHELL-$SHELL}
46648 _ACEOF
46649
46650 cat >>$CONFIG_STATUS <<\_ACEOF
46651 ## --------------------- ##
46652 ## M4sh Initialization. ##
46653 ## --------------------- ##
46654
46655 # Be Bourne compatible
46656 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
46657 emulate sh
46658 NULLCMD=:
46659 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46660 # is contrary to our usage. Disable this feature.
46661 alias -g '${1+"$@"}'='"$@"'
46662 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
46663 set -o posix
46664 fi
46665 DUALCASE=1; export DUALCASE # for MKS sh
46666
46667 # Support unset when possible.
46668 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
46669 as_unset=unset
46670 else
46671 as_unset=false
46672 fi
46673
46674
46675 # Work around bugs in pre-3.0 UWIN ksh.
46676 $as_unset ENV MAIL MAILPATH
46677 PS1='$ '
46678 PS2='> '
46679 PS4='+ '
46680
46681 # NLS nuisances.
46682 for as_var in \
46683 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46684 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46685 LC_TELEPHONE LC_TIME
46686 do
46687 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46688 eval $as_var=C; export $as_var
46689 else
46690 $as_unset $as_var
46691 fi
46692 done
46693
46694 # Required to use basename.
46695 if expr a : '\(a\)' >/dev/null 2>&1; then
46696 as_expr=expr
46697 else
46698 as_expr=false
46699 fi
46700
46701 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
46702 as_basename=basename
46703 else
46704 as_basename=false
46705 fi
46706
46707
46708 # Name of the executable.
46709 as_me=`$as_basename "$0" ||
46710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46711 X"$0" : 'X\(//\)$' \| \
46712 X"$0" : 'X\(/\)$' \| \
46713 . : '\(.\)' 2>/dev/null ||
46714 echo X/"$0" |
46715 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46716 /^X\/\(\/\/\)$/{ s//\1/; q; }
46717 /^X\/\(\/\).*/{ s//\1/; q; }
46718 s/.*/./; q'`
46719
46720
46721 # PATH needs CR, and LINENO needs CR and PATH.
46722 # Avoid depending upon Character Ranges.
46723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
46724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
46726 as_cr_digits='0123456789'
46727 as_cr_alnum=$as_cr_Letters$as_cr_digits
46728
46729 # The user is always right.
46730 if test "${PATH_SEPARATOR+set}" != set; then
46731 echo "#! /bin/sh" >conf$$.sh
46732 echo "exit 0" >>conf$$.sh
46733 chmod +x conf$$.sh
46734 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46735 PATH_SEPARATOR=';'
46736 else
46737 PATH_SEPARATOR=:
46738 fi
46739 rm -f conf$$.sh
46740 fi
46741
46742
46743 as_lineno_1=$LINENO
46744 as_lineno_2=$LINENO
46745 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46746 test "x$as_lineno_1" != "x$as_lineno_2" &&
46747 test "x$as_lineno_3" = "x$as_lineno_2" || {
46748 # Find who we are. Look in the path if we contain no path at all
46749 # relative or not.
46750 case $0 in
46751 *[\\/]* ) as_myself=$0 ;;
46752 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46753 for as_dir in $PATH
46754 do
46755 IFS=$as_save_IFS
46756 test -z "$as_dir" && as_dir=.
46757 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46758 done
46759
46760 ;;
46761 esac
46762 # We did not find ourselves, most probably we were run as `sh COMMAND'
46763 # in which case we are not to be found in the path.
46764 if test "x$as_myself" = x; then
46765 as_myself=$0
46766 fi
46767 if test ! -f "$as_myself"; then
46768 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46769 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46770 { (exit 1); exit 1; }; }
46771 fi
46772 case $CONFIG_SHELL in
46773 '')
46774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46775 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
46776 do
46777 IFS=$as_save_IFS
46778 test -z "$as_dir" && as_dir=.
46779 for as_base in sh bash ksh sh5; do
46780 case $as_dir in
46781 /*)
46782 if ("$as_dir/$as_base" -c '
46783 as_lineno_1=$LINENO
46784 as_lineno_2=$LINENO
46785 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46786 test "x$as_lineno_1" != "x$as_lineno_2" &&
46787 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
46788 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
46789 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
46790 CONFIG_SHELL=$as_dir/$as_base
46791 export CONFIG_SHELL
46792 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46793 fi;;
46794 esac
46795 done
46796 done
46797 ;;
46798 esac
46799
46800 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46801 # uniformly replaced by the line number. The first 'sed' inserts a
46802 # line-number line before each line; the second 'sed' does the real
46803 # work. The second script uses 'N' to pair each line-number line
46804 # with the numbered line, and appends trailing '-' during
46805 # substitution so that $LINENO is not a special case at line end.
46806 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46807 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46808 sed '=' <$as_myself |
46809 sed '
46810 N
46811 s,$,-,
46812 : loop
46813 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46814 t loop
46815 s,-$,,
46816 s,^['$as_cr_digits']*\n,,
46817 ' >$as_me.lineno &&
46818 chmod +x $as_me.lineno ||
46819 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46820 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46821 { (exit 1); exit 1; }; }
46822
46823 # Don't try to exec as it changes $[0], causing all sort of problems
46824 # (the dirname of $[0] is not the place where we might find the
46825 # original and so on. Autoconf is especially sensible to this).
46826 . ./$as_me.lineno
46827 # Exit status is that of the last command.
46828 exit
46829 }
46830
46831
46832 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46833 *c*,-n*) ECHO_N= ECHO_C='
46834 ' ECHO_T=' ' ;;
46835 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
46836 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
46837 esac
46838
46839 if expr a : '\(a\)' >/dev/null 2>&1; then
46840 as_expr=expr
46841 else
46842 as_expr=false
46843 fi
46844
46845 rm -f conf$$ conf$$.exe conf$$.file
46846 echo >conf$$.file
46847 if ln -s conf$$.file conf$$ 2>/dev/null; then
46848 # We could just check for DJGPP; but this test a) works b) is more generic
46849 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46850 if test -f conf$$.exe; then
46851 # Don't use ln at all; we don't have any links
46852 as_ln_s='cp -p'
46853 else
46854 as_ln_s='ln -s'
46855 fi
46856 elif ln conf$$.file conf$$ 2>/dev/null; then
46857 as_ln_s=ln
46858 else
46859 as_ln_s='cp -p'
46860 fi
46861 rm -f conf$$ conf$$.exe conf$$.file
46862
46863 if mkdir -p . 2>/dev/null; then
46864 as_mkdir_p=:
46865 else
46866 test -d ./-p && rmdir ./-p
46867 as_mkdir_p=false
46868 fi
46869
46870 as_executable_p="test -f"
46871
46872 # Sed expression to map a string onto a valid CPP name.
46873 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46874
46875 # Sed expression to map a string onto a valid variable name.
46876 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46877
46878
46879 # IFS
46880 # We need space, tab and new line, in precisely that order.
46881 as_nl='
46882 '
46883 IFS=" $as_nl"
46884
46885 # CDPATH.
46886 $as_unset CDPATH
46887
46888 exec 6>&1
46889
46890 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46891 # report actual input values of CONFIG_FILES etc. instead of their
46892 # values after options handling. Logging --version etc. is OK.
46893 exec 5>>config.log
46894 {
46895 echo
46896 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46897 ## Running $as_me. ##
46898 _ASBOX
46899 } >&5
46900 cat >&5 <<_CSEOF
46901
46902 This file was extended by wxWidgets $as_me 2.7.0, which was
46903 generated by GNU Autoconf 2.59. Invocation command line was
46904
46905 CONFIG_FILES = $CONFIG_FILES
46906 CONFIG_HEADERS = $CONFIG_HEADERS
46907 CONFIG_LINKS = $CONFIG_LINKS
46908 CONFIG_COMMANDS = $CONFIG_COMMANDS
46909 $ $0 $@
46910
46911 _CSEOF
46912 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46913 echo >&5
46914 _ACEOF
46915
46916 # Files that config.status was made for.
46917 if test -n "$ac_config_files"; then
46918 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46919 fi
46920
46921 if test -n "$ac_config_headers"; then
46922 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46923 fi
46924
46925 if test -n "$ac_config_links"; then
46926 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46927 fi
46928
46929 if test -n "$ac_config_commands"; then
46930 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46931 fi
46932
46933 cat >>$CONFIG_STATUS <<\_ACEOF
46934
46935 ac_cs_usage="\
46936 \`$as_me' instantiates files from templates according to the
46937 current configuration.
46938
46939 Usage: $0 [OPTIONS] [FILE]...
46940
46941 -h, --help print this help, then exit
46942 -V, --version print version number, then exit
46943 -q, --quiet do not print progress messages
46944 -d, --debug don't remove temporary files
46945 --recheck update $as_me by reconfiguring in the same conditions
46946 --file=FILE[:TEMPLATE]
46947 instantiate the configuration file FILE
46948 --header=FILE[:TEMPLATE]
46949 instantiate the configuration header FILE
46950
46951 Configuration files:
46952 $config_files
46953
46954 Configuration headers:
46955 $config_headers
46956
46957 Configuration commands:
46958 $config_commands
46959
46960 Report bugs to <bug-autoconf@gnu.org>."
46961 _ACEOF
46962
46963 cat >>$CONFIG_STATUS <<_ACEOF
46964 ac_cs_version="\\
46965 wxWidgets config.status 2.7.0
46966 configured by $0, generated by GNU Autoconf 2.59,
46967 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46968
46969 Copyright (C) 2003 Free Software Foundation, Inc.
46970 This config.status script is free software; the Free Software Foundation
46971 gives unlimited permission to copy, distribute and modify it."
46972 srcdir=$srcdir
46973 INSTALL="$INSTALL"
46974 _ACEOF
46975
46976 cat >>$CONFIG_STATUS <<\_ACEOF
46977 # If no file are specified by the user, then we need to provide default
46978 # value. By we need to know if files were specified by the user.
46979 ac_need_defaults=:
46980 while test $# != 0
46981 do
46982 case $1 in
46983 --*=*)
46984 ac_option=`expr "x$1" : 'x\([^=]*\)='`
46985 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
46986 ac_shift=:
46987 ;;
46988 -*)
46989 ac_option=$1
46990 ac_optarg=$2
46991 ac_shift=shift
46992 ;;
46993 *) # This is not an option, so the user has probably given explicit
46994 # arguments.
46995 ac_option=$1
46996 ac_need_defaults=false;;
46997 esac
46998
46999 case $ac_option in
47000 # Handling of the options.
47001 _ACEOF
47002 cat >>$CONFIG_STATUS <<\_ACEOF
47003 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47004 ac_cs_recheck=: ;;
47005 --version | --vers* | -V )
47006 echo "$ac_cs_version"; exit 0 ;;
47007 --he | --h)
47008 # Conflict between --help and --header
47009 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47010 Try \`$0 --help' for more information." >&5
47011 echo "$as_me: error: ambiguous option: $1
47012 Try \`$0 --help' for more information." >&2;}
47013 { (exit 1); exit 1; }; };;
47014 --help | --hel | -h )
47015 echo "$ac_cs_usage"; exit 0 ;;
47016 --debug | --d* | -d )
47017 debug=: ;;
47018 --file | --fil | --fi | --f )
47019 $ac_shift
47020 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
47021 ac_need_defaults=false;;
47022 --header | --heade | --head | --hea )
47023 $ac_shift
47024 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
47025 ac_need_defaults=false;;
47026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47028 ac_cs_silent=: ;;
47029
47030 # This is an error.
47031 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47032 Try \`$0 --help' for more information." >&5
47033 echo "$as_me: error: unrecognized option: $1
47034 Try \`$0 --help' for more information." >&2;}
47035 { (exit 1); exit 1; }; } ;;
47036
47037 *) ac_config_targets="$ac_config_targets $1" ;;
47038
47039 esac
47040 shift
47041 done
47042
47043 ac_configure_extra_args=
47044
47045 if $ac_cs_silent; then
47046 exec 6>/dev/null
47047 ac_configure_extra_args="$ac_configure_extra_args --silent"
47048 fi
47049
47050 _ACEOF
47051 cat >>$CONFIG_STATUS <<_ACEOF
47052 if \$ac_cs_recheck; then
47053 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47054 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47055 fi
47056
47057 _ACEOF
47058
47059 cat >>$CONFIG_STATUS <<_ACEOF
47060 #
47061 # INIT-COMMANDS section.
47062 #
47063
47064 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47065 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47066 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47067 LN_S="${LN_S}"
47068
47069
47070 _ACEOF
47071
47072
47073
47074 cat >>$CONFIG_STATUS <<\_ACEOF
47075 for ac_config_target in $ac_config_targets
47076 do
47077 case "$ac_config_target" in
47078 # Handling of arguments.
47079 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47080 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47081 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
47082 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
47083 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
47084 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
47085 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47086 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47087 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47088 { (exit 1); exit 1; }; };;
47089 esac
47090 done
47091
47092 # If the user did not use the arguments to specify the items to instantiate,
47093 # then the envvar interface is used. Set only those that are not.
47094 # We use the long form for the default assignment because of an extremely
47095 # bizarre bug on SunOS 4.1.3.
47096 if $ac_need_defaults; then
47097 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
47098 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
47099 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
47100 fi
47101
47102 # Have a temporary directory for convenience. Make it in the build tree
47103 # simply because there is no reason to put it here, and in addition,
47104 # creating and moving files from /tmp can sometimes cause problems.
47105 # Create a temporary directory, and hook for its removal unless debugging.
47106 $debug ||
47107 {
47108 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47109 trap '{ (exit 1); exit 1; }' 1 2 13 15
47110 }
47111
47112 # Create a (secure) tmp directory for tmp files.
47113
47114 {
47115 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47116 test -n "$tmp" && test -d "$tmp"
47117 } ||
47118 {
47119 tmp=./confstat$$-$RANDOM
47120 (umask 077 && mkdir $tmp)
47121 } ||
47122 {
47123 echo "$me: cannot create a temporary directory in ." >&2
47124 { (exit 1); exit 1; }
47125 }
47126
47127 _ACEOF
47128
47129 cat >>$CONFIG_STATUS <<_ACEOF
47130
47131 #
47132 # CONFIG_FILES section.
47133 #
47134
47135 # No need to generate the scripts if there are no CONFIG_FILES.
47136 # This happens for instance when ./config.status config.h
47137 if test -n "\$CONFIG_FILES"; then
47138 # Protect against being on the right side of a sed subst in config.status.
47139 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47140 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47141 s,@SHELL@,$SHELL,;t t
47142 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47143 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47144 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47145 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47146 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47147 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47148 s,@exec_prefix@,$exec_prefix,;t t
47149 s,@prefix@,$prefix,;t t
47150 s,@program_transform_name@,$program_transform_name,;t t
47151 s,@bindir@,$bindir,;t t
47152 s,@sbindir@,$sbindir,;t t
47153 s,@libexecdir@,$libexecdir,;t t
47154 s,@datadir@,$datadir,;t t
47155 s,@sysconfdir@,$sysconfdir,;t t
47156 s,@sharedstatedir@,$sharedstatedir,;t t
47157 s,@localstatedir@,$localstatedir,;t t
47158 s,@libdir@,$libdir,;t t
47159 s,@includedir@,$includedir,;t t
47160 s,@oldincludedir@,$oldincludedir,;t t
47161 s,@infodir@,$infodir,;t t
47162 s,@mandir@,$mandir,;t t
47163 s,@build_alias@,$build_alias,;t t
47164 s,@host_alias@,$host_alias,;t t
47165 s,@target_alias@,$target_alias,;t t
47166 s,@DEFS@,$DEFS,;t t
47167 s,@ECHO_C@,$ECHO_C,;t t
47168 s,@ECHO_N@,$ECHO_N,;t t
47169 s,@ECHO_T@,$ECHO_T,;t t
47170 s,@LIBS@,$LIBS,;t t
47171 s,@build@,$build,;t t
47172 s,@build_cpu@,$build_cpu,;t t
47173 s,@build_vendor@,$build_vendor,;t t
47174 s,@build_os@,$build_os,;t t
47175 s,@host@,$host,;t t
47176 s,@host_cpu@,$host_cpu,;t t
47177 s,@host_vendor@,$host_vendor,;t t
47178 s,@host_os@,$host_os,;t t
47179 s,@target@,$target,;t t
47180 s,@target_cpu@,$target_cpu,;t t
47181 s,@target_vendor@,$target_vendor,;t t
47182 s,@target_os@,$target_os,;t t
47183 s,@CC@,$CC,;t t
47184 s,@CFLAGS@,$CFLAGS,;t t
47185 s,@LDFLAGS@,$LDFLAGS,;t t
47186 s,@CPPFLAGS@,$CPPFLAGS,;t t
47187 s,@ac_ct_CC@,$ac_ct_CC,;t t
47188 s,@EXEEXT@,$EXEEXT,;t t
47189 s,@OBJEXT@,$OBJEXT,;t t
47190 s,@CPP@,$CPP,;t t
47191 s,@EGREP@,$EGREP,;t t
47192 s,@CXX@,$CXX,;t t
47193 s,@CXXFLAGS@,$CXXFLAGS,;t t
47194 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47195 s,@RANLIB@,$RANLIB,;t t
47196 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47197 s,@AR@,$AR,;t t
47198 s,@ac_ct_AR@,$ac_ct_AR,;t t
47199 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47200 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47201 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47202 s,@STRIP@,$STRIP,;t t
47203 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47204 s,@RESCOMP@,$RESCOMP,;t t
47205 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47206 s,@DLLTOOL@,$DLLTOOL,;t t
47207 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47208 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47209 s,@LN_S@,$LN_S,;t t
47210 s,@CXXCPP@,$CXXCPP,;t t
47211 s,@subdirs@,$subdirs,;t t
47212 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47213 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47214 s,@GTK_LIBS@,$GTK_LIBS,;t t
47215 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47216 s,@X_CFLAGS@,$X_CFLAGS,;t t
47217 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47218 s,@X_LIBS@,$X_LIBS,;t t
47219 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47220 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47221 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47222 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47223 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47224 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47225 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47226 s,@DEREZ@,$DEREZ,;t t
47227 s,@SETFILE@,$SETFILE,;t t
47228 s,@LIBICONV@,$LIBICONV,;t t
47229 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47230 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47231 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47232 s,@SDL_LIBS@,$SDL_LIBS,;t t
47233 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47234 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47235 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47236 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47237 s,@GST_INSPECT@,$GST_INSPECT,;t t
47238 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47239 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47240 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47241 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47242 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47243 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47244 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47245 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47246 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47247 s,@VENDOR@,$VENDOR,;t t
47248 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47249 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47250 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47251 s,@WXUNIV@,$WXUNIV,;t t
47252 s,@MONOLITHIC@,$MONOLITHIC,;t t
47253 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47254 s,@EXTRALIBS@,$EXTRALIBS,;t t
47255 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47256 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47257 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47258 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47259 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47260 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47261 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47262 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47263 s,@UNICODE@,$UNICODE,;t t
47264 s,@BUILD@,$BUILD,;t t
47265 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47266 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47267 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47268 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47269 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47270 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47271 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47272 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47273 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47274 s,@SET_MAKE@,$SET_MAKE,;t t
47275 s,@MAKE_SET@,$MAKE_SET,;t t
47276 s,@NM@,$NM,;t t
47277 s,@ac_ct_NM@,$ac_ct_NM,;t t
47278 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47279 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47280 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47281 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47282 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47283 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47284 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47285 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47286 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47287 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47288 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47289 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47290 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47291 s,@LIBPREFIX@,$LIBPREFIX,;t t
47292 s,@LIBEXT@,$LIBEXT,;t t
47293 s,@DLLPREFIX@,$DLLPREFIX,;t t
47294 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47295 s,@dlldir@,$dlldir,;t t
47296 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47297 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47298 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47299 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47300 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47301 s,@PIC_FLAG@,$PIC_FLAG,;t t
47302 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47303 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47304 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47305 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47306 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47307 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47308 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47309 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47310 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47311 s,@GCC_PCH@,$GCC_PCH,;t t
47312 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47313 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47314 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47315 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47316 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47317 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47318 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47319 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47320 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47321 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47322 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47323 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47324 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47325 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47326 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47327 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47328 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47329 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47330 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
47331 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
47332 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
47333 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47334 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47335 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47336 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47337 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
47338 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
47339 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
47340 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47341 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47342 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47343 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47344 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47345 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47346 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47347 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47348 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47349 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47350 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47351 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47352 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47353 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47354 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47355 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47356 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
47357 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47358 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47359 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47360 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47361 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47362 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47363 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47364 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47365 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47366 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47367 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47368 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47369 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47370 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47371 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47372 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47373 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47374 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47375 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47376 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47377 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47378 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47379 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47380 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47381 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47382 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47383 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47384 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47385 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47386 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47387 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47388 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47389 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47390 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47391 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47392 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47393 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47394 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47395 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47396 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47397 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47398 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47399 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47400 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47401 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47402 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47403 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47404 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47405 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47406 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47407 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47408 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47409 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47410 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47411 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47412 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47413 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47414 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47415 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47416 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47417 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47418 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47419 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47420 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47421 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47422 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47423 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47424 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47425 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47426 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47427 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47428 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47429 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47430 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47431 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47432 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47433 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47434 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47435 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47436 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47437 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47438 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47439 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47440 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47441 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47442 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47443 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47444 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47445 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47446 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47447 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47448 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47449 s,@SHARED@,$SHARED,;t t
47450 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47451 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47452 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47453 s,@USE_GUI@,$USE_GUI,;t t
47454 s,@AFMINSTALL@,$AFMINSTALL,;t t
47455 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47456 s,@TOOLKIT@,$TOOLKIT,;t t
47457 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47458 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47459 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47460 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47461 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47462 s,@cross_compiling@,$cross_compiling,;t t
47463 s,@WIDGET_SET@,$WIDGET_SET,;t t
47464 s,@WX_RELEASE@,$WX_RELEASE,;t t
47465 s,@WX_VERSION@,$WX_VERSION,;t t
47466 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47467 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47468 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47469 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47470 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47471 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47472 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47473 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47474 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47475 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47476 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47477 s,@EXE_LINKER@,$EXE_LINKER,;t t
47478 s,@GUIDIST@,$GUIDIST,;t t
47479 s,@DISTDIR@,$DISTDIR,;t t
47480 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47481 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47482 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47483 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47484 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47485 s,@RESFLAGS@,$RESFLAGS,;t t
47486 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47487 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47488 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47489 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47490 s,@MACRESCOMP@,$MACRESCOMP,;t t
47491 s,@MACSETFILE@,$MACSETFILE,;t t
47492 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47493 s,@GCC@,$GCC,;t t
47494 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47495 s,@LIBOBJS@,$LIBOBJS,;t t
47496 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47497 CEOF
47498
47499 _ACEOF
47500
47501 cat >>$CONFIG_STATUS <<\_ACEOF
47502 # Split the substitutions into bite-sized pieces for seds with
47503 # small command number limits, like on Digital OSF/1 and HP-UX.
47504 ac_max_sed_lines=48
47505 ac_sed_frag=1 # Number of current file.
47506 ac_beg=1 # First line for current file.
47507 ac_end=$ac_max_sed_lines # Line after last line for current file.
47508 ac_more_lines=:
47509 ac_sed_cmds=
47510 while $ac_more_lines; do
47511 if test $ac_beg -gt 1; then
47512 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47513 else
47514 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47515 fi
47516 if test ! -s $tmp/subs.frag; then
47517 ac_more_lines=false
47518 else
47519 # The purpose of the label and of the branching condition is to
47520 # speed up the sed processing (if there are no `@' at all, there
47521 # is no need to browse any of the substitutions).
47522 # These are the two extra sed commands mentioned above.
47523 (echo ':t
47524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
47525 if test -z "$ac_sed_cmds"; then
47526 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
47527 else
47528 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47529 fi
47530 ac_sed_frag=`expr $ac_sed_frag + 1`
47531 ac_beg=$ac_end
47532 ac_end=`expr $ac_end + $ac_max_sed_lines`
47533 fi
47534 done
47535 if test -z "$ac_sed_cmds"; then
47536 ac_sed_cmds=cat
47537 fi
47538 fi # test -n "$CONFIG_FILES"
47539
47540 _ACEOF
47541 cat >>$CONFIG_STATUS <<\_ACEOF
47542 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
47543 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47544 case $ac_file in
47545 - | *:- | *:-:* ) # input from stdin
47546 cat >$tmp/stdin
47547 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47548 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47551 * ) ac_file_in=$ac_file.in ;;
47552 esac
47553
47554 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47555 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47557 X"$ac_file" : 'X\(//\)[^/]' \| \
47558 X"$ac_file" : 'X\(//\)$' \| \
47559 X"$ac_file" : 'X\(/\)' \| \
47560 . : '\(.\)' 2>/dev/null ||
47561 echo X"$ac_file" |
47562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47564 /^X\(\/\/\)$/{ s//\1/; q; }
47565 /^X\(\/\).*/{ s//\1/; q; }
47566 s/.*/./; q'`
47567 { if $as_mkdir_p; then
47568 mkdir -p "$ac_dir"
47569 else
47570 as_dir="$ac_dir"
47571 as_dirs=
47572 while test ! -d "$as_dir"; do
47573 as_dirs="$as_dir $as_dirs"
47574 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47576 X"$as_dir" : 'X\(//\)[^/]' \| \
47577 X"$as_dir" : 'X\(//\)$' \| \
47578 X"$as_dir" : 'X\(/\)' \| \
47579 . : '\(.\)' 2>/dev/null ||
47580 echo X"$as_dir" |
47581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47583 /^X\(\/\/\)$/{ s//\1/; q; }
47584 /^X\(\/\).*/{ s//\1/; q; }
47585 s/.*/./; q'`
47586 done
47587 test ! -n "$as_dirs" || mkdir $as_dirs
47588 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47589 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47590 { (exit 1); exit 1; }; }; }
47591
47592 ac_builddir=.
47593
47594 if test "$ac_dir" != .; then
47595 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47596 # A "../" for each directory in $ac_dir_suffix.
47597 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47598 else
47599 ac_dir_suffix= ac_top_builddir=
47600 fi
47601
47602 case $srcdir in
47603 .) # No --srcdir option. We are building in place.
47604 ac_srcdir=.
47605 if test -z "$ac_top_builddir"; then
47606 ac_top_srcdir=.
47607 else
47608 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47609 fi ;;
47610 [\\/]* | ?:[\\/]* ) # Absolute path.
47611 ac_srcdir=$srcdir$ac_dir_suffix;
47612 ac_top_srcdir=$srcdir ;;
47613 *) # Relative path.
47614 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47615 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47616 esac
47617
47618 # Do not use `cd foo && pwd` to compute absolute paths, because
47619 # the directories may not exist.
47620 case `pwd` in
47621 .) ac_abs_builddir="$ac_dir";;
47622 *)
47623 case "$ac_dir" in
47624 .) ac_abs_builddir=`pwd`;;
47625 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47626 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47627 esac;;
47628 esac
47629 case $ac_abs_builddir in
47630 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47631 *)
47632 case ${ac_top_builddir}. in
47633 .) ac_abs_top_builddir=$ac_abs_builddir;;
47634 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47635 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47636 esac;;
47637 esac
47638 case $ac_abs_builddir in
47639 .) ac_abs_srcdir=$ac_srcdir;;
47640 *)
47641 case $ac_srcdir in
47642 .) ac_abs_srcdir=$ac_abs_builddir;;
47643 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47644 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47645 esac;;
47646 esac
47647 case $ac_abs_builddir in
47648 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47649 *)
47650 case $ac_top_srcdir in
47651 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47652 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47653 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47654 esac;;
47655 esac
47656
47657
47658 case $INSTALL in
47659 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
47660 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
47661 esac
47662
47663 # Let's still pretend it is `configure' which instantiates (i.e., don't
47664 # use $as_me), people would be surprised to read:
47665 # /* config.h. Generated by config.status. */
47666 if test x"$ac_file" = x-; then
47667 configure_input=
47668 else
47669 configure_input="$ac_file. "
47670 fi
47671 configure_input=$configure_input"Generated from `echo $ac_file_in |
47672 sed 's,.*/,,'` by configure."
47673
47674 # First look for the input files in the build tree, otherwise in the
47675 # src tree.
47676 ac_file_inputs=`IFS=:
47677 for f in $ac_file_in; do
47678 case $f in
47679 -) echo $tmp/stdin ;;
47680 [\\/$]*)
47681 # Absolute (can't be DOS-style, as IFS=:)
47682 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47683 echo "$as_me: error: cannot find input file: $f" >&2;}
47684 { (exit 1); exit 1; }; }
47685 echo "$f";;
47686 *) # Relative
47687 if test -f "$f"; then
47688 # Build tree
47689 echo "$f"
47690 elif test -f "$srcdir/$f"; then
47691 # Source tree
47692 echo "$srcdir/$f"
47693 else
47694 # /dev/null tree
47695 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47696 echo "$as_me: error: cannot find input file: $f" >&2;}
47697 { (exit 1); exit 1; }; }
47698 fi;;
47699 esac
47700 done` || { (exit 1); exit 1; }
47701
47702 if test x"$ac_file" != x-; then
47703 { echo "$as_me:$LINENO: creating $ac_file" >&5
47704 echo "$as_me: creating $ac_file" >&6;}
47705 rm -f "$ac_file"
47706 fi
47707 _ACEOF
47708 cat >>$CONFIG_STATUS <<_ACEOF
47709 sed "$ac_vpsub
47710 $extrasub
47711 _ACEOF
47712 cat >>$CONFIG_STATUS <<\_ACEOF
47713 :t
47714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47715 s,@configure_input@,$configure_input,;t t
47716 s,@srcdir@,$ac_srcdir,;t t
47717 s,@abs_srcdir@,$ac_abs_srcdir,;t t
47718 s,@top_srcdir@,$ac_top_srcdir,;t t
47719 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
47720 s,@builddir@,$ac_builddir,;t t
47721 s,@abs_builddir@,$ac_abs_builddir,;t t
47722 s,@top_builddir@,$ac_top_builddir,;t t
47723 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
47724 s,@INSTALL@,$ac_INSTALL,;t t
47725 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47726 rm -f $tmp/stdin
47727 if test x"$ac_file" != x-; then
47728 mv $tmp/out $ac_file
47729 else
47730 cat $tmp/out
47731 rm -f $tmp/out
47732 fi
47733
47734 # Run the commands associated with the file.
47735 case $ac_file in
47736 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47737 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47738 esac
47739 done
47740 _ACEOF
47741 cat >>$CONFIG_STATUS <<\_ACEOF
47742
47743 #
47744 # CONFIG_HEADER section.
47745 #
47746
47747 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
47748 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47749 #
47750 # ac_d sets the value in "#define NAME VALUE" lines.
47751 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47752 ac_dB='[ ].*$,\1#\2'
47753 ac_dC=' '
47754 ac_dD=',;t'
47755 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47756 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47757 ac_uB='$,\1#\2define\3'
47758 ac_uC=' '
47759 ac_uD=',;t'
47760
47761 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
47762 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47763 case $ac_file in
47764 - | *:- | *:-:* ) # input from stdin
47765 cat >$tmp/stdin
47766 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47767 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47768 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47769 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47770 * ) ac_file_in=$ac_file.in ;;
47771 esac
47772
47773 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47774 echo "$as_me: creating $ac_file" >&6;}
47775
47776 # First look for the input files in the build tree, otherwise in the
47777 # src tree.
47778 ac_file_inputs=`IFS=:
47779 for f in $ac_file_in; do
47780 case $f in
47781 -) echo $tmp/stdin ;;
47782 [\\/$]*)
47783 # Absolute (can't be DOS-style, as IFS=:)
47784 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47785 echo "$as_me: error: cannot find input file: $f" >&2;}
47786 { (exit 1); exit 1; }; }
47787 # Do quote $f, to prevent DOS paths from being IFS'd.
47788 echo "$f";;
47789 *) # Relative
47790 if test -f "$f"; then
47791 # Build tree
47792 echo "$f"
47793 elif test -f "$srcdir/$f"; then
47794 # Source tree
47795 echo "$srcdir/$f"
47796 else
47797 # /dev/null tree
47798 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47799 echo "$as_me: error: cannot find input file: $f" >&2;}
47800 { (exit 1); exit 1; }; }
47801 fi;;
47802 esac
47803 done` || { (exit 1); exit 1; }
47804 # Remove the trailing spaces.
47805 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47806
47807 _ACEOF
47808
47809 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47810 # `conftest.undefs', that substitutes the proper values into
47811 # config.h.in to produce config.h. The first handles `#define'
47812 # templates, and the second `#undef' templates.
47813 # And first: Protect against being on the right side of a sed subst in
47814 # config.status. Protect against being in an unquoted here document
47815 # in config.status.
47816 rm -f conftest.defines conftest.undefs
47817 # Using a here document instead of a string reduces the quoting nightmare.
47818 # Putting comments in sed scripts is not portable.
47819 #
47820 # `end' is used to avoid that the second main sed command (meant for
47821 # 0-ary CPP macros) applies to n-ary macro definitions.
47822 # See the Autoconf documentation for `clear'.
47823 cat >confdef2sed.sed <<\_ACEOF
47824 s/[\\&,]/\\&/g
47825 s,[\\$`],\\&,g
47826 t clear
47827 : clear
47828 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47829 t end
47830 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47831 : end
47832 _ACEOF
47833 # If some macros were called several times there might be several times
47834 # the same #defines, which is useless. Nevertheless, we may not want to
47835 # sort them, since we want the *last* AC-DEFINE to be honored.
47836 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47837 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47838 rm -f confdef2sed.sed
47839
47840 # This sed command replaces #undef with comments. This is necessary, for
47841 # example, in the case of _POSIX_SOURCE, which is predefined and required
47842 # on some systems where configure will not decide to define it.
47843 cat >>conftest.undefs <<\_ACEOF
47844 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47845 _ACEOF
47846
47847 # Break up conftest.defines because some shells have a limit on the size
47848 # of here documents, and old seds have small limits too (100 cmds).
47849 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47850 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47851 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47852 echo ' :' >>$CONFIG_STATUS
47853 rm -f conftest.tail
47854 while grep . conftest.defines >/dev/null
47855 do
47856 # Write a limited-size here document to $tmp/defines.sed.
47857 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47858 # Speed up: don't consider the non `#define' lines.
47859 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47860 # Work around the forget-to-reset-the-flag bug.
47861 echo 't clr' >>$CONFIG_STATUS
47862 echo ': clr' >>$CONFIG_STATUS
47863 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
47864 echo 'CEOF
47865 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47866 rm -f $tmp/in
47867 mv $tmp/out $tmp/in
47868 ' >>$CONFIG_STATUS
47869 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
47870 rm -f conftest.defines
47871 mv conftest.tail conftest.defines
47872 done
47873 rm -f conftest.defines
47874 echo ' fi # grep' >>$CONFIG_STATUS
47875 echo >>$CONFIG_STATUS
47876
47877 # Break up conftest.undefs because some shells have a limit on the size
47878 # of here documents, and old seds have small limits too (100 cmds).
47879 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47880 rm -f conftest.tail
47881 while grep . conftest.undefs >/dev/null
47882 do
47883 # Write a limited-size here document to $tmp/undefs.sed.
47884 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47885 # Speed up: don't consider the non `#undef'
47886 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47887 # Work around the forget-to-reset-the-flag bug.
47888 echo 't clr' >>$CONFIG_STATUS
47889 echo ': clr' >>$CONFIG_STATUS
47890 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47891 echo 'CEOF
47892 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47893 rm -f $tmp/in
47894 mv $tmp/out $tmp/in
47895 ' >>$CONFIG_STATUS
47896 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47897 rm -f conftest.undefs
47898 mv conftest.tail conftest.undefs
47899 done
47900 rm -f conftest.undefs
47901
47902 cat >>$CONFIG_STATUS <<\_ACEOF
47903 # Let's still pretend it is `configure' which instantiates (i.e., don't
47904 # use $as_me), people would be surprised to read:
47905 # /* config.h. Generated by config.status. */
47906 if test x"$ac_file" = x-; then
47907 echo "/* Generated by configure. */" >$tmp/config.h
47908 else
47909 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47910 fi
47911 cat $tmp/in >>$tmp/config.h
47912 rm -f $tmp/in
47913 if test x"$ac_file" != x-; then
47914 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
47915 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47916 echo "$as_me: $ac_file is unchanged" >&6;}
47917 else
47918 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47920 X"$ac_file" : 'X\(//\)[^/]' \| \
47921 X"$ac_file" : 'X\(//\)$' \| \
47922 X"$ac_file" : 'X\(/\)' \| \
47923 . : '\(.\)' 2>/dev/null ||
47924 echo X"$ac_file" |
47925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47927 /^X\(\/\/\)$/{ s//\1/; q; }
47928 /^X\(\/\).*/{ s//\1/; q; }
47929 s/.*/./; q'`
47930 { if $as_mkdir_p; then
47931 mkdir -p "$ac_dir"
47932 else
47933 as_dir="$ac_dir"
47934 as_dirs=
47935 while test ! -d "$as_dir"; do
47936 as_dirs="$as_dir $as_dirs"
47937 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47939 X"$as_dir" : 'X\(//\)[^/]' \| \
47940 X"$as_dir" : 'X\(//\)$' \| \
47941 X"$as_dir" : 'X\(/\)' \| \
47942 . : '\(.\)' 2>/dev/null ||
47943 echo X"$as_dir" |
47944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47946 /^X\(\/\/\)$/{ s//\1/; q; }
47947 /^X\(\/\).*/{ s//\1/; q; }
47948 s/.*/./; q'`
47949 done
47950 test ! -n "$as_dirs" || mkdir $as_dirs
47951 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47952 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47953 { (exit 1); exit 1; }; }; }
47954
47955 rm -f $ac_file
47956 mv $tmp/config.h $ac_file
47957 fi
47958 else
47959 cat $tmp/config.h
47960 rm -f $tmp/config.h
47961 fi
47962 done
47963 _ACEOF
47964 cat >>$CONFIG_STATUS <<\_ACEOF
47965
47966 #
47967 # CONFIG_COMMANDS section.
47968 #
47969 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
47970 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
47971 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
47972 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
47973 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47974 X"$ac_dest" : 'X\(//\)[^/]' \| \
47975 X"$ac_dest" : 'X\(//\)$' \| \
47976 X"$ac_dest" : 'X\(/\)' \| \
47977 . : '\(.\)' 2>/dev/null ||
47978 echo X"$ac_dest" |
47979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47981 /^X\(\/\/\)$/{ s//\1/; q; }
47982 /^X\(\/\).*/{ s//\1/; q; }
47983 s/.*/./; q'`
47984 { if $as_mkdir_p; then
47985 mkdir -p "$ac_dir"
47986 else
47987 as_dir="$ac_dir"
47988 as_dirs=
47989 while test ! -d "$as_dir"; do
47990 as_dirs="$as_dir $as_dirs"
47991 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47993 X"$as_dir" : 'X\(//\)[^/]' \| \
47994 X"$as_dir" : 'X\(//\)$' \| \
47995 X"$as_dir" : 'X\(/\)' \| \
47996 . : '\(.\)' 2>/dev/null ||
47997 echo X"$as_dir" |
47998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48000 /^X\(\/\/\)$/{ s//\1/; q; }
48001 /^X\(\/\).*/{ s//\1/; q; }
48002 s/.*/./; q'`
48003 done
48004 test ! -n "$as_dirs" || mkdir $as_dirs
48005 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48006 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48007 { (exit 1); exit 1; }; }; }
48008
48009 ac_builddir=.
48010
48011 if test "$ac_dir" != .; then
48012 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48013 # A "../" for each directory in $ac_dir_suffix.
48014 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48015 else
48016 ac_dir_suffix= ac_top_builddir=
48017 fi
48018
48019 case $srcdir in
48020 .) # No --srcdir option. We are building in place.
48021 ac_srcdir=.
48022 if test -z "$ac_top_builddir"; then
48023 ac_top_srcdir=.
48024 else
48025 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48026 fi ;;
48027 [\\/]* | ?:[\\/]* ) # Absolute path.
48028 ac_srcdir=$srcdir$ac_dir_suffix;
48029 ac_top_srcdir=$srcdir ;;
48030 *) # Relative path.
48031 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48032 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48033 esac
48034
48035 # Do not use `cd foo && pwd` to compute absolute paths, because
48036 # the directories may not exist.
48037 case `pwd` in
48038 .) ac_abs_builddir="$ac_dir";;
48039 *)
48040 case "$ac_dir" in
48041 .) ac_abs_builddir=`pwd`;;
48042 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48043 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48044 esac;;
48045 esac
48046 case $ac_abs_builddir in
48047 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48048 *)
48049 case ${ac_top_builddir}. in
48050 .) ac_abs_top_builddir=$ac_abs_builddir;;
48051 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48052 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48053 esac;;
48054 esac
48055 case $ac_abs_builddir in
48056 .) ac_abs_srcdir=$ac_srcdir;;
48057 *)
48058 case $ac_srcdir in
48059 .) ac_abs_srcdir=$ac_abs_builddir;;
48060 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48061 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48062 esac;;
48063 esac
48064 case $ac_abs_builddir in
48065 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48066 *)
48067 case $ac_top_srcdir in
48068 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48069 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48070 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48071 esac;;
48072 esac
48073
48074
48075 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48076 echo "$as_me: executing $ac_dest commands" >&6;}
48077 case $ac_dest in
48078 wx-config ) rm -f wx-config
48079 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
48080 ;;
48081 esac
48082 done
48083 _ACEOF
48084
48085 cat >>$CONFIG_STATUS <<\_ACEOF
48086
48087 { (exit 0); exit 0; }
48088 _ACEOF
48089 chmod +x $CONFIG_STATUS
48090 ac_clean_files=$ac_clean_files_save
48091
48092
48093 # configure is writing to config.log, and then calls config.status.
48094 # config.status does its own redirection, appending to config.log.
48095 # Unfortunately, on DOS this fails, as config.log is still kept open
48096 # by configure, so config.status won't be able to write to it; its
48097 # output is simply discarded. So we exec the FD to /dev/null,
48098 # effectively closing config.log, so it can be properly (re)opened and
48099 # appended to by config.status. When coming back to configure, we
48100 # need to make the FD available again.
48101 if test "$no_create" != yes; then
48102 ac_cs_success=:
48103 ac_config_status_args=
48104 test "$silent" = yes &&
48105 ac_config_status_args="$ac_config_status_args --quiet"
48106 exec 5>/dev/null
48107 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
48108 exec 5>>config.log
48109 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48110 # would make configure fail if this is the last instruction.
48111 $ac_cs_success || { (exit 1); exit 1; }
48112 fi
48113
48114 #
48115 # CONFIG_SUBDIRS section.
48116 #
48117 if test "$no_recursion" != yes; then
48118
48119 # Remove --cache-file and --srcdir arguments so they do not pile up.
48120 ac_sub_configure_args=
48121 ac_prev=
48122 for ac_arg in $ac_configure_args; do
48123 if test -n "$ac_prev"; then
48124 ac_prev=
48125 continue
48126 fi
48127 case $ac_arg in
48128 -cache-file | --cache-file | --cache-fil | --cache-fi \
48129 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48130 ac_prev=cache_file ;;
48131 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48132 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48133 | --c=*)
48134 ;;
48135 --config-cache | -C)
48136 ;;
48137 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48138 ac_prev=srcdir ;;
48139 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48140 ;;
48141 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48142 ac_prev=prefix ;;
48143 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48144 ;;
48145 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
48146 esac
48147 done
48148
48149 # Always prepend --prefix to ensure using the same prefix
48150 # in subdir configurations.
48151 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
48152
48153 ac_popdir=`pwd`
48154 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
48155
48156 # Do not complain, so a configure script can configure whichever
48157 # parts of a large source tree are present.
48158 test -d $srcdir/$ac_dir || continue
48159
48160 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48161 echo "$as_me: configuring in $ac_dir" >&6;}
48162 { if $as_mkdir_p; then
48163 mkdir -p "$ac_dir"
48164 else
48165 as_dir="$ac_dir"
48166 as_dirs=
48167 while test ! -d "$as_dir"; do
48168 as_dirs="$as_dir $as_dirs"
48169 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48171 X"$as_dir" : 'X\(//\)[^/]' \| \
48172 X"$as_dir" : 'X\(//\)$' \| \
48173 X"$as_dir" : 'X\(/\)' \| \
48174 . : '\(.\)' 2>/dev/null ||
48175 echo X"$as_dir" |
48176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48178 /^X\(\/\/\)$/{ s//\1/; q; }
48179 /^X\(\/\).*/{ s//\1/; q; }
48180 s/.*/./; q'`
48181 done
48182 test ! -n "$as_dirs" || mkdir $as_dirs
48183 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48184 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48185 { (exit 1); exit 1; }; }; }
48186
48187 ac_builddir=.
48188
48189 if test "$ac_dir" != .; then
48190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48191 # A "../" for each directory in $ac_dir_suffix.
48192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48193 else
48194 ac_dir_suffix= ac_top_builddir=
48195 fi
48196
48197 case $srcdir in
48198 .) # No --srcdir option. We are building in place.
48199 ac_srcdir=.
48200 if test -z "$ac_top_builddir"; then
48201 ac_top_srcdir=.
48202 else
48203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48204 fi ;;
48205 [\\/]* | ?:[\\/]* ) # Absolute path.
48206 ac_srcdir=$srcdir$ac_dir_suffix;
48207 ac_top_srcdir=$srcdir ;;
48208 *) # Relative path.
48209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48210 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48211 esac
48212
48213 # Do not use `cd foo && pwd` to compute absolute paths, because
48214 # the directories may not exist.
48215 case `pwd` in
48216 .) ac_abs_builddir="$ac_dir";;
48217 *)
48218 case "$ac_dir" in
48219 .) ac_abs_builddir=`pwd`;;
48220 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48221 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48222 esac;;
48223 esac
48224 case $ac_abs_builddir in
48225 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48226 *)
48227 case ${ac_top_builddir}. in
48228 .) ac_abs_top_builddir=$ac_abs_builddir;;
48229 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48230 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48231 esac;;
48232 esac
48233 case $ac_abs_builddir in
48234 .) ac_abs_srcdir=$ac_srcdir;;
48235 *)
48236 case $ac_srcdir in
48237 .) ac_abs_srcdir=$ac_abs_builddir;;
48238 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48239 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48240 esac;;
48241 esac
48242 case $ac_abs_builddir in
48243 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48244 *)
48245 case $ac_top_srcdir in
48246 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48247 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48248 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48249 esac;;
48250 esac
48251
48252
48253 cd $ac_dir
48254
48255 # Check for guested configure; otherwise get Cygnus style configure.
48256 if test -f $ac_srcdir/configure.gnu; then
48257 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
48258 elif test -f $ac_srcdir/configure; then
48259 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
48260 elif test -f $ac_srcdir/configure.in; then
48261 ac_sub_configure=$ac_configure
48262 else
48263 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48264 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48265 ac_sub_configure=
48266 fi
48267
48268 # The recursion is here.
48269 if test -n "$ac_sub_configure"; then
48270 # Make the cache file name correct relative to the subdirectory.
48271 case $cache_file in
48272 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
48273 *) # Relative path.
48274 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
48275 esac
48276
48277 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48278 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48279 # The eval makes quoting arguments work.
48280 eval $ac_sub_configure $ac_sub_configure_args \
48281 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48282 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48283 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48284 { (exit 1); exit 1; }; }
48285 fi
48286
48287 cd "$ac_popdir"
48288 done
48289 fi
48290
48291
48292 echo
48293 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48294 echo ""
48295 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48296 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48297
48298 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48299 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48300 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48301
48302 echo " What level of wxWidgets compatibility should be enabled?"
48303 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
48304 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
48305
48306 echo " Which libraries should wxWidgets use?"
48307 echo " jpeg ${wxUSE_LIBJPEG-none}"
48308 echo " png ${wxUSE_LIBPNG-none}"
48309 echo " regex ${wxUSE_REGEX}"
48310 echo " tiff ${wxUSE_LIBTIFF-none}"
48311 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48312 echo " xpm ${wxUSE_LIBXPM-none}"
48313 fi
48314 echo " zlib ${wxUSE_ZLIB}"
48315 echo " odbc ${wxUSE_ODBC}"
48316 echo " expat ${wxUSE_EXPAT}"
48317 echo " libmspack ${wxUSE_LIBMSPACK}"
48318 echo " sdl ${wxUSE_LIBSDL}"
48319 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
48320
48321 echo ""
48322