]> git.saurik.com Git - wxWidgets.git/blob - configure
added dependencies support for DEC/Compaq/HP cxx compiler (new bakefile files; regene...
[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 *-*-linux* )
1742 USE_LINUX=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __LINUX__ 1
1745 _ACEOF
1746
1747 TMP=`uname -m`
1748 if test "x$TMP" = "xalpha"; then
1749 USE_ALPHA=1
1750 cat >>confdefs.h <<\_ACEOF
1751 #define __ALPHA__ 1
1752 _ACEOF
1753
1754 fi
1755 DEFAULT_DEFAULT_wxUSE_GTK=1
1756 ;;
1757 *-*-gnu* | *-*-k*bsd*-gnu )
1758 USE_GNU=1
1759 TMP=`uname -m`
1760 if test "x$TMP" = "xalpha"; then
1761 USE_ALPHA=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __ALPHA__ 1
1764 _ACEOF
1765
1766 fi
1767 DEFAULT_DEFAULT_wxUSE_GTK=1
1768 ;;
1769 *-*-irix5* | *-*-irix6* )
1770 USE_SGI=1
1771 USE_SVR4=1
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __SGI__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SVR4__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 ;;
1782 *-*-solaris2* )
1783 USE_SUN=1
1784 USE_SOLARIS=1
1785 USE_SVR4=1
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SUN__ 1
1788 _ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SOLARIS__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SVR4__ 1
1796 _ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1800 ;;
1801 *-*-sunos4* )
1802 USE_SUN=1
1803 USE_SUNOS=1
1804 USE_BSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __SUN__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __SUNOS__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __BSD__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-freebsd*)
1820 USE_BSD=1
1821 USE_FREEBSD=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __FREEBSD__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1831 ;;
1832 *-*-openbsd*)
1833 USE_BSD=1
1834 USE_OPENBSD=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __OPENBSD__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __BSD__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1844 ;;
1845 *-*-netbsd*)
1846 USE_BSD=1
1847 USE_NETBSD=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __NETBSD__ 1
1850 _ACEOF
1851
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __BSD__ 1
1854 _ACEOF
1855
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1857 ;;
1858 *-*-osf* )
1859 USE_ALPHA=1
1860 USE_OSF=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __ALPHA__ 1
1863 _ACEOF
1864
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __OSF__ 1
1867 _ACEOF
1868
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871 ;;
1872 *-*-dgux5* )
1873 USE_ALPHA=1
1874 USE_SVR4=1
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __ALPHA__ 1
1877 _ACEOF
1878
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __SVR4__ 1
1881 _ACEOF
1882
1883 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1884 ;;
1885 *-*-sysv5* )
1886 USE_SYSV=1
1887 USE_SVR4=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __SYSV__ 1
1890 _ACEOF
1891
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SVR4__ 1
1894 _ACEOF
1895
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1897 ;;
1898 *-*-aix* )
1899 USE_AIX=1
1900 USE_SYSV=1
1901 USE_SVR4=1
1902 SO_SUFFIX=a
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __AIX__ 1
1905 _ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __SYSV__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SVR4__ 1
1913 _ACEOF
1914
1915 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1916 ;;
1917
1918 *-*-*UnixWare*)
1919 USE_SYSV=1
1920 USE_SVR4=1
1921 USE_UNIXWARE=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __UNIXWARE__ 1
1924 _ACEOF
1925
1926 ;;
1927
1928 *-*-cygwin* | *-*-mingw32* )
1929 SO_SUFFIX=dll
1930 PROGRAM_EXT=".exe"
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1932 DEFAULT_STD_FLAG=no
1933 ;;
1934
1935 *-pc-msdosdjgpp )
1936 USE_UNIX=0
1937 USE_DOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __DOS__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1944 ;;
1945
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __EMX__ 1
1949 _ACEOF
1950
1951 USE_OS2=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __OS2__ 1
1954 _ACEOF
1955
1956 PROGRAM_EXT=".exe"
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1958 CXX=gcc
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1962 ac_save_IFS="$IFS"
1963 IFS='\\'
1964 ac_TEMP_PATH=
1965 for ac_dir in $PATH; do
1966 IFS=$ac_save_IFS
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1969 else
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1971 fi
1972 done
1973 export PATH="$ac_TEMP_PATH"
1974 unset ac_TEMP_PATH
1975 DEFAULT_STD_FLAG=no
1976 ;;
1977
1978 *-*-darwin* )
1979 USE_BSD=1
1980 USE_DARWIN=1
1981 SO_SUFFIX=dylib
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __BSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1995 DEFAULT_STD_FLAG=no
1996 ;;
1997 powerpc-apple-macos* )
1998 USE_UNIX=0
1999 ac_cv_c_bigendian=yes
2000 SO_SUFFIX=shlib
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2002 DEFAULT_STD_FLAG=no
2003 ;;
2004
2005 *-*-beos* )
2006 USE_BEOS=1
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __BEOS__ 1
2009 _ACEOF
2010
2011 ;;
2012
2013 *)
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2017 esac
2018
2019
2020
2021
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2027
2028
2029 DEBUG_CONFIGURE=0
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2033
2034 DEFAULT_wxUSE_NANOX=no
2035
2036 DEFAULT_wxUSE_THREADS=yes
2037
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2053
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2059
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2062
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2076
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2107
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2111
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2118
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2123
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2139
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2154
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2167
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2209
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2213
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2223
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2227 else
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2230
2231 DEFAULT_wxUSE_NANOX=no
2232
2233 DEFAULT_wxUSE_THREADS=yes
2234
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2250
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2256
2257 DEFAULT_wxUSE_GUI=yes
2258
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2272
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2303
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2307
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2314
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2319
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2335
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2350
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2363
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2405
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2409
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2419
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2423
2424 DEFAULT_wxUSE_GTK2=yes
2425 fi
2426
2427
2428
2429
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2436
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2440 fi
2441 fi
2442 done
2443
2444
2445
2446 enablestring=
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 no_cache=0
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2453
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI=yes'
2456 else
2457 ac_cv_use_gui='wxUSE_GUI=no'
2458 fi
2459
2460 else
2461
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2465 else
2466 no_cache=1
2467 fi
2468
2469 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2470
2471 fi;
2472
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2476 fi
2477
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2481 else
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2484 fi
2485
2486
2487 enablestring=
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 no_cache=0
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2494
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2497 else
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2499 fi
2500
2501 else
2502
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2506 else
2507 no_cache=1
2508 fi
2509
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2511
2512 fi;
2513
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2517 fi
2518
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2522 else
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2525 fi
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2538 else
2539 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2552
2553 fi;
2554
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569 withstring=without
2570 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2571 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2572 no_cache=0
2573
2574 # Check whether --with-subdirs or --without-subdirs was given.
2575 if test "${with_subdirs+set}" = set; then
2576 withval="$with_subdirs"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2580 else
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2594
2595 fi;
2596
2597 eval "$ac_cv_use_subdirs"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxWITH_SUBDIRS" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611 if test "$wxUSE_GUI" = "yes"; then
2612
2613
2614 enablestring=
2615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2616 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2617 no_cache=0
2618 # Check whether --enable-universal or --disable-universal was given.
2619 if test "${enable_universal+set}" = set; then
2620 enableval="$enable_universal"
2621
2622 if test "$enableval" = yes; then
2623 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2624 else
2625 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2626 fi
2627
2628 else
2629
2630 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x ; then
2632 eval "DEFAULT_$LINE"
2633 else
2634 no_cache=1
2635 fi
2636
2637 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2638
2639 fi;
2640
2641 eval "$ac_cv_use_universal"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2644 fi
2645
2646 if test "$wxUSE_UNIVERSAL" = yes; then
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2649 else
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2652 fi
2653
2654
2655 # Check whether --with-gtk or --without-gtk was given.
2656 if test "${with_gtk+set}" = set; then
2657 withval="$with_gtk"
2658 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2659 fi;
2660
2661 # Check whether --with-motif or --without-motif was given.
2662 if test "${with_motif+set}" = set; then
2663 withval="$with_motif"
2664 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2665 fi;
2666
2667 # Check whether --with-mac or --without-mac was given.
2668 if test "${with_mac+set}" = set; then
2669 withval="$with_mac"
2670 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2671 fi;
2672
2673 # Check whether --with-cocoa or --without-cocoa was given.
2674 if test "${with_cocoa+set}" = set; then
2675 withval="$with_cocoa"
2676 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2677 fi;
2678
2679 # Check whether --with-wine or --without-wine was given.
2680 if test "${with_wine+set}" = set; then
2681 withval="$with_wine"
2682 wxUSE_WINE="$withval" CACHE_WINE=1
2683 fi;
2684
2685 # Check whether --with-msw or --without-msw was given.
2686 if test "${with_msw+set}" = set; then
2687 withval="$with_msw"
2688 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2689 fi;
2690
2691 # Check whether --with-pm or --without-pm was given.
2692 if test "${with_pm+set}" = set; then
2693 withval="$with_pm"
2694 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2695 fi;
2696
2697 # Check whether --with-mgl or --without-mgl was given.
2698 if test "${with_mgl+set}" = set; then
2699 withval="$with_mgl"
2700 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2701 fi;
2702
2703 # Check whether --with-microwin or --without-microwin was given.
2704 if test "${with_microwin+set}" = set; then
2705 withval="$with_microwin"
2706 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2707 fi;
2708
2709 # Check whether --with-x11 or --without-x11 was given.
2710 if test "${with_x11+set}" = set; then
2711 withval="$with_x11"
2712 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2713 fi;
2714
2715 enablestring=
2716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2717 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2718 no_cache=0
2719 # Check whether --enable-nanox or --disable-nanox was given.
2720 if test "${enable_nanox+set}" = set; then
2721 enableval="$enable_nanox"
2722
2723 if test "$enableval" = yes; then
2724 ac_cv_use_nanox='wxUSE_NANOX=yes'
2725 else
2726 ac_cv_use_nanox='wxUSE_NANOX=no'
2727 fi
2728
2729 else
2730
2731 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2732 if test "x$LINE" != x ; then
2733 eval "DEFAULT_$LINE"
2734 else
2735 no_cache=1
2736 fi
2737
2738 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2739
2740 fi;
2741
2742 eval "$ac_cv_use_nanox"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2745 fi
2746
2747 if test "$wxUSE_NANOX" = yes; then
2748 echo "$as_me:$LINENO: result: yes" >&5
2749 echo "${ECHO_T}yes" >&6
2750 else
2751 echo "$as_me:$LINENO: result: no" >&5
2752 echo "${ECHO_T}no" >&6
2753 fi
2754
2755
2756 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2757 if test "${enable_gtk2+set}" = set; then
2758 enableval="$enable_gtk2"
2759 wxUSE_GTK2="$enableval"
2760 fi;
2761
2762 enablestring=
2763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2764 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2765 no_cache=0
2766 # Check whether --enable-gpe or --disable-gpe was given.
2767 if test "${enable_gpe+set}" = set; then
2768 enableval="$enable_gpe"
2769
2770 if test "$enableval" = yes; then
2771 ac_cv_use_gpe='wxUSE_GPE=yes'
2772 else
2773 ac_cv_use_gpe='wxUSE_GPE=no'
2774 fi
2775
2776 else
2777
2778 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x ; then
2780 eval "DEFAULT_$LINE"
2781 else
2782 no_cache=1
2783 fi
2784
2785 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2786
2787 fi;
2788
2789 eval "$ac_cv_use_gpe"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2792 fi
2793
2794 if test "$wxUSE_GPE" = yes; then
2795 echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6
2797 else
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2800 fi
2801
2802
2803
2804 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2805 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2806 no_cache=0
2807
2808 # Check whether --with-libpng or --without-libpng was given.
2809 if test "${with_libpng+set}" = set; then
2810 withval="$with_libpng"
2811
2812 if test "$withval" = yes; then
2813 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2814 elif test "$withval" = no; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2816 elif test "$withval" = sys; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2818 elif test "$withval" = builtin; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2820 else
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2824 fi
2825
2826 else
2827
2828 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x ; then
2830 eval "DEFAULT_$LINE"
2831 else
2832 no_cache=1
2833 fi
2834
2835 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2836
2837 fi;
2838
2839 eval "$ac_cv_use_libpng"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2842 fi
2843
2844 if test "$wxUSE_LIBPNG" = yes; then
2845 echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
2847 elif test "$wxUSE_LIBPNG" = no; then
2848 echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6
2850 elif test "$wxUSE_LIBPNG" = sys; then
2851 echo "$as_me:$LINENO: result: system version" >&5
2852 echo "${ECHO_T}system version" >&6
2853 elif test "$wxUSE_LIBPNG" = builtin; then
2854 echo "$as_me:$LINENO: result: builtin version" >&5
2855 echo "${ECHO_T}builtin version" >&6
2856 else
2857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2858 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2859 { (exit 1); exit 1; }; }
2860 fi
2861
2862
2863 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2864 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2865 no_cache=0
2866
2867 # Check whether --with-libjpeg or --without-libjpeg was given.
2868 if test "${with_libjpeg+set}" = set; then
2869 withval="$with_libjpeg"
2870
2871 if test "$withval" = yes; then
2872 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885 else
2886
2887 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2890 else
2891 no_cache=1
2892 fi
2893
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2895
2896 fi;
2897
2898 eval "$ac_cv_use_libjpeg"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2901 fi
2902
2903 if test "$wxUSE_LIBJPEG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBJPEG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBJPEG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBJPEG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2915 else
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921
2922 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2923 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2924 no_cache=0
2925
2926 # Check whether --with-libtiff or --without-libtiff was given.
2927 if test "${with_libtiff+set}" = set; then
2928 withval="$with_libtiff"
2929
2930 if test "$withval" = yes; then
2931 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944 else
2945
2946 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2954
2955 fi;
2956
2957 eval "$ac_cv_use_libtiff"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_LIBTIFF" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBTIFF" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBTIFF" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBTIFF" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2974 else
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2978 fi
2979
2980
2981 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2982 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2983 no_cache=0
2984
2985 # Check whether --with-libxpm or --without-libxpm was given.
2986 if test "${with_libxpm+set}" = set; then
2987 withval="$with_libxpm"
2988
2989 if test "$withval" = yes; then
2990 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003 else
3004
3005 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3008 else
3009 no_cache=1
3010 fi
3011
3012 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3013
3014 fi;
3015
3016 eval "$ac_cv_use_libxpm"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3019 fi
3020
3021 if test "$wxUSE_LIBXPM" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBXPM" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBXPM" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBXPM" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3033 else
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3037 fi
3038
3039
3040 withstring=
3041 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3042 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-libmspack or --without-libmspack was given.
3046 if test "${with_libmspack+set}" = set; then
3047 withval="$with_libmspack"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3051 else
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3065
3066 fi;
3067
3068 eval "$ac_cv_use_libmspack"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBMSPACK" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 withstring=
3083 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3084 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3085 no_cache=0
3086
3087 # Check whether --with-sdl or --without-sdl was given.
3088 if test "${with_sdl+set}" = set; then
3089 withval="$with_sdl"
3090
3091 if test "$withval" = yes; then
3092 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3093 else
3094 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3095 fi
3096
3097 else
3098
3099 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 else
3103 no_cache=1
3104 fi
3105
3106 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3107
3108 fi;
3109
3110 eval "$ac_cv_use_sdl"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3113 fi
3114
3115 if test "$wxUSE_LIBSDL" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3118 else
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3121 fi
3122
3123
3124 withstring=
3125 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3130 if test "${with_gnomeprint+set}" = set; then
3131 withval="$with_gnomeprint"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3135 else
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3137 fi
3138
3139 else
3140
3141 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3149
3150 fi;
3151
3152 eval "$ac_cv_use_gnomeprint"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 else
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 fi
3164
3165
3166 withstring=
3167 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-opengl or --without-opengl was given.
3172 if test "${with_opengl+set}" = set; then
3173 withval="$with_opengl"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3177 else
3178 ac_cv_use_opengl='wxUSE_OPENGL=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3191
3192 fi;
3193
3194 eval "$ac_cv_use_opengl"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_OPENGL" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 fi
3209
3210
3211 withstring=
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3214 no_cache=0
3215
3216 # Check whether --with-dmalloc or --without-dmalloc was given.
3217 if test "${with_dmalloc+set}" = set; then
3218 withval="$with_dmalloc"
3219
3220 if test "$withval" = yes; then
3221 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3222 else
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3224 fi
3225
3226 else
3227
3228 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3231 else
3232 no_cache=1
3233 fi
3234
3235 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3236
3237 fi;
3238
3239 eval "$ac_cv_use_dmalloc"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3242 fi
3243
3244 if test "$wxUSE_DMALLOC" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 else
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 fi
3251
3252
3253 echo "$as_me:$LINENO: checking for --with-regex" >&5
3254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3255 no_cache=0
3256
3257 # Check whether --with-regex or --without-regex was given.
3258 if test "${with_regex+set}" = set; then
3259 withval="$with_regex"
3260
3261 if test "$withval" = yes; then
3262 ac_cv_use_regex='wxUSE_REGEX=yes'
3263 elif test "$withval" = no; then
3264 ac_cv_use_regex='wxUSE_REGEX=no'
3265 elif test "$withval" = sys; then
3266 ac_cv_use_regex='wxUSE_REGEX=sys'
3267 elif test "$withval" = builtin; then
3268 ac_cv_use_regex='wxUSE_REGEX=builtin'
3269 else
3270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3272 { (exit 1); exit 1; }; }
3273 fi
3274
3275 else
3276
3277 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3280 else
3281 no_cache=1
3282 fi
3283
3284 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3285
3286 fi;
3287
3288 eval "$ac_cv_use_regex"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3291 fi
3292
3293 if test "$wxUSE_REGEX" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 elif test "$wxUSE_REGEX" = no; then
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 elif test "$wxUSE_REGEX" = sys; then
3300 echo "$as_me:$LINENO: result: system version" >&5
3301 echo "${ECHO_T}system version" >&6
3302 elif test "$wxUSE_REGEX" = builtin; then
3303 echo "$as_me:$LINENO: result: builtin version" >&5
3304 echo "${ECHO_T}builtin version" >&6
3305 else
3306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3308 { (exit 1); exit 1; }; }
3309 fi
3310
3311
3312 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3313 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3314 no_cache=0
3315
3316 # Check whether --with-zlib or --without-zlib was given.
3317 if test "${with_zlib+set}" = set; then
3318 withval="$with_zlib"
3319
3320 if test "$withval" = yes; then
3321 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3322 elif test "$withval" = no; then
3323 ac_cv_use_zlib='wxUSE_ZLIB=no'
3324 elif test "$withval" = sys; then
3325 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3326 elif test "$withval" = builtin; then
3327 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3328 else
3329 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3330 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3331 { (exit 1); exit 1; }; }
3332 fi
3333
3334 else
3335
3336 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3339 else
3340 no_cache=1
3341 fi
3342
3343 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3344
3345 fi;
3346
3347 eval "$ac_cv_use_zlib"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3350 fi
3351
3352 if test "$wxUSE_ZLIB" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3355 elif test "$wxUSE_ZLIB" = no; then
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3358 elif test "$wxUSE_ZLIB" = sys; then
3359 echo "$as_me:$LINENO: result: system version" >&5
3360 echo "${ECHO_T}system version" >&6
3361 elif test "$wxUSE_ZLIB" = builtin; then
3362 echo "$as_me:$LINENO: result: builtin version" >&5
3363 echo "${ECHO_T}builtin version" >&6
3364 else
3365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3367 { (exit 1); exit 1; }; }
3368 fi
3369
3370
3371 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3372 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3373 no_cache=0
3374
3375 # Check whether --with-odbc or --without-odbc was given.
3376 if test "${with_odbc+set}" = set; then
3377 withval="$with_odbc"
3378
3379 if test "$withval" = yes; then
3380 ac_cv_use_odbc='wxUSE_ODBC=yes'
3381 elif test "$withval" = no; then
3382 ac_cv_use_odbc='wxUSE_ODBC=no'
3383 elif test "$withval" = sys; then
3384 ac_cv_use_odbc='wxUSE_ODBC=sys'
3385 elif test "$withval" = builtin; then
3386 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3387 else
3388 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3389 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3390 { (exit 1); exit 1; }; }
3391 fi
3392
3393 else
3394
3395 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3398 else
3399 no_cache=1
3400 fi
3401
3402 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3403
3404 fi;
3405
3406 eval "$ac_cv_use_odbc"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3409 fi
3410
3411 if test "$wxUSE_ODBC" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3414 elif test "$wxUSE_ODBC" = no; then
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3417 elif test "$wxUSE_ODBC" = sys; then
3418 echo "$as_me:$LINENO: result: system version" >&5
3419 echo "${ECHO_T}system version" >&6
3420 elif test "$wxUSE_ODBC" = builtin; then
3421 echo "$as_me:$LINENO: result: builtin version" >&5
3422 echo "${ECHO_T}builtin version" >&6
3423 else
3424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3426 { (exit 1); exit 1; }; }
3427 fi
3428
3429
3430 echo "$as_me:$LINENO: checking for --with-expat" >&5
3431 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3432 no_cache=0
3433
3434 # Check whether --with-expat or --without-expat was given.
3435 if test "${with_expat+set}" = set; then
3436 withval="$with_expat"
3437
3438 if test "$withval" = yes; then
3439 ac_cv_use_expat='wxUSE_EXPAT=yes'
3440 elif test "$withval" = no; then
3441 ac_cv_use_expat='wxUSE_EXPAT=no'
3442 elif test "$withval" = sys; then
3443 ac_cv_use_expat='wxUSE_EXPAT=sys'
3444 elif test "$withval" = builtin; then
3445 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3446 else
3447 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3448 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3449 { (exit 1); exit 1; }; }
3450 fi
3451
3452 else
3453
3454 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x ; then
3456 eval "DEFAULT_$LINE"
3457 else
3458 no_cache=1
3459 fi
3460
3461 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3462
3463 fi;
3464
3465 eval "$ac_cv_use_expat"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3468 fi
3469
3470 if test "$wxUSE_EXPAT" = yes; then
3471 echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6
3473 elif test "$wxUSE_EXPAT" = no; then
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3476 elif test "$wxUSE_EXPAT" = sys; then
3477 echo "$as_me:$LINENO: result: system version" >&5
3478 echo "${ECHO_T}system version" >&6
3479 elif test "$wxUSE_EXPAT" = builtin; then
3480 echo "$as_me:$LINENO: result: builtin version" >&5
3481 echo "${ECHO_T}builtin version" >&6
3482 else
3483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3485 { (exit 1); exit 1; }; }
3486 fi
3487
3488
3489
3490
3491 enablestring=
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3494 no_cache=0
3495 # Check whether --enable-shared or --disable-shared was given.
3496 if test "${enable_shared+set}" = set; then
3497 enableval="$enable_shared"
3498
3499 if test "$enableval" = yes; then
3500 ac_cv_use_shared='wxUSE_SHARED=yes'
3501 else
3502 ac_cv_use_shared='wxUSE_SHARED=no'
3503 fi
3504
3505 else
3506
3507 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3515
3516 fi;
3517
3518 eval "$ac_cv_use_shared"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3521 fi
3522
3523 if test "$wxUSE_SHARED" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531
3532 enablestring=
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3535 no_cache=0
3536 # Check whether --enable-optimise or --disable-optimise was given.
3537 if test "${enable_optimise+set}" = set; then
3538 enableval="$enable_optimise"
3539
3540 if test "$enableval" = yes; then
3541 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3542 else
3543 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3544 fi
3545
3546 else
3547
3548 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3556
3557 fi;
3558
3559 eval "$ac_cv_use_optimise"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_OPTIMISE" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572
3573 enablestring=
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3576 no_cache=0
3577 # Check whether --enable-debug or --disable-debug was given.
3578 if test "${enable_debug+set}" = set; then
3579 enableval="$enable_debug"
3580
3581 if test "$enableval" = yes; then
3582 ac_cv_use_debug='wxUSE_DEBUG=yes'
3583 else
3584 ac_cv_use_debug='wxUSE_DEBUG=no'
3585 fi
3586
3587 else
3588
3589 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3592 else
3593 no_cache=1
3594 fi
3595
3596 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3597
3598 fi;
3599
3600 eval "$ac_cv_use_debug"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3603 fi
3604
3605 if test "$wxUSE_DEBUG" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 fi
3612
3613
3614 enablestring=
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3617 no_cache=0
3618 # Check whether --enable-stl or --disable-stl was given.
3619 if test "${enable_stl+set}" = set; then
3620 enableval="$enable_stl"
3621
3622 if test "$enableval" = yes; then
3623 ac_cv_use_stl='wxUSE_STL=yes'
3624 else
3625 ac_cv_use_stl='wxUSE_STL=no'
3626 fi
3627
3628 else
3629
3630 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3633 else
3634 no_cache=1
3635 fi
3636
3637 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3638
3639 fi;
3640
3641 eval "$ac_cv_use_stl"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3644 fi
3645
3646 if test "$wxUSE_STL" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3649 else
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3652 fi
3653
3654 if test "$USE_OS2" = "1"; then
3655 DEFAULT_wxUSE_OMF=no
3656
3657 enablestring=
3658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3659 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3660 no_cache=0
3661 # Check whether --enable-omf or --disable-omf was given.
3662 if test "${enable_omf+set}" = set; then
3663 enableval="$enable_omf"
3664
3665 if test "$enableval" = yes; then
3666 ac_cv_use_omf='wxUSE_OMF=yes'
3667 else
3668 ac_cv_use_omf='wxUSE_OMF=no'
3669 fi
3670
3671 else
3672
3673 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x ; then
3675 eval "DEFAULT_$LINE"
3676 else
3677 no_cache=1
3678 fi
3679
3680 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3681
3682 fi;
3683
3684 eval "$ac_cv_use_omf"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3687 fi
3688
3689 if test "$wxUSE_OMF" = yes; then
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3692 else
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3695 fi
3696
3697 fi
3698
3699 if test "$wxUSE_DEBUG" = "yes"; then
3700 DEFAULT_wxUSE_DEBUG_FLAG=yes
3701 DEFAULT_wxUSE_DEBUG_INFO=yes
3702 BUILD=debug
3703 elif test "$wxUSE_DEBUG" = "no"; then
3704 DEFAULT_wxUSE_DEBUG_FLAG=no
3705 DEFAULT_wxUSE_DEBUG_INFO=no
3706 BUILD=release
3707 fi
3708
3709
3710 enablestring=
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3713 no_cache=0
3714 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3715 if test "${enable_debug_flag+set}" = set; then
3716 enableval="$enable_debug_flag"
3717
3718 if test "$enableval" = yes; then
3719 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3720 else
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3722 fi
3723
3724 else
3725
3726 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3729 else
3730 no_cache=1
3731 fi
3732
3733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3734
3735 fi;
3736
3737 eval "$ac_cv_use_debug_flag"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_DEBUG_FLAG" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3745 else
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3748 fi
3749
3750
3751 enablestring=
3752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3753 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3754 no_cache=0
3755 # Check whether --enable-debug_info or --disable-debug_info was given.
3756 if test "${enable_debug_info+set}" = set; then
3757 enableval="$enable_debug_info"
3758
3759 if test "$enableval" = yes; then
3760 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3761 else
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3763 fi
3764
3765 else
3766
3767 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3770 else
3771 no_cache=1
3772 fi
3773
3774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3775
3776 fi;
3777
3778 eval "$ac_cv_use_debug_info"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3781 fi
3782
3783 if test "$wxUSE_DEBUG_INFO" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3786 else
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 fi
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3797 if test "${enable_debug_gdb+set}" = set; then
3798 enableval="$enable_debug_gdb"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3802 else
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3816
3817 fi;
3818
3819 eval "$ac_cv_use_debug_gdb"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_DEBUG_GDB" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3838 if test "${enable_debug_cntxt+set}" = set; then
3839 enableval="$enable_debug_cntxt"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3843 else
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3857
3858 fi;
3859
3860 eval "$ac_cv_use_debug_cntxt"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3879 if test "${enable_mem_tracing+set}" = set; then
3880 enableval="$enable_mem_tracing"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3884 else
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3898
3899 fi;
3900
3901 eval "$ac_cv_use_mem_tracing"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_MEM_TRACING" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-profile or --disable-profile was given.
3920 if test "${enable_profile+set}" = set; then
3921 enableval="$enable_profile"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_profile='wxUSE_PROFILE=yes'
3925 else
3926 ac_cv_use_profile='wxUSE_PROFILE=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3939
3940 fi;
3941
3942 eval "$ac_cv_use_profile"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_PROFILE" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955
3956 enablestring=
3957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3958 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3959 no_cache=0
3960 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3961 if test "${enable_no_rtti+set}" = set; then
3962 enableval="$enable_no_rtti"
3963
3964 if test "$enableval" = yes; then
3965 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3966 else
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3968 fi
3969
3970 else
3971
3972 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3975 else
3976 no_cache=1
3977 fi
3978
3979 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3980
3981 fi;
3982
3983 eval "$ac_cv_use_no_rtti"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3986 fi
3987
3988 if test "$wxUSE_NO_RTTI" = yes; then
3989 echo "$as_me:$LINENO: result: yes" >&5
3990 echo "${ECHO_T}yes" >&6
3991 else
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3994 fi
3995
3996
3997 enablestring=
3998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3999 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4000 no_cache=0
4001 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4002 if test "${enable_no_exceptions+set}" = set; then
4003 enableval="$enable_no_exceptions"
4004
4005 if test "$enableval" = yes; then
4006 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4007 else
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4009 fi
4010
4011 else
4012
4013 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 else
4017 no_cache=1
4018 fi
4019
4020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4021
4022 fi;
4023
4024 eval "$ac_cv_use_no_exceptions"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4027 fi
4028
4029 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4030 echo "$as_me:$LINENO: result: yes" >&5
4031 echo "${ECHO_T}yes" >&6
4032 else
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4035 fi
4036
4037
4038 enablestring=
4039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4040 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4041 no_cache=0
4042 # Check whether --enable-permissive or --disable-permissive was given.
4043 if test "${enable_permissive+set}" = set; then
4044 enableval="$enable_permissive"
4045
4046 if test "$enableval" = yes; then
4047 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4048 else
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4050 fi
4051
4052 else
4053
4054 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x ; then
4056 eval "DEFAULT_$LINE"
4057 else
4058 no_cache=1
4059 fi
4060
4061 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4062
4063 fi;
4064
4065 eval "$ac_cv_use_permissive"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4068 fi
4069
4070 if test "$wxUSE_PERMISSIVE" = yes; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4073 else
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4076 fi
4077
4078
4079 enablestring=
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4082 no_cache=0
4083 # Check whether --enable-no_deps or --disable-no_deps was given.
4084 if test "${enable_no_deps+set}" = set; then
4085 enableval="$enable_no_deps"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4089 else
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4091 fi
4092
4093 else
4094
4095 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4103
4104 fi;
4105
4106 eval "$ac_cv_use_no_deps"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$wxUSE_NO_DEPS" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4114 else
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4117 fi
4118
4119
4120
4121 enablestring=
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4124 no_cache=0
4125 # Check whether --enable-compat22 or --disable-compat22 was given.
4126 if test "${enable_compat22+set}" = set; then
4127 enableval="$enable_compat22"
4128
4129 if test "$enableval" = yes; then
4130 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4131 else
4132 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4133 fi
4134
4135 else
4136
4137 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4140 else
4141 no_cache=1
4142 fi
4143
4144 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4145
4146 fi;
4147
4148 eval "$ac_cv_use_compat22"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4156 else
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4159 fi
4160
4161
4162 enablestring=disable
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-compat24 or --disable-compat24 was given.
4167 if test "${enable_compat24+set}" = set; then
4168 enableval="$enable_compat24"
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4172 else
4173 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4174 fi
4175
4176 else
4177
4178 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4186
4187 fi;
4188
4189 eval "$ac_cv_use_compat24"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4197 else
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4200 fi
4201
4202
4203
4204 enablestring=
4205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4206 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4207 no_cache=0
4208 # Check whether --enable-rpath or --disable-rpath was given.
4209 if test "${enable_rpath+set}" = set; then
4210 enableval="$enable_rpath"
4211
4212 if test "$enableval" = yes; then
4213 ac_cv_use_rpath='wxUSE_RPATH=yes'
4214 else
4215 ac_cv_use_rpath='wxUSE_RPATH=no'
4216 fi
4217
4218 else
4219
4220 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4223 else
4224 no_cache=1
4225 fi
4226
4227 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4228
4229 fi;
4230
4231 eval "$ac_cv_use_rpath"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4234 fi
4235
4236 if test "$wxUSE_RPATH" = yes; then
4237 echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4239 else
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4242 fi
4243
4244
4245
4246
4247
4248 enablestring=
4249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4250 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4251 no_cache=0
4252 # Check whether --enable-intl or --disable-intl was given.
4253 if test "${enable_intl+set}" = set; then
4254 enableval="$enable_intl"
4255
4256 if test "$enableval" = yes; then
4257 ac_cv_use_intl='wxUSE_INTL=yes'
4258 else
4259 ac_cv_use_intl='wxUSE_INTL=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4272
4273 fi;
4274
4275 eval "$ac_cv_use_intl"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4278 fi
4279
4280 if test "$wxUSE_INTL" = yes; then
4281 echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6
4283 else
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4286 fi
4287
4288
4289 enablestring=
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4292 no_cache=0
4293 # Check whether --enable-config or --disable-config was given.
4294 if test "${enable_config+set}" = set; then
4295 enableval="$enable_config"
4296
4297 if test "$enableval" = yes; then
4298 ac_cv_use_config='wxUSE_CONFIG=yes'
4299 else
4300 ac_cv_use_config='wxUSE_CONFIG=no'
4301 fi
4302
4303 else
4304
4305 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 else
4309 no_cache=1
4310 fi
4311
4312 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4313
4314 fi;
4315
4316 eval "$ac_cv_use_config"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4319 fi
4320
4321 if test "$wxUSE_CONFIG" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4324 else
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4327 fi
4328
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-protocols or --disable-protocols was given.
4336 if test "${enable_protocols+set}" = set; then
4337 enableval="$enable_protocols"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4341 else
4342 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4355
4356 fi;
4357
4358 eval "$ac_cv_use_protocols"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_PROTOCOL" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-ftp or --disable-ftp was given.
4377 if test "${enable_ftp+set}" = set; then
4378 enableval="$enable_ftp"
4379
4380 if test "$enableval" = yes; then
4381 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4382 else
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4384 fi
4385
4386 else
4387
4388 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4391 else
4392 no_cache=1
4393 fi
4394
4395 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4396
4397 fi;
4398
4399 eval "$ac_cv_use_ftp"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4407 else
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4410 fi
4411
4412
4413 enablestring=
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4416 no_cache=0
4417 # Check whether --enable-http or --disable-http was given.
4418 if test "${enable_http+set}" = set; then
4419 enableval="$enable_http"
4420
4421 if test "$enableval" = yes; then
4422 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4423 else
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4425 fi
4426
4427 else
4428
4429 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4432 else
4433 no_cache=1
4434 fi
4435
4436 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4437
4438 fi;
4439
4440 eval "$ac_cv_use_http"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4448 else
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4451 fi
4452
4453
4454 enablestring=
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-fileproto or --disable-fileproto was given.
4459 if test "${enable_fileproto+set}" = set; then
4460 enableval="$enable_fileproto"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4464 else
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4478
4479 fi;
4480
4481 eval "$ac_cv_use_fileproto"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-sockets or --disable-sockets was given.
4500 if test "${enable_sockets+set}" = set; then
4501 enableval="$enable_sockets"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4505 else
4506 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4519
4520 fi;
4521
4522 eval "$ac_cv_use_sockets"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_SOCKETS" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-ole or --disable-ole was given.
4541 if test "${enable_ole+set}" = set; then
4542 enableval="$enable_ole"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_ole='wxUSE_OLE=yes'
4546 else
4547 ac_cv_use_ole='wxUSE_OLE=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4560
4561 fi;
4562
4563 eval "$ac_cv_use_ole"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_OLE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-dataobj or --disable-dataobj was given.
4582 if test "${enable_dataobj+set}" = set; then
4583 enableval="$enable_dataobj"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4587 else
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4601
4602 fi;
4603
4604 eval "$ac_cv_use_dataobj"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_DATAOBJ" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-ipc or --disable-ipc was given.
4624 if test "${enable_ipc+set}" = set; then
4625 enableval="$enable_ipc"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_ipc='wxUSE_IPC=yes'
4629 else
4630 ac_cv_use_ipc='wxUSE_IPC=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4643
4644 fi;
4645
4646 eval "$ac_cv_use_ipc"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_IPC" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660
4661 enablestring=
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4664 no_cache=0
4665 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4666 if test "${enable_apple_ieee+set}" = set; then
4667 enableval="$enable_apple_ieee"
4668
4669 if test "$enableval" = yes; then
4670 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4671 else
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4673 fi
4674
4675 else
4676
4677 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4680 else
4681 no_cache=1
4682 fi
4683
4684 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4685
4686 fi;
4687
4688 eval "$ac_cv_use_apple_ieee"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4691 fi
4692
4693 if test "$wxUSE_APPLE_IEEE" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4696 else
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4699 fi
4700
4701
4702 enablestring=
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4705 no_cache=0
4706 # Check whether --enable-arcstream or --disable-arcstream was given.
4707 if test "${enable_arcstream+set}" = set; then
4708 enableval="$enable_arcstream"
4709
4710 if test "$enableval" = yes; then
4711 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4712 else
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4714 fi
4715
4716 else
4717
4718 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4721 else
4722 no_cache=1
4723 fi
4724
4725 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4726
4727 fi;
4728
4729 eval "$ac_cv_use_arcstream"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4737 else
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4740 fi
4741
4742
4743 enablestring=
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4746 no_cache=0
4747 # Check whether --enable-backtrace or --disable-backtrace was given.
4748 if test "${enable_backtrace+set}" = set; then
4749 enableval="$enable_backtrace"
4750
4751 if test "$enableval" = yes; then
4752 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4753 else
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4755 fi
4756
4757 else
4758
4759 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 else
4763 no_cache=1
4764 fi
4765
4766 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4767
4768 fi;
4769
4770 eval "$ac_cv_use_backtrace"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4773 fi
4774
4775 if test "$wxUSE_STACKWALKER" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4778 else
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4781 fi
4782
4783
4784 enablestring=
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4787 no_cache=0
4788 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4789 if test "${enable_catch_segvs+set}" = set; then
4790 enableval="$enable_catch_segvs"
4791
4792 if test "$enableval" = yes; then
4793 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4794 else
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4796 fi
4797
4798 else
4799
4800 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4803 else
4804 no_cache=1
4805 fi
4806
4807 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4808
4809 fi;
4810
4811 eval "$ac_cv_use_catch_segvs"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4814 fi
4815
4816 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4819 else
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4822 fi
4823
4824
4825 enablestring=
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4828 no_cache=0
4829 # Check whether --enable-cmdline or --disable-cmdline was given.
4830 if test "${enable_cmdline+set}" = set; then
4831 enableval="$enable_cmdline"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4835 else
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4837 fi
4838
4839 else
4840
4841 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4849
4850 fi;
4851
4852 eval "$ac_cv_use_cmdline"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4855 fi
4856
4857 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4860 else
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4863 fi
4864
4865
4866 enablestring=
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4869 no_cache=0
4870 # Check whether --enable-datetime or --disable-datetime was given.
4871 if test "${enable_datetime+set}" = set; then
4872 enableval="$enable_datetime"
4873
4874 if test "$enableval" = yes; then
4875 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4876 else
4877 ac_cv_use_datetime='wxUSE_DATETIME=no'
4878 fi
4879
4880 else
4881
4882 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 else
4886 no_cache=1
4887 fi
4888
4889 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4890
4891 fi;
4892
4893 eval "$ac_cv_use_datetime"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4896 fi
4897
4898 if test "$wxUSE_DATETIME" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4901 else
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4904 fi
4905
4906
4907 enablestring=
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4910 no_cache=0
4911 # Check whether --enable-debugreport or --disable-debugreport was given.
4912 if test "${enable_debugreport+set}" = set; then
4913 enableval="$enable_debugreport"
4914
4915 if test "$enableval" = yes; then
4916 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4917 else
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4919 fi
4920
4921 else
4922
4923 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4926 else
4927 no_cache=1
4928 fi
4929
4930 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4931
4932 fi;
4933
4934 eval "$ac_cv_use_debugreport"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4937 fi
4938
4939 if test "$wxUSE_DEBUGREPORT" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4942 else
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4945 fi
4946
4947
4948 enablestring=
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4951 no_cache=0
4952 # Check whether --enable-dialupman or --disable-dialupman was given.
4953 if test "${enable_dialupman+set}" = set; then
4954 enableval="$enable_dialupman"
4955
4956 if test "$enableval" = yes; then
4957 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4958 else
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4960 fi
4961
4962 else
4963
4964 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4967 else
4968 no_cache=1
4969 fi
4970
4971 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4972
4973 fi;
4974
4975 eval "$ac_cv_use_dialupman"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4981 echo "$as_me:$LINENO: result: yes" >&5
4982 echo "${ECHO_T}yes" >&6
4983 else
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4986 fi
4987
4988
4989 enablestring=
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4992 no_cache=0
4993 # Check whether --enable-dynlib or --disable-dynlib was given.
4994 if test "${enable_dynlib+set}" = set; then
4995 enableval="$enable_dynlib"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4999 else
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5013
5014 fi;
5015
5016 eval "$ac_cv_use_dynlib"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5024 else
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5027 fi
5028
5029
5030 enablestring=
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5033 no_cache=0
5034 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5035 if test "${enable_dynamicloader+set}" = set; then
5036 enableval="$enable_dynamicloader"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5040 else
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5054
5055 fi;
5056
5057 eval "$ac_cv_use_dynamicloader"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5060 fi
5061
5062 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5065 else
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5068 fi
5069
5070
5071 enablestring=
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5074 no_cache=0
5075 # Check whether --enable-exceptions or --disable-exceptions was given.
5076 if test "${enable_exceptions+set}" = set; then
5077 enableval="$enable_exceptions"
5078
5079 if test "$enableval" = yes; then
5080 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5081 else
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5083 fi
5084
5085 else
5086
5087 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5090 else
5091 no_cache=1
5092 fi
5093
5094 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5095
5096 fi;
5097
5098 eval "$ac_cv_use_exceptions"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5101 fi
5102
5103 if test "$wxUSE_EXCEPTIONS" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5106 else
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5109 fi
5110
5111
5112 enablestring=
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5115 no_cache=0
5116 # Check whether --enable-ffile or --disable-ffile was given.
5117 if test "${enable_ffile+set}" = set; then
5118 enableval="$enable_ffile"
5119
5120 if test "$enableval" = yes; then
5121 ac_cv_use_ffile='wxUSE_FFILE=yes'
5122 else
5123 ac_cv_use_ffile='wxUSE_FFILE=no'
5124 fi
5125
5126 else
5127
5128 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5131 else
5132 no_cache=1
5133 fi
5134
5135 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5136
5137 fi;
5138
5139 eval "$ac_cv_use_ffile"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_FFILE" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5147 else
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5150 fi
5151
5152
5153 enablestring=
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5156 no_cache=0
5157 # Check whether --enable-file or --disable-file was given.
5158 if test "${enable_file+set}" = set; then
5159 enableval="$enable_file"
5160
5161 if test "$enableval" = yes; then
5162 ac_cv_use_file='wxUSE_FILE=yes'
5163 else
5164 ac_cv_use_file='wxUSE_FILE=no'
5165 fi
5166
5167 else
5168
5169 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5172 else
5173 no_cache=1
5174 fi
5175
5176 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5177
5178 fi;
5179
5180 eval "$ac_cv_use_file"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5183 fi
5184
5185 if test "$wxUSE_FILE" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5188 else
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 fi
5192
5193
5194 enablestring=
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5197 no_cache=0
5198 # Check whether --enable-filesystem or --disable-filesystem was given.
5199 if test "${enable_filesystem+set}" = set; then
5200 enableval="$enable_filesystem"
5201
5202 if test "$enableval" = yes; then
5203 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5204 else
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5218
5219 fi;
5220
5221 eval "$ac_cv_use_filesystem"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_FILESYSTEM" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5229 else
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5232 fi
5233
5234
5235 enablestring=
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5238 no_cache=0
5239 # Check whether --enable-fontmap or --disable-fontmap was given.
5240 if test "${enable_fontmap+set}" = set; then
5241 enableval="$enable_fontmap"
5242
5243 if test "$enableval" = yes; then
5244 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5245 else
5246 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5247 fi
5248
5249 else
5250
5251 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5254 else
5255 no_cache=1
5256 fi
5257
5258 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5259
5260 fi;
5261
5262 eval "$ac_cv_use_fontmap"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test "$wxUSE_FONTMAP" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5270 else
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5273 fi
5274
5275
5276 enablestring=
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5279 no_cache=0
5280 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5281 if test "${enable_fs_inet+set}" = set; then
5282 enableval="$enable_fs_inet"
5283
5284 if test "$enableval" = yes; then
5285 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5286 else
5287 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5300
5301 fi;
5302
5303 eval "$ac_cv_use_fs_inet"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_FS_INET" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5314 fi
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5322 if test "${enable_fs_zip+set}" = set; then
5323 enableval="$enable_fs_zip"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5327 else
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5341
5342 fi;
5343
5344 eval "$ac_cv_use_fs_zip"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_FS_ZIP" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-geometry or --disable-geometry was given.
5363 if test "${enable_geometry+set}" = set; then
5364 enableval="$enable_geometry"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5368 else
5369 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5382
5383 fi;
5384
5385 eval "$ac_cv_use_geometry"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_GEOMETRY" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399 enablestring=
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5402 no_cache=0
5403 # Check whether --enable-log or --disable-log was given.
5404 if test "${enable_log+set}" = set; then
5405 enableval="$enable_log"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_log='wxUSE_LOG=yes'
5409 else
5410 ac_cv_use_log='wxUSE_LOG=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5423
5424 fi;
5425
5426 eval "$ac_cv_use_log"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_LOG" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5434 else
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5437 fi
5438
5439
5440 enablestring=
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5443 no_cache=0
5444 # Check whether --enable-longlong or --disable-longlong was given.
5445 if test "${enable_longlong+set}" = set; then
5446 enableval="$enable_longlong"
5447
5448 if test "$enableval" = yes; then
5449 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5450 else
5451 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5452 fi
5453
5454 else
5455
5456 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 else
5460 no_cache=1
5461 fi
5462
5463 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5464
5465 fi;
5466
5467 eval "$ac_cv_use_longlong"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_LONGLONG" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5475 else
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5478 fi
5479
5480
5481 enablestring=
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5484 no_cache=0
5485 # Check whether --enable-mimetype or --disable-mimetype was given.
5486 if test "${enable_mimetype+set}" = set; then
5487 enableval="$enable_mimetype"
5488
5489 if test "$enableval" = yes; then
5490 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5491 else
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5505
5506 fi;
5507
5508 eval "$ac_cv_use_mimetype"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5511 fi
5512
5513 if test "$wxUSE_MIMETYPE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5516 else
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5519 fi
5520
5521
5522 enablestring=
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5525 no_cache=0
5526 # Check whether --enable-mslu or --disable-mslu was given.
5527 if test "${enable_mslu+set}" = set; then
5528 enableval="$enable_mslu"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5532 else
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5546
5547 fi;
5548
5549 eval "$ac_cv_use_mslu"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_UNICODE_MSLU" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5557 else
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5560 fi
5561
5562
5563 enablestring=
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-snglinst or --disable-snglinst was given.
5568 if test "${enable_snglinst+set}" = set; then
5569 enableval="$enable_snglinst"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5573 else
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5587
5588 fi;
5589
5590 eval "$ac_cv_use_snglinst"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603
5604 enablestring=
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5607 no_cache=0
5608 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5609 if test "${enable_std_iostreams+set}" = set; then
5610 enableval="$enable_std_iostreams"
5611
5612 if test "$enableval" = yes; then
5613 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5614 else
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5628
5629 fi;
5630
5631 eval "$ac_cv_use_std_iostreams"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5634 fi
5635
5636 if test "$wxUSE_STD_IOSTREAM" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5642 fi
5643
5644
5645 enablestring=
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-std_string or --disable-std_string was given.
5650 if test "${enable_std_string+set}" = set; then
5651 enableval="$enable_std_string"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5655 else
5656 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5669
5670 fi;
5671
5672 eval "$ac_cv_use_std_string"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_STD_STRING" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5683 fi
5684
5685
5686 enablestring=
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5689 no_cache=0
5690 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5691 if test "${enable_stdpaths+set}" = set; then
5692 enableval="$enable_stdpaths"
5693
5694 if test "$enableval" = yes; then
5695 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5696 else
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5710
5711 fi;
5712
5713 eval "$ac_cv_use_stdpaths"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5716 fi
5717
5718 if test "$wxUSE_STDPATHS" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5732 if test "${enable_stopwatch+set}" = set; then
5733 enableval="$enable_stopwatch"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5737 else
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5751
5752 fi;
5753
5754 eval "$ac_cv_use_stopwatch"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_STOPWATCH" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 enablestring=
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5771 no_cache=0
5772 # Check whether --enable-streams or --disable-streams was given.
5773 if test "${enable_streams+set}" = set; then
5774 enableval="$enable_streams"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_streams='wxUSE_STREAMS=yes'
5778 else
5779 ac_cv_use_streams='wxUSE_STREAMS=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5792
5793 fi;
5794
5795 eval "$ac_cv_use_streams"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5798 fi
5799
5800 if test "$wxUSE_STREAMS" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5803 else
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5806 fi
5807
5808
5809 enablestring=
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5812 no_cache=0
5813 # Check whether --enable-system_options or --disable-system_options was given.
5814 if test "${enable_system_options+set}" = set; then
5815 enableval="$enable_system_options"
5816
5817 if test "$enableval" = yes; then
5818 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5819 else
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5821 fi
5822
5823 else
5824
5825 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 else
5829 no_cache=1
5830 fi
5831
5832 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5833
5834 fi;
5835
5836 eval "$ac_cv_use_system_options"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5839 fi
5840
5841 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5844 else
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5847 fi
5848
5849
5850 enablestring=
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5853 no_cache=0
5854 # Check whether --enable-textbuf or --disable-textbuf was given.
5855 if test "${enable_textbuf+set}" = set; then
5856 enableval="$enable_textbuf"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5860 else
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5874
5875 fi;
5876
5877 eval "$ac_cv_use_textbuf"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_TEXTBUFFER" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5885 else
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5888 fi
5889
5890
5891 enablestring=
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5894 no_cache=0
5895 # Check whether --enable-textfile or --disable-textfile was given.
5896 if test "${enable_textfile+set}" = set; then
5897 enableval="$enable_textfile"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5901 else
5902 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5915
5916 fi;
5917
5918 eval "$ac_cv_use_textfile"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5921 fi
5922
5923 if test "$wxUSE_TEXTFILE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5926 else
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5929 fi
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-timer or --disable-timer was given.
5937 if test "${enable_timer+set}" = set; then
5938 enableval="$enable_timer"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_timer='wxUSE_TIMER=yes'
5942 else
5943 ac_cv_use_timer='wxUSE_TIMER=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5956
5957 fi;
5958
5959 eval "$ac_cv_use_timer"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_TIMER" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-unicode or --disable-unicode was given.
5978 if test "${enable_unicode+set}" = set; then
5979 enableval="$enable_unicode"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5983 else
5984 ac_cv_use_unicode='wxUSE_UNICODE=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5997
5998 fi;
5999
6000 eval "$ac_cv_use_unicode"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_UNICODE" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-sound or --disable-sound was given.
6019 if test "${enable_sound+set}" = set; then
6020 enableval="$enable_sound"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_sound='wxUSE_SOUND=yes'
6024 else
6025 ac_cv_use_sound='wxUSE_SOUND=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6038
6039 fi;
6040
6041 eval "$ac_cv_use_sound"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_SOUND" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6060 if test "${enable_mediactrl+set}" = set; then
6061 enableval="$enable_mediactrl"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6065 else
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6079
6080 fi;
6081
6082 eval "$ac_cv_use_mediactrl"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_MEDIACTRL" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6101 if test "${enable_wxprintfv+set}" = set; then
6102 enableval="$enable_wxprintfv"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6106 else
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6120
6121 fi;
6122
6123 eval "$ac_cv_use_wxprintfv"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137 enablestring=
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6140 no_cache=0
6141 # Check whether --enable-zipstream or --disable-zipstream was given.
6142 if test "${enable_zipstream+set}" = set; then
6143 enableval="$enable_zipstream"
6144
6145 if test "$enableval" = yes; then
6146 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6147 else
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6149 fi
6150
6151 else
6152
6153 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6156 else
6157 no_cache=1
6158 fi
6159
6160 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6161
6162 fi;
6163
6164 eval "$ac_cv_use_zipstream"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6167 fi
6168
6169 if test "$wxUSE_ZIPSTREAM" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6172 else
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6175 fi
6176
6177
6178
6179 enablestring=
6180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6181 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6182 no_cache=0
6183 # Check whether --enable-url or --disable-url was given.
6184 if test "${enable_url+set}" = set; then
6185 enableval="$enable_url"
6186
6187 if test "$enableval" = yes; then
6188 ac_cv_use_url='wxUSE_URL=yes'
6189 else
6190 ac_cv_use_url='wxUSE_URL=no'
6191 fi
6192
6193 else
6194
6195 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x ; then
6197 eval "DEFAULT_$LINE"
6198 else
6199 no_cache=1
6200 fi
6201
6202 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6203
6204 fi;
6205
6206 eval "$ac_cv_use_url"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6209 fi
6210
6211 if test "$wxUSE_URL" = yes; then
6212 echo "$as_me:$LINENO: result: yes" >&5
6213 echo "${ECHO_T}yes" >&6
6214 else
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6217 fi
6218
6219
6220 enablestring=
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6223 no_cache=0
6224 # Check whether --enable-protocol or --disable-protocol was given.
6225 if test "${enable_protocol+set}" = set; then
6226 enableval="$enable_protocol"
6227
6228 if test "$enableval" = yes; then
6229 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6230 else
6231 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6232 fi
6233
6234 else
6235
6236 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6239 else
6240 no_cache=1
6241 fi
6242
6243 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6244
6245 fi;
6246
6247 eval "$ac_cv_use_protocol"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6250 fi
6251
6252 if test "$wxUSE_PROTOCOL" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6255 else
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6258 fi
6259
6260
6261 enablestring=
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6264 no_cache=0
6265 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6266 if test "${enable_protocol_http+set}" = set; then
6267 enableval="$enable_protocol_http"
6268
6269 if test "$enableval" = yes; then
6270 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6271 else
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6273 fi
6274
6275 else
6276
6277 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6280 else
6281 no_cache=1
6282 fi
6283
6284 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6285
6286 fi;
6287
6288 eval "$ac_cv_use_protocol_http"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6291 fi
6292
6293 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6296 else
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6299 fi
6300
6301
6302 enablestring=
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6305 no_cache=0
6306 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6307 if test "${enable_protocol_ftp+set}" = set; then
6308 enableval="$enable_protocol_ftp"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6312 else
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6314 fi
6315
6316 else
6317
6318 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6326
6327 fi;
6328
6329 eval "$ac_cv_use_protocol_ftp"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6332 fi
6333
6334 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6340 fi
6341
6342
6343 enablestring=
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6346 no_cache=0
6347 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6348 if test "${enable_protocol_file+set}" = set; then
6349 enableval="$enable_protocol_file"
6350
6351 if test "$enableval" = yes; then
6352 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6353 else
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6355 fi
6356
6357 else
6358
6359 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6362 else
6363 no_cache=1
6364 fi
6365
6366 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6367
6368 fi;
6369
6370 eval "$ac_cv_use_protocol_file"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6373 fi
6374
6375 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6378 else
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6381 fi
6382
6383
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-threads or --disable-threads was given.
6392 if test "${enable_threads+set}" = set; then
6393 enableval="$enable_threads"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_threads='wxUSE_THREADS=yes'
6397 else
6398 ac_cv_use_threads='wxUSE_THREADS=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6411
6412 fi;
6413
6414 eval "$ac_cv_use_threads"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_THREADS" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 if test "$wxUSE_GUI" = "yes"; then
6429
6430
6431
6432 enablestring=
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6435 no_cache=0
6436 # Check whether --enable-docview or --disable-docview was given.
6437 if test "${enable_docview+set}" = set; then
6438 enableval="$enable_docview"
6439
6440 if test "$enableval" = yes; then
6441 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6442 else
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6456
6457 fi;
6458
6459 eval "$ac_cv_use_docview"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6467 else
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6470 fi
6471
6472
6473 enablestring=
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6476 no_cache=0
6477 # Check whether --enable-help or --disable-help was given.
6478 if test "${enable_help+set}" = set; then
6479 enableval="$enable_help"
6480
6481 if test "$enableval" = yes; then
6482 ac_cv_use_help='wxUSE_HELP=yes'
6483 else
6484 ac_cv_use_help='wxUSE_HELP=no'
6485 fi
6486
6487 else
6488
6489 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6492 else
6493 no_cache=1
6494 fi
6495
6496 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6497
6498 fi;
6499
6500 eval "$ac_cv_use_help"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_HELP" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6508 else
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6511 fi
6512
6513
6514 enablestring=
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6517 no_cache=0
6518 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6519 if test "${enable_mshtmlhelp+set}" = set; then
6520 enableval="$enable_mshtmlhelp"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6524 else
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6538
6539 fi;
6540
6541 eval "$ac_cv_use_mshtmlhelp"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_MS_HTML_HELP" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6549 else
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-html or --disable-html was given.
6560 if test "${enable_html+set}" = set; then
6561 enableval="$enable_html"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_html='wxUSE_HTML=yes'
6565 else
6566 ac_cv_use_html='wxUSE_HTML=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6579
6580 fi;
6581
6582 eval "$ac_cv_use_html"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_HTML" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6601 if test "${enable_htmlhelp+set}" = set; then
6602 enableval="$enable_htmlhelp"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6606 else
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6620
6621 fi;
6622
6623 eval "$ac_cv_use_htmlhelp"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_WXHTML_HELP" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-xrc or --disable-xrc was given.
6642 if test "${enable_xrc+set}" = set; then
6643 enableval="$enable_xrc"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_xrc='wxUSE_XRC=yes'
6647 else
6648 ac_cv_use_xrc='wxUSE_XRC=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6661
6662 fi;
6663
6664 eval "$ac_cv_use_xrc"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_XRC" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678 enablestring=
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6681 no_cache=0
6682 # Check whether --enable-constraints or --disable-constraints was given.
6683 if test "${enable_constraints+set}" = set; then
6684 enableval="$enable_constraints"
6685
6686 if test "$enableval" = yes; then
6687 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6688 else
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6690 fi
6691
6692 else
6693
6694 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6697 else
6698 no_cache=1
6699 fi
6700
6701 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6702
6703 fi;
6704
6705 eval "$ac_cv_use_constraints"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_CONSTRAINTS" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6713 else
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6716 fi
6717
6718
6719 enablestring=
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6722 no_cache=0
6723 # Check whether --enable-printarch or --disable-printarch was given.
6724 if test "${enable_printarch+set}" = set; then
6725 enableval="$enable_printarch"
6726
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6729 else
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6731 fi
6732
6733 else
6734
6735 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6743
6744 fi;
6745
6746 eval "$ac_cv_use_printarch"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6754 else
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6757 fi
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-mdi or --disable-mdi was given.
6765 if test "${enable_mdi+set}" = set; then
6766 enableval="$enable_mdi"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_mdi='wxUSE_MDI=yes'
6770 else
6771 ac_cv_use_mdi='wxUSE_MDI=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6784
6785 fi;
6786
6787 eval "$ac_cv_use_mdi"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_MDI" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6806 if test "${enable_mdidoc+set}" = set; then
6807 enableval="$enable_mdidoc"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6811 else
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6825
6826 fi;
6827
6828 eval "$ac_cv_use_mdidoc"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-loggui or --disable-loggui was given.
6847 if test "${enable_loggui+set}" = set; then
6848 enableval="$enable_loggui"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6852 else
6853 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6854 fi
6855
6856 else
6857
6858 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6866
6867 fi;
6868
6869 eval "$ac_cv_use_loggui"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_LOGGUI" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-logwin or --disable-logwin was given.
6888 if test "${enable_logwin+set}" = set; then
6889 enableval="$enable_logwin"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6893 else
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6907
6908 fi;
6909
6910 eval "$ac_cv_use_logwin"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_LOGWINDOW" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-logdialog or --disable-logdialog was given.
6929 if test "${enable_logdialog+set}" = set; then
6930 enableval="$enable_logdialog"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6934 else
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6948
6949 fi;
6950
6951 eval "$ac_cv_use_logdialog"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_LOGDIALOG" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-webkit or --disable-webkit was given.
6970 if test "${enable_webkit+set}" = set; then
6971 enableval="$enable_webkit"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6975 else
6976 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6989
6990 fi;
6991
6992 eval "$ac_cv_use_webkit"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_WEBKIT" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006
7007 enablestring=
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7010 no_cache=0
7011 # Check whether --enable-postscript or --disable-postscript was given.
7012 if test "${enable_postscript+set}" = set; then
7013 enableval="$enable_postscript"
7014
7015 if test "$enableval" = yes; then
7016 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7017 else
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7019 fi
7020
7021 else
7022
7023 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7026 else
7027 no_cache=1
7028 fi
7029
7030 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7031
7032 fi;
7033
7034 eval "$ac_cv_use_postscript"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7037 fi
7038
7039 if test "$wxUSE_POSTSCRIPT" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7042 else
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7045 fi
7046
7047
7048
7049
7050
7051 enablestring=
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7054 no_cache=0
7055 # Check whether --enable-prologio or --disable-prologio was given.
7056 if test "${enable_prologio+set}" = set; then
7057 enableval="$enable_prologio"
7058
7059 if test "$enableval" = yes; then
7060 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7061 else
7062 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7063 fi
7064
7065 else
7066
7067 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7070 else
7071 no_cache=1
7072 fi
7073
7074 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7075
7076 fi;
7077
7078 eval "$ac_cv_use_prologio"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7081 fi
7082
7083 if test "$wxUSE_PROLOGIO" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7086 else
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7089 fi
7090
7091
7092 enablestring=
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7095 no_cache=0
7096 # Check whether --enable-resources or --disable-resources was given.
7097 if test "${enable_resources+set}" = set; then
7098 enableval="$enable_resources"
7099
7100 if test "$enableval" = yes; then
7101 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7102 else
7103 ac_cv_use_resources='wxUSE_RESOURCES=no'
7104 fi
7105
7106 else
7107
7108 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7111 else
7112 no_cache=1
7113 fi
7114
7115 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7116
7117 fi;
7118
7119 eval "$ac_cv_use_resources"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7122 fi
7123
7124 if test "$wxUSE_RESOURCES" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7127 else
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7130 fi
7131
7132
7133
7134
7135 enablestring=
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7138 no_cache=0
7139 # Check whether --enable-clipboard or --disable-clipboard was given.
7140 if test "${enable_clipboard+set}" = set; then
7141 enableval="$enable_clipboard"
7142
7143 if test "$enableval" = yes; then
7144 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7145 else
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7147 fi
7148
7149 else
7150
7151 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7154 else
7155 no_cache=1
7156 fi
7157
7158 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7159
7160 fi;
7161
7162 eval "$ac_cv_use_clipboard"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7165 fi
7166
7167 if test "$wxUSE_CLIPBOARD" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7170 else
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7173 fi
7174
7175
7176 enablestring=
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7179 no_cache=0
7180 # Check whether --enable-dnd or --disable-dnd was given.
7181 if test "${enable_dnd+set}" = set; then
7182 enableval="$enable_dnd"
7183
7184 if test "$enableval" = yes; then
7185 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7186 else
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7188 fi
7189
7190 else
7191
7192 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7195 else
7196 no_cache=1
7197 fi
7198
7199 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7200
7201 fi;
7202
7203 eval "$ac_cv_use_dnd"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7206 fi
7207
7208 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7211 else
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7214 fi
7215
7216
7217 enablestring=
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7220 no_cache=0
7221 # Check whether --enable-metafile or --disable-metafile was given.
7222 if test "${enable_metafile+set}" = set; then
7223 enableval="$enable_metafile"
7224
7225 if test "$enableval" = yes; then
7226 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7227 else
7228 ac_cv_use_metafile='wxUSE_METAFILE=no'
7229 fi
7230
7231 else
7232
7233 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7236 else
7237 no_cache=1
7238 fi
7239
7240 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7241
7242 fi;
7243
7244 eval "$ac_cv_use_metafile"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7247 fi
7248
7249 if test "$wxUSE_METAFILE" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7252 else
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7255 fi
7256
7257
7258
7259
7260
7261 enablestring=
7262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7264 no_cache=0
7265 # Check whether --enable-controls or --disable-controls was given.
7266 if test "${enable_controls+set}" = set; then
7267 enableval="$enable_controls"
7268
7269 if test "$enableval" = yes; then
7270 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7271 else
7272 ac_cv_use_controls='wxUSE_CONTROLS=no'
7273 fi
7274
7275 else
7276
7277 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x ; then
7279 eval "DEFAULT_$LINE"
7280 else
7281 no_cache=1
7282 fi
7283
7284 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7285
7286 fi;
7287
7288 eval "$ac_cv_use_controls"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7291 fi
7292
7293 if test "$wxUSE_CONTROLS" = yes; then
7294 echo "$as_me:$LINENO: result: yes" >&5
7295 echo "${ECHO_T}yes" >&6
7296 else
7297 echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6
7299 fi
7300
7301
7302 if test "$wxUSE_CONTROLS" = "yes"; then
7303 DEFAULT_wxUSE_ACCEL=yes
7304 DEFAULT_wxUSE_BMPBUTTON=yes
7305 DEFAULT_wxUSE_BUTTON=yes
7306 DEFAULT_wxUSE_CALCTRL=yes
7307 DEFAULT_wxUSE_CARET=yes
7308 DEFAULT_wxUSE_COMBOBOX=yes
7309 DEFAULT_wxUSE_CHECKBOX=yes
7310 DEFAULT_wxUSE_CHECKLISTBOX=yes
7311 DEFAULT_wxUSE_CHOICE=yes
7312 DEFAULT_wxUSE_CHOICEBOOK=yes
7313 DEFAULT_wxUSE_DATEPICKCTRL=yes
7314 DEFAULT_wxUSE_GAUGE=yes
7315 DEFAULT_wxUSE_GRID=yes
7316 DEFAULT_wxUSE_IMAGLIST=yes
7317 DEFAULT_wxUSE_LISTBOOK=yes
7318 DEFAULT_wxUSE_LISTBOX=yes
7319 DEFAULT_wxUSE_LISTCTRL=yes
7320 DEFAULT_wxUSE_NOTEBOOK=yes
7321 DEFAULT_wxUSE_RADIOBOX=yes
7322 DEFAULT_wxUSE_RADIOBTN=yes
7323 DEFAULT_wxUSE_SASH=yes
7324 DEFAULT_wxUSE_SCROLLBAR=yes
7325 DEFAULT_wxUSE_SLIDER=yes
7326 DEFAULT_wxUSE_SPINBTN=yes
7327 DEFAULT_wxUSE_SPINCTRL=yes
7328 DEFAULT_wxUSE_SPLITTER=yes
7329 DEFAULT_wxUSE_STATBMP=yes
7330 DEFAULT_wxUSE_STATBOX=yes
7331 DEFAULT_wxUSE_STATLINE=yes
7332 DEFAULT_wxUSE_STATUSBAR=yes
7333 DEFAULT_wxUSE_TAB_DIALOG=yes
7334 DEFAULT_wxUSE_TOGGLEBTN=yes
7335 DEFAULT_wxUSE_TOOLBAR=yes
7336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7337 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7338 DEFAULT_wxUSE_TOOLTIPS=yes
7339 DEFAULT_wxUSE_TREECTRL=yes
7340 DEFAULT_wxUSE_POPUPWIN=yes
7341 DEFAULT_wxUSE_TIPWINDOW=yes
7342 elif test "$wxUSE_CONTROLS" = "no"; then
7343 DEFAULT_wxUSE_ACCEL=no
7344 DEFAULT_wxUSE_BMPBUTTON=no
7345 DEFAULT_wxUSE_BUTTON=no
7346 DEFAULT_wxUSE_CALCTRL=no
7347 DEFAULT_wxUSE_CARET=no
7348 DEFAULT_wxUSE_COMBOBOX=no
7349 DEFAULT_wxUSE_CHECKBOX=no
7350 DEFAULT_wxUSE_CHECKLISTBOX=no
7351 DEFAULT_wxUSE_CHOICE=no
7352 DEFAULT_wxUSE_CHOICEBOOK=no
7353 DEFAULT_wxUSE_DATEPICKCTRL=no
7354 DEFAULT_wxUSE_GAUGE=no
7355 DEFAULT_wxUSE_GRID=no
7356 DEFAULT_wxUSE_IMAGLIST=no
7357 DEFAULT_wxUSE_LISTBOOK=no
7358 DEFAULT_wxUSE_LISTBOX=no
7359 DEFAULT_wxUSE_LISTCTRL=no
7360 DEFAULT_wxUSE_NOTEBOOK=no
7361 DEFAULT_wxUSE_RADIOBOX=no
7362 DEFAULT_wxUSE_RADIOBTN=no
7363 DEFAULT_wxUSE_SASH=no
7364 DEFAULT_wxUSE_SCROLLBAR=no
7365 DEFAULT_wxUSE_SLIDER=no
7366 DEFAULT_wxUSE_SPINBTN=no
7367 DEFAULT_wxUSE_SPINCTRL=no
7368 DEFAULT_wxUSE_SPLITTER=no
7369 DEFAULT_wxUSE_STATBMP=no
7370 DEFAULT_wxUSE_STATBOX=no
7371 DEFAULT_wxUSE_STATLINE=no
7372 DEFAULT_wxUSE_STATUSBAR=no
7373 DEFAULT_wxUSE_TAB_DIALOG=no
7374 DEFAULT_wxUSE_TOGGLEBTN=no
7375 DEFAULT_wxUSE_TOOLBAR=no
7376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7378 DEFAULT_wxUSE_TOOLTIPS=no
7379 DEFAULT_wxUSE_TREECTRL=no
7380 DEFAULT_wxUSE_POPUPWIN=no
7381 DEFAULT_wxUSE_TIPWINDOW=no
7382 fi
7383
7384
7385 enablestring=
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7388 no_cache=0
7389 # Check whether --enable-accel or --disable-accel was given.
7390 if test "${enable_accel+set}" = set; then
7391 enableval="$enable_accel"
7392
7393 if test "$enableval" = yes; then
7394 ac_cv_use_accel='wxUSE_ACCEL=yes'
7395 else
7396 ac_cv_use_accel='wxUSE_ACCEL=no'
7397 fi
7398
7399 else
7400
7401 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7404 else
7405 no_cache=1
7406 fi
7407
7408 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7409
7410 fi;
7411
7412 eval "$ac_cv_use_accel"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7415 fi
7416
7417 if test "$wxUSE_ACCEL" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7420 else
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7423 fi
7424
7425
7426 enablestring=
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7429 no_cache=0
7430 # Check whether --enable-button or --disable-button was given.
7431 if test "${enable_button+set}" = set; then
7432 enableval="$enable_button"
7433
7434 if test "$enableval" = yes; then
7435 ac_cv_use_button='wxUSE_BUTTON=yes'
7436 else
7437 ac_cv_use_button='wxUSE_BUTTON=no'
7438 fi
7439
7440 else
7441
7442 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7445 else
7446 no_cache=1
7447 fi
7448
7449 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7450
7451 fi;
7452
7453 eval "$ac_cv_use_button"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7456 fi
7457
7458 if test "$wxUSE_BUTTON" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7461 else
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7464 fi
7465
7466
7467 enablestring=
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7470 no_cache=0
7471 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7472 if test "${enable_bmpbutton+set}" = set; then
7473 enableval="$enable_bmpbutton"
7474
7475 if test "$enableval" = yes; then
7476 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7477 else
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7479 fi
7480
7481 else
7482
7483 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7486 else
7487 no_cache=1
7488 fi
7489
7490 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7491
7492 fi;
7493
7494 eval "$ac_cv_use_bmpbutton"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test "$wxUSE_BMPBUTTON" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7502 else
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7505 fi
7506
7507
7508 enablestring=
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7511 no_cache=0
7512 # Check whether --enable-calendar or --disable-calendar was given.
7513 if test "${enable_calendar+set}" = set; then
7514 enableval="$enable_calendar"
7515
7516 if test "$enableval" = yes; then
7517 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7518 else
7519 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7520 fi
7521
7522 else
7523
7524 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7527 else
7528 no_cache=1
7529 fi
7530
7531 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7532
7533 fi;
7534
7535 eval "$ac_cv_use_calendar"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7538 fi
7539
7540 if test "$wxUSE_CALCTRL" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7543 else
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7546 fi
7547
7548
7549 enablestring=
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7552 no_cache=0
7553 # Check whether --enable-caret or --disable-caret was given.
7554 if test "${enable_caret+set}" = set; then
7555 enableval="$enable_caret"
7556
7557 if test "$enableval" = yes; then
7558 ac_cv_use_caret='wxUSE_CARET=yes'
7559 else
7560 ac_cv_use_caret='wxUSE_CARET=no'
7561 fi
7562
7563 else
7564
7565 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7568 else
7569 no_cache=1
7570 fi
7571
7572 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7573
7574 fi;
7575
7576 eval "$ac_cv_use_caret"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7579 fi
7580
7581 if test "$wxUSE_CARET" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7584 else
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7587 fi
7588
7589
7590 enablestring=
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7593 no_cache=0
7594 # Check whether --enable-checkbox or --disable-checkbox was given.
7595 if test "${enable_checkbox+set}" = set; then
7596 enableval="$enable_checkbox"
7597
7598 if test "$enableval" = yes; then
7599 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7600 else
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7602 fi
7603
7604 else
7605
7606 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7609 else
7610 no_cache=1
7611 fi
7612
7613 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7614
7615 fi;
7616
7617 eval "$ac_cv_use_checkbox"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test "$wxUSE_CHECKBOX" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7625 else
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7628 fi
7629
7630
7631 enablestring=
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7634 no_cache=0
7635 # Check whether --enable-checklst or --disable-checklst was given.
7636 if test "${enable_checklst+set}" = set; then
7637 enableval="$enable_checklst"
7638
7639 if test "$enableval" = yes; then
7640 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7641 else
7642 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7643 fi
7644
7645 else
7646
7647 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7650 else
7651 no_cache=1
7652 fi
7653
7654 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7655
7656 fi;
7657
7658 eval "$ac_cv_use_checklst"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7661 fi
7662
7663 if test "$wxUSE_CHECKLST" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7666 else
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7669 fi
7670
7671
7672 enablestring=
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7675 no_cache=0
7676 # Check whether --enable-choice or --disable-choice was given.
7677 if test "${enable_choice+set}" = set; then
7678 enableval="$enable_choice"
7679
7680 if test "$enableval" = yes; then
7681 ac_cv_use_choice='wxUSE_CHOICE=yes'
7682 else
7683 ac_cv_use_choice='wxUSE_CHOICE=no'
7684 fi
7685
7686 else
7687
7688 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7691 else
7692 no_cache=1
7693 fi
7694
7695 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7696
7697 fi;
7698
7699 eval "$ac_cv_use_choice"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7702 fi
7703
7704 if test "$wxUSE_CHOICE" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7707 else
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7710 fi
7711
7712
7713 enablestring=
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7716 no_cache=0
7717 # Check whether --enable-choicebook or --disable-choicebook was given.
7718 if test "${enable_choicebook+set}" = set; then
7719 enableval="$enable_choicebook"
7720
7721 if test "$enableval" = yes; then
7722 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7723 else
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7725 fi
7726
7727 else
7728
7729 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7732 else
7733 no_cache=1
7734 fi
7735
7736 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7737
7738 fi;
7739
7740 eval "$ac_cv_use_choicebook"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7743 fi
7744
7745 if test "$wxUSE_CHOICEBOOK" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7748 else
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7751 fi
7752
7753
7754 enablestring=
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7757 no_cache=0
7758 # Check whether --enable-combobox or --disable-combobox was given.
7759 if test "${enable_combobox+set}" = set; then
7760 enableval="$enable_combobox"
7761
7762 if test "$enableval" = yes; then
7763 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7764 else
7765 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7766 fi
7767
7768 else
7769
7770 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7773 else
7774 no_cache=1
7775 fi
7776
7777 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7778
7779 fi;
7780
7781 eval "$ac_cv_use_combobox"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7784 fi
7785
7786 if test "$wxUSE_COMBOBOX" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7789 else
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7792 fi
7793
7794
7795 enablestring=
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7798 no_cache=0
7799 # Check whether --enable-datepick or --disable-datepick was given.
7800 if test "${enable_datepick+set}" = set; then
7801 enableval="$enable_datepick"
7802
7803 if test "$enableval" = yes; then
7804 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7805 else
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7807 fi
7808
7809 else
7810
7811 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7814 else
7815 no_cache=1
7816 fi
7817
7818 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7819
7820 fi;
7821
7822 eval "$ac_cv_use_datepick"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7825 fi
7826
7827 if test "$wxUSE_DATEPICKCTRL" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7830 else
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7833 fi
7834
7835
7836 enablestring=
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7839 no_cache=0
7840 # Check whether --enable-display or --disable-display was given.
7841 if test "${enable_display+set}" = set; then
7842 enableval="$enable_display"
7843
7844 if test "$enableval" = yes; then
7845 ac_cv_use_display='wxUSE_DISPLAY=yes'
7846 else
7847 ac_cv_use_display='wxUSE_DISPLAY=no'
7848 fi
7849
7850 else
7851
7852 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7855 else
7856 no_cache=1
7857 fi
7858
7859 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7860
7861 fi;
7862
7863 eval "$ac_cv_use_display"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7866 fi
7867
7868 if test "$wxUSE_DISPLAY" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7871 else
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7874 fi
7875
7876
7877 enablestring=
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7880 no_cache=0
7881 # Check whether --enable-gauge or --disable-gauge was given.
7882 if test "${enable_gauge+set}" = set; then
7883 enableval="$enable_gauge"
7884
7885 if test "$enableval" = yes; then
7886 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7887 else
7888 ac_cv_use_gauge='wxUSE_GAUGE=no'
7889 fi
7890
7891 else
7892
7893 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7896 else
7897 no_cache=1
7898 fi
7899
7900 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7901
7902 fi;
7903
7904 eval "$ac_cv_use_gauge"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7907 fi
7908
7909 if test "$wxUSE_GAUGE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7912 else
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7915 fi
7916
7917
7918 enablestring=
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7921 no_cache=0
7922 # Check whether --enable-grid or --disable-grid was given.
7923 if test "${enable_grid+set}" = set; then
7924 enableval="$enable_grid"
7925
7926 if test "$enableval" = yes; then
7927 ac_cv_use_grid='wxUSE_GRID=yes'
7928 else
7929 ac_cv_use_grid='wxUSE_GRID=no'
7930 fi
7931
7932 else
7933
7934 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7937 else
7938 no_cache=1
7939 fi
7940
7941 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7942
7943 fi;
7944
7945 eval "$ac_cv_use_grid"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test "$wxUSE_GRID" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7953 else
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7956 fi
7957
7958
7959 enablestring=
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7962 no_cache=0
7963 # Check whether --enable-imaglist or --disable-imaglist was given.
7964 if test "${enable_imaglist+set}" = set; then
7965 enableval="$enable_imaglist"
7966
7967 if test "$enableval" = yes; then
7968 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7969 else
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7971 fi
7972
7973 else
7974
7975 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7978 else
7979 no_cache=1
7980 fi
7981
7982 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7983
7984 fi;
7985
7986 eval "$ac_cv_use_imaglist"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7989 fi
7990
7991 if test "$wxUSE_IMAGLIST" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7994 else
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
7997 fi
7998
7999
8000 enablestring=
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8003 no_cache=0
8004 # Check whether --enable-listbook or --disable-listbook was given.
8005 if test "${enable_listbook+set}" = set; then
8006 enableval="$enable_listbook"
8007
8008 if test "$enableval" = yes; then
8009 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8010 else
8011 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8012 fi
8013
8014 else
8015
8016 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8019 else
8020 no_cache=1
8021 fi
8022
8023 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8024
8025 fi;
8026
8027 eval "$ac_cv_use_listbook"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8030 fi
8031
8032 if test "$wxUSE_LISTBOOK" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8035 else
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8038 fi
8039
8040
8041 enablestring=
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8044 no_cache=0
8045 # Check whether --enable-listbox or --disable-listbox was given.
8046 if test "${enable_listbox+set}" = set; then
8047 enableval="$enable_listbox"
8048
8049 if test "$enableval" = yes; then
8050 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8051 else
8052 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8053 fi
8054
8055 else
8056
8057 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8060 else
8061 no_cache=1
8062 fi
8063
8064 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8065
8066 fi;
8067
8068 eval "$ac_cv_use_listbox"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8071 fi
8072
8073 if test "$wxUSE_LISTBOX" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8076 else
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8079 fi
8080
8081
8082 enablestring=
8083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8085 no_cache=0
8086 # Check whether --enable-listctrl or --disable-listctrl was given.
8087 if test "${enable_listctrl+set}" = set; then
8088 enableval="$enable_listctrl"
8089
8090 if test "$enableval" = yes; then
8091 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8092 else
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8094 fi
8095
8096 else
8097
8098 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8101 else
8102 no_cache=1
8103 fi
8104
8105 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8106
8107 fi;
8108
8109 eval "$ac_cv_use_listctrl"
8110 if test "$no_cache" != 1; then
8111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8112 fi
8113
8114 if test "$wxUSE_LISTCTRL" = yes; then
8115 echo "$as_me:$LINENO: result: yes" >&5
8116 echo "${ECHO_T}yes" >&6
8117 else
8118 echo "$as_me:$LINENO: result: no" >&5
8119 echo "${ECHO_T}no" >&6
8120 fi
8121
8122
8123 enablestring=
8124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8126 no_cache=0
8127 # Check whether --enable-notebook or --disable-notebook was given.
8128 if test "${enable_notebook+set}" = set; then
8129 enableval="$enable_notebook"
8130
8131 if test "$enableval" = yes; then
8132 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8133 else
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8135 fi
8136
8137 else
8138
8139 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8142 else
8143 no_cache=1
8144 fi
8145
8146 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8147
8148 fi;
8149
8150 eval "$ac_cv_use_notebook"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8153 fi
8154
8155 if test "$wxUSE_NOTEBOOK" = yes; then
8156 echo "$as_me:$LINENO: result: yes" >&5
8157 echo "${ECHO_T}yes" >&6
8158 else
8159 echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6
8161 fi
8162
8163
8164 enablestring=
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8167 no_cache=0
8168 # Check whether --enable-radiobox or --disable-radiobox was given.
8169 if test "${enable_radiobox+set}" = set; then
8170 enableval="$enable_radiobox"
8171
8172 if test "$enableval" = yes; then
8173 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8174 else
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8176 fi
8177
8178 else
8179
8180 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8183 else
8184 no_cache=1
8185 fi
8186
8187 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8188
8189 fi;
8190
8191 eval "$ac_cv_use_radiobox"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8194 fi
8195
8196 if test "$wxUSE_RADIOBOX" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8199 else
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8202 fi
8203
8204
8205 enablestring=
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8208 no_cache=0
8209 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8210 if test "${enable_radiobtn+set}" = set; then
8211 enableval="$enable_radiobtn"
8212
8213 if test "$enableval" = yes; then
8214 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8215 else
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8217 fi
8218
8219 else
8220
8221 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 else
8225 no_cache=1
8226 fi
8227
8228 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8229
8230 fi;
8231
8232 eval "$ac_cv_use_radiobtn"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test "$wxUSE_RADIOBTN" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8240 else
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8243 fi
8244
8245
8246 enablestring=
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8249 no_cache=0
8250 # Check whether --enable-sash or --disable-sash was given.
8251 if test "${enable_sash+set}" = set; then
8252 enableval="$enable_sash"
8253
8254 if test "$enableval" = yes; then
8255 ac_cv_use_sash='wxUSE_SASH=yes'
8256 else
8257 ac_cv_use_sash='wxUSE_SASH=no'
8258 fi
8259
8260 else
8261
8262 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8265 else
8266 no_cache=1
8267 fi
8268
8269 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8270
8271 fi;
8272
8273 eval "$ac_cv_use_sash"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8276 fi
8277
8278 if test "$wxUSE_SASH" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8281 else
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8284 fi
8285
8286
8287 enablestring=
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8290 no_cache=0
8291 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8292 if test "${enable_scrollbar+set}" = set; then
8293 enableval="$enable_scrollbar"
8294
8295 if test "$enableval" = yes; then
8296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8297 else
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8299 fi
8300
8301 else
8302
8303 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8306 else
8307 no_cache=1
8308 fi
8309
8310 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8311
8312 fi;
8313
8314 eval "$ac_cv_use_scrollbar"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8317 fi
8318
8319 if test "$wxUSE_SCROLLBAR" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8322 else
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8325 fi
8326
8327
8328 enablestring=
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8331 no_cache=0
8332 # Check whether --enable-slider or --disable-slider was given.
8333 if test "${enable_slider+set}" = set; then
8334 enableval="$enable_slider"
8335
8336 if test "$enableval" = yes; then
8337 ac_cv_use_slider='wxUSE_SLIDER=yes'
8338 else
8339 ac_cv_use_slider='wxUSE_SLIDER=no'
8340 fi
8341
8342 else
8343
8344 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8347 else
8348 no_cache=1
8349 fi
8350
8351 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8352
8353 fi;
8354
8355 eval "$ac_cv_use_slider"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8358 fi
8359
8360 if test "$wxUSE_SLIDER" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8363 else
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8366 fi
8367
8368
8369 enablestring=
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8372 no_cache=0
8373 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8374 if test "${enable_spinbtn+set}" = set; then
8375 enableval="$enable_spinbtn"
8376
8377 if test "$enableval" = yes; then
8378 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8379 else
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8381 fi
8382
8383 else
8384
8385 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8388 else
8389 no_cache=1
8390 fi
8391
8392 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8393
8394 fi;
8395
8396 eval "$ac_cv_use_spinbtn"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8399 fi
8400
8401 if test "$wxUSE_SPINBTN" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8404 else
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8407 fi
8408
8409
8410 enablestring=
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8413 no_cache=0
8414 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8415 if test "${enable_spinctrl+set}" = set; then
8416 enableval="$enable_spinctrl"
8417
8418 if test "$enableval" = yes; then
8419 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8420 else
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8422 fi
8423
8424 else
8425
8426 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8429 else
8430 no_cache=1
8431 fi
8432
8433 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8434
8435 fi;
8436
8437 eval "$ac_cv_use_spinctrl"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8440 fi
8441
8442 if test "$wxUSE_SPINCTRL" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8445 else
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8448 fi
8449
8450
8451 enablestring=
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8454 no_cache=0
8455 # Check whether --enable-splitter or --disable-splitter was given.
8456 if test "${enable_splitter+set}" = set; then
8457 enableval="$enable_splitter"
8458
8459 if test "$enableval" = yes; then
8460 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8461 else
8462 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8463 fi
8464
8465 else
8466
8467 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8470 else
8471 no_cache=1
8472 fi
8473
8474 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8475
8476 fi;
8477
8478 eval "$ac_cv_use_splitter"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8481 fi
8482
8483 if test "$wxUSE_SPLITTER" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8486 else
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8489 fi
8490
8491
8492 enablestring=
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8495 no_cache=0
8496 # Check whether --enable-statbmp or --disable-statbmp was given.
8497 if test "${enable_statbmp+set}" = set; then
8498 enableval="$enable_statbmp"
8499
8500 if test "$enableval" = yes; then
8501 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8502 else
8503 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8504 fi
8505
8506 else
8507
8508 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8516
8517 fi;
8518
8519 eval "$ac_cv_use_statbmp"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8522 fi
8523
8524 if test "$wxUSE_STATBMP" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8527 else
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8530 fi
8531
8532
8533 enablestring=
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8536 no_cache=0
8537 # Check whether --enable-statbox or --disable-statbox was given.
8538 if test "${enable_statbox+set}" = set; then
8539 enableval="$enable_statbox"
8540
8541 if test "$enableval" = yes; then
8542 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8543 else
8544 ac_cv_use_statbox='wxUSE_STATBOX=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8557
8558 fi;
8559
8560 eval "$ac_cv_use_statbox"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8563 fi
8564
8565 if test "$wxUSE_STATBOX" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8568 else
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8571 fi
8572
8573
8574 enablestring=
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8577 no_cache=0
8578 # Check whether --enable-statline or --disable-statline was given.
8579 if test "${enable_statline+set}" = set; then
8580 enableval="$enable_statline"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_statline='wxUSE_STATLINE=yes'
8584 else
8585 ac_cv_use_statline='wxUSE_STATLINE=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8598
8599 fi;
8600
8601 eval "$ac_cv_use_statline"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test "$wxUSE_STATLINE" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8609 else
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8612 fi
8613
8614
8615 enablestring=
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8618 no_cache=0
8619 # Check whether --enable-stattext or --disable-stattext was given.
8620 if test "${enable_stattext+set}" = set; then
8621 enableval="$enable_stattext"
8622
8623 if test "$enableval" = yes; then
8624 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8625 else
8626 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8627 fi
8628
8629 else
8630
8631 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8634 else
8635 no_cache=1
8636 fi
8637
8638 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8639
8640 fi;
8641
8642 eval "$ac_cv_use_stattext"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_STATTEXT" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8650 else
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8653 fi
8654
8655
8656 enablestring=
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8659 no_cache=0
8660 # Check whether --enable-statusbar or --disable-statusbar was given.
8661 if test "${enable_statusbar+set}" = set; then
8662 enableval="$enable_statusbar"
8663
8664 if test "$enableval" = yes; then
8665 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8666 else
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8668 fi
8669
8670 else
8671
8672 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8675 else
8676 no_cache=1
8677 fi
8678
8679 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8680
8681 fi;
8682
8683 eval "$ac_cv_use_statusbar"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test "$wxUSE_STATUSBAR" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8691 else
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8694 fi
8695
8696
8697 enablestring=
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8700 no_cache=0
8701 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8702 if test "${enable_tabdialog+set}" = set; then
8703 enableval="$enable_tabdialog"
8704
8705 if test "$enableval" = yes; then
8706 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8707 else
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8709 fi
8710
8711 else
8712
8713 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 else
8717 no_cache=1
8718 fi
8719
8720 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8721
8722 fi;
8723
8724 eval "$ac_cv_use_tabdialog"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8727 fi
8728
8729 if test "$wxUSE_TABDIALOG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8732 else
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8735 fi
8736
8737
8738 enablestring=
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8741 no_cache=0
8742 # Check whether --enable-textctrl or --disable-textctrl was given.
8743 if test "${enable_textctrl+set}" = set; then
8744 enableval="$enable_textctrl"
8745
8746 if test "$enableval" = yes; then
8747 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8748 else
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8750 fi
8751
8752 else
8753
8754 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8757 else
8758 no_cache=1
8759 fi
8760
8761 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8762
8763 fi;
8764
8765 eval "$ac_cv_use_textctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8768 fi
8769
8770 if test "$wxUSE_TEXTCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8773 else
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8776 fi
8777
8778
8779 enablestring=
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8782 no_cache=0
8783 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8784 if test "${enable_togglebtn+set}" = set; then
8785 enableval="$enable_togglebtn"
8786
8787 if test "$enableval" = yes; then
8788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8789 else
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8791 fi
8792
8793 else
8794
8795 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8798 else
8799 no_cache=1
8800 fi
8801
8802 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8803
8804 fi;
8805
8806 eval "$ac_cv_use_togglebtn"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8809 fi
8810
8811 if test "$wxUSE_TOGGLEBTN" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8814 else
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8817 fi
8818
8819
8820 enablestring=
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8823 no_cache=0
8824 # Check whether --enable-toolbar or --disable-toolbar was given.
8825 if test "${enable_toolbar+set}" = set; then
8826 enableval="$enable_toolbar"
8827
8828 if test "$enableval" = yes; then
8829 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8830 else
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8844
8845 fi;
8846
8847 eval "$ac_cv_use_toolbar"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test "$wxUSE_TOOLBAR" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8855 else
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8858 fi
8859
8860
8861 enablestring=
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8864 no_cache=0
8865 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8866 if test "${enable_tbarnative+set}" = set; then
8867 enableval="$enable_tbarnative"
8868
8869 if test "$enableval" = yes; then
8870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8871 else
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8885
8886 fi;
8887
8888 eval "$ac_cv_use_tbarnative"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 else
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901
8902 enablestring=
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8905 no_cache=0
8906 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8907 if test "${enable_tbarsmpl+set}" = set; then
8908 enableval="$enable_tbarsmpl"
8909
8910 if test "$enableval" = yes; then
8911 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8912 else
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8926
8927 fi;
8928
8929 eval "$ac_cv_use_tbarsmpl"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8932 fi
8933
8934 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 else
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8940 fi
8941
8942
8943 enablestring=
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8946 no_cache=0
8947 # Check whether --enable-treectrl or --disable-treectrl was given.
8948 if test "${enable_treectrl+set}" = set; then
8949 enableval="$enable_treectrl"
8950
8951 if test "$enableval" = yes; then
8952 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8953 else
8954 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8967
8968 fi;
8969
8970 eval "$ac_cv_use_treectrl"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test "$wxUSE_TREECTRL" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8978 else
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8981 fi
8982
8983
8984 enablestring=
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8987 no_cache=0
8988 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8989 if test "${enable_tipwindow+set}" = set; then
8990 enableval="$enable_tipwindow"
8991
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8994 else
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9008
9009 fi;
9010
9011 eval "$ac_cv_use_tipwindow"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test "$wxUSE_TIPWINDOW" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9019 else
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9022 fi
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-popupwin or --disable-popupwin was given.
9030 if test "${enable_popupwin+set}" = set; then
9031 enableval="$enable_popupwin"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9035 else
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9049
9050 fi;
9051
9052 eval "$ac_cv_use_popupwin"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_POPUPWIN" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066
9067
9068 enablestring=
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9071 no_cache=0
9072 # Check whether --enable-commondlg or --disable-commondlg was given.
9073 if test "${enable_commondlg+set}" = set; then
9074 enableval="$enable_commondlg"
9075
9076 if test "$enableval" = yes; then
9077 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9078 else
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9080 fi
9081
9082 else
9083
9084 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9087 else
9088 no_cache=1
9089 fi
9090
9091 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9092
9093 fi;
9094
9095 eval "$ac_cv_use_commondlg"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9098 fi
9099
9100 if test "$wxUSE_COMMONDLGS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9103 else
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9106 fi
9107
9108
9109 enablestring=
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9112 no_cache=0
9113 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9114 if test "${enable_choicedlg+set}" = set; then
9115 enableval="$enable_choicedlg"
9116
9117 if test "$enableval" = yes; then
9118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9119 else
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9121 fi
9122
9123 else
9124
9125 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9128 else
9129 no_cache=1
9130 fi
9131
9132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9133
9134 fi;
9135
9136 eval "$ac_cv_use_choicedlg"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9139 fi
9140
9141 if test "$wxUSE_CHOICEDLG" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9144 else
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9147 fi
9148
9149
9150 enablestring=
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9153 no_cache=0
9154 # Check whether --enable-coldlg or --disable-coldlg was given.
9155 if test "${enable_coldlg+set}" = set; then
9156 enableval="$enable_coldlg"
9157
9158 if test "$enableval" = yes; then
9159 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9160 else
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9162 fi
9163
9164 else
9165
9166 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9169 else
9170 no_cache=1
9171 fi
9172
9173 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9174
9175 fi;
9176
9177 eval "$ac_cv_use_coldlg"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9180 fi
9181
9182 if test "$wxUSE_COLOURDLG" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9185 else
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9188 fi
9189
9190
9191 enablestring=
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9194 no_cache=0
9195 # Check whether --enable-filedlg or --disable-filedlg was given.
9196 if test "${enable_filedlg+set}" = set; then
9197 enableval="$enable_filedlg"
9198
9199 if test "$enableval" = yes; then
9200 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9201 else
9202 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9203 fi
9204
9205 else
9206
9207 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9210 else
9211 no_cache=1
9212 fi
9213
9214 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9215
9216 fi;
9217
9218 eval "$ac_cv_use_filedlg"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test "$wxUSE_FILEDLG" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9226 else
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9229 fi
9230
9231
9232 enablestring=
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9235 no_cache=0
9236 # Check whether --enable-finddlg or --disable-finddlg was given.
9237 if test "${enable_finddlg+set}" = set; then
9238 enableval="$enable_finddlg"
9239
9240 if test "$enableval" = yes; then
9241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9242 else
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9244 fi
9245
9246 else
9247
9248 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9251 else
9252 no_cache=1
9253 fi
9254
9255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9256
9257 fi;
9258
9259 eval "$ac_cv_use_finddlg"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9262 fi
9263
9264 if test "$wxUSE_FINDREPLDLG" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9267 else
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9270 fi
9271
9272
9273 enablestring=
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9276 no_cache=0
9277 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9278 if test "${enable_fontdlg+set}" = set; then
9279 enableval="$enable_fontdlg"
9280
9281 if test "$enableval" = yes; then
9282 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9283 else
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9285 fi
9286
9287 else
9288
9289 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9292 else
9293 no_cache=1
9294 fi
9295
9296 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9297
9298 fi;
9299
9300 eval "$ac_cv_use_fontdlg"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9303 fi
9304
9305 if test "$wxUSE_FONTDLG" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9308 else
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9311 fi
9312
9313
9314 enablestring=
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9317 no_cache=0
9318 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9319 if test "${enable_dirdlg+set}" = set; then
9320 enableval="$enable_dirdlg"
9321
9322 if test "$enableval" = yes; then
9323 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9324 else
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9326 fi
9327
9328 else
9329
9330 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9333 else
9334 no_cache=1
9335 fi
9336
9337 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9338
9339 fi;
9340
9341 eval "$ac_cv_use_dirdlg"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9344 fi
9345
9346 if test "$wxUSE_DIRDLG" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9349 else
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9352 fi
9353
9354
9355 enablestring=
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9358 no_cache=0
9359 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9360 if test "${enable_msgdlg+set}" = set; then
9361 enableval="$enable_msgdlg"
9362
9363 if test "$enableval" = yes; then
9364 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9365 else
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9367 fi
9368
9369 else
9370
9371 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 else
9375 no_cache=1
9376 fi
9377
9378 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9379
9380 fi;
9381
9382 eval "$ac_cv_use_msgdlg"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9385 fi
9386
9387 if test "$wxUSE_MSGDLG" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9390 else
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9393 fi
9394
9395
9396 enablestring=
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9399 no_cache=0
9400 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9401 if test "${enable_numberdlg+set}" = set; then
9402 enableval="$enable_numberdlg"
9403
9404 if test "$enableval" = yes; then
9405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9406 else
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9408 fi
9409
9410 else
9411
9412 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9415 else
9416 no_cache=1
9417 fi
9418
9419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9420
9421 fi;
9422
9423 eval "$ac_cv_use_numberdlg"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9426 fi
9427
9428 if test "$wxUSE_NUMBERDLG" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9431 else
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9434 fi
9435
9436
9437 enablestring=
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9440 no_cache=0
9441 # Check whether --enable-splash or --disable-splash was given.
9442 if test "${enable_splash+set}" = set; then
9443 enableval="$enable_splash"
9444
9445 if test "$enableval" = yes; then
9446 ac_cv_use_splash='wxUSE_SPLASH=yes'
9447 else
9448 ac_cv_use_splash='wxUSE_SPLASH=no'
9449 fi
9450
9451 else
9452
9453 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9456 else
9457 no_cache=1
9458 fi
9459
9460 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9461
9462 fi;
9463
9464 eval "$ac_cv_use_splash"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9467 fi
9468
9469 if test "$wxUSE_SPLASH" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9472 else
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9475 fi
9476
9477
9478 enablestring=
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9481 no_cache=0
9482 # Check whether --enable-textdlg or --disable-textdlg was given.
9483 if test "${enable_textdlg+set}" = set; then
9484 enableval="$enable_textdlg"
9485
9486 if test "$enableval" = yes; then
9487 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9488 else
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9490 fi
9491
9492 else
9493
9494 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9497 else
9498 no_cache=1
9499 fi
9500
9501 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9502
9503 fi;
9504
9505 eval "$ac_cv_use_textdlg"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9508 fi
9509
9510 if test "$wxUSE_TEXTDLG" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9513 else
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9516 fi
9517
9518
9519 enablestring=
9520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9521 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9522 no_cache=0
9523 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9524 if test "${enable_tipdlg+set}" = set; then
9525 enableval="$enable_tipdlg"
9526
9527 if test "$enableval" = yes; then
9528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9529 else
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9531 fi
9532
9533 else
9534
9535 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9536 if test "x$LINE" != x ; then
9537 eval "DEFAULT_$LINE"
9538 else
9539 no_cache=1
9540 fi
9541
9542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9543
9544 fi;
9545
9546 eval "$ac_cv_use_tipdlg"
9547 if test "$no_cache" != 1; then
9548 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9549 fi
9550
9551 if test "$wxUSE_STARTUP_TIPS" = yes; then
9552 echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9554 else
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9557 fi
9558
9559
9560 enablestring=
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9563 no_cache=0
9564 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9565 if test "${enable_progressdlg+set}" = set; then
9566 enableval="$enable_progressdlg"
9567
9568 if test "$enableval" = yes; then
9569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9570 else
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9572 fi
9573
9574 else
9575
9576 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9579 else
9580 no_cache=1
9581 fi
9582
9583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9584
9585 fi;
9586
9587 eval "$ac_cv_use_progressdlg"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9590 fi
9591
9592 if test "$wxUSE_PROGRESSDLG" = yes; then
9593 echo "$as_me:$LINENO: result: yes" >&5
9594 echo "${ECHO_T}yes" >&6
9595 else
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9598 fi
9599
9600
9601 enablestring=
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9604 no_cache=0
9605 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9606 if test "${enable_wizarddlg+set}" = set; then
9607 enableval="$enable_wizarddlg"
9608
9609 if test "$enableval" = yes; then
9610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9611 else
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9613 fi
9614
9615 else
9616
9617 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9620 else
9621 no_cache=1
9622 fi
9623
9624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9625
9626 fi;
9627
9628 eval "$ac_cv_use_wizarddlg"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9631 fi
9632
9633 if test "$wxUSE_WIZARDDLG" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9636 else
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9639 fi
9640
9641
9642
9643
9644 enablestring=
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9647 no_cache=0
9648 # Check whether --enable-menus or --disable-menus was given.
9649 if test "${enable_menus+set}" = set; then
9650 enableval="$enable_menus"
9651
9652 if test "$enableval" = yes; then
9653 ac_cv_use_menus='wxUSE_MENUS=yes'
9654 else
9655 ac_cv_use_menus='wxUSE_MENUS=no'
9656 fi
9657
9658 else
9659
9660 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9663 else
9664 no_cache=1
9665 fi
9666
9667 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9668
9669 fi;
9670
9671 eval "$ac_cv_use_menus"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_MENUS" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9679 else
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9682 fi
9683
9684
9685 enablestring=
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9688 no_cache=0
9689 # Check whether --enable-miniframe or --disable-miniframe was given.
9690 if test "${enable_miniframe+set}" = set; then
9691 enableval="$enable_miniframe"
9692
9693 if test "$enableval" = yes; then
9694 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9695 else
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9697 fi
9698
9699 else
9700
9701 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9704 else
9705 no_cache=1
9706 fi
9707
9708 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9709
9710 fi;
9711
9712 eval "$ac_cv_use_miniframe"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_MINIFRAME" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9720 else
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9723 fi
9724
9725
9726 enablestring=
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9729 no_cache=0
9730 # Check whether --enable-tooltips or --disable-tooltips was given.
9731 if test "${enable_tooltips+set}" = set; then
9732 enableval="$enable_tooltips"
9733
9734 if test "$enableval" = yes; then
9735 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9736 else
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9738 fi
9739
9740 else
9741
9742 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 else
9746 no_cache=1
9747 fi
9748
9749 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9750
9751 fi;
9752
9753 eval "$ac_cv_use_tooltips"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_TOOLTIPS" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9761 else
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9764 fi
9765
9766
9767 enablestring=
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9770 no_cache=0
9771 # Check whether --enable-splines or --disable-splines was given.
9772 if test "${enable_splines+set}" = set; then
9773 enableval="$enable_splines"
9774
9775 if test "$enableval" = yes; then
9776 ac_cv_use_splines='wxUSE_SPLINES=yes'
9777 else
9778 ac_cv_use_splines='wxUSE_SPLINES=no'
9779 fi
9780
9781 else
9782
9783 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9786 else
9787 no_cache=1
9788 fi
9789
9790 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9791
9792 fi;
9793
9794 eval "$ac_cv_use_splines"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_SPLINES" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9802 else
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9805 fi
9806
9807
9808 enablestring=
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9811 no_cache=0
9812 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9813 if test "${enable_mousewheel+set}" = set; then
9814 enableval="$enable_mousewheel"
9815
9816 if test "$enableval" = yes; then
9817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9818 else
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9820 fi
9821
9822 else
9823
9824 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x ; then
9826 eval "DEFAULT_$LINE"
9827 else
9828 no_cache=1
9829 fi
9830
9831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9832
9833 fi;
9834
9835 eval "$ac_cv_use_mousewheel"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test "$wxUSE_MOUSEWHEEL" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9843 else
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9846 fi
9847
9848
9849 enablestring=
9850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9852 no_cache=0
9853 # Check whether --enable-validators or --disable-validators was given.
9854 if test "${enable_validators+set}" = set; then
9855 enableval="$enable_validators"
9856
9857 if test "$enableval" = yes; then
9858 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9859 else
9860 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9861 fi
9862
9863 else
9864
9865 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9866 if test "x$LINE" != x ; then
9867 eval "DEFAULT_$LINE"
9868 else
9869 no_cache=1
9870 fi
9871
9872 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9873
9874 fi;
9875
9876 eval "$ac_cv_use_validators"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9879 fi
9880
9881 if test "$wxUSE_VALIDATORS" = yes; then
9882 echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6
9884 else
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9887 fi
9888
9889
9890 enablestring=
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9893 no_cache=0
9894 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9895 if test "${enable_busyinfo+set}" = set; then
9896 enableval="$enable_busyinfo"
9897
9898 if test "$enableval" = yes; then
9899 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9900 else
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9902 fi
9903
9904 else
9905
9906 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9909 else
9910 no_cache=1
9911 fi
9912
9913 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9914
9915 fi;
9916
9917 eval "$ac_cv_use_busyinfo"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9920 fi
9921
9922 if test "$wxUSE_BUSYINFO" = yes; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9925 else
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9928 fi
9929
9930
9931 enablestring=
9932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9934 no_cache=0
9935 # Check whether --enable-joystick or --disable-joystick was given.
9936 if test "${enable_joystick+set}" = set; then
9937 enableval="$enable_joystick"
9938
9939 if test "$enableval" = yes; then
9940 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9941 else
9942 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9943 fi
9944
9945 else
9946
9947 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9948 if test "x$LINE" != x ; then
9949 eval "DEFAULT_$LINE"
9950 else
9951 no_cache=1
9952 fi
9953
9954 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9955
9956 fi;
9957
9958 eval "$ac_cv_use_joystick"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9961 fi
9962
9963 if test "$wxUSE_JOYSTICK" = yes; then
9964 echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6
9966 else
9967 echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6
9969 fi
9970
9971
9972 enablestring=
9973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9975 no_cache=0
9976 # Check whether --enable-metafile or --disable-metafile was given.
9977 if test "${enable_metafile+set}" = set; then
9978 enableval="$enable_metafile"
9979
9980 if test "$enableval" = yes; then
9981 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9982 else
9983 ac_cv_use_metafile='wxUSE_METAFILE=no'
9984 fi
9985
9986 else
9987
9988 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9989 if test "x$LINE" != x ; then
9990 eval "DEFAULT_$LINE"
9991 else
9992 no_cache=1
9993 fi
9994
9995 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9996
9997 fi;
9998
9999 eval "$ac_cv_use_metafile"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10002 fi
10003
10004 if test "$wxUSE_METAFILE" = yes; then
10005 echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6
10007 else
10008 echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6
10010 fi
10011
10012
10013 enablestring=
10014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10016 no_cache=0
10017 # Check whether --enable-dragimage or --disable-dragimage was given.
10018 if test "${enable_dragimage+set}" = set; then
10019 enableval="$enable_dragimage"
10020
10021 if test "$enableval" = yes; then
10022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10023 else
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10025 fi
10026
10027 else
10028
10029 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10032 else
10033 no_cache=1
10034 fi
10035
10036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10037
10038 fi;
10039
10040 eval "$ac_cv_use_dragimage"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10043 fi
10044
10045 if test "$wxUSE_DRAGIMAGE" = yes; then
10046 echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6
10048 else
10049 echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6
10051 fi
10052
10053
10054 enablestring=
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10057 no_cache=0
10058 # Check whether --enable-accessibility or --disable-accessibility was given.
10059 if test "${enable_accessibility+set}" = set; then
10060 enableval="$enable_accessibility"
10061
10062 if test "$enableval" = yes; then
10063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10064 else
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10066 fi
10067
10068 else
10069
10070 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x ; then
10072 eval "DEFAULT_$LINE"
10073 else
10074 no_cache=1
10075 fi
10076
10077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10078
10079 fi;
10080
10081 eval "$ac_cv_use_accessibility"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10084 fi
10085
10086 if test "$wxUSE_ACCESSIBILITY" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10089 else
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10092 fi
10093
10094
10095 if test "$wxUSE_MSW" = "1"; then
10096
10097 enablestring=
10098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10100 no_cache=0
10101 # Check whether --enable-dccache or --disable-dccache was given.
10102 if test "${enable_dccache+set}" = set; then
10103 enableval="$enable_dccache"
10104
10105 if test "$enableval" = yes; then
10106 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10107 else
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10109 fi
10110
10111 else
10112
10113 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10116 else
10117 no_cache=1
10118 fi
10119
10120 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10121
10122 fi;
10123
10124 eval "$ac_cv_use_dccache"
10125 if test "$no_cache" != 1; then
10126 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10127 fi
10128
10129 if test "$wxUSE_DC_CACHEING" = yes; then
10130 echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10132 else
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10135 fi
10136
10137 fi
10138
10139
10140
10141 enablestring=
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10144 no_cache=0
10145 # Check whether --enable-palette or --disable-palette was given.
10146 if test "${enable_palette+set}" = set; then
10147 enableval="$enable_palette"
10148
10149 if test "$enableval" = yes; then
10150 ac_cv_use_palette='wxUSE_PALETTE=yes'
10151 else
10152 ac_cv_use_palette='wxUSE_PALETTE=no'
10153 fi
10154
10155 else
10156
10157 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x ; then
10159 eval "DEFAULT_$LINE"
10160 else
10161 no_cache=1
10162 fi
10163
10164 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10165
10166 fi;
10167
10168 eval "$ac_cv_use_palette"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10171 fi
10172
10173 if test "$wxUSE_PALETTE" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10176 else
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10179 fi
10180
10181
10182 enablestring=
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10185 no_cache=0
10186 # Check whether --enable-image or --disable-image was given.
10187 if test "${enable_image+set}" = set; then
10188 enableval="$enable_image"
10189
10190 if test "$enableval" = yes; then
10191 ac_cv_use_image='wxUSE_IMAGE=yes'
10192 else
10193 ac_cv_use_image='wxUSE_IMAGE=no'
10194 fi
10195
10196 else
10197
10198 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x ; then
10200 eval "DEFAULT_$LINE"
10201 else
10202 no_cache=1
10203 fi
10204
10205 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10206
10207 fi;
10208
10209 eval "$ac_cv_use_image"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10212 fi
10213
10214 if test "$wxUSE_IMAGE" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10217 else
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10220 fi
10221
10222
10223 enablestring=
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10226 no_cache=0
10227 # Check whether --enable-gif or --disable-gif was given.
10228 if test "${enable_gif+set}" = set; then
10229 enableval="$enable_gif"
10230
10231 if test "$enableval" = yes; then
10232 ac_cv_use_gif='wxUSE_GIF=yes'
10233 else
10234 ac_cv_use_gif='wxUSE_GIF=no'
10235 fi
10236
10237 else
10238
10239 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x ; then
10241 eval "DEFAULT_$LINE"
10242 else
10243 no_cache=1
10244 fi
10245
10246 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10247
10248 fi;
10249
10250 eval "$ac_cv_use_gif"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10253 fi
10254
10255 if test "$wxUSE_GIF" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10258 else
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10261 fi
10262
10263
10264 enablestring=
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10267 no_cache=0
10268 # Check whether --enable-pcx or --disable-pcx was given.
10269 if test "${enable_pcx+set}" = set; then
10270 enableval="$enable_pcx"
10271
10272 if test "$enableval" = yes; then
10273 ac_cv_use_pcx='wxUSE_PCX=yes'
10274 else
10275 ac_cv_use_pcx='wxUSE_PCX=no'
10276 fi
10277
10278 else
10279
10280 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10283 else
10284 no_cache=1
10285 fi
10286
10287 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10288
10289 fi;
10290
10291 eval "$ac_cv_use_pcx"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10294 fi
10295
10296 if test "$wxUSE_PCX" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10299 else
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10302 fi
10303
10304
10305 enablestring=
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10308 no_cache=0
10309 # Check whether --enable-iff or --disable-iff was given.
10310 if test "${enable_iff+set}" = set; then
10311 enableval="$enable_iff"
10312
10313 if test "$enableval" = yes; then
10314 ac_cv_use_iff='wxUSE_IFF=yes'
10315 else
10316 ac_cv_use_iff='wxUSE_IFF=no'
10317 fi
10318
10319 else
10320
10321 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x ; then
10323 eval "DEFAULT_$LINE"
10324 else
10325 no_cache=1
10326 fi
10327
10328 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10329
10330 fi;
10331
10332 eval "$ac_cv_use_iff"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10335 fi
10336
10337 if test "$wxUSE_IFF" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10340 else
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10343 fi
10344
10345
10346 enablestring=
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10349 no_cache=0
10350 # Check whether --enable-pnm or --disable-pnm was given.
10351 if test "${enable_pnm+set}" = set; then
10352 enableval="$enable_pnm"
10353
10354 if test "$enableval" = yes; then
10355 ac_cv_use_pnm='wxUSE_PNM=yes'
10356 else
10357 ac_cv_use_pnm='wxUSE_PNM=no'
10358 fi
10359
10360 else
10361
10362 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x ; then
10364 eval "DEFAULT_$LINE"
10365 else
10366 no_cache=1
10367 fi
10368
10369 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10370
10371 fi;
10372
10373 eval "$ac_cv_use_pnm"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10376 fi
10377
10378 if test "$wxUSE_PNM" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10381 else
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10384 fi
10385
10386
10387 enablestring=
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10390 no_cache=0
10391 # Check whether --enable-xpm or --disable-xpm was given.
10392 if test "${enable_xpm+set}" = set; then
10393 enableval="$enable_xpm"
10394
10395 if test "$enableval" = yes; then
10396 ac_cv_use_xpm='wxUSE_XPM=yes'
10397 else
10398 ac_cv_use_xpm='wxUSE_XPM=no'
10399 fi
10400
10401 else
10402
10403 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10406 else
10407 no_cache=1
10408 fi
10409
10410 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10411
10412 fi;
10413
10414 eval "$ac_cv_use_xpm"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10417 fi
10418
10419 if test "$wxUSE_XPM" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10422 else
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10425 fi
10426
10427
10428 enablestring=
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10431 no_cache=0
10432 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10433 if test "${enable_ico_cur+set}" = set; then
10434 enableval="$enable_ico_cur"
10435
10436 if test "$enableval" = yes; then
10437 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10438 else
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10440 fi
10441
10442 else
10443
10444 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x ; then
10446 eval "DEFAULT_$LINE"
10447 else
10448 no_cache=1
10449 fi
10450
10451 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10452
10453 fi;
10454
10455 eval "$ac_cv_use_ico_cur"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10458 fi
10459
10460 if test "$wxUSE_ICO_CUR" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10463 else
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10466 fi
10467
10468
10469 fi
10470
10471
10472
10473 # Check whether --with-flavour or --without-flavour was given.
10474 if test "${with_flavour+set}" = set; then
10475 withval="$with_flavour"
10476 WX_FLAVOUR="$withval"
10477 fi;
10478
10479
10480
10481 enablestring=
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10484 no_cache=0
10485 # Check whether --enable-official_build or --disable-official_build was given.
10486 if test "${enable_official_build+set}" = set; then
10487 enableval="$enable_official_build"
10488
10489 if test "$enableval" = yes; then
10490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10491 else
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10493 fi
10494
10495 else
10496
10497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x ; then
10499 eval "DEFAULT_$LINE"
10500 else
10501 no_cache=1
10502 fi
10503
10504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10505
10506 fi;
10507
10508 eval "$ac_cv_use_official_build"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10516 else
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10519 fi
10520
10521 # Check whether --enable-vendor or --disable-vendor was given.
10522 if test "${enable_vendor+set}" = set; then
10523 enableval="$enable_vendor"
10524 VENDOR="$enableval"
10525 fi;
10526 if test "x$VENDOR" = "x"; then
10527 VENDOR="custom"
10528 fi
10529
10530
10531
10532
10533 echo "saving argument cache $wx_arg_cache_file"
10534 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10535
10536
10537
10538 echo "$as_me:$LINENO: checking for toolkit" >&5
10539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10540
10541 # In Wine, we need to default to MSW, not GTK or MOTIF
10542 if test "$wxUSE_WINE" = "yes"; then
10543 DEFAULT_DEFAULT_wxUSE_GTK=0
10544 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10545 DEFAULT_DEFAULT_wxUSE_MSW=1
10546 wxUSE_SHARED=no
10547 fi
10548
10549
10550 if test "$wxUSE_GUI" = "yes"; then
10551
10552 if test "$USE_BEOS" = 1; then
10553 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10554 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10555 { (exit 1); exit 1; }; }
10556 fi
10557
10558 if test "$TOOLKIT_GIVEN" = 1; then
10559 for toolkit in `echo $ALL_TOOLKITS`; do
10560 var=wxUSE_$toolkit
10561 eval "value=\$${var}"
10562 if test "x$value" = "xno"; then
10563 eval "$var=0"
10564 elif test "x$value" != "x"; then
10565 eval "$var=1"
10566 fi
10567
10568 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10569 eval "wx${toolkit}_VERSION=$value"
10570 fi
10571 done
10572 else
10573 for toolkit in `echo $ALL_TOOLKITS`; do
10574 if test "$has_toolkit_in_cache" != 1; then
10575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10576 else
10577 var=DEFAULT_wxUSE_$toolkit
10578
10579 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 eval "wx${toolkit}_VERSION=$version"
10582 fi
10583 fi
10584 eval "wxUSE_$toolkit=\$${var}"
10585 done
10586 fi
10587
10588 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10589 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10590 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10591
10592 case "${host}" in
10593 *-pc-os2_emx | *-pc-os2-emx )
10594 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10595 esac
10596
10597 case "$NUM_TOOLKITS" in
10598 1)
10599 ;;
10600 0)
10601 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10602 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10603 { (exit 1); exit 1; }; }
10604 ;;
10605 *)
10606 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10607 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10608 { (exit 1); exit 1; }; }
10609 esac
10610
10611 # to be removed when --disable-gtk2 isn't needed
10612 if test "x$wxUSE_GTK2" = "xyes"; then
10613 wxGTK_VERSION=2
10614 elif test "x$wxUSE_GTK2" = "xno"; then
10615 wxGTK_VERSION=1
10616 fi
10617
10618 for toolkit in `echo $ALL_TOOLKITS`; do
10619 var=wxUSE_$toolkit
10620 eval "value=\$${var}"
10621 if test "x$value" != x; then
10622 cache_var=CACHE_$toolkit
10623 eval "cache=\$${cache_var}"
10624 if test "$cache" = 1; then
10625 echo "$var=$value" >> ${wx_arg_cache_file}
10626 eval "version=\$wx${toolkit}_VERSION"
10627 if test "x$version" != "x"; then
10628 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10629 fi
10630 fi
10631 if test "$value" = 1; then
10632 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10633 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10634 echo "${ECHO_T}$toolkit_echo" >&6
10635 fi
10636 fi
10637 done
10638 else
10639 if test "x$host_alias" != "x"; then
10640 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10641 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10642 else
10643 echo "$as_me:$LINENO: result: base only" >&5
10644 echo "${ECHO_T}base only" >&6
10645 fi
10646 fi
10647
10648 wants_win32=0
10649 doesnt_want_win32=0
10650 case "${host}" in
10651 *-*-cygwin*)
10652 if test "$wxUSE_MSW" = 1 ; then
10653 wants_win32=1
10654 BAKEFILE_FORCE_PLATFORM=win32
10655 else
10656 doesnt_want_win32=1
10657 fi
10658 ;;
10659 *-*-mingw*)
10660 wants_win32=1
10661 ;;
10662 esac
10663
10664 if test "$wxUSE_WINE" = "yes"; then
10665 wants_win32=1
10666 CC=winegcc
10667 CXX=wineg++
10668 LDFLAGS_GUI="-mwindows"
10669 fi
10670
10671 if test "$wants_win32" = 1 ; then
10672 USE_UNIX=0
10673 USE_WIN32=1
10674 cat >>confdefs.h <<\_ACEOF
10675 #define __WIN32__ 1
10676 _ACEOF
10677
10678 cat >>confdefs.h <<\_ACEOF
10679 #define __WIN95__ 1
10680 _ACEOF
10681
10682 cat >>confdefs.h <<\_ACEOF
10683 #define __WINDOWS__ 1
10684 _ACEOF
10685
10686 cat >>confdefs.h <<\_ACEOF
10687 #define __GNUWIN32__ 1
10688 _ACEOF
10689
10690 cat >>confdefs.h <<\_ACEOF
10691 #define STRICT 1
10692 _ACEOF
10693
10694 cat >>confdefs.h <<\_ACEOF
10695 #define WINVER 0x0400
10696 _ACEOF
10697
10698 fi
10699 if test "$doesnt_want_win32" = 1 ; then
10700 USE_UNIX=1
10701 USE_WIN32=0
10702 fi
10703
10704 if test "$USE_UNIX" = 1 ; then
10705 wxUSE_UNIX=yes
10706 cat >>confdefs.h <<\_ACEOF
10707 #define __UNIX__ 1
10708 _ACEOF
10709
10710 fi
10711
10712
10713 cat >confcache <<\_ACEOF
10714 # This file is a shell script that caches the results of configure
10715 # tests run on this system so they can be shared between configure
10716 # scripts and configure runs, see configure's option --config-cache.
10717 # It is not useful on other systems. If it contains results you don't
10718 # want to keep, you may remove or edit it.
10719 #
10720 # config.status only pays attention to the cache file if you give it
10721 # the --recheck option to rerun configure.
10722 #
10723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10725 # following values.
10726
10727 _ACEOF
10728
10729 # The following way of writing the cache mishandles newlines in values,
10730 # but we know of no workaround that is simple, portable, and efficient.
10731 # So, don't put newlines in cache variables' values.
10732 # Ultrix sh set writes to stderr and can't be redirected directly,
10733 # and sets the high bit in the cache file unless we assign to the vars.
10734 {
10735 (set) 2>&1 |
10736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10737 *ac_space=\ *)
10738 # `set' does not quote correctly, so add quotes (double-quote
10739 # substitution turns \\\\ into \\, and sed turns \\ into \).
10740 sed -n \
10741 "s/'/'\\\\''/g;
10742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10743 ;;
10744 *)
10745 # `set' quotes correctly as required by POSIX, so do not add quotes.
10746 sed -n \
10747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10748 ;;
10749 esac;
10750 } |
10751 sed '
10752 t clear
10753 : clear
10754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10755 t end
10756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10757 : end' >>confcache
10758 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10759 if test -w $cache_file; then
10760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10761 cat confcache >$cache_file
10762 else
10763 echo "not updating unwritable cache $cache_file"
10764 fi
10765 fi
10766 rm -f confcache
10767
10768 CFLAGS=${CFLAGS:=}
10769
10770
10771
10772 ac_ext=c
10773 ac_cpp='$CPP $CPPFLAGS'
10774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10777 if test -n "$ac_tool_prefix"; then
10778 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10779 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10780 echo "$as_me:$LINENO: checking for $ac_word" >&5
10781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10782 if test "${ac_cv_prog_CC+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 else
10785 if test -n "$CC"; then
10786 ac_cv_prog_CC="$CC" # Let the user override the test.
10787 else
10788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789 for as_dir in $PATH
10790 do
10791 IFS=$as_save_IFS
10792 test -z "$as_dir" && as_dir=.
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10797 break 2
10798 fi
10799 done
10800 done
10801
10802 fi
10803 fi
10804 CC=$ac_cv_prog_CC
10805 if test -n "$CC"; then
10806 echo "$as_me:$LINENO: result: $CC" >&5
10807 echo "${ECHO_T}$CC" >&6
10808 else
10809 echo "$as_me:$LINENO: result: no" >&5
10810 echo "${ECHO_T}no" >&6
10811 fi
10812
10813 fi
10814 if test -z "$ac_cv_prog_CC"; then
10815 ac_ct_CC=$CC
10816 # Extract the first word of "gcc", so it can be a program name with args.
10817 set dummy gcc; ac_word=$2
10818 echo "$as_me:$LINENO: checking for $ac_word" >&5
10819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 else
10823 if test -n "$ac_ct_CC"; then
10824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10825 else
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $PATH
10828 do
10829 IFS=$as_save_IFS
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_prog_ac_ct_CC="gcc"
10834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 break 2
10836 fi
10837 done
10838 done
10839
10840 fi
10841 fi
10842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10843 if test -n "$ac_ct_CC"; then
10844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10845 echo "${ECHO_T}$ac_ct_CC" >&6
10846 else
10847 echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6
10849 fi
10850
10851 CC=$ac_ct_CC
10852 else
10853 CC="$ac_cv_prog_CC"
10854 fi
10855
10856 if test -z "$CC"; then
10857 if test -n "$ac_tool_prefix"; then
10858 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10859 set dummy ${ac_tool_prefix}cc; ac_word=$2
10860 echo "$as_me:$LINENO: checking for $ac_word" >&5
10861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10862 if test "${ac_cv_prog_CC+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 else
10865 if test -n "$CC"; then
10866 ac_cv_prog_CC="$CC" # Let the user override the test.
10867 else
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $PATH
10870 do
10871 IFS=$as_save_IFS
10872 test -z "$as_dir" && as_dir=.
10873 for ac_exec_ext in '' $ac_executable_extensions; do
10874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10875 ac_cv_prog_CC="${ac_tool_prefix}cc"
10876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10877 break 2
10878 fi
10879 done
10880 done
10881
10882 fi
10883 fi
10884 CC=$ac_cv_prog_CC
10885 if test -n "$CC"; then
10886 echo "$as_me:$LINENO: result: $CC" >&5
10887 echo "${ECHO_T}$CC" >&6
10888 else
10889 echo "$as_me:$LINENO: result: no" >&5
10890 echo "${ECHO_T}no" >&6
10891 fi
10892
10893 fi
10894 if test -z "$ac_cv_prog_CC"; then
10895 ac_ct_CC=$CC
10896 # Extract the first word of "cc", so it can be a program name with args.
10897 set dummy cc; ac_word=$2
10898 echo "$as_me:$LINENO: checking for $ac_word" >&5
10899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10901 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 else
10903 if test -n "$ac_ct_CC"; then
10904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10905 else
10906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10907 for as_dir in $PATH
10908 do
10909 IFS=$as_save_IFS
10910 test -z "$as_dir" && as_dir=.
10911 for ac_exec_ext in '' $ac_executable_extensions; do
10912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10913 ac_cv_prog_ac_ct_CC="cc"
10914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10915 break 2
10916 fi
10917 done
10918 done
10919
10920 fi
10921 fi
10922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10923 if test -n "$ac_ct_CC"; then
10924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10925 echo "${ECHO_T}$ac_ct_CC" >&6
10926 else
10927 echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6
10929 fi
10930
10931 CC=$ac_ct_CC
10932 else
10933 CC="$ac_cv_prog_CC"
10934 fi
10935
10936 fi
10937 if test -z "$CC"; then
10938 # Extract the first word of "cc", so it can be a program name with args.
10939 set dummy cc; ac_word=$2
10940 echo "$as_me:$LINENO: checking for $ac_word" >&5
10941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10942 if test "${ac_cv_prog_CC+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 else
10945 if test -n "$CC"; then
10946 ac_cv_prog_CC="$CC" # Let the user override the test.
10947 else
10948 ac_prog_rejected=no
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10951 do
10952 IFS=$as_save_IFS
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10957 ac_prog_rejected=yes
10958 continue
10959 fi
10960 ac_cv_prog_CC="cc"
10961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10962 break 2
10963 fi
10964 done
10965 done
10966
10967 if test $ac_prog_rejected = yes; then
10968 # We found a bogon in the path, so make sure we never use it.
10969 set dummy $ac_cv_prog_CC
10970 shift
10971 if test $# != 0; then
10972 # We chose a different compiler from the bogus one.
10973 # However, it has the same basename, so the bogon will be chosen
10974 # first if we set CC to just the basename; use the full file name.
10975 shift
10976 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10977 fi
10978 fi
10979 fi
10980 fi
10981 CC=$ac_cv_prog_CC
10982 if test -n "$CC"; then
10983 echo "$as_me:$LINENO: result: $CC" >&5
10984 echo "${ECHO_T}$CC" >&6
10985 else
10986 echo "$as_me:$LINENO: result: no" >&5
10987 echo "${ECHO_T}no" >&6
10988 fi
10989
10990 fi
10991 if test -z "$CC"; then
10992 if test -n "$ac_tool_prefix"; then
10993 for ac_prog in cl
10994 do
10995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10997 echo "$as_me:$LINENO: checking for $ac_word" >&5
10998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10999 if test "${ac_cv_prog_CC+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 if test -n "$CC"; then
11003 ac_cv_prog_CC="$CC" # Let the user override the test.
11004 else
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11007 do
11008 IFS=$as_save_IFS
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11012 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 break 2
11015 fi
11016 done
11017 done
11018
11019 fi
11020 fi
11021 CC=$ac_cv_prog_CC
11022 if test -n "$CC"; then
11023 echo "$as_me:$LINENO: result: $CC" >&5
11024 echo "${ECHO_T}$CC" >&6
11025 else
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11028 fi
11029
11030 test -n "$CC" && break
11031 done
11032 fi
11033 if test -z "$CC"; then
11034 ac_ct_CC=$CC
11035 for ac_prog in cl
11036 do
11037 # Extract the first word of "$ac_prog", so it can be a program name with args.
11038 set dummy $ac_prog; ac_word=$2
11039 echo "$as_me:$LINENO: checking for $ac_word" >&5
11040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 if test -n "$ac_ct_CC"; then
11045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11046 else
11047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11048 for as_dir in $PATH
11049 do
11050 IFS=$as_save_IFS
11051 test -z "$as_dir" && as_dir=.
11052 for ac_exec_ext in '' $ac_executable_extensions; do
11053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_ac_ct_CC="$ac_prog"
11055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11056 break 2
11057 fi
11058 done
11059 done
11060
11061 fi
11062 fi
11063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11064 if test -n "$ac_ct_CC"; then
11065 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11066 echo "${ECHO_T}$ac_ct_CC" >&6
11067 else
11068 echo "$as_me:$LINENO: result: no" >&5
11069 echo "${ECHO_T}no" >&6
11070 fi
11071
11072 test -n "$ac_ct_CC" && break
11073 done
11074
11075 CC=$ac_ct_CC
11076 fi
11077
11078 fi
11079
11080
11081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11082 See \`config.log' for more details." >&5
11083 echo "$as_me: error: no acceptable C compiler found in \$PATH
11084 See \`config.log' for more details." >&2;}
11085 { (exit 1); exit 1; }; }
11086
11087 # Provide some information about the compiler.
11088 echo "$as_me:$LINENO:" \
11089 "checking for C compiler version" >&5
11090 ac_compiler=`set X $ac_compile; echo $2`
11091 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11092 (eval $ac_compiler --version </dev/null >&5) 2>&5
11093 ac_status=$?
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }
11096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11097 (eval $ac_compiler -v </dev/null >&5) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }
11101 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11102 (eval $ac_compiler -V </dev/null >&5) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }
11106
11107 cat >conftest.$ac_ext <<_ACEOF
11108 /* confdefs.h. */
11109 _ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11113
11114 int
11115 main ()
11116 {
11117
11118 ;
11119 return 0;
11120 }
11121 _ACEOF
11122 ac_clean_files_save=$ac_clean_files
11123 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11124 # Try to create an executable without -o first, disregard a.out.
11125 # It will help us diagnose broken compilers, and finding out an intuition
11126 # of exeext.
11127 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11128 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11129 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11131 (eval $ac_link_default) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; then
11135 # Find the output, starting from the most likely. This scheme is
11136 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11137 # resort.
11138
11139 # Be careful to initialize this variable, since it used to be cached.
11140 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11141 ac_cv_exeext=
11142 # b.out is created by i960 compilers.
11143 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11144 do
11145 test -f "$ac_file" || continue
11146 case $ac_file in
11147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11148 ;;
11149 conftest.$ac_ext )
11150 # This is the source file.
11151 ;;
11152 [ab].out )
11153 # We found the default executable, but exeext='' is most
11154 # certainly right.
11155 break;;
11156 *.* )
11157 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11158 # FIXME: I believe we export ac_cv_exeext for Libtool,
11159 # but it would be cool to find out if it's true. Does anybody
11160 # maintain Libtool? --akim.
11161 export ac_cv_exeext
11162 break;;
11163 * )
11164 break;;
11165 esac
11166 done
11167 else
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11170
11171 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11172 See \`config.log' for more details." >&5
11173 echo "$as_me: error: C compiler cannot create executables
11174 See \`config.log' for more details." >&2;}
11175 { (exit 77); exit 77; }; }
11176 fi
11177
11178 ac_exeext=$ac_cv_exeext
11179 echo "$as_me:$LINENO: result: $ac_file" >&5
11180 echo "${ECHO_T}$ac_file" >&6
11181
11182 # Check the compiler produces executables we can run. If not, either
11183 # the compiler is broken, or we cross compile.
11184 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11185 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11186 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11187 # If not cross compiling, check that we can run a simple program.
11188 if test "$cross_compiling" != yes; then
11189 if { ac_try='./$ac_file'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 cross_compiling=no
11196 else
11197 if test "$cross_compiling" = maybe; then
11198 cross_compiling=yes
11199 else
11200 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11201 If you meant to cross compile, use \`--host'.
11202 See \`config.log' for more details." >&5
11203 echo "$as_me: error: cannot run C compiled programs.
11204 If you meant to cross compile, use \`--host'.
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11207 fi
11208 fi
11209 fi
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11212
11213 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11214 ac_clean_files=$ac_clean_files_save
11215 # Check the compiler produces executables we can run. If not, either
11216 # the compiler is broken, or we cross compile.
11217 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11218 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11219 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11220 echo "${ECHO_T}$cross_compiling" >&6
11221
11222 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11223 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>&5
11226 ac_status=$?
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; then
11229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11230 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11231 # work properly (i.e., refer to `conftest.exe'), while it won't with
11232 # `rm'.
11233 for ac_file in conftest.exe conftest conftest.*; do
11234 test -f "$ac_file" || continue
11235 case $ac_file in
11236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11238 export ac_cv_exeext
11239 break;;
11240 * ) break;;
11241 esac
11242 done
11243 else
11244 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11245 See \`config.log' for more details." >&5
11246 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11247 See \`config.log' for more details." >&2;}
11248 { (exit 1); exit 1; }; }
11249 fi
11250
11251 rm -f conftest$ac_cv_exeext
11252 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11253 echo "${ECHO_T}$ac_cv_exeext" >&6
11254
11255 rm -f conftest.$ac_ext
11256 EXEEXT=$ac_cv_exeext
11257 ac_exeext=$EXEEXT
11258 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11259 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11260 if test "${ac_cv_objext+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 else
11263 cat >conftest.$ac_ext <<_ACEOF
11264 /* confdefs.h. */
11265 _ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269
11270 int
11271 main ()
11272 {
11273
11274 ;
11275 return 0;
11276 }
11277 _ACEOF
11278 rm -f conftest.o conftest.obj
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; then
11284 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11285 case $ac_file in
11286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11288 break;;
11289 esac
11290 done
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11294
11295 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11296 See \`config.log' for more details." >&5
11297 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11298 See \`config.log' for more details." >&2;}
11299 { (exit 1); exit 1; }; }
11300 fi
11301
11302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11303 fi
11304 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11305 echo "${ECHO_T}$ac_cv_objext" >&6
11306 OBJEXT=$ac_cv_objext
11307 ac_objext=$OBJEXT
11308 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11309 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 else
11313 cat >conftest.$ac_ext <<_ACEOF
11314 /* confdefs.h. */
11315 _ACEOF
11316 cat confdefs.h >>conftest.$ac_ext
11317 cat >>conftest.$ac_ext <<_ACEOF
11318 /* end confdefs.h. */
11319
11320 int
11321 main ()
11322 {
11323 #ifndef __GNUC__
11324 choke me
11325 #endif
11326
11327 ;
11328 return 0;
11329 }
11330 _ACEOF
11331 rm -f conftest.$ac_objext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>conftest.er1
11334 ac_status=$?
11335 grep -v '^ *+' conftest.er1 >conftest.err
11336 rm -f conftest.er1
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } &&
11340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11343 ac_status=$?
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; } &&
11346 { ac_try='test -s conftest.$ac_objext'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11349 ac_status=$?
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 ac_compiler_gnu=yes
11353 else
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.$ac_ext >&5
11356
11357 ac_compiler_gnu=no
11358 fi
11359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11361
11362 fi
11363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11365 GCC=`test $ac_compiler_gnu = yes && echo yes`
11366 ac_test_CFLAGS=${CFLAGS+set}
11367 ac_save_CFLAGS=$CFLAGS
11368 CFLAGS="-g"
11369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11371 if test "${ac_cv_prog_cc_g+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11374 cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h. */
11376 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380
11381 int
11382 main ()
11383 {
11384
11385 ;
11386 return 0;
11387 }
11388 _ACEOF
11389 rm -f conftest.$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11392 ac_status=$?
11393 grep -v '^ *+' conftest.er1 >conftest.err
11394 rm -f conftest.er1
11395 cat conftest.err >&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_prog_cc_g=yes
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11414
11415 ac_cv_prog_cc_g=no
11416 fi
11417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11418 fi
11419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11421 if test "$ac_test_CFLAGS" = set; then
11422 CFLAGS=$ac_save_CFLAGS
11423 elif test $ac_cv_prog_cc_g = yes; then
11424 if test "$GCC" = yes; then
11425 CFLAGS="-g -O2"
11426 else
11427 CFLAGS="-g"
11428 fi
11429 else
11430 if test "$GCC" = yes; then
11431 CFLAGS="-O2"
11432 else
11433 CFLAGS=
11434 fi
11435 fi
11436 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11437 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11438 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 else
11441 ac_cv_prog_cc_stdc=no
11442 ac_save_CC=$CC
11443 cat >conftest.$ac_ext <<_ACEOF
11444 /* confdefs.h. */
11445 _ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 #include <stdarg.h>
11450 #include <stdio.h>
11451 #include <sys/types.h>
11452 #include <sys/stat.h>
11453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11454 struct buf { int x; };
11455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11456 static char *e (p, i)
11457 char **p;
11458 int i;
11459 {
11460 return p[i];
11461 }
11462 static char *f (char * (*g) (char **, int), char **p, ...)
11463 {
11464 char *s;
11465 va_list v;
11466 va_start (v,p);
11467 s = g (p, va_arg (v,int));
11468 va_end (v);
11469 return s;
11470 }
11471
11472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11473 function prototypes and stuff, but not '\xHH' hex character constants.
11474 These don't provoke an error unfortunately, instead are silently treated
11475 as 'x'. The following induces an error, until -std1 is added to get
11476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11477 array size at least. It's necessary to write '\x00'==0 to get something
11478 that's true only with -std1. */
11479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11480
11481 int test (int i, double x);
11482 struct s1 {int (*f) (int a);};
11483 struct s2 {int (*f) (double a);};
11484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11485 int argc;
11486 char **argv;
11487 int
11488 main ()
11489 {
11490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11491 ;
11492 return 0;
11493 }
11494 _ACEOF
11495 # Don't try gcc -ansi; that turns off useful extensions and
11496 # breaks some systems' header files.
11497 # AIX -qlanglvl=ansi
11498 # Ultrix and OSF/1 -std1
11499 # HP-UX 10.20 and later -Ae
11500 # HP-UX older versions -Aa -D_HPUX_SOURCE
11501 # SVR4 -Xc -D__EXTENSIONS__
11502 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11503 do
11504 CC="$ac_save_CC $ac_arg"
11505 rm -f conftest.$ac_objext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11507 (eval $ac_compile) 2>conftest.er1
11508 ac_status=$?
11509 grep -v '^ *+' conftest.er1 >conftest.err
11510 rm -f conftest.er1
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11517 ac_status=$?
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try='test -s conftest.$ac_objext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11523 ac_status=$?
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11526 ac_cv_prog_cc_stdc=$ac_arg
11527 break
11528 else
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.$ac_ext >&5
11531
11532 fi
11533 rm -f conftest.err conftest.$ac_objext
11534 done
11535 rm -f conftest.$ac_ext conftest.$ac_objext
11536 CC=$ac_save_CC
11537
11538 fi
11539
11540 case "x$ac_cv_prog_cc_stdc" in
11541 x|xno)
11542 echo "$as_me:$LINENO: result: none needed" >&5
11543 echo "${ECHO_T}none needed" >&6 ;;
11544 *)
11545 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11546 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11547 CC="$CC $ac_cv_prog_cc_stdc" ;;
11548 esac
11549
11550 # Some people use a C++ compiler to compile C. Since we use `exit',
11551 # in C++ we need to declare it. In case someone uses the same compiler
11552 # for both compiling C and C++ we need to have the C++ compiler decide
11553 # the declaration of exit, since it's the most demanding environment.
11554 cat >conftest.$ac_ext <<_ACEOF
11555 #ifndef __cplusplus
11556 choke me
11557 #endif
11558 _ACEOF
11559 rm -f conftest.$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11571 ac_status=$?
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11577 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 for ac_declaration in \
11581 '' \
11582 'extern "C" void std::exit (int) throw (); using std::exit;' \
11583 'extern "C" void std::exit (int); using std::exit;' \
11584 'extern "C" void exit (int) throw ();' \
11585 'extern "C" void exit (int);' \
11586 'void exit (int);'
11587 do
11588 cat >conftest.$ac_ext <<_ACEOF
11589 /* confdefs.h. */
11590 _ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 $ac_declaration
11595 #include <stdlib.h>
11596 int
11597 main ()
11598 {
11599 exit (42);
11600 ;
11601 return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11607 ac_status=$?
11608 grep -v '^ *+' conftest.er1 >conftest.err
11609 rm -f conftest.er1
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; } &&
11619 { ac_try='test -s conftest.$ac_objext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11622 ac_status=$?
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 :
11626 else
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11629
11630 continue
11631 fi
11632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11633 cat >conftest.$ac_ext <<_ACEOF
11634 /* confdefs.h. */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11639 $ac_declaration
11640 int
11641 main ()
11642 {
11643 exit (42);
11644 ;
11645 return 0;
11646 }
11647 _ACEOF
11648 rm -f conftest.$ac_objext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11650 (eval $ac_compile) 2>conftest.er1
11651 ac_status=$?
11652 grep -v '^ *+' conftest.er1 >conftest.err
11653 rm -f conftest.er1
11654 cat conftest.err >&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 break
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11673
11674 fi
11675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11676 done
11677 rm -f conftest*
11678 if test -n "$ac_declaration"; then
11679 echo '#ifdef __cplusplus' >>confdefs.h
11680 echo $ac_declaration >>confdefs.h
11681 echo '#endif' >>confdefs.h
11682 fi
11683
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11687
11688 fi
11689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11690 ac_ext=c
11691 ac_cpp='$CPP $CPPFLAGS'
11692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695
11696
11697
11698 ac_ext=c
11699 ac_cpp='$CPP $CPPFLAGS'
11700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11703
11704 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11705 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11706 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 else
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715
11716 int
11717 main ()
11718 {
11719
11720 #ifndef __INTEL_COMPILER
11721 choke me
11722 #endif
11723
11724 ;
11725 return 0;
11726 }
11727 _ACEOF
11728 rm -f conftest.$ac_objext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11730 (eval $ac_compile) 2>conftest.er1
11731 ac_status=$?
11732 grep -v '^ *+' conftest.er1 >conftest.err
11733 rm -f conftest.er1
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try='test -s conftest.$ac_objext'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11750 else
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11753
11754 bakefile_cv_c_compiler___INTEL_COMPILER=no
11755
11756 fi
11757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11758
11759
11760 fi
11761 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11762 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11763 ac_ext=c
11764 ac_cpp='$CPP $CPPFLAGS'
11765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11768
11769 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11770 :; INTELCC=yes
11771 else
11772 :;
11773 fi
11774
11775
11776 if test "x$GCC" != "xyes"; then
11777 if test "xCC" = "xC"; then
11778 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11779 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11780 if test "${bakefile_cv_c_exto+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 else
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789
11790 int
11791 main ()
11792 {
11793
11794 ;
11795 return 0;
11796 }
11797 _ACEOF
11798 rm -f conftest.$ac_objext conftest.$ac_ext.o
11799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>&5
11801 ac_status=$?
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; then
11804 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11805 case $ac_file in
11806 conftest.$ac_ext.o)
11807 bakefile_cv_c_exto="-ext o"
11808 ;;
11809 *)
11810 ;;
11811 esac
11812 done
11813 else
11814 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11815 See \`config.log' for more details." >&5
11816 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11817 See \`config.log' for more details." >&2;}
11818 { (exit 1); exit 1; }; }
11819
11820 fi
11821
11822 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11823
11824 fi
11825 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11826 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11827 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11828 if test "c" = "c"; then
11829 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
11830 fi
11831 if test "c" = "cxx"; then
11832 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
11833 fi
11834 fi
11835
11836 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11837 unset ac_cv_prog_cc_g
11838 ac_test_CFLAGS=${CFLAGS+set}
11839 ac_save_CFLAGS=$CFLAGS
11840 CFLAGS="-g"
11841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11843 if test "${ac_cv_prog_cc_g+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 cat >conftest.$ac_ext <<_ACEOF
11847 /* confdefs.h. */
11848 _ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852
11853 int
11854 main ()
11855 {
11856
11857 ;
11858 return 0;
11859 }
11860 _ACEOF
11861 rm -f conftest.$ac_objext
11862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11863 (eval $ac_compile) 2>conftest.er1
11864 ac_status=$?
11865 grep -v '^ *+' conftest.er1 >conftest.err
11866 rm -f conftest.er1
11867 cat conftest.err >&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11873 ac_status=$?
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; } &&
11876 { ac_try='test -s conftest.$ac_objext'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11879 ac_status=$?
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; }; then
11882 ac_cv_prog_cc_g=yes
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11886
11887 ac_cv_prog_cc_g=no
11888 fi
11889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11890 fi
11891 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11892 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11893 if test "$ac_test_CFLAGS" = set; then
11894 CFLAGS=$ac_save_CFLAGS
11895 elif test $ac_cv_prog_cc_g = yes; then
11896 if test "$GCC" = yes; then
11897 CFLAGS="-g -O2"
11898 else
11899 CFLAGS="-g"
11900 fi
11901 else
11902 if test "$GCC" = yes; then
11903 CFLAGS="-O2"
11904 else
11905 CFLAGS=
11906 fi
11907 fi
11908 fi
11909 fi
11910
11911 case `uname -s` in
11912 AIX*)
11913 ac_ext=c
11914 ac_cpp='$CPP $CPPFLAGS'
11915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11918
11919 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11920 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11921 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 cat >conftest.$ac_ext <<_ACEOF
11925 /* confdefs.h. */
11926 _ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930
11931 int
11932 main ()
11933 {
11934 #ifndef __xlC__
11935 choke me
11936 #endif
11937
11938 ;
11939 return 0;
11940 }
11941 _ACEOF
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11945 ac_status=$?
11946 grep -v '^ *+' conftest.er1 >conftest.err
11947 rm -f conftest.er1
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; } &&
11957 { ac_try='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11960 ac_status=$?
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 bakefile_compiler_xlc=yes
11964 else
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.$ac_ext >&5
11967
11968 bakefile_compiler_xlc=no
11969 fi
11970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11971 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
11972
11973 fi
11974 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
11975 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
11976
11977 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
11978 ac_ext=c
11979 ac_cpp='$CPP $CPPFLAGS'
11980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11983
11984
11985 ;;
11986
11987 Darwin)
11988 ac_ext=c
11989 ac_cpp='$CPP $CPPFLAGS'
11990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11993
11994 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11995 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11996 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999 cat >conftest.$ac_ext <<_ACEOF
12000 /* confdefs.h. */
12001 _ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005
12006 int
12007 main ()
12008 {
12009 #ifndef __MWERKS__
12010 choke me
12011 #endif
12012
12013 ;
12014 return 0;
12015 }
12016 _ACEOF
12017 rm -f conftest.$ac_objext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12019 (eval $ac_compile) 2>conftest.er1
12020 ac_status=$?
12021 grep -v '^ *+' conftest.er1 >conftest.err
12022 rm -f conftest.er1
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; } &&
12032 { ac_try='test -s conftest.$ac_objext'
12033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12034 (eval $ac_try) 2>&5
12035 ac_status=$?
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); }; }; then
12038 bakefile_compiler_mwerks=yes
12039 else
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12042
12043 bakefile_compiler_mwerks=no
12044 fi
12045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12046 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12047
12048 fi
12049 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12050 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12051
12052 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
12059
12060 ac_ext=c
12061 ac_cpp='$CPP $CPPFLAGS'
12062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12065
12066 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12067 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12068 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 else
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077
12078 int
12079 main ()
12080 {
12081 #ifndef __xlC__
12082 choke me
12083 #endif
12084
12085 ;
12086 return 0;
12087 }
12088 _ACEOF
12089 rm -f conftest.$ac_objext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12091 (eval $ac_compile) 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12101 ac_status=$?
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; } &&
12104 { ac_try='test -s conftest.$ac_objext'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12107 ac_status=$?
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 bakefile_compiler_xlc=yes
12111 else
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12114
12115 bakefile_compiler_xlc=no
12116 fi
12117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12118 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12119
12120 fi
12121 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12122 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12123
12124 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12125 ac_ext=c
12126 ac_cpp='$CPP $CPPFLAGS'
12127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12130
12131
12132 ;;
12133
12134 IRIX*)
12135
12136
12137 ac_ext=c
12138 ac_cpp='$CPP $CPPFLAGS'
12139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12142
12143 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12144 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12145 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 else
12148 cat >conftest.$ac_ext <<_ACEOF
12149 /* confdefs.h. */
12150 _ACEOF
12151 cat confdefs.h >>conftest.$ac_ext
12152 cat >>conftest.$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12154
12155 int
12156 main ()
12157 {
12158
12159 #ifndef _SGI_COMPILER_VERSION
12160 choke me
12161 #endif
12162
12163 ;
12164 return 0;
12165 }
12166 _ACEOF
12167 rm -f conftest.$ac_objext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12169 (eval $ac_compile) 2>conftest.er1
12170 ac_status=$?
12171 grep -v '^ *+' conftest.er1 >conftest.err
12172 rm -f conftest.er1
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12189 else
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.$ac_ext >&5
12192
12193 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12194
12195 fi
12196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12197
12198
12199 fi
12200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12201 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12202 ac_ext=c
12203 ac_cpp='$CPP $CPPFLAGS'
12204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12207
12208 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12209 :; SGICC=yes
12210 else
12211 :;
12212 fi
12213
12214
12215 ;;
12216
12217 HP-UX*)
12218
12219
12220 ac_ext=c
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12225
12226 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12227 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12228 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 else
12231 cat >conftest.$ac_ext <<_ACEOF
12232 /* confdefs.h. */
12233 _ACEOF
12234 cat confdefs.h >>conftest.$ac_ext
12235 cat >>conftest.$ac_ext <<_ACEOF
12236 /* end confdefs.h. */
12237
12238 int
12239 main ()
12240 {
12241
12242 #ifndef __HP_cc
12243 choke me
12244 #endif
12245
12246 ;
12247 return 0;
12248 }
12249 _ACEOF
12250 rm -f conftest.$ac_objext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12252 (eval $ac_compile) 2>conftest.er1
12253 ac_status=$?
12254 grep -v '^ *+' conftest.er1 >conftest.err
12255 rm -f conftest.er1
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest.$ac_objext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 bakefile_cv_c_compiler___HP_cc=yes
12272 else
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12275
12276 bakefile_cv_c_compiler___HP_cc=no
12277
12278 fi
12279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12280
12281
12282 fi
12283 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12284 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12285 ac_ext=c
12286 ac_cpp='$CPP $CPPFLAGS'
12287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12290
12291 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12292 :; HPCC=yes
12293 else
12294 :;
12295 fi
12296
12297
12298 ;;
12299
12300 OSF1)
12301
12302
12303 ac_ext=c
12304 ac_cpp='$CPP $CPPFLAGS'
12305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12308
12309 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12310 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12311 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 else
12314 cat >conftest.$ac_ext <<_ACEOF
12315 /* confdefs.h. */
12316 _ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320
12321 int
12322 main ()
12323 {
12324
12325 #ifndef __DECC
12326 choke me
12327 #endif
12328
12329 ;
12330 return 0;
12331 }
12332 _ACEOF
12333 rm -f conftest.$ac_objext
12334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12335 (eval $ac_compile) 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12351 ac_status=$?
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 bakefile_cv_c_compiler___DECC=yes
12355 else
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12358
12359 bakefile_cv_c_compiler___DECC=no
12360
12361 fi
12362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12363
12364
12365 fi
12366 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12367 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12368 ac_ext=c
12369 ac_cpp='$CPP $CPPFLAGS'
12370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373
12374 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12375 :; COMPAQCC=yes
12376 else
12377 :;
12378 fi
12379
12380
12381 ;;
12382
12383 SunOS)
12384
12385
12386 ac_ext=c
12387 ac_cpp='$CPP $CPPFLAGS'
12388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12391
12392 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12393 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12394 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 else
12397 cat >conftest.$ac_ext <<_ACEOF
12398 /* confdefs.h. */
12399 _ACEOF
12400 cat confdefs.h >>conftest.$ac_ext
12401 cat >>conftest.$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12403
12404 int
12405 main ()
12406 {
12407
12408 #ifndef __SUNPRO_C
12409 choke me
12410 #endif
12411
12412 ;
12413 return 0;
12414 }
12415 _ACEOF
12416 rm -f conftest.$ac_objext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12418 (eval $ac_compile) 2>conftest.er1
12419 ac_status=$?
12420 grep -v '^ *+' conftest.er1 >conftest.err
12421 rm -f conftest.er1
12422 cat conftest.err >&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); } &&
12425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12428 ac_status=$?
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; } &&
12431 { ac_try='test -s conftest.$ac_objext'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12434 ac_status=$?
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12437 bakefile_cv_c_compiler___SUNPRO_C=yes
12438 else
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12441
12442 bakefile_cv_c_compiler___SUNPRO_C=no
12443
12444 fi
12445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12446
12447
12448 fi
12449 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12450 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12451 ac_ext=c
12452 ac_cpp='$CPP $CPPFLAGS'
12453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12456
12457 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12458 :; SUNCC=yes
12459 else
12460 :;
12461 fi
12462
12463
12464 ;;
12465 esac
12466 fi
12467
12468
12469
12470 ac_ext=c
12471 ac_cpp='$CPP $CPPFLAGS'
12472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12475 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12476 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12477 # On Suns, sometimes $CPP names a directory.
12478 if test -n "$CPP" && test -d "$CPP"; then
12479 CPP=
12480 fi
12481 if test -z "$CPP"; then
12482 if test "${ac_cv_prog_CPP+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 else
12485 # Double quotes because CPP needs to be expanded
12486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12487 do
12488 ac_preproc_ok=false
12489 for ac_c_preproc_warn_flag in '' yes
12490 do
12491 # Use a header file that comes with gcc, so configuring glibc
12492 # with a fresh cross-compiler works.
12493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12494 # <limits.h> exists even on freestanding compilers.
12495 # On the NeXT, cc -E runs the code through the compiler's parser,
12496 # not just through cpp. "Syntax error" is here to catch this case.
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503 #ifdef __STDC__
12504 # include <limits.h>
12505 #else
12506 # include <assert.h>
12507 #endif
12508 Syntax error
12509 _ACEOF
12510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12512 ac_status=$?
12513 grep -v '^ *+' conftest.er1 >conftest.err
12514 rm -f conftest.er1
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } >/dev/null; then
12518 if test -s conftest.err; then
12519 ac_cpp_err=$ac_c_preproc_warn_flag
12520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12521 else
12522 ac_cpp_err=
12523 fi
12524 else
12525 ac_cpp_err=yes
12526 fi
12527 if test -z "$ac_cpp_err"; then
12528 :
12529 else
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12532
12533 # Broken: fails on valid input.
12534 continue
12535 fi
12536 rm -f conftest.err conftest.$ac_ext
12537
12538 # OK, works on sane cases. Now check whether non-existent headers
12539 # can be detected and how.
12540 cat >conftest.$ac_ext <<_ACEOF
12541 /* confdefs.h. */
12542 _ACEOF
12543 cat confdefs.h >>conftest.$ac_ext
12544 cat >>conftest.$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12546 #include <ac_nonexistent.h>
12547 _ACEOF
12548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12550 ac_status=$?
12551 grep -v '^ *+' conftest.er1 >conftest.err
12552 rm -f conftest.er1
12553 cat conftest.err >&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } >/dev/null; then
12556 if test -s conftest.err; then
12557 ac_cpp_err=$ac_c_preproc_warn_flag
12558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12559 else
12560 ac_cpp_err=
12561 fi
12562 else
12563 ac_cpp_err=yes
12564 fi
12565 if test -z "$ac_cpp_err"; then
12566 # Broken: success on invalid input.
12567 continue
12568 else
12569 echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.$ac_ext >&5
12571
12572 # Passes both tests.
12573 ac_preproc_ok=:
12574 break
12575 fi
12576 rm -f conftest.err conftest.$ac_ext
12577
12578 done
12579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12580 rm -f conftest.err conftest.$ac_ext
12581 if $ac_preproc_ok; then
12582 break
12583 fi
12584
12585 done
12586 ac_cv_prog_CPP=$CPP
12587
12588 fi
12589 CPP=$ac_cv_prog_CPP
12590 else
12591 ac_cv_prog_CPP=$CPP
12592 fi
12593 echo "$as_me:$LINENO: result: $CPP" >&5
12594 echo "${ECHO_T}$CPP" >&6
12595 ac_preproc_ok=false
12596 for ac_c_preproc_warn_flag in '' yes
12597 do
12598 # Use a header file that comes with gcc, so configuring glibc
12599 # with a fresh cross-compiler works.
12600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12601 # <limits.h> exists even on freestanding compilers.
12602 # On the NeXT, cc -E runs the code through the compiler's parser,
12603 # not just through cpp. "Syntax error" is here to catch this case.
12604 cat >conftest.$ac_ext <<_ACEOF
12605 /* confdefs.h. */
12606 _ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 #ifdef __STDC__
12611 # include <limits.h>
12612 #else
12613 # include <assert.h>
12614 #endif
12615 Syntax error
12616 _ACEOF
12617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } >/dev/null; then
12625 if test -s conftest.err; then
12626 ac_cpp_err=$ac_c_preproc_warn_flag
12627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12628 else
12629 ac_cpp_err=
12630 fi
12631 else
12632 ac_cpp_err=yes
12633 fi
12634 if test -z "$ac_cpp_err"; then
12635 :
12636 else
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.$ac_ext >&5
12639
12640 # Broken: fails on valid input.
12641 continue
12642 fi
12643 rm -f conftest.err conftest.$ac_ext
12644
12645 # OK, works on sane cases. Now check whether non-existent headers
12646 # can be detected and how.
12647 cat >conftest.$ac_ext <<_ACEOF
12648 /* confdefs.h. */
12649 _ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 #include <ac_nonexistent.h>
12654 _ACEOF
12655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12657 ac_status=$?
12658 grep -v '^ *+' conftest.er1 >conftest.err
12659 rm -f conftest.er1
12660 cat conftest.err >&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } >/dev/null; then
12663 if test -s conftest.err; then
12664 ac_cpp_err=$ac_c_preproc_warn_flag
12665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12666 else
12667 ac_cpp_err=
12668 fi
12669 else
12670 ac_cpp_err=yes
12671 fi
12672 if test -z "$ac_cpp_err"; then
12673 # Broken: success on invalid input.
12674 continue
12675 else
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.$ac_ext >&5
12678
12679 # Passes both tests.
12680 ac_preproc_ok=:
12681 break
12682 fi
12683 rm -f conftest.err conftest.$ac_ext
12684
12685 done
12686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12687 rm -f conftest.err conftest.$ac_ext
12688 if $ac_preproc_ok; then
12689 :
12690 else
12691 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12692 See \`config.log' for more details." >&5
12693 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12694 See \`config.log' for more details." >&2;}
12695 { (exit 1); exit 1; }; }
12696 fi
12697
12698 ac_ext=c
12699 ac_cpp='$CPP $CPPFLAGS'
12700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12703
12704
12705 echo "$as_me:$LINENO: checking for egrep" >&5
12706 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12707 if test "${ac_cv_prog_egrep+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 else
12710 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12711 then ac_cv_prog_egrep='grep -E'
12712 else ac_cv_prog_egrep='egrep'
12713 fi
12714 fi
12715 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12716 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12717 EGREP=$ac_cv_prog_egrep
12718
12719
12720 if test $ac_cv_c_compiler_gnu = yes; then
12721 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12722 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12723 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 else
12726 ac_pattern="Autoconf.*'x'"
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 #include <sgtty.h>
12734 Autoconf TIOCGETP
12735 _ACEOF
12736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12737 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12738 ac_cv_prog_gcc_traditional=yes
12739 else
12740 ac_cv_prog_gcc_traditional=no
12741 fi
12742 rm -f conftest*
12743
12744
12745 if test $ac_cv_prog_gcc_traditional = no; then
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 #include <termio.h>
12753 Autoconf TCGETA
12754 _ACEOF
12755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12756 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12757 ac_cv_prog_gcc_traditional=yes
12758 fi
12759 rm -f conftest*
12760
12761 fi
12762 fi
12763 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12764 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12765 if test $ac_cv_prog_gcc_traditional = yes; then
12766 CC="$CC -traditional"
12767 fi
12768 fi
12769
12770
12771
12772
12773 ac_ext=cc
12774 ac_cpp='$CXXCPP $CPPFLAGS'
12775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12778
12779
12780 CXXFLAGS=${CXXFLAGS:=}
12781
12782
12783
12784 ac_ext=cc
12785 ac_cpp='$CXXCPP $CPPFLAGS'
12786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12789 if test -n "$ac_tool_prefix"; then
12790 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12791 do
12792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12794 echo "$as_me:$LINENO: checking for $ac_word" >&5
12795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12796 if test "${ac_cv_prog_CXX+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 else
12799 if test -n "$CXX"; then
12800 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12801 else
12802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803 for as_dir in $PATH
12804 do
12805 IFS=$as_save_IFS
12806 test -z "$as_dir" && as_dir=.
12807 for ac_exec_ext in '' $ac_executable_extensions; do
12808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12809 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 break 2
12812 fi
12813 done
12814 done
12815
12816 fi
12817 fi
12818 CXX=$ac_cv_prog_CXX
12819 if test -n "$CXX"; then
12820 echo "$as_me:$LINENO: result: $CXX" >&5
12821 echo "${ECHO_T}$CXX" >&6
12822 else
12823 echo "$as_me:$LINENO: result: no" >&5
12824 echo "${ECHO_T}no" >&6
12825 fi
12826
12827 test -n "$CXX" && break
12828 done
12829 fi
12830 if test -z "$CXX"; then
12831 ac_ct_CXX=$CXX
12832 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12833 do
12834 # Extract the first word of "$ac_prog", so it can be a program name with args.
12835 set dummy $ac_prog; ac_word=$2
12836 echo "$as_me:$LINENO: checking for $ac_word" >&5
12837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12838 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 else
12841 if test -n "$ac_ct_CXX"; then
12842 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12843 else
12844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12845 for as_dir in $PATH
12846 do
12847 IFS=$as_save_IFS
12848 test -z "$as_dir" && as_dir=.
12849 for ac_exec_ext in '' $ac_executable_extensions; do
12850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12851 ac_cv_prog_ac_ct_CXX="$ac_prog"
12852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 break 2
12854 fi
12855 done
12856 done
12857
12858 fi
12859 fi
12860 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12861 if test -n "$ac_ct_CXX"; then
12862 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12863 echo "${ECHO_T}$ac_ct_CXX" >&6
12864 else
12865 echo "$as_me:$LINENO: result: no" >&5
12866 echo "${ECHO_T}no" >&6
12867 fi
12868
12869 test -n "$ac_ct_CXX" && break
12870 done
12871 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12872
12873 CXX=$ac_ct_CXX
12874 fi
12875
12876
12877 # Provide some information about the compiler.
12878 echo "$as_me:$LINENO:" \
12879 "checking for C++ compiler version" >&5
12880 ac_compiler=`set X $ac_compile; echo $2`
12881 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12882 (eval $ac_compiler --version </dev/null >&5) 2>&5
12883 ac_status=$?
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }
12886 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12887 (eval $ac_compiler -v </dev/null >&5) 2>&5
12888 ac_status=$?
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }
12891 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12892 (eval $ac_compiler -V </dev/null >&5) 2>&5
12893 ac_status=$?
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); }
12896
12897 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12899 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902 cat >conftest.$ac_ext <<_ACEOF
12903 /* confdefs.h. */
12904 _ACEOF
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12908
12909 int
12910 main ()
12911 {
12912 #ifndef __GNUC__
12913 choke me
12914 #endif
12915
12916 ;
12917 return 0;
12918 }
12919 _ACEOF
12920 rm -f conftest.$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12923 ac_status=$?
12924 grep -v '^ *+' conftest.er1 >conftest.err
12925 rm -f conftest.er1
12926 cat conftest.err >&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12938 ac_status=$?
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 ac_compiler_gnu=yes
12942 else
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.$ac_ext >&5
12945
12946 ac_compiler_gnu=no
12947 fi
12948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12949 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12950
12951 fi
12952 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12953 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12954 GXX=`test $ac_compiler_gnu = yes && echo yes`
12955 ac_test_CXXFLAGS=${CXXFLAGS+set}
12956 ac_save_CXXFLAGS=$CXXFLAGS
12957 CXXFLAGS="-g"
12958 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12959 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12960 if test "${ac_cv_prog_cxx_g+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963 cat >conftest.$ac_ext <<_ACEOF
12964 /* confdefs.h. */
12965 _ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969
12970 int
12971 main ()
12972 {
12973
12974 ;
12975 return 0;
12976 }
12977 _ACEOF
12978 rm -f conftest.$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_cv_prog_cxx_g=yes
13000 else
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13003
13004 ac_cv_prog_cxx_g=no
13005 fi
13006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13007 fi
13008 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13009 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13010 if test "$ac_test_CXXFLAGS" = set; then
13011 CXXFLAGS=$ac_save_CXXFLAGS
13012 elif test $ac_cv_prog_cxx_g = yes; then
13013 if test "$GXX" = yes; then
13014 CXXFLAGS="-g -O2"
13015 else
13016 CXXFLAGS="-g"
13017 fi
13018 else
13019 if test "$GXX" = yes; then
13020 CXXFLAGS="-O2"
13021 else
13022 CXXFLAGS=
13023 fi
13024 fi
13025 for ac_declaration in \
13026 '' \
13027 'extern "C" void std::exit (int) throw (); using std::exit;' \
13028 'extern "C" void std::exit (int); using std::exit;' \
13029 'extern "C" void exit (int) throw ();' \
13030 'extern "C" void exit (int);' \
13031 'void exit (int);'
13032 do
13033 cat >conftest.$ac_ext <<_ACEOF
13034 /* confdefs.h. */
13035 _ACEOF
13036 cat confdefs.h >>conftest.$ac_ext
13037 cat >>conftest.$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13039 $ac_declaration
13040 #include <stdlib.h>
13041 int
13042 main ()
13043 {
13044 exit (42);
13045 ;
13046 return 0;
13047 }
13048 _ACEOF
13049 rm -f conftest.$ac_objext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13051 (eval $ac_compile) 2>conftest.er1
13052 ac_status=$?
13053 grep -v '^ *+' conftest.er1 >conftest.err
13054 rm -f conftest.er1
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13061 ac_status=$?
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; } &&
13064 { ac_try='test -s conftest.$ac_objext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 :
13071 else
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13074
13075 continue
13076 fi
13077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13078 cat >conftest.$ac_ext <<_ACEOF
13079 /* confdefs.h. */
13080 _ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084 $ac_declaration
13085 int
13086 main ()
13087 {
13088 exit (42);
13089 ;
13090 return 0;
13091 }
13092 _ACEOF
13093 rm -f conftest.$ac_objext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13095 (eval $ac_compile) 2>conftest.er1
13096 ac_status=$?
13097 grep -v '^ *+' conftest.er1 >conftest.err
13098 rm -f conftest.er1
13099 cat conftest.err >&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13105 ac_status=$?
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try='test -s conftest.$ac_objext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13111 ac_status=$?
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 break
13115 else
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13118
13119 fi
13120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13121 done
13122 rm -f conftest*
13123 if test -n "$ac_declaration"; then
13124 echo '#ifdef __cplusplus' >>confdefs.h
13125 echo $ac_declaration >>confdefs.h
13126 echo '#endif' >>confdefs.h
13127 fi
13128
13129 ac_ext=cc
13130 ac_cpp='$CXXCPP $CPPFLAGS'
13131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13134
13135
13136
13137 ac_ext=cc
13138 ac_cpp='$CXXCPP $CPPFLAGS'
13139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13142
13143 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13144 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13145 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13146 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 else
13148 cat >conftest.$ac_ext <<_ACEOF
13149 /* confdefs.h. */
13150 _ACEOF
13151 cat confdefs.h >>conftest.$ac_ext
13152 cat >>conftest.$ac_ext <<_ACEOF
13153 /* end confdefs.h. */
13154
13155 int
13156 main ()
13157 {
13158
13159 #ifndef __INTEL_COMPILER
13160 choke me
13161 #endif
13162
13163 ;
13164 return 0;
13165 }
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>conftest.er1
13170 ac_status=$?
13171 grep -v '^ *+' conftest.er1 >conftest.err
13172 rm -f conftest.er1
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try='test -s conftest.$ac_objext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13185 ac_status=$?
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13189 else
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13192
13193 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13194
13195 fi
13196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13197
13198
13199 fi
13200 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13201 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13202 ac_ext=cc
13203 ac_cpp='$CXXCPP $CPPFLAGS'
13204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13207
13208 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13209 :; INTELCXX=yes
13210 else
13211 :;
13212 fi
13213
13214
13215 if test "x$GCXX" != "xyes"; then
13216 if test "xCXX" = "xC"; then
13217 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13218 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13219 if test "${bakefile_cv_cxx_exto+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 else
13222 cat >conftest.$ac_ext <<_ACEOF
13223 /* confdefs.h. */
13224 _ACEOF
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228
13229 int
13230 main ()
13231 {
13232
13233 ;
13234 return 0;
13235 }
13236 _ACEOF
13237 rm -f conftest.$ac_objext conftest.$ac_ext.o
13238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; then
13243 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13244 case $ac_file in
13245 conftest.$ac_ext.o)
13246 bakefile_cv_cxx_exto="-ext o"
13247 ;;
13248 *)
13249 ;;
13250 esac
13251 done
13252 else
13253 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13254 See \`config.log' for more details." >&5
13255 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13256 See \`config.log' for more details." >&2;}
13257 { (exit 1); exit 1; }; }
13258
13259 fi
13260
13261 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13262
13263 fi
13264 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13265 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13266 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13267 if test "cxx" = "c"; then
13268 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13269 fi
13270 if test "cxx" = "cxx"; then
13271 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13272 fi
13273 fi
13274
13275 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13276 unset ac_cv_prog_cc_g
13277 ac_test_CFLAGS=${CFLAGS+set}
13278 ac_save_CFLAGS=$CFLAGS
13279 CFLAGS="-g"
13280 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13282 if test "${ac_cv_prog_cc_g+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 cat >conftest.$ac_ext <<_ACEOF
13286 /* confdefs.h. */
13287 _ACEOF
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291
13292 int
13293 main ()
13294 {
13295
13296 ;
13297 return 0;
13298 }
13299 _ACEOF
13300 rm -f conftest.$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13318 ac_status=$?
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 ac_cv_prog_cc_g=yes
13322 else
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13325
13326 ac_cv_prog_cc_g=no
13327 fi
13328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13329 fi
13330 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13331 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13332 if test "$ac_test_CFLAGS" = set; then
13333 CFLAGS=$ac_save_CFLAGS
13334 elif test $ac_cv_prog_cc_g = yes; then
13335 if test "$GCC" = yes; then
13336 CFLAGS="-g -O2"
13337 else
13338 CFLAGS="-g"
13339 fi
13340 else
13341 if test "$GCC" = yes; then
13342 CFLAGS="-O2"
13343 else
13344 CFLAGS=
13345 fi
13346 fi
13347 fi
13348 fi
13349
13350 case `uname -s` in
13351 AIX*)
13352 ac_ext=cc
13353 ac_cpp='$CXXCPP $CPPFLAGS'
13354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13357
13358 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13359 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13360 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363 cat >conftest.$ac_ext <<_ACEOF
13364 /* confdefs.h. */
13365 _ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369
13370 int
13371 main ()
13372 {
13373 #ifndef __xlC__
13374 choke me
13375 #endif
13376
13377 ;
13378 return 0;
13379 }
13380 _ACEOF
13381 rm -f conftest.$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>conftest.er1
13384 ac_status=$?
13385 grep -v '^ *+' conftest.er1 >conftest.err
13386 rm -f conftest.er1
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13393 ac_status=$?
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try='test -s conftest.$ac_objext'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; }; then
13402 bakefile_compiler_xlc=yes
13403 else
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.$ac_ext >&5
13406
13407 bakefile_compiler_xlc=no
13408 fi
13409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13410 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13411
13412 fi
13413 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13414 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13415
13416 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13417 ac_ext=cc
13418 ac_cpp='$CXXCPP $CPPFLAGS'
13419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13422
13423
13424 ;;
13425
13426 Darwin)
13427 ac_ext=cc
13428 ac_cpp='$CXXCPP $CPPFLAGS'
13429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13432
13433 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13434 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13435 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 else
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444
13445 int
13446 main ()
13447 {
13448 #ifndef __MWERKS__
13449 choke me
13450 #endif
13451
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>conftest.er1
13459 ac_status=$?
13460 grep -v '^ *+' conftest.er1 >conftest.err
13461 rm -f conftest.er1
13462 cat conftest.err >&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13474 ac_status=$?
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 bakefile_compiler_mwerks=yes
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 bakefile_compiler_mwerks=no
13483 fi
13484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13485 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13486
13487 fi
13488 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13489 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13490
13491 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13492 ac_ext=cc
13493 ac_cpp='$CXXCPP $CPPFLAGS'
13494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13497
13498
13499 ac_ext=cc
13500 ac_cpp='$CXXCPP $CPPFLAGS'
13501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13504
13505 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13506 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13507 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13510 cat >conftest.$ac_ext <<_ACEOF
13511 /* confdefs.h. */
13512 _ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516
13517 int
13518 main ()
13519 {
13520 #ifndef __xlC__
13521 choke me
13522 #endif
13523
13524 ;
13525 return 0;
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_compiler_xlc=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_compiler_xlc=no
13555 fi
13556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13557 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13558
13559 fi
13560 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13561 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13562
13563 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13564 ac_ext=cc
13565 ac_cpp='$CXXCPP $CPPFLAGS'
13566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13569
13570
13571 ;;
13572
13573 IRIX*)
13574
13575
13576 ac_ext=cc
13577 ac_cpp='$CXXCPP $CPPFLAGS'
13578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13581
13582 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13583 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13584 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h. */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13593
13594 int
13595 main ()
13596 {
13597
13598 #ifndef _SGI_COMPILER_VERSION
13599 choke me
13600 #endif
13601
13602 ;
13603 return 0;
13604 }
13605 _ACEOF
13606 rm -f conftest.$ac_objext
13607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13608 (eval $ac_compile) 2>conftest.er1
13609 ac_status=$?
13610 grep -v '^ *+' conftest.er1 >conftest.err
13611 rm -f conftest.er1
13612 cat conftest.err >&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13624 ac_status=$?
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13633
13634 fi
13635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13636
13637
13638 fi
13639 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13640 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13641 ac_ext=cc
13642 ac_cpp='$CXXCPP $CPPFLAGS'
13643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13646
13647 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13648 :; SGICXX=yes
13649 else
13650 :;
13651 fi
13652
13653
13654 ;;
13655
13656 HP-UX*)
13657
13658
13659 ac_ext=cc
13660 ac_cpp='$CXXCPP $CPPFLAGS'
13661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13664
13665 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13666 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13667 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 else
13670 cat >conftest.$ac_ext <<_ACEOF
13671 /* confdefs.h. */
13672 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676
13677 int
13678 main ()
13679 {
13680
13681 #ifndef __HP_aCC
13682 choke me
13683 #endif
13684
13685 ;
13686 return 0;
13687 }
13688 _ACEOF
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691 (eval $ac_compile) 2>conftest.er1
13692 ac_status=$?
13693 grep -v '^ *+' conftest.er1 >conftest.err
13694 rm -f conftest.er1
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } &&
13698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13701 ac_status=$?
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try='test -s conftest.$ac_objext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 bakefile_cv_cxx_compiler___HP_aCC=yes
13711 else
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13714
13715 bakefile_cv_cxx_compiler___HP_aCC=no
13716
13717 fi
13718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13719
13720
13721 fi
13722 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13723 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13724 ac_ext=cc
13725 ac_cpp='$CXXCPP $CPPFLAGS'
13726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13729
13730 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13731 :; HPCXX=yes
13732 else
13733 :;
13734 fi
13735
13736
13737 ;;
13738
13739 OSF1)
13740
13741
13742 ac_ext=cc
13743 ac_cpp='$CXXCPP $CPPFLAGS'
13744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13747
13748 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13749 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13750 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13753 cat >conftest.$ac_ext <<_ACEOF
13754 /* confdefs.h. */
13755 _ACEOF
13756 cat confdefs.h >>conftest.$ac_ext
13757 cat >>conftest.$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759
13760 int
13761 main ()
13762 {
13763
13764 #ifndef __DECCXX
13765 choke me
13766 #endif
13767
13768 ;
13769 return 0;
13770 }
13771 _ACEOF
13772 rm -f conftest.$ac_objext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13774 (eval $ac_compile) 2>conftest.er1
13775 ac_status=$?
13776 grep -v '^ *+' conftest.er1 >conftest.err
13777 rm -f conftest.er1
13778 cat conftest.err >&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13784 ac_status=$?
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; } &&
13787 { ac_try='test -s conftest.$ac_objext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 bakefile_cv_cxx_compiler___DECCXX=yes
13794 else
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13797
13798 bakefile_cv_cxx_compiler___DECCXX=no
13799
13800 fi
13801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13802
13803
13804 fi
13805 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13806 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13807 ac_ext=cc
13808 ac_cpp='$CXXCPP $CPPFLAGS'
13809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13812
13813 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13814 :; COMPAQCXX=yes
13815 else
13816 :;
13817 fi
13818
13819
13820 ;;
13821
13822 SunOS)
13823
13824
13825 ac_ext=cc
13826 ac_cpp='$CXXCPP $CPPFLAGS'
13827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13830
13831 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13832 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13833 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 else
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842
13843 int
13844 main ()
13845 {
13846
13847 #ifndef __SUNPRO_CC
13848 choke me
13849 #endif
13850
13851 ;
13852 return 0;
13853 }
13854 _ACEOF
13855 rm -f conftest.$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13867 ac_status=$?
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; } &&
13870 { ac_try='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13880
13881 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13882
13883 fi
13884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13885
13886
13887 fi
13888 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13889 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13890 ac_ext=cc
13891 ac_cpp='$CXXCPP $CPPFLAGS'
13892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13895
13896 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13897 :; SUNCXX=yes
13898 else
13899 :;
13900 fi
13901
13902
13903 ;;
13904 esac
13905 fi
13906
13907
13908
13909 ac_ext=c
13910 ac_cpp='$CPP $CPPFLAGS'
13911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13914
13915
13916 if test -n "$ac_tool_prefix"; then
13917 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13919 echo "$as_me:$LINENO: checking for $ac_word" >&5
13920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13921 if test "${ac_cv_prog_RANLIB+set}" = set; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13923 else
13924 if test -n "$RANLIB"; then
13925 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13926 else
13927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13928 for as_dir in $PATH
13929 do
13930 IFS=$as_save_IFS
13931 test -z "$as_dir" && as_dir=.
13932 for ac_exec_ext in '' $ac_executable_extensions; do
13933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13934 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13936 break 2
13937 fi
13938 done
13939 done
13940
13941 fi
13942 fi
13943 RANLIB=$ac_cv_prog_RANLIB
13944 if test -n "$RANLIB"; then
13945 echo "$as_me:$LINENO: result: $RANLIB" >&5
13946 echo "${ECHO_T}$RANLIB" >&6
13947 else
13948 echo "$as_me:$LINENO: result: no" >&5
13949 echo "${ECHO_T}no" >&6
13950 fi
13951
13952 fi
13953 if test -z "$ac_cv_prog_RANLIB"; then
13954 ac_ct_RANLIB=$RANLIB
13955 # Extract the first word of "ranlib", so it can be a program name with args.
13956 set dummy ranlib; ac_word=$2
13957 echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13959 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 else
13962 if test -n "$ac_ct_RANLIB"; then
13963 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13964 else
13965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13966 for as_dir in $PATH
13967 do
13968 IFS=$as_save_IFS
13969 test -z "$as_dir" && as_dir=.
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13972 ac_cv_prog_ac_ct_RANLIB="ranlib"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13974 break 2
13975 fi
13976 done
13977 done
13978
13979 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13980 fi
13981 fi
13982 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13983 if test -n "$ac_ct_RANLIB"; then
13984 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13985 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13986 else
13987 echo "$as_me:$LINENO: result: no" >&5
13988 echo "${ECHO_T}no" >&6
13989 fi
13990
13991 RANLIB=$ac_ct_RANLIB
13992 else
13993 RANLIB="$ac_cv_prog_RANLIB"
13994 fi
13995
13996
13997 if test -n "$ac_tool_prefix"; then
13998 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13999 set dummy ${ac_tool_prefix}ar; ac_word=$2
14000 echo "$as_me:$LINENO: checking for $ac_word" >&5
14001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14002 if test "${ac_cv_prog_AR+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 else
14005 if test -n "$AR"; then
14006 ac_cv_prog_AR="$AR" # Let the user override the test.
14007 else
14008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14009 for as_dir in $PATH
14010 do
14011 IFS=$as_save_IFS
14012 test -z "$as_dir" && as_dir=.
14013 for ac_exec_ext in '' $ac_executable_extensions; do
14014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14015 ac_cv_prog_AR="${ac_tool_prefix}ar"
14016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14017 break 2
14018 fi
14019 done
14020 done
14021
14022 fi
14023 fi
14024 AR=$ac_cv_prog_AR
14025 if test -n "$AR"; then
14026 echo "$as_me:$LINENO: result: $AR" >&5
14027 echo "${ECHO_T}$AR" >&6
14028 else
14029 echo "$as_me:$LINENO: result: no" >&5
14030 echo "${ECHO_T}no" >&6
14031 fi
14032
14033 fi
14034 if test -z "$ac_cv_prog_AR"; then
14035 ac_ct_AR=$AR
14036 # Extract the first word of "ar", so it can be a program name with args.
14037 set dummy ar; ac_word=$2
14038 echo "$as_me:$LINENO: checking for $ac_word" >&5
14039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14040 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 else
14043 if test -n "$ac_ct_AR"; then
14044 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14045 else
14046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14047 for as_dir in $PATH
14048 do
14049 IFS=$as_save_IFS
14050 test -z "$as_dir" && as_dir=.
14051 for ac_exec_ext in '' $ac_executable_extensions; do
14052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14053 ac_cv_prog_ac_ct_AR="ar"
14054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14055 break 2
14056 fi
14057 done
14058 done
14059
14060 fi
14061 fi
14062 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14063 if test -n "$ac_ct_AR"; then
14064 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14065 echo "${ECHO_T}$ac_ct_AR" >&6
14066 else
14067 echo "$as_me:$LINENO: result: no" >&5
14068 echo "${ECHO_T}no" >&6
14069 fi
14070
14071 AR=$ac_ct_AR
14072 else
14073 AR="$ac_cv_prog_AR"
14074 fi
14075
14076 if test "x$AR" = "x" ; then
14077 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14078 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14079 { (exit 1); exit 1; }; }
14080 fi
14081
14082 # Find a good install program. We prefer a C program (faster),
14083 # so one script is as good as another. But avoid the broken or
14084 # incompatible versions:
14085 # SysV /etc/install, /usr/sbin/install
14086 # SunOS /usr/etc/install
14087 # IRIX /sbin/install
14088 # AIX /bin/install
14089 # AmigaOS /C/install, which installs bootblocks on floppy discs
14090 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14091 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14092 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14093 # OS/2's system install, which has a completely different semantic
14094 # ./install, which can be erroneously created by make from ./install.sh.
14095 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14096 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14097 if test -z "$INSTALL"; then
14098 if test "${ac_cv_path_install+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14100 else
14101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14102 for as_dir in $PATH
14103 do
14104 IFS=$as_save_IFS
14105 test -z "$as_dir" && as_dir=.
14106 # Account for people who put trailing slashes in PATH elements.
14107 case $as_dir/ in
14108 ./ | .// | /cC/* | \
14109 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14110 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14111 /usr/ucb/* ) ;;
14112 *)
14113 # OSF1 and SCO ODT 3.0 have their own names for install.
14114 # Don't use installbsd from OSF since it installs stuff as root
14115 # by default.
14116 for ac_prog in ginstall scoinst install; do
14117 for ac_exec_ext in '' $ac_executable_extensions; do
14118 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14119 if test $ac_prog = install &&
14120 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14121 # AIX install. It has an incompatible calling convention.
14122 :
14123 elif test $ac_prog = install &&
14124 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14125 # program-specific install script used by HP pwplus--don't use.
14126 :
14127 else
14128 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14129 break 3
14130 fi
14131 fi
14132 done
14133 done
14134 ;;
14135 esac
14136 done
14137
14138
14139 fi
14140 if test "${ac_cv_path_install+set}" = set; then
14141 INSTALL=$ac_cv_path_install
14142 else
14143 # As a last resort, use the slow shell script. We don't cache a
14144 # path for INSTALL within a source directory, because that will
14145 # break other packages using the cache if that directory is
14146 # removed, or if the path is relative.
14147 INSTALL=$ac_install_sh
14148 fi
14149 fi
14150 echo "$as_me:$LINENO: result: $INSTALL" >&5
14151 echo "${ECHO_T}$INSTALL" >&6
14152
14153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14154 # It thinks the first close brace ends the variable substitution.
14155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14156
14157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14158
14159 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14160
14161
14162 case ${INSTALL} in
14163 /* ) # Absolute
14164 ;;
14165 ?:* ) # Drive letter, considered as absolute.
14166 ;;
14167 *)
14168 INSTALL=`pwd`/${INSTALL} ;;
14169 esac
14170
14171
14172 case "${host}" in
14173
14174 *-*-darwin* )
14175 INSTALL_PROGRAM="cp -fp"
14176 INSTALL_DATA="cp -fp"
14177 ;;
14178 *)
14179 ;;
14180 esac
14181
14182 if test -n "$ac_tool_prefix"; then
14183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14184 set dummy ${ac_tool_prefix}strip; ac_word=$2
14185 echo "$as_me:$LINENO: checking for $ac_word" >&5
14186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14187 if test "${ac_cv_prog_STRIP+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14189 else
14190 if test -n "$STRIP"; then
14191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14192 else
14193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14194 for as_dir in $PATH
14195 do
14196 IFS=$as_save_IFS
14197 test -z "$as_dir" && as_dir=.
14198 for ac_exec_ext in '' $ac_executable_extensions; do
14199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14202 break 2
14203 fi
14204 done
14205 done
14206
14207 fi
14208 fi
14209 STRIP=$ac_cv_prog_STRIP
14210 if test -n "$STRIP"; then
14211 echo "$as_me:$LINENO: result: $STRIP" >&5
14212 echo "${ECHO_T}$STRIP" >&6
14213 else
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14216 fi
14217
14218 fi
14219 if test -z "$ac_cv_prog_STRIP"; then
14220 ac_ct_STRIP=$STRIP
14221 # Extract the first word of "strip", so it can be a program name with args.
14222 set dummy strip; ac_word=$2
14223 echo "$as_me:$LINENO: checking for $ac_word" >&5
14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14225 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 else
14228 if test -n "$ac_ct_STRIP"; then
14229 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14230 else
14231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14232 for as_dir in $PATH
14233 do
14234 IFS=$as_save_IFS
14235 test -z "$as_dir" && as_dir=.
14236 for ac_exec_ext in '' $ac_executable_extensions; do
14237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14238 ac_cv_prog_ac_ct_STRIP="strip"
14239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 break 2
14241 fi
14242 done
14243 done
14244
14245 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14246 fi
14247 fi
14248 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14249 if test -n "$ac_ct_STRIP"; then
14250 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14251 echo "${ECHO_T}$ac_ct_STRIP" >&6
14252 else
14253 echo "$as_me:$LINENO: result: no" >&5
14254 echo "${ECHO_T}no" >&6
14255 fi
14256
14257 STRIP=$ac_ct_STRIP
14258 else
14259 STRIP="$ac_cv_prog_STRIP"
14260 fi
14261
14262
14263 if test "$wxUSE_WINE" = "yes"; then
14264 if test -n "$ac_tool_prefix"; then
14265 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14266 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14267 echo "$as_me:$LINENO: checking for $ac_word" >&5
14268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14269 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 else
14272 if test -n "$RESCOMP"; then
14273 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14274 else
14275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14276 for as_dir in $PATH
14277 do
14278 IFS=$as_save_IFS
14279 test -z "$as_dir" && as_dir=.
14280 for ac_exec_ext in '' $ac_executable_extensions; do
14281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14282 ac_cv_prog_RESCOMP="${ac_tool_prefix}wrc"
14283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14284 break 2
14285 fi
14286 done
14287 done
14288
14289 fi
14290 fi
14291 RESCOMP=$ac_cv_prog_RESCOMP
14292 if test -n "$RESCOMP"; then
14293 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14294 echo "${ECHO_T}$RESCOMP" >&6
14295 else
14296 echo "$as_me:$LINENO: result: no" >&5
14297 echo "${ECHO_T}no" >&6
14298 fi
14299
14300 fi
14301 if test -z "$ac_cv_prog_RESCOMP"; then
14302 ac_ct_RESCOMP=$RESCOMP
14303 # Extract the first word of "wrc", so it can be a program name with args.
14304 set dummy wrc; ac_word=$2
14305 echo "$as_me:$LINENO: checking for $ac_word" >&5
14306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14307 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 else
14310 if test -n "$ac_ct_RESCOMP"; then
14311 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14312 else
14313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14314 for as_dir in $PATH
14315 do
14316 IFS=$as_save_IFS
14317 test -z "$as_dir" && as_dir=.
14318 for ac_exec_ext in '' $ac_executable_extensions; do
14319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320 ac_cv_prog_ac_ct_RESCOMP="wrc"
14321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14322 break 2
14323 fi
14324 done
14325 done
14326
14327 fi
14328 fi
14329 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14330 if test -n "$ac_ct_RESCOMP"; then
14331 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14332 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14333 else
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14336 fi
14337
14338 RESCOMP=$ac_ct_RESCOMP
14339 else
14340 RESCOMP="$ac_cv_prog_RESCOMP"
14341 fi
14342
14343 else
14344 case "${host}" in
14345 *-*-cygwin* | *-*-mingw32* )
14346 if test -n "$ac_tool_prefix"; then
14347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14348 set dummy ${ac_tool_prefix}windres; ac_word=$2
14349 echo "$as_me:$LINENO: checking for $ac_word" >&5
14350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14351 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 else
14354 if test -n "$RESCOMP"; then
14355 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14356 else
14357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14359 do
14360 IFS=$as_save_IFS
14361 test -z "$as_dir" && as_dir=.
14362 for ac_exec_ext in '' $ac_executable_extensions; do
14363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14364 ac_cv_prog_RESCOMP="${ac_tool_prefix}windres"
14365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14366 break 2
14367 fi
14368 done
14369 done
14370
14371 fi
14372 fi
14373 RESCOMP=$ac_cv_prog_RESCOMP
14374 if test -n "$RESCOMP"; then
14375 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14376 echo "${ECHO_T}$RESCOMP" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14380 fi
14381
14382 fi
14383 if test -z "$ac_cv_prog_RESCOMP"; then
14384 ac_ct_RESCOMP=$RESCOMP
14385 # Extract the first word of "windres", so it can be a program name with args.
14386 set dummy windres; ac_word=$2
14387 echo "$as_me:$LINENO: checking for $ac_word" >&5
14388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14389 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14392 if test -n "$ac_ct_RESCOMP"; then
14393 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14394 else
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14397 do
14398 IFS=$as_save_IFS
14399 test -z "$as_dir" && as_dir=.
14400 for ac_exec_ext in '' $ac_executable_extensions; do
14401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14402 ac_cv_prog_ac_ct_RESCOMP="windres"
14403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14404 break 2
14405 fi
14406 done
14407 done
14408
14409 fi
14410 fi
14411 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14412 if test -n "$ac_ct_RESCOMP"; then
14413 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14414 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14415 else
14416 echo "$as_me:$LINENO: result: no" >&5
14417 echo "${ECHO_T}no" >&6
14418 fi
14419
14420 RESCOMP=$ac_ct_RESCOMP
14421 else
14422 RESCOMP="$ac_cv_prog_RESCOMP"
14423 fi
14424
14425 if test -n "$ac_tool_prefix"; then
14426 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14427 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14428 echo "$as_me:$LINENO: checking for $ac_word" >&5
14429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14430 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14432 else
14433 if test -n "$DLLTOOL"; then
14434 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14435 else
14436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14437 for as_dir in $PATH
14438 do
14439 IFS=$as_save_IFS
14440 test -z "$as_dir" && as_dir=.
14441 for ac_exec_ext in '' $ac_executable_extensions; do
14442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14443 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14445 break 2
14446 fi
14447 done
14448 done
14449
14450 fi
14451 fi
14452 DLLTOOL=$ac_cv_prog_DLLTOOL
14453 if test -n "$DLLTOOL"; then
14454 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14455 echo "${ECHO_T}$DLLTOOL" >&6
14456 else
14457 echo "$as_me:$LINENO: result: no" >&5
14458 echo "${ECHO_T}no" >&6
14459 fi
14460
14461 fi
14462 if test -z "$ac_cv_prog_DLLTOOL"; then
14463 ac_ct_DLLTOOL=$DLLTOOL
14464 # Extract the first word of "dlltool", so it can be a program name with args.
14465 set dummy dlltool; ac_word=$2
14466 echo "$as_me:$LINENO: checking for $ac_word" >&5
14467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14468 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471 if test -n "$ac_ct_DLLTOOL"; then
14472 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14473 else
14474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14475 for as_dir in $PATH
14476 do
14477 IFS=$as_save_IFS
14478 test -z "$as_dir" && as_dir=.
14479 for ac_exec_ext in '' $ac_executable_extensions; do
14480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14481 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14483 break 2
14484 fi
14485 done
14486 done
14487
14488 fi
14489 fi
14490 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14491 if test -n "$ac_ct_DLLTOOL"; then
14492 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14493 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14494 else
14495 echo "$as_me:$LINENO: result: no" >&5
14496 echo "${ECHO_T}no" >&6
14497 fi
14498
14499 DLLTOOL=$ac_ct_DLLTOOL
14500 else
14501 DLLTOOL="$ac_cv_prog_DLLTOOL"
14502 fi
14503
14504 ;;
14505 esac
14506 fi
14507
14508 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14509 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14510 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513
14514 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14515 egrep -s GNU > /dev/null); then
14516 wx_cv_prog_makeisgnu="yes"
14517 else
14518 wx_cv_prog_makeisgnu="no"
14519 fi
14520
14521 fi
14522 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14523 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14524
14525 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14526 IF_GNU_MAKE=""
14527 else
14528 IF_GNU_MAKE="#"
14529 fi
14530
14531
14532
14533 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14534 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14535 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14536 if test "${wx_cv_prog_makevpath+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 else
14539
14540 cat - << EOF > confMake
14541 check : file
14542 cp \$? \$@
14543 cp \$? final_file
14544 EOF
14545
14546 if test ! -d sub ; then
14547 mkdir sub
14548 fi
14549 echo dummy > sub/file
14550 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14551 RESULT=$?
14552 rm -f sub/file check final_file confMake
14553 rmdir sub
14554 if test "$RESULT" = 0; then
14555 wx_cv_prog_makevpath="yes"
14556 else
14557 wx_cv_prog_makevpath="no"
14558 fi
14559
14560 fi
14561 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14562 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14563
14564 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14565 { { echo "$as_me:$LINENO: error:
14566 You need a make-utility that is able to use the variable
14567 VPATH correctly.
14568 If your version of make does not support VPATH correctly,
14569 please install GNU-make (possibly as gmake), and start
14570 configure with the following command:
14571 export MAKE=gmake; ./configure for sh-type shells
14572 setenv MAKE gmake; ./configure for csh-type shells
14573 Also please do remember to use gmake in this case every time
14574 you are trying to compile.
14575 " >&5
14576 echo "$as_me: error:
14577 You need a make-utility that is able to use the variable
14578 VPATH correctly.
14579 If your version of make does not support VPATH correctly,
14580 please install GNU-make (possibly as gmake), and start
14581 configure with the following command:
14582 export MAKE=gmake; ./configure for sh-type shells
14583 setenv MAKE gmake; ./configure for csh-type shells
14584 Also please do remember to use gmake in this case every time
14585 you are trying to compile.
14586 " >&2;}
14587 { (exit 1); exit 1; }; }
14588 fi fi
14589 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14590 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14591 LN_S=$as_ln_s
14592 if test "$LN_S" = "ln -s"; then
14593 echo "$as_me:$LINENO: result: yes" >&5
14594 echo "${ECHO_T}yes" >&6
14595 else
14596 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14597 echo "${ECHO_T}no, using $LN_S" >&6
14598 fi
14599
14600
14601
14602 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14603 CXXFLAGS="$CXXFLAGS -qunique"
14604 fi
14605
14606 case "${host}" in
14607 powerpc-*-darwin* )
14608 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14609 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616
14617 int
14618 main ()
14619 {
14620 #ifndef __POWERPC__
14621 choke me for lack of PowerPC
14622 #endif
14623
14624 ;
14625 return 0;
14626 }
14627 _ACEOF
14628 rm -f conftest.$ac_objext
14629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14630 (eval $ac_compile) 2>conftest.er1
14631 ac_status=$?
14632 grep -v '^ *+' conftest.er1 >conftest.err
14633 rm -f conftest.er1
14634 cat conftest.err >&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14640 ac_status=$?
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; } &&
14643 { ac_try='test -s conftest.$ac_objext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14646 ac_status=$?
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 echo "$as_me:$LINENO: result: yes" >&5
14650 echo "${ECHO_T}yes" >&6
14651 else
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14654
14655 echo "$as_me:$LINENO: result: no" >&5
14656 echo "${ECHO_T}no" >&6
14657 cat >>confdefs.h <<\_ACEOF
14658 #define __POWERPC__ 1
14659 _ACEOF
14660
14661
14662 fi
14663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14664 ;;
14665 esac
14666
14667 case "${host}" in
14668 *-*-darwin* )
14669 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14670 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 #include <CoreFoundation/CFBase.h>
14678
14679 int
14680 main ()
14681 {
14682
14683 ;
14684 return 0;
14685 }
14686 _ACEOF
14687 rm -f conftest.$ac_objext
14688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14689 (eval $ac_compile) 2>conftest.er1
14690 ac_status=$?
14691 grep -v '^ *+' conftest.er1 >conftest.err
14692 rm -f conftest.er1
14693 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } &&
14696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 echo "$as_me:$LINENO: result: yes" >&5
14709 echo "${ECHO_T}yes" >&6
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 echo "$as_me:$LINENO: result: no" >&5
14715 echo "${ECHO_T}no" >&6
14716 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14717 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14718 cat >conftest.$ac_ext <<_ACEOF
14719 /* confdefs.h. */
14720 _ACEOF
14721 cat confdefs.h >>conftest.$ac_ext
14722 cat >>conftest.$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14724 #define __CF_USE_FRAMEWORK_INCLUDES__
14725 #include <CoreFoundation/CFBase.h>
14726
14727 int
14728 main ()
14729 {
14730
14731 ;
14732 return 0;
14733 }
14734 _ACEOF
14735 rm -f conftest.$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14747 ac_status=$?
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; } &&
14750 { ac_try='test -s conftest.$ac_objext'
14751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14752 (eval $ac_try) 2>&5
14753 ac_status=$?
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 echo "$as_me:$LINENO: result: yes" >&5
14757 echo "${ECHO_T}yes" >&6
14758 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14762
14763 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14764 See \`config.log' for more details." >&5
14765 echo "$as_me: error: no. CoreFoundation not available.
14766 See \`config.log' for more details." >&2;}
14767 { (exit 1); exit 1; }; }
14768
14769 fi
14770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14771
14772
14773 fi
14774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14775 ;;
14776 esac
14777
14778 case "${host}" in
14779 *-pc-os2_emx | *-pc-os2-emx )
14780 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14781 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14782 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14783 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 else
14786 ac_check_lib_save_LIBS=$LIBS
14787 LIBS="-lcExt $LIBS"
14788 cat >conftest.$ac_ext <<_ACEOF
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794
14795 /* Override any gcc2 internal prototype to avoid an error. */
14796 #ifdef __cplusplus
14797 extern "C"
14798 #endif
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14801 char drand48 ();
14802 int
14803 main ()
14804 {
14805 drand48 ();
14806 ;
14807 return 0;
14808 }
14809 _ACEOF
14810 rm -f conftest.$ac_objext conftest$ac_exeext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14812 (eval $ac_link) 2>conftest.er1
14813 ac_status=$?
14814 grep -v '^ *+' conftest.er1 >conftest.err
14815 rm -f conftest.er1
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try='test -s conftest$ac_exeext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_cv_lib_cExt_drand48=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836 ac_cv_lib_cExt_drand48=no
14837 fi
14838 rm -f conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext conftest.$ac_ext
14840 LIBS=$ac_check_lib_save_LIBS
14841 fi
14842 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14843 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14844 if test $ac_cv_lib_cExt_drand48 = yes; then
14845 LIBS="$LIBS -lcExt"
14846 fi
14847
14848 else
14849 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
14850 fi
14851 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14852 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14853 if test "${wx_cv_gccversion+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856
14857 if test "$cross_compiling" = yes; then
14858 wx_cv_gccversion="EMX2"
14859
14860 else
14861 cat >conftest.$ac_ext <<_ACEOF
14862 /* confdefs.h. */
14863 _ACEOF
14864 cat confdefs.h >>conftest.$ac_ext
14865 cat >>conftest.$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867
14868 #include <stdio.h>
14869
14870 int main()
14871 {
14872 FILE *f=fopen("conftestval", "w");
14873 if (!f) exit(1);
14874 fprintf(f,
14875 #if (__GNUC__ < 3)
14876 "EMX2"
14877 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14878 "EMX3"
14879 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14880 "Innotek5"
14881 #else
14882 "Innotek6"
14883 #endif
14884 );
14885 exit(0);
14886 }
14887
14888 _ACEOF
14889 rm -f conftest$ac_exeext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14891 (eval $ac_link) 2>&5
14892 ac_status=$?
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 wx_cv_gccversion=`cat conftestval`
14901 else
14902 echo "$as_me: program exited with status $ac_status" >&5
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14905
14906 ( exit $ac_status )
14907 wx_cv_gccversion="EMX2"
14908 fi
14909 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14910 fi
14911
14912 fi
14913 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14914 echo "${ECHO_T}$wx_cv_gccversion" >&6
14915 if test "$wx_cv_gccversion" = "EMX2"; then
14916 LIBS="$LIBS -lstdcpp"
14917 LDFLAGS="$LDFLAGS -Zsysv-signals"
14918 else
14919 if test "$wx_cv_gccversion" = "EMX3"; then
14920 LIBS="$LIBS -lstdcxx -lgcc"
14921 LDFLAGS="$LDFLAGS -Zsysv-signals"
14922 else
14923 LIBS="$LIBS -lstdc++"
14924 fi
14925 fi
14926 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14927 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14928 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14929 wxUSE_OMF=yes
14930 enable_omf=yes
14931 fi
14932 ;;
14933 *)
14934
14935
14936
14937 ac_ext=cc
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14942
14943
14944 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14945 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14946 if test "${ac_cv_string_strcasecmp+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956
14957 #include <string.h>
14958
14959 int
14960 main ()
14961 {
14962
14963 strcasecmp("foo", "bar");
14964
14965 ;
14966 return 0;
14967 }
14968 _ACEOF
14969 rm -f conftest.$ac_objext conftest$ac_exeext
14970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14971 (eval $ac_link) 2>conftest.er1
14972 ac_status=$?
14973 grep -v '^ *+' conftest.er1 >conftest.err
14974 rm -f conftest.er1
14975 cat conftest.err >&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } &&
14978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; } &&
14984 { ac_try='test -s conftest$ac_exeext'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14987 ac_status=$?
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; }; then
14990 ac_cv_string_strcasecmp=yes
14991 else
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.$ac_ext >&5
14994
14995 ac_cv_string_strcasecmp=no
14996
14997 fi
14998 rm -f conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15000
15001 fi
15002 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15003 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15004
15005 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15006 cat >>confdefs.h <<\_ACEOF
15007 #define HAVE_STRCASECMP_IN_STRING_H 1
15008 _ACEOF
15009
15010 else
15011 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15012 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15013 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 else
15016
15017 cat >conftest.$ac_ext <<_ACEOF
15018 /* confdefs.h. */
15019 _ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023
15024 #include <strings.h>
15025
15026 int
15027 main ()
15028 {
15029
15030 strcasecmp("foo", "bar");
15031
15032 ;
15033 return 0;
15034 }
15035 _ACEOF
15036 rm -f conftest.$ac_objext conftest$ac_exeext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15038 (eval $ac_link) 2>conftest.er1
15039 ac_status=$?
15040 grep -v '^ *+' conftest.er1 >conftest.err
15041 rm -f conftest.er1
15042 cat conftest.err >&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_cv_strings_strcasecmp=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 ac_cv_strings_strcasecmp=no
15063
15064 fi
15065 rm -f conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067
15068 fi
15069 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15070 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15071
15072 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15073 cat >>confdefs.h <<\_ACEOF
15074 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15075 _ACEOF
15076
15077 else
15078 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15079 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15080 { (exit 1); exit 1; }; }
15081 fi
15082 fi
15083
15084 ac_ext=c
15085 ac_cpp='$CPP $CPPFLAGS'
15086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15089
15090 ;;
15091 esac
15092
15093
15094 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15095 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15096 if test "${ac_cv_header_stdc+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099 cat >conftest.$ac_ext <<_ACEOF
15100 /* confdefs.h. */
15101 _ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 #include <stdlib.h>
15106 #include <stdarg.h>
15107 #include <string.h>
15108 #include <float.h>
15109
15110 int
15111 main ()
15112 {
15113
15114 ;
15115 return 0;
15116 }
15117 _ACEOF
15118 rm -f conftest.$ac_objext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15120 (eval $ac_compile) 2>conftest.er1
15121 ac_status=$?
15122 grep -v '^ *+' conftest.er1 >conftest.err
15123 rm -f conftest.er1
15124 cat conftest.err >&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15130 ac_status=$?
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; } &&
15133 { ac_try='test -s conftest.$ac_objext'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15136 ac_status=$?
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 ac_cv_header_stdc=yes
15140 else
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15143
15144 ac_cv_header_stdc=no
15145 fi
15146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15147
15148 if test $ac_cv_header_stdc = yes; then
15149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15150 cat >conftest.$ac_ext <<_ACEOF
15151 /* confdefs.h. */
15152 _ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h. */
15156 #include <string.h>
15157
15158 _ACEOF
15159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15160 $EGREP "memchr" >/dev/null 2>&1; then
15161 :
15162 else
15163 ac_cv_header_stdc=no
15164 fi
15165 rm -f conftest*
15166
15167 fi
15168
15169 if test $ac_cv_header_stdc = yes; then
15170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15171 cat >conftest.$ac_ext <<_ACEOF
15172 /* confdefs.h. */
15173 _ACEOF
15174 cat confdefs.h >>conftest.$ac_ext
15175 cat >>conftest.$ac_ext <<_ACEOF
15176 /* end confdefs.h. */
15177 #include <stdlib.h>
15178
15179 _ACEOF
15180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15181 $EGREP "free" >/dev/null 2>&1; then
15182 :
15183 else
15184 ac_cv_header_stdc=no
15185 fi
15186 rm -f conftest*
15187
15188 fi
15189
15190 if test $ac_cv_header_stdc = yes; then
15191 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15192 if test "$cross_compiling" = yes; then
15193 :
15194 else
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201 #include <ctype.h>
15202 #if ((' ' & 0x0FF) == 0x020)
15203 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15204 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15205 #else
15206 # define ISLOWER(c) \
15207 (('a' <= (c) && (c) <= 'i') \
15208 || ('j' <= (c) && (c) <= 'r') \
15209 || ('s' <= (c) && (c) <= 'z'))
15210 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15211 #endif
15212
15213 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15214 int
15215 main ()
15216 {
15217 int i;
15218 for (i = 0; i < 256; i++)
15219 if (XOR (islower (i), ISLOWER (i))
15220 || toupper (i) != TOUPPER (i))
15221 exit(2);
15222 exit (0);
15223 }
15224 _ACEOF
15225 rm -f conftest$ac_exeext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15227 (eval $ac_link) 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15233 ac_status=$?
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15236 :
15237 else
15238 echo "$as_me: program exited with status $ac_status" >&5
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15241
15242 ( exit $ac_status )
15243 ac_cv_header_stdc=no
15244 fi
15245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15246 fi
15247 fi
15248 fi
15249 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15250 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15251 if test $ac_cv_header_stdc = yes; then
15252
15253 cat >>confdefs.h <<\_ACEOF
15254 #define STDC_HEADERS 1
15255 _ACEOF
15256
15257 fi
15258
15259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15270 inttypes.h stdint.h unistd.h
15271 do
15272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15273 echo "$as_me:$LINENO: checking for $ac_header" >&5
15274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15278 cat >conftest.$ac_ext <<_ACEOF
15279 /* confdefs.h. */
15280 _ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 $ac_includes_default
15285
15286 #include <$ac_header>
15287 _ACEOF
15288 rm -f conftest.$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15306 ac_status=$?
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 eval "$as_ac_Header=yes"
15310 else
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.$ac_ext >&5
15313
15314 eval "$as_ac_Header=no"
15315 fi
15316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15317 fi
15318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15321 cat >>confdefs.h <<_ACEOF
15322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15323 _ACEOF
15324
15325 fi
15326
15327 done
15328
15329
15330
15331 for ac_header in stdlib.h
15332 do
15333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15335 echo "$as_me:$LINENO: checking for $ac_header" >&5
15336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 fi
15340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15342 else
15343 # Is the header compilable?
15344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 #include <$ac_header>
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15367 ac_status=$?
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; } &&
15370 { ac_try='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376 ac_header_compiler=yes
15377 else
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15380
15381 ac_header_compiler=no
15382 fi
15383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385 echo "${ECHO_T}$ac_header_compiler" >&6
15386
15387 # Is the header present?
15388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390 cat >conftest.$ac_ext <<_ACEOF
15391 /* confdefs.h. */
15392 _ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15396 #include <$ac_header>
15397 _ACEOF
15398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } >/dev/null; then
15406 if test -s conftest.err; then
15407 ac_cpp_err=$ac_c_preproc_warn_flag
15408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15409 else
15410 ac_cpp_err=
15411 fi
15412 else
15413 ac_cpp_err=yes
15414 fi
15415 if test -z "$ac_cpp_err"; then
15416 ac_header_preproc=yes
15417 else
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15420
15421 ac_header_preproc=no
15422 fi
15423 rm -f conftest.err conftest.$ac_ext
15424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15425 echo "${ECHO_T}$ac_header_preproc" >&6
15426
15427 # So? What about this header?
15428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15429 yes:no: )
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15434 ac_header_preproc=yes
15435 ;;
15436 no:yes:* )
15437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15449 (
15450 cat <<\_ASBOX
15451 ## ----------------------------------------- ##
15452 ## Report this to wx-dev@lists.wxwidgets.org ##
15453 ## ----------------------------------------- ##
15454 _ASBOX
15455 ) |
15456 sed "s/^/$as_me: WARNING: /" >&2
15457 ;;
15458 esac
15459 echo "$as_me:$LINENO: checking for $ac_header" >&5
15460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464 eval "$as_ac_Header=\$ac_header_preproc"
15465 fi
15466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15468
15469 fi
15470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15471 cat >>confdefs.h <<_ACEOF
15472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15473 _ACEOF
15474
15475 fi
15476
15477 done
15478
15479
15480 for ac_header in malloc.h
15481 do
15482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15484 echo "$as_me:$LINENO: checking for $ac_header" >&5
15485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 fi
15489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15491 else
15492 # Is the header compilable?
15493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15495 cat >conftest.$ac_ext <<_ACEOF
15496 /* confdefs.h. */
15497 _ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15502 #include <$ac_header>
15503 _ACEOF
15504 rm -f conftest.$ac_objext
15505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15506 (eval $ac_compile) 2>conftest.er1
15507 ac_status=$?
15508 grep -v '^ *+' conftest.er1 >conftest.err
15509 rm -f conftest.er1
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } &&
15513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15516 ac_status=$?
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; } &&
15519 { ac_try='test -s conftest.$ac_objext'
15520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521 (eval $ac_try) 2>&5
15522 ac_status=$?
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; }; then
15525 ac_header_compiler=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 ac_header_compiler=no
15531 fi
15532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15534 echo "${ECHO_T}$ac_header_compiler" >&6
15535
15536 # Is the header present?
15537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545 #include <$ac_header>
15546 _ACEOF
15547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } >/dev/null; then
15555 if test -s conftest.err; then
15556 ac_cpp_err=$ac_c_preproc_warn_flag
15557 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15558 else
15559 ac_cpp_err=
15560 fi
15561 else
15562 ac_cpp_err=yes
15563 fi
15564 if test -z "$ac_cpp_err"; then
15565 ac_header_preproc=yes
15566 else
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.$ac_ext >&5
15569
15570 ac_header_preproc=no
15571 fi
15572 rm -f conftest.err conftest.$ac_ext
15573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15574 echo "${ECHO_T}$ac_header_preproc" >&6
15575
15576 # So? What about this header?
15577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15578 yes:no: )
15579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15583 ac_header_preproc=yes
15584 ;;
15585 no:yes:* )
15586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15598 (
15599 cat <<\_ASBOX
15600 ## ----------------------------------------- ##
15601 ## Report this to wx-dev@lists.wxwidgets.org ##
15602 ## ----------------------------------------- ##
15603 _ASBOX
15604 ) |
15605 sed "s/^/$as_me: WARNING: /" >&2
15606 ;;
15607 esac
15608 echo "$as_me:$LINENO: checking for $ac_header" >&5
15609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15611 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 else
15613 eval "$as_ac_Header=\$ac_header_preproc"
15614 fi
15615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15617
15618 fi
15619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15620 cat >>confdefs.h <<_ACEOF
15621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15622 _ACEOF
15623
15624 fi
15625
15626 done
15627
15628
15629 for ac_header in unistd.h
15630 do
15631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15633 echo "$as_me:$LINENO: checking for $ac_header" >&5
15634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 fi
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15640 else
15641 # Is the header compilable?
15642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15644 cat >conftest.$ac_ext <<_ACEOF
15645 /* confdefs.h. */
15646 _ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15651 #include <$ac_header>
15652 _ACEOF
15653 rm -f conftest.$ac_objext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15655 (eval $ac_compile) 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15665 ac_status=$?
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15671 ac_status=$?
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_header_compiler=yes
15675 else
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.$ac_ext >&5
15678
15679 ac_header_compiler=no
15680 fi
15681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15683 echo "${ECHO_T}$ac_header_compiler" >&6
15684
15685 # Is the header present?
15686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15688 cat >conftest.$ac_ext <<_ACEOF
15689 /* confdefs.h. */
15690 _ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 #include <$ac_header>
15695 _ACEOF
15696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15698 ac_status=$?
15699 grep -v '^ *+' conftest.er1 >conftest.err
15700 rm -f conftest.er1
15701 cat conftest.err >&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } >/dev/null; then
15704 if test -s conftest.err; then
15705 ac_cpp_err=$ac_c_preproc_warn_flag
15706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15707 else
15708 ac_cpp_err=
15709 fi
15710 else
15711 ac_cpp_err=yes
15712 fi
15713 if test -z "$ac_cpp_err"; then
15714 ac_header_preproc=yes
15715 else
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15718
15719 ac_header_preproc=no
15720 fi
15721 rm -f conftest.err conftest.$ac_ext
15722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15723 echo "${ECHO_T}$ac_header_preproc" >&6
15724
15725 # So? What about this header?
15726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15727 yes:no: )
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15732 ac_header_preproc=yes
15733 ;;
15734 no:yes:* )
15735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15747 (
15748 cat <<\_ASBOX
15749 ## ----------------------------------------- ##
15750 ## Report this to wx-dev@lists.wxwidgets.org ##
15751 ## ----------------------------------------- ##
15752 _ASBOX
15753 ) |
15754 sed "s/^/$as_me: WARNING: /" >&2
15755 ;;
15756 esac
15757 echo "$as_me:$LINENO: checking for $ac_header" >&5
15758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 eval "$as_ac_Header=\$ac_header_preproc"
15763 fi
15764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15766
15767 fi
15768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15769 cat >>confdefs.h <<_ACEOF
15770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15771 _ACEOF
15772
15773 fi
15774
15775 done
15776
15777
15778 for ac_header in wchar.h
15779 do
15780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15782 echo "$as_me:$LINENO: checking for $ac_header" >&5
15783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 fi
15787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15789 else
15790 # Is the header compilable?
15791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15793 cat >conftest.$ac_ext <<_ACEOF
15794 /* confdefs.h. */
15795 _ACEOF
15796 cat confdefs.h >>conftest.$ac_ext
15797 cat >>conftest.$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 $ac_includes_default
15800 #include <$ac_header>
15801 _ACEOF
15802 rm -f conftest.$ac_objext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15804 (eval $ac_compile) 2>conftest.er1
15805 ac_status=$?
15806 grep -v '^ *+' conftest.er1 >conftest.err
15807 rm -f conftest.er1
15808 cat conftest.err >&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15813 (eval $ac_try) 2>&5
15814 ac_status=$?
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); }; } &&
15817 { ac_try='test -s conftest.$ac_objext'
15818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819 (eval $ac_try) 2>&5
15820 ac_status=$?
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; }; then
15823 ac_header_compiler=yes
15824 else
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15827
15828 ac_header_compiler=no
15829 fi
15830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15832 echo "${ECHO_T}$ac_header_compiler" >&6
15833
15834 # Is the header present?
15835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15837 cat >conftest.$ac_ext <<_ACEOF
15838 /* confdefs.h. */
15839 _ACEOF
15840 cat confdefs.h >>conftest.$ac_ext
15841 cat >>conftest.$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 #include <$ac_header>
15844 _ACEOF
15845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } >/dev/null; then
15853 if test -s conftest.err; then
15854 ac_cpp_err=$ac_c_preproc_warn_flag
15855 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15856 else
15857 ac_cpp_err=
15858 fi
15859 else
15860 ac_cpp_err=yes
15861 fi
15862 if test -z "$ac_cpp_err"; then
15863 ac_header_preproc=yes
15864 else
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15867
15868 ac_header_preproc=no
15869 fi
15870 rm -f conftest.err conftest.$ac_ext
15871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15872 echo "${ECHO_T}$ac_header_preproc" >&6
15873
15874 # So? What about this header?
15875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15876 yes:no: )
15877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15881 ac_header_preproc=yes
15882 ;;
15883 no:yes:* )
15884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15896 (
15897 cat <<\_ASBOX
15898 ## ----------------------------------------- ##
15899 ## Report this to wx-dev@lists.wxwidgets.org ##
15900 ## ----------------------------------------- ##
15901 _ASBOX
15902 ) |
15903 sed "s/^/$as_me: WARNING: /" >&2
15904 ;;
15905 esac
15906 echo "$as_me:$LINENO: checking for $ac_header" >&5
15907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 else
15911 eval "$as_ac_Header=\$ac_header_preproc"
15912 fi
15913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15915
15916 fi
15917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15918 cat >>confdefs.h <<_ACEOF
15919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15920 _ACEOF
15921
15922 fi
15923
15924 done
15925
15926
15927 if test "$ac_cv_header_wchar_h" != "yes"; then
15928
15929 for ac_header in wcstr.h
15930 do
15931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15933 echo "$as_me:$LINENO: checking for $ac_header" >&5
15934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 fi
15938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15940 else
15941 # Is the header compilable?
15942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15944 cat >conftest.$ac_ext <<_ACEOF
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15951 #include <$ac_header>
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15955 (eval $ac_compile) 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try='test -s conftest.$ac_objext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_header_compiler=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 ac_header_compiler=no
15980 fi
15981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15983 echo "${ECHO_T}$ac_header_compiler" >&6
15984
15985 # Is the header present?
15986 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15988 cat >conftest.$ac_ext <<_ACEOF
15989 /* confdefs.h. */
15990 _ACEOF
15991 cat confdefs.h >>conftest.$ac_ext
15992 cat >>conftest.$ac_ext <<_ACEOF
15993 /* end confdefs.h. */
15994 #include <$ac_header>
15995 _ACEOF
15996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } >/dev/null; then
16004 if test -s conftest.err; then
16005 ac_cpp_err=$ac_c_preproc_warn_flag
16006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16007 else
16008 ac_cpp_err=
16009 fi
16010 else
16011 ac_cpp_err=yes
16012 fi
16013 if test -z "$ac_cpp_err"; then
16014 ac_header_preproc=yes
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 ac_header_preproc=no
16020 fi
16021 rm -f conftest.err conftest.$ac_ext
16022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16023 echo "${ECHO_T}$ac_header_preproc" >&6
16024
16025 # So? What about this header?
16026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16027 yes:no: )
16028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16032 ac_header_preproc=yes
16033 ;;
16034 no:yes:* )
16035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16039 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16041 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16042 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16047 (
16048 cat <<\_ASBOX
16049 ## ----------------------------------------- ##
16050 ## Report this to wx-dev@lists.wxwidgets.org ##
16051 ## ----------------------------------------- ##
16052 _ASBOX
16053 ) |
16054 sed "s/^/$as_me: WARNING: /" >&2
16055 ;;
16056 esac
16057 echo "$as_me:$LINENO: checking for $ac_header" >&5
16058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062 eval "$as_ac_Header=\$ac_header_preproc"
16063 fi
16064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16066
16067 fi
16068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16069 cat >>confdefs.h <<_ACEOF
16070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16071 _ACEOF
16072
16073 fi
16074
16075 done
16076
16077 fi
16078
16079
16080 for ac_header in fnmatch.h
16081 do
16082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16084 echo "$as_me:$LINENO: checking for $ac_header" >&5
16085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 fi
16089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16091 else
16092 # Is the header compilable?
16093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16095 cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h. */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 $ac_includes_default
16102 #include <$ac_header>
16103 _ACEOF
16104 rm -f conftest.$ac_objext
16105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16106 (eval $ac_compile) 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; } &&
16119 { ac_try='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 ac_header_compiler=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 ac_header_compiler=no
16131 fi
16132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16134 echo "${ECHO_T}$ac_header_compiler" >&6
16135
16136 # Is the header present?
16137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16139 cat >conftest.$ac_ext <<_ACEOF
16140 /* confdefs.h. */
16141 _ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 #include <$ac_header>
16146 _ACEOF
16147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16149 ac_status=$?
16150 grep -v '^ *+' conftest.er1 >conftest.err
16151 rm -f conftest.er1
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } >/dev/null; then
16155 if test -s conftest.err; then
16156 ac_cpp_err=$ac_c_preproc_warn_flag
16157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16158 else
16159 ac_cpp_err=
16160 fi
16161 else
16162 ac_cpp_err=yes
16163 fi
16164 if test -z "$ac_cpp_err"; then
16165 ac_header_preproc=yes
16166 else
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16169
16170 ac_header_preproc=no
16171 fi
16172 rm -f conftest.err conftest.$ac_ext
16173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16174 echo "${ECHO_T}$ac_header_preproc" >&6
16175
16176 # So? What about this header?
16177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16178 yes:no: )
16179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16183 ac_header_preproc=yes
16184 ;;
16185 no:yes:* )
16186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16198 (
16199 cat <<\_ASBOX
16200 ## ----------------------------------------- ##
16201 ## Report this to wx-dev@lists.wxwidgets.org ##
16202 ## ----------------------------------------- ##
16203 _ASBOX
16204 ) |
16205 sed "s/^/$as_me: WARNING: /" >&2
16206 ;;
16207 esac
16208 echo "$as_me:$LINENO: checking for $ac_header" >&5
16209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 eval "$as_ac_Header=\$ac_header_preproc"
16214 fi
16215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16217
16218 fi
16219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16220 cat >>confdefs.h <<_ACEOF
16221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16222 _ACEOF
16223
16224 fi
16225
16226 done
16227
16228
16229
16230 for ac_header in langinfo.h
16231 do
16232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16234 echo "$as_me:$LINENO: checking for $ac_header" >&5
16235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 fi
16239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16241 else
16242 # Is the header compilable?
16243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16245 cat >conftest.$ac_ext <<_ACEOF
16246 /* confdefs.h. */
16247 _ACEOF
16248 cat confdefs.h >>conftest.$ac_ext
16249 cat >>conftest.$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16251 $ac_includes_default
16252 #include <$ac_header>
16253 _ACEOF
16254 rm -f conftest.$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>conftest.er1
16257 ac_status=$?
16258 grep -v '^ *+' conftest.er1 >conftest.err
16259 rm -f conftest.er1
16260 cat conftest.err >&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } &&
16263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16266 ac_status=$?
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; } &&
16269 { ac_try='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_header_compiler=yes
16276 else
16277 echo "$as_me: failed program was:" >&5
16278 sed 's/^/| /' conftest.$ac_ext >&5
16279
16280 ac_header_compiler=no
16281 fi
16282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16284 echo "${ECHO_T}$ac_header_compiler" >&6
16285
16286 # Is the header present?
16287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16289 cat >conftest.$ac_ext <<_ACEOF
16290 /* confdefs.h. */
16291 _ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295 #include <$ac_header>
16296 _ACEOF
16297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16299 ac_status=$?
16300 grep -v '^ *+' conftest.er1 >conftest.err
16301 rm -f conftest.er1
16302 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } >/dev/null; then
16305 if test -s conftest.err; then
16306 ac_cpp_err=$ac_c_preproc_warn_flag
16307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16308 else
16309 ac_cpp_err=
16310 fi
16311 else
16312 ac_cpp_err=yes
16313 fi
16314 if test -z "$ac_cpp_err"; then
16315 ac_header_preproc=yes
16316 else
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16319
16320 ac_header_preproc=no
16321 fi
16322 rm -f conftest.err conftest.$ac_ext
16323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16324 echo "${ECHO_T}$ac_header_preproc" >&6
16325
16326 # So? What about this header?
16327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16328 yes:no: )
16329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16333 ac_header_preproc=yes
16334 ;;
16335 no:yes:* )
16336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16348 (
16349 cat <<\_ASBOX
16350 ## ----------------------------------------- ##
16351 ## Report this to wx-dev@lists.wxwidgets.org ##
16352 ## ----------------------------------------- ##
16353 _ASBOX
16354 ) |
16355 sed "s/^/$as_me: WARNING: /" >&2
16356 ;;
16357 esac
16358 echo "$as_me:$LINENO: checking for $ac_header" >&5
16359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 else
16363 eval "$as_ac_Header=\$ac_header_preproc"
16364 fi
16365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16367
16368 fi
16369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16370 cat >>confdefs.h <<_ACEOF
16371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16372 _ACEOF
16373
16374 fi
16375
16376 done
16377
16378
16379 case "${host}" in
16380 *-pc-os2_emx | *-pc-os2-emx )
16381 if test $ac_cv_header_langinfo_h = "yes" \
16382 -a \( "$wx_cv_gccversion" = "EMX2" \
16383 -o "$wx_cv_gccversion" = "EMX3" \
16384 -o "$wx_cv_gccversion" = "Innotek5" \); then
16385 LIBS="$LIBS -lintl"
16386 fi
16387 ;;
16388 esac
16389
16390
16391 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16392 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16393 if test "${ac_cv_c_const+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16395 else
16396 cat >conftest.$ac_ext <<_ACEOF
16397 /* confdefs.h. */
16398 _ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402
16403 int
16404 main ()
16405 {
16406 /* FIXME: Include the comments suggested by Paul. */
16407 #ifndef __cplusplus
16408 /* Ultrix mips cc rejects this. */
16409 typedef int charset[2];
16410 const charset x;
16411 /* SunOS 4.1.1 cc rejects this. */
16412 char const *const *ccp;
16413 char **p;
16414 /* NEC SVR4.0.2 mips cc rejects this. */
16415 struct point {int x, y;};
16416 static struct point const zero = {0,0};
16417 /* AIX XL C 1.02.0.0 rejects this.
16418 It does not let you subtract one const X* pointer from another in
16419 an arm of an if-expression whose if-part is not a constant
16420 expression */
16421 const char *g = "string";
16422 ccp = &g + (g ? g-g : 0);
16423 /* HPUX 7.0 cc rejects these. */
16424 ++ccp;
16425 p = (char**) ccp;
16426 ccp = (char const *const *) p;
16427 { /* SCO 3.2v4 cc rejects this. */
16428 char *t;
16429 char const *s = 0 ? (char *) 0 : (char const *) 0;
16430
16431 *t++ = 0;
16432 }
16433 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16434 int x[] = {25, 17};
16435 const int *foo = &x[0];
16436 ++foo;
16437 }
16438 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16439 typedef const int *iptr;
16440 iptr p = 0;
16441 ++p;
16442 }
16443 { /* AIX XL C 1.02.0.0 rejects this saying
16444 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16445 struct s { int j; const int *ap[3]; };
16446 struct s *b; b->j = 5;
16447 }
16448 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16449 const int foo = 10;
16450 }
16451 #endif
16452
16453 ;
16454 return 0;
16455 }
16456 _ACEOF
16457 rm -f conftest.$ac_objext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16459 (eval $ac_compile) 2>conftest.er1
16460 ac_status=$?
16461 grep -v '^ *+' conftest.er1 >conftest.err
16462 rm -f conftest.er1
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } &&
16466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16469 ac_status=$?
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } &&
16472 { ac_try='test -s conftest.$ac_objext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_cv_c_const=yes
16479 else
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16482
16483 ac_cv_c_const=no
16484 fi
16485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16486 fi
16487 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16488 echo "${ECHO_T}$ac_cv_c_const" >&6
16489 if test $ac_cv_c_const = no; then
16490
16491 cat >>confdefs.h <<\_ACEOF
16492 #define const
16493 _ACEOF
16494
16495 fi
16496
16497 echo "$as_me:$LINENO: checking for inline" >&5
16498 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16499 if test "${ac_cv_c_inline+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 else
16502 ac_cv_c_inline=no
16503 for ac_kw in inline __inline__ __inline; do
16504 cat >conftest.$ac_ext <<_ACEOF
16505 /* confdefs.h. */
16506 _ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510 #ifndef __cplusplus
16511 typedef int foo_t;
16512 static $ac_kw foo_t static_foo () {return 0; }
16513 $ac_kw foo_t foo () {return 0; }
16514 #endif
16515
16516 _ACEOF
16517 rm -f conftest.$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try='test -s conftest.$ac_objext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16538 ac_cv_c_inline=$ac_kw; break
16539 else
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16542
16543 fi
16544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16545 done
16546
16547 fi
16548 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16549 echo "${ECHO_T}$ac_cv_c_inline" >&6
16550
16551
16552 case $ac_cv_c_inline in
16553 inline | yes) ;;
16554 *)
16555 case $ac_cv_c_inline in
16556 no) ac_val=;;
16557 *) ac_val=$ac_cv_c_inline;;
16558 esac
16559 cat >>confdefs.h <<_ACEOF
16560 #ifndef __cplusplus
16561 #define inline $ac_val
16562 #endif
16563 _ACEOF
16564 ;;
16565 esac
16566
16567
16568 echo "$as_me:$LINENO: checking for char" >&5
16569 echo $ECHO_N "checking for char... $ECHO_C" >&6
16570 if test "${ac_cv_type_char+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 else
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16580 int
16581 main ()
16582 {
16583 if ((char *) 0)
16584 return 0;
16585 if (sizeof (char))
16586 return 0;
16587 ;
16588 return 0;
16589 }
16590 _ACEOF
16591 rm -f conftest.$ac_objext
16592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16593 (eval $ac_compile) 2>conftest.er1
16594 ac_status=$?
16595 grep -v '^ *+' conftest.er1 >conftest.err
16596 rm -f conftest.er1
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try='test -s conftest.$ac_objext'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 ac_cv_type_char=yes
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16616
16617 ac_cv_type_char=no
16618 fi
16619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16620 fi
16621 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16622 echo "${ECHO_T}$ac_cv_type_char" >&6
16623
16624 echo "$as_me:$LINENO: checking size of char" >&5
16625 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16626 if test "${ac_cv_sizeof_char+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629 if test "$ac_cv_type_char" = yes; then
16630 # The cast to unsigned long works around a bug in the HP C Compiler
16631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16633 # This bug is HP SR number 8606223364.
16634 if test "$cross_compiling" = yes; then
16635 # Depending upon the size, compute the lo and hi bounds.
16636 cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h. */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16643 int
16644 main ()
16645 {
16646 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16647 test_array [0] = 0
16648
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 rm -f conftest.$ac_objext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16655 (eval $ac_compile) 2>conftest.er1
16656 ac_status=$?
16657 grep -v '^ *+' conftest.er1 >conftest.err
16658 rm -f conftest.er1
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try='test -s conftest.$ac_objext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_lo=0 ac_mid=0
16675 while :; do
16676 cat >conftest.$ac_ext <<_ACEOF
16677 /* confdefs.h. */
16678 _ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 $ac_includes_default
16683 int
16684 main ()
16685 {
16686 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16687 test_array [0] = 0
16688
16689 ;
16690 return 0;
16691 }
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 ac_hi=$ac_mid; break
16715 else
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16718
16719 ac_lo=`expr $ac_mid + 1`
16720 if test $ac_lo -le $ac_mid; then
16721 ac_lo= ac_hi=
16722 break
16723 fi
16724 ac_mid=`expr 2 '*' $ac_mid + 1`
16725 fi
16726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16727 done
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738 $ac_includes_default
16739 int
16740 main ()
16741 {
16742 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16743 test_array [0] = 0
16744
16745 ;
16746 return 0;
16747 }
16748 _ACEOF
16749 rm -f conftest.$ac_objext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>conftest.er1
16752 ac_status=$?
16753 grep -v '^ *+' conftest.er1 >conftest.err
16754 rm -f conftest.er1
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16770 ac_hi=-1 ac_mid=-1
16771 while :; do
16772 cat >conftest.$ac_ext <<_ACEOF
16773 /* confdefs.h. */
16774 _ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778 $ac_includes_default
16779 int
16780 main ()
16781 {
16782 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16783 test_array [0] = 0
16784
16785 ;
16786 return 0;
16787 }
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>conftest.er1
16792 ac_status=$?
16793 grep -v '^ *+' conftest.er1 >conftest.err
16794 rm -f conftest.er1
16795 cat conftest.err >&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16801 ac_status=$?
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; } &&
16804 { ac_try='test -s conftest.$ac_objext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_lo=$ac_mid; break
16811 else
16812 echo "$as_me: failed program was:" >&5
16813 sed 's/^/| /' conftest.$ac_ext >&5
16814
16815 ac_hi=`expr '(' $ac_mid ')' - 1`
16816 if test $ac_mid -le $ac_hi; then
16817 ac_lo= ac_hi=
16818 break
16819 fi
16820 ac_mid=`expr 2 '*' $ac_mid`
16821 fi
16822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16823 done
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16827
16828 ac_lo= ac_hi=
16829 fi
16830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16831 fi
16832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16833 # Binary search between lo and hi bounds.
16834 while test "x$ac_lo" != "x$ac_hi"; do
16835 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 $ac_includes_default
16843 int
16844 main ()
16845 {
16846 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16847 test_array [0] = 0
16848
16849 ;
16850 return 0;
16851 }
16852 _ACEOF
16853 rm -f conftest.$ac_objext
16854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16855 (eval $ac_compile) 2>conftest.er1
16856 ac_status=$?
16857 grep -v '^ *+' conftest.er1 >conftest.err
16858 rm -f conftest.er1
16859 cat conftest.err >&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16865 ac_status=$?
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; } &&
16868 { ac_try='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 ac_hi=$ac_mid
16875 else
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16878
16879 ac_lo=`expr '(' $ac_mid ')' + 1`
16880 fi
16881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16882 done
16883 case $ac_lo in
16884 ?*) ac_cv_sizeof_char=$ac_lo;;
16885 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16886 See \`config.log' for more details." >&5
16887 echo "$as_me: error: cannot compute sizeof (char), 77
16888 See \`config.log' for more details." >&2;}
16889 { (exit 1); exit 1; }; } ;;
16890 esac
16891 else
16892 if test "$cross_compiling" = yes; then
16893 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16894 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16895 { (exit 1); exit 1; }; }
16896 else
16897 cat >conftest.$ac_ext <<_ACEOF
16898 /* confdefs.h. */
16899 _ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 $ac_includes_default
16904 long longval () { return (long) (sizeof (char)); }
16905 unsigned long ulongval () { return (long) (sizeof (char)); }
16906 #include <stdio.h>
16907 #include <stdlib.h>
16908 int
16909 main ()
16910 {
16911
16912 FILE *f = fopen ("conftest.val", "w");
16913 if (! f)
16914 exit (1);
16915 if (((long) (sizeof (char))) < 0)
16916 {
16917 long i = longval ();
16918 if (i != ((long) (sizeof (char))))
16919 exit (1);
16920 fprintf (f, "%ld\n", i);
16921 }
16922 else
16923 {
16924 unsigned long i = ulongval ();
16925 if (i != ((long) (sizeof (char))))
16926 exit (1);
16927 fprintf (f, "%lu\n", i);
16928 }
16929 exit (ferror (f) || fclose (f) != 0);
16930
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 rm -f conftest$ac_exeext
16936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16937 (eval $ac_link) 2>&5
16938 ac_status=$?
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16943 ac_status=$?
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 ac_cv_sizeof_char=`cat conftest.val`
16947 else
16948 echo "$as_me: program exited with status $ac_status" >&5
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16951
16952 ( exit $ac_status )
16953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16954 See \`config.log' for more details." >&5
16955 echo "$as_me: error: cannot compute sizeof (char), 77
16956 See \`config.log' for more details." >&2;}
16957 { (exit 1); exit 1; }; }
16958 fi
16959 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16960 fi
16961 fi
16962 rm -f conftest.val
16963 else
16964 ac_cv_sizeof_char=0
16965 fi
16966 fi
16967 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16968 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16969 cat >>confdefs.h <<_ACEOF
16970 #define SIZEOF_CHAR $ac_cv_sizeof_char
16971 _ACEOF
16972
16973
16974 echo "$as_me:$LINENO: checking for short" >&5
16975 echo $ECHO_N "checking for short... $ECHO_C" >&6
16976 if test "${ac_cv_type_short+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 else
16979 cat >conftest.$ac_ext <<_ACEOF
16980 /* confdefs.h. */
16981 _ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 int
16987 main ()
16988 {
16989 if ((short *) 0)
16990 return 0;
16991 if (sizeof (short))
16992 return 0;
16993 ;
16994 return 0;
16995 }
16996 _ACEOF
16997 rm -f conftest.$ac_objext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16999 (eval $ac_compile) 2>conftest.er1
17000 ac_status=$?
17001 grep -v '^ *+' conftest.er1 >conftest.err
17002 rm -f conftest.er1
17003 cat conftest.err >&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17018 ac_cv_type_short=yes
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17022
17023 ac_cv_type_short=no
17024 fi
17025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17026 fi
17027 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17028 echo "${ECHO_T}$ac_cv_type_short" >&6
17029
17030 echo "$as_me:$LINENO: checking size of short" >&5
17031 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17032 if test "${ac_cv_sizeof_short+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 else
17035 if test "$ac_cv_type_short" = yes; then
17036 # The cast to unsigned long works around a bug in the HP C Compiler
17037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17039 # This bug is HP SR number 8606223364.
17040 if test "$cross_compiling" = yes; then
17041 # Depending upon the size, compute the lo and hi bounds.
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 $ac_includes_default
17049 int
17050 main ()
17051 {
17052 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17053 test_array [0] = 0
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17061 (eval $ac_compile) 2>conftest.er1
17062 ac_status=$?
17063 grep -v '^ *+' conftest.er1 >conftest.err
17064 rm -f conftest.er1
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } &&
17068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17070 (eval $ac_try) 2>&5
17071 ac_status=$?
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; } &&
17074 { ac_try='test -s conftest.$ac_objext'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5
17077 ac_status=$?
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; }; then
17080 ac_lo=0 ac_mid=0
17081 while :; do
17082 cat >conftest.$ac_ext <<_ACEOF
17083 /* confdefs.h. */
17084 _ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17089 int
17090 main ()
17091 {
17092 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17093 test_array [0] = 0
17094
17095 ;
17096 return 0;
17097 }
17098 _ACEOF
17099 rm -f conftest.$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17102 ac_status=$?
17103 grep -v '^ *+' conftest.er1 >conftest.err
17104 rm -f conftest.er1
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17111 ac_status=$?
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } &&
17114 { ac_try='test -s conftest.$ac_objext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17117 ac_status=$?
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 ac_hi=$ac_mid; break
17121 else
17122 echo "$as_me: failed program was:" >&5
17123 sed 's/^/| /' conftest.$ac_ext >&5
17124
17125 ac_lo=`expr $ac_mid + 1`
17126 if test $ac_lo -le $ac_mid; then
17127 ac_lo= ac_hi=
17128 break
17129 fi
17130 ac_mid=`expr 2 '*' $ac_mid + 1`
17131 fi
17132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17133 done
17134 else
17135 echo "$as_me: failed program was:" >&5
17136 sed 's/^/| /' conftest.$ac_ext >&5
17137
17138 cat >conftest.$ac_ext <<_ACEOF
17139 /* confdefs.h. */
17140 _ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 $ac_includes_default
17145 int
17146 main ()
17147 {
17148 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17149 test_array [0] = 0
17150
17151 ;
17152 return 0;
17153 }
17154 _ACEOF
17155 rm -f conftest.$ac_objext
17156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17157 (eval $ac_compile) 2>conftest.er1
17158 ac_status=$?
17159 grep -v '^ *+' conftest.er1 >conftest.err
17160 rm -f conftest.er1
17161 cat conftest.err >&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } &&
17164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; } &&
17170 { ac_try='test -s conftest.$ac_objext'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; }; then
17176 ac_hi=-1 ac_mid=-1
17177 while :; do
17178 cat >conftest.$ac_ext <<_ACEOF
17179 /* confdefs.h. */
17180 _ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 $ac_includes_default
17185 int
17186 main ()
17187 {
17188 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17189 test_array [0] = 0
17190
17191 ;
17192 return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest.$ac_objext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>conftest.er1
17198 ac_status=$?
17199 grep -v '^ *+' conftest.er1 >conftest.err
17200 rm -f conftest.er1
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_lo=$ac_mid; break
17217 else
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17220
17221 ac_hi=`expr '(' $ac_mid ')' - 1`
17222 if test $ac_mid -le $ac_hi; then
17223 ac_lo= ac_hi=
17224 break
17225 fi
17226 ac_mid=`expr 2 '*' $ac_mid`
17227 fi
17228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17229 done
17230 else
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17233
17234 ac_lo= ac_hi=
17235 fi
17236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17237 fi
17238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17239 # Binary search between lo and hi bounds.
17240 while test "x$ac_lo" != "x$ac_hi"; do
17241 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 $ac_includes_default
17249 int
17250 main ()
17251 {
17252 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17253 test_array [0] = 0
17254
17255 ;
17256 return 0;
17257 }
17258 _ACEOF
17259 rm -f conftest.$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17262 ac_status=$?
17263 grep -v '^ *+' conftest.er1 >conftest.err
17264 rm -f conftest.er1
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17277 ac_status=$?
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_hi=$ac_mid
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17284
17285 ac_lo=`expr '(' $ac_mid ')' + 1`
17286 fi
17287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17288 done
17289 case $ac_lo in
17290 ?*) ac_cv_sizeof_short=$ac_lo;;
17291 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17292 See \`config.log' for more details." >&5
17293 echo "$as_me: error: cannot compute sizeof (short), 77
17294 See \`config.log' for more details." >&2;}
17295 { (exit 1); exit 1; }; } ;;
17296 esac
17297 else
17298 if test "$cross_compiling" = yes; then
17299 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17300 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17301 { (exit 1); exit 1; }; }
17302 else
17303 cat >conftest.$ac_ext <<_ACEOF
17304 /* confdefs.h. */
17305 _ACEOF
17306 cat confdefs.h >>conftest.$ac_ext
17307 cat >>conftest.$ac_ext <<_ACEOF
17308 /* end confdefs.h. */
17309 $ac_includes_default
17310 long longval () { return (long) (sizeof (short)); }
17311 unsigned long ulongval () { return (long) (sizeof (short)); }
17312 #include <stdio.h>
17313 #include <stdlib.h>
17314 int
17315 main ()
17316 {
17317
17318 FILE *f = fopen ("conftest.val", "w");
17319 if (! f)
17320 exit (1);
17321 if (((long) (sizeof (short))) < 0)
17322 {
17323 long i = longval ();
17324 if (i != ((long) (sizeof (short))))
17325 exit (1);
17326 fprintf (f, "%ld\n", i);
17327 }
17328 else
17329 {
17330 unsigned long i = ulongval ();
17331 if (i != ((long) (sizeof (short))))
17332 exit (1);
17333 fprintf (f, "%lu\n", i);
17334 }
17335 exit (ferror (f) || fclose (f) != 0);
17336
17337 ;
17338 return 0;
17339 }
17340 _ACEOF
17341 rm -f conftest$ac_exeext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17343 (eval $ac_link) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_sizeof_short=`cat conftest.val`
17353 else
17354 echo "$as_me: program exited with status $ac_status" >&5
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358 ( exit $ac_status )
17359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17360 See \`config.log' for more details." >&5
17361 echo "$as_me: error: cannot compute sizeof (short), 77
17362 See \`config.log' for more details." >&2;}
17363 { (exit 1); exit 1; }; }
17364 fi
17365 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17366 fi
17367 fi
17368 rm -f conftest.val
17369 else
17370 ac_cv_sizeof_short=0
17371 fi
17372 fi
17373 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17374 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17375 cat >>confdefs.h <<_ACEOF
17376 #define SIZEOF_SHORT $ac_cv_sizeof_short
17377 _ACEOF
17378
17379
17380 echo "$as_me:$LINENO: checking for void *" >&5
17381 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17382 if test "${ac_cv_type_void_p+set}" = set; then
17383 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 else
17385 cat >conftest.$ac_ext <<_ACEOF
17386 /* confdefs.h. */
17387 _ACEOF
17388 cat confdefs.h >>conftest.$ac_ext
17389 cat >>conftest.$ac_ext <<_ACEOF
17390 /* end confdefs.h. */
17391 $ac_includes_default
17392 int
17393 main ()
17394 {
17395 if ((void * *) 0)
17396 return 0;
17397 if (sizeof (void *))
17398 return 0;
17399 ;
17400 return 0;
17401 }
17402 _ACEOF
17403 rm -f conftest.$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17421 ac_status=$?
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 ac_cv_type_void_p=yes
17425 else
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17428
17429 ac_cv_type_void_p=no
17430 fi
17431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17432 fi
17433 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17434 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17435
17436 echo "$as_me:$LINENO: checking size of void *" >&5
17437 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17438 if test "${ac_cv_sizeof_void_p+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 else
17441 if test "$ac_cv_type_void_p" = yes; then
17442 # The cast to unsigned long works around a bug in the HP C Compiler
17443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17445 # This bug is HP SR number 8606223364.
17446 if test "$cross_compiling" = yes; then
17447 # Depending upon the size, compute the lo and hi bounds.
17448 cat >conftest.$ac_ext <<_ACEOF
17449 /* confdefs.h. */
17450 _ACEOF
17451 cat confdefs.h >>conftest.$ac_ext
17452 cat >>conftest.$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 $ac_includes_default
17455 int
17456 main ()
17457 {
17458 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17459 test_array [0] = 0
17460
17461 ;
17462 return 0;
17463 }
17464 _ACEOF
17465 rm -f conftest.$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>conftest.er1
17468 ac_status=$?
17469 grep -v '^ *+' conftest.er1 >conftest.err
17470 rm -f conftest.er1
17471 cat conftest.err >&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } &&
17474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; } &&
17480 { ac_try='test -s conftest.$ac_objext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17483 ac_status=$?
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17486 ac_lo=0 ac_mid=0
17487 while :; do
17488 cat >conftest.$ac_ext <<_ACEOF
17489 /* confdefs.h. */
17490 _ACEOF
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17495 int
17496 main ()
17497 {
17498 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17499 test_array [0] = 0
17500
17501 ;
17502 return 0;
17503 }
17504 _ACEOF
17505 rm -f conftest.$ac_objext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17507 (eval $ac_compile) 2>conftest.er1
17508 ac_status=$?
17509 grep -v '^ *+' conftest.er1 >conftest.err
17510 rm -f conftest.er1
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; } &&
17520 { ac_try='test -s conftest.$ac_objext'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; }; then
17526 ac_hi=$ac_mid; break
17527 else
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17530
17531 ac_lo=`expr $ac_mid + 1`
17532 if test $ac_lo -le $ac_mid; then
17533 ac_lo= ac_hi=
17534 break
17535 fi
17536 ac_mid=`expr 2 '*' $ac_mid + 1`
17537 fi
17538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17539 done
17540 else
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.$ac_ext >&5
17543
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 $ac_includes_default
17551 int
17552 main ()
17553 {
17554 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17555 test_array [0] = 0
17556
17557 ;
17558 return 0;
17559 }
17560 _ACEOF
17561 rm -f conftest.$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17564 ac_status=$?
17565 grep -v '^ *+' conftest.er1 >conftest.err
17566 rm -f conftest.er1
17567 cat conftest.err >&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_hi=-1 ac_mid=-1
17583 while :; do
17584 cat >conftest.$ac_ext <<_ACEOF
17585 /* confdefs.h. */
17586 _ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17591 int
17592 main ()
17593 {
17594 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17595 test_array [0] = 0
17596
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17619 ac_status=$?
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_lo=$ac_mid; break
17623 else
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.$ac_ext >&5
17626
17627 ac_hi=`expr '(' $ac_mid ')' - 1`
17628 if test $ac_mid -le $ac_hi; then
17629 ac_lo= ac_hi=
17630 break
17631 fi
17632 ac_mid=`expr 2 '*' $ac_mid`
17633 fi
17634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17635 done
17636 else
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.$ac_ext >&5
17639
17640 ac_lo= ac_hi=
17641 fi
17642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17643 fi
17644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17645 # Binary search between lo and hi bounds.
17646 while test "x$ac_lo" != "x$ac_hi"; do
17647 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654 $ac_includes_default
17655 int
17656 main ()
17657 {
17658 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17659 test_array [0] = 0
17660
17661 ;
17662 return 0;
17663 }
17664 _ACEOF
17665 rm -f conftest.$ac_objext
17666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17667 (eval $ac_compile) 2>conftest.er1
17668 ac_status=$?
17669 grep -v '^ *+' conftest.er1 >conftest.err
17670 rm -f conftest.er1
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676 (eval $ac_try) 2>&5
17677 ac_status=$?
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); }; } &&
17680 { ac_try='test -s conftest.$ac_objext'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 ac_hi=$ac_mid
17687 else
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17690
17691 ac_lo=`expr '(' $ac_mid ')' + 1`
17692 fi
17693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17694 done
17695 case $ac_lo in
17696 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17697 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17698 See \`config.log' for more details." >&5
17699 echo "$as_me: error: cannot compute sizeof (void *), 77
17700 See \`config.log' for more details." >&2;}
17701 { (exit 1); exit 1; }; } ;;
17702 esac
17703 else
17704 if test "$cross_compiling" = yes; then
17705 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17706 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17707 { (exit 1); exit 1; }; }
17708 else
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h. */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17716 long longval () { return (long) (sizeof (void *)); }
17717 unsigned long ulongval () { return (long) (sizeof (void *)); }
17718 #include <stdio.h>
17719 #include <stdlib.h>
17720 int
17721 main ()
17722 {
17723
17724 FILE *f = fopen ("conftest.val", "w");
17725 if (! f)
17726 exit (1);
17727 if (((long) (sizeof (void *))) < 0)
17728 {
17729 long i = longval ();
17730 if (i != ((long) (sizeof (void *))))
17731 exit (1);
17732 fprintf (f, "%ld\n", i);
17733 }
17734 else
17735 {
17736 unsigned long i = ulongval ();
17737 if (i != ((long) (sizeof (void *))))
17738 exit (1);
17739 fprintf (f, "%lu\n", i);
17740 }
17741 exit (ferror (f) || fclose (f) != 0);
17742
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 rm -f conftest$ac_exeext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17749 (eval $ac_link) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_sizeof_void_p=`cat conftest.val`
17759 else
17760 echo "$as_me: program exited with status $ac_status" >&5
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 ( exit $ac_status )
17765 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17766 See \`config.log' for more details." >&5
17767 echo "$as_me: error: cannot compute sizeof (void *), 77
17768 See \`config.log' for more details." >&2;}
17769 { (exit 1); exit 1; }; }
17770 fi
17771 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17772 fi
17773 fi
17774 rm -f conftest.val
17775 else
17776 ac_cv_sizeof_void_p=0
17777 fi
17778 fi
17779 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17780 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17781 cat >>confdefs.h <<_ACEOF
17782 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17783 _ACEOF
17784
17785
17786 echo "$as_me:$LINENO: checking for int" >&5
17787 echo $ECHO_N "checking for int... $ECHO_C" >&6
17788 if test "${ac_cv_type_int+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 else
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 $ac_includes_default
17798 int
17799 main ()
17800 {
17801 if ((int *) 0)
17802 return 0;
17803 if (sizeof (int))
17804 return 0;
17805 ;
17806 return 0;
17807 }
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; } &&
17824 { ac_try='test -s conftest.$ac_objext'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17827 ac_status=$?
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; }; then
17830 ac_cv_type_int=yes
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 ac_cv_type_int=no
17836 fi
17837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17838 fi
17839 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17840 echo "${ECHO_T}$ac_cv_type_int" >&6
17841
17842 echo "$as_me:$LINENO: checking size of int" >&5
17843 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17844 if test "${ac_cv_sizeof_int+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17846 else
17847 if test "$ac_cv_type_int" = yes; then
17848 # The cast to unsigned long works around a bug in the HP C Compiler
17849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17851 # This bug is HP SR number 8606223364.
17852 if test "$cross_compiling" = yes; then
17853 # Depending upon the size, compute the lo and hi bounds.
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 $ac_includes_default
17861 int
17862 main ()
17863 {
17864 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17865 test_array [0] = 0
17866
17867 ;
17868 return 0;
17869 }
17870 _ACEOF
17871 rm -f conftest.$ac_objext
17872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17873 (eval $ac_compile) 2>conftest.er1
17874 ac_status=$?
17875 grep -v '^ *+' conftest.er1 >conftest.err
17876 rm -f conftest.er1
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17883 ac_status=$?
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; } &&
17886 { ac_try='test -s conftest.$ac_objext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17889 ac_status=$?
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_lo=0 ac_mid=0
17893 while :; do
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17901 int
17902 main ()
17903 {
17904 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17905 test_array [0] = 0
17906
17907 ;
17908 return 0;
17909 }
17910 _ACEOF
17911 rm -f conftest.$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_hi=$ac_mid; break
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 ac_lo=`expr $ac_mid + 1`
17938 if test $ac_lo -le $ac_mid; then
17939 ac_lo= ac_hi=
17940 break
17941 fi
17942 ac_mid=`expr 2 '*' $ac_mid + 1`
17943 fi
17944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17945 done
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17949
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957 int
17958 main ()
17959 {
17960 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17961 test_array [0] = 0
17962
17963 ;
17964 return 0;
17965 }
17966 _ACEOF
17967 rm -f conftest.$ac_objext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17969 (eval $ac_compile) 2>conftest.er1
17970 ac_status=$?
17971 grep -v '^ *+' conftest.er1 >conftest.err
17972 rm -f conftest.er1
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17985 ac_status=$?
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17988 ac_hi=-1 ac_mid=-1
17989 while :; do
17990 cat >conftest.$ac_ext <<_ACEOF
17991 /* confdefs.h. */
17992 _ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
17997 int
17998 main ()
17999 {
18000 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18001 test_array [0] = 0
18002
18003 ;
18004 return 0;
18005 }
18006 _ACEOF
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_lo=$ac_mid; break
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18032
18033 ac_hi=`expr '(' $ac_mid ')' - 1`
18034 if test $ac_mid -le $ac_hi; then
18035 ac_lo= ac_hi=
18036 break
18037 fi
18038 ac_mid=`expr 2 '*' $ac_mid`
18039 fi
18040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18041 done
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 ac_lo= ac_hi=
18047 fi
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 fi
18050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18051 # Binary search between lo and hi bounds.
18052 while test "x$ac_lo" != "x$ac_hi"; do
18053 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18054 cat >conftest.$ac_ext <<_ACEOF
18055 /* confdefs.h. */
18056 _ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 $ac_includes_default
18061 int
18062 main ()
18063 {
18064 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18065 test_array [0] = 0
18066
18067 ;
18068 return 0;
18069 }
18070 _ACEOF
18071 rm -f conftest.$ac_objext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18073 (eval $ac_compile) 2>conftest.er1
18074 ac_status=$?
18075 grep -v '^ *+' conftest.er1 >conftest.err
18076 rm -f conftest.er1
18077 cat conftest.err >&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18083 ac_status=$?
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; } &&
18086 { ac_try='test -s conftest.$ac_objext'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18089 ac_status=$?
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; }; then
18092 ac_hi=$ac_mid
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18096
18097 ac_lo=`expr '(' $ac_mid ')' + 1`
18098 fi
18099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18100 done
18101 case $ac_lo in
18102 ?*) ac_cv_sizeof_int=$ac_lo;;
18103 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18104 See \`config.log' for more details." >&5
18105 echo "$as_me: error: cannot compute sizeof (int), 77
18106 See \`config.log' for more details." >&2;}
18107 { (exit 1); exit 1; }; } ;;
18108 esac
18109 else
18110 if test "$cross_compiling" = yes; then
18111 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18112 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18113 { (exit 1); exit 1; }; }
18114 else
18115 cat >conftest.$ac_ext <<_ACEOF
18116 /* confdefs.h. */
18117 _ACEOF
18118 cat confdefs.h >>conftest.$ac_ext
18119 cat >>conftest.$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18121 $ac_includes_default
18122 long longval () { return (long) (sizeof (int)); }
18123 unsigned long ulongval () { return (long) (sizeof (int)); }
18124 #include <stdio.h>
18125 #include <stdlib.h>
18126 int
18127 main ()
18128 {
18129
18130 FILE *f = fopen ("conftest.val", "w");
18131 if (! f)
18132 exit (1);
18133 if (((long) (sizeof (int))) < 0)
18134 {
18135 long i = longval ();
18136 if (i != ((long) (sizeof (int))))
18137 exit (1);
18138 fprintf (f, "%ld\n", i);
18139 }
18140 else
18141 {
18142 unsigned long i = ulongval ();
18143 if (i != ((long) (sizeof (int))))
18144 exit (1);
18145 fprintf (f, "%lu\n", i);
18146 }
18147 exit (ferror (f) || fclose (f) != 0);
18148
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 rm -f conftest$ac_exeext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18155 (eval $ac_link) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18161 ac_status=$?
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_sizeof_int=`cat conftest.val`
18165 else
18166 echo "$as_me: program exited with status $ac_status" >&5
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.$ac_ext >&5
18169
18170 ( exit $ac_status )
18171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18172 See \`config.log' for more details." >&5
18173 echo "$as_me: error: cannot compute sizeof (int), 77
18174 See \`config.log' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18176 fi
18177 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18178 fi
18179 fi
18180 rm -f conftest.val
18181 else
18182 ac_cv_sizeof_int=0
18183 fi
18184 fi
18185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18186 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18187 cat >>confdefs.h <<_ACEOF
18188 #define SIZEOF_INT $ac_cv_sizeof_int
18189 _ACEOF
18190
18191
18192 echo "$as_me:$LINENO: checking for long" >&5
18193 echo $ECHO_N "checking for long... $ECHO_C" >&6
18194 if test "${ac_cv_type_long+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 else
18197 cat >conftest.$ac_ext <<_ACEOF
18198 /* confdefs.h. */
18199 _ACEOF
18200 cat confdefs.h >>conftest.$ac_ext
18201 cat >>conftest.$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $ac_includes_default
18204 int
18205 main ()
18206 {
18207 if ((long *) 0)
18208 return 0;
18209 if (sizeof (long))
18210 return 0;
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18233 ac_status=$?
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_type_long=yes
18237 else
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 ac_cv_type_long=no
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244 fi
18245 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18246 echo "${ECHO_T}$ac_cv_type_long" >&6
18247
18248 echo "$as_me:$LINENO: checking size of long" >&5
18249 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18250 if test "${ac_cv_sizeof_long+set}" = set; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 else
18253 if test "$ac_cv_type_long" = yes; then
18254 # The cast to unsigned long works around a bug in the HP C Compiler
18255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18257 # This bug is HP SR number 8606223364.
18258 if test "$cross_compiling" = yes; then
18259 # Depending upon the size, compute the lo and hi bounds.
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $ac_includes_default
18267 int
18268 main ()
18269 {
18270 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18271 test_array [0] = 0
18272
18273 ;
18274 return 0;
18275 }
18276 _ACEOF
18277 rm -f conftest.$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279 (eval $ac_compile) 2>conftest.er1
18280 ac_status=$?
18281 grep -v '^ *+' conftest.er1 >conftest.err
18282 rm -f conftest.er1
18283 cat conftest.err >&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 ac_lo=0 ac_mid=0
18299 while :; do
18300 cat >conftest.$ac_ext <<_ACEOF
18301 /* confdefs.h. */
18302 _ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 $ac_includes_default
18307 int
18308 main ()
18309 {
18310 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18311 test_array [0] = 0
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext
18318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18319 (eval $ac_compile) 2>conftest.er1
18320 ac_status=$?
18321 grep -v '^ *+' conftest.er1 >conftest.err
18322 rm -f conftest.er1
18323 cat conftest.err >&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; } &&
18332 { ac_try='test -s conftest.$ac_objext'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; }; then
18338 ac_hi=$ac_mid; break
18339 else
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.$ac_ext >&5
18342
18343 ac_lo=`expr $ac_mid + 1`
18344 if test $ac_lo -le $ac_mid; then
18345 ac_lo= ac_hi=
18346 break
18347 fi
18348 ac_mid=`expr 2 '*' $ac_mid + 1`
18349 fi
18350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18351 done
18352 else
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.$ac_ext >&5
18355
18356 cat >conftest.$ac_ext <<_ACEOF
18357 /* confdefs.h. */
18358 _ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 $ac_includes_default
18363 int
18364 main ()
18365 {
18366 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18367 test_array [0] = 0
18368
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 (eval $ac_compile) 2>conftest.er1
18376 ac_status=$?
18377 grep -v '^ *+' conftest.er1 >conftest.err
18378 rm -f conftest.er1
18379 cat conftest.err >&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } &&
18382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest.$ac_objext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18394 ac_hi=-1 ac_mid=-1
18395 while :; do
18396 cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h. */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 $ac_includes_default
18403 int
18404 main ()
18405 {
18406 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18407 test_array [0] = 0
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18416 ac_status=$?
18417 grep -v '^ *+' conftest.er1 >conftest.err
18418 rm -f conftest.er1
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18434 ac_lo=$ac_mid; break
18435 else
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 ac_hi=`expr '(' $ac_mid ')' - 1`
18440 if test $ac_mid -le $ac_hi; then
18441 ac_lo= ac_hi=
18442 break
18443 fi
18444 ac_mid=`expr 2 '*' $ac_mid`
18445 fi
18446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18447 done
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 ac_lo= ac_hi=
18453 fi
18454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18455 fi
18456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18457 # Binary search between lo and hi bounds.
18458 while test "x$ac_lo" != "x$ac_hi"; do
18459 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18460 cat >conftest.$ac_ext <<_ACEOF
18461 /* confdefs.h. */
18462 _ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466 $ac_includes_default
18467 int
18468 main ()
18469 {
18470 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18471 test_array [0] = 0
18472
18473 ;
18474 return 0;
18475 }
18476 _ACEOF
18477 rm -f conftest.$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18480 ac_status=$?
18481 grep -v '^ *+' conftest.er1 >conftest.err
18482 rm -f conftest.er1
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18489 ac_status=$?
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try='test -s conftest.$ac_objext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18495 ac_status=$?
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 ac_hi=$ac_mid
18499 else
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 ac_lo=`expr '(' $ac_mid ')' + 1`
18504 fi
18505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18506 done
18507 case $ac_lo in
18508 ?*) ac_cv_sizeof_long=$ac_lo;;
18509 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18510 See \`config.log' for more details." >&5
18511 echo "$as_me: error: cannot compute sizeof (long), 77
18512 See \`config.log' for more details." >&2;}
18513 { (exit 1); exit 1; }; } ;;
18514 esac
18515 else
18516 if test "$cross_compiling" = yes; then
18517 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18518 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18519 { (exit 1); exit 1; }; }
18520 else
18521 cat >conftest.$ac_ext <<_ACEOF
18522 /* confdefs.h. */
18523 _ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 $ac_includes_default
18528 long longval () { return (long) (sizeof (long)); }
18529 unsigned long ulongval () { return (long) (sizeof (long)); }
18530 #include <stdio.h>
18531 #include <stdlib.h>
18532 int
18533 main ()
18534 {
18535
18536 FILE *f = fopen ("conftest.val", "w");
18537 if (! f)
18538 exit (1);
18539 if (((long) (sizeof (long))) < 0)
18540 {
18541 long i = longval ();
18542 if (i != ((long) (sizeof (long))))
18543 exit (1);
18544 fprintf (f, "%ld\n", i);
18545 }
18546 else
18547 {
18548 unsigned long i = ulongval ();
18549 if (i != ((long) (sizeof (long))))
18550 exit (1);
18551 fprintf (f, "%lu\n", i);
18552 }
18553 exit (ferror (f) || fclose (f) != 0);
18554
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest$ac_exeext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18561 (eval $ac_link) 2>&5
18562 ac_status=$?
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 ac_cv_sizeof_long=`cat conftest.val`
18571 else
18572 echo "$as_me: program exited with status $ac_status" >&5
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.$ac_ext >&5
18575
18576 ( exit $ac_status )
18577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18578 See \`config.log' for more details." >&5
18579 echo "$as_me: error: cannot compute sizeof (long), 77
18580 See \`config.log' for more details." >&2;}
18581 { (exit 1); exit 1; }; }
18582 fi
18583 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18584 fi
18585 fi
18586 rm -f conftest.val
18587 else
18588 ac_cv_sizeof_long=0
18589 fi
18590 fi
18591 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18592 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18593 cat >>confdefs.h <<_ACEOF
18594 #define SIZEOF_LONG $ac_cv_sizeof_long
18595 _ACEOF
18596
18597
18598 echo "$as_me:$LINENO: checking for size_t" >&5
18599 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18600 if test "${ac_cv_type_size_t+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 else
18603 cat >conftest.$ac_ext <<_ACEOF
18604 /* confdefs.h. */
18605 _ACEOF
18606 cat confdefs.h >>conftest.$ac_ext
18607 cat >>conftest.$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18609 $ac_includes_default
18610 int
18611 main ()
18612 {
18613 if ((size_t *) 0)
18614 return 0;
18615 if (sizeof (size_t))
18616 return 0;
18617 ;
18618 return 0;
18619 }
18620 _ACEOF
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_type_size_t=yes
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18646
18647 ac_cv_type_size_t=no
18648 fi
18649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18650 fi
18651 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18652 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18653
18654 echo "$as_me:$LINENO: checking size of size_t" >&5
18655 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18656 if test "${ac_cv_sizeof_size_t+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 else
18659 if test "$ac_cv_type_size_t" = yes; then
18660 # The cast to unsigned long works around a bug in the HP C Compiler
18661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18663 # This bug is HP SR number 8606223364.
18664 if test "$cross_compiling" = yes; then
18665 # Depending upon the size, compute the lo and hi bounds.
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 $ac_includes_default
18673 int
18674 main ()
18675 {
18676 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18677 test_array [0] = 0
18678
18679 ;
18680 return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_lo=0 ac_mid=0
18705 while :; do
18706 cat >conftest.$ac_ext <<_ACEOF
18707 /* confdefs.h. */
18708 _ACEOF
18709 cat confdefs.h >>conftest.$ac_ext
18710 cat >>conftest.$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712 $ac_includes_default
18713 int
18714 main ()
18715 {
18716 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18717 test_array [0] = 0
18718
18719 ;
18720 return 0;
18721 }
18722 _ACEOF
18723 rm -f conftest.$ac_objext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18725 (eval $ac_compile) 2>conftest.er1
18726 ac_status=$?
18727 grep -v '^ *+' conftest.er1 >conftest.err
18728 rm -f conftest.er1
18729 cat conftest.err >&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } &&
18732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18735 ac_status=$?
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_hi=$ac_mid; break
18745 else
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18748
18749 ac_lo=`expr $ac_mid + 1`
18750 if test $ac_lo -le $ac_mid; then
18751 ac_lo= ac_hi=
18752 break
18753 fi
18754 ac_mid=`expr 2 '*' $ac_mid + 1`
18755 fi
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18757 done
18758 else
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.$ac_ext >&5
18761
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18769 int
18770 main ()
18771 {
18772 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18773 test_array [0] = 0
18774
18775 ;
18776 return 0;
18777 }
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18782 ac_status=$?
18783 grep -v '^ *+' conftest.er1 >conftest.err
18784 rm -f conftest.er1
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18797 ac_status=$?
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_hi=-1 ac_mid=-1
18801 while :; do
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18809 int
18810 main ()
18811 {
18812 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18813 test_array [0] = 0
18814
18815 ;
18816 return 0;
18817 }
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18831 ac_status=$?
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; } &&
18834 { ac_try='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18840 ac_lo=$ac_mid; break
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845 ac_hi=`expr '(' $ac_mid ')' - 1`
18846 if test $ac_mid -le $ac_hi; then
18847 ac_lo= ac_hi=
18848 break
18849 fi
18850 ac_mid=`expr 2 '*' $ac_mid`
18851 fi
18852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18853 done
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18857
18858 ac_lo= ac_hi=
18859 fi
18860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18861 fi
18862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18863 # Binary search between lo and hi bounds.
18864 while test "x$ac_lo" != "x$ac_hi"; do
18865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18873 int
18874 main ()
18875 {
18876 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18877 test_array [0] = 0
18878
18879 ;
18880 return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 ac_hi=$ac_mid
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18908
18909 ac_lo=`expr '(' $ac_mid ')' + 1`
18910 fi
18911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18912 done
18913 case $ac_lo in
18914 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18915 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18916 See \`config.log' for more details." >&5
18917 echo "$as_me: error: cannot compute sizeof (size_t), 77
18918 See \`config.log' for more details." >&2;}
18919 { (exit 1); exit 1; }; } ;;
18920 esac
18921 else
18922 if test "$cross_compiling" = yes; then
18923 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18924 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18925 { (exit 1); exit 1; }; }
18926 else
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 $ac_includes_default
18934 long longval () { return (long) (sizeof (size_t)); }
18935 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18936 #include <stdio.h>
18937 #include <stdlib.h>
18938 int
18939 main ()
18940 {
18941
18942 FILE *f = fopen ("conftest.val", "w");
18943 if (! f)
18944 exit (1);
18945 if (((long) (sizeof (size_t))) < 0)
18946 {
18947 long i = longval ();
18948 if (i != ((long) (sizeof (size_t))))
18949 exit (1);
18950 fprintf (f, "%ld\n", i);
18951 }
18952 else
18953 {
18954 unsigned long i = ulongval ();
18955 if (i != ((long) (sizeof (size_t))))
18956 exit (1);
18957 fprintf (f, "%lu\n", i);
18958 }
18959 exit (ferror (f) || fclose (f) != 0);
18960
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest$ac_exeext
18966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18967 (eval $ac_link) 2>&5
18968 ac_status=$?
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18973 ac_status=$?
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_cv_sizeof_size_t=`cat conftest.val`
18977 else
18978 echo "$as_me: program exited with status $ac_status" >&5
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18981
18982 ( exit $ac_status )
18983 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18984 See \`config.log' for more details." >&5
18985 echo "$as_me: error: cannot compute sizeof (size_t), 77
18986 See \`config.log' for more details." >&2;}
18987 { (exit 1); exit 1; }; }
18988 fi
18989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18990 fi
18991 fi
18992 rm -f conftest.val
18993 else
18994 ac_cv_sizeof_size_t=0
18995 fi
18996 fi
18997 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18998 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18999 cat >>confdefs.h <<_ACEOF
19000 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19001 _ACEOF
19002
19003
19004
19005 case "${host}" in
19006 arm-*-linux* )
19007 echo "$as_me:$LINENO: checking for long long" >&5
19008 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19009 if test "${ac_cv_type_long_long+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 int
19020 main ()
19021 {
19022 if ((long long *) 0)
19023 return 0;
19024 if (sizeof (long long))
19025 return 0;
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_cv_type_long_long=yes
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_cv_type_long_long=no
19057 fi
19058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19059 fi
19060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19062
19063 echo "$as_me:$LINENO: checking size of long long" >&5
19064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19065 if test "${ac_cv_sizeof_long_long+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068 if test "$ac_cv_type_long_long" = yes; then
19069 # The cast to unsigned long works around a bug in the HP C Compiler
19070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19072 # This bug is HP SR number 8606223364.
19073 if test "$cross_compiling" = yes; then
19074 # Depending upon the size, compute the lo and hi bounds.
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19082 int
19083 main ()
19084 {
19085 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19086 test_array [0] = 0
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try='test -s conftest.$ac_objext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 ac_lo=0 ac_mid=0
19114 while :; do
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 $ac_includes_default
19122 int
19123 main ()
19124 {
19125 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19126 test_array [0] = 0
19127
19128 ;
19129 return 0;
19130 }
19131 _ACEOF
19132 rm -f conftest.$ac_objext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19134 (eval $ac_compile) 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try='test -s conftest.$ac_objext'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19150 ac_status=$?
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 ac_hi=$ac_mid; break
19154 else
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19157
19158 ac_lo=`expr $ac_mid + 1`
19159 if test $ac_lo -le $ac_mid; then
19160 ac_lo= ac_hi=
19161 break
19162 fi
19163 ac_mid=`expr 2 '*' $ac_mid + 1`
19164 fi
19165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19166 done
19167 else
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19170
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 int
19179 main ()
19180 {
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19182 test_array [0] = 0
19183
19184 ;
19185 return 0;
19186 }
19187 _ACEOF
19188 rm -f conftest.$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19206 ac_status=$?
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19209 ac_hi=-1 ac_mid=-1
19210 while :; do
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19218 int
19219 main ()
19220 {
19221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19222 test_array [0] = 0
19223
19224 ;
19225 return 0;
19226 }
19227 _ACEOF
19228 rm -f conftest.$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19231 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_lo=$ac_mid; break
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_hi=`expr '(' $ac_mid ')' - 1`
19255 if test $ac_mid -le $ac_hi; then
19256 ac_lo= ac_hi=
19257 break
19258 fi
19259 ac_mid=`expr 2 '*' $ac_mid`
19260 fi
19261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19262 done
19263 else
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19266
19267 ac_lo= ac_hi=
19268 fi
19269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19270 fi
19271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19272 # Binary search between lo and hi bounds.
19273 while test "x$ac_lo" != "x$ac_hi"; do
19274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 $ac_includes_default
19282 int
19283 main ()
19284 {
19285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19286 test_array [0] = 0
19287
19288 ;
19289 return 0;
19290 }
19291 _ACEOF
19292 rm -f conftest.$ac_objext
19293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19294 (eval $ac_compile) 2>conftest.er1
19295 ac_status=$?
19296 grep -v '^ *+' conftest.er1 >conftest.err
19297 rm -f conftest.er1
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } &&
19301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19304 ac_status=$?
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try='test -s conftest.$ac_objext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19313 ac_hi=$ac_mid
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 ac_lo=`expr '(' $ac_mid ')' + 1`
19319 fi
19320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19321 done
19322 case $ac_lo in
19323 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19325 See \`config.log' for more details." >&5
19326 echo "$as_me: error: cannot compute sizeof (long long), 77
19327 See \`config.log' for more details." >&2;}
19328 { (exit 1); exit 1; }; } ;;
19329 esac
19330 else
19331 if test "$cross_compiling" = yes; then
19332 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19333 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19334 { (exit 1); exit 1; }; }
19335 else
19336 cat >conftest.$ac_ext <<_ACEOF
19337 /* confdefs.h. */
19338 _ACEOF
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342 $ac_includes_default
19343 long longval () { return (long) (sizeof (long long)); }
19344 unsigned long ulongval () { return (long) (sizeof (long long)); }
19345 #include <stdio.h>
19346 #include <stdlib.h>
19347 int
19348 main ()
19349 {
19350
19351 FILE *f = fopen ("conftest.val", "w");
19352 if (! f)
19353 exit (1);
19354 if (((long) (sizeof (long long))) < 0)
19355 {
19356 long i = longval ();
19357 if (i != ((long) (sizeof (long long))))
19358 exit (1);
19359 fprintf (f, "%ld\n", i);
19360 }
19361 else
19362 {
19363 unsigned long i = ulongval ();
19364 if (i != ((long) (sizeof (long long))))
19365 exit (1);
19366 fprintf (f, "%lu\n", i);
19367 }
19368 exit (ferror (f) || fclose (f) != 0);
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest$ac_exeext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19376 (eval $ac_link) 2>&5
19377 ac_status=$?
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_cv_sizeof_long_long=`cat conftest.val`
19386 else
19387 echo "$as_me: program exited with status $ac_status" >&5
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19390
19391 ( exit $ac_status )
19392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19393 See \`config.log' for more details." >&5
19394 echo "$as_me: error: cannot compute sizeof (long long), 77
19395 See \`config.log' for more details." >&2;}
19396 { (exit 1); exit 1; }; }
19397 fi
19398 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19399 fi
19400 fi
19401 rm -f conftest.val
19402 else
19403 ac_cv_sizeof_long_long=0
19404 fi
19405 fi
19406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19407 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19408 cat >>confdefs.h <<_ACEOF
19409 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19410 _ACEOF
19411
19412
19413 ;;
19414 *-hp-hpux* )
19415 echo "$as_me:$LINENO: checking for long long" >&5
19416 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19417 if test "${ac_cv_type_long_long+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19427 int
19428 main ()
19429 {
19430 if ((long long *) 0)
19431 return 0;
19432 if (sizeof (long long))
19433 return 0;
19434 ;
19435 return 0;
19436 }
19437 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>conftest.er1
19441 ac_status=$?
19442 grep -v '^ *+' conftest.er1 >conftest.err
19443 rm -f conftest.er1
19444 cat conftest.err >&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); } &&
19447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19450 ac_status=$?
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_cv_type_long_long=yes
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19463
19464 ac_cv_type_long_long=no
19465 fi
19466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19467 fi
19468 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19469 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19470
19471 echo "$as_me:$LINENO: checking size of long long" >&5
19472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19473 if test "${ac_cv_sizeof_long_long+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19476 if test "$ac_cv_type_long_long" = yes; then
19477 # The cast to unsigned long works around a bug in the HP C Compiler
19478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19480 # This bug is HP SR number 8606223364.
19481 if test "$cross_compiling" = yes; then
19482 # Depending upon the size, compute the lo and hi bounds.
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19490 int
19491 main ()
19492 {
19493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19494 test_array [0] = 0
19495
19496 ;
19497 return 0;
19498 }
19499 _ACEOF
19500 rm -f conftest.$ac_objext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502 (eval $ac_compile) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19518 ac_status=$?
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_lo=0 ac_mid=0
19522 while :; do
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 int
19531 main ()
19532 {
19533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19534 test_array [0] = 0
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_hi=$ac_mid; break
19562 else
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19565
19566 ac_lo=`expr $ac_mid + 1`
19567 if test $ac_lo -le $ac_mid; then
19568 ac_lo= ac_hi=
19569 break
19570 fi
19571 ac_mid=`expr 2 '*' $ac_mid + 1`
19572 fi
19573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19574 done
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 cat >conftest.$ac_ext <<_ACEOF
19580 /* confdefs.h. */
19581 _ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19586 int
19587 main ()
19588 {
19589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19590 test_array [0] = 0
19591
19592 ;
19593 return 0;
19594 }
19595 _ACEOF
19596 rm -f conftest.$ac_objext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19598 (eval $ac_compile) 2>conftest.er1
19599 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19614 ac_status=$?
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_hi=-1 ac_mid=-1
19618 while :; do
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19626 int
19627 main ()
19628 {
19629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19630 test_array [0] = 0
19631
19632 ;
19633 return 0;
19634 }
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19638 (eval $ac_compile) 2>conftest.er1
19639 ac_status=$?
19640 grep -v '^ *+' conftest.er1 >conftest.err
19641 rm -f conftest.er1
19642 cat conftest.err >&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19648 ac_status=$?
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_lo=$ac_mid; break
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19661
19662 ac_hi=`expr '(' $ac_mid ')' - 1`
19663 if test $ac_mid -le $ac_hi; then
19664 ac_lo= ac_hi=
19665 break
19666 fi
19667 ac_mid=`expr 2 '*' $ac_mid`
19668 fi
19669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19670 done
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 ac_lo= ac_hi=
19676 fi
19677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19678 fi
19679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19680 # Binary search between lo and hi bounds.
19681 while test "x$ac_lo" != "x$ac_hi"; do
19682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690 int
19691 main ()
19692 {
19693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19694 test_array [0] = 0
19695
19696 ;
19697 return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest.$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_hi=$ac_mid
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_lo=`expr '(' $ac_mid ')' + 1`
19727 fi
19728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729 done
19730 case $ac_lo in
19731 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19733 See \`config.log' for more details." >&5
19734 echo "$as_me: error: cannot compute sizeof (long long), 77
19735 See \`config.log' for more details." >&2;}
19736 { (exit 1); exit 1; }; } ;;
19737 esac
19738 else
19739 if test "$cross_compiling" = yes; then
19740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19742 { (exit 1); exit 1; }; }
19743 else
19744 cat >conftest.$ac_ext <<_ACEOF
19745 /* confdefs.h. */
19746 _ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 $ac_includes_default
19751 long longval () { return (long) (sizeof (long long)); }
19752 unsigned long ulongval () { return (long) (sizeof (long long)); }
19753 #include <stdio.h>
19754 #include <stdlib.h>
19755 int
19756 main ()
19757 {
19758
19759 FILE *f = fopen ("conftest.val", "w");
19760 if (! f)
19761 exit (1);
19762 if (((long) (sizeof (long long))) < 0)
19763 {
19764 long i = longval ();
19765 if (i != ((long) (sizeof (long long))))
19766 exit (1);
19767 fprintf (f, "%ld\n", i);
19768 }
19769 else
19770 {
19771 unsigned long i = ulongval ();
19772 if (i != ((long) (sizeof (long long))))
19773 exit (1);
19774 fprintf (f, "%lu\n", i);
19775 }
19776 exit (ferror (f) || fclose (f) != 0);
19777
19778 ;
19779 return 0;
19780 }
19781 _ACEOF
19782 rm -f conftest$ac_exeext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19784 (eval $ac_link) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_sizeof_long_long=`cat conftest.val`
19794 else
19795 echo "$as_me: program exited with status $ac_status" >&5
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19798
19799 ( exit $ac_status )
19800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19801 See \`config.log' for more details." >&5
19802 echo "$as_me: error: cannot compute sizeof (long long), 77
19803 See \`config.log' for more details." >&2;}
19804 { (exit 1); exit 1; }; }
19805 fi
19806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19807 fi
19808 fi
19809 rm -f conftest.val
19810 else
19811 ac_cv_sizeof_long_long=0
19812 fi
19813 fi
19814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19815 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19816 cat >>confdefs.h <<_ACEOF
19817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19818 _ACEOF
19819
19820
19821 if test "$ac_cv_sizeof_long_long" != "0"; then
19822 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19823 fi
19824 ;;
19825 * )
19826 echo "$as_me:$LINENO: checking for long long" >&5
19827 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19828 if test "${ac_cv_type_long_long+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 else
19831 cat >conftest.$ac_ext <<_ACEOF
19832 /* confdefs.h. */
19833 _ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 $ac_includes_default
19838 int
19839 main ()
19840 {
19841 if ((long long *) 0)
19842 return 0;
19843 if (sizeof (long long))
19844 return 0;
19845 ;
19846 return 0;
19847 }
19848 _ACEOF
19849 rm -f conftest.$ac_objext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19851 (eval $ac_compile) 2>conftest.er1
19852 ac_status=$?
19853 grep -v '^ *+' conftest.er1 >conftest.err
19854 rm -f conftest.er1
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } &&
19858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860 (eval $ac_try) 2>&5
19861 ac_status=$?
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; } &&
19864 { ac_try='test -s conftest.$ac_objext'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19867 ac_status=$?
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_type_long_long=yes
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 ac_cv_type_long_long=no
19876 fi
19877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19878 fi
19879 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19880 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19881
19882 echo "$as_me:$LINENO: checking size of long long" >&5
19883 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19884 if test "${ac_cv_sizeof_long_long+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 else
19887 if test "$ac_cv_type_long_long" = yes; then
19888 # The cast to unsigned long works around a bug in the HP C Compiler
19889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19891 # This bug is HP SR number 8606223364.
19892 if test "$cross_compiling" = yes; then
19893 # Depending upon the size, compute the lo and hi bounds.
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19901 int
19902 main ()
19903 {
19904 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19905 test_array [0] = 0
19906
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19923 ac_status=$?
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19929 ac_status=$?
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_lo=0 ac_mid=0
19933 while :; do
19934 cat >conftest.$ac_ext <<_ACEOF
19935 /* confdefs.h. */
19936 _ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 $ac_includes_default
19941 int
19942 main ()
19943 {
19944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19945 test_array [0] = 0
19946
19947 ;
19948 return 0;
19949 }
19950 _ACEOF
19951 rm -f conftest.$ac_objext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19953 (eval $ac_compile) 2>conftest.er1
19954 ac_status=$?
19955 grep -v '^ *+' conftest.er1 >conftest.err
19956 rm -f conftest.er1
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } &&
19960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19963 ac_status=$?
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; } &&
19966 { ac_try='test -s conftest.$ac_objext'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19969 ac_status=$?
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; }; then
19972 ac_hi=$ac_mid; break
19973 else
19974 echo "$as_me: failed program was:" >&5
19975 sed 's/^/| /' conftest.$ac_ext >&5
19976
19977 ac_lo=`expr $ac_mid + 1`
19978 if test $ac_lo -le $ac_mid; then
19979 ac_lo= ac_hi=
19980 break
19981 fi
19982 ac_mid=`expr 2 '*' $ac_mid + 1`
19983 fi
19984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19985 done
19986 else
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19989
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 int
19998 main ()
19999 {
20000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20001 test_array [0] = 0
20002
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20009 (eval $ac_compile) 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 ac_hi=-1 ac_mid=-1
20029 while :; do
20030 cat >conftest.$ac_ext <<_ACEOF
20031 /* confdefs.h. */
20032 _ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20037 int
20038 main ()
20039 {
20040 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20041 test_array [0] = 0
20042
20043 ;
20044 return 0;
20045 }
20046 _ACEOF
20047 rm -f conftest.$ac_objext
20048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20049 (eval $ac_compile) 2>conftest.er1
20050 ac_status=$?
20051 grep -v '^ *+' conftest.er1 >conftest.err
20052 rm -f conftest.er1
20053 cat conftest.err >&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); } &&
20056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; } &&
20062 { ac_try='test -s conftest.$ac_objext'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20065 ac_status=$?
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; }; then
20068 ac_lo=$ac_mid; break
20069 else
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20072
20073 ac_hi=`expr '(' $ac_mid ')' - 1`
20074 if test $ac_mid -le $ac_hi; then
20075 ac_lo= ac_hi=
20076 break
20077 fi
20078 ac_mid=`expr 2 '*' $ac_mid`
20079 fi
20080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20081 done
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20085
20086 ac_lo= ac_hi=
20087 fi
20088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 # Binary search between lo and hi bounds.
20092 while test "x$ac_lo" != "x$ac_hi"; do
20093 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 $ac_includes_default
20101 int
20102 main ()
20103 {
20104 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20105 test_array [0] = 0
20106
20107 ;
20108 return 0;
20109 }
20110 _ACEOF
20111 rm -f conftest.$ac_objext
20112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20113 (eval $ac_compile) 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } &&
20120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try='test -s conftest.$ac_objext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 ac_hi=$ac_mid
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20136
20137 ac_lo=`expr '(' $ac_mid ')' + 1`
20138 fi
20139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20140 done
20141 case $ac_lo in
20142 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20144 See \`config.log' for more details." >&5
20145 echo "$as_me: error: cannot compute sizeof (long long), 77
20146 See \`config.log' for more details." >&2;}
20147 { (exit 1); exit 1; }; } ;;
20148 esac
20149 else
20150 if test "$cross_compiling" = yes; then
20151 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20152 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20153 { (exit 1); exit 1; }; }
20154 else
20155 cat >conftest.$ac_ext <<_ACEOF
20156 /* confdefs.h. */
20157 _ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 long longval () { return (long) (sizeof (long long)); }
20163 unsigned long ulongval () { return (long) (sizeof (long long)); }
20164 #include <stdio.h>
20165 #include <stdlib.h>
20166 int
20167 main ()
20168 {
20169
20170 FILE *f = fopen ("conftest.val", "w");
20171 if (! f)
20172 exit (1);
20173 if (((long) (sizeof (long long))) < 0)
20174 {
20175 long i = longval ();
20176 if (i != ((long) (sizeof (long long))))
20177 exit (1);
20178 fprintf (f, "%ld\n", i);
20179 }
20180 else
20181 {
20182 unsigned long i = ulongval ();
20183 if (i != ((long) (sizeof (long long))))
20184 exit (1);
20185 fprintf (f, "%lu\n", i);
20186 }
20187 exit (ferror (f) || fclose (f) != 0);
20188
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>&5
20196 ac_status=$?
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_sizeof_long_long=`cat conftest.val`
20205 else
20206 echo "$as_me: program exited with status $ac_status" >&5
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210 ( exit $ac_status )
20211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20212 See \`config.log' for more details." >&5
20213 echo "$as_me: error: cannot compute sizeof (long long), 77
20214 See \`config.log' for more details." >&2;}
20215 { (exit 1); exit 1; }; }
20216 fi
20217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20218 fi
20219 fi
20220 rm -f conftest.val
20221 else
20222 ac_cv_sizeof_long_long=0
20223 fi
20224 fi
20225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20226 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20227 cat >>confdefs.h <<_ACEOF
20228 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20229 _ACEOF
20230
20231
20232 esac
20233
20234 echo "$as_me:$LINENO: checking for wchar_t" >&5
20235 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20236 if test "${ac_cv_type_wchar_t+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245
20246 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20247 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20248 # error "fake wchar_t"
20249 #endif
20250 #ifdef HAVE_WCHAR_H
20251 # ifdef __CYGWIN__
20252 # include <stddef.h>
20253 # endif
20254 # include <wchar.h>
20255 #endif
20256 #ifdef HAVE_STDLIB_H
20257 # include <stdlib.h>
20258 #endif
20259 #include <stdio.h>
20260
20261
20262
20263 int
20264 main ()
20265 {
20266 if ((wchar_t *) 0)
20267 return 0;
20268 if (sizeof (wchar_t))
20269 return 0;
20270 ;
20271 return 0;
20272 }
20273 _ACEOF
20274 rm -f conftest.$ac_objext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20276 (eval $ac_compile) 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } &&
20283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20295 ac_cv_type_wchar_t=yes
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_cv_type_wchar_t=no
20301 fi
20302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20303 fi
20304 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20305 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20306
20307 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20308 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20309 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 else
20312 if test "$ac_cv_type_wchar_t" = yes; then
20313 # The cast to unsigned long works around a bug in the HP C Compiler
20314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20316 # This bug is HP SR number 8606223364.
20317 if test "$cross_compiling" = yes; then
20318 # Depending upon the size, compute the lo and hi bounds.
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325
20326 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20327 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20328 # error "fake wchar_t"
20329 #endif
20330 #ifdef HAVE_WCHAR_H
20331 # ifdef __CYGWIN__
20332 # include <stddef.h>
20333 # endif
20334 # include <wchar.h>
20335 #endif
20336 #ifdef HAVE_STDLIB_H
20337 # include <stdlib.h>
20338 #endif
20339 #include <stdio.h>
20340
20341
20342
20343 int
20344 main ()
20345 {
20346 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20347 test_array [0] = 0
20348
20349 ;
20350 return 0;
20351 }
20352 _ACEOF
20353 rm -f conftest.$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 ac_lo=0 ac_mid=0
20375 while :; do
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382
20383 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20384 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20385 # error "fake wchar_t"
20386 #endif
20387 #ifdef HAVE_WCHAR_H
20388 # ifdef __CYGWIN__
20389 # include <stddef.h>
20390 # endif
20391 # include <wchar.h>
20392 #endif
20393 #ifdef HAVE_STDLIB_H
20394 # include <stdlib.h>
20395 #endif
20396 #include <stdio.h>
20397
20398
20399
20400 int
20401 main ()
20402 {
20403 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20404 test_array [0] = 0
20405
20406 ;
20407 return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest.$ac_objext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20412 (eval $ac_compile) 2>conftest.er1
20413 ac_status=$?
20414 grep -v '^ *+' conftest.er1 >conftest.err
20415 rm -f conftest.er1
20416 cat conftest.err >&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } &&
20419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; } &&
20425 { ac_try='test -s conftest.$ac_objext'
20426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20427 (eval $ac_try) 2>&5
20428 ac_status=$?
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; }; then
20431 ac_hi=$ac_mid; break
20432 else
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20435
20436 ac_lo=`expr $ac_mid + 1`
20437 if test $ac_lo -le $ac_mid; then
20438 ac_lo= ac_hi=
20439 break
20440 fi
20441 ac_mid=`expr 2 '*' $ac_mid + 1`
20442 fi
20443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20444 done
20445 else
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20448
20449 cat >conftest.$ac_ext <<_ACEOF
20450 /* confdefs.h. */
20451 _ACEOF
20452 cat confdefs.h >>conftest.$ac_ext
20453 cat >>conftest.$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455
20456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20458 # error "fake wchar_t"
20459 #endif
20460 #ifdef HAVE_WCHAR_H
20461 # ifdef __CYGWIN__
20462 # include <stddef.h>
20463 # endif
20464 # include <wchar.h>
20465 #endif
20466 #ifdef HAVE_STDLIB_H
20467 # include <stdlib.h>
20468 #endif
20469 #include <stdio.h>
20470
20471
20472
20473 int
20474 main ()
20475 {
20476 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20477 test_array [0] = 0
20478
20479 ;
20480 return 0;
20481 }
20482 _ACEOF
20483 rm -f conftest.$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>conftest.er1
20486 ac_status=$?
20487 grep -v '^ *+' conftest.er1 >conftest.err
20488 rm -f conftest.er1
20489 cat conftest.err >&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20495 ac_status=$?
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; } &&
20498 { ac_try='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20504 ac_hi=-1 ac_mid=-1
20505 while :; do
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512
20513 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20514 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20515 # error "fake wchar_t"
20516 #endif
20517 #ifdef HAVE_WCHAR_H
20518 # ifdef __CYGWIN__
20519 # include <stddef.h>
20520 # endif
20521 # include <wchar.h>
20522 #endif
20523 #ifdef HAVE_STDLIB_H
20524 # include <stdlib.h>
20525 #endif
20526 #include <stdio.h>
20527
20528
20529
20530 int
20531 main ()
20532 {
20533 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20534 test_array [0] = 0
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20543 ac_status=$?
20544 grep -v '^ *+' conftest.er1 >conftest.err
20545 rm -f conftest.er1
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try='test -s conftest.$ac_objext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_lo=$ac_mid; break
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 ac_hi=`expr '(' $ac_mid ')' - 1`
20567 if test $ac_mid -le $ac_hi; then
20568 ac_lo= ac_hi=
20569 break
20570 fi
20571 ac_mid=`expr 2 '*' $ac_mid`
20572 fi
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574 done
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_lo= ac_hi=
20580 fi
20581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20584 # Binary search between lo and hi bounds.
20585 while test "x$ac_lo" != "x$ac_hi"; do
20586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593
20594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20596 # error "fake wchar_t"
20597 #endif
20598 #ifdef HAVE_WCHAR_H
20599 # ifdef __CYGWIN__
20600 # include <stddef.h>
20601 # endif
20602 # include <wchar.h>
20603 #endif
20604 #ifdef HAVE_STDLIB_H
20605 # include <stdlib.h>
20606 #endif
20607 #include <stdio.h>
20608
20609
20610
20611 int
20612 main ()
20613 {
20614 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20615 test_array [0] = 0
20616
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20623 (eval $ac_compile) 2>conftest.er1
20624 ac_status=$?
20625 grep -v '^ *+' conftest.er1 >conftest.err
20626 rm -f conftest.er1
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } &&
20630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; } &&
20636 { ac_try='test -s conftest.$ac_objext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 ac_hi=$ac_mid
20643 else
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20646
20647 ac_lo=`expr '(' $ac_mid ')' + 1`
20648 fi
20649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20650 done
20651 case $ac_lo in
20652 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20654 See \`config.log' for more details." >&5
20655 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20656 See \`config.log' for more details." >&2;}
20657 { (exit 1); exit 1; }; } ;;
20658 esac
20659 else
20660 if test "$cross_compiling" = yes; then
20661 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20662 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20663 { (exit 1); exit 1; }; }
20664 else
20665 cat >conftest.$ac_ext <<_ACEOF
20666 /* confdefs.h. */
20667 _ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671
20672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20674 # error "fake wchar_t"
20675 #endif
20676 #ifdef HAVE_WCHAR_H
20677 # ifdef __CYGWIN__
20678 # include <stddef.h>
20679 # endif
20680 # include <wchar.h>
20681 #endif
20682 #ifdef HAVE_STDLIB_H
20683 # include <stdlib.h>
20684 #endif
20685 #include <stdio.h>
20686
20687
20688
20689 long longval () { return (long) (sizeof (wchar_t)); }
20690 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20691 #include <stdio.h>
20692 #include <stdlib.h>
20693 int
20694 main ()
20695 {
20696
20697 FILE *f = fopen ("conftest.val", "w");
20698 if (! f)
20699 exit (1);
20700 if (((long) (sizeof (wchar_t))) < 0)
20701 {
20702 long i = longval ();
20703 if (i != ((long) (sizeof (wchar_t))))
20704 exit (1);
20705 fprintf (f, "%ld\n", i);
20706 }
20707 else
20708 {
20709 unsigned long i = ulongval ();
20710 if (i != ((long) (sizeof (wchar_t))))
20711 exit (1);
20712 fprintf (f, "%lu\n", i);
20713 }
20714 exit (ferror (f) || fclose (f) != 0);
20715
20716 ;
20717 return 0;
20718 }
20719 _ACEOF
20720 rm -f conftest$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20728 ac_status=$?
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 ac_cv_sizeof_wchar_t=`cat conftest.val`
20732 else
20733 echo "$as_me: program exited with status $ac_status" >&5
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 ( exit $ac_status )
20738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20739 See \`config.log' for more details." >&5
20740 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20741 See \`config.log' for more details." >&2;}
20742 { (exit 1); exit 1; }; }
20743 fi
20744 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20745 fi
20746 fi
20747 rm -f conftest.val
20748 else
20749 ac_cv_sizeof_wchar_t=0
20750 fi
20751 fi
20752 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20753 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20754 cat >>confdefs.h <<_ACEOF
20755 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20756 _ACEOF
20757
20758
20759 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20760 wxUSE_WCHAR_T=yes
20761 else
20762 wxUSE_WCHAR_T=no
20763 fi
20764
20765 echo "$as_me:$LINENO: checking for va_copy" >&5
20766 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20767 if test "${wx_cv_func_va_copy+set}" = set; then
20768 echo $ECHO_N "(cached) $ECHO_C" >&6
20769 else
20770
20771 cat >conftest.$ac_ext <<_ACEOF
20772
20773 #include <stdarg.h>
20774 void foo(char *f, ...)
20775 {
20776 va_list ap1, ap2;
20777 va_start(ap1, f);
20778 va_copy(ap2, ap1);
20779 va_end(ap2);
20780 va_end(ap1);
20781 }
20782 int main()
20783 {
20784 foo("hi", 17);
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext conftest$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 wx_cv_func_va_copy=yes
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 wx_cv_func_va_copy=no
20815
20816 fi
20817 rm -f conftest.err conftest.$ac_objext \
20818 conftest$ac_exeext conftest.$ac_ext
20819
20820
20821 fi
20822 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20823 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20824
20825 if test $wx_cv_func_va_copy = "yes"; then
20826 cat >>confdefs.h <<\_ACEOF
20827 #define HAVE_VA_COPY 1
20828 _ACEOF
20829
20830 else
20831 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20832 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20833 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20836
20837 if test "$cross_compiling" = yes; then
20838 wx_cv_type_va_list_lvalue=yes
20839
20840 else
20841 cat >conftest.$ac_ext <<_ACEOF
20842
20843 #include <stdarg.h>
20844 int foo(char *f, ...)
20845 {
20846 va_list ap1, ap2;
20847 va_start(ap1, f);
20848 ap2 = ap1;
20849 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20850 return 1;
20851 va_end(ap2);
20852 va_end(ap1);
20853 return 0;
20854 }
20855 int main()
20856 {
20857 return foo("hi", 17);
20858 }
20859 _ACEOF
20860 rm -f conftest$ac_exeext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20862 (eval $ac_link) 2>&5
20863 ac_status=$?
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20868 ac_status=$?
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 wx_cv_type_va_list_lvalue=yes
20872 else
20873 echo "$as_me: program exited with status $ac_status" >&5
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20876
20877 ( exit $ac_status )
20878 wx_cv_type_va_list_lvalue=no
20879 fi
20880 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20881 fi
20882
20883
20884 fi
20885 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20886 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20887
20888 if test $wx_cv_type_va_list_lvalue != "yes"; then
20889 cat >>confdefs.h <<\_ACEOF
20890 #define VA_LIST_IS_ARRAY 1
20891 _ACEOF
20892
20893 fi
20894 fi
20895
20896 # Check whether --enable-largefile or --disable-largefile was given.
20897 if test "${enable_largefile+set}" = set; then
20898 enableval="$enable_largefile"
20899
20900 fi;
20901 if test "$enable_largefile" != no; then
20902 wx_largefile=no
20903
20904 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20905 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20906 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20907 echo $ECHO_N "(cached) $ECHO_C" >&6
20908 else
20909
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #define _FILE_OFFSET_BITS 64
20917 #include <sys/types.h>
20918 int
20919 main ()
20920 {
20921 typedef struct {
20922 unsigned int field: sizeof(off_t) == 8;
20923 } wxlf;
20924
20925 ;
20926 return 0;
20927 }
20928 _ACEOF
20929 rm -f conftest.$ac_objext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20931 (eval $ac_compile) 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; } &&
20944 { ac_try='test -s conftest.$ac_objext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 ac_cv_sys_file_offset_bits=64
20951 else
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20954
20955 ac_cv_sys_file_offset_bits=no
20956 fi
20957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20958
20959
20960 fi
20961 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20962 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20963
20964 if test "$ac_cv_sys_file_offset_bits" != no; then
20965 wx_largefile=yes
20966 cat >>confdefs.h <<_ACEOF
20967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20968 _ACEOF
20969
20970 fi
20971
20972 if test "x$wx_largefile" != "xyes"; then
20973
20974 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20975 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20976 if test "${ac_cv_sys_large_files+set}" = set; then
20977 echo $ECHO_N "(cached) $ECHO_C" >&6
20978 else
20979
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 #define _LARGE_FILES 1
20987 #include <sys/types.h>
20988 int
20989 main ()
20990 {
20991 typedef struct {
20992 unsigned int field: sizeof(off_t) == 8;
20993 } wxlf;
20994
20995 ;
20996 return 0;
20997 }
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; } &&
21014 { ac_try='test -s conftest.$ac_objext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 ac_cv_sys_large_files=1
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 ac_cv_sys_large_files=no
21026 fi
21027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21028
21029
21030 fi
21031 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21032 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21033
21034 if test "$ac_cv_sys_large_files" != no; then
21035 wx_largefile=yes
21036 cat >>confdefs.h <<_ACEOF
21037 #define _LARGE_FILES $ac_cv_sys_large_files
21038 _ACEOF
21039
21040 fi
21041
21042 fi
21043
21044 echo "$as_me:$LINENO: checking if large file support is available" >&5
21045 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21046 if test "x$wx_largefile" = "xyes"; then
21047 cat >>confdefs.h <<\_ACEOF
21048 #define HAVE_LARGEFILE_SUPPORT 1
21049 _ACEOF
21050
21051 fi
21052 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21053 echo "${ECHO_T}$wx_largefile" >&6
21054 fi
21055
21056
21057 if test "x$wx_largefile" = "xyes"; then
21058 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21059 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21060
21061 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21062 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21063 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21064 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067
21068
21069
21070 ac_ext=cc
21071 ac_cpp='$CXXCPP $CPPFLAGS'
21072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21075
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082
21083 int
21084 main ()
21085 {
21086
21087 #ifndef __STDC_EXT__
21088 choke me
21089 #endif
21090
21091 ;
21092 return 0;
21093 }
21094 _ACEOF
21095 rm -f conftest.$ac_objext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21097 (eval $ac_compile) 2>conftest.er1
21098 ac_status=$?
21099 grep -v '^ *+' conftest.er1 >conftest.err
21100 rm -f conftest.er1
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } &&
21104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try='test -s conftest.$ac_objext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21113 ac_status=$?
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 wx_cv_STDC_EXT_required=no
21117 else
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21120
21121 wx_cv_STDC_EXT_required=yes
21122
21123 fi
21124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21125 ac_ext=c
21126 ac_cpp='$CPP $CPPFLAGS'
21127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130
21131
21132
21133 fi
21134 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21135 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21136 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21137 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
21138 fi
21139 fi
21140 else
21141 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
21142 fi
21143 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21144 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21145 if test "${ac_cv_sys_largefile_source+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 else
21148 while :; do
21149 ac_cv_sys_largefile_source=no
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #include <stdio.h>
21157 int
21158 main ()
21159 {
21160 return !fseeko;
21161 ;
21162 return 0;
21163 }
21164 _ACEOF
21165 rm -f conftest.$ac_objext
21166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21167 (eval $ac_compile) 2>conftest.er1
21168 ac_status=$?
21169 grep -v '^ *+' conftest.er1 >conftest.err
21170 rm -f conftest.er1
21171 cat conftest.err >&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } &&
21174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try='test -s conftest.$ac_objext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 break
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 fi
21192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21193 cat >conftest.$ac_ext <<_ACEOF
21194 /* confdefs.h. */
21195 _ACEOF
21196 cat confdefs.h >>conftest.$ac_ext
21197 cat >>conftest.$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21199 #define _LARGEFILE_SOURCE 1
21200 #include <stdio.h>
21201 int
21202 main ()
21203 {
21204 return !fseeko;
21205 ;
21206 return 0;
21207 }
21208 _ACEOF
21209 rm -f conftest.$ac_objext
21210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21211 (eval $ac_compile) 2>conftest.er1
21212 ac_status=$?
21213 grep -v '^ *+' conftest.er1 >conftest.err
21214 rm -f conftest.er1
21215 cat conftest.err >&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } &&
21218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21221 ac_status=$?
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; } &&
21224 { ac_try='test -s conftest.$ac_objext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 ac_cv_sys_largefile_source=1; break
21231 else
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21234
21235 fi
21236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21237 break
21238 done
21239 fi
21240 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21241 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21242 if test "$ac_cv_sys_largefile_source" != no; then
21243
21244 cat >>confdefs.h <<_ACEOF
21245 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21246 _ACEOF
21247
21248 fi
21249 rm -f conftest*
21250
21251 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21252 # in glibc 2.1.3, but that breaks too many other things.
21253 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21254 echo "$as_me:$LINENO: checking for fseeko" >&5
21255 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21256 if test "${ac_cv_func_fseeko+set}" = set; then
21257 echo $ECHO_N "(cached) $ECHO_C" >&6
21258 else
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 #include <stdio.h>
21266 int
21267 main ()
21268 {
21269 return fseeko && fseeko (stdin, 0, 0);
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext conftest$ac_exeext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21276 (eval $ac_link) 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21286 ac_status=$?
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; } &&
21289 { ac_try='test -s conftest$ac_exeext'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; }; then
21295 ac_cv_func_fseeko=yes
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 ac_cv_func_fseeko=no
21301 fi
21302 rm -f conftest.err conftest.$ac_objext \
21303 conftest$ac_exeext conftest.$ac_ext
21304 fi
21305 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21306 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21307 if test $ac_cv_func_fseeko = yes; then
21308
21309 cat >>confdefs.h <<\_ACEOF
21310 #define HAVE_FSEEKO 1
21311 _ACEOF
21312
21313 fi
21314
21315 if test "$ac_cv_sys_largefile_source" != no; then
21316 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21317 fi
21318 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21319 fi
21320
21321 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21322 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21323 if test "${ac_cv_c_bigendian+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 else
21326 ac_cv_c_bigendian=unknown
21327 # See if sys/param.h defines the BYTE_ORDER macro.
21328 cat >conftest.$ac_ext <<_ACEOF
21329 /* confdefs.h. */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 #include <sys/types.h>
21335 #include <sys/param.h>
21336 int
21337 main ()
21338 {
21339
21340 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21341 bogus endian macros
21342 #endif
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 rm -f conftest.$ac_objext
21348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21349 (eval $ac_compile) 2>conftest.er1
21350 ac_status=$?
21351 grep -v '^ *+' conftest.er1 >conftest.err
21352 rm -f conftest.er1
21353 cat conftest.err >&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } &&
21356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21359 ac_status=$?
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; } &&
21362 { ac_try='test -s conftest.$ac_objext'
21363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364 (eval $ac_try) 2>&5
21365 ac_status=$?
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); }; }; then
21368 # It does; now see whether it defined to BIG_ENDIAN or not.
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <sys/types.h>
21376 #include <sys/param.h>
21377 int
21378 main ()
21379 {
21380
21381 #if BYTE_ORDER != BIG_ENDIAN
21382 not big endian
21383 #endif
21384 ;
21385 return 0;
21386 }
21387 _ACEOF
21388 rm -f conftest.$ac_objext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 (eval $ac_compile) 2>conftest.er1
21391 ac_status=$?
21392 grep -v '^ *+' conftest.er1 >conftest.err
21393 rm -f conftest.er1
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21400 ac_status=$?
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; } &&
21403 { ac_try='test -s conftest.$ac_objext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_c_bigendian=yes
21410 else
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21413
21414 ac_cv_c_bigendian=no
21415 fi
21416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21417 else
21418 echo "$as_me: failed program was:" >&5
21419 sed 's/^/| /' conftest.$ac_ext >&5
21420
21421 fi
21422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21423 if test $ac_cv_c_bigendian = unknown; then
21424 if test "$cross_compiling" = yes; then
21425 ac_cv_c_bigendian=unknown
21426 else
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 main () {
21434 /* Are we little or big endian? From Harbison&Steele. */
21435 union
21436 {
21437 long l;
21438 char c[sizeof (long)];
21439 } u;
21440 u.l = 1;
21441 exit (u.c[sizeof (long) - 1] == 1);
21442 }
21443 _ACEOF
21444 rm -f conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_c_bigendian=no
21456 else
21457 echo "$as_me: program exited with status $ac_status" >&5
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21460
21461 ( exit $ac_status )
21462 ac_cv_c_bigendian=yes
21463 fi
21464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21465 fi
21466 fi
21467 fi
21468 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21469 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21470 if test $ac_cv_c_bigendian = unknown; then
21471 { 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
21472 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;}
21473 fi
21474 if test $ac_cv_c_bigendian = yes; then
21475 cat >>confdefs.h <<\_ACEOF
21476 #define WORDS_BIGENDIAN 1
21477 _ACEOF
21478
21479 fi
21480
21481
21482 ac_ext=cc
21483 ac_cpp='$CXXCPP $CPPFLAGS'
21484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21487 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21488 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21489 if test -z "$CXXCPP"; then
21490 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21491 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 else
21493 # Double quotes because CXXCPP needs to be expanded
21494 for CXXCPP in "$CXX -E" "/lib/cpp"
21495 do
21496 ac_preproc_ok=false
21497 for ac_cxx_preproc_warn_flag in '' yes
21498 do
21499 # Use a header file that comes with gcc, so configuring glibc
21500 # with a fresh cross-compiler works.
21501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21502 # <limits.h> exists even on freestanding compilers.
21503 # On the NeXT, cc -E runs the code through the compiler's parser,
21504 # not just through cpp. "Syntax error" is here to catch this case.
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 #ifdef __STDC__
21512 # include <limits.h>
21513 #else
21514 # include <assert.h>
21515 #endif
21516 Syntax error
21517 _ACEOF
21518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21520 ac_status=$?
21521 grep -v '^ *+' conftest.er1 >conftest.err
21522 rm -f conftest.er1
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } >/dev/null; then
21526 if test -s conftest.err; then
21527 ac_cpp_err=$ac_cxx_preproc_warn_flag
21528 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21529 else
21530 ac_cpp_err=
21531 fi
21532 else
21533 ac_cpp_err=yes
21534 fi
21535 if test -z "$ac_cpp_err"; then
21536 :
21537 else
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21540
21541 # Broken: fails on valid input.
21542 continue
21543 fi
21544 rm -f conftest.err conftest.$ac_ext
21545
21546 # OK, works on sane cases. Now check whether non-existent headers
21547 # can be detected and how.
21548 cat >conftest.$ac_ext <<_ACEOF
21549 /* confdefs.h. */
21550 _ACEOF
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 #include <ac_nonexistent.h>
21555 _ACEOF
21556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21558 ac_status=$?
21559 grep -v '^ *+' conftest.er1 >conftest.err
21560 rm -f conftest.er1
21561 cat conftest.err >&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } >/dev/null; then
21564 if test -s conftest.err; then
21565 ac_cpp_err=$ac_cxx_preproc_warn_flag
21566 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21567 else
21568 ac_cpp_err=
21569 fi
21570 else
21571 ac_cpp_err=yes
21572 fi
21573 if test -z "$ac_cpp_err"; then
21574 # Broken: success on invalid input.
21575 continue
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 # Passes both tests.
21581 ac_preproc_ok=:
21582 break
21583 fi
21584 rm -f conftest.err conftest.$ac_ext
21585
21586 done
21587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21588 rm -f conftest.err conftest.$ac_ext
21589 if $ac_preproc_ok; then
21590 break
21591 fi
21592
21593 done
21594 ac_cv_prog_CXXCPP=$CXXCPP
21595
21596 fi
21597 CXXCPP=$ac_cv_prog_CXXCPP
21598 else
21599 ac_cv_prog_CXXCPP=$CXXCPP
21600 fi
21601 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21602 echo "${ECHO_T}$CXXCPP" >&6
21603 ac_preproc_ok=false
21604 for ac_cxx_preproc_warn_flag in '' yes
21605 do
21606 # Use a header file that comes with gcc, so configuring glibc
21607 # with a fresh cross-compiler works.
21608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21609 # <limits.h> exists even on freestanding compilers.
21610 # On the NeXT, cc -E runs the code through the compiler's parser,
21611 # not just through cpp. "Syntax error" is here to catch this case.
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 #ifdef __STDC__
21619 # include <limits.h>
21620 #else
21621 # include <assert.h>
21622 #endif
21623 Syntax error
21624 _ACEOF
21625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } >/dev/null; then
21633 if test -s conftest.err; then
21634 ac_cpp_err=$ac_cxx_preproc_warn_flag
21635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21636 else
21637 ac_cpp_err=
21638 fi
21639 else
21640 ac_cpp_err=yes
21641 fi
21642 if test -z "$ac_cpp_err"; then
21643 :
21644 else
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.$ac_ext >&5
21647
21648 # Broken: fails on valid input.
21649 continue
21650 fi
21651 rm -f conftest.err conftest.$ac_ext
21652
21653 # OK, works on sane cases. Now check whether non-existent headers
21654 # can be detected and how.
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 #include <ac_nonexistent.h>
21662 _ACEOF
21663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21665 ac_status=$?
21666 grep -v '^ *+' conftest.er1 >conftest.err
21667 rm -f conftest.er1
21668 cat conftest.err >&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } >/dev/null; then
21671 if test -s conftest.err; then
21672 ac_cpp_err=$ac_cxx_preproc_warn_flag
21673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21674 else
21675 ac_cpp_err=
21676 fi
21677 else
21678 ac_cpp_err=yes
21679 fi
21680 if test -z "$ac_cpp_err"; then
21681 # Broken: success on invalid input.
21682 continue
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 # Passes both tests.
21688 ac_preproc_ok=:
21689 break
21690 fi
21691 rm -f conftest.err conftest.$ac_ext
21692
21693 done
21694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21695 rm -f conftest.err conftest.$ac_ext
21696 if $ac_preproc_ok; then
21697 :
21698 else
21699 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21700 See \`config.log' for more details." >&5
21701 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21702 See \`config.log' for more details." >&2;}
21703 { (exit 1); exit 1; }; }
21704 fi
21705
21706 ac_ext=cc
21707 ac_cpp='$CXXCPP $CPPFLAGS'
21708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21711
21712
21713
21714
21715
21716 ac_ext=cc
21717 ac_cpp='$CXXCPP $CPPFLAGS'
21718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21721
21722
21723
21724 for ac_header in iostream
21725 do
21726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21728 echo "$as_me:$LINENO: checking for $ac_header" >&5
21729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 fi
21733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21735 else
21736 # Is the header compilable?
21737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21739 cat >conftest.$ac_ext <<_ACEOF
21740 /* confdefs.h. */
21741 _ACEOF
21742 cat confdefs.h >>conftest.$ac_ext
21743 cat >>conftest.$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 $ac_includes_default
21746 #include <$ac_header>
21747 _ACEOF
21748 rm -f conftest.$ac_objext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21750 (eval $ac_compile) 2>conftest.er1
21751 ac_status=$?
21752 grep -v '^ *+' conftest.er1 >conftest.err
21753 rm -f conftest.er1
21754 cat conftest.err >&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; } &&
21763 { ac_try='test -s conftest.$ac_objext'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21766 ac_status=$?
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; }; then
21769 ac_header_compiler=yes
21770 else
21771 echo "$as_me: failed program was:" >&5
21772 sed 's/^/| /' conftest.$ac_ext >&5
21773
21774 ac_header_compiler=no
21775 fi
21776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21778 echo "${ECHO_T}$ac_header_compiler" >&6
21779
21780 # Is the header present?
21781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21783 cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 #include <$ac_header>
21790 _ACEOF
21791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21793 ac_status=$?
21794 grep -v '^ *+' conftest.er1 >conftest.err
21795 rm -f conftest.er1
21796 cat conftest.err >&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } >/dev/null; then
21799 if test -s conftest.err; then
21800 ac_cpp_err=$ac_cxx_preproc_warn_flag
21801 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21802 else
21803 ac_cpp_err=
21804 fi
21805 else
21806 ac_cpp_err=yes
21807 fi
21808 if test -z "$ac_cpp_err"; then
21809 ac_header_preproc=yes
21810 else
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21813
21814 ac_header_preproc=no
21815 fi
21816 rm -f conftest.err conftest.$ac_ext
21817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21818 echo "${ECHO_T}$ac_header_preproc" >&6
21819
21820 # So? What about this header?
21821 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21822 yes:no: )
21823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21827 ac_header_preproc=yes
21828 ;;
21829 no:yes:* )
21830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21842 (
21843 cat <<\_ASBOX
21844 ## ----------------------------------------- ##
21845 ## Report this to wx-dev@lists.wxwidgets.org ##
21846 ## ----------------------------------------- ##
21847 _ASBOX
21848 ) |
21849 sed "s/^/$as_me: WARNING: /" >&2
21850 ;;
21851 esac
21852 echo "$as_me:$LINENO: checking for $ac_header" >&5
21853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857 eval "$as_ac_Header=\$ac_header_preproc"
21858 fi
21859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21861
21862 fi
21863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21864 cat >>confdefs.h <<_ACEOF
21865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21866 _ACEOF
21867
21868 fi
21869
21870 done
21871
21872
21873 if test "$ac_cv_header_iostream" = "yes" ; then
21874 :
21875 else
21876 cat >>confdefs.h <<\_ACEOF
21877 #define wxUSE_IOSTREAMH 1
21878 _ACEOF
21879
21880 fi
21881
21882 ac_ext=c
21883 ac_cpp='$CPP $CPPFLAGS'
21884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21887
21888
21889
21890
21891 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21892 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21893 if test "${wx_cv_cpp_bool+set}" = set; then
21894 echo $ECHO_N "(cached) $ECHO_C" >&6
21895 else
21896
21897
21898
21899 ac_ext=cc
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21904
21905
21906 cat >conftest.$ac_ext <<_ACEOF
21907 /* confdefs.h. */
21908 _ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912
21913
21914 int
21915 main ()
21916 {
21917
21918 bool b = true;
21919
21920 return 0;
21921
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21938 ac_status=$?
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947
21948 wx_cv_cpp_bool=yes
21949
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954
21955 wx_cv_cpp_bool=no
21956
21957
21958 fi
21959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21960
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21966
21967
21968 fi
21969 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21970 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21971
21972 if test "$wx_cv_cpp_bool" = "yes"; then
21973 cat >>confdefs.h <<\_ACEOF
21974 #define HAVE_BOOL 1
21975 _ACEOF
21976
21977 fi
21978
21979
21980
21981 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21982 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21983 if test "${wx_cv_explicit+set}" = set; then
21984 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 else
21986
21987
21988
21989 ac_ext=cc
21990 ac_cpp='$CXXCPP $CPPFLAGS'
21991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21994
21995
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002
22003 class Foo { public: explicit Foo(int) {} };
22004
22005 int
22006 main ()
22007 {
22008
22009 return 0;
22010
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
22015 rm -f conftest.$ac_objext
22016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22017 (eval $ac_compile) 2>conftest.er1
22018 ac_status=$?
22019 grep -v '^ *+' conftest.er1 >conftest.err
22020 rm -f conftest.er1
22021 cat conftest.err >&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } &&
22024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22026 (eval $ac_try) 2>&5
22027 ac_status=$?
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); }; } &&
22030 { ac_try='test -s conftest.$ac_objext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22033 ac_status=$?
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036
22037 cat >conftest.$ac_ext <<_ACEOF
22038 /* confdefs.h. */
22039 _ACEOF
22040 cat confdefs.h >>conftest.$ac_ext
22041 cat >>conftest.$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043
22044 class Foo { public: explicit Foo(int) {} };
22045 static void TakeFoo(const Foo& foo) { }
22046
22047 int
22048 main ()
22049 {
22050
22051 TakeFoo(17);
22052 return 0;
22053
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060 (eval $ac_compile) 2>conftest.er1
22061 ac_status=$?
22062 grep -v '^ *+' conftest.er1 >conftest.err
22063 rm -f conftest.er1
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; } &&
22073 { ac_try='test -s conftest.$ac_objext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22076 ac_status=$?
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 wx_cv_explicit=no
22080 else
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22083
22084 wx_cv_explicit=yes
22085
22086 fi
22087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22088
22089 else
22090 echo "$as_me: failed program was:" >&5
22091 sed 's/^/| /' conftest.$ac_ext >&5
22092
22093 wx_cv_explicit=no
22094
22095 fi
22096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22097
22098 ac_ext=c
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22103
22104
22105 fi
22106 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22107 echo "${ECHO_T}$wx_cv_explicit" >&6
22108
22109 if test "$wx_cv_explicit" = "yes"; then
22110 cat >>confdefs.h <<\_ACEOF
22111 #define HAVE_EXPLICIT 1
22112 _ACEOF
22113
22114 fi
22115
22116
22117 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22118 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22119 if test "${ac_cv_cxx_const_cast+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 else
22122
22123
22124 ac_ext=cc
22125 ac_cpp='$CXXCPP $CPPFLAGS'
22126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22129
22130 cat >conftest.$ac_ext <<_ACEOF
22131 /* confdefs.h. */
22132 _ACEOF
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136
22137 int
22138 main ()
22139 {
22140 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22141 ;
22142 return 0;
22143 }
22144 _ACEOF
22145 rm -f conftest.$ac_objext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22147 (eval $ac_compile) 2>conftest.er1
22148 ac_status=$?
22149 grep -v '^ *+' conftest.er1 >conftest.err
22150 rm -f conftest.er1
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } &&
22154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156 (eval $ac_try) 2>&5
22157 ac_status=$?
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); }; } &&
22160 { ac_try='test -s conftest.$ac_objext'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22163 ac_status=$?
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_cxx_const_cast=yes
22167 else
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22170
22171 ac_cv_cxx_const_cast=no
22172 fi
22173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22174 ac_ext=c
22175 ac_cpp='$CPP $CPPFLAGS'
22176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22179
22180
22181 fi
22182 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22183 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22184 if test "$ac_cv_cxx_const_cast" = yes; then
22185
22186 cat >>confdefs.h <<\_ACEOF
22187 #define HAVE_CONST_CAST
22188 _ACEOF
22189
22190 fi
22191
22192 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22193 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22194 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22195 echo $ECHO_N "(cached) $ECHO_C" >&6
22196 else
22197
22198
22199 ac_ext=cc
22200 ac_cpp='$CXXCPP $CPPFLAGS'
22201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 #include <typeinfo>
22212 class Base { public : Base () {} virtual void f () = 0;};
22213 class Derived : public Base { public : Derived () {} virtual void f () {} };
22214 class Unrelated { public : Unrelated () {} };
22215 int g (Unrelated&) { return 0; }
22216 int
22217 main ()
22218 {
22219
22220 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 rm -f conftest.$ac_objext
22226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227 (eval $ac_compile) 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; } &&
22240 { ac_try='test -s conftest.$ac_objext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 ac_cv_cxx_reinterpret_cast=yes
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22250
22251 ac_cv_cxx_reinterpret_cast=no
22252 fi
22253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22254 ac_ext=c
22255 ac_cpp='$CPP $CPPFLAGS'
22256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22259
22260
22261 fi
22262 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22263 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22264 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22265
22266 cat >>confdefs.h <<\_ACEOF
22267 #define HAVE_REINTERPRET_CAST
22268 _ACEOF
22269
22270 fi
22271
22272 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22273 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22274 if test "${ac_cv_cxx_static_cast+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22277
22278
22279 ac_ext=cc
22280 ac_cpp='$CXXCPP $CPPFLAGS'
22281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22284
22285 cat >conftest.$ac_ext <<_ACEOF
22286 /* confdefs.h. */
22287 _ACEOF
22288 cat confdefs.h >>conftest.$ac_ext
22289 cat >>conftest.$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22291 #include <typeinfo>
22292 class Base { public : Base () {} virtual void f () = 0; };
22293 class Derived : public Base { public : Derived () {} virtual void f () {} };
22294 int g (Derived&) { return 0; }
22295 int
22296 main ()
22297 {
22298
22299 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22300 ;
22301 return 0;
22302 }
22303 _ACEOF
22304 rm -f conftest.$ac_objext
22305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22306 (eval $ac_compile) 2>conftest.er1
22307 ac_status=$?
22308 grep -v '^ *+' conftest.er1 >conftest.err
22309 rm -f conftest.er1
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22316 ac_status=$?
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; } &&
22319 { ac_try='test -s conftest.$ac_objext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 ac_cv_cxx_static_cast=yes
22326 else
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.$ac_ext >&5
22329
22330 ac_cv_cxx_static_cast=no
22331 fi
22332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22333 ac_ext=c
22334 ac_cpp='$CPP $CPPFLAGS'
22335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22338
22339
22340 fi
22341 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22342 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22343 if test "$ac_cv_cxx_static_cast" = yes; then
22344
22345 cat >>confdefs.h <<\_ACEOF
22346 #define HAVE_STATIC_CAST
22347 _ACEOF
22348
22349 fi
22350
22351
22352 if test "x$SUNCXX" = xyes; then
22353 CXXFLAGS="$CXXFLAGS -features=tmplife"
22354 fi
22355
22356 if test "x$SUNCC" = xyes; then
22357 CFLAGS="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22358 fi
22359
22360 if test "x$SGICC" = "xyes"; then
22361 CFLAGS="$CFLAGS -woff 3970"
22362 fi
22363 if test "x$SGICXX" = "xyes"; then
22364 CXXFLAGS="$CXXFLAGS -woff 3970"
22365 fi
22366
22367 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22368 ac_ext=cc
22369 ac_cpp='$CXXCPP $CPPFLAGS'
22370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22373
22374
22375 if test "$wxUSE_UNICODE" = "yes"; then
22376 std_string="std::wstring"
22377 char_type="wchar_t"
22378 else
22379 std_string="std::string"
22380 char_type="char"
22381 fi
22382
22383 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22384 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22385 cat >conftest.$ac_ext <<_ACEOF
22386 /* confdefs.h. */
22387 _ACEOF
22388 cat confdefs.h >>conftest.$ac_ext
22389 cat >>conftest.$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 #include <string>
22392 int
22393 main ()
22394 {
22395 $std_string foo;
22396 ;
22397 return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest.$ac_objext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22402 (eval $ac_compile) 2>conftest.er1
22403 ac_status=$?
22404 grep -v '^ *+' conftest.er1 >conftest.err
22405 rm -f conftest.er1
22406 cat conftest.err >&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } &&
22409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411 (eval $ac_try) 2>&5
22412 ac_status=$?
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; } &&
22415 { ac_try='test -s conftest.$ac_objext'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22418 ac_status=$?
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; }; then
22421 echo "$as_me:$LINENO: result: yes" >&5
22422 echo "${ECHO_T}yes" >&6
22423 cat >>confdefs.h <<\_ACEOF
22424 #define HAVE_STD_WSTRING 1
22425 _ACEOF
22426
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 echo "$as_me:$LINENO: result: no" >&5
22432 echo "${ECHO_T}no" >&6
22433 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22434 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22435 cat >conftest.$ac_ext <<_ACEOF
22436 /* confdefs.h. */
22437 _ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441
22442 #ifdef HAVE_WCHAR_H
22443 # ifdef __CYGWIN__
22444 # include <stddef.h>
22445 # endif
22446 # include <wchar.h>
22447 #endif
22448 #ifdef HAVE_STDLIB_H
22449 # include <stdlib.h>
22450 #endif
22451 #include <stdio.h>
22452 #include <string>
22453
22454 int
22455 main ()
22456 {
22457 std::basic_string<$char_type> foo;
22458 const $char_type* dummy = foo.c_str();
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22465 (eval $ac_compile) 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 echo "$as_me:$LINENO: result: yes" >&5
22485 echo "${ECHO_T}yes" >&6
22486 else
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.$ac_ext >&5
22489
22490 echo "$as_me:$LINENO: result: no" >&5
22491 echo "${ECHO_T}no" >&6
22492 if test "$wxUSE_STL" = "yes"; then
22493 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22494 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22495 { (exit 1); exit 1; }; }
22496 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22497 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22498 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22499 { (exit 1); exit 1; }; }
22500 else
22501 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22502 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22503 wxUSE_STD_STRING=no
22504 fi
22505
22506
22507 fi
22508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22509
22510 fi
22511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22512
22513 ac_ext=c
22514 ac_cpp='$CPP $CPPFLAGS'
22515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22518
22519 fi
22520
22521 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22522 ac_ext=cc
22523 ac_cpp='$CXXCPP $CPPFLAGS'
22524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22527
22528
22529 echo "$as_me:$LINENO: checking for std::istream" >&5
22530 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22531 if test "${ac_cv_type_std__istream+set}" = set; then
22532 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 else
22534 cat >conftest.$ac_ext <<_ACEOF
22535 /* confdefs.h. */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 #include <iostream>
22541
22542 int
22543 main ()
22544 {
22545 if ((std::istream *) 0)
22546 return 0;
22547 if (sizeof (std::istream))
22548 return 0;
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22555 (eval $ac_compile) 2>conftest.er1
22556 ac_status=$?
22557 grep -v '^ *+' conftest.er1 >conftest.err
22558 rm -f conftest.er1
22559 cat conftest.err >&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } &&
22562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22565 ac_status=$?
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22571 ac_status=$?
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 ac_cv_type_std__istream=yes
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 ac_cv_type_std__istream=no
22580 fi
22581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22582 fi
22583 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22584 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22585 if test $ac_cv_type_std__istream = yes; then
22586
22587 cat >>confdefs.h <<_ACEOF
22588 #define HAVE_STD__ISTREAM 1
22589 _ACEOF
22590
22591
22592 else
22593 wxUSE_STD_IOSTREAM=no
22594 fi
22595 echo "$as_me:$LINENO: checking for std::ostream" >&5
22596 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22597 if test "${ac_cv_type_std__ostream+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22599 else
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <iostream>
22607
22608 int
22609 main ()
22610 {
22611 if ((std::ostream *) 0)
22612 return 0;
22613 if (sizeof (std::ostream))
22614 return 0;
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22637 ac_status=$?
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_type_std__ostream=yes
22641 else
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22644
22645 ac_cv_type_std__ostream=no
22646 fi
22647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22648 fi
22649 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22650 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22651 if test $ac_cv_type_std__ostream = yes; then
22652
22653 cat >>confdefs.h <<_ACEOF
22654 #define HAVE_STD__OSTREAM 1
22655 _ACEOF
22656
22657
22658 else
22659 wxUSE_STD_IOSTREAM=no
22660 fi
22661
22662
22663 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22664 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22665 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22666 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22667 { (exit 1); exit 1; }; }
22668 else
22669 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22670 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22671 fi
22672 fi
22673
22674 ac_ext=c
22675 ac_cpp='$CPP $CPPFLAGS'
22676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22679
22680 fi
22681
22682 if test "$wxUSE_STL" = "yes"; then
22683 ac_ext=cc
22684 ac_cpp='$CXXCPP $CPPFLAGS'
22685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22688
22689
22690 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22691 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22692 cat >conftest.$ac_ext <<_ACEOF
22693 /* confdefs.h. */
22694 _ACEOF
22695 cat confdefs.h >>conftest.$ac_ext
22696 cat >>conftest.$ac_ext <<_ACEOF
22697 /* end confdefs.h. */
22698 #include <string>
22699 #include <functional>
22700 #include <algorithm>
22701 #include <vector>
22702 #include <list>
22703 int
22704 main ()
22705 {
22706 std::vector<int> moo;
22707 std::list<int> foo;
22708 std::vector<int>::iterator it =
22709 std::find_if(moo.begin(), moo.end(),
22710 std::bind2nd(std::less<int>(), 3));
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>conftest.er1
22718 ac_status=$?
22719 grep -v '^ *+' conftest.er1 >conftest.err
22720 rm -f conftest.er1
22721 cat conftest.err >&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try='test -s conftest.$ac_objext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 echo "$as_me:$LINENO: result: yes" >&5
22737 echo "${ECHO_T}yes" >&6
22738 else
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742 echo "$as_me:$LINENO: result: no" >&5
22743 echo "${ECHO_T}no" >&6
22744 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22745 echo "$as_me: error: Basic STL functionality missing" >&2;}
22746 { (exit 1); exit 1; }; }
22747 fi
22748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22749
22750 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22751 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22752 cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h. */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 #include <string>
22759 int
22760 main ()
22761 {
22762 std::string foo, bar;
22763 foo.compare(bar);
22764 foo.compare(1, 1, bar);
22765 foo.compare(1, 1, bar, 1, 1);
22766 foo.compare("");
22767 foo.compare(1, 1, "");
22768 foo.compare(1, 1, "", 2);
22769 ;
22770 return 0;
22771 }
22772 _ACEOF
22773 rm -f conftest.$ac_objext
22774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22775 (eval $ac_compile) 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22784 (eval $ac_try) 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; } &&
22788 { ac_try='test -s conftest.$ac_objext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 echo "$as_me:$LINENO: result: yes" >&5
22795 echo "${ECHO_T}yes" >&6
22796 cat >>confdefs.h <<\_ACEOF
22797 #define HAVE_STD_STRING_COMPARE 1
22798 _ACEOF
22799
22800 else
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.$ac_ext >&5
22803
22804 echo "$as_me:$LINENO: result: no" >&5
22805 echo "${ECHO_T}no" >&6
22806 fi
22807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22808
22809 if test "${ac_cv_header_hash_map+set}" = set; then
22810 echo "$as_me:$LINENO: checking for hash_map" >&5
22811 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22812 if test "${ac_cv_header_hash_map+set}" = set; then
22813 echo $ECHO_N "(cached) $ECHO_C" >&6
22814 fi
22815 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22816 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22817 else
22818 # Is the header compilable?
22819 echo "$as_me:$LINENO: checking hash_map usability" >&5
22820 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 #include <hash_map>
22829 _ACEOF
22830 rm -f conftest.$ac_objext
22831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22832 (eval $ac_compile) 2>conftest.er1
22833 ac_status=$?
22834 grep -v '^ *+' conftest.er1 >conftest.err
22835 rm -f conftest.er1
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22842 ac_status=$?
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; } &&
22845 { ac_try='test -s conftest.$ac_objext'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; }; then
22851 ac_header_compiler=yes
22852 else
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 ac_header_compiler=no
22857 fi
22858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22860 echo "${ECHO_T}$ac_header_compiler" >&6
22861
22862 # Is the header present?
22863 echo "$as_me:$LINENO: checking hash_map presence" >&5
22864 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22865 cat >conftest.$ac_ext <<_ACEOF
22866 /* confdefs.h. */
22867 _ACEOF
22868 cat confdefs.h >>conftest.$ac_ext
22869 cat >>conftest.$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22871 #include <hash_map>
22872 _ACEOF
22873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22875 ac_status=$?
22876 grep -v '^ *+' conftest.er1 >conftest.err
22877 rm -f conftest.er1
22878 cat conftest.err >&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); } >/dev/null; then
22881 if test -s conftest.err; then
22882 ac_cpp_err=$ac_cxx_preproc_warn_flag
22883 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22884 else
22885 ac_cpp_err=
22886 fi
22887 else
22888 ac_cpp_err=yes
22889 fi
22890 if test -z "$ac_cpp_err"; then
22891 ac_header_preproc=yes
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_header_preproc=no
22897 fi
22898 rm -f conftest.err conftest.$ac_ext
22899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22900 echo "${ECHO_T}$ac_header_preproc" >&6
22901
22902 # So? What about this header?
22903 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22904 yes:no: )
22905 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22906 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22908 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22909 ac_header_preproc=yes
22910 ;;
22911 no:yes:* )
22912 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22913 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22914 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22915 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22916 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22917 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22918 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22919 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22920 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22921 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22922 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22923 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22924 (
22925 cat <<\_ASBOX
22926 ## ----------------------------------------- ##
22927 ## Report this to wx-dev@lists.wxwidgets.org ##
22928 ## ----------------------------------------- ##
22929 _ASBOX
22930 ) |
22931 sed "s/^/$as_me: WARNING: /" >&2
22932 ;;
22933 esac
22934 echo "$as_me:$LINENO: checking for hash_map" >&5
22935 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22936 if test "${ac_cv_header_hash_map+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 else
22939 ac_cv_header_hash_map=$ac_header_preproc
22940 fi
22941 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22942 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22943
22944 fi
22945 if test $ac_cv_header_hash_map = yes; then
22946 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22947 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22948 cat >conftest.$ac_ext <<_ACEOF
22949 /* confdefs.h. */
22950 _ACEOF
22951 cat confdefs.h >>conftest.$ac_ext
22952 cat >>conftest.$ac_ext <<_ACEOF
22953 /* end confdefs.h. */
22954 #include <hash_map>
22955 #include <hash_set>
22956 int
22957 main ()
22958 {
22959 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22960 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22961 ;
22962 return 0;
22963 }
22964 _ACEOF
22965 rm -f conftest.$ac_objext
22966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22967 (eval $ac_compile) 2>conftest.er1
22968 ac_status=$?
22969 grep -v '^ *+' conftest.er1 >conftest.err
22970 rm -f conftest.er1
22971 cat conftest.err >&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } &&
22974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; } &&
22980 { ac_try='test -s conftest.$ac_objext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 echo "$as_me:$LINENO: result: yes" >&5
22987 echo "${ECHO_T}yes" >&6
22988 cat >>confdefs.h <<\_ACEOF
22989 #define HAVE_HASH_MAP 1
22990 _ACEOF
22991
22992 cat >>confdefs.h <<\_ACEOF
22993 #define HAVE_STD_HASH_MAP 1
22994 _ACEOF
22995
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 echo "$as_me:$LINENO: result: no" >&5
23001 echo "${ECHO_T}no" >&6
23002 fi
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004
23005 fi
23006
23007
23008
23009 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23010 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23011 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23012 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23013 echo $ECHO_N "(cached) $ECHO_C" >&6
23014 fi
23015 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23016 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23017 else
23018 # Is the header compilable?
23019 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23020 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23021 cat >conftest.$ac_ext <<_ACEOF
23022 /* confdefs.h. */
23023 _ACEOF
23024 cat confdefs.h >>conftest.$ac_ext
23025 cat >>conftest.$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 $ac_includes_default
23028 #include <ext/hash_map>
23029 _ACEOF
23030 rm -f conftest.$ac_objext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23032 (eval $ac_compile) 2>conftest.er1
23033 ac_status=$?
23034 grep -v '^ *+' conftest.er1 >conftest.err
23035 rm -f conftest.er1
23036 cat conftest.err >&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; } &&
23045 { ac_try='test -s conftest.$ac_objext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23048 ac_status=$?
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_header_compiler=yes
23052 else
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056 ac_header_compiler=no
23057 fi
23058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23060 echo "${ECHO_T}$ac_header_compiler" >&6
23061
23062 # Is the header present?
23063 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23064 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23065 cat >conftest.$ac_ext <<_ACEOF
23066 /* confdefs.h. */
23067 _ACEOF
23068 cat confdefs.h >>conftest.$ac_ext
23069 cat >>conftest.$ac_ext <<_ACEOF
23070 /* end confdefs.h. */
23071 #include <ext/hash_map>
23072 _ACEOF
23073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } >/dev/null; then
23081 if test -s conftest.err; then
23082 ac_cpp_err=$ac_cxx_preproc_warn_flag
23083 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23084 else
23085 ac_cpp_err=
23086 fi
23087 else
23088 ac_cpp_err=yes
23089 fi
23090 if test -z "$ac_cpp_err"; then
23091 ac_header_preproc=yes
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 ac_header_preproc=no
23097 fi
23098 rm -f conftest.err conftest.$ac_ext
23099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23100 echo "${ECHO_T}$ac_header_preproc" >&6
23101
23102 # So? What about this header?
23103 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23104 yes:no: )
23105 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23106 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23107 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23108 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23109 ac_header_preproc=yes
23110 ;;
23111 no:yes:* )
23112 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23113 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23114 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23115 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23116 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23117 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23118 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23119 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23120 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23121 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23122 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23123 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23124 (
23125 cat <<\_ASBOX
23126 ## ----------------------------------------- ##
23127 ## Report this to wx-dev@lists.wxwidgets.org ##
23128 ## ----------------------------------------- ##
23129 _ASBOX
23130 ) |
23131 sed "s/^/$as_me: WARNING: /" >&2
23132 ;;
23133 esac
23134 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 else
23139 ac_cv_header_ext_hash_map=$ac_header_preproc
23140 fi
23141 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23142 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23143
23144 fi
23145 if test $ac_cv_header_ext_hash_map = yes; then
23146 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23147 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h. */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 #include <ext/hash_map>
23155 #include <ext/hash_set>
23156 int
23157 main ()
23158 {
23159 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23160 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest.$ac_objext
23166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23167 (eval $ac_compile) 2>conftest.er1
23168 ac_status=$?
23169 grep -v '^ *+' conftest.er1 >conftest.err
23170 rm -f conftest.er1
23171 cat conftest.err >&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); } &&
23174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23177 ac_status=$?
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; } &&
23180 { ac_try='test -s conftest.$ac_objext'
23181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182 (eval $ac_try) 2>&5
23183 ac_status=$?
23184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185 (exit $ac_status); }; }; then
23186 echo "$as_me:$LINENO: result: yes" >&5
23187 echo "${ECHO_T}yes" >&6
23188 cat >>confdefs.h <<\_ACEOF
23189 #define HAVE_EXT_HASH_MAP 1
23190 _ACEOF
23191
23192 cat >>confdefs.h <<\_ACEOF
23193 #define HAVE_GNU_CXX_HASH_MAP 1
23194 _ACEOF
23195
23196 else
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200 echo "$as_me:$LINENO: result: no" >&5
23201 echo "${ECHO_T}no" >&6
23202 fi
23203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23204
23205 fi
23206
23207
23208
23209 ac_ext=c
23210 ac_cpp='$CPP $CPPFLAGS'
23211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23214
23215 fi
23216
23217
23218 SEARCH_INCLUDE="\
23219 /usr/local/include \
23220 \
23221 /usr/Motif-2.1/include \
23222 /usr/Motif-1.2/include \
23223 /usr/include/Motif1.2 \
23224 \
23225 /usr/dt/include \
23226 /usr/openwin/include \
23227 \
23228 /usr/include/Xm \
23229 \
23230 /usr/X11R6/include \
23231 /usr/X11R6.4/include \
23232 /usr/X11R5/include \
23233 /usr/X11R4/include \
23234 \
23235 /usr/include/X11R6 \
23236 /usr/include/X11R5 \
23237 /usr/include/X11R4 \
23238 \
23239 /usr/local/X11R6/include \
23240 /usr/local/X11R5/include \
23241 /usr/local/X11R4/include \
23242 \
23243 /usr/local/include/X11R6 \
23244 /usr/local/include/X11R5 \
23245 /usr/local/include/X11R4 \
23246 \
23247 /usr/X11/include \
23248 /usr/include/X11 \
23249 /usr/local/X11/include \
23250 /usr/local/include/X11 \
23251 \
23252 /usr/XFree86/include/X11 \
23253 /usr/pkg/include \
23254 \
23255 /usr/openwin/share/include"
23256
23257 echo "$as_me:$LINENO: checking for libraries directory" >&5
23258 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23259
23260 case "${host}" in
23261 *-*-irix6* )
23262 if test "${wx_cv_std_libpath+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23264 else
23265
23266 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23267 for e in a so sl dylib dll.a; do
23268 libc="$d/libc.$e"
23269 if test -f $libc; then
23270 save_LIBS="$LIBS"
23271 LIBS="$libc"
23272 cat >conftest.$ac_ext <<_ACEOF
23273 int main() { return 0; }
23274 _ACEOF
23275 rm -f conftest.$ac_objext conftest$ac_exeext
23276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23277 (eval $ac_link) 2>conftest.er1
23278 ac_status=$?
23279 grep -v '^ *+' conftest.er1 >conftest.err
23280 rm -f conftest.er1
23281 cat conftest.err >&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } &&
23284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23287 ac_status=$?
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try='test -s conftest$ac_exeext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23297 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 fi
23302 rm -f conftest.err conftest.$ac_objext \
23303 conftest$ac_exeext conftest.$ac_ext
23304 LIBS="$save_LIBS"
23305 if test "x$wx_cv_std_libpath" != "x"; then
23306 break 2
23307 fi
23308 fi
23309 done
23310 done
23311 if test "x$wx_cv_std_libpath" = "x"; then
23312 wx_cv_std_libpath="lib"
23313 fi
23314
23315
23316 fi
23317
23318 ;;
23319
23320 *-*-solaris2* )
23321 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23322 wx_cv_std_libpath="lib/64"
23323 else
23324 wx_cv_std_libpath="lib"
23325 fi
23326 ;;
23327
23328 *-*-linux* )
23329 if test "$ac_cv_sizeof_void_p" = 8 -a \
23330 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23331 wx_cv_std_libpath="lib64"
23332 else
23333 wx_cv_std_libpath="lib"
23334 fi
23335 ;;
23336
23337 *)
23338 wx_cv_std_libpath="lib";
23339 ;;
23340 esac
23341
23342 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23343 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23344
23345 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23346
23347 if test "$build" != "$host" -a "$GCC" = yes; then
23348 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23349 cross_root=`dirname $cross_root`
23350 cross_root=`dirname $cross_root`
23351
23352 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23353 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23354
23355 if test -z "$PKG_CONFIG_PATH"; then
23356 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23357 export PKG_CONFIG_PATH
23358 fi
23359
23360 if test -z "$x_includes" -o "$x_includes" = NONE; then
23361
23362 ac_find_includes=
23363 for ac_dir in $SEARCH_INCLUDE /usr/include;
23364 do
23365 if test -f "$ac_dir/X11/Intrinsic.h"; then
23366 ac_find_includes=$ac_dir
23367 break
23368 fi
23369 done
23370
23371 x_includes=$ac_find_includes
23372 fi
23373 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23374
23375 ac_find_libraries=
23376 for ac_dir in $SEARCH_LIB;
23377 do
23378 for ac_extension in a so sl dylib dll.a; do
23379 if test -f "$ac_dir/libXt.$ac_extension"; then
23380 ac_find_libraries=$ac_dir
23381 break 2
23382 fi
23383 done
23384 done
23385
23386 x_libraries=$ac_find_libraries
23387 fi
23388 fi
23389 fi
23390
23391
23392 cat >confcache <<\_ACEOF
23393 # This file is a shell script that caches the results of configure
23394 # tests run on this system so they can be shared between configure
23395 # scripts and configure runs, see configure's option --config-cache.
23396 # It is not useful on other systems. If it contains results you don't
23397 # want to keep, you may remove or edit it.
23398 #
23399 # config.status only pays attention to the cache file if you give it
23400 # the --recheck option to rerun configure.
23401 #
23402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23404 # following values.
23405
23406 _ACEOF
23407
23408 # The following way of writing the cache mishandles newlines in values,
23409 # but we know of no workaround that is simple, portable, and efficient.
23410 # So, don't put newlines in cache variables' values.
23411 # Ultrix sh set writes to stderr and can't be redirected directly,
23412 # and sets the high bit in the cache file unless we assign to the vars.
23413 {
23414 (set) 2>&1 |
23415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23416 *ac_space=\ *)
23417 # `set' does not quote correctly, so add quotes (double-quote
23418 # substitution turns \\\\ into \\, and sed turns \\ into \).
23419 sed -n \
23420 "s/'/'\\\\''/g;
23421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23422 ;;
23423 *)
23424 # `set' quotes correctly as required by POSIX, so do not add quotes.
23425 sed -n \
23426 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23427 ;;
23428 esac;
23429 } |
23430 sed '
23431 t clear
23432 : clear
23433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23434 t end
23435 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23436 : end' >>confcache
23437 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23438 if test -w $cache_file; then
23439 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23440 cat confcache >$cache_file
23441 else
23442 echo "not updating unwritable cache $cache_file"
23443 fi
23444 fi
23445 rm -f confcache
23446
23447 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23448 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23449 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23450 if test "${wx_cv_lib_glibc21+set}" = set; then
23451 echo $ECHO_N "(cached) $ECHO_C" >&6
23452 else
23453
23454 cat >conftest.$ac_ext <<_ACEOF
23455 /* confdefs.h. */
23456 _ACEOF
23457 cat confdefs.h >>conftest.$ac_ext
23458 cat >>conftest.$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 #include <features.h>
23461 int
23462 main ()
23463 {
23464
23465 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23466 not glibc 2.1
23467 #endif
23468
23469 ;
23470 return 0;
23471 }
23472 _ACEOF
23473 rm -f conftest.$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23476 ac_status=$?
23477 grep -v '^ *+' conftest.er1 >conftest.err
23478 rm -f conftest.er1
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try='test -s conftest.$ac_objext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23494
23495 wx_cv_lib_glibc21=yes
23496
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501
23502 wx_cv_lib_glibc21=no
23503
23504
23505 fi
23506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23507
23508 fi
23509 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23510 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23511 if test "$wx_cv_lib_glibc21" = "yes"; then
23512 cat >>confdefs.h <<\_ACEOF
23513 #define wxHAVE_GLIBC2 1
23514 _ACEOF
23515
23516 fi
23517 fi
23518
23519 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23520 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23521 cat >>confdefs.h <<\_ACEOF
23522 #define _GNU_SOURCE 1
23523 _ACEOF
23524
23525 fi
23526 fi
23527
23528
23529
23530 if test "$wxUSE_REGEX" != "no"; then
23531 cat >>confdefs.h <<\_ACEOF
23532 #define wxUSE_REGEX 1
23533 _ACEOF
23534
23535
23536 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23537 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23538 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23539 wxUSE_REGEX=builtin
23540 fi
23541
23542 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23543 if test "${ac_cv_header_regex_h+set}" = set; then
23544 echo "$as_me:$LINENO: checking for regex.h" >&5
23545 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23546 if test "${ac_cv_header_regex_h+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 fi
23549 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23550 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23551 else
23552 # Is the header compilable?
23553 echo "$as_me:$LINENO: checking regex.h usability" >&5
23554 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23555 cat >conftest.$ac_ext <<_ACEOF
23556 /* confdefs.h. */
23557 _ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23562 #include <regex.h>
23563 _ACEOF
23564 rm -f conftest.$ac_objext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23566 (eval $ac_compile) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; } &&
23579 { ac_try='test -s conftest.$ac_objext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_header_compiler=yes
23586 else
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 ac_header_compiler=no
23591 fi
23592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23594 echo "${ECHO_T}$ac_header_compiler" >&6
23595
23596 # Is the header present?
23597 echo "$as_me:$LINENO: checking regex.h presence" >&5
23598 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #include <regex.h>
23606 _ACEOF
23607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } >/dev/null; then
23615 if test -s conftest.err; then
23616 ac_cpp_err=$ac_c_preproc_warn_flag
23617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23618 else
23619 ac_cpp_err=
23620 fi
23621 else
23622 ac_cpp_err=yes
23623 fi
23624 if test -z "$ac_cpp_err"; then
23625 ac_header_preproc=yes
23626 else
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.$ac_ext >&5
23629
23630 ac_header_preproc=no
23631 fi
23632 rm -f conftest.err conftest.$ac_ext
23633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23634 echo "${ECHO_T}$ac_header_preproc" >&6
23635
23636 # So? What about this header?
23637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23638 yes:no: )
23639 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23640 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23641 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23642 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23643 ac_header_preproc=yes
23644 ;;
23645 no:yes:* )
23646 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23647 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23648 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23649 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23650 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23651 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23652 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23653 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23654 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23655 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23656 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23657 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23658 (
23659 cat <<\_ASBOX
23660 ## ----------------------------------------- ##
23661 ## Report this to wx-dev@lists.wxwidgets.org ##
23662 ## ----------------------------------------- ##
23663 _ASBOX
23664 ) |
23665 sed "s/^/$as_me: WARNING: /" >&2
23666 ;;
23667 esac
23668 echo "$as_me:$LINENO: checking for regex.h" >&5
23669 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23670 if test "${ac_cv_header_regex_h+set}" = set; then
23671 echo $ECHO_N "(cached) $ECHO_C" >&6
23672 else
23673 ac_cv_header_regex_h=$ac_header_preproc
23674 fi
23675 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23676 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23677
23678 fi
23679 if test $ac_cv_header_regex_h = yes; then
23680
23681 for ac_func in regcomp
23682 do
23683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23684 echo "$as_me:$LINENO: checking for $ac_func" >&5
23685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23686 if eval "test \"\${$as_ac_var+set}\" = set"; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 else
23689 cat >conftest.$ac_ext <<_ACEOF
23690 /* confdefs.h. */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23697 #define $ac_func innocuous_$ac_func
23698
23699 /* System header to define __stub macros and hopefully few prototypes,
23700 which can conflict with char $ac_func (); below.
23701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23702 <limits.h> exists even on freestanding compilers. */
23703
23704 #ifdef __STDC__
23705 # include <limits.h>
23706 #else
23707 # include <assert.h>
23708 #endif
23709
23710 #undef $ac_func
23711
23712 /* Override any gcc2 internal prototype to avoid an error. */
23713 #ifdef __cplusplus
23714 extern "C"
23715 {
23716 #endif
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23719 char $ac_func ();
23720 /* The GNU C library defines this for functions which it implements
23721 to always fail with ENOSYS. Some functions are actually named
23722 something starting with __ and the normal name is an alias. */
23723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23724 choke me
23725 #else
23726 char (*f) () = $ac_func;
23727 #endif
23728 #ifdef __cplusplus
23729 }
23730 #endif
23731
23732 int
23733 main ()
23734 {
23735 return f != $ac_func;
23736 ;
23737 return 0;
23738 }
23739 _ACEOF
23740 rm -f conftest.$ac_objext conftest$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>conftest.er1
23743 ac_status=$?
23744 grep -v '^ *+' conftest.er1 >conftest.err
23745 rm -f conftest.er1
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23752 ac_status=$?
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; } &&
23755 { ac_try='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 eval "$as_ac_var=yes"
23762 else
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.$ac_ext >&5
23765
23766 eval "$as_ac_var=no"
23767 fi
23768 rm -f conftest.err conftest.$ac_objext \
23769 conftest$ac_exeext conftest.$ac_ext
23770 fi
23771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23773 if test `eval echo '${'$as_ac_var'}'` = yes; then
23774 cat >>confdefs.h <<_ACEOF
23775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23776 _ACEOF
23777
23778 fi
23779 done
23780
23781 fi
23782
23783
23784
23785 if test "x$ac_cv_func_regcomp" != "xyes"; then
23786 if test "$wxUSE_REGEX" = "sys" ; then
23787 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23788 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23789 { (exit 1); exit 1; }; }
23790 else
23791 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23792 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23793 wxUSE_REGEX=builtin
23794 fi
23795 else
23796 wxUSE_REGEX=sys
23797 cat >>confdefs.h <<\_ACEOF
23798 #define WX_NO_REGEX_ADVANCED 1
23799 _ACEOF
23800
23801 fi
23802 fi
23803 fi
23804
23805
23806 ZLIB_LINK=
23807 if test "$wxUSE_ZLIB" != "no" ; then
23808 cat >>confdefs.h <<\_ACEOF
23809 #define wxUSE_ZLIB 1
23810 _ACEOF
23811
23812
23813 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23814 if test "$USE_DARWIN" = 1; then
23815 system_zlib_h_ok="yes"
23816 else
23817 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23818 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23819 if test "${ac_cv_header_zlib_h+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 else
23822 if test "$cross_compiling" = yes; then
23823 unset ac_cv_header_zlib_h
23824
23825 else
23826 cat >conftest.$ac_ext <<_ACEOF
23827 /* confdefs.h. */
23828 _ACEOF
23829 cat confdefs.h >>conftest.$ac_ext
23830 cat >>conftest.$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23832
23833 #include <zlib.h>
23834 #include <stdio.h>
23835
23836 int main()
23837 {
23838 FILE *f=fopen("conftestval", "w");
23839 if (!f) exit(1);
23840 fprintf(f, "%s",
23841 ZLIB_VERSION[0] == '1' &&
23842 (ZLIB_VERSION[2] > '1' ||
23843 (ZLIB_VERSION[2] == '1' &&
23844 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23845 exit(0);
23846 }
23847
23848 _ACEOF
23849 rm -f conftest$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; }; then
23860 ac_cv_header_zlib_h=`cat conftestval`
23861 else
23862 echo "$as_me: program exited with status $ac_status" >&5
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23865
23866 ( exit $ac_status )
23867 ac_cv_header_zlib_h=no
23868 fi
23869 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23870 fi
23871
23872 fi
23873 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23874 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23875 if test "${ac_cv_header_zlib_h+set}" = set; then
23876 echo "$as_me:$LINENO: checking for zlib.h" >&5
23877 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23878 if test "${ac_cv_header_zlib_h+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23880 fi
23881 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23882 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23883 else
23884 # Is the header compilable?
23885 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23886 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23887 cat >conftest.$ac_ext <<_ACEOF
23888 /* confdefs.h. */
23889 _ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 $ac_includes_default
23894 #include <zlib.h>
23895 _ACEOF
23896 rm -f conftest.$ac_objext
23897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23898 (eval $ac_compile) 2>conftest.er1
23899 ac_status=$?
23900 grep -v '^ *+' conftest.er1 >conftest.err
23901 rm -f conftest.er1
23902 cat conftest.err >&5
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); } &&
23905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try='test -s conftest.$ac_objext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23914 ac_status=$?
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 ac_header_compiler=yes
23918 else
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23921
23922 ac_header_compiler=no
23923 fi
23924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23926 echo "${ECHO_T}$ac_header_compiler" >&6
23927
23928 # Is the header present?
23929 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23930 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23931 cat >conftest.$ac_ext <<_ACEOF
23932 /* confdefs.h. */
23933 _ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23937 #include <zlib.h>
23938 _ACEOF
23939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23941 ac_status=$?
23942 grep -v '^ *+' conftest.er1 >conftest.err
23943 rm -f conftest.er1
23944 cat conftest.err >&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } >/dev/null; then
23947 if test -s conftest.err; then
23948 ac_cpp_err=$ac_c_preproc_warn_flag
23949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23950 else
23951 ac_cpp_err=
23952 fi
23953 else
23954 ac_cpp_err=yes
23955 fi
23956 if test -z "$ac_cpp_err"; then
23957 ac_header_preproc=yes
23958 else
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.$ac_ext >&5
23961
23962 ac_header_preproc=no
23963 fi
23964 rm -f conftest.err conftest.$ac_ext
23965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23966 echo "${ECHO_T}$ac_header_preproc" >&6
23967
23968 # So? What about this header?
23969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23970 yes:no: )
23971 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23972 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23973 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23974 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23975 ac_header_preproc=yes
23976 ;;
23977 no:yes:* )
23978 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23979 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23981 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23983 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23985 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23987 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23989 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23990 (
23991 cat <<\_ASBOX
23992 ## ----------------------------------------- ##
23993 ## Report this to wx-dev@lists.wxwidgets.org ##
23994 ## ----------------------------------------- ##
23995 _ASBOX
23996 ) |
23997 sed "s/^/$as_me: WARNING: /" >&2
23998 ;;
23999 esac
24000 echo "$as_me:$LINENO: checking for zlib.h" >&5
24001 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24002 if test "${ac_cv_header_zlib_h+set}" = set; then
24003 echo $ECHO_N "(cached) $ECHO_C" >&6
24004 else
24005 ac_cv_header_zlib_h=$ac_header_preproc
24006 fi
24007 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24008 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24009
24010 fi
24011
24012
24013
24014 system_zlib_h_ok=$ac_cv_header_zlib_h
24015 fi
24016
24017 if test "$system_zlib_h_ok" = "yes"; then
24018 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24019 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24020 if test "${ac_cv_lib_z_deflate+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 else
24023 ac_check_lib_save_LIBS=$LIBS
24024 LIBS="-lz $LIBS"
24025 cat >conftest.$ac_ext <<_ACEOF
24026 /* confdefs.h. */
24027 _ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031
24032 /* Override any gcc2 internal prototype to avoid an error. */
24033 #ifdef __cplusplus
24034 extern "C"
24035 #endif
24036 /* We use char because int might match the return type of a gcc2
24037 builtin and then its argument prototype would still apply. */
24038 char deflate ();
24039 int
24040 main ()
24041 {
24042 deflate ();
24043 ;
24044 return 0;
24045 }
24046 _ACEOF
24047 rm -f conftest.$ac_objext conftest$ac_exeext
24048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24049 (eval $ac_link) 2>conftest.er1
24050 ac_status=$?
24051 grep -v '^ *+' conftest.er1 >conftest.err
24052 rm -f conftest.er1
24053 cat conftest.err >&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } &&
24056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; } &&
24062 { ac_try='test -s conftest$ac_exeext'
24063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064 (eval $ac_try) 2>&5
24065 ac_status=$?
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24068 ac_cv_lib_z_deflate=yes
24069 else
24070 echo "$as_me: failed program was:" >&5
24071 sed 's/^/| /' conftest.$ac_ext >&5
24072
24073 ac_cv_lib_z_deflate=no
24074 fi
24075 rm -f conftest.err conftest.$ac_objext \
24076 conftest$ac_exeext conftest.$ac_ext
24077 LIBS=$ac_check_lib_save_LIBS
24078 fi
24079 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24080 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24081 if test $ac_cv_lib_z_deflate = yes; then
24082 ZLIB_LINK=" -lz"
24083 fi
24084
24085 fi
24086
24087 if test "x$ZLIB_LINK" = "x" ; then
24088 if test "$wxUSE_ZLIB" = "sys" ; then
24089 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24090 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24091 { (exit 1); exit 1; }; }
24092 else
24093 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24094 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24095 wxUSE_ZLIB=builtin
24096 fi
24097 else
24098 wxUSE_ZLIB=sys
24099 fi
24100 fi
24101 fi
24102
24103
24104 PNG_LINK=
24105 if test "$wxUSE_LIBPNG" != "no" ; then
24106 cat >>confdefs.h <<\_ACEOF
24107 #define wxUSE_LIBPNG 1
24108 _ACEOF
24109
24110
24111 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24112 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24113 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24114 wxUSE_LIBPNG=sys
24115 fi
24116
24117 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24118 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24119 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24120 wxUSE_LIBPNG=builtin
24121 fi
24122
24123 if test "$wxUSE_MGL" != 1 ; then
24124 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24125 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24126 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24127 if test "${ac_cv_header_png_h+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24129 else
24130 if test "$cross_compiling" = yes; then
24131 unset ac_cv_header_png_h
24132
24133 else
24134 cat >conftest.$ac_ext <<_ACEOF
24135 /* confdefs.h. */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140
24141 #include <png.h>
24142 #include <stdio.h>
24143
24144 int main()
24145 {
24146 FILE *f=fopen("conftestval", "w");
24147 if (!f) exit(1);
24148 fprintf(f, "%s",
24149 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24150 exit(0);
24151 }
24152
24153 _ACEOF
24154 rm -f conftest$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156 (eval $ac_link) 2>&5
24157 ac_status=$?
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24162 ac_status=$?
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; }; then
24165 ac_cv_header_png_h=`cat conftestval`
24166 else
24167 echo "$as_me: program exited with status $ac_status" >&5
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.$ac_ext >&5
24170
24171 ( exit $ac_status )
24172 ac_cv_header_png_h=no
24173 fi
24174 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24175 fi
24176
24177 fi
24178 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24179 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24180 if test "${ac_cv_header_png_h+set}" = set; then
24181 echo "$as_me:$LINENO: checking for png.h" >&5
24182 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24183 if test "${ac_cv_header_png_h+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24185 fi
24186 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24187 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24188 else
24189 # Is the header compilable?
24190 echo "$as_me:$LINENO: checking png.h usability" >&5
24191 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24192 cat >conftest.$ac_ext <<_ACEOF
24193 /* confdefs.h. */
24194 _ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198 $ac_includes_default
24199 #include <png.h>
24200 _ACEOF
24201 rm -f conftest.$ac_objext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24203 (eval $ac_compile) 2>conftest.er1
24204 ac_status=$?
24205 grep -v '^ *+' conftest.er1 >conftest.err
24206 rm -f conftest.er1
24207 cat conftest.err >&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); } &&
24210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24213 ac_status=$?
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; } &&
24216 { ac_try='test -s conftest.$ac_objext'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24219 ac_status=$?
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; }; then
24222 ac_header_compiler=yes
24223 else
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227 ac_header_compiler=no
24228 fi
24229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24231 echo "${ECHO_T}$ac_header_compiler" >&6
24232
24233 # Is the header present?
24234 echo "$as_me:$LINENO: checking png.h presence" >&5
24235 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 #include <png.h>
24243 _ACEOF
24244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24246 ac_status=$?
24247 grep -v '^ *+' conftest.er1 >conftest.err
24248 rm -f conftest.er1
24249 cat conftest.err >&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } >/dev/null; then
24252 if test -s conftest.err; then
24253 ac_cpp_err=$ac_c_preproc_warn_flag
24254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24255 else
24256 ac_cpp_err=
24257 fi
24258 else
24259 ac_cpp_err=yes
24260 fi
24261 if test -z "$ac_cpp_err"; then
24262 ac_header_preproc=yes
24263 else
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.$ac_ext >&5
24266
24267 ac_header_preproc=no
24268 fi
24269 rm -f conftest.err conftest.$ac_ext
24270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24271 echo "${ECHO_T}$ac_header_preproc" >&6
24272
24273 # So? What about this header?
24274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24275 yes:no: )
24276 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24277 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24278 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24279 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24280 ac_header_preproc=yes
24281 ;;
24282 no:yes:* )
24283 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24284 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24285 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24286 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24287 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24288 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24289 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24290 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24291 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24292 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24293 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24294 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24295 (
24296 cat <<\_ASBOX
24297 ## ----------------------------------------- ##
24298 ## Report this to wx-dev@lists.wxwidgets.org ##
24299 ## ----------------------------------------- ##
24300 _ASBOX
24301 ) |
24302 sed "s/^/$as_me: WARNING: /" >&2
24303 ;;
24304 esac
24305 echo "$as_me:$LINENO: checking for png.h" >&5
24306 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24307 if test "${ac_cv_header_png_h+set}" = set; then
24308 echo $ECHO_N "(cached) $ECHO_C" >&6
24309 else
24310 ac_cv_header_png_h=$ac_header_preproc
24311 fi
24312 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24313 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24314
24315 fi
24316
24317
24318
24319 if test "$ac_cv_header_png_h" = "yes"; then
24320 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24321 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24322 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325 ac_check_lib_save_LIBS=$LIBS
24326 LIBS="-lpng -lz -lm $LIBS"
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333
24334 /* Override any gcc2 internal prototype to avoid an error. */
24335 #ifdef __cplusplus
24336 extern "C"
24337 #endif
24338 /* We use char because int might match the return type of a gcc2
24339 builtin and then its argument prototype would still apply. */
24340 char png_check_sig ();
24341 int
24342 main ()
24343 {
24344 png_check_sig ();
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext conftest$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24352 ac_status=$?
24353 grep -v '^ *+' conftest.er1 >conftest.err
24354 rm -f conftest.er1
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24361 ac_status=$?
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try='test -s conftest$ac_exeext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 ac_cv_lib_png_png_check_sig=yes
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 ac_cv_lib_png_png_check_sig=no
24376 fi
24377 rm -f conftest.err conftest.$ac_objext \
24378 conftest$ac_exeext conftest.$ac_ext
24379 LIBS=$ac_check_lib_save_LIBS
24380 fi
24381 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24382 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24383 if test $ac_cv_lib_png_png_check_sig = yes; then
24384 PNG_LINK=" -lpng -lz"
24385 fi
24386
24387 fi
24388
24389 if test "x$PNG_LINK" = "x" ; then
24390 if test "$wxUSE_LIBPNG" = "sys" ; then
24391 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24392 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24393 { (exit 1); exit 1; }; }
24394 else
24395 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24396 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24397 wxUSE_LIBPNG=builtin
24398 fi
24399 else
24400 wxUSE_LIBPNG=sys
24401 fi
24402 fi
24403 fi
24404
24405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24406 fi
24407
24408
24409 JPEG_LINK=
24410 if test "$wxUSE_LIBJPEG" != "no" ; then
24411 cat >>confdefs.h <<\_ACEOF
24412 #define wxUSE_LIBJPEG 1
24413 _ACEOF
24414
24415
24416 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24417 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24418 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24419 wxUSE_LIBJPEG=sys
24420 fi
24421
24422 if test "$wxUSE_MGL" != 1 ; then
24423 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24424 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24425 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24426 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 else
24429 cat >conftest.$ac_ext <<_ACEOF
24430 /* confdefs.h. */
24431 _ACEOF
24432 cat confdefs.h >>conftest.$ac_ext
24433 cat >>conftest.$ac_ext <<_ACEOF
24434 /* end confdefs.h. */
24435
24436 #undef HAVE_STDLIB_H
24437 #include <stdio.h>
24438 #include <jpeglib.h>
24439
24440 int
24441 main ()
24442 {
24443
24444
24445 ;
24446 return 0;
24447 }
24448 _ACEOF
24449 rm -f conftest.$ac_objext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24451 (eval $ac_compile) 2>conftest.er1
24452 ac_status=$?
24453 grep -v '^ *+' conftest.er1 >conftest.err
24454 rm -f conftest.er1
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } &&
24458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try='test -s conftest.$ac_objext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_cv_header_jpeglib_h=yes
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ac_cv_header_jpeglib_h=no
24476
24477 fi
24478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24479
24480 fi
24481
24482 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24483 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24484
24485 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24486 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24487 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24488 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24489 echo $ECHO_N "(cached) $ECHO_C" >&6
24490 else
24491 ac_check_lib_save_LIBS=$LIBS
24492 LIBS="-ljpeg $LIBS"
24493 cat >conftest.$ac_ext <<_ACEOF
24494 /* confdefs.h. */
24495 _ACEOF
24496 cat confdefs.h >>conftest.$ac_ext
24497 cat >>conftest.$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24499
24500 /* Override any gcc2 internal prototype to avoid an error. */
24501 #ifdef __cplusplus
24502 extern "C"
24503 #endif
24504 /* We use char because int might match the return type of a gcc2
24505 builtin and then its argument prototype would still apply. */
24506 char jpeg_read_header ();
24507 int
24508 main ()
24509 {
24510 jpeg_read_header ();
24511 ;
24512 return 0;
24513 }
24514 _ACEOF
24515 rm -f conftest.$ac_objext conftest$ac_exeext
24516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24517 (eval $ac_link) 2>conftest.er1
24518 ac_status=$?
24519 grep -v '^ *+' conftest.er1 >conftest.err
24520 rm -f conftest.er1
24521 cat conftest.err >&5
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } &&
24524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 ac_cv_lib_jpeg_jpeg_read_header=yes
24537 else
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.$ac_ext >&5
24540
24541 ac_cv_lib_jpeg_jpeg_read_header=no
24542 fi
24543 rm -f conftest.err conftest.$ac_objext \
24544 conftest$ac_exeext conftest.$ac_ext
24545 LIBS=$ac_check_lib_save_LIBS
24546 fi
24547 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24548 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24549 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24550 JPEG_LINK=" -ljpeg"
24551 fi
24552
24553 fi
24554
24555 if test "x$JPEG_LINK" = "x" ; then
24556 if test "$wxUSE_LIBJPEG" = "sys" ; then
24557 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24558 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24559 { (exit 1); exit 1; }; }
24560 else
24561 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24562 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24563 wxUSE_LIBJPEG=builtin
24564 fi
24565 else
24566 wxUSE_LIBJPEG=sys
24567 fi
24568 fi
24569 fi
24570 fi
24571
24572
24573 TIFF_LINK=
24574 TIFF_PREREQ_LINKS=-lm
24575 if test "$wxUSE_LIBTIFF" != "no" ; then
24576 cat >>confdefs.h <<\_ACEOF
24577 #define wxUSE_LIBTIFF 1
24578 _ACEOF
24579
24580
24581 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24582 if test "$wxUSE_LIBJPEG" = "sys"; then
24583 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24584 fi
24585 if test "$wxUSE_ZLIB" = "sys"; then
24586 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24587 fi
24588 if test "${ac_cv_header_tiffio_h+set}" = set; then
24589 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24590 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24591 if test "${ac_cv_header_tiffio_h+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 fi
24594 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24595 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24596 else
24597 # Is the header compilable?
24598 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24599 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 $ac_includes_default
24607 #include <tiffio.h>
24608 _ACEOF
24609 rm -f conftest.$ac_objext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24611 (eval $ac_compile) 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24621 ac_status=$?
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try='test -s conftest.$ac_objext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_header_compiler=yes
24631 else
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.$ac_ext >&5
24634
24635 ac_header_compiler=no
24636 fi
24637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24639 echo "${ECHO_T}$ac_header_compiler" >&6
24640
24641 # Is the header present?
24642 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24643 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24644 cat >conftest.$ac_ext <<_ACEOF
24645 /* confdefs.h. */
24646 _ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <tiffio.h>
24651 _ACEOF
24652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } >/dev/null; then
24660 if test -s conftest.err; then
24661 ac_cpp_err=$ac_c_preproc_warn_flag
24662 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24663 else
24664 ac_cpp_err=
24665 fi
24666 else
24667 ac_cpp_err=yes
24668 fi
24669 if test -z "$ac_cpp_err"; then
24670 ac_header_preproc=yes
24671 else
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.$ac_ext >&5
24674
24675 ac_header_preproc=no
24676 fi
24677 rm -f conftest.err conftest.$ac_ext
24678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24679 echo "${ECHO_T}$ac_header_preproc" >&6
24680
24681 # So? What about this header?
24682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24683 yes:no: )
24684 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24685 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24686 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24687 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24688 ac_header_preproc=yes
24689 ;;
24690 no:yes:* )
24691 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24692 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24693 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24694 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24695 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24696 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24697 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24698 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24699 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24700 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24701 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24702 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24703 (
24704 cat <<\_ASBOX
24705 ## ----------------------------------------- ##
24706 ## Report this to wx-dev@lists.wxwidgets.org ##
24707 ## ----------------------------------------- ##
24708 _ASBOX
24709 ) |
24710 sed "s/^/$as_me: WARNING: /" >&2
24711 ;;
24712 esac
24713 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24714 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24715 if test "${ac_cv_header_tiffio_h+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718 ac_cv_header_tiffio_h=$ac_header_preproc
24719 fi
24720 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24721 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24722
24723 fi
24724 if test $ac_cv_header_tiffio_h = yes; then
24725
24726 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24727 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24728 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 else
24731 ac_check_lib_save_LIBS=$LIBS
24732 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24733 cat >conftest.$ac_ext <<_ACEOF
24734 /* confdefs.h. */
24735 _ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739
24740 /* Override any gcc2 internal prototype to avoid an error. */
24741 #ifdef __cplusplus
24742 extern "C"
24743 #endif
24744 /* We use char because int might match the return type of a gcc2
24745 builtin and then its argument prototype would still apply. */
24746 char TIFFError ();
24747 int
24748 main ()
24749 {
24750 TIFFError ();
24751 ;
24752 return 0;
24753 }
24754 _ACEOF
24755 rm -f conftest.$ac_objext conftest$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757 (eval $ac_link) 2>conftest.er1
24758 ac_status=$?
24759 grep -v '^ *+' conftest.er1 >conftest.err
24760 rm -f conftest.er1
24761 cat conftest.err >&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } &&
24764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24767 ac_status=$?
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; } &&
24770 { ac_try='test -s conftest$ac_exeext'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; }; then
24776 ac_cv_lib_tiff_TIFFError=yes
24777 else
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24780
24781 ac_cv_lib_tiff_TIFFError=no
24782 fi
24783 rm -f conftest.err conftest.$ac_objext \
24784 conftest$ac_exeext conftest.$ac_ext
24785 LIBS=$ac_check_lib_save_LIBS
24786 fi
24787 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24788 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24789 if test $ac_cv_lib_tiff_TIFFError = yes; then
24790 TIFF_LINK=" -ltiff"
24791 fi
24792
24793
24794
24795 fi
24796
24797
24798
24799 if test "x$TIFF_LINK" = "x" ; then
24800 if test "$wxUSE_LIBTIFF" = "sys" ; then
24801 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24802 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24803 { (exit 1); exit 1; }; }
24804 else
24805 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24806 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24807 wxUSE_LIBTIFF=builtin
24808 fi
24809 else
24810 wxUSE_LIBTIFF=sys
24811 fi
24812 fi
24813 fi
24814
24815
24816 if test "$wxUSE_WCHAR_T" != "yes"; then
24817 if test "$wxUSE_EXPAT" != "no"; then
24818 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24819 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24820 wxUSE_EXPAT=no
24821 fi
24822 if test "$wxUSE_XML" != "no"; then
24823 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24824 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24825 wxUSE_XML=no
24826 fi
24827 fi
24828
24829 if test "$wxUSE_EXPAT" != "no"; then
24830 wxUSE_XML=yes
24831 cat >>confdefs.h <<\_ACEOF
24832 #define wxUSE_EXPAT 1
24833 _ACEOF
24834
24835 cat >>confdefs.h <<\_ACEOF
24836 #define wxUSE_XML 1
24837 _ACEOF
24838
24839
24840 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24841 if test "${ac_cv_header_expat_h+set}" = set; then
24842 echo "$as_me:$LINENO: checking for expat.h" >&5
24843 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24844 if test "${ac_cv_header_expat_h+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 fi
24847 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24848 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24849 else
24850 # Is the header compilable?
24851 echo "$as_me:$LINENO: checking expat.h usability" >&5
24852 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24853 cat >conftest.$ac_ext <<_ACEOF
24854 /* confdefs.h. */
24855 _ACEOF
24856 cat confdefs.h >>conftest.$ac_ext
24857 cat >>conftest.$ac_ext <<_ACEOF
24858 /* end confdefs.h. */
24859 $ac_includes_default
24860 #include <expat.h>
24861 _ACEOF
24862 rm -f conftest.$ac_objext
24863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24864 (eval $ac_compile) 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873 (eval $ac_try) 2>&5
24874 ac_status=$?
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); }; } &&
24877 { ac_try='test -s conftest.$ac_objext'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24880 ac_status=$?
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; }; then
24883 ac_header_compiler=yes
24884 else
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24887
24888 ac_header_compiler=no
24889 fi
24890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24892 echo "${ECHO_T}$ac_header_compiler" >&6
24893
24894 # Is the header present?
24895 echo "$as_me:$LINENO: checking expat.h presence" >&5
24896 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24897 cat >conftest.$ac_ext <<_ACEOF
24898 /* confdefs.h. */
24899 _ACEOF
24900 cat confdefs.h >>conftest.$ac_ext
24901 cat >>conftest.$ac_ext <<_ACEOF
24902 /* end confdefs.h. */
24903 #include <expat.h>
24904 _ACEOF
24905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24907 ac_status=$?
24908 grep -v '^ *+' conftest.er1 >conftest.err
24909 rm -f conftest.er1
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } >/dev/null; then
24913 if test -s conftest.err; then
24914 ac_cpp_err=$ac_c_preproc_warn_flag
24915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24916 else
24917 ac_cpp_err=
24918 fi
24919 else
24920 ac_cpp_err=yes
24921 fi
24922 if test -z "$ac_cpp_err"; then
24923 ac_header_preproc=yes
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 ac_header_preproc=no
24929 fi
24930 rm -f conftest.err conftest.$ac_ext
24931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24932 echo "${ECHO_T}$ac_header_preproc" >&6
24933
24934 # So? What about this header?
24935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24936 yes:no: )
24937 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24938 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24939 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24940 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24941 ac_header_preproc=yes
24942 ;;
24943 no:yes:* )
24944 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24945 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24946 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24947 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24948 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24949 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24950 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24951 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24952 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24953 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24954 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24955 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24956 (
24957 cat <<\_ASBOX
24958 ## ----------------------------------------- ##
24959 ## Report this to wx-dev@lists.wxwidgets.org ##
24960 ## ----------------------------------------- ##
24961 _ASBOX
24962 ) |
24963 sed "s/^/$as_me: WARNING: /" >&2
24964 ;;
24965 esac
24966 echo "$as_me:$LINENO: checking for expat.h" >&5
24967 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24968 if test "${ac_cv_header_expat_h+set}" = set; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 else
24971 ac_cv_header_expat_h=$ac_header_preproc
24972 fi
24973 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24974 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24975
24976 fi
24977 if test $ac_cv_header_expat_h = yes; then
24978 found_expat_h=1
24979 fi
24980
24981
24982 if test "x$found_expat_h" = "x1"; then
24983 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24984 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24985 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 else
24988
24989
24990
24991 ac_ext=cc
24992 ac_cpp='$CXXCPP $CPPFLAGS'
24993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24996
24997 cat >conftest.$ac_ext <<_ACEOF
24998 /* confdefs.h. */
24999 _ACEOF
25000 cat confdefs.h >>conftest.$ac_ext
25001 cat >>conftest.$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25003 #include <expat.h>
25004 int
25005 main ()
25006 {
25007
25008 ;
25009 return 0;
25010 }
25011 _ACEOF
25012 rm -f conftest.$ac_objext
25013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25014 (eval $ac_compile) 2>conftest.er1
25015 ac_status=$?
25016 grep -v '^ *+' conftest.er1 >conftest.err
25017 rm -f conftest.er1
25018 cat conftest.err >&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); } &&
25021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; } &&
25027 { ac_try='test -s conftest.$ac_objext'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25030 ac_status=$?
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; }; then
25033 wx_cv_expat_is_not_broken=yes
25034 else
25035 echo "$as_me: failed program was:" >&5
25036 sed 's/^/| /' conftest.$ac_ext >&5
25037
25038 wx_cv_expat_is_not_broken=no
25039
25040 fi
25041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25042 ac_ext=c
25043 ac_cpp='$CPP $CPPFLAGS'
25044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047
25048
25049
25050 fi
25051 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25052 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25053 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25054 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25055 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25056 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 else
25059 ac_check_lib_save_LIBS=$LIBS
25060 LIBS="-lexpat $LIBS"
25061 cat >conftest.$ac_ext <<_ACEOF
25062 /* confdefs.h. */
25063 _ACEOF
25064 cat confdefs.h >>conftest.$ac_ext
25065 cat >>conftest.$ac_ext <<_ACEOF
25066 /* end confdefs.h. */
25067
25068 /* Override any gcc2 internal prototype to avoid an error. */
25069 #ifdef __cplusplus
25070 extern "C"
25071 #endif
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25074 char XML_ParserCreate ();
25075 int
25076 main ()
25077 {
25078 XML_ParserCreate ();
25079 ;
25080 return 0;
25081 }
25082 _ACEOF
25083 rm -f conftest.$ac_objext conftest$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 2>conftest.er1
25086 ac_status=$?
25087 grep -v '^ *+' conftest.er1 >conftest.err
25088 rm -f conftest.er1
25089 cat conftest.err >&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } &&
25092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25094 (eval $ac_try) 2>&5
25095 ac_status=$?
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; } &&
25098 { ac_try='test -s conftest$ac_exeext'
25099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25100 (eval $ac_try) 2>&5
25101 ac_status=$?
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; }; then
25104 ac_cv_lib_expat_XML_ParserCreate=yes
25105 else
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25108
25109 ac_cv_lib_expat_XML_ParserCreate=no
25110 fi
25111 rm -f conftest.err conftest.$ac_objext \
25112 conftest$ac_exeext conftest.$ac_ext
25113 LIBS=$ac_check_lib_save_LIBS
25114 fi
25115 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25116 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25117 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25118 EXPAT_LINK=" -lexpat"
25119 fi
25120
25121 fi
25122 fi
25123 if test "x$EXPAT_LINK" = "x" ; then
25124 if test "$wxUSE_EXPAT" = "sys" ; then
25125 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25126 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25127 { (exit 1); exit 1; }; }
25128 else
25129 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25130 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25131 wxUSE_EXPAT=builtin
25132 fi
25133 else
25134 wxUSE_EXPAT=sys
25135 fi
25136 fi
25137 if test "$wxUSE_EXPAT" = "builtin" ; then
25138
25139
25140 subdirs="$subdirs src/expat"
25141
25142 fi
25143 fi
25144
25145
25146
25147 if test "$wxUSE_LIBMSPACK" != "no"; then
25148 if test "${ac_cv_header_mspack_h+set}" = set; then
25149 echo "$as_me:$LINENO: checking for mspack.h" >&5
25150 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25151 if test "${ac_cv_header_mspack_h+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 fi
25154 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25155 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25156 else
25157 # Is the header compilable?
25158 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25159 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 $ac_includes_default
25167 #include <mspack.h>
25168 _ACEOF
25169 rm -f conftest.$ac_objext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25171 (eval $ac_compile) 2>conftest.er1
25172 ac_status=$?
25173 grep -v '^ *+' conftest.er1 >conftest.err
25174 rm -f conftest.er1
25175 cat conftest.err >&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); } &&
25178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25181 ac_status=$?
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; } &&
25184 { ac_try='test -s conftest.$ac_objext'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25187 ac_status=$?
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; }; then
25190 ac_header_compiler=yes
25191 else
25192 echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25194
25195 ac_header_compiler=no
25196 fi
25197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25199 echo "${ECHO_T}$ac_header_compiler" >&6
25200
25201 # Is the header present?
25202 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25203 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25204 cat >conftest.$ac_ext <<_ACEOF
25205 /* confdefs.h. */
25206 _ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 #include <mspack.h>
25211 _ACEOF
25212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25214 ac_status=$?
25215 grep -v '^ *+' conftest.er1 >conftest.err
25216 rm -f conftest.er1
25217 cat conftest.err >&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } >/dev/null; then
25220 if test -s conftest.err; then
25221 ac_cpp_err=$ac_c_preproc_warn_flag
25222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25223 else
25224 ac_cpp_err=
25225 fi
25226 else
25227 ac_cpp_err=yes
25228 fi
25229 if test -z "$ac_cpp_err"; then
25230 ac_header_preproc=yes
25231 else
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.$ac_ext >&5
25234
25235 ac_header_preproc=no
25236 fi
25237 rm -f conftest.err conftest.$ac_ext
25238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25239 echo "${ECHO_T}$ac_header_preproc" >&6
25240
25241 # So? What about this header?
25242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25243 yes:no: )
25244 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25245 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25246 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25247 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25248 ac_header_preproc=yes
25249 ;;
25250 no:yes:* )
25251 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25252 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25253 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25254 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25255 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25256 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25258 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25260 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25261 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25262 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25263 (
25264 cat <<\_ASBOX
25265 ## ----------------------------------------- ##
25266 ## Report this to wx-dev@lists.wxwidgets.org ##
25267 ## ----------------------------------------- ##
25268 _ASBOX
25269 ) |
25270 sed "s/^/$as_me: WARNING: /" >&2
25271 ;;
25272 esac
25273 echo "$as_me:$LINENO: checking for mspack.h" >&5
25274 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25275 if test "${ac_cv_header_mspack_h+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278 ac_cv_header_mspack_h=$ac_header_preproc
25279 fi
25280 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25281 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25282
25283 fi
25284 if test $ac_cv_header_mspack_h = yes; then
25285 found_mspack_h=1
25286 fi
25287
25288
25289 if test "x$found_mspack_h" = "x1"; then
25290 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25291 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25292 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 else
25295 ac_check_lib_save_LIBS=$LIBS
25296 LIBS="-lmspack $LIBS"
25297 cat >conftest.$ac_ext <<_ACEOF
25298 /* confdefs.h. */
25299 _ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303
25304 /* Override any gcc2 internal prototype to avoid an error. */
25305 #ifdef __cplusplus
25306 extern "C"
25307 #endif
25308 /* We use char because int might match the return type of a gcc2
25309 builtin and then its argument prototype would still apply. */
25310 char mspack_create_chm_decompressor ();
25311 int
25312 main ()
25313 {
25314 mspack_create_chm_decompressor ();
25315 ;
25316 return 0;
25317 }
25318 _ACEOF
25319 rm -f conftest.$ac_objext conftest$ac_exeext
25320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25321 (eval $ac_link) 2>conftest.er1
25322 ac_status=$?
25323 grep -v '^ *+' conftest.er1 >conftest.err
25324 rm -f conftest.er1
25325 cat conftest.err >&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } &&
25328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25331 ac_status=$?
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25340 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25341 else
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.$ac_ext >&5
25344
25345 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25346 fi
25347 rm -f conftest.err conftest.$ac_objext \
25348 conftest$ac_exeext conftest.$ac_ext
25349 LIBS=$ac_check_lib_save_LIBS
25350 fi
25351 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25352 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25353 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25354 MSPACK_LINK=" -lmspack"
25355 fi
25356
25357 fi
25358 if test "x$MSPACK_LINK" = "x" ; then
25359 wxUSE_LIBMSPACK=no
25360 fi
25361 fi
25362
25363 if test "$wxUSE_LIBMSPACK" != "no"; then
25364 cat >>confdefs.h <<\_ACEOF
25365 #define wxUSE_LIBMSPACK 1
25366 _ACEOF
25367
25368 fi
25369
25370
25371
25372 AFMINSTALL=
25373 WIN32INSTALL=
25374
25375 TOOLKIT=
25376 TOOLKIT_INCLUDE=
25377 WIDGET_SET=
25378
25379 if test "$USE_WIN32" = 1 ; then
25380
25381 for ac_header in w32api.h
25382 do
25383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25385 echo "$as_me:$LINENO: checking for $ac_header" >&5
25386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 fi
25390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25392 else
25393 # Is the header compilable?
25394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25396 cat >conftest.$ac_ext <<_ACEOF
25397 /* confdefs.h. */
25398 _ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25402 $ac_includes_default
25403 #include <$ac_header>
25404 _ACEOF
25405 rm -f conftest.$ac_objext
25406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25407 (eval $ac_compile) 2>conftest.er1
25408 ac_status=$?
25409 grep -v '^ *+' conftest.er1 >conftest.err
25410 rm -f conftest.er1
25411 cat conftest.err >&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } &&
25414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25416 (eval $ac_try) 2>&5
25417 ac_status=$?
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); }; } &&
25420 { ac_try='test -s conftest.$ac_objext'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25423 ac_status=$?
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; }; then
25426 ac_header_compiler=yes
25427 else
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25430
25431 ac_header_compiler=no
25432 fi
25433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25435 echo "${ECHO_T}$ac_header_compiler" >&6
25436
25437 # Is the header present?
25438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25440 cat >conftest.$ac_ext <<_ACEOF
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 #include <$ac_header>
25447 _ACEOF
25448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25450 ac_status=$?
25451 grep -v '^ *+' conftest.er1 >conftest.err
25452 rm -f conftest.er1
25453 cat conftest.err >&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } >/dev/null; then
25456 if test -s conftest.err; then
25457 ac_cpp_err=$ac_c_preproc_warn_flag
25458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25459 else
25460 ac_cpp_err=
25461 fi
25462 else
25463 ac_cpp_err=yes
25464 fi
25465 if test -z "$ac_cpp_err"; then
25466 ac_header_preproc=yes
25467 else
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.$ac_ext >&5
25470
25471 ac_header_preproc=no
25472 fi
25473 rm -f conftest.err conftest.$ac_ext
25474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25475 echo "${ECHO_T}$ac_header_preproc" >&6
25476
25477 # So? What about this header?
25478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25479 yes:no: )
25480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25484 ac_header_preproc=yes
25485 ;;
25486 no:yes:* )
25487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25499 (
25500 cat <<\_ASBOX
25501 ## ----------------------------------------- ##
25502 ## Report this to wx-dev@lists.wxwidgets.org ##
25503 ## ----------------------------------------- ##
25504 _ASBOX
25505 ) |
25506 sed "s/^/$as_me: WARNING: /" >&2
25507 ;;
25508 esac
25509 echo "$as_me:$LINENO: checking for $ac_header" >&5
25510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 else
25514 eval "$as_ac_Header=\$ac_header_preproc"
25515 fi
25516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25518
25519 fi
25520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25521 cat >>confdefs.h <<_ACEOF
25522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25523 _ACEOF
25524
25525 fi
25526
25527 done
25528
25529 if test "${ac_cv_header_windows_h+set}" = set; then
25530 echo "$as_me:$LINENO: checking for windows.h" >&5
25531 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25532 if test "${ac_cv_header_windows_h+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 fi
25535 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25536 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25537 else
25538 # Is the header compilable?
25539 echo "$as_me:$LINENO: checking windows.h usability" >&5
25540 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25542 /* confdefs.h. */
25543 _ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 $ac_includes_default
25548 #include <windows.h>
25549 _ACEOF
25550 rm -f conftest.$ac_objext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25552 (eval $ac_compile) 2>conftest.er1
25553 ac_status=$?
25554 grep -v '^ *+' conftest.er1 >conftest.err
25555 rm -f conftest.er1
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 ac_header_compiler=yes
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25575
25576 ac_header_compiler=no
25577 fi
25578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25580 echo "${ECHO_T}$ac_header_compiler" >&6
25581
25582 # Is the header present?
25583 echo "$as_me:$LINENO: checking windows.h presence" >&5
25584 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25585 cat >conftest.$ac_ext <<_ACEOF
25586 /* confdefs.h. */
25587 _ACEOF
25588 cat confdefs.h >>conftest.$ac_ext
25589 cat >>conftest.$ac_ext <<_ACEOF
25590 /* end confdefs.h. */
25591 #include <windows.h>
25592 _ACEOF
25593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25595 ac_status=$?
25596 grep -v '^ *+' conftest.er1 >conftest.err
25597 rm -f conftest.er1
25598 cat conftest.err >&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } >/dev/null; then
25601 if test -s conftest.err; then
25602 ac_cpp_err=$ac_c_preproc_warn_flag
25603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25604 else
25605 ac_cpp_err=
25606 fi
25607 else
25608 ac_cpp_err=yes
25609 fi
25610 if test -z "$ac_cpp_err"; then
25611 ac_header_preproc=yes
25612 else
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25615
25616 ac_header_preproc=no
25617 fi
25618 rm -f conftest.err conftest.$ac_ext
25619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25620 echo "${ECHO_T}$ac_header_preproc" >&6
25621
25622 # So? What about this header?
25623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25624 yes:no: )
25625 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25626 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25628 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25629 ac_header_preproc=yes
25630 ;;
25631 no:yes:* )
25632 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25633 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25634 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25635 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25636 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25637 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25638 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25639 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25640 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25641 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25642 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25643 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25644 (
25645 cat <<\_ASBOX
25646 ## ----------------------------------------- ##
25647 ## Report this to wx-dev@lists.wxwidgets.org ##
25648 ## ----------------------------------------- ##
25649 _ASBOX
25650 ) |
25651 sed "s/^/$as_me: WARNING: /" >&2
25652 ;;
25653 esac
25654 echo "$as_me:$LINENO: checking for windows.h" >&5
25655 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25656 if test "${ac_cv_header_windows_h+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 else
25659 ac_cv_header_windows_h=$ac_header_preproc
25660 fi
25661 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25662 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25663
25664 fi
25665 if test $ac_cv_header_windows_h = yes; then
25666 :
25667 else
25668
25669 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25670 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25671 { (exit 1); exit 1; }; }
25672
25673 fi
25674
25675
25676
25677 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25678
25679 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25680 LIBS="$LIBS -loleacc"
25681 fi
25682
25683 case "${host}" in
25684 *-*-cygwin* )
25685 LIBS="$LIBS -lkernel32 -luser32"
25686 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
25687 esac
25688
25689 if test "$wxUSE_ODBC" = "sys" ; then
25690 wxUSE_ODBC = "yes"
25691 fi
25692 if test "$wxUSE_ODBC" = "yes" ; then
25693 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
25694 cat >>confdefs.h <<\_ACEOF
25695 #define wxUSE_ODBC 1
25696 _ACEOF
25697
25698 fi
25699
25700 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25701 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
25702
25703 WIN32INSTALL=win32install
25704 fi
25705
25706 if test "$wxUSE_GUI" = "yes"; then
25707 USE_GUI=1
25708
25709 GUI_TK_LIBRARY=
25710
25711 WXGTK12=
25712 WXGTK127=
25713 WXGTK20=
25714 WXGPE=
25715
25716 if test "$wxUSE_COCOA" = 1 ; then
25717 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25718 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25719 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25720 wxUSE_PRINTING_ARCHITECTURE=no
25721 fi
25722 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25723 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25724 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25725 wxUSE_DRAG_AND_DROP=no
25726 fi
25727 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25728 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25729 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25730 wxUSE_DRAGIMAGE=no
25731 fi
25732 fi
25733
25734 if test "$wxUSE_MSW" = 1 ; then
25735 TOOLKIT=MSW
25736 GUIDIST=MSW_DIST
25737
25738 case "${host}" in
25739 *-*-mingw32* )
25740 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25741 esac
25742 fi
25743
25744 if test "$wxUSE_GTK" = 1; then
25745 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25746 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25747
25748 gtk_version_cached=1
25749 if test "${wx_cv_lib_gtk+set}" = set; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 else
25752
25753 gtk_version_cached=0
25754 echo "$as_me:$LINENO: result: " >&5
25755 echo "${ECHO_T}" >&6
25756
25757 GTK_MODULES=
25758 if test "$wxUSE_THREADS" = "yes"; then
25759 GTK_MODULES=gthread
25760 fi
25761
25762 wx_cv_lib_gtk=
25763 if test "x$wxGTK_VERSION" != "x1"
25764 then
25765 case "${host}" in
25766 *-*-solaris2* )
25767 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25768 enable_gtktest=no
25769 fi
25770 esac
25771
25772 # Check whether --enable-gtktest or --disable-gtktest was given.
25773 if test "${enable_gtktest+set}" = set; then
25774 enableval="$enable_gtktest"
25775
25776 else
25777 enable_gtktest=yes
25778 fi;
25779
25780 pkg_config_args=gtk+-2.0
25781 for module in . $GTK_MODULES
25782 do
25783 case "$module" in
25784 gthread)
25785 pkg_config_args="$pkg_config_args gthread-2.0"
25786 ;;
25787 esac
25788 done
25789
25790 no_gtk=""
25791
25792 # Extract the first word of "pkg-config", so it can be a program name with args.
25793 set dummy pkg-config; ac_word=$2
25794 echo "$as_me:$LINENO: checking for $ac_word" >&5
25795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799 case $PKG_CONFIG in
25800 [\\/]* | ?:[\\/]*)
25801 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25802 ;;
25803 *)
25804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25805 for as_dir in $PATH
25806 do
25807 IFS=$as_save_IFS
25808 test -z "$as_dir" && as_dir=.
25809 for ac_exec_ext in '' $ac_executable_extensions; do
25810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25811 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25813 break 2
25814 fi
25815 done
25816 done
25817
25818 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25819 ;;
25820 esac
25821 fi
25822 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25823
25824 if test -n "$PKG_CONFIG"; then
25825 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25826 echo "${ECHO_T}$PKG_CONFIG" >&6
25827 else
25828 echo "$as_me:$LINENO: result: no" >&5
25829 echo "${ECHO_T}no" >&6
25830 fi
25831
25832
25833 if test x$PKG_CONFIG != xno ; then
25834 if pkg-config --atleast-pkgconfig-version 0.7 ; then
25835 :
25836 else
25837 echo "*** pkg-config too old; version 0.7 or better required."
25838 no_gtk=yes
25839 PKG_CONFIG=no
25840 fi
25841 else
25842 no_gtk=yes
25843 fi
25844
25845 min_gtk_version=2.0.0
25846 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25847 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25848
25849 if test x$PKG_CONFIG != xno ; then
25850 ## don't try to run the test against uninstalled libtool libs
25851 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25852 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25853 enable_gtktest=no
25854 fi
25855
25856 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25857 :
25858 else
25859 no_gtk=yes
25860 fi
25861 fi
25862
25863 if test x"$no_gtk" = x ; then
25864 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
25865 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
25866 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25868 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25870 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25872 if test "x$enable_gtktest" = "xyes" ; then
25873 ac_save_CFLAGS="$CFLAGS"
25874 ac_save_LIBS="$LIBS"
25875 CFLAGS="$CFLAGS $GTK_CFLAGS"
25876 LIBS="$GTK_LIBS $LIBS"
25877 rm -f conf.gtktest
25878 if test "$cross_compiling" = yes; then
25879 echo $ac_n "cross compiling; assumed OK... $ac_c"
25880 else
25881 cat >conftest.$ac_ext <<_ACEOF
25882 /* confdefs.h. */
25883 _ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887
25888 #include <gtk/gtk.h>
25889 #include <stdio.h>
25890 #include <stdlib.h>
25891
25892 int
25893 main ()
25894 {
25895 int major, minor, micro;
25896 char *tmp_version;
25897
25898 system ("touch conf.gtktest");
25899
25900 /* HP/UX 9 (%@#!) writes to sscanf strings */
25901 tmp_version = g_strdup("$min_gtk_version");
25902 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25903 printf("%s, bad version string\n", "$min_gtk_version");
25904 exit(1);
25905 }
25906
25907 if ((gtk_major_version != $gtk_config_major_version) ||
25908 (gtk_minor_version != $gtk_config_minor_version) ||
25909 (gtk_micro_version != $gtk_config_micro_version))
25910 {
25911 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25912 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25913 gtk_major_version, gtk_minor_version, gtk_micro_version);
25914 printf ("*** was found! If pkg-config was correct, then it is best\n");
25915 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25916 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25917 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25918 printf("*** required on your system.\n");
25919 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25920 printf("*** to point to the correct configuration files\n");
25921 }
25922 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25923 (gtk_minor_version != GTK_MINOR_VERSION) ||
25924 (gtk_micro_version != GTK_MICRO_VERSION))
25925 {
25926 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25927 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25928 printf("*** library (version %d.%d.%d)\n",
25929 gtk_major_version, gtk_minor_version, gtk_micro_version);
25930 }
25931 else
25932 {
25933 if ((gtk_major_version > major) ||
25934 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25935 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25936 {
25937 return 0;
25938 }
25939 else
25940 {
25941 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25942 gtk_major_version, gtk_minor_version, gtk_micro_version);
25943 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25944 major, minor, micro);
25945 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25946 printf("***\n");
25947 printf("*** If you have already installed a sufficiently new version, this error\n");
25948 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25949 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25950 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25951 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25952 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25953 printf("*** so that the correct libraries are found at run-time))\n");
25954 }
25955 }
25956 return 1;
25957 }
25958
25959 _ACEOF
25960 rm -f conftest$ac_exeext
25961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25962 (eval $ac_link) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25968 ac_status=$?
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; }; then
25971 :
25972 else
25973 echo "$as_me: program exited with status $ac_status" >&5
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 ( exit $ac_status )
25978 no_gtk=yes
25979 fi
25980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25981 fi
25982 CFLAGS="$ac_save_CFLAGS"
25983 LIBS="$ac_save_LIBS"
25984 fi
25985 fi
25986 if test "x$no_gtk" = x ; then
25987 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25988 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25989 wx_cv_lib_gtk=2.0
25990 else
25991 echo "$as_me:$LINENO: result: no" >&5
25992 echo "${ECHO_T}no" >&6
25993 if test "$PKG_CONFIG" = "no" ; then
25994 echo "*** A new enough version of pkg-config was not found."
25995 echo "*** See http://pkgconfig.sourceforge.net"
25996 else
25997 if test -f conf.gtktest ; then
25998 :
25999 else
26000 echo "*** Could not run GTK+ test program, checking why..."
26001 ac_save_CFLAGS="$CFLAGS"
26002 ac_save_LIBS="$LIBS"
26003 CFLAGS="$CFLAGS $GTK_CFLAGS"
26004 LIBS="$LIBS $GTK_LIBS"
26005 cat >conftest.$ac_ext <<_ACEOF
26006 /* confdefs.h. */
26007 _ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011
26012 #include <gtk/gtk.h>
26013 #include <stdio.h>
26014
26015 int
26016 main ()
26017 {
26018 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26019 ;
26020 return 0;
26021 }
26022 _ACEOF
26023 rm -f conftest.$ac_objext conftest$ac_exeext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26025 (eval $ac_link) 2>conftest.er1
26026 ac_status=$?
26027 grep -v '^ *+' conftest.er1 >conftest.err
26028 rm -f conftest.er1
26029 cat conftest.err >&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try='test -s conftest$ac_exeext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 echo "*** The test program compiled, but did not run. This usually means"
26045 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26046 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26047 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26048 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26049 echo "*** is required on your system"
26050 echo "***"
26051 echo "*** If you have an old version installed, it is best to remove it, although"
26052 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26053 else
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.$ac_ext >&5
26056
26057 echo "*** The test program failed to compile or link. See the file config.log for the"
26058 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26059 fi
26060 rm -f conftest.err conftest.$ac_objext \
26061 conftest$ac_exeext conftest.$ac_ext
26062 CFLAGS="$ac_save_CFLAGS"
26063 LIBS="$ac_save_LIBS"
26064 fi
26065 fi
26066 GTK_CFLAGS=""
26067 GTK_LIBS=""
26068 :
26069 fi
26070
26071
26072 rm -f conf.gtktest
26073
26074
26075 case "${host}" in
26076 *-*-solaris2* )
26077 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26078 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26079 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26080 fi
26081 if test "$wxUSE_SHARED" != "yes"; then
26082 GTK_LIBS="$GTK_LIBS -lX11"
26083 fi
26084 esac
26085 fi
26086
26087 if test -z "$wx_cv_lib_gtk"; then
26088 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26089
26090 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26091 if test "${with_gtk_prefix+set}" = set; then
26092 withval="$with_gtk_prefix"
26093 gtk_config_prefix="$withval"
26094 else
26095 gtk_config_prefix=""
26096 fi;
26097
26098 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26099 if test "${with_gtk_exec_prefix+set}" = set; then
26100 withval="$with_gtk_exec_prefix"
26101 gtk_config_exec_prefix="$withval"
26102 else
26103 gtk_config_exec_prefix=""
26104 fi;
26105 # Check whether --enable-gtktest or --disable-gtktest was given.
26106 if test "${enable_gtktest+set}" = set; then
26107 enableval="$enable_gtktest"
26108
26109 else
26110 enable_gtktest=yes
26111 fi;
26112
26113 for module in . $GTK_MODULES
26114 do
26115 case "$module" in
26116 gthread)
26117 gtk_config_args="$gtk_config_args gthread"
26118 ;;
26119 esac
26120 done
26121
26122 if test x$gtk_config_exec_prefix != x ; then
26123 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26124 if test x${GTK_CONFIG+set} != xset ; then
26125 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26126 fi
26127 fi
26128 if test x$gtk_config_prefix != x ; then
26129 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26130 if test x${GTK_CONFIG+set} != xset ; then
26131 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26132 fi
26133 fi
26134
26135 # Extract the first word of "gtk-config", so it can be a program name with args.
26136 set dummy gtk-config; ac_word=$2
26137 echo "$as_me:$LINENO: checking for $ac_word" >&5
26138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26139 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 else
26142 case $GTK_CONFIG in
26143 [\\/]* | ?:[\\/]*)
26144 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26145 ;;
26146 *)
26147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26148 for as_dir in $PATH
26149 do
26150 IFS=$as_save_IFS
26151 test -z "$as_dir" && as_dir=.
26152 for ac_exec_ext in '' $ac_executable_extensions; do
26153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26154 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26156 break 2
26157 fi
26158 done
26159 done
26160
26161 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26162 ;;
26163 esac
26164 fi
26165 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26166
26167 if test -n "$GTK_CONFIG"; then
26168 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26169 echo "${ECHO_T}$GTK_CONFIG" >&6
26170 else
26171 echo "$as_me:$LINENO: result: no" >&5
26172 echo "${ECHO_T}no" >&6
26173 fi
26174
26175 min_gtk_version=1.2.7
26176 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26177 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26178 no_gtk=""
26179 if test "$GTK_CONFIG" = "no" ; then
26180 no_gtk=yes
26181 else
26182 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26183 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26184 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26186 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26188 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26190 if test "x$enable_gtktest" = "xyes" ; then
26191 ac_save_CFLAGS="$CFLAGS"
26192 ac_save_LIBS="$LIBS"
26193 CFLAGS="$CFLAGS $GTK_CFLAGS"
26194 LIBS="$GTK_LIBS $LIBS"
26195 rm -f conf.gtktest
26196 if test "$cross_compiling" = yes; then
26197 echo $ac_n "cross compiling; assumed OK... $ac_c"
26198 else
26199 cat >conftest.$ac_ext <<_ACEOF
26200 /* confdefs.h. */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205
26206 #include <gtk/gtk.h>
26207 #include <stdio.h>
26208 #include <stdlib.h>
26209
26210 int
26211 main ()
26212 {
26213 int major, minor, micro;
26214 char *tmp_version;
26215
26216 system ("touch conf.gtktest");
26217
26218 /* HP/UX 9 (%@#!) writes to sscanf strings */
26219 tmp_version = g_strdup("$min_gtk_version");
26220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26221 printf("%s, bad version string\n", "$min_gtk_version");
26222 exit(1);
26223 }
26224
26225 if ((gtk_major_version != $gtk_config_major_version) ||
26226 (gtk_minor_version != $gtk_config_minor_version) ||
26227 (gtk_micro_version != $gtk_config_micro_version))
26228 {
26229 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26230 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26231 gtk_major_version, gtk_minor_version, gtk_micro_version);
26232 printf ("*** was found! If gtk-config was correct, then it is best\n");
26233 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26234 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26235 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26236 printf("*** required on your system.\n");
26237 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26238 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26239 printf("*** before re-running configure\n");
26240 }
26241 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26242 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26243 (gtk_minor_version != GTK_MINOR_VERSION) ||
26244 (gtk_micro_version != GTK_MICRO_VERSION))
26245 {
26246 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26247 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26248 printf("*** library (version %d.%d.%d)\n",
26249 gtk_major_version, gtk_minor_version, gtk_micro_version);
26250 }
26251 #endif /* defined (GTK_MAJOR_VERSION) ... */
26252 else
26253 {
26254 if ((gtk_major_version > major) ||
26255 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26256 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26257 {
26258 return 0;
26259 }
26260 else
26261 {
26262 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26263 gtk_major_version, gtk_minor_version, gtk_micro_version);
26264 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26265 major, minor, micro);
26266 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26267 printf("***\n");
26268 printf("*** If you have already installed a sufficiently new version, this error\n");
26269 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26270 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26271 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26272 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26273 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26274 printf("*** so that the correct libraries are found at run-time))\n");
26275 }
26276 }
26277 return 1;
26278 }
26279
26280 _ACEOF
26281 rm -f conftest$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>&5
26284 ac_status=$?
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 :
26293 else
26294 echo "$as_me: program exited with status $ac_status" >&5
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.$ac_ext >&5
26297
26298 ( exit $ac_status )
26299 no_gtk=yes
26300 fi
26301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26302 fi
26303 CFLAGS="$ac_save_CFLAGS"
26304 LIBS="$ac_save_LIBS"
26305 fi
26306 fi
26307 if test "x$no_gtk" = x ; then
26308 echo "$as_me:$LINENO: result: yes" >&5
26309 echo "${ECHO_T}yes" >&6
26310 wx_cv_lib_gtk=1.2.7
26311 else
26312 echo "$as_me:$LINENO: result: no" >&5
26313 echo "${ECHO_T}no" >&6
26314 if test "$GTK_CONFIG" = "no" ; then
26315 echo "*** The gtk-config script installed by GTK could not be found"
26316 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26317 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26318 echo "*** full path to gtk-config."
26319 else
26320 if test -f conf.gtktest ; then
26321 :
26322 else
26323 echo "*** Could not run GTK test program, checking why..."
26324 CFLAGS="$CFLAGS $GTK_CFLAGS"
26325 LIBS="$LIBS $GTK_LIBS"
26326 cat >conftest.$ac_ext <<_ACEOF
26327 /* confdefs.h. */
26328 _ACEOF
26329 cat confdefs.h >>conftest.$ac_ext
26330 cat >>conftest.$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26332
26333 #include <gtk/gtk.h>
26334 #include <stdio.h>
26335
26336 int
26337 main ()
26338 {
26339 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26340 ;
26341 return 0;
26342 }
26343 _ACEOF
26344 rm -f conftest.$ac_objext conftest$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>conftest.er1
26347 ac_status=$?
26348 grep -v '^ *+' conftest.er1 >conftest.err
26349 rm -f conftest.er1
26350 cat conftest.err >&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26356 ac_status=$?
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; } &&
26359 { ac_try='test -s conftest$ac_exeext'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; }; then
26365 echo "*** The test program compiled, but did not run. This usually means"
26366 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26367 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26370 echo "*** is required on your system"
26371 echo "***"
26372 echo "*** If you have an old version installed, it is best to remove it, although"
26373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26374 echo "***"
26375 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26376 echo "*** came with the system with the command"
26377 echo "***"
26378 echo "*** rpm --erase --nodeps gtk gtk-devel"
26379 else
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26382
26383 echo "*** The test program failed to compile or link. See the file config.log for the"
26384 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26385 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26386 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26387 fi
26388 rm -f conftest.err conftest.$ac_objext \
26389 conftest$ac_exeext conftest.$ac_ext
26390 CFLAGS="$ac_save_CFLAGS"
26391 LIBS="$ac_save_LIBS"
26392 fi
26393 fi
26394 GTK_CFLAGS=""
26395 GTK_LIBS=""
26396 :
26397 fi
26398
26399
26400 rm -f conf.gtktest
26401
26402
26403 if test -z "$wx_cv_lib_gtk"; then
26404
26405 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26406 if test "${with_gtk_prefix+set}" = set; then
26407 withval="$with_gtk_prefix"
26408 gtk_config_prefix="$withval"
26409 else
26410 gtk_config_prefix=""
26411 fi;
26412
26413 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26414 if test "${with_gtk_exec_prefix+set}" = set; then
26415 withval="$with_gtk_exec_prefix"
26416 gtk_config_exec_prefix="$withval"
26417 else
26418 gtk_config_exec_prefix=""
26419 fi;
26420 # Check whether --enable-gtktest or --disable-gtktest was given.
26421 if test "${enable_gtktest+set}" = set; then
26422 enableval="$enable_gtktest"
26423
26424 else
26425 enable_gtktest=yes
26426 fi;
26427
26428 for module in . $GTK_MODULES
26429 do
26430 case "$module" in
26431 gthread)
26432 gtk_config_args="$gtk_config_args gthread"
26433 ;;
26434 esac
26435 done
26436
26437 if test x$gtk_config_exec_prefix != x ; then
26438 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26439 if test x${GTK_CONFIG+set} != xset ; then
26440 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26441 fi
26442 fi
26443 if test x$gtk_config_prefix != x ; then
26444 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26445 if test x${GTK_CONFIG+set} != xset ; then
26446 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26447 fi
26448 fi
26449
26450 # Extract the first word of "gtk-config", so it can be a program name with args.
26451 set dummy gtk-config; ac_word=$2
26452 echo "$as_me:$LINENO: checking for $ac_word" >&5
26453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26454 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 else
26457 case $GTK_CONFIG in
26458 [\\/]* | ?:[\\/]*)
26459 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26460 ;;
26461 *)
26462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26463 for as_dir in $PATH
26464 do
26465 IFS=$as_save_IFS
26466 test -z "$as_dir" && as_dir=.
26467 for ac_exec_ext in '' $ac_executable_extensions; do
26468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26469 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26471 break 2
26472 fi
26473 done
26474 done
26475
26476 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26477 ;;
26478 esac
26479 fi
26480 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26481
26482 if test -n "$GTK_CONFIG"; then
26483 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26484 echo "${ECHO_T}$GTK_CONFIG" >&6
26485 else
26486 echo "$as_me:$LINENO: result: no" >&5
26487 echo "${ECHO_T}no" >&6
26488 fi
26489
26490 min_gtk_version=1.2.3
26491 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26492 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26493 no_gtk=""
26494 if test "$GTK_CONFIG" = "no" ; then
26495 no_gtk=yes
26496 else
26497 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26498 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26499 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26501 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26503 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26505 if test "x$enable_gtktest" = "xyes" ; then
26506 ac_save_CFLAGS="$CFLAGS"
26507 ac_save_LIBS="$LIBS"
26508 CFLAGS="$CFLAGS $GTK_CFLAGS"
26509 LIBS="$GTK_LIBS $LIBS"
26510 rm -f conf.gtktest
26511 if test "$cross_compiling" = yes; then
26512 echo $ac_n "cross compiling; assumed OK... $ac_c"
26513 else
26514 cat >conftest.$ac_ext <<_ACEOF
26515 /* confdefs.h. */
26516 _ACEOF
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26520
26521 #include <gtk/gtk.h>
26522 #include <stdio.h>
26523 #include <stdlib.h>
26524
26525 int
26526 main ()
26527 {
26528 int major, minor, micro;
26529 char *tmp_version;
26530
26531 system ("touch conf.gtktest");
26532
26533 /* HP/UX 9 (%@#!) writes to sscanf strings */
26534 tmp_version = g_strdup("$min_gtk_version");
26535 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26536 printf("%s, bad version string\n", "$min_gtk_version");
26537 exit(1);
26538 }
26539
26540 if ((gtk_major_version != $gtk_config_major_version) ||
26541 (gtk_minor_version != $gtk_config_minor_version) ||
26542 (gtk_micro_version != $gtk_config_micro_version))
26543 {
26544 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26545 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26546 gtk_major_version, gtk_minor_version, gtk_micro_version);
26547 printf ("*** was found! If gtk-config was correct, then it is best\n");
26548 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26549 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26550 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26551 printf("*** required on your system.\n");
26552 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26553 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26554 printf("*** before re-running configure\n");
26555 }
26556 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26557 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26558 (gtk_minor_version != GTK_MINOR_VERSION) ||
26559 (gtk_micro_version != GTK_MICRO_VERSION))
26560 {
26561 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26562 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26563 printf("*** library (version %d.%d.%d)\n",
26564 gtk_major_version, gtk_minor_version, gtk_micro_version);
26565 }
26566 #endif /* defined (GTK_MAJOR_VERSION) ... */
26567 else
26568 {
26569 if ((gtk_major_version > major) ||
26570 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26571 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26572 {
26573 return 0;
26574 }
26575 else
26576 {
26577 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26578 gtk_major_version, gtk_minor_version, gtk_micro_version);
26579 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26580 major, minor, micro);
26581 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26582 printf("***\n");
26583 printf("*** If you have already installed a sufficiently new version, this error\n");
26584 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26585 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26586 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26587 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26588 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26589 printf("*** so that the correct libraries are found at run-time))\n");
26590 }
26591 }
26592 return 1;
26593 }
26594
26595 _ACEOF
26596 rm -f conftest$ac_exeext
26597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26598 (eval $ac_link) 2>&5
26599 ac_status=$?
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 :
26608 else
26609 echo "$as_me: program exited with status $ac_status" >&5
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.$ac_ext >&5
26612
26613 ( exit $ac_status )
26614 no_gtk=yes
26615 fi
26616 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26617 fi
26618 CFLAGS="$ac_save_CFLAGS"
26619 LIBS="$ac_save_LIBS"
26620 fi
26621 fi
26622 if test "x$no_gtk" = x ; then
26623 echo "$as_me:$LINENO: result: yes" >&5
26624 echo "${ECHO_T}yes" >&6
26625 wx_cv_lib_gtk=1.2.3
26626 else
26627 echo "$as_me:$LINENO: result: no" >&5
26628 echo "${ECHO_T}no" >&6
26629 if test "$GTK_CONFIG" = "no" ; then
26630 echo "*** The gtk-config script installed by GTK could not be found"
26631 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26632 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26633 echo "*** full path to gtk-config."
26634 else
26635 if test -f conf.gtktest ; then
26636 :
26637 else
26638 echo "*** Could not run GTK test program, checking why..."
26639 CFLAGS="$CFLAGS $GTK_CFLAGS"
26640 LIBS="$LIBS $GTK_LIBS"
26641 cat >conftest.$ac_ext <<_ACEOF
26642 /* confdefs.h. */
26643 _ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647
26648 #include <gtk/gtk.h>
26649 #include <stdio.h>
26650
26651 int
26652 main ()
26653 {
26654 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26655 ;
26656 return 0;
26657 }
26658 _ACEOF
26659 rm -f conftest.$ac_objext conftest$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661 (eval $ac_link) 2>conftest.er1
26662 ac_status=$?
26663 grep -v '^ *+' conftest.er1 >conftest.err
26664 rm -f conftest.er1
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; } &&
26674 { ac_try='test -s conftest$ac_exeext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 echo "*** The test program compiled, but did not run. This usually means"
26681 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26682 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26683 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26684 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26685 echo "*** is required on your system"
26686 echo "***"
26687 echo "*** If you have an old version installed, it is best to remove it, although"
26688 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26689 echo "***"
26690 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26691 echo "*** came with the system with the command"
26692 echo "***"
26693 echo "*** rpm --erase --nodeps gtk gtk-devel"
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 echo "*** The test program failed to compile or link. See the file config.log for the"
26699 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26700 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26701 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26702 fi
26703 rm -f conftest.err conftest.$ac_objext \
26704 conftest$ac_exeext conftest.$ac_ext
26705 CFLAGS="$ac_save_CFLAGS"
26706 LIBS="$ac_save_LIBS"
26707 fi
26708 fi
26709 GTK_CFLAGS=""
26710 GTK_LIBS=""
26711 :
26712 fi
26713
26714
26715 rm -f conf.gtktest
26716
26717 fi
26718 fi
26719 fi
26720
26721 if test -z "$wx_cv_lib_gtk"; then
26722 wx_cv_lib_gtk=none
26723 else
26724 wx_cv_cflags_gtk=$GTK_CFLAGS
26725 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26726 fi
26727
26728
26729 fi
26730
26731
26732 if test "$gtk_version_cached" = 1; then
26733 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26734 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26735 fi
26736
26737 case "$wx_cv_lib_gtk" in
26738 2.0) WXGTK20=1
26739 TOOLKIT_VERSION=2
26740 ;;
26741 1.2.7) WXGTK127=1
26742 WXGTK12=1
26743 ;;
26744 1.2.3) WXGTK12=1
26745 ;;
26746 *) { { echo "$as_me:$LINENO: error:
26747 The development files for GTK+ were not found. For GTK+ 2, please
26748 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26749 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26750 and that the version is 1.2.3 or above. Also check that the
26751 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26752 --libs' are in the LD_LIBRARY_PATH or equivalent.
26753 " >&5
26754 echo "$as_me: error:
26755 The development files for GTK+ were not found. For GTK+ 2, please
26756 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26757 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26758 and that the version is 1.2.3 or above. Also check that the
26759 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26760 --libs' are in the LD_LIBRARY_PATH or equivalent.
26761 " >&2;}
26762 { (exit 1); exit 1; }; }
26763 ;;
26764 esac
26765
26766 if test "$WXGTK20" = 1; then
26767 save_CFLAGS="$CFLAGS"
26768 save_LIBS="$LIBS"
26769 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
26770 LIBS="$LIBS $wx_cv_libs_gtk"
26771
26772 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26773 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26774 cat >conftest.$ac_ext <<_ACEOF
26775 /* confdefs.h. */
26776 _ACEOF
26777 cat confdefs.h >>conftest.$ac_ext
26778 cat >>conftest.$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26780
26781 #include <gtk/gtk.h>
26782
26783 int
26784 main ()
26785 {
26786
26787 void *f = gtk_icon_size_lookup;
26788
26789 ;
26790 return 0;
26791 }
26792 _ACEOF
26793 rm -f conftest.$ac_objext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26795 (eval $ac_compile) 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26805 ac_status=$?
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try='test -s conftest.$ac_objext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
26814
26815 echo "$as_me:$LINENO: result: no" >&5
26816 echo "${ECHO_T}no" >&6
26817
26818 else
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26821
26822
26823 cat >>confdefs.h <<\_ACEOF
26824 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26825 _ACEOF
26826
26827 echo "$as_me:$LINENO: result: yes" >&5
26828 echo "${ECHO_T}yes" >&6
26829
26830 fi
26831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26832
26833 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26834 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26835 cat >conftest.$ac_ext <<_ACEOF
26836 /* confdefs.h. */
26837 _ACEOF
26838 cat confdefs.h >>conftest.$ac_ext
26839 cat >>conftest.$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26841
26842 #include <gtk/gtk.h>
26843
26844 int
26845 main ()
26846 {
26847
26848 #if !GTK_CHECK_VERSION(2,4,0)
26849 Not GTK+ 2.4
26850 #endif
26851
26852 ;
26853 return 0;
26854 }
26855 _ACEOF
26856 rm -f conftest.$ac_objext
26857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26858 (eval $ac_compile) 2>conftest.er1
26859 ac_status=$?
26860 grep -v '^ *+' conftest.er1 >conftest.err
26861 rm -f conftest.er1
26862 cat conftest.err >&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } &&
26865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26868 ac_status=$?
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; } &&
26871 { ac_try='test -s conftest.$ac_objext'
26872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26873 (eval $ac_try) 2>&5
26874 ac_status=$?
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877
26878 cat >>confdefs.h <<\_ACEOF
26879 #define __WXGTK24__ 1
26880 _ACEOF
26881
26882 echo "$as_me:$LINENO: result: yes" >&5
26883 echo "${ECHO_T}yes" >&6
26884
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889
26890 echo "$as_me:$LINENO: result: no" >&5
26891 echo "${ECHO_T}no" >&6
26892
26893 fi
26894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26895
26896 CFLAGS="$save_CFLAGS"
26897 LIBS="$save_LIBS"
26898 else
26899 if test "$wxUSE_UNICODE" = "yes"; then
26900 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26901 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26902 wxUSE_UNICODE=no
26903 fi
26904 fi
26905
26906 if test "$USE_DARWIN" != 1; then
26907
26908 for ac_func in poll
26909 do
26910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26911 echo "$as_me:$LINENO: checking for $ac_func" >&5
26912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26913 if eval "test \"\${$as_ac_var+set}\" = set"; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26915 else
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26924 #define $ac_func innocuous_$ac_func
26925
26926 /* System header to define __stub macros and hopefully few prototypes,
26927 which can conflict with char $ac_func (); below.
26928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26929 <limits.h> exists even on freestanding compilers. */
26930
26931 #ifdef __STDC__
26932 # include <limits.h>
26933 #else
26934 # include <assert.h>
26935 #endif
26936
26937 #undef $ac_func
26938
26939 /* Override any gcc2 internal prototype to avoid an error. */
26940 #ifdef __cplusplus
26941 extern "C"
26942 {
26943 #endif
26944 /* We use char because int might match the return type of a gcc2
26945 builtin and then its argument prototype would still apply. */
26946 char $ac_func ();
26947 /* The GNU C library defines this for functions which it implements
26948 to always fail with ENOSYS. Some functions are actually named
26949 something starting with __ and the normal name is an alias. */
26950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26951 choke me
26952 #else
26953 char (*f) () = $ac_func;
26954 #endif
26955 #ifdef __cplusplus
26956 }
26957 #endif
26958
26959 int
26960 main ()
26961 {
26962 return f != $ac_func;
26963 ;
26964 return 0;
26965 }
26966 _ACEOF
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest$ac_exeext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 eval "$as_ac_var=yes"
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26992
26993 eval "$as_ac_var=no"
26994 fi
26995 rm -f conftest.err conftest.$ac_objext \
26996 conftest$ac_exeext conftest.$ac_ext
26997 fi
26998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27000 if test `eval echo '${'$as_ac_var'}'` = yes; then
27001 cat >>confdefs.h <<_ACEOF
27002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27003 _ACEOF
27004
27005 fi
27006 done
27007
27008 fi
27009
27010 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27011 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27012
27013 AFMINSTALL=afminstall
27014 TOOLKIT=GTK
27015 GUIDIST=GTK_DIST
27016
27017 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27018 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27019 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 else
27022 ac_check_lib_save_LIBS=$LIBS
27023 LIBS="-lgdk $LIBS"
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h. */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27030
27031 /* Override any gcc2 internal prototype to avoid an error. */
27032 #ifdef __cplusplus
27033 extern "C"
27034 #endif
27035 /* We use char because int might match the return type of a gcc2
27036 builtin and then its argument prototype would still apply. */
27037 char gdk_im_open ();
27038 int
27039 main ()
27040 {
27041 gdk_im_open ();
27042 ;
27043 return 0;
27044 }
27045 _ACEOF
27046 rm -f conftest.$ac_objext conftest$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048 (eval $ac_link) 2>conftest.er1
27049 ac_status=$?
27050 grep -v '^ *+' conftest.er1 >conftest.err
27051 rm -f conftest.er1
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_gdk_gdk_im_open=yes
27068 else
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27071
27072 ac_cv_lib_gdk_gdk_im_open=no
27073 fi
27074 rm -f conftest.err conftest.$ac_objext \
27075 conftest$ac_exeext conftest.$ac_ext
27076 LIBS=$ac_check_lib_save_LIBS
27077 fi
27078 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27079 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27080 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27081 cat >>confdefs.h <<\_ACEOF
27082 #define HAVE_XIM 1
27083 _ACEOF
27084
27085 fi
27086
27087
27088
27089 if test "$wxUSE_GPE" = "yes"; then
27090 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27091 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27092
27093 ac_find_libraries=
27094 for ac_dir in $SEARCH_LIB;
27095 do
27096 for ac_extension in a so sl dylib dll.a; do
27097 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27098 ac_find_libraries=$ac_dir
27099 break 2
27100 fi
27101 done
27102 done
27103
27104 if test "$ac_find_libraries" != "" ; then
27105
27106 if test "$ac_find_libraries" = "default location"; then
27107 ac_path_to_link=""
27108 else
27109 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27110 result=$?
27111 if test $result = 0; then
27112 ac_path_to_link=""
27113 else
27114 ac_path_to_link=" -L$ac_find_libraries"
27115 fi
27116 fi
27117
27118 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27119 WXGPE=1
27120 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27121 echo "${ECHO_T}found in $ac_find_libraries" >&6
27122 else
27123 echo "$as_me:$LINENO: result: not found" >&5
27124 echo "${ECHO_T}not found" >&6
27125 fi
27126
27127 fi
27128 fi
27129
27130 if test "$wxUSE_MGL" = 1; then
27131 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27132 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27133 if test "x$MGL_ROOT" = x ; then
27134 echo "$as_me:$LINENO: result: not found" >&5
27135 echo "${ECHO_T}not found" >&6
27136 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27137 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27138 { (exit 1); exit 1; }; }
27139 else
27140 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27141 echo "${ECHO_T}$MGL_ROOT" >&6
27142 fi
27143
27144 echo "$as_me:$LINENO: checking for libmgl location" >&5
27145 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27146 case "${host}" in
27147 *-*-linux* )
27148 if test "x$wxUSE_SHARED" = xyes ; then
27149 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27150 else
27151 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27152 fi
27153 ;;
27154 *-pc-msdosdjgpp )
27155 mgl_os_candidates="dos32/dj2"
27156 ;;
27157 *)
27158 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27159 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27160 { (exit 1); exit 1; }; }
27161 esac
27162
27163 mgl_lib_type=""
27164 mgl_os=""
27165
27166 for mgl_os_i in $mgl_os_candidates ; do
27167 if test "x$mgl_os" = x ; then
27168 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27169 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27170 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27171 mgl_lib_type=debug
27172 mgl_os=$mgl_os_i
27173 fi
27174 fi
27175 if test "x$mgl_lib_type" = x ; then
27176 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27177 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27178 mgl_lib_type=release
27179 mgl_os=$mgl_os_i
27180 fi
27181 fi
27182 fi
27183 done
27184
27185 if test "x$mgl_os" = x ; then
27186 echo "$as_me:$LINENO: result: not found" >&5
27187 echo "${ECHO_T}not found" >&6
27188 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27189 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27190 { (exit 1); exit 1; }; }
27191 fi
27192 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27193 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27194
27195 wxUSE_UNIVERSAL="yes"
27196
27197 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27198 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27199
27200 AFMINSTALL=afminstall
27201 TOOLKIT=MGL
27202 GUIDIST=MGL_DIST
27203 fi
27204
27205 if test "$wxUSE_MICROWIN" = 1; then
27206 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27207 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27208 if test "x$MICROWINDOWS" = x ; then
27209 echo "$as_me:$LINENO: result: not found" >&5
27210 echo "${ECHO_T}not found" >&6
27211 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27212 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27213 { (exit 1); exit 1; }; }
27214 else
27215 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27216 echo "${ECHO_T}$MICROWINDOWS" >&6
27217 fi
27218
27219 if test -f $MICROWINDOWS/lib/libmwin.a; then
27220 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27221 echo "${ECHO_T}MicroWindows' libraries found." >&6
27222 else
27223 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27224 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27225 { (exit 1); exit 1; }; }
27226 fi
27227
27228 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27229 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27230
27231 wxUSE_UNIVERSAL="yes"
27232
27233 AFMINSTALL=afminstall
27234 TOOLKIT=MICROWIN
27235 GUIDIST=MICROWIN_DIST
27236
27237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27238 fi
27239
27240 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27241
27242 if test "x$ac_path_x_has_been_run" != xyes; then
27243 echo "$as_me:$LINENO: checking for X" >&5
27244 echo $ECHO_N "checking for X... $ECHO_C" >&6
27245
27246 ac_path_x_has_been_run=yes
27247
27248 # Check whether --with-x or --without-x was given.
27249 if test "${with_x+set}" = set; then
27250 withval="$with_x"
27251
27252 fi;
27253 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27254 if test "x$with_x" = xno; then
27255 # The user explicitly disabled X.
27256 have_x=disabled
27257 else
27258 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27259 # Both variables are already set.
27260 have_x=yes
27261 else
27262 if test "${ac_cv_have_x+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 # One or both of the vars are not set, and there is no cached value.
27266 ac_x_includes=no ac_x_libraries=no
27267 rm -fr conftest.dir
27268 if mkdir conftest.dir; then
27269 cd conftest.dir
27270 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27271 cat >Imakefile <<'_ACEOF'
27272 acfindx:
27273 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27274 _ACEOF
27275 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27277 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27278 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27279 for ac_extension in a so sl; do
27280 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27281 test -f $ac_im_libdir/libX11.$ac_extension; then
27282 ac_im_usrlibdir=$ac_im_libdir; break
27283 fi
27284 done
27285 # Screen out bogus values from the imake configuration. They are
27286 # bogus both because they are the default anyway, and because
27287 # using them would break gcc on systems where it needs fixed includes.
27288 case $ac_im_incroot in
27289 /usr/include) ;;
27290 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27291 esac
27292 case $ac_im_usrlibdir in
27293 /usr/lib | /lib) ;;
27294 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27295 esac
27296 fi
27297 cd ..
27298 rm -fr conftest.dir
27299 fi
27300
27301 # Standard set of common directories for X headers.
27302 # Check X11 before X11Rn because it is often a symlink to the current release.
27303 ac_x_header_dirs='
27304 /usr/X11/include
27305 /usr/X11R6/include
27306 /usr/X11R5/include
27307 /usr/X11R4/include
27308
27309 /usr/include/X11
27310 /usr/include/X11R6
27311 /usr/include/X11R5
27312 /usr/include/X11R4
27313
27314 /usr/local/X11/include
27315 /usr/local/X11R6/include
27316 /usr/local/X11R5/include
27317 /usr/local/X11R4/include
27318
27319 /usr/local/include/X11
27320 /usr/local/include/X11R6
27321 /usr/local/include/X11R5
27322 /usr/local/include/X11R4
27323
27324 /usr/X386/include
27325 /usr/x386/include
27326 /usr/XFree86/include/X11
27327
27328 /usr/include
27329 /usr/local/include
27330 /usr/unsupported/include
27331 /usr/athena/include
27332 /usr/local/x11r5/include
27333 /usr/lpp/Xamples/include
27334
27335 /usr/openwin/include
27336 /usr/openwin/share/include'
27337
27338 if test "$ac_x_includes" = no; then
27339 # Guess where to find include files, by looking for a specified header file.
27340 # First, try using that file with no special directory specified.
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 #include <X11/Intrinsic.h>
27348 _ACEOF
27349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27351 ac_status=$?
27352 grep -v '^ *+' conftest.er1 >conftest.err
27353 rm -f conftest.er1
27354 cat conftest.err >&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } >/dev/null; then
27357 if test -s conftest.err; then
27358 ac_cpp_err=$ac_c_preproc_warn_flag
27359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27360 else
27361 ac_cpp_err=
27362 fi
27363 else
27364 ac_cpp_err=yes
27365 fi
27366 if test -z "$ac_cpp_err"; then
27367 # We can compile using X headers with no special include directory.
27368 ac_x_includes=
27369 else
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27372
27373 for ac_dir in $ac_x_header_dirs; do
27374 if test -r "$ac_dir/X11/Intrinsic.h"; then
27375 ac_x_includes=$ac_dir
27376 break
27377 fi
27378 done
27379 fi
27380 rm -f conftest.err conftest.$ac_ext
27381 fi # $ac_x_includes = no
27382
27383 if test "$ac_x_libraries" = no; then
27384 # Check for the libraries.
27385 # See if we find them without any special options.
27386 # Don't add to $LIBS permanently.
27387 ac_save_LIBS=$LIBS
27388 LIBS="-lXt $LIBS"
27389 cat >conftest.$ac_ext <<_ACEOF
27390 /* confdefs.h. */
27391 _ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <X11/Intrinsic.h>
27396 int
27397 main ()
27398 {
27399 XtMalloc (0)
27400 ;
27401 return 0;
27402 }
27403 _ACEOF
27404 rm -f conftest.$ac_objext conftest$ac_exeext
27405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27406 (eval $ac_link) 2>conftest.er1
27407 ac_status=$?
27408 grep -v '^ *+' conftest.er1 >conftest.err
27409 rm -f conftest.er1
27410 cat conftest.err >&5
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); } &&
27413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415 (eval $ac_try) 2>&5
27416 ac_status=$?
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; } &&
27419 { ac_try='test -s conftest$ac_exeext'
27420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421 (eval $ac_try) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); }; }; then
27425 LIBS=$ac_save_LIBS
27426 # We can link X programs with no special library path.
27427 ac_x_libraries=
27428 else
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27431
27432 LIBS=$ac_save_LIBS
27433 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27434 do
27435 # Don't even attempt the hair of trying to link an X program!
27436 for ac_extension in a so sl; do
27437 if test -r $ac_dir/libXt.$ac_extension; then
27438 ac_x_libraries=$ac_dir
27439 break 2
27440 fi
27441 done
27442 done
27443 fi
27444 rm -f conftest.err conftest.$ac_objext \
27445 conftest$ac_exeext conftest.$ac_ext
27446 fi # $ac_x_libraries = no
27447
27448 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27449 # Didn't find X anywhere. Cache the known absence of X.
27450 ac_cv_have_x="have_x=no"
27451 else
27452 # Record where we found X for the cache.
27453 ac_cv_have_x="have_x=yes \
27454 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27455 fi
27456 fi
27457
27458 fi
27459 eval "$ac_cv_have_x"
27460 fi # $with_x != no
27461
27462 if test "$have_x" != yes; then
27463 echo "$as_me:$LINENO: result: $have_x" >&5
27464 echo "${ECHO_T}$have_x" >&6
27465 no_x=yes
27466 else
27467 # If each of the values was on the command line, it overrides each guess.
27468 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27469 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27470 # Update the cache value to reflect the command line values.
27471 ac_cv_have_x="have_x=yes \
27472 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27473 # It might be that x_includes is empty (headers are found in the
27474 # standard search path. Then output the corresponding message
27475 ac_out_x_includes=$x_includes
27476 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
27477 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27478 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27479 fi
27480
27481 fi
27482 if test "$no_x" = yes; then
27483 # Not all programs may use this symbol, but it does not hurt to define it.
27484
27485 cat >>confdefs.h <<\_ACEOF
27486 #define X_DISPLAY_MISSING 1
27487 _ACEOF
27488
27489 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27490 else
27491 if test -n "$x_includes"; then
27492 X_CFLAGS="$X_CFLAGS -I$x_includes"
27493 fi
27494
27495 # It would also be nice to do this for all -L options, not just this one.
27496 if test -n "$x_libraries"; then
27497 X_LIBS="$X_LIBS -L$x_libraries"
27498 # For Solaris; some versions of Sun CC require a space after -R and
27499 # others require no space. Words are not sufficient . . . .
27500 case `(uname -sr) 2>/dev/null` in
27501 "SunOS 5"*)
27502 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27503 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27504 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511
27512 int
27513 main ()
27514 {
27515
27516 ;
27517 return 0;
27518 }
27519 _ACEOF
27520 rm -f conftest.$ac_objext conftest$ac_exeext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27522 (eval $ac_link) 2>conftest.er1
27523 ac_status=$?
27524 grep -v '^ *+' conftest.er1 >conftest.err
27525 rm -f conftest.er1
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27531 (eval $ac_try) 2>&5
27532 ac_status=$?
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; } &&
27535 { ac_try='test -s conftest$ac_exeext'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27538 ac_status=$?
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; }; then
27541 ac_R_nospace=yes
27542 else
27543 echo "$as_me: failed program was:" >&5
27544 sed 's/^/| /' conftest.$ac_ext >&5
27545
27546 ac_R_nospace=no
27547 fi
27548 rm -f conftest.err conftest.$ac_objext \
27549 conftest$ac_exeext conftest.$ac_ext
27550 if test $ac_R_nospace = yes; then
27551 echo "$as_me:$LINENO: result: no" >&5
27552 echo "${ECHO_T}no" >&6
27553 X_LIBS="$X_LIBS -R$x_libraries"
27554 else
27555 LIBS="$ac_xsave_LIBS -R $x_libraries"
27556 cat >conftest.$ac_ext <<_ACEOF
27557 /* confdefs.h. */
27558 _ACEOF
27559 cat confdefs.h >>conftest.$ac_ext
27560 cat >>conftest.$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27562
27563 int
27564 main ()
27565 {
27566
27567 ;
27568 return 0;
27569 }
27570 _ACEOF
27571 rm -f conftest.$ac_objext conftest$ac_exeext
27572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27573 (eval $ac_link) 2>conftest.er1
27574 ac_status=$?
27575 grep -v '^ *+' conftest.er1 >conftest.err
27576 rm -f conftest.er1
27577 cat conftest.err >&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } &&
27580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 ac_R_space=yes
27593 else
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27596
27597 ac_R_space=no
27598 fi
27599 rm -f conftest.err conftest.$ac_objext \
27600 conftest$ac_exeext conftest.$ac_ext
27601 if test $ac_R_space = yes; then
27602 echo "$as_me:$LINENO: result: yes" >&5
27603 echo "${ECHO_T}yes" >&6
27604 X_LIBS="$X_LIBS -R $x_libraries"
27605 else
27606 echo "$as_me:$LINENO: result: neither works" >&5
27607 echo "${ECHO_T}neither works" >&6
27608 fi
27609 fi
27610 LIBS=$ac_xsave_LIBS
27611 esac
27612 fi
27613
27614 # Check for system-dependent libraries X programs must link with.
27615 # Do this before checking for the system-independent R6 libraries
27616 # (-lICE), since we may need -lsocket or whatever for X linking.
27617
27618 if test "$ISC" = yes; then
27619 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27620 else
27621 # Martyn Johnson says this is needed for Ultrix, if the X
27622 # libraries were built with DECnet support. And Karl Berry says
27623 # the Alpha needs dnet_stub (dnet does not exist).
27624 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631
27632 /* Override any gcc2 internal prototype to avoid an error. */
27633 #ifdef __cplusplus
27634 extern "C"
27635 #endif
27636 /* We use char because int might match the return type of a gcc2
27637 builtin and then its argument prototype would still apply. */
27638 char XOpenDisplay ();
27639 int
27640 main ()
27641 {
27642 XOpenDisplay ();
27643 ;
27644 return 0;
27645 }
27646 _ACEOF
27647 rm -f conftest.$ac_objext conftest$ac_exeext
27648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27649 (eval $ac_link) 2>conftest.er1
27650 ac_status=$?
27651 grep -v '^ *+' conftest.er1 >conftest.err
27652 rm -f conftest.er1
27653 cat conftest.err >&5
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); } &&
27656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27659 ac_status=$?
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; } &&
27662 { ac_try='test -s conftest$ac_exeext'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27665 ac_status=$?
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; }; then
27668 :
27669 else
27670 echo "$as_me: failed program was:" >&5
27671 sed 's/^/| /' conftest.$ac_ext >&5
27672
27673 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27674 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27675 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27677 else
27678 ac_check_lib_save_LIBS=$LIBS
27679 LIBS="-ldnet $LIBS"
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686
27687 /* Override any gcc2 internal prototype to avoid an error. */
27688 #ifdef __cplusplus
27689 extern "C"
27690 #endif
27691 /* We use char because int might match the return type of a gcc2
27692 builtin and then its argument prototype would still apply. */
27693 char dnet_ntoa ();
27694 int
27695 main ()
27696 {
27697 dnet_ntoa ();
27698 ;
27699 return 0;
27700 }
27701 _ACEOF
27702 rm -f conftest.$ac_objext conftest$ac_exeext
27703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27704 (eval $ac_link) 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_lib_dnet_dnet_ntoa=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 ac_cv_lib_dnet_dnet_ntoa=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext \
27731 conftest$ac_exeext conftest.$ac_ext
27732 LIBS=$ac_check_lib_save_LIBS
27733 fi
27734 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27735 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27736 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27737 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27738 fi
27739
27740 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27741 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27742 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27743 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 else
27746 ac_check_lib_save_LIBS=$LIBS
27747 LIBS="-ldnet_stub $LIBS"
27748 cat >conftest.$ac_ext <<_ACEOF
27749 /* confdefs.h. */
27750 _ACEOF
27751 cat confdefs.h >>conftest.$ac_ext
27752 cat >>conftest.$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27754
27755 /* Override any gcc2 internal prototype to avoid an error. */
27756 #ifdef __cplusplus
27757 extern "C"
27758 #endif
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27761 char dnet_ntoa ();
27762 int
27763 main ()
27764 {
27765 dnet_ntoa ();
27766 ;
27767 return 0;
27768 }
27769 _ACEOF
27770 rm -f conftest.$ac_objext conftest$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>conftest.er1
27773 ac_status=$?
27774 grep -v '^ *+' conftest.er1 >conftest.err
27775 rm -f conftest.er1
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try='test -s conftest$ac_exeext'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27788 ac_status=$?
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; }; then
27791 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27792 else
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27795
27796 ac_cv_lib_dnet_stub_dnet_ntoa=no
27797 fi
27798 rm -f conftest.err conftest.$ac_objext \
27799 conftest$ac_exeext conftest.$ac_ext
27800 LIBS=$ac_check_lib_save_LIBS
27801 fi
27802 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27803 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27804 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27805 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27806 fi
27807
27808 fi
27809 fi
27810 rm -f conftest.err conftest.$ac_objext \
27811 conftest$ac_exeext conftest.$ac_ext
27812 LIBS="$ac_xsave_LIBS"
27813
27814 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27815 # to get the SysV transport functions.
27816 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27817 # needs -lnsl.
27818 # The nsl library prevents programs from opening the X display
27819 # on Irix 5.2, according to T.E. Dickey.
27820 # The functions gethostbyname, getservbyname, and inet_addr are
27821 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27822 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27823 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27824 if test "${ac_cv_func_gethostbyname+set}" = set; then
27825 echo $ECHO_N "(cached) $ECHO_C" >&6
27826 else
27827 cat >conftest.$ac_ext <<_ACEOF
27828 /* confdefs.h. */
27829 _ACEOF
27830 cat confdefs.h >>conftest.$ac_ext
27831 cat >>conftest.$ac_ext <<_ACEOF
27832 /* end confdefs.h. */
27833 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27835 #define gethostbyname innocuous_gethostbyname
27836
27837 /* System header to define __stub macros and hopefully few prototypes,
27838 which can conflict with char gethostbyname (); below.
27839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27840 <limits.h> exists even on freestanding compilers. */
27841
27842 #ifdef __STDC__
27843 # include <limits.h>
27844 #else
27845 # include <assert.h>
27846 #endif
27847
27848 #undef gethostbyname
27849
27850 /* Override any gcc2 internal prototype to avoid an error. */
27851 #ifdef __cplusplus
27852 extern "C"
27853 {
27854 #endif
27855 /* We use char because int might match the return type of a gcc2
27856 builtin and then its argument prototype would still apply. */
27857 char gethostbyname ();
27858 /* The GNU C library defines this for functions which it implements
27859 to always fail with ENOSYS. Some functions are actually named
27860 something starting with __ and the normal name is an alias. */
27861 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27862 choke me
27863 #else
27864 char (*f) () = gethostbyname;
27865 #endif
27866 #ifdef __cplusplus
27867 }
27868 #endif
27869
27870 int
27871 main ()
27872 {
27873 return f != gethostbyname;
27874 ;
27875 return 0;
27876 }
27877 _ACEOF
27878 rm -f conftest.$ac_objext conftest$ac_exeext
27879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27880 (eval $ac_link) 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } &&
27887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27890 ac_status=$?
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } &&
27893 { ac_try='test -s conftest$ac_exeext'
27894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27895 (eval $ac_try) 2>&5
27896 ac_status=$?
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); }; }; then
27899 ac_cv_func_gethostbyname=yes
27900 else
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.$ac_ext >&5
27903
27904 ac_cv_func_gethostbyname=no
27905 fi
27906 rm -f conftest.err conftest.$ac_objext \
27907 conftest$ac_exeext conftest.$ac_ext
27908 fi
27909 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27910 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27911
27912 if test $ac_cv_func_gethostbyname = no; then
27913 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27914 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27915 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 else
27918 ac_check_lib_save_LIBS=$LIBS
27919 LIBS="-lnsl $LIBS"
27920 cat >conftest.$ac_ext <<_ACEOF
27921 /* confdefs.h. */
27922 _ACEOF
27923 cat confdefs.h >>conftest.$ac_ext
27924 cat >>conftest.$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27926
27927 /* Override any gcc2 internal prototype to avoid an error. */
27928 #ifdef __cplusplus
27929 extern "C"
27930 #endif
27931 /* We use char because int might match the return type of a gcc2
27932 builtin and then its argument prototype would still apply. */
27933 char gethostbyname ();
27934 int
27935 main ()
27936 {
27937 gethostbyname ();
27938 ;
27939 return 0;
27940 }
27941 _ACEOF
27942 rm -f conftest.$ac_objext conftest$ac_exeext
27943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27944 (eval $ac_link) 2>conftest.er1
27945 ac_status=$?
27946 grep -v '^ *+' conftest.er1 >conftest.err
27947 rm -f conftest.er1
27948 cat conftest.err >&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } &&
27951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_cv_lib_nsl_gethostbyname=yes
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27967
27968 ac_cv_lib_nsl_gethostbyname=no
27969 fi
27970 rm -f conftest.err conftest.$ac_objext \
27971 conftest$ac_exeext conftest.$ac_ext
27972 LIBS=$ac_check_lib_save_LIBS
27973 fi
27974 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27975 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27976 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27978 fi
27979
27980 if test $ac_cv_lib_nsl_gethostbyname = no; then
27981 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27982 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27983 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986 ac_check_lib_save_LIBS=$LIBS
27987 LIBS="-lbsd $LIBS"
27988 cat >conftest.$ac_ext <<_ACEOF
27989 /* confdefs.h. */
27990 _ACEOF
27991 cat confdefs.h >>conftest.$ac_ext
27992 cat >>conftest.$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27994
27995 /* Override any gcc2 internal prototype to avoid an error. */
27996 #ifdef __cplusplus
27997 extern "C"
27998 #endif
27999 /* We use char because int might match the return type of a gcc2
28000 builtin and then its argument prototype would still apply. */
28001 char gethostbyname ();
28002 int
28003 main ()
28004 {
28005 gethostbyname ();
28006 ;
28007 return 0;
28008 }
28009 _ACEOF
28010 rm -f conftest.$ac_objext conftest$ac_exeext
28011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28012 (eval $ac_link) 2>conftest.er1
28013 ac_status=$?
28014 grep -v '^ *+' conftest.er1 >conftest.err
28015 rm -f conftest.er1
28016 cat conftest.err >&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } &&
28019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 ac_cv_lib_bsd_gethostbyname=yes
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 ac_cv_lib_bsd_gethostbyname=no
28037 fi
28038 rm -f conftest.err conftest.$ac_objext \
28039 conftest$ac_exeext conftest.$ac_ext
28040 LIBS=$ac_check_lib_save_LIBS
28041 fi
28042 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28043 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28044 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28046 fi
28047
28048 fi
28049 fi
28050
28051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28052 # socket/setsockopt and other routines are undefined under SCO ODT
28053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28054 # on later versions), says Simon Leinen: it contains gethostby*
28055 # variants that don't use the name server (or something). -lsocket
28056 # must be given before -lnsl if both are needed. We assume that
28057 # if connect needs -lnsl, so does gethostbyname.
28058 echo "$as_me:$LINENO: checking for connect" >&5
28059 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28060 if test "${ac_cv_func_connect+set}" = set; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 else
28063 cat >conftest.$ac_ext <<_ACEOF
28064 /* confdefs.h. */
28065 _ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28071 #define connect innocuous_connect
28072
28073 /* System header to define __stub macros and hopefully few prototypes,
28074 which can conflict with char connect (); below.
28075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28076 <limits.h> exists even on freestanding compilers. */
28077
28078 #ifdef __STDC__
28079 # include <limits.h>
28080 #else
28081 # include <assert.h>
28082 #endif
28083
28084 #undef connect
28085
28086 /* Override any gcc2 internal prototype to avoid an error. */
28087 #ifdef __cplusplus
28088 extern "C"
28089 {
28090 #endif
28091 /* We use char because int might match the return type of a gcc2
28092 builtin and then its argument prototype would still apply. */
28093 char connect ();
28094 /* The GNU C library defines this for functions which it implements
28095 to always fail with ENOSYS. Some functions are actually named
28096 something starting with __ and the normal name is an alias. */
28097 #if defined (__stub_connect) || defined (__stub___connect)
28098 choke me
28099 #else
28100 char (*f) () = connect;
28101 #endif
28102 #ifdef __cplusplus
28103 }
28104 #endif
28105
28106 int
28107 main ()
28108 {
28109 return f != connect;
28110 ;
28111 return 0;
28112 }
28113 _ACEOF
28114 rm -f conftest.$ac_objext conftest$ac_exeext
28115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28116 (eval $ac_link) 2>conftest.er1
28117 ac_status=$?
28118 grep -v '^ *+' conftest.er1 >conftest.err
28119 rm -f conftest.er1
28120 cat conftest.err >&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } &&
28123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28126 ac_status=$?
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28132 ac_status=$?
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 ac_cv_func_connect=yes
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 ac_cv_func_connect=no
28141 fi
28142 rm -f conftest.err conftest.$ac_objext \
28143 conftest$ac_exeext conftest.$ac_ext
28144 fi
28145 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28146 echo "${ECHO_T}$ac_cv_func_connect" >&6
28147
28148 if test $ac_cv_func_connect = no; then
28149 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28150 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28151 if test "${ac_cv_lib_socket_connect+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 else
28154 ac_check_lib_save_LIBS=$LIBS
28155 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h. */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162
28163 /* Override any gcc2 internal prototype to avoid an error. */
28164 #ifdef __cplusplus
28165 extern "C"
28166 #endif
28167 /* We use char because int might match the return type of a gcc2
28168 builtin and then its argument prototype would still apply. */
28169 char connect ();
28170 int
28171 main ()
28172 {
28173 connect ();
28174 ;
28175 return 0;
28176 }
28177 _ACEOF
28178 rm -f conftest.$ac_objext conftest$ac_exeext
28179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28180 (eval $ac_link) 2>conftest.er1
28181 ac_status=$?
28182 grep -v '^ *+' conftest.er1 >conftest.err
28183 rm -f conftest.er1
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } &&
28187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28189 (eval $ac_try) 2>&5
28190 ac_status=$?
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; } &&
28193 { ac_try='test -s conftest$ac_exeext'
28194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28195 (eval $ac_try) 2>&5
28196 ac_status=$?
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); }; }; then
28199 ac_cv_lib_socket_connect=yes
28200 else
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.$ac_ext >&5
28203
28204 ac_cv_lib_socket_connect=no
28205 fi
28206 rm -f conftest.err conftest.$ac_objext \
28207 conftest$ac_exeext conftest.$ac_ext
28208 LIBS=$ac_check_lib_save_LIBS
28209 fi
28210 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28211 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28212 if test $ac_cv_lib_socket_connect = yes; then
28213 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28214 fi
28215
28216 fi
28217
28218 # Guillermo Gomez says -lposix is necessary on A/UX.
28219 echo "$as_me:$LINENO: checking for remove" >&5
28220 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28221 if test "${ac_cv_func_remove+set}" = set; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 else
28224 cat >conftest.$ac_ext <<_ACEOF
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28232 #define remove innocuous_remove
28233
28234 /* System header to define __stub macros and hopefully few prototypes,
28235 which can conflict with char remove (); below.
28236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28237 <limits.h> exists even on freestanding compilers. */
28238
28239 #ifdef __STDC__
28240 # include <limits.h>
28241 #else
28242 # include <assert.h>
28243 #endif
28244
28245 #undef remove
28246
28247 /* Override any gcc2 internal prototype to avoid an error. */
28248 #ifdef __cplusplus
28249 extern "C"
28250 {
28251 #endif
28252 /* We use char because int might match the return type of a gcc2
28253 builtin and then its argument prototype would still apply. */
28254 char remove ();
28255 /* The GNU C library defines this for functions which it implements
28256 to always fail with ENOSYS. Some functions are actually named
28257 something starting with __ and the normal name is an alias. */
28258 #if defined (__stub_remove) || defined (__stub___remove)
28259 choke me
28260 #else
28261 char (*f) () = remove;
28262 #endif
28263 #ifdef __cplusplus
28264 }
28265 #endif
28266
28267 int
28268 main ()
28269 {
28270 return f != remove;
28271 ;
28272 return 0;
28273 }
28274 _ACEOF
28275 rm -f conftest.$ac_objext conftest$ac_exeext
28276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28277 (eval $ac_link) 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } &&
28284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28286 (eval $ac_try) 2>&5
28287 ac_status=$?
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; } &&
28290 { ac_try='test -s conftest$ac_exeext'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28293 ac_status=$?
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; }; then
28296 ac_cv_func_remove=yes
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 ac_cv_func_remove=no
28302 fi
28303 rm -f conftest.err conftest.$ac_objext \
28304 conftest$ac_exeext conftest.$ac_ext
28305 fi
28306 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28307 echo "${ECHO_T}$ac_cv_func_remove" >&6
28308
28309 if test $ac_cv_func_remove = no; then
28310 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28311 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28312 if test "${ac_cv_lib_posix_remove+set}" = set; then
28313 echo $ECHO_N "(cached) $ECHO_C" >&6
28314 else
28315 ac_check_lib_save_LIBS=$LIBS
28316 LIBS="-lposix $LIBS"
28317 cat >conftest.$ac_ext <<_ACEOF
28318 /* confdefs.h. */
28319 _ACEOF
28320 cat confdefs.h >>conftest.$ac_ext
28321 cat >>conftest.$ac_ext <<_ACEOF
28322 /* end confdefs.h. */
28323
28324 /* Override any gcc2 internal prototype to avoid an error. */
28325 #ifdef __cplusplus
28326 extern "C"
28327 #endif
28328 /* We use char because int might match the return type of a gcc2
28329 builtin and then its argument prototype would still apply. */
28330 char remove ();
28331 int
28332 main ()
28333 {
28334 remove ();
28335 ;
28336 return 0;
28337 }
28338 _ACEOF
28339 rm -f conftest.$ac_objext conftest$ac_exeext
28340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28341 (eval $ac_link) 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } &&
28348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; } &&
28354 { ac_try='test -s conftest$ac_exeext'
28355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28356 (eval $ac_try) 2>&5
28357 ac_status=$?
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); }; }; then
28360 ac_cv_lib_posix_remove=yes
28361 else
28362 echo "$as_me: failed program was:" >&5
28363 sed 's/^/| /' conftest.$ac_ext >&5
28364
28365 ac_cv_lib_posix_remove=no
28366 fi
28367 rm -f conftest.err conftest.$ac_objext \
28368 conftest$ac_exeext conftest.$ac_ext
28369 LIBS=$ac_check_lib_save_LIBS
28370 fi
28371 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28372 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28373 if test $ac_cv_lib_posix_remove = yes; then
28374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28375 fi
28376
28377 fi
28378
28379 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28380 echo "$as_me:$LINENO: checking for shmat" >&5
28381 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28382 if test "${ac_cv_func_shmat+set}" = set; then
28383 echo $ECHO_N "(cached) $ECHO_C" >&6
28384 else
28385 cat >conftest.$ac_ext <<_ACEOF
28386 /* confdefs.h. */
28387 _ACEOF
28388 cat confdefs.h >>conftest.$ac_ext
28389 cat >>conftest.$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28391 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28393 #define shmat innocuous_shmat
28394
28395 /* System header to define __stub macros and hopefully few prototypes,
28396 which can conflict with char shmat (); below.
28397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28398 <limits.h> exists even on freestanding compilers. */
28399
28400 #ifdef __STDC__
28401 # include <limits.h>
28402 #else
28403 # include <assert.h>
28404 #endif
28405
28406 #undef shmat
28407
28408 /* Override any gcc2 internal prototype to avoid an error. */
28409 #ifdef __cplusplus
28410 extern "C"
28411 {
28412 #endif
28413 /* We use char because int might match the return type of a gcc2
28414 builtin and then its argument prototype would still apply. */
28415 char shmat ();
28416 /* The GNU C library defines this for functions which it implements
28417 to always fail with ENOSYS. Some functions are actually named
28418 something starting with __ and the normal name is an alias. */
28419 #if defined (__stub_shmat) || defined (__stub___shmat)
28420 choke me
28421 #else
28422 char (*f) () = shmat;
28423 #endif
28424 #ifdef __cplusplus
28425 }
28426 #endif
28427
28428 int
28429 main ()
28430 {
28431 return f != shmat;
28432 ;
28433 return 0;
28434 }
28435 _ACEOF
28436 rm -f conftest.$ac_objext conftest$ac_exeext
28437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28438 (eval $ac_link) 2>conftest.er1
28439 ac_status=$?
28440 grep -v '^ *+' conftest.er1 >conftest.err
28441 rm -f conftest.er1
28442 cat conftest.err >&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); } &&
28445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28448 ac_status=$?
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try='test -s conftest$ac_exeext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_func_shmat=yes
28458 else
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.$ac_ext >&5
28461
28462 ac_cv_func_shmat=no
28463 fi
28464 rm -f conftest.err conftest.$ac_objext \
28465 conftest$ac_exeext conftest.$ac_ext
28466 fi
28467 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28468 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28469
28470 if test $ac_cv_func_shmat = no; then
28471 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28472 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28473 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28475 else
28476 ac_check_lib_save_LIBS=$LIBS
28477 LIBS="-lipc $LIBS"
28478 cat >conftest.$ac_ext <<_ACEOF
28479 /* confdefs.h. */
28480 _ACEOF
28481 cat confdefs.h >>conftest.$ac_ext
28482 cat >>conftest.$ac_ext <<_ACEOF
28483 /* end confdefs.h. */
28484
28485 /* Override any gcc2 internal prototype to avoid an error. */
28486 #ifdef __cplusplus
28487 extern "C"
28488 #endif
28489 /* We use char because int might match the return type of a gcc2
28490 builtin and then its argument prototype would still apply. */
28491 char shmat ();
28492 int
28493 main ()
28494 {
28495 shmat ();
28496 ;
28497 return 0;
28498 }
28499 _ACEOF
28500 rm -f conftest.$ac_objext conftest$ac_exeext
28501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28502 (eval $ac_link) 2>conftest.er1
28503 ac_status=$?
28504 grep -v '^ *+' conftest.er1 >conftest.err
28505 rm -f conftest.er1
28506 cat conftest.err >&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try='test -s conftest$ac_exeext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 ac_cv_lib_ipc_shmat=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28525
28526 ac_cv_lib_ipc_shmat=no
28527 fi
28528 rm -f conftest.err conftest.$ac_objext \
28529 conftest$ac_exeext conftest.$ac_ext
28530 LIBS=$ac_check_lib_save_LIBS
28531 fi
28532 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28533 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28534 if test $ac_cv_lib_ipc_shmat = yes; then
28535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28536 fi
28537
28538 fi
28539 fi
28540
28541 # Check for libraries that X11R6 Xt/Xaw programs need.
28542 ac_save_LDFLAGS=$LDFLAGS
28543 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28544 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28545 # check for ICE first), but we must link in the order -lSM -lICE or
28546 # we get undefined symbols. So assume we have SM if we have ICE.
28547 # These have to be linked with before -lX11, unlike the other
28548 # libraries we check for below, so use a different variable.
28549 # John Interrante, Karl Berry
28550 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28551 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28552 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 else
28555 ac_check_lib_save_LIBS=$LIBS
28556 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28557 cat >conftest.$ac_ext <<_ACEOF
28558 /* confdefs.h. */
28559 _ACEOF
28560 cat confdefs.h >>conftest.$ac_ext
28561 cat >>conftest.$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28563
28564 /* Override any gcc2 internal prototype to avoid an error. */
28565 #ifdef __cplusplus
28566 extern "C"
28567 #endif
28568 /* We use char because int might match the return type of a gcc2
28569 builtin and then its argument prototype would still apply. */
28570 char IceConnectionNumber ();
28571 int
28572 main ()
28573 {
28574 IceConnectionNumber ();
28575 ;
28576 return 0;
28577 }
28578 _ACEOF
28579 rm -f conftest.$ac_objext conftest$ac_exeext
28580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28581 (eval $ac_link) 2>conftest.er1
28582 ac_status=$?
28583 grep -v '^ *+' conftest.er1 >conftest.err
28584 rm -f conftest.er1
28585 cat conftest.err >&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } &&
28588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try='test -s conftest$ac_exeext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 ac_cv_lib_ICE_IceConnectionNumber=yes
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 ac_cv_lib_ICE_IceConnectionNumber=no
28606 fi
28607 rm -f conftest.err conftest.$ac_objext \
28608 conftest$ac_exeext conftest.$ac_ext
28609 LIBS=$ac_check_lib_save_LIBS
28610 fi
28611 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28612 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28613 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28614 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28615 fi
28616
28617 LDFLAGS=$ac_save_LDFLAGS
28618
28619 fi
28620
28621
28622 if test "$no_x" = "yes"; then
28623 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28624 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28625 { (exit 1); exit 1; }; }
28626 fi
28627
28628 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28629 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
28630 AFMINSTALL=afminstall
28631 COMPILED_X_PROGRAM=0
28632
28633 fi
28634
28635 if test "$wxUSE_X11" = 1; then
28636 if test "$wxUSE_NANOX" = "yes"; then
28637 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28638 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28639 if test "x$MICROWIN" = x ; then
28640 echo "$as_me:$LINENO: result: not found" >&5
28641 echo "${ECHO_T}not found" >&6
28642 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28643 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28644 { (exit 1); exit 1; }; }
28645 else
28646 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28647 echo "${ECHO_T}$MICROWIN" >&6
28648 cat >>confdefs.h <<\_ACEOF
28649 #define wxUSE_NANOX 1
28650 _ACEOF
28651
28652 fi
28653 fi
28654
28655 if test "$wxUSE_UNICODE" = "yes"; then
28656
28657 succeeded=no
28658
28659 if test -z "$PKG_CONFIG"; then
28660 # Extract the first word of "pkg-config", so it can be a program name with args.
28661 set dummy pkg-config; ac_word=$2
28662 echo "$as_me:$LINENO: checking for $ac_word" >&5
28663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28664 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28666 else
28667 case $PKG_CONFIG in
28668 [\\/]* | ?:[\\/]*)
28669 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28670 ;;
28671 *)
28672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28673 for as_dir in $PATH
28674 do
28675 IFS=$as_save_IFS
28676 test -z "$as_dir" && as_dir=.
28677 for ac_exec_ext in '' $ac_executable_extensions; do
28678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28679 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28681 break 2
28682 fi
28683 done
28684 done
28685
28686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28687 ;;
28688 esac
28689 fi
28690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28691
28692 if test -n "$PKG_CONFIG"; then
28693 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28694 echo "${ECHO_T}$PKG_CONFIG" >&6
28695 else
28696 echo "$as_me:$LINENO: result: no" >&5
28697 echo "${ECHO_T}no" >&6
28698 fi
28699
28700 fi
28701
28702 if test "$PKG_CONFIG" = "no" ; then
28703 echo "*** The pkg-config script could not be found. Make sure it is"
28704 echo "*** in your path, or set the PKG_CONFIG environment variable"
28705 echo "*** to the full path to pkg-config."
28706 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28707 else
28708 PKG_CONFIG_MIN_VERSION=0.9.0
28709 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28710 echo "$as_me:$LINENO: checking for pangox" >&5
28711 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28712
28713 if $PKG_CONFIG --exists "pangox" ; then
28714 echo "$as_me:$LINENO: result: yes" >&5
28715 echo "${ECHO_T}yes" >&6
28716 succeeded=yes
28717
28718 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28719 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28720 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
28721 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28722 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28723
28724 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28725 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28726 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
28727 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28728 echo "${ECHO_T}$PANGOX_LIBS" >&6
28729 else
28730 PANGOX_CFLAGS=""
28731 PANGOX_LIBS=""
28732 ## If we have a custom action on failure, don't print errors, but
28733 ## do set a variable so people can do so.
28734 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28735
28736 fi
28737
28738
28739
28740 else
28741 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28742 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28743 fi
28744 fi
28745
28746 if test $succeeded = yes; then
28747
28748 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
28749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
28750
28751 else
28752
28753 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28754 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28755 { (exit 1); exit 1; }; }
28756
28757
28758 fi
28759
28760
28761 succeeded=no
28762
28763 if test -z "$PKG_CONFIG"; then
28764 # Extract the first word of "pkg-config", so it can be a program name with args.
28765 set dummy pkg-config; ac_word=$2
28766 echo "$as_me:$LINENO: checking for $ac_word" >&5
28767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28770 else
28771 case $PKG_CONFIG in
28772 [\\/]* | ?:[\\/]*)
28773 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28774 ;;
28775 *)
28776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28777 for as_dir in $PATH
28778 do
28779 IFS=$as_save_IFS
28780 test -z "$as_dir" && as_dir=.
28781 for ac_exec_ext in '' $ac_executable_extensions; do
28782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28783 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28785 break 2
28786 fi
28787 done
28788 done
28789
28790 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28791 ;;
28792 esac
28793 fi
28794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28795
28796 if test -n "$PKG_CONFIG"; then
28797 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28798 echo "${ECHO_T}$PKG_CONFIG" >&6
28799 else
28800 echo "$as_me:$LINENO: result: no" >&5
28801 echo "${ECHO_T}no" >&6
28802 fi
28803
28804 fi
28805
28806 if test "$PKG_CONFIG" = "no" ; then
28807 echo "*** The pkg-config script could not be found. Make sure it is"
28808 echo "*** in your path, or set the PKG_CONFIG environment variable"
28809 echo "*** to the full path to pkg-config."
28810 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28811 else
28812 PKG_CONFIG_MIN_VERSION=0.9.0
28813 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28814 echo "$as_me:$LINENO: checking for pangoft2" >&5
28815 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28816
28817 if $PKG_CONFIG --exists "pangoft2" ; then
28818 echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6
28820 succeeded=yes
28821
28822 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28823 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28824 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
28825 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28826 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28827
28828 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28829 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28830 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
28831 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28832 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28833 else
28834 PANGOFT2_CFLAGS=""
28835 PANGOFT2_LIBS=""
28836 ## If we have a custom action on failure, don't print errors, but
28837 ## do set a variable so people can do so.
28838 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28839
28840 fi
28841
28842
28843
28844 else
28845 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28846 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28847 fi
28848 fi
28849
28850 if test $succeeded = yes; then
28851
28852 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
28853 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28854
28855 else
28856
28857 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28858 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28859 wxUSE_PRINTING_ARCHITECTURE="no"
28860
28861
28862 fi
28863
28864
28865 succeeded=no
28866
28867 if test -z "$PKG_CONFIG"; then
28868 # Extract the first word of "pkg-config", so it can be a program name with args.
28869 set dummy pkg-config; ac_word=$2
28870 echo "$as_me:$LINENO: checking for $ac_word" >&5
28871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28873 echo $ECHO_N "(cached) $ECHO_C" >&6
28874 else
28875 case $PKG_CONFIG in
28876 [\\/]* | ?:[\\/]*)
28877 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28878 ;;
28879 *)
28880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28881 for as_dir in $PATH
28882 do
28883 IFS=$as_save_IFS
28884 test -z "$as_dir" && as_dir=.
28885 for ac_exec_ext in '' $ac_executable_extensions; do
28886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28887 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28889 break 2
28890 fi
28891 done
28892 done
28893
28894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28895 ;;
28896 esac
28897 fi
28898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28899
28900 if test -n "$PKG_CONFIG"; then
28901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28902 echo "${ECHO_T}$PKG_CONFIG" >&6
28903 else
28904 echo "$as_me:$LINENO: result: no" >&5
28905 echo "${ECHO_T}no" >&6
28906 fi
28907
28908 fi
28909
28910 if test "$PKG_CONFIG" = "no" ; then
28911 echo "*** The pkg-config script could not be found. Make sure it is"
28912 echo "*** in your path, or set the PKG_CONFIG environment variable"
28913 echo "*** to the full path to pkg-config."
28914 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28915 else
28916 PKG_CONFIG_MIN_VERSION=0.9.0
28917 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28918 echo "$as_me:$LINENO: checking for pangoxft" >&5
28919 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28920
28921 if $PKG_CONFIG --exists "pangoxft" ; then
28922 echo "$as_me:$LINENO: result: yes" >&5
28923 echo "${ECHO_T}yes" >&6
28924 succeeded=yes
28925
28926 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28927 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28928 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28929 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28930 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28931
28932 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28933 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28934 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28935 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28936 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28937 else
28938 PANGOXFT_CFLAGS=""
28939 PANGOXFT_LIBS=""
28940 ## If we have a custom action on failure, don't print errors, but
28941 ## do set a variable so people can do so.
28942 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28943
28944 fi
28945
28946
28947
28948 else
28949 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28950 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28951 fi
28952 fi
28953
28954 if test $succeeded = yes; then
28955
28956 cat >>confdefs.h <<\_ACEOF
28957 #define HAVE_PANGO_XFT 1
28958 _ACEOF
28959
28960 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28962
28963 else
28964
28965 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28966 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28967
28968
28969 fi
28970
28971 save_CFLAGS="$CFLAGS"
28972 save_LIBS="$LIBS"
28973 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28974 LIBS="$LIBS $PANGOX_LIBS"
28975
28976 for ac_func in pango_font_family_is_monospace
28977 do
28978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28979 echo "$as_me:$LINENO: checking for $ac_func" >&5
28980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28981 if eval "test \"\${$as_ac_var+set}\" = set"; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28983 else
28984 cat >conftest.$ac_ext <<_ACEOF
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28992 #define $ac_func innocuous_$ac_func
28993
28994 /* System header to define __stub macros and hopefully few prototypes,
28995 which can conflict with char $ac_func (); below.
28996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28997 <limits.h> exists even on freestanding compilers. */
28998
28999 #ifdef __STDC__
29000 # include <limits.h>
29001 #else
29002 # include <assert.h>
29003 #endif
29004
29005 #undef $ac_func
29006
29007 /* Override any gcc2 internal prototype to avoid an error. */
29008 #ifdef __cplusplus
29009 extern "C"
29010 {
29011 #endif
29012 /* We use char because int might match the return type of a gcc2
29013 builtin and then its argument prototype would still apply. */
29014 char $ac_func ();
29015 /* The GNU C library defines this for functions which it implements
29016 to always fail with ENOSYS. Some functions are actually named
29017 something starting with __ and the normal name is an alias. */
29018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29019 choke me
29020 #else
29021 char (*f) () = $ac_func;
29022 #endif
29023 #ifdef __cplusplus
29024 }
29025 #endif
29026
29027 int
29028 main ()
29029 {
29030 return f != $ac_func;
29031 ;
29032 return 0;
29033 }
29034 _ACEOF
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29047 ac_status=$?
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try='test -s conftest$ac_exeext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 eval "$as_ac_var=yes"
29057 else
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.$ac_ext >&5
29060
29061 eval "$as_ac_var=no"
29062 fi
29063 rm -f conftest.err conftest.$ac_objext \
29064 conftest$ac_exeext conftest.$ac_ext
29065 fi
29066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29068 if test `eval echo '${'$as_ac_var'}'` = yes; then
29069 cat >>confdefs.h <<_ACEOF
29070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29071 _ACEOF
29072
29073 fi
29074 done
29075
29076 CFLAGS="$save_CFLAGS"
29077 LIBS="$save_LIBS"
29078 fi
29079
29080 wxUSE_UNIVERSAL="yes"
29081
29082 if test "$wxUSE_NANOX" = "yes"; then
29083 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29084 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"
29085 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29086 else
29087 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29088 fi
29089
29090 TOOLKIT=X11
29091 GUIDIST=X11_DIST
29092 fi
29093
29094 if test "$wxUSE_MOTIF" = 1; then
29095 if test "$wxUSE_UNICODE" = "yes"; then
29096 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29097 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29098 { (exit 1); exit 1; }; }
29099 fi
29100
29101 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29102 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29103
29104 ac_find_includes=
29105 for ac_dir in $SEARCH_INCLUDE /usr/include;
29106 do
29107 if test -f "$ac_dir/Xm/Xm.h"; then
29108 ac_find_includes=$ac_dir
29109 break
29110 fi
29111 done
29112
29113 if test "$ac_find_includes" != "" ; then
29114 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29115 echo "${ECHO_T}found in $ac_find_includes" >&6
29116
29117 if test "x$ac_find_includes" = "x/usr/include"; then
29118 ac_path_to_include=""
29119 else
29120 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29121 result=$?
29122 if test $result = 0; then
29123 ac_path_to_include=""
29124 else
29125 ac_path_to_include=" -I$ac_find_includes"
29126 fi
29127 fi
29128
29129 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29130 else
29131 save_CFLAGS=$CFLAGS
29132 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29133
29134 cat >conftest.$ac_ext <<_ACEOF
29135 /* confdefs.h. */
29136 _ACEOF
29137 cat confdefs.h >>conftest.$ac_ext
29138 cat >>conftest.$ac_ext <<_ACEOF
29139 /* end confdefs.h. */
29140
29141 #include <Xm/Xm.h>
29142
29143 int
29144 main ()
29145 {
29146
29147 int version;
29148 version = xmUseVersion;
29149
29150 ;
29151 return 0;
29152 }
29153 _ACEOF
29154 rm -f conftest.$ac_objext
29155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29156 (eval $ac_compile) 2>conftest.er1
29157 ac_status=$?
29158 grep -v '^ *+' conftest.er1 >conftest.err
29159 rm -f conftest.er1
29160 cat conftest.err >&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); } &&
29163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29166 ac_status=$?
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; } &&
29169 { ac_try='test -s conftest.$ac_objext'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29172 ac_status=$?
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175
29176 echo "$as_me:$LINENO: result: found in default search path" >&5
29177 echo "${ECHO_T}found in default search path" >&6
29178 COMPILED_X_PROGRAM=1
29179
29180 else
29181 echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.$ac_ext >&5
29183
29184
29185 echo "$as_me:$LINENO: result: no" >&5
29186 echo "${ECHO_T}no" >&6
29187 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29188 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29189 { (exit 1); exit 1; }; }
29190
29191
29192 fi
29193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29194
29195 CFLAGS=$save_CFLAGS
29196 fi
29197
29198
29199 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29200 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29201
29202 ac_find_libraries=
29203 for ac_dir in $SEARCH_LIB;
29204 do
29205 for ac_extension in a so sl dylib dll.a; do
29206 if test -f "$ac_dir/libXm.$ac_extension"; then
29207 ac_find_libraries=$ac_dir
29208 break 2
29209 fi
29210 done
29211 done
29212
29213
29214 if test "x$ac_find_libraries" != "x" ; then
29215 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29216 echo "${ECHO_T}found in $ac_find_libraries" >&6
29217
29218
29219 if test "$ac_find_libraries" = "default location"; then
29220 ac_path_to_link=""
29221 else
29222 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29223 result=$?
29224 if test $result = 0; then
29225 ac_path_to_link=""
29226 else
29227 ac_path_to_link=" -L$ac_find_libraries"
29228 fi
29229 fi
29230
29231 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29232 else
29233 save_CFLAGS=$CFLAGS
29234 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29235 save_LIBS="$LIBS"
29236 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29237
29238 cat >conftest.$ac_ext <<_ACEOF
29239 /* confdefs.h. */
29240 _ACEOF
29241 cat confdefs.h >>conftest.$ac_ext
29242 cat >>conftest.$ac_ext <<_ACEOF
29243 /* end confdefs.h. */
29244
29245 #include <Xm/Xm.h>
29246
29247 int
29248 main ()
29249 {
29250
29251 int version;
29252 version = xmUseVersion;
29253
29254 ;
29255 return 0;
29256 }
29257 _ACEOF
29258 rm -f conftest.$ac_objext conftest$ac_exeext
29259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29260 (eval $ac_link) 2>conftest.er1
29261 ac_status=$?
29262 grep -v '^ *+' conftest.er1 >conftest.err
29263 rm -f conftest.er1
29264 cat conftest.err >&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } &&
29267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try='test -s conftest$ac_exeext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29276 ac_status=$?
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29279
29280 echo "$as_me:$LINENO: result: found in default search path" >&5
29281 echo "${ECHO_T}found in default search path" >&6
29282 COMPILED_X_PROGRAM=1
29283
29284 else
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.$ac_ext >&5
29287
29288
29289 echo "$as_me:$LINENO: result: no" >&5
29290 echo "${ECHO_T}no" >&6
29291 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29292 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29293 { (exit 1); exit 1; }; }
29294
29295
29296 fi
29297 rm -f conftest.err conftest.$ac_objext \
29298 conftest$ac_exeext conftest.$ac_ext
29299
29300 CFLAGS=$save_CFLAGS
29301 LIBS="$save_LIBS"
29302 fi
29303
29304 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29305 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29306 libp_link=""
29307 libsm_ice_link=""
29308 libs_found=0
29309 for libp in "" " -lXp"; do
29310 if test "$libs_found" = "0"; then
29311 for libsm_ice in "" " -lSM -lICE"; do
29312 if test "$libs_found" = "0"; then
29313 save_LIBS="$LIBS"
29314 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29315 save_CFLAGS=$CFLAGS
29316 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29317
29318 cat >conftest.$ac_ext <<_ACEOF
29319 /* confdefs.h. */
29320 _ACEOF
29321 cat confdefs.h >>conftest.$ac_ext
29322 cat >>conftest.$ac_ext <<_ACEOF
29323 /* end confdefs.h. */
29324
29325 #include <Xm/Xm.h>
29326 #include <Xm/List.h>
29327
29328 int
29329 main ()
29330 {
29331
29332 XmString string = NULL;
29333 Widget w = NULL;
29334 int position = 0;
29335 XmListAddItem(w, string, position);
29336
29337 ;
29338 return 0;
29339 }
29340 _ACEOF
29341 rm -f conftest.$ac_objext conftest$ac_exeext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29343 (eval $ac_link) 2>conftest.er1
29344 ac_status=$?
29345 grep -v '^ *+' conftest.er1 >conftest.err
29346 rm -f conftest.er1
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try='test -s conftest$ac_exeext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29359 ac_status=$?
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29362
29363 libp_link="$libp"
29364 libsm_ice_link="$libsm_ice"
29365 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29366 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29367 libs_found=1
29368
29369 else
29370 echo "$as_me: failed program was:" >&5
29371 sed 's/^/| /' conftest.$ac_ext >&5
29372
29373
29374
29375 fi
29376 rm -f conftest.err conftest.$ac_objext \
29377 conftest$ac_exeext conftest.$ac_ext
29378
29379 LIBS="$save_LIBS"
29380 CFLAGS=$save_CFLAGS
29381 fi
29382 done
29383 fi
29384 done
29385
29386 if test "$libs_found" = "0"; then
29387 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29388 echo "${ECHO_T}can't find the right libraries" >&6
29389 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29390 echo "$as_me: error: can't link a simple motif program" >&2;}
29391 { (exit 1); exit 1; }; }
29392 fi
29393
29394 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29395 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29396 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29398 else
29399 ac_check_lib_save_LIBS=$LIBS
29400 LIBS="-lSgm $LIBS"
29401 cat >conftest.$ac_ext <<_ACEOF
29402 /* confdefs.h. */
29403 _ACEOF
29404 cat confdefs.h >>conftest.$ac_ext
29405 cat >>conftest.$ac_ext <<_ACEOF
29406 /* end confdefs.h. */
29407
29408 /* Override any gcc2 internal prototype to avoid an error. */
29409 #ifdef __cplusplus
29410 extern "C"
29411 #endif
29412 /* We use char because int might match the return type of a gcc2
29413 builtin and then its argument prototype would still apply. */
29414 char SgCreateList ();
29415 int
29416 main ()
29417 {
29418 SgCreateList ();
29419 ;
29420 return 0;
29421 }
29422 _ACEOF
29423 rm -f conftest.$ac_objext conftest$ac_exeext
29424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29425 (eval $ac_link) 2>conftest.er1
29426 ac_status=$?
29427 grep -v '^ *+' conftest.er1 >conftest.err
29428 rm -f conftest.er1
29429 cat conftest.err >&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } &&
29432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29434 (eval $ac_try) 2>&5
29435 ac_status=$?
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; } &&
29438 { ac_try='test -s conftest$ac_exeext'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29441 ac_status=$?
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; }; then
29444 ac_cv_lib_Sgm_SgCreateList=yes
29445 else
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.$ac_ext >&5
29448
29449 ac_cv_lib_Sgm_SgCreateList=no
29450 fi
29451 rm -f conftest.err conftest.$ac_objext \
29452 conftest$ac_exeext conftest.$ac_ext
29453 LIBS=$ac_check_lib_save_LIBS
29454 fi
29455 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29456 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29457 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29458 libsgm_link=" -lSgm"
29459 fi
29460
29461
29462 save_CFLAGS=$CFLAGS
29463 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29464
29465 echo "$as_me:$LINENO: checking for Motif 2" >&5
29466 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29467 if test "${wx_cv_lib_motif2+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29469 else
29470 cat >conftest.$ac_ext <<_ACEOF
29471 /* confdefs.h. */
29472 _ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476
29477 #include <Xm/Xm.h>
29478
29479 int
29480 main ()
29481 {
29482
29483 #if XmVersion < 2000
29484 Not Motif 2
29485 #endif
29486
29487 ;
29488 return 0;
29489 }
29490 _ACEOF
29491 rm -f conftest.$ac_objext
29492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29493 (eval $ac_compile) 2>conftest.er1
29494 ac_status=$?
29495 grep -v '^ *+' conftest.er1 >conftest.err
29496 rm -f conftest.er1
29497 cat conftest.err >&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } &&
29500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29502 (eval $ac_try) 2>&5
29503 ac_status=$?
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); }; } &&
29506 { ac_try='test -s conftest.$ac_objext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29509 ac_status=$?
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 wx_cv_lib_motif2="yes"
29513 else
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29516
29517 wx_cv_lib_motif2="no"
29518 fi
29519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29520 fi
29521 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29522 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29523 if test "$wx_cv_lib_motif2" = "yes"; then
29524 cat >>confdefs.h <<\_ACEOF
29525 #define __WXMOTIF20__ 1
29526 _ACEOF
29527
29528 else
29529 cat >>confdefs.h <<\_ACEOF
29530 #define __WXMOTIF20__ 0
29531 _ACEOF
29532
29533 fi
29534
29535 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29536 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29537 if test "${wx_cv_lib_lesstif+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29540 cat >conftest.$ac_ext <<_ACEOF
29541 /* confdefs.h. */
29542 _ACEOF
29543 cat confdefs.h >>conftest.$ac_ext
29544 cat >>conftest.$ac_ext <<_ACEOF
29545 /* end confdefs.h. */
29546
29547 #include <Xm/Xm.h>
29548
29549 int
29550 main ()
29551 {
29552
29553 #if !defined(LesstifVersion) || LesstifVersion <= 0
29554 Not Lesstif
29555 #endif
29556
29557 ;
29558 return 0;
29559 }
29560 _ACEOF
29561 rm -f conftest.$ac_objext
29562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29563 (eval $ac_compile) 2>conftest.er1
29564 ac_status=$?
29565 grep -v '^ *+' conftest.er1 >conftest.err
29566 rm -f conftest.er1
29567 cat conftest.err >&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } &&
29570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29572 (eval $ac_try) 2>&5
29573 ac_status=$?
29574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575 (exit $ac_status); }; } &&
29576 { ac_try='test -s conftest.$ac_objext'
29577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29578 (eval $ac_try) 2>&5
29579 ac_status=$?
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); }; }; then
29582 wx_cv_lib_lesstif="yes"
29583 else
29584 echo "$as_me: failed program was:" >&5
29585 sed 's/^/| /' conftest.$ac_ext >&5
29586
29587 wx_cv_lib_lesstif="no"
29588 fi
29589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29590
29591 fi
29592 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29593 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29594 if test "$wx_cv_lib_lesstif" = "yes"; then
29595 cat >>confdefs.h <<\_ACEOF
29596 #define __WXLESSTIF__ 1
29597 _ACEOF
29598
29599 else
29600 cat >>confdefs.h <<\_ACEOF
29601 #define __WXLESSTIF__ 0
29602 _ACEOF
29603
29604 fi
29605
29606 CFLAGS=$save_CFLAGS
29607
29608 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29609 TOOLKIT=MOTIF
29610 GUIDIST=MOTIF_DIST
29611 fi
29612
29613 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29614 if test "$wxUSE_LIBXPM" = "sys"; then
29615 echo "$as_me:$LINENO: checking for Xpm library" >&5
29616 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29617
29618 ac_find_libraries=
29619 for ac_dir in $SEARCH_LIB;
29620 do
29621 for ac_extension in a so sl dylib dll.a; do
29622 if test -f "$ac_dir/libXpm.$ac_extension"; then
29623 ac_find_libraries=$ac_dir
29624 break 2
29625 fi
29626 done
29627 done
29628
29629 if test "$ac_find_libraries" != "" ; then
29630
29631 if test "$ac_find_libraries" = "default location"; then
29632 ac_path_to_link=""
29633 else
29634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29635 result=$?
29636 if test $result = 0; then
29637 ac_path_to_link=""
29638 else
29639 ac_path_to_link=" -L$ac_find_libraries"
29640 fi
29641 fi
29642
29643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29644 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29645 echo "${ECHO_T}found in $ac_find_libraries" >&6
29646
29647 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29648 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29649 if test "${wx_cv_x11_xpm_h+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 else
29652
29653 save_CFLAGS=$CFLAGS
29654 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29655
29656 cat >conftest.$ac_ext <<_ACEOF
29657 /* confdefs.h. */
29658 _ACEOF
29659 cat confdefs.h >>conftest.$ac_ext
29660 cat >>conftest.$ac_ext <<_ACEOF
29661 /* end confdefs.h. */
29662
29663 #include <X11/xpm.h>
29664
29665 int
29666 main ()
29667 {
29668
29669 int version;
29670 version = XpmLibraryVersion();
29671
29672 ;
29673 return 0;
29674 }
29675 _ACEOF
29676 rm -f conftest.$ac_objext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29678 (eval $ac_compile) 2>conftest.er1
29679 ac_status=$?
29680 grep -v '^ *+' conftest.er1 >conftest.err
29681 rm -f conftest.er1
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } &&
29685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29688 ac_status=$?
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29694 ac_status=$?
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_x11_xpm_h=yes
29698 else
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.$ac_ext >&5
29701
29702 wx_cv_x11_xpm_h=no
29703
29704 fi
29705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29706
29707 CFLAGS=$save_CFLAGS
29708
29709
29710 fi
29711 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29712 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29713
29714 if test $wx_cv_x11_xpm_h = "yes"; then
29715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
29716 cat >>confdefs.h <<\_ACEOF
29717 #define wxHAVE_LIB_XPM 1
29718 _ACEOF
29719
29720 else
29721 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29722 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29723 fi
29724 fi
29725
29726 fi
29727
29728 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29729 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29730 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29731 echo $ECHO_N "(cached) $ECHO_C" >&6
29732 else
29733 ac_check_lib_save_LIBS=$LIBS
29734 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29735 cat >conftest.$ac_ext <<_ACEOF
29736 /* confdefs.h. */
29737 _ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h. */
29741
29742 /* Override any gcc2 internal prototype to avoid an error. */
29743 #ifdef __cplusplus
29744 extern "C"
29745 #endif
29746 /* We use char because int might match the return type of a gcc2
29747 builtin and then its argument prototype would still apply. */
29748 char XShapeQueryExtension ();
29749 int
29750 main ()
29751 {
29752 XShapeQueryExtension ();
29753 ;
29754 return 0;
29755 }
29756 _ACEOF
29757 rm -f conftest.$ac_objext conftest$ac_exeext
29758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29759 (eval $ac_link) 2>conftest.er1
29760 ac_status=$?
29761 grep -v '^ *+' conftest.er1 >conftest.err
29762 rm -f conftest.er1
29763 cat conftest.err >&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); } &&
29766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; } &&
29772 { ac_try='test -s conftest$ac_exeext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29775 ac_status=$?
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29778 ac_cv_lib_Xext_XShapeQueryExtension=yes
29779 else
29780 echo "$as_me: failed program was:" >&5
29781 sed 's/^/| /' conftest.$ac_ext >&5
29782
29783 ac_cv_lib_Xext_XShapeQueryExtension=no
29784 fi
29785 rm -f conftest.err conftest.$ac_objext \
29786 conftest$ac_exeext conftest.$ac_ext
29787 LIBS=$ac_check_lib_save_LIBS
29788 fi
29789 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29790 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29791 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29792
29793 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
29794 wxHAVE_XEXT_LIB=1
29795
29796 fi
29797
29798
29799 if test "$wxHAVE_XEXT_LIB" = 1; then
29800 save_CFLAGS="$CFLAGS"
29801 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29802
29803 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29804 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h. */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811
29812 #include <X11/Xlib.h>
29813 #include <X11/extensions/shape.h>
29814
29815 int
29816 main ()
29817 {
29818
29819 int dummy1, dummy2;
29820 XShapeQueryExtension((Display*)NULL,
29821 (int*)NULL, (int*)NULL);
29822
29823 ;
29824 return 0;
29825 }
29826 _ACEOF
29827 rm -f conftest.$ac_objext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29829 (eval $ac_compile) 2>conftest.er1
29830 ac_status=$?
29831 grep -v '^ *+' conftest.er1 >conftest.err
29832 rm -f conftest.er1
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try='test -s conftest.$ac_objext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848
29849 cat >>confdefs.h <<\_ACEOF
29850 #define HAVE_XSHAPE 1
29851 _ACEOF
29852
29853 echo "$as_me:$LINENO: result: found" >&5
29854 echo "${ECHO_T}found" >&6
29855
29856 else
29857 echo "$as_me: failed program was:" >&5
29858 sed 's/^/| /' conftest.$ac_ext >&5
29859
29860
29861 echo "$as_me:$LINENO: result: not found" >&5
29862 echo "${ECHO_T}not found" >&6
29863
29864 fi
29865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29866 CFLAGS="$save_CFLAGS"
29867
29868 fi
29869 fi
29870
29871 if test "$wxUSE_MAC" = 1; then
29872 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29873 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29874 if test "$GCC" = yes; then
29875 echo "$as_me:$LINENO: result: gcc" >&5
29876 echo "${ECHO_T}gcc" >&6
29877 CPPFLAGS_PASCAL="-fpascal-strings"
29878 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29879 echo "$as_me:$LINENO: result: xlc" >&5
29880 echo "${ECHO_T}xlc" >&6
29881 CPPFLAGS_PASCAL="-qmacpstr"
29882 else
29883 echo "$as_me:$LINENO: result: none" >&5
29884 echo "${ECHO_T}none" >&6
29885 fi
29886
29887 if test "x$wxUSE_UNIX" = "xyes"; then
29888 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29889 else
29890 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29891 fi
29892
29893 TOOLKIT=MAC
29894 GUIDIST=MACX_DIST
29895 WXBASEPORT="_carbon"
29896 fi
29897
29898 if test "$wxUSE_COCOA" = 1; then
29899 TOOLKIT=COCOA
29900 GUIDIST=COCOA_DIST
29901 fi
29902
29903 if test "$wxUSE_PM" = 1; then
29904 TOOLKIT=PM
29905 GUIDIST=PM_DIST
29906 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29907 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29908 if test "${wx_cv_spbcdata+set}" = set; then
29909 echo $ECHO_N "(cached) $ECHO_C" >&6
29910 else
29911
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918
29919 #define INCL_PM
29920 #include <os2.h>
29921
29922 int
29923 main ()
29924 {
29925
29926 SPBCDATA test;
29927
29928 ;
29929 return 0;
29930 }
29931 _ACEOF
29932 rm -f conftest.$ac_objext
29933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29934 (eval $ac_compile) 2>conftest.er1
29935 ac_status=$?
29936 grep -v '^ *+' conftest.er1 >conftest.err
29937 rm -f conftest.er1
29938 cat conftest.err >&5
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); } &&
29941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; } &&
29947 { ac_try='test -s conftest.$ac_objext'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; }; then
29953 wx_cv_spbcdata=yes
29954 else
29955 echo "$as_me: failed program was:" >&5
29956 sed 's/^/| /' conftest.$ac_ext >&5
29957
29958 wx_cv_spbcdata=no
29959
29960 fi
29961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29962
29963
29964 fi
29965 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29966 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29967
29968 if test $wx_cv_spbcdata = "yes"; then
29969 cat >>confdefs.h <<\_ACEOF
29970 #define HAVE_SPBCDATA 1
29971 _ACEOF
29972
29973 fi
29974 fi
29975
29976 if test "$TOOLKIT" = "PM" ; then
29977 TOOLKIT_DIR="os2"
29978 else
29979 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29980 fi
29981
29982 if test "$wxUSE_UNIVERSAL" = "yes"; then
29983 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29984 WIDGET_SET=univ
29985 fi
29986
29987 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29988 DISTDIR="wx\$(TOOLKIT)"
29989 else
29990 USE_GUI=0
29991
29992 TOOLKIT_DIR="base"
29993
29994 if test "$USE_WIN32" = 1 ; then
29995 TOOLKIT="MSW"
29996 fi
29997
29998 GUIDIST="BASE_DIST"
29999 DISTDIR="wxBase"
30000 fi
30001
30002
30003 if test "$wxUSE_GUI" = "yes"; then
30004 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30005
30006 for ac_header in X11/Xlib.h
30007 do
30008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30010 echo "$as_me:$LINENO: checking for $ac_header" >&5
30011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 fi
30015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30017 else
30018 # Is the header compilable?
30019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30021 cat >conftest.$ac_ext <<_ACEOF
30022 /* confdefs.h. */
30023 _ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30027 $ac_includes_default
30028 #include <$ac_header>
30029 _ACEOF
30030 rm -f conftest.$ac_objext
30031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30032 (eval $ac_compile) 2>conftest.er1
30033 ac_status=$?
30034 grep -v '^ *+' conftest.er1 >conftest.err
30035 rm -f conftest.er1
30036 cat conftest.err >&5
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30042 ac_status=$?
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; } &&
30045 { ac_try='test -s conftest.$ac_objext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30048 ac_status=$?
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 ac_header_compiler=yes
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30055
30056 ac_header_compiler=no
30057 fi
30058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30060 echo "${ECHO_T}$ac_header_compiler" >&6
30061
30062 # Is the header present?
30063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30065 cat >conftest.$ac_ext <<_ACEOF
30066 /* confdefs.h. */
30067 _ACEOF
30068 cat confdefs.h >>conftest.$ac_ext
30069 cat >>conftest.$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30071 #include <$ac_header>
30072 _ACEOF
30073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30075 ac_status=$?
30076 grep -v '^ *+' conftest.er1 >conftest.err
30077 rm -f conftest.er1
30078 cat conftest.err >&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } >/dev/null; then
30081 if test -s conftest.err; then
30082 ac_cpp_err=$ac_c_preproc_warn_flag
30083 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30084 else
30085 ac_cpp_err=
30086 fi
30087 else
30088 ac_cpp_err=yes
30089 fi
30090 if test -z "$ac_cpp_err"; then
30091 ac_header_preproc=yes
30092 else
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.$ac_ext >&5
30095
30096 ac_header_preproc=no
30097 fi
30098 rm -f conftest.err conftest.$ac_ext
30099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30100 echo "${ECHO_T}$ac_header_preproc" >&6
30101
30102 # So? What about this header?
30103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30104 yes:no: )
30105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30109 ac_header_preproc=yes
30110 ;;
30111 no:yes:* )
30112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30124 (
30125 cat <<\_ASBOX
30126 ## ----------------------------------------- ##
30127 ## Report this to wx-dev@lists.wxwidgets.org ##
30128 ## ----------------------------------------- ##
30129 _ASBOX
30130 ) |
30131 sed "s/^/$as_me: WARNING: /" >&2
30132 ;;
30133 esac
30134 echo "$as_me:$LINENO: checking for $ac_header" >&5
30135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30137 echo $ECHO_N "(cached) $ECHO_C" >&6
30138 else
30139 eval "$as_ac_Header=\$ac_header_preproc"
30140 fi
30141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30143
30144 fi
30145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30146 cat >>confdefs.h <<_ACEOF
30147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30148 _ACEOF
30149
30150 fi
30151
30152 done
30153
30154
30155 for ac_header in X11/XKBlib.h
30156 do
30157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30158 echo "$as_me:$LINENO: checking for $ac_header" >&5
30159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30162 else
30163 cat >conftest.$ac_ext <<_ACEOF
30164 /* confdefs.h. */
30165 _ACEOF
30166 cat confdefs.h >>conftest.$ac_ext
30167 cat >>conftest.$ac_ext <<_ACEOF
30168 /* end confdefs.h. */
30169
30170 #if HAVE_X11_XLIB_H
30171 #include <X11/Xlib.h>
30172 #endif
30173
30174
30175 #include <$ac_header>
30176 _ACEOF
30177 rm -f conftest.$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30180 ac_status=$?
30181 grep -v '^ *+' conftest.er1 >conftest.err
30182 rm -f conftest.er1
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30189 ac_status=$?
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; } &&
30192 { ac_try='test -s conftest.$ac_objext'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30195 ac_status=$?
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; }; then
30198 eval "$as_ac_Header=yes"
30199 else
30200 echo "$as_me: failed program was:" >&5
30201 sed 's/^/| /' conftest.$ac_ext >&5
30202
30203 eval "$as_ac_Header=no"
30204 fi
30205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30206 fi
30207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30210 cat >>confdefs.h <<_ACEOF
30211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30212 _ACEOF
30213
30214 fi
30215
30216 done
30217
30218 fi
30219 fi
30220
30221
30222
30223 IODBC_C_SRC=""
30224
30225
30226 if test "$TOOLKIT" != "MSW" ; then
30227
30228 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30229
30230 if test "${ac_cv_header_sql_h+set}" = set; then
30231 echo "$as_me:$LINENO: checking for sql.h" >&5
30232 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30233 if test "${ac_cv_header_sql_h+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30235 fi
30236 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30237 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30238 else
30239 # Is the header compilable?
30240 echo "$as_me:$LINENO: checking sql.h usability" >&5
30241 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30242 cat >conftest.$ac_ext <<_ACEOF
30243 /* confdefs.h. */
30244 _ACEOF
30245 cat confdefs.h >>conftest.$ac_ext
30246 cat >>conftest.$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248 $ac_includes_default
30249 #include <sql.h>
30250 _ACEOF
30251 rm -f conftest.$ac_objext
30252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30253 (eval $ac_compile) 2>conftest.er1
30254 ac_status=$?
30255 grep -v '^ *+' conftest.er1 >conftest.err
30256 rm -f conftest.er1
30257 cat conftest.err >&5
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); } &&
30260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30263 ac_status=$?
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; } &&
30266 { ac_try='test -s conftest.$ac_objext'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30269 ac_status=$?
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; }; then
30272 ac_header_compiler=yes
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30276
30277 ac_header_compiler=no
30278 fi
30279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30281 echo "${ECHO_T}$ac_header_compiler" >&6
30282
30283 # Is the header present?
30284 echo "$as_me:$LINENO: checking sql.h presence" >&5
30285 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30286 cat >conftest.$ac_ext <<_ACEOF
30287 /* confdefs.h. */
30288 _ACEOF
30289 cat confdefs.h >>conftest.$ac_ext
30290 cat >>conftest.$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30292 #include <sql.h>
30293 _ACEOF
30294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30296 ac_status=$?
30297 grep -v '^ *+' conftest.er1 >conftest.err
30298 rm -f conftest.er1
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } >/dev/null; then
30302 if test -s conftest.err; then
30303 ac_cpp_err=$ac_c_preproc_warn_flag
30304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30305 else
30306 ac_cpp_err=
30307 fi
30308 else
30309 ac_cpp_err=yes
30310 fi
30311 if test -z "$ac_cpp_err"; then
30312 ac_header_preproc=yes
30313 else
30314 echo "$as_me: failed program was:" >&5
30315 sed 's/^/| /' conftest.$ac_ext >&5
30316
30317 ac_header_preproc=no
30318 fi
30319 rm -f conftest.err conftest.$ac_ext
30320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30321 echo "${ECHO_T}$ac_header_preproc" >&6
30322
30323 # So? What about this header?
30324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30325 yes:no: )
30326 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30327 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30328 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30329 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30330 ac_header_preproc=yes
30331 ;;
30332 no:yes:* )
30333 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30334 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30335 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30336 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30337 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30338 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30339 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30340 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30341 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30342 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30343 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30344 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30345 (
30346 cat <<\_ASBOX
30347 ## ----------------------------------------- ##
30348 ## Report this to wx-dev@lists.wxwidgets.org ##
30349 ## ----------------------------------------- ##
30350 _ASBOX
30351 ) |
30352 sed "s/^/$as_me: WARNING: /" >&2
30353 ;;
30354 esac
30355 echo "$as_me:$LINENO: checking for sql.h" >&5
30356 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30357 if test "${ac_cv_header_sql_h+set}" = set; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 else
30360 ac_cv_header_sql_h=$ac_header_preproc
30361 fi
30362 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30363 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30364
30365 fi
30366 if test $ac_cv_header_sql_h = yes; then
30367 found_sql_h=1
30368 fi
30369
30370
30371 if test "x$found_sql_h" = "x1" ; then
30372 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30373 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30374 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30375 echo $ECHO_N "(cached) $ECHO_C" >&6
30376 else
30377 ac_check_lib_save_LIBS=$LIBS
30378 LIBS="-liodbc $LIBS"
30379 cat >conftest.$ac_ext <<_ACEOF
30380 /* confdefs.h. */
30381 _ACEOF
30382 cat confdefs.h >>conftest.$ac_ext
30383 cat >>conftest.$ac_ext <<_ACEOF
30384 /* end confdefs.h. */
30385
30386 /* Override any gcc2 internal prototype to avoid an error. */
30387 #ifdef __cplusplus
30388 extern "C"
30389 #endif
30390 /* We use char because int might match the return type of a gcc2
30391 builtin and then its argument prototype would still apply. */
30392 char SQLAllocEnv ();
30393 int
30394 main ()
30395 {
30396 SQLAllocEnv ();
30397 ;
30398 return 0;
30399 }
30400 _ACEOF
30401 rm -f conftest.$ac_objext conftest$ac_exeext
30402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30403 (eval $ac_link) 2>conftest.er1
30404 ac_status=$?
30405 grep -v '^ *+' conftest.er1 >conftest.err
30406 rm -f conftest.er1
30407 cat conftest.err >&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); } &&
30410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; } &&
30416 { ac_try='test -s conftest$ac_exeext'
30417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30418 (eval $ac_try) 2>&5
30419 ac_status=$?
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); }; }; then
30422 ac_cv_lib_iodbc_SQLAllocEnv=yes
30423 else
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.$ac_ext >&5
30426
30427 ac_cv_lib_iodbc_SQLAllocEnv=no
30428 fi
30429 rm -f conftest.err conftest.$ac_objext \
30430 conftest$ac_exeext conftest.$ac_ext
30431 LIBS=$ac_check_lib_save_LIBS
30432 fi
30433 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30434 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30435 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30436 ODBC_LINK=" -liodbc"
30437 else
30438
30439 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30440 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30441 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30442 echo $ECHO_N "(cached) $ECHO_C" >&6
30443 else
30444 ac_check_lib_save_LIBS=$LIBS
30445 LIBS="-lunixodbc $LIBS"
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h. */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452
30453 /* Override any gcc2 internal prototype to avoid an error. */
30454 #ifdef __cplusplus
30455 extern "C"
30456 #endif
30457 /* We use char because int might match the return type of a gcc2
30458 builtin and then its argument prototype would still apply. */
30459 char SQLAllocEnv ();
30460 int
30461 main ()
30462 {
30463 SQLAllocEnv ();
30464 ;
30465 return 0;
30466 }
30467 _ACEOF
30468 rm -f conftest.$ac_objext conftest$ac_exeext
30469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30470 (eval $ac_link) 2>conftest.er1
30471 ac_status=$?
30472 grep -v '^ *+' conftest.er1 >conftest.err
30473 rm -f conftest.er1
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } &&
30477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30480 ac_status=$?
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; } &&
30483 { ac_try='test -s conftest$ac_exeext'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30490 else
30491 echo "$as_me: failed program was:" >&5
30492 sed 's/^/| /' conftest.$ac_ext >&5
30493
30494 ac_cv_lib_unixodbc_SQLAllocEnv=no
30495 fi
30496 rm -f conftest.err conftest.$ac_objext \
30497 conftest$ac_exeext conftest.$ac_ext
30498 LIBS=$ac_check_lib_save_LIBS
30499 fi
30500 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30501 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30502 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30503 ODBC_LINK=" -lunixodbc"
30504 else
30505
30506 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30507 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30508 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30510 else
30511 ac_check_lib_save_LIBS=$LIBS
30512 LIBS="-lodbc $LIBS"
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519
30520 /* Override any gcc2 internal prototype to avoid an error. */
30521 #ifdef __cplusplus
30522 extern "C"
30523 #endif
30524 /* We use char because int might match the return type of a gcc2
30525 builtin and then its argument prototype would still apply. */
30526 char SQLAllocEnv ();
30527 int
30528 main ()
30529 {
30530 SQLAllocEnv ();
30531 ;
30532 return 0;
30533 }
30534 _ACEOF
30535 rm -f conftest.$ac_objext conftest$ac_exeext
30536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30537 (eval $ac_link) 2>conftest.er1
30538 ac_status=$?
30539 grep -v '^ *+' conftest.er1 >conftest.err
30540 rm -f conftest.er1
30541 cat conftest.err >&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); } &&
30544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30547 ac_status=$?
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; } &&
30550 { ac_try='test -s conftest$ac_exeext'
30551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30552 (eval $ac_try) 2>&5
30553 ac_status=$?
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); }; }; then
30556 ac_cv_lib_odbc_SQLAllocEnv=yes
30557 else
30558 echo "$as_me: failed program was:" >&5
30559 sed 's/^/| /' conftest.$ac_ext >&5
30560
30561 ac_cv_lib_odbc_SQLAllocEnv=no
30562 fi
30563 rm -f conftest.err conftest.$ac_objext \
30564 conftest$ac_exeext conftest.$ac_ext
30565 LIBS=$ac_check_lib_save_LIBS
30566 fi
30567 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30568 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30569 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30570 ODBC_LINK=" -lodbc"
30571 fi
30572
30573
30574 fi
30575
30576
30577 fi
30578
30579 fi
30580 if test "x$ODBC_LINK" = "x" ; then
30581 if test "$wxUSE_ODBC" = "sys" ; then
30582 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30583 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30584 { (exit 1); exit 1; }; }
30585 else
30586 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30587 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30588 wxUSE_ODBC=builtin
30589 fi
30590 else
30591 wxUSE_ODBC=sys
30592 fi
30593 fi
30594
30595 if test "$wxUSE_ODBC" = "builtin" ; then
30596 cat >>confdefs.h <<\_ACEOF
30597 #define wxUSE_BUILTIN_IODBC 1
30598 _ACEOF
30599
30600 fi
30601 fi
30602
30603 if test "$wxUSE_ODBC" != "no" ; then
30604 cat >>confdefs.h <<\_ACEOF
30605 #define wxUSE_ODBC 1
30606 _ACEOF
30607
30608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
30609
30610 WXODBCFLAG="-D_IODBC_"
30611 fi
30612
30613
30614 if test "$wxUSE_DISPLAY" = "yes"; then
30615 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30616 echo "$as_me:$LINENO: checking for Xinerama" >&5
30617 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30618
30619 ac_find_libraries=
30620 for ac_dir in $SEARCH_LIB;
30621 do
30622 for ac_extension in a so sl dylib dll.a; do
30623 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30624 ac_find_libraries=$ac_dir
30625 break 2
30626 fi
30627 done
30628 done
30629
30630 if test "$ac_find_libraries" != "" ; then
30631
30632 if test "$ac_find_libraries" = "default location"; then
30633 ac_path_to_link=""
30634 else
30635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30636 result=$?
30637 if test $result = 0; then
30638 ac_path_to_link=""
30639 else
30640 ac_path_to_link=" -L$ac_find_libraries"
30641 fi
30642 fi
30643
30644 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30645 LDFLAGS="$LDFLAGS $ac_path_to_link"
30646 fi
30647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
30648 echo "$as_me:$LINENO: result: yes" >&5
30649 echo "${ECHO_T}yes" >&6
30650
30651 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30652 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30653
30654 ac_find_libraries=
30655 for ac_dir in $SEARCH_LIB;
30656 do
30657 for ac_extension in a so sl dylib dll.a; do
30658 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30659 ac_find_libraries=$ac_dir
30660 break 2
30661 fi
30662 done
30663 done
30664
30665 if test "$ac_find_libraries" != "" ; then
30666 echo "$as_me:$LINENO: result: yes" >&5
30667 echo "${ECHO_T}yes" >&6
30668
30669 for ac_header in X11/extensions/xf86vmode.h
30670 do
30671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30672 echo "$as_me:$LINENO: checking for $ac_header" >&5
30673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677 cat >conftest.$ac_ext <<_ACEOF
30678 /* confdefs.h. */
30679 _ACEOF
30680 cat confdefs.h >>conftest.$ac_ext
30681 cat >>conftest.$ac_ext <<_ACEOF
30682 /* end confdefs.h. */
30683
30684 #if HAVE_X11_XLIB_H
30685 #include <X11/Xlib.h>
30686 #endif
30687
30688
30689 #include <$ac_header>
30690 _ACEOF
30691 rm -f conftest.$ac_objext
30692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30693 (eval $ac_compile) 2>conftest.er1
30694 ac_status=$?
30695 grep -v '^ *+' conftest.er1 >conftest.err
30696 rm -f conftest.er1
30697 cat conftest.err >&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } &&
30700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; } &&
30706 { ac_try='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30709 ac_status=$?
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712 eval "$as_ac_Header=yes"
30713 else
30714 echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30716
30717 eval "$as_ac_Header=no"
30718 fi
30719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30720 fi
30721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30724 cat >>confdefs.h <<_ACEOF
30725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30726 _ACEOF
30727
30728 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
30729
30730 fi
30731
30732 done
30733
30734 else
30735 echo "$as_me:$LINENO: result: no" >&5
30736 echo "${ECHO_T}no" >&6
30737 fi
30738
30739 else
30740 echo "$as_me:$LINENO: result: no" >&5
30741 echo "${ECHO_T}no" >&6
30742 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30743 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30744 wxUSE_DISPLAY="no"
30745 fi
30746 elif test "$wxUSE_MSW" = 1; then
30747
30748
30749 for ac_header in multimon.h ddraw.h
30750 do
30751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30752 echo "$as_me:$LINENO: checking for $ac_header" >&5
30753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30755 echo $ECHO_N "(cached) $ECHO_C" >&6
30756 else
30757 cat >conftest.$ac_ext <<_ACEOF
30758 /* confdefs.h. */
30759 _ACEOF
30760 cat confdefs.h >>conftest.$ac_ext
30761 cat >>conftest.$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30763 #include <windows.h>
30764
30765 #include <$ac_header>
30766 _ACEOF
30767 rm -f conftest.$ac_objext
30768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30769 (eval $ac_compile) 2>conftest.er1
30770 ac_status=$?
30771 grep -v '^ *+' conftest.er1 >conftest.err
30772 rm -f conftest.er1
30773 cat conftest.err >&5
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); } &&
30776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30779 ac_status=$?
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; } &&
30782 { ac_try='test -s conftest.$ac_objext'
30783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30784 (eval $ac_try) 2>&5
30785 ac_status=$?
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30788 eval "$as_ac_Header=yes"
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30792
30793 eval "$as_ac_Header=no"
30794 fi
30795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30796 fi
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30800 cat >>confdefs.h <<_ACEOF
30801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30802 _ACEOF
30803
30804 else
30805
30806 wxUSE_DISPLAY="no"
30807 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30808 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30809
30810 fi
30811
30812 done
30813
30814 fi
30815 fi
30816
30817
30818 USE_OPENGL=0
30819 if test "$wxUSE_OPENGL" = "yes"; then
30820 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30821 OPENGL_LIBS="-framework OpenGL -framework AGL"
30822 elif test "$wxUSE_MSW" = 1; then
30823 OPENGL_LIBS="-lopengl32 -lglu32"
30824 else
30825
30826
30827 ac_find_includes=
30828 for ac_dir in $SEARCH_INCLUDE /usr/include;
30829 do
30830 if test -f "$ac_dir/GL/gl.h"; then
30831 ac_find_includes=$ac_dir
30832 break
30833 fi
30834 done
30835
30836 if test "$ac_find_includes" != "" ; then
30837 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30838 echo "${ECHO_T}found in $ac_find_includes" >&6
30839
30840 if test "x$ac_find_includes" = "x/usr/include"; then
30841 ac_path_to_include=""
30842 else
30843 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
30844 result=$?
30845 if test $result = 0; then
30846 ac_path_to_include=""
30847 else
30848 ac_path_to_include=" -I$ac_find_includes"
30849 fi
30850 fi
30851
30852 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
30853 fi
30854
30855 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30856 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30857 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30858 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30860 fi
30861 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30862 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30863 else
30864 # Is the header compilable?
30865 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30866 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30867 cat >conftest.$ac_ext <<_ACEOF
30868 /* confdefs.h. */
30869 _ACEOF
30870 cat confdefs.h >>conftest.$ac_ext
30871 cat >>conftest.$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873 $ac_includes_default
30874 #include <GL/gl.h>
30875 _ACEOF
30876 rm -f conftest.$ac_objext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30878 (eval $ac_compile) 2>conftest.er1
30879 ac_status=$?
30880 grep -v '^ *+' conftest.er1 >conftest.err
30881 rm -f conftest.er1
30882 cat conftest.err >&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30888 ac_status=$?
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; } &&
30891 { ac_try='test -s conftest.$ac_objext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30894 ac_status=$?
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897 ac_header_compiler=yes
30898 else
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.$ac_ext >&5
30901
30902 ac_header_compiler=no
30903 fi
30904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30906 echo "${ECHO_T}$ac_header_compiler" >&6
30907
30908 # Is the header present?
30909 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30910 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30911 cat >conftest.$ac_ext <<_ACEOF
30912 /* confdefs.h. */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 #include <GL/gl.h>
30918 _ACEOF
30919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30921 ac_status=$?
30922 grep -v '^ *+' conftest.er1 >conftest.err
30923 rm -f conftest.er1
30924 cat conftest.err >&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } >/dev/null; then
30927 if test -s conftest.err; then
30928 ac_cpp_err=$ac_c_preproc_warn_flag
30929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30930 else
30931 ac_cpp_err=
30932 fi
30933 else
30934 ac_cpp_err=yes
30935 fi
30936 if test -z "$ac_cpp_err"; then
30937 ac_header_preproc=yes
30938 else
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30941
30942 ac_header_preproc=no
30943 fi
30944 rm -f conftest.err conftest.$ac_ext
30945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30946 echo "${ECHO_T}$ac_header_preproc" >&6
30947
30948 # So? What about this header?
30949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30950 yes:no: )
30951 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30952 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30953 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30954 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30955 ac_header_preproc=yes
30956 ;;
30957 no:yes:* )
30958 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30959 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30960 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30961 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30962 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30963 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30964 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30965 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30966 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30967 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30968 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30969 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30970 (
30971 cat <<\_ASBOX
30972 ## ----------------------------------------- ##
30973 ## Report this to wx-dev@lists.wxwidgets.org ##
30974 ## ----------------------------------------- ##
30975 _ASBOX
30976 ) |
30977 sed "s/^/$as_me: WARNING: /" >&2
30978 ;;
30979 esac
30980 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30981 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30982 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30983 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 else
30985 ac_cv_header_GL_gl_h=$ac_header_preproc
30986 fi
30987 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30988 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30989
30990 fi
30991 if test $ac_cv_header_GL_gl_h = yes; then
30992
30993 found_gl=0
30994
30995 echo "$as_me:$LINENO: checking for -lGL" >&5
30996 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30997
30998 ac_find_libraries=
30999 for ac_dir in $SEARCH_LIB;
31000 do
31001 for ac_extension in a so sl dylib dll.a; do
31002 if test -f "$ac_dir/libGL.$ac_extension"; then
31003 ac_find_libraries=$ac_dir
31004 break 2
31005 fi
31006 done
31007 done
31008
31009 if test "$ac_find_libraries" != "" ; then
31010 echo "$as_me:$LINENO: result: yes" >&5
31011 echo "${ECHO_T}yes" >&6
31012
31013
31014 if test "$ac_find_libraries" = "default location"; then
31015 ac_path_to_link=""
31016 else
31017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31018 result=$?
31019 if test $result = 0; then
31020 ac_path_to_link=""
31021 else
31022 ac_path_to_link=" -L$ac_find_libraries"
31023 fi
31024 fi
31025
31026 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31027 LDFLAGS_GL="$ac_path_to_link"
31028 fi
31029
31030 echo "$as_me:$LINENO: checking for -lGLU" >&5
31031 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31032
31033 ac_find_libraries=
31034 for ac_dir in $SEARCH_LIB;
31035 do
31036 for ac_extension in a so sl dylib dll.a; do
31037 if test -f "$ac_dir/libGLU.$ac_extension"; then
31038 ac_find_libraries=$ac_dir
31039 break 2
31040 fi
31041 done
31042 done
31043
31044 if test "$ac_find_libraries" != "" ; then
31045
31046 if test "$ac_find_libraries" = "default location"; then
31047 ac_path_to_link=""
31048 else
31049 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31050 result=$?
31051 if test $result = 0; then
31052 ac_path_to_link=""
31053 else
31054 ac_path_to_link=" -L$ac_find_libraries"
31055 fi
31056 fi
31057
31058 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31059 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31060 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31061 fi
31062
31063 found_gl=1
31064 OPENGL_LIBS="-lGL -lGLU"
31065 echo "$as_me:$LINENO: result: yes" >&5
31066 echo "${ECHO_T}yes" >&6
31067 else
31068 echo "$as_me:$LINENO: result: no" >&5
31069 echo "${ECHO_T}no" >&6
31070 fi
31071 else
31072 echo "$as_me:$LINENO: result: no" >&5
31073 echo "${ECHO_T}no" >&6
31074 fi
31075
31076 if test "$found_gl" != 1; then
31077 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31078 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31079
31080 ac_find_libraries=
31081 for ac_dir in $SEARCH_LIB;
31082 do
31083 for ac_extension in a so sl dylib dll.a; do
31084 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31085 ac_find_libraries=$ac_dir
31086 break 2
31087 fi
31088 done
31089 done
31090
31091 if test "$ac_find_libraries" != "" ; then
31092
31093 if test "$ac_find_libraries" = "default location"; then
31094 ac_path_to_link=""
31095 else
31096 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31097 result=$?
31098 if test $result = 0; then
31099 ac_path_to_link=""
31100 else
31101 ac_path_to_link=" -L$ac_find_libraries"
31102 fi
31103 fi
31104
31105 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31106 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31107 echo "$as_me:$LINENO: result: yes" >&5
31108 echo "${ECHO_T}yes" >&6
31109 else
31110 echo "$as_me:$LINENO: result: no" >&5
31111 echo "${ECHO_T}no" >&6
31112 fi
31113 fi
31114
31115 fi
31116
31117
31118
31119 if test "x$OPENGL_LIBS" = "x"; then
31120 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31121 echo "$as_me: error: OpenGL libraries not available" >&2;}
31122 { (exit 1); exit 1; }; }
31123 fi
31124 fi
31125
31126 if test "$wxUSE_OPENGL" = "yes"; then
31127 USE_OPENGL=1
31128 cat >>confdefs.h <<\_ACEOF
31129 #define wxUSE_OPENGL 1
31130 _ACEOF
31131
31132 cat >>confdefs.h <<\_ACEOF
31133 #define wxUSE_GLCANVAS 1
31134 _ACEOF
31135
31136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31137 fi
31138 fi
31139
31140
31141 if test -n "$TOOLKIT" ; then
31142 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31143 fi
31144
31145
31146
31147 if test "$wxUSE_SHARED" = "yes"; then
31148 case "${host}" in
31149 *-pc-msdosdjgpp )
31150 wxUSE_SHARED=no
31151 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31152 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31153 ;;
31154 esac
31155 fi
31156
31157 if test "$wxUSE_SHARED" = "yes"; then
31158
31159
31160 found_versioning=no
31161
31162
31163 if test $found_versioning = no ; then
31164 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31165 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31166 if test "${wx_cv_version_script+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 else
31169
31170 echo "VER_1 { *; };" >conftest.sym
31171 echo "int main() { return 0; }" >conftest.cpp
31172
31173 if { ac_try='
31174 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31175 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 (eval $ac_try) 2>&5
31178 ac_status=$?
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); }; } ; then
31181 if test -s conftest.stderr ; then
31182 wx_cv_version_script=no
31183 else
31184 wx_cv_version_script=yes
31185 fi
31186 else
31187 wx_cv_version_script=no
31188 fi
31189
31190 if test $wx_cv_version_script = yes
31191 then
31192 echo "struct B { virtual ~B() { } }; \
31193 struct D : public B { }; \
31194 void F() { D d; }" > conftest.cpp
31195
31196 if { ac_try='
31197 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31198 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31200 (eval $ac_try) 2>&5
31201 ac_status=$?
31202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31203 (exit $ac_status); }; } &&
31204 { ac_try='
31205 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31206 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; }
31212 then
31213 if { ac_try='
31214 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31215 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }
31221 then
31222 wx_cv_version_script=yes
31223 else
31224 wx_cv_version_script=no
31225 fi
31226 fi
31227 fi
31228
31229 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31230 rm -f conftest1.output conftest2.output conftest3.output
31231
31232 fi
31233 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31234 echo "${ECHO_T}$wx_cv_version_script" >&6
31235 if test $wx_cv_version_script = yes ; then
31236 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31237 fi
31238 fi
31239
31240
31241 case "${host}" in
31242 *-*-linux* | *-*-gnu* )
31243 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31244 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31245 ;;
31246
31247 *-*-solaris2* )
31248 if test "$GCC" = yes ; then
31249 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
31250
31251 saveLdflags="$LDFLAGS"
31252 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31253 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31254 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31255 cat >conftest.$ac_ext <<_ACEOF
31256 /* confdefs.h. */
31257 _ACEOF
31258 cat confdefs.h >>conftest.$ac_ext
31259 cat >>conftest.$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261
31262 int
31263 main ()
31264 {
31265
31266 ;
31267 return 0;
31268 }
31269 _ACEOF
31270 rm -f conftest.$ac_objext conftest$ac_exeext
31271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31272 (eval $ac_link) 2>conftest.er1
31273 ac_status=$?
31274 grep -v '^ *+' conftest.er1 >conftest.err
31275 rm -f conftest.er1
31276 cat conftest.err >&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); } &&
31279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try='test -s conftest$ac_exeext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31288 ac_status=$?
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31291
31292 echo "$as_me:$LINENO: result: yes" >&5
31293 echo "${ECHO_T}yes" >&6
31294 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31295 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31296
31297 else
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31300
31301
31302 echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6
31304 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31305 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31306 LDFLAGS="$saveLdflags -Wl,-R,/"
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313
31314 int
31315 main ()
31316 {
31317
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31325 ac_status=$?
31326 grep -v '^ *+' conftest.er1 >conftest.err
31327 rm -f conftest.er1
31328 cat conftest.err >&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; } &&
31337 { ac_try='test -s conftest$ac_exeext'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31340 ac_status=$?
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31343
31344 echo "$as_me:$LINENO: result: yes" >&5
31345 echo "${ECHO_T}yes" >&6
31346 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31347 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31348
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353
31354 echo "$as_me:$LINENO: result: no" >&5
31355 echo "${ECHO_T}no" >&6
31356
31357 fi
31358 rm -f conftest.err conftest.$ac_objext \
31359 conftest$ac_exeext conftest.$ac_ext
31360
31361 fi
31362 rm -f conftest.err conftest.$ac_objext \
31363 conftest$ac_exeext conftest.$ac_ext
31364 LDFLAGS="$saveLdflags"
31365 else
31366 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31367 WXCONFIG_RPATH="-R\$libdir"
31368 fi
31369 ;;
31370
31371 *-*-darwin* )
31372 install_name_tool=`which install_name_tool`
31373 if test "$install_name_tool" -a -x "$install_name_tool"; then
31374 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31375 cat <<EOF >change-install-names
31376 #!/bin/sh
31377 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31378 inst_cmd="install_name_tool "
31379 for i in \${libnames} ; do
31380 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31381 done
31382 \${inst_cmd} \${3}
31383 EOF
31384 chmod +x change-install-names
31385 fi
31386 ;;
31387
31388 *-*-cygwin* | *-*-mingw32* )
31389 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31390 ;;
31391
31392 *-*-hpux* )
31393 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31394 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31395 ;;
31396
31397 esac
31398
31399 if test $wxUSE_RPATH = "no"; then
31400 SAMPLES_RPATH_FLAG=''
31401 SAMPLES_RPATH_POSTLINK=''
31402 WXCONFIG_RPATH=''
31403 fi
31404
31405 SHARED=1
31406
31407 else
31408
31409 config_linkage_component="-static"
31410 SHARED=0
31411
31412 fi
31413
31414
31415 UNICODE=0
31416 lib_unicode_suffix=
31417 WX_CHARTYPE="ansi"
31418 if test "$wxUSE_UNICODE" = "yes"; then
31419 lib_unicode_suffix=u
31420 WX_CHARTYPE="unicode"
31421 UNICODE=1
31422 fi
31423
31424 lib_debug_suffix=
31425 WX_DEBUGTYPE="release"
31426 DEBUG_FLAG=0
31427 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31428 lib_debug_suffix=d
31429 WX_DEBUGTYPE="debug"
31430 DEBUG_FLAG=1
31431 fi
31432
31433 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31434 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31435
31436 DEBUG_INFO=0
31437 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31438 DEBUG_INFO=1
31439 fi
31440
31441 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31442
31443 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31444
31445 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31446
31447 if test "$cross_compiling" = "yes"; then
31448 HOST_SUFFIX="-$host_alias"
31449 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31450 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31451 fi
31452
31453 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31454 if test "${TOOLKIT_DIR}" = "os2"; then
31455 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31456 else
31457 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31458 fi
31459
31460
31461
31462 if test "$wxUSE_COCOA" = 1; then
31463
31464
31465 ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31470
31471 ac_ext=m
31472
31473 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31474 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31475 cat >conftest.$ac_ext <<_ACEOF
31476 /* confdefs.h. */
31477 _ACEOF
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31481 #include <AppKit/NSEvent.h>
31482 #include <CoreFoundation/CoreFoundation.h>
31483
31484 int
31485 main ()
31486 {
31487
31488 ;
31489 return 0;
31490 }
31491 _ACEOF
31492 rm -f conftest.$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494 (eval $ac_compile) 2>conftest.er1
31495 ac_status=$?
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31504 ac_status=$?
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; } &&
31507 { ac_try='test -s conftest.$ac_objext'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31510 ac_status=$?
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; }; then
31513 echo "$as_me:$LINENO: result: no" >&5
31514 echo "${ECHO_T}no" >&6
31515 else
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31518
31519 echo "$as_me:$LINENO: result: yes" >&5
31520 echo "${ECHO_T}yes" >&6
31521 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31522 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31523 cat >conftest.$ac_ext <<_ACEOF
31524 /* confdefs.h. */
31525 _ACEOF
31526 cat confdefs.h >>conftest.$ac_ext
31527 cat >>conftest.$ac_ext <<_ACEOF
31528 /* end confdefs.h. */
31529 #define __Point__ 1
31530 #include <AppKit/NSEvent.h>
31531 #include <CoreFoundation/CoreFoundation.h>
31532
31533 int
31534 main ()
31535 {
31536
31537 ;
31538 return 0;
31539 }
31540 _ACEOF
31541 rm -f conftest.$ac_objext
31542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31543 (eval $ac_compile) 2>conftest.er1
31544 ac_status=$?
31545 grep -v '^ *+' conftest.er1 >conftest.err
31546 rm -f conftest.er1
31547 cat conftest.err >&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } &&
31550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31553 ac_status=$?
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; } &&
31556 { ac_try='test -s conftest.$ac_objext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 echo "$as_me:$LINENO: result: yes" >&5
31563 echo "${ECHO_T}yes" >&6
31564 cat >>confdefs.h <<\_ACEOF
31565 #define __Point__ 1
31566 _ACEOF
31567
31568
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 { { echo "$as_me:$LINENO: error: no
31574 See \`config.log' for more details." >&5
31575 echo "$as_me: error: no
31576 See \`config.log' for more details." >&2;}
31577 { (exit 1); exit 1; }; }
31578
31579 fi
31580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31581
31582 fi
31583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31584 ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31589
31590 fi
31591
31592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31593 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31594 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31595
31596 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31597
31598 # Extract the first word of "Rez", so it can be a program name with args.
31599 set dummy Rez; ac_word=$2
31600 echo "$as_me:$LINENO: checking for $ac_word" >&5
31601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31602 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31603 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605 if test -n "$RESCOMP"; then
31606 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
31607 else
31608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31609 for as_dir in $PATH
31610 do
31611 IFS=$as_save_IFS
31612 test -z "$as_dir" && as_dir=.
31613 for ac_exec_ext in '' $ac_executable_extensions; do
31614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31615 ac_cv_prog_RESCOMP="Rez"
31616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31617 break 2
31618 fi
31619 done
31620 done
31621
31622 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
31623 fi
31624 fi
31625 RESCOMP=$ac_cv_prog_RESCOMP
31626 if test -n "$RESCOMP"; then
31627 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31628 echo "${ECHO_T}$RESCOMP" >&6
31629 else
31630 echo "$as_me:$LINENO: result: no" >&5
31631 echo "${ECHO_T}no" >&6
31632 fi
31633
31634 # Extract the first word of "DeRez", so it can be a program name with args.
31635 set dummy DeRez; ac_word=$2
31636 echo "$as_me:$LINENO: checking for $ac_word" >&5
31637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31638 if test "${ac_cv_prog_DEREZ+set}" = set; then
31639 echo $ECHO_N "(cached) $ECHO_C" >&6
31640 else
31641 if test -n "$DEREZ"; then
31642 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
31643 else
31644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31645 for as_dir in $PATH
31646 do
31647 IFS=$as_save_IFS
31648 test -z "$as_dir" && as_dir=.
31649 for ac_exec_ext in '' $ac_executable_extensions; do
31650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31651 ac_cv_prog_DEREZ="DeRez"
31652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31653 break 2
31654 fi
31655 done
31656 done
31657
31658 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
31659 fi
31660 fi
31661 DEREZ=$ac_cv_prog_DEREZ
31662 if test -n "$DEREZ"; then
31663 echo "$as_me:$LINENO: result: $DEREZ" >&5
31664 echo "${ECHO_T}$DEREZ" >&6
31665 else
31666 echo "$as_me:$LINENO: result: no" >&5
31667 echo "${ECHO_T}no" >&6
31668 fi
31669
31670 # Extract the first word of "SetFile", so it can be a program name with args.
31671 set dummy SetFile; ac_word=$2
31672 echo "$as_me:$LINENO: checking for $ac_word" >&5
31673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31674 if test "${ac_cv_prog_SETFILE+set}" = set; then
31675 echo $ECHO_N "(cached) $ECHO_C" >&6
31676 else
31677 if test -n "$SETFILE"; then
31678 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
31679 else
31680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31681 for as_dir in $PATH
31682 do
31683 IFS=$as_save_IFS
31684 test -z "$as_dir" && as_dir=.
31685 for ac_exec_ext in '' $ac_executable_extensions; do
31686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31687 ac_cv_prog_SETFILE="SetFile"
31688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31689 break 2
31690 fi
31691 done
31692 done
31693
31694 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
31695 fi
31696 fi
31697 SETFILE=$ac_cv_prog_SETFILE
31698 if test -n "$SETFILE"; then
31699 echo "$as_me:$LINENO: result: $SETFILE" >&5
31700 echo "${ECHO_T}$SETFILE" >&6
31701 else
31702 echo "$as_me:$LINENO: result: no" >&5
31703 echo "${ECHO_T}no" >&6
31704 fi
31705
31706
31707 MACSETFILE="\$(SETFILE)"
31708
31709 if test "$wxUSE_MAC" = 1; then
31710 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31711
31712 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31713 else
31714 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31715 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31716 fi
31717 else
31718 MACSETFILE="@true"
31719 MACRESWXCONFIG="@true"
31720
31721 if test "$wxUSE_PM" = 1; then
31722 MACRESCOMP="emxbind -ep"
31723 else
31724 MACRESCOMP="@true"
31725 fi
31726 fi
31727
31728
31729
31730 echo "$as_me:$LINENO: checking for mode_t" >&5
31731 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31732 if test "${ac_cv_type_mode_t+set}" = set; then
31733 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 else
31735 cat >conftest.$ac_ext <<_ACEOF
31736 /* confdefs.h. */
31737 _ACEOF
31738 cat confdefs.h >>conftest.$ac_ext
31739 cat >>conftest.$ac_ext <<_ACEOF
31740 /* end confdefs.h. */
31741 $ac_includes_default
31742 int
31743 main ()
31744 {
31745 if ((mode_t *) 0)
31746 return 0;
31747 if (sizeof (mode_t))
31748 return 0;
31749 ;
31750 return 0;
31751 }
31752 _ACEOF
31753 rm -f conftest.$ac_objext
31754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31755 (eval $ac_compile) 2>conftest.er1
31756 ac_status=$?
31757 grep -v '^ *+' conftest.er1 >conftest.err
31758 rm -f conftest.er1
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } &&
31762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31771 ac_status=$?
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 ac_cv_type_mode_t=yes
31775 else
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.$ac_ext >&5
31778
31779 ac_cv_type_mode_t=no
31780 fi
31781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782 fi
31783 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31784 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31785 if test $ac_cv_type_mode_t = yes; then
31786 :
31787 else
31788
31789 cat >>confdefs.h <<_ACEOF
31790 #define mode_t int
31791 _ACEOF
31792
31793 fi
31794
31795 echo "$as_me:$LINENO: checking for off_t" >&5
31796 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31797 if test "${ac_cv_type_off_t+set}" = set; then
31798 echo $ECHO_N "(cached) $ECHO_C" >&6
31799 else
31800 cat >conftest.$ac_ext <<_ACEOF
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 $ac_includes_default
31807 int
31808 main ()
31809 {
31810 if ((off_t *) 0)
31811 return 0;
31812 if (sizeof (off_t))
31813 return 0;
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 rm -f conftest.$ac_objext
31819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31820 (eval $ac_compile) 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } &&
31827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31830 ac_status=$?
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 ac_cv_type_off_t=yes
31840 else
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31843
31844 ac_cv_type_off_t=no
31845 fi
31846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31847 fi
31848 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31849 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31850 if test $ac_cv_type_off_t = yes; then
31851 :
31852 else
31853
31854 cat >>confdefs.h <<_ACEOF
31855 #define off_t long
31856 _ACEOF
31857
31858 fi
31859
31860 echo "$as_me:$LINENO: checking for pid_t" >&5
31861 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31862 if test "${ac_cv_type_pid_t+set}" = set; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31864 else
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h. */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871 $ac_includes_default
31872 int
31873 main ()
31874 {
31875 if ((pid_t *) 0)
31876 return 0;
31877 if (sizeof (pid_t))
31878 return 0;
31879 ;
31880 return 0;
31881 }
31882 _ACEOF
31883 rm -f conftest.$ac_objext
31884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31885 (eval $ac_compile) 2>conftest.er1
31886 ac_status=$?
31887 grep -v '^ *+' conftest.er1 >conftest.err
31888 rm -f conftest.er1
31889 cat conftest.err >&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } &&
31892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31895 ac_status=$?
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; } &&
31898 { ac_try='test -s conftest.$ac_objext'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31901 ac_status=$?
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31904 ac_cv_type_pid_t=yes
31905 else
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.$ac_ext >&5
31908
31909 ac_cv_type_pid_t=no
31910 fi
31911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31912 fi
31913 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31914 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31915 if test $ac_cv_type_pid_t = yes; then
31916 :
31917 else
31918
31919 cat >>confdefs.h <<_ACEOF
31920 #define pid_t int
31921 _ACEOF
31922
31923 fi
31924
31925 echo "$as_me:$LINENO: checking for size_t" >&5
31926 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31927 if test "${ac_cv_type_size_t+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930 cat >conftest.$ac_ext <<_ACEOF
31931 /* confdefs.h. */
31932 _ACEOF
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31936 $ac_includes_default
31937 int
31938 main ()
31939 {
31940 if ((size_t *) 0)
31941 return 0;
31942 if (sizeof (size_t))
31943 return 0;
31944 ;
31945 return 0;
31946 }
31947 _ACEOF
31948 rm -f conftest.$ac_objext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31950 (eval $ac_compile) 2>conftest.er1
31951 ac_status=$?
31952 grep -v '^ *+' conftest.er1 >conftest.err
31953 rm -f conftest.er1
31954 cat conftest.err >&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try='test -s conftest.$ac_objext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31966 ac_status=$?
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 ac_cv_type_size_t=yes
31970 else
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.$ac_ext >&5
31973
31974 ac_cv_type_size_t=no
31975 fi
31976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31977 fi
31978 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31979 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31980 if test $ac_cv_type_size_t = yes; then
31981 :
31982 else
31983
31984 cat >>confdefs.h <<_ACEOF
31985 #define size_t unsigned
31986 _ACEOF
31987
31988 fi
31989
31990 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31991 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31992 if test "${ac_cv_type_uid_t+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 cat >conftest.$ac_ext <<_ACEOF
31996 /* confdefs.h. */
31997 _ACEOF
31998 cat confdefs.h >>conftest.$ac_ext
31999 cat >>conftest.$ac_ext <<_ACEOF
32000 /* end confdefs.h. */
32001 #include <sys/types.h>
32002
32003 _ACEOF
32004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32005 $EGREP "uid_t" >/dev/null 2>&1; then
32006 ac_cv_type_uid_t=yes
32007 else
32008 ac_cv_type_uid_t=no
32009 fi
32010 rm -f conftest*
32011
32012 fi
32013 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32014 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32015 if test $ac_cv_type_uid_t = no; then
32016
32017 cat >>confdefs.h <<\_ACEOF
32018 #define uid_t int
32019 _ACEOF
32020
32021
32022 cat >>confdefs.h <<\_ACEOF
32023 #define gid_t int
32024 _ACEOF
32025
32026 fi
32027
32028
32029 echo "$as_me:$LINENO: checking for ssize_t" >&5
32030 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32031 if test "${ac_cv_type_ssize_t+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 else
32034 cat >conftest.$ac_ext <<_ACEOF
32035 /* confdefs.h. */
32036 _ACEOF
32037 cat confdefs.h >>conftest.$ac_ext
32038 cat >>conftest.$ac_ext <<_ACEOF
32039 /* end confdefs.h. */
32040 $ac_includes_default
32041 int
32042 main ()
32043 {
32044 if ((ssize_t *) 0)
32045 return 0;
32046 if (sizeof (ssize_t))
32047 return 0;
32048 ;
32049 return 0;
32050 }
32051 _ACEOF
32052 rm -f conftest.$ac_objext
32053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32054 (eval $ac_compile) 2>conftest.er1
32055 ac_status=$?
32056 grep -v '^ *+' conftest.er1 >conftest.err
32057 rm -f conftest.er1
32058 cat conftest.err >&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } &&
32061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32064 ac_status=$?
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; } &&
32067 { ac_try='test -s conftest.$ac_objext'
32068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32069 (eval $ac_try) 2>&5
32070 ac_status=$?
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); }; }; then
32073 ac_cv_type_ssize_t=yes
32074 else
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.$ac_ext >&5
32077
32078 ac_cv_type_ssize_t=no
32079 fi
32080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32081 fi
32082 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32083 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32084 if test $ac_cv_type_ssize_t = yes; then
32085
32086 cat >>confdefs.h <<_ACEOF
32087 #define HAVE_SSIZE_T 1
32088 _ACEOF
32089
32090
32091 fi
32092
32093
32094
32095
32096 ac_ext=cc
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32103 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32104 if test "${wx_cv_size_t_is_uint+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 else
32107
32108 cat >conftest.$ac_ext <<_ACEOF
32109 /* confdefs.h. */
32110 _ACEOF
32111 cat confdefs.h >>conftest.$ac_ext
32112 cat >>conftest.$ac_ext <<_ACEOF
32113 /* end confdefs.h. */
32114 #include <stddef.h>
32115 int
32116 main ()
32117 {
32118
32119 return 0; }
32120
32121 struct Foo { void foo(size_t); void foo(unsigned int); };
32122
32123 int bar() {
32124
32125 ;
32126 return 0;
32127 }
32128 _ACEOF
32129 rm -f conftest.$ac_objext
32130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32131 (eval $ac_compile) 2>conftest.er1
32132 ac_status=$?
32133 grep -v '^ *+' conftest.er1 >conftest.err
32134 rm -f conftest.er1
32135 cat conftest.err >&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; } &&
32144 { ac_try='test -s conftest.$ac_objext'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; }; then
32150 wx_cv_size_t_is_uint=no
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 wx_cv_size_t_is_uint=yes
32156
32157 fi
32158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32159
32160
32161 fi
32162 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32163 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32164
32165 if test "$wx_cv_size_t_is_uint" = "yes"; then
32166 cat >>confdefs.h <<\_ACEOF
32167 #define wxSIZE_T_IS_UINT 1
32168 _ACEOF
32169
32170 else
32171 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32172 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32173 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32174 echo $ECHO_N "(cached) $ECHO_C" >&6
32175 else
32176 cat >conftest.$ac_ext <<_ACEOF
32177 /* confdefs.h. */
32178 _ACEOF
32179 cat confdefs.h >>conftest.$ac_ext
32180 cat >>conftest.$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182 #include <stddef.h>
32183 int
32184 main ()
32185 {
32186
32187 return 0; }
32188
32189 struct Foo { void foo(size_t); void foo(unsigned long); };
32190
32191 int bar() {
32192
32193 ;
32194 return 0;
32195 }
32196 _ACEOF
32197 rm -f conftest.$ac_objext
32198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32199 (eval $ac_compile) 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32209 ac_status=$?
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try='test -s conftest.$ac_objext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32215 ac_status=$?
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 wx_cv_size_t_is_ulong=no
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32222
32223 wx_cv_size_t_is_ulong=yes
32224
32225 fi
32226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32227
32228 fi
32229 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32230 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32231
32232 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32233 cat >>confdefs.h <<\_ACEOF
32234 #define wxSIZE_T_IS_ULONG 1
32235 _ACEOF
32236
32237 fi
32238 fi
32239
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247
32248 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32249 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32250 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32253
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 #include <pwd.h>
32261 int
32262 main ()
32263 {
32264
32265 char *p;
32266 struct passwd *pw;
32267 p = pw->pw_gecos;
32268
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 rm -f conftest.$ac_objext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 (eval $ac_compile) 2>conftest.er1
32276 ac_status=$?
32277 grep -v '^ *+' conftest.er1 >conftest.err
32278 rm -f conftest.er1
32279 cat conftest.err >&5
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); } &&
32282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 (eval $ac_try) 2>&5
32285 ac_status=$?
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); }; } &&
32288 { ac_try='test -s conftest.$ac_objext'
32289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 (eval $ac_try) 2>&5
32291 ac_status=$?
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); }; }; then
32294
32295 wx_cv_struct_pw_gecos=yes
32296
32297 else
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.$ac_ext >&5
32300
32301
32302 wx_cv_struct_pw_gecos=no
32303
32304
32305 fi
32306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32307
32308
32309 fi
32310 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32311 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32312
32313 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define HAVE_PW_GECOS 1
32316 _ACEOF
32317
32318 fi
32319
32320
32321 if test "$wxUSE_WCHAR_T" = "yes"; then
32322 cat >>confdefs.h <<\_ACEOF
32323 #define wxUSE_WCHAR_T 1
32324 _ACEOF
32325
32326
32327 WCSLEN_FOUND=0
32328 WCHAR_LINK=
32329
32330 for ac_func in wcslen
32331 do
32332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32333 echo "$as_me:$LINENO: checking for $ac_func" >&5
32334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32335 if eval "test \"\${$as_ac_var+set}\" = set"; then
32336 echo $ECHO_N "(cached) $ECHO_C" >&6
32337 else
32338 cat >conftest.$ac_ext <<_ACEOF
32339 /* confdefs.h. */
32340 _ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32346 #define $ac_func innocuous_$ac_func
32347
32348 /* System header to define __stub macros and hopefully few prototypes,
32349 which can conflict with char $ac_func (); below.
32350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32351 <limits.h> exists even on freestanding compilers. */
32352
32353 #ifdef __STDC__
32354 # include <limits.h>
32355 #else
32356 # include <assert.h>
32357 #endif
32358
32359 #undef $ac_func
32360
32361 /* Override any gcc2 internal prototype to avoid an error. */
32362 #ifdef __cplusplus
32363 extern "C"
32364 {
32365 #endif
32366 /* We use char because int might match the return type of a gcc2
32367 builtin and then its argument prototype would still apply. */
32368 char $ac_func ();
32369 /* The GNU C library defines this for functions which it implements
32370 to always fail with ENOSYS. Some functions are actually named
32371 something starting with __ and the normal name is an alias. */
32372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32373 choke me
32374 #else
32375 char (*f) () = $ac_func;
32376 #endif
32377 #ifdef __cplusplus
32378 }
32379 #endif
32380
32381 int
32382 main ()
32383 {
32384 return f != $ac_func;
32385 ;
32386 return 0;
32387 }
32388 _ACEOF
32389 rm -f conftest.$ac_objext conftest$ac_exeext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32391 (eval $ac_link) 2>conftest.er1
32392 ac_status=$?
32393 grep -v '^ *+' conftest.er1 >conftest.err
32394 rm -f conftest.er1
32395 cat conftest.err >&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } &&
32398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try='test -s conftest$ac_exeext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32407 ac_status=$?
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32410 eval "$as_ac_var=yes"
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 eval "$as_ac_var=no"
32416 fi
32417 rm -f conftest.err conftest.$ac_objext \
32418 conftest$ac_exeext conftest.$ac_ext
32419 fi
32420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32422 if test `eval echo '${'$as_ac_var'}'` = yes; then
32423 cat >>confdefs.h <<_ACEOF
32424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32425 _ACEOF
32426 WCSLEN_FOUND=1
32427 fi
32428 done
32429
32430
32431 if test "$WCSLEN_FOUND" = 0; then
32432 if test "$TOOLKIT" = "MSW"; then
32433 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32434 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32435 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lmsvcrt $LIBS"
32440 cat >conftest.$ac_ext <<_ACEOF
32441 /* confdefs.h. */
32442 _ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32446
32447 /* Override any gcc2 internal prototype to avoid an error. */
32448 #ifdef __cplusplus
32449 extern "C"
32450 #endif
32451 /* We use char because int might match the return type of a gcc2
32452 builtin and then its argument prototype would still apply. */
32453 char wcslen ();
32454 int
32455 main ()
32456 {
32457 wcslen ();
32458 ;
32459 return 0;
32460 }
32461 _ACEOF
32462 rm -f conftest.$ac_objext conftest$ac_exeext
32463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32464 (eval $ac_link) 2>conftest.er1
32465 ac_status=$?
32466 grep -v '^ *+' conftest.er1 >conftest.err
32467 rm -f conftest.er1
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } &&
32471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473 (eval $ac_try) 2>&5
32474 ac_status=$?
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); }; } &&
32477 { ac_try='test -s conftest$ac_exeext'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32480 ac_status=$?
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }; then
32483 ac_cv_lib_msvcrt_wcslen=yes
32484 else
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32487
32488 ac_cv_lib_msvcrt_wcslen=no
32489 fi
32490 rm -f conftest.err conftest.$ac_objext \
32491 conftest$ac_exeext conftest.$ac_ext
32492 LIBS=$ac_check_lib_save_LIBS
32493 fi
32494 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32495 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32496 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32497 WCHAR_OK=1
32498 fi
32499
32500 else
32501 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32502 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32503 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32504 echo $ECHO_N "(cached) $ECHO_C" >&6
32505 else
32506 ac_check_lib_save_LIBS=$LIBS
32507 LIBS="-lw $LIBS"
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514
32515 /* Override any gcc2 internal prototype to avoid an error. */
32516 #ifdef __cplusplus
32517 extern "C"
32518 #endif
32519 /* We use char because int might match the return type of a gcc2
32520 builtin and then its argument prototype would still apply. */
32521 char wcslen ();
32522 int
32523 main ()
32524 {
32525 wcslen ();
32526 ;
32527 return 0;
32528 }
32529 _ACEOF
32530 rm -f conftest.$ac_objext conftest$ac_exeext
32531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32532 (eval $ac_link) 2>conftest.er1
32533 ac_status=$?
32534 grep -v '^ *+' conftest.er1 >conftest.err
32535 rm -f conftest.er1
32536 cat conftest.err >&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); } &&
32539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32542 ac_status=$?
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; } &&
32545 { ac_try='test -s conftest$ac_exeext'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32548 ac_status=$?
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 ac_cv_lib_w_wcslen=yes
32552 else
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.$ac_ext >&5
32555
32556 ac_cv_lib_w_wcslen=no
32557 fi
32558 rm -f conftest.err conftest.$ac_objext \
32559 conftest$ac_exeext conftest.$ac_ext
32560 LIBS=$ac_check_lib_save_LIBS
32561 fi
32562 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32563 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32564 if test $ac_cv_lib_w_wcslen = yes; then
32565
32566 WCHAR_LINK=" -lw"
32567 WCSLEN_FOUND=1
32568
32569 fi
32570
32571 fi
32572 fi
32573
32574 if test "$WCSLEN_FOUND" = 1; then
32575 cat >>confdefs.h <<\_ACEOF
32576 #define HAVE_WCSLEN 1
32577 _ACEOF
32578
32579 fi
32580
32581 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32582 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32583 fi
32584
32585 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32586 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32587 if test "${ac_cv_type_mbstate_t+set}" = set; then
32588 echo $ECHO_N "(cached) $ECHO_C" >&6
32589 else
32590 cat >conftest.$ac_ext <<_ACEOF
32591 /* confdefs.h. */
32592 _ACEOF
32593 cat confdefs.h >>conftest.$ac_ext
32594 cat >>conftest.$ac_ext <<_ACEOF
32595 /* end confdefs.h. */
32596 #include <wchar.h>
32597
32598 int
32599 main ()
32600 {
32601 if ((mbstate_t *) 0)
32602 return 0;
32603 if (sizeof (mbstate_t))
32604 return 0;
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 rm -f conftest.$ac_objext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32611 (eval $ac_compile) 2>conftest.er1
32612 ac_status=$?
32613 grep -v '^ *+' conftest.er1 >conftest.err
32614 rm -f conftest.er1
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32621 ac_status=$?
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; } &&
32624 { ac_try='test -s conftest.$ac_objext'
32625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626 (eval $ac_try) 2>&5
32627 ac_status=$?
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); }; }; then
32630 ac_cv_type_mbstate_t=yes
32631 else
32632 echo "$as_me: failed program was:" >&5
32633 sed 's/^/| /' conftest.$ac_ext >&5
32634
32635 ac_cv_type_mbstate_t=no
32636 fi
32637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32638 fi
32639 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32640 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32641 if test $ac_cv_type_mbstate_t = yes; then
32642
32643 cat >>confdefs.h <<_ACEOF
32644 #define HAVE_MBSTATE_T 1
32645 _ACEOF
32646
32647
32648 for ac_func in wcsrtombs
32649 do
32650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32651 echo "$as_me:$LINENO: checking for $ac_func" >&5
32652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32653 if eval "test \"\${$as_ac_var+set}\" = set"; then
32654 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 else
32656 cat >conftest.$ac_ext <<_ACEOF
32657 /* confdefs.h. */
32658 _ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32664 #define $ac_func innocuous_$ac_func
32665
32666 /* System header to define __stub macros and hopefully few prototypes,
32667 which can conflict with char $ac_func (); below.
32668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32669 <limits.h> exists even on freestanding compilers. */
32670
32671 #ifdef __STDC__
32672 # include <limits.h>
32673 #else
32674 # include <assert.h>
32675 #endif
32676
32677 #undef $ac_func
32678
32679 /* Override any gcc2 internal prototype to avoid an error. */
32680 #ifdef __cplusplus
32681 extern "C"
32682 {
32683 #endif
32684 /* We use char because int might match the return type of a gcc2
32685 builtin and then its argument prototype would still apply. */
32686 char $ac_func ();
32687 /* The GNU C library defines this for functions which it implements
32688 to always fail with ENOSYS. Some functions are actually named
32689 something starting with __ and the normal name is an alias. */
32690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32691 choke me
32692 #else
32693 char (*f) () = $ac_func;
32694 #endif
32695 #ifdef __cplusplus
32696 }
32697 #endif
32698
32699 int
32700 main ()
32701 {
32702 return f != $ac_func;
32703 ;
32704 return 0;
32705 }
32706 _ACEOF
32707 rm -f conftest.$ac_objext conftest$ac_exeext
32708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32709 (eval $ac_link) 2>conftest.er1
32710 ac_status=$?
32711 grep -v '^ *+' conftest.er1 >conftest.err
32712 rm -f conftest.er1
32713 cat conftest.err >&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); } &&
32716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32719 ac_status=$?
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; } &&
32722 { ac_try='test -s conftest$ac_exeext'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; }; then
32728 eval "$as_ac_var=yes"
32729 else
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32732
32733 eval "$as_ac_var=no"
32734 fi
32735 rm -f conftest.err conftest.$ac_objext \
32736 conftest$ac_exeext conftest.$ac_ext
32737 fi
32738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32740 if test `eval echo '${'$as_ac_var'}'` = yes; then
32741 cat >>confdefs.h <<_ACEOF
32742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32743 _ACEOF
32744
32745 fi
32746 done
32747
32748 fi
32749
32750 else
32751 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32752 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32753 fi
32754
32755
32756
32757 ac_ext=cc
32758 ac_cpp='$CXXCPP $CPPFLAGS'
32759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32762
32763
32764
32765
32766 for ac_func in snprintf vsnprintf
32767 do
32768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32782 #define $ac_func innocuous_$ac_func
32783
32784 /* System header to define __stub macros and hopefully few prototypes,
32785 which can conflict with char $ac_func (); below.
32786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32787 <limits.h> exists even on freestanding compilers. */
32788
32789 #ifdef __STDC__
32790 # include <limits.h>
32791 #else
32792 # include <assert.h>
32793 #endif
32794
32795 #undef $ac_func
32796
32797 /* Override any gcc2 internal prototype to avoid an error. */
32798 #ifdef __cplusplus
32799 extern "C"
32800 {
32801 #endif
32802 /* We use char because int might match the return type of a gcc2
32803 builtin and then its argument prototype would still apply. */
32804 char $ac_func ();
32805 /* The GNU C library defines this for functions which it implements
32806 to always fail with ENOSYS. Some functions are actually named
32807 something starting with __ and the normal name is an alias. */
32808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32809 choke me
32810 #else
32811 char (*f) () = $ac_func;
32812 #endif
32813 #ifdef __cplusplus
32814 }
32815 #endif
32816
32817 int
32818 main ()
32819 {
32820 return f != $ac_func;
32821 ;
32822 return 0;
32823 }
32824 _ACEOF
32825 rm -f conftest.$ac_objext conftest$ac_exeext
32826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32827 (eval $ac_link) 2>conftest.er1
32828 ac_status=$?
32829 grep -v '^ *+' conftest.er1 >conftest.err
32830 rm -f conftest.er1
32831 cat conftest.err >&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } &&
32834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; } &&
32840 { ac_try='test -s conftest$ac_exeext'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; }; then
32846 eval "$as_ac_var=yes"
32847 else
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.$ac_ext >&5
32850
32851 eval "$as_ac_var=no"
32852 fi
32853 rm -f conftest.err conftest.$ac_objext \
32854 conftest$ac_exeext conftest.$ac_ext
32855 fi
32856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32858 if test `eval echo '${'$as_ac_var'}'` = yes; then
32859 cat >>confdefs.h <<_ACEOF
32860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32861 _ACEOF
32862
32863 fi
32864 done
32865
32866
32867 if test "$ac_cv_func_vsnprintf" = "yes"; then
32868 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32869 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32870 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873
32874 cat >conftest.$ac_ext <<_ACEOF
32875 /* confdefs.h. */
32876 _ACEOF
32877 cat confdefs.h >>conftest.$ac_ext
32878 cat >>conftest.$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32880
32881 #include <stdio.h>
32882 #include <stdarg.h>
32883 #ifdef __MSL__
32884 #if __MSL__ >= 0x6000
32885 namespace std {}
32886 using namespace std;
32887 #endif
32888 #endif
32889
32890 int
32891 main ()
32892 {
32893
32894 char *buf;
32895 va_list ap;
32896 vsnprintf(buf, 10u, "%s", ap);
32897
32898 ;
32899 return 0;
32900 }
32901 _ACEOF
32902 rm -f conftest.$ac_objext
32903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32904 (eval $ac_compile) 2>conftest.er1
32905 ac_status=$?
32906 grep -v '^ *+' conftest.er1 >conftest.err
32907 rm -f conftest.er1
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } &&
32911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32914 ac_status=$?
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; } &&
32917 { ac_try='test -s conftest.$ac_objext'
32918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32919 (eval $ac_try) 2>&5
32920 ac_status=$?
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); }; }; then
32923 wx_cv_func_vsnprintf_decl=yes
32924 else
32925 echo "$as_me: failed program was:" >&5
32926 sed 's/^/| /' conftest.$ac_ext >&5
32927
32928 wx_cv_func_vsnprintf_decl=no
32929
32930 fi
32931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32932
32933
32934 fi
32935 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32936 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32937
32938 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define HAVE_VSNPRINTF_DECL 1
32941 _ACEOF
32942
32943
32944 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32945 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32946 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 else
32949
32950 cat >conftest.$ac_ext <<_ACEOF
32951 /* confdefs.h. */
32952 _ACEOF
32953 cat confdefs.h >>conftest.$ac_ext
32954 cat >>conftest.$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956
32957 #include <stdio.h>
32958 #include <stdarg.h>
32959 #ifdef __MSL__
32960 #if __MSL__ >= 0x6000
32961 namespace std {}
32962 using namespace std;
32963 #endif
32964 #endif
32965
32966 int
32967 main ()
32968 {
32969
32970 char *buf;
32971 va_list ap;
32972 const char *fmt = "%s";
32973 vsnprintf(buf, 10u, fmt, ap);
32974
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 rm -f conftest.$ac_objext
32980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32981 (eval $ac_compile) 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } &&
32988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32991 ac_status=$?
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try='test -s conftest.$ac_objext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 wx_cv_func_broken_vsnprintf_decl=no
33001 else
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.$ac_ext >&5
33004
33005 wx_cv_func_broken_vsnprintf_decl=yes
33006
33007 fi
33008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33009
33010
33011 fi
33012 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33013 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33014
33015 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33016 cat >>confdefs.h <<\_ACEOF
33017 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33018 _ACEOF
33019
33020 fi
33021 fi
33022 fi
33023
33024 if test "$ac_cv_func_snprintf" = "yes"; then
33025 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33026 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33027 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030
33031 cat >conftest.$ac_ext <<_ACEOF
33032 /* confdefs.h. */
33033 _ACEOF
33034 cat confdefs.h >>conftest.$ac_ext
33035 cat >>conftest.$ac_ext <<_ACEOF
33036 /* end confdefs.h. */
33037
33038 #include <stdio.h>
33039 #include <stdarg.h>
33040 #ifdef __MSL__
33041 #if __MSL__ >= 0x6000
33042 namespace std {}
33043 using namespace std;
33044 #endif
33045 #endif
33046
33047 int
33048 main ()
33049 {
33050
33051 char *buf;
33052 snprintf(buf, 10u, "%s", "wx");
33053
33054 ;
33055 return 0;
33056 }
33057 _ACEOF
33058 rm -f conftest.$ac_objext
33059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33060 (eval $ac_compile) 2>conftest.er1
33061 ac_status=$?
33062 grep -v '^ *+' conftest.er1 >conftest.err
33063 rm -f conftest.er1
33064 cat conftest.err >&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); } &&
33067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33070 ac_status=$?
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; } &&
33073 { ac_try='test -s conftest.$ac_objext'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33076 ac_status=$?
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; }; then
33079 wx_cv_func_snprintf_decl=yes
33080 else
33081 echo "$as_me: failed program was:" >&5
33082 sed 's/^/| /' conftest.$ac_ext >&5
33083
33084 wx_cv_func_snprintf_decl=no
33085
33086 fi
33087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33088
33089
33090 fi
33091 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33092 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33093
33094 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33095 cat >>confdefs.h <<\_ACEOF
33096 #define HAVE_SNPRINTF_DECL 1
33097 _ACEOF
33098
33099
33100 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33101 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33102 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 else
33105
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112
33113 #include <stdio.h>
33114 #include <stdarg.h>
33115 #ifdef __MSL__
33116 #if __MSL__ >= 0x6000
33117 namespace std {}
33118 using namespace std;
33119 #endif
33120 #endif
33121
33122 int
33123 main ()
33124 {
33125
33126 char *buf;
33127 const char *fmt = "%s";
33128 snprintf(buf, 10u, fmt, "wx");
33129
33130 ;
33131 return 0;
33132 }
33133 _ACEOF
33134 rm -f conftest.$ac_objext
33135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33136 (eval $ac_compile) 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } &&
33143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33145 (eval $ac_try) 2>&5
33146 ac_status=$?
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); }; } &&
33149 { ac_try='test -s conftest.$ac_objext'
33150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33151 (eval $ac_try) 2>&5
33152 ac_status=$?
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); }; }; then
33155 wx_cv_func_broken_snprintf_decl=no
33156 else
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33159
33160 wx_cv_func_broken_snprintf_decl=yes
33161
33162 fi
33163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33164
33165
33166 fi
33167 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33168 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33169
33170 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33171 cat >>confdefs.h <<\_ACEOF
33172 #define HAVE_BROKEN_SNPRINTF_DECL 1
33173 _ACEOF
33174
33175 fi
33176 fi
33177 fi
33178
33179 if test "$wxUSE_UNICODE" = yes; then
33180
33181
33182
33183
33184
33185
33186 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33187 do
33188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33189 echo "$as_me:$LINENO: checking for $ac_func" >&5
33190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33191 if eval "test \"\${$as_ac_var+set}\" = set"; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 else
33194 cat >conftest.$ac_ext <<_ACEOF
33195 /* confdefs.h. */
33196 _ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h. */
33200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33202 #define $ac_func innocuous_$ac_func
33203
33204 /* System header to define __stub macros and hopefully few prototypes,
33205 which can conflict with char $ac_func (); below.
33206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33207 <limits.h> exists even on freestanding compilers. */
33208
33209 #ifdef __STDC__
33210 # include <limits.h>
33211 #else
33212 # include <assert.h>
33213 #endif
33214
33215 #undef $ac_func
33216
33217 /* Override any gcc2 internal prototype to avoid an error. */
33218 #ifdef __cplusplus
33219 extern "C"
33220 {
33221 #endif
33222 /* We use char because int might match the return type of a gcc2
33223 builtin and then its argument prototype would still apply. */
33224 char $ac_func ();
33225 /* The GNU C library defines this for functions which it implements
33226 to always fail with ENOSYS. Some functions are actually named
33227 something starting with __ and the normal name is an alias. */
33228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33229 choke me
33230 #else
33231 char (*f) () = $ac_func;
33232 #endif
33233 #ifdef __cplusplus
33234 }
33235 #endif
33236
33237 int
33238 main ()
33239 {
33240 return f != $ac_func;
33241 ;
33242 return 0;
33243 }
33244 _ACEOF
33245 rm -f conftest.$ac_objext conftest$ac_exeext
33246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33247 (eval $ac_link) 2>conftest.er1
33248 ac_status=$?
33249 grep -v '^ *+' conftest.er1 >conftest.err
33250 rm -f conftest.er1
33251 cat conftest.err >&5
33252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253 (exit $ac_status); } &&
33254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33256 (eval $ac_try) 2>&5
33257 ac_status=$?
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); }; } &&
33260 { ac_try='test -s conftest$ac_exeext'
33261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33262 (eval $ac_try) 2>&5
33263 ac_status=$?
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); }; }; then
33266 eval "$as_ac_var=yes"
33267 else
33268 echo "$as_me: failed program was:" >&5
33269 sed 's/^/| /' conftest.$ac_ext >&5
33270
33271 eval "$as_ac_var=no"
33272 fi
33273 rm -f conftest.err conftest.$ac_objext \
33274 conftest$ac_exeext conftest.$ac_ext
33275 fi
33276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33278 if test `eval echo '${'$as_ac_var'}'` = yes; then
33279 cat >>confdefs.h <<_ACEOF
33280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33281 _ACEOF
33282
33283 fi
33284 done
33285
33286
33287 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33288 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33289 cat >conftest.$ac_ext <<_ACEOF
33290 /* confdefs.h. */
33291 _ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33295 #include <wchar.h>
33296 int
33297 main ()
33298 {
33299 &_vsnwprintf;
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 rm -f conftest.$ac_objext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33306 (eval $ac_compile) 2>conftest.er1
33307 ac_status=$?
33308 grep -v '^ *+' conftest.er1 >conftest.err
33309 rm -f conftest.er1
33310 cat conftest.err >&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } &&
33313 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315 (eval $ac_try) 2>&5
33316 ac_status=$?
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); }; } &&
33319 { ac_try='test -s conftest.$ac_objext'
33320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33321 (eval $ac_try) 2>&5
33322 ac_status=$?
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); }; }; then
33325 echo "$as_me:$LINENO: result: yes" >&5
33326 echo "${ECHO_T}yes" >&6
33327 cat >>confdefs.h <<\_ACEOF
33328 #define HAVE__VSNWPRINTF 1
33329 _ACEOF
33330
33331 else
33332 echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33334
33335 echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6
33337 fi
33338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33339 fi
33340
33341 ac_ext=c
33342 ac_cpp='$CPP $CPPFLAGS'
33343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346
33347
33348 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33349
33350 for ac_func in fnmatch
33351 do
33352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33353 echo "$as_me:$LINENO: checking for $ac_func" >&5
33354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33355 if eval "test \"\${$as_ac_var+set}\" = set"; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33357 else
33358 cat >conftest.$ac_ext <<_ACEOF
33359 /* confdefs.h. */
33360 _ACEOF
33361 cat confdefs.h >>conftest.$ac_ext
33362 cat >>conftest.$ac_ext <<_ACEOF
33363 /* end confdefs.h. */
33364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33366 #define $ac_func innocuous_$ac_func
33367
33368 /* System header to define __stub macros and hopefully few prototypes,
33369 which can conflict with char $ac_func (); below.
33370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33371 <limits.h> exists even on freestanding compilers. */
33372
33373 #ifdef __STDC__
33374 # include <limits.h>
33375 #else
33376 # include <assert.h>
33377 #endif
33378
33379 #undef $ac_func
33380
33381 /* Override any gcc2 internal prototype to avoid an error. */
33382 #ifdef __cplusplus
33383 extern "C"
33384 {
33385 #endif
33386 /* We use char because int might match the return type of a gcc2
33387 builtin and then its argument prototype would still apply. */
33388 char $ac_func ();
33389 /* The GNU C library defines this for functions which it implements
33390 to always fail with ENOSYS. Some functions are actually named
33391 something starting with __ and the normal name is an alias. */
33392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33393 choke me
33394 #else
33395 char (*f) () = $ac_func;
33396 #endif
33397 #ifdef __cplusplus
33398 }
33399 #endif
33400
33401 int
33402 main ()
33403 {
33404 return f != $ac_func;
33405 ;
33406 return 0;
33407 }
33408 _ACEOF
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33411 (eval $ac_link) 2>conftest.er1
33412 ac_status=$?
33413 grep -v '^ *+' conftest.er1 >conftest.err
33414 rm -f conftest.er1
33415 cat conftest.err >&5
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); } &&
33418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420 (eval $ac_try) 2>&5
33421 ac_status=$?
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); }; } &&
33424 { ac_try='test -s conftest$ac_exeext'
33425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426 (eval $ac_try) 2>&5
33427 ac_status=$?
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; }; then
33430 eval "$as_ac_var=yes"
33431 else
33432 echo "$as_me: failed program was:" >&5
33433 sed 's/^/| /' conftest.$ac_ext >&5
33434
33435 eval "$as_ac_var=no"
33436 fi
33437 rm -f conftest.err conftest.$ac_objext \
33438 conftest$ac_exeext conftest.$ac_ext
33439 fi
33440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33442 if test `eval echo '${'$as_ac_var'}'` = yes; then
33443 cat >>confdefs.h <<_ACEOF
33444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33445 _ACEOF
33446
33447 fi
33448 done
33449
33450 fi
33451
33452 if test "$wxUSE_FILE" = "yes"; then
33453
33454 for ac_func in fsync
33455 do
33456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33457 echo "$as_me:$LINENO: checking for $ac_func" >&5
33458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33459 if eval "test \"\${$as_ac_var+set}\" = set"; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33461 else
33462 cat >conftest.$ac_ext <<_ACEOF
33463 /* confdefs.h. */
33464 _ACEOF
33465 cat confdefs.h >>conftest.$ac_ext
33466 cat >>conftest.$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33470 #define $ac_func innocuous_$ac_func
33471
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33476
33477 #ifdef __STDC__
33478 # include <limits.h>
33479 #else
33480 # include <assert.h>
33481 #endif
33482
33483 #undef $ac_func
33484
33485 /* Override any gcc2 internal prototype to avoid an error. */
33486 #ifdef __cplusplus
33487 extern "C"
33488 {
33489 #endif
33490 /* We use char because int might match the return type of a gcc2
33491 builtin and then its argument prototype would still apply. */
33492 char $ac_func ();
33493 /* The GNU C library defines this for functions which it implements
33494 to always fail with ENOSYS. Some functions are actually named
33495 something starting with __ and the normal name is an alias. */
33496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33497 choke me
33498 #else
33499 char (*f) () = $ac_func;
33500 #endif
33501 #ifdef __cplusplus
33502 }
33503 #endif
33504
33505 int
33506 main ()
33507 {
33508 return f != $ac_func;
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 rm -f conftest.$ac_objext conftest$ac_exeext
33514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33515 (eval $ac_link) 2>conftest.er1
33516 ac_status=$?
33517 grep -v '^ *+' conftest.er1 >conftest.err
33518 rm -f conftest.er1
33519 cat conftest.err >&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; } &&
33528 { ac_try='test -s conftest$ac_exeext'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; }; then
33534 eval "$as_ac_var=yes"
33535 else
33536 echo "$as_me: failed program was:" >&5
33537 sed 's/^/| /' conftest.$ac_ext >&5
33538
33539 eval "$as_ac_var=no"
33540 fi
33541 rm -f conftest.err conftest.$ac_objext \
33542 conftest$ac_exeext conftest.$ac_ext
33543 fi
33544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h <<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33549 _ACEOF
33550
33551 fi
33552 done
33553
33554 fi
33555
33556
33557 if test "$TOOLKIT" != "MSW"; then
33558
33559
33560
33561
33562 ac_ext=cc
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567
33568
33569
33570
33571 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33572 if test "${with_libiconv_prefix+set}" = set; then
33573 withval="$with_libiconv_prefix"
33574
33575 for dir in `echo "$withval" | tr : ' '`; do
33576 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
33577 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
33578 done
33579
33580 fi;
33581
33582 echo "$as_me:$LINENO: checking for iconv" >&5
33583 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33584 if test "${am_cv_func_iconv+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 else
33587
33588 am_cv_func_iconv="no, consider installing GNU libiconv"
33589 am_cv_lib_iconv=no
33590 cat >conftest.$ac_ext <<_ACEOF
33591 /* confdefs.h. */
33592 _ACEOF
33593 cat confdefs.h >>conftest.$ac_ext
33594 cat >>conftest.$ac_ext <<_ACEOF
33595 /* end confdefs.h. */
33596 #include <stdlib.h>
33597 #include <iconv.h>
33598 int
33599 main ()
33600 {
33601 iconv_t cd = iconv_open("","");
33602 iconv(cd,NULL,NULL,NULL,NULL);
33603 iconv_close(cd);
33604 ;
33605 return 0;
33606 }
33607 _ACEOF
33608 rm -f conftest.$ac_objext conftest$ac_exeext
33609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33610 (eval $ac_link) 2>conftest.er1
33611 ac_status=$?
33612 grep -v '^ *+' conftest.er1 >conftest.err
33613 rm -f conftest.er1
33614 cat conftest.err >&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); } &&
33617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33620 ac_status=$?
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; } &&
33623 { ac_try='test -s conftest$ac_exeext'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33626 ac_status=$?
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; }; then
33629 am_cv_func_iconv=yes
33630 else
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.$ac_ext >&5
33633
33634 fi
33635 rm -f conftest.err conftest.$ac_objext \
33636 conftest$ac_exeext conftest.$ac_ext
33637 if test "$am_cv_func_iconv" != yes; then
33638 am_save_LIBS="$LIBS"
33639 LIBS="$LIBS -liconv"
33640 cat >conftest.$ac_ext <<_ACEOF
33641 /* confdefs.h. */
33642 _ACEOF
33643 cat confdefs.h >>conftest.$ac_ext
33644 cat >>conftest.$ac_ext <<_ACEOF
33645 /* end confdefs.h. */
33646 #include <stdlib.h>
33647 #include <iconv.h>
33648 int
33649 main ()
33650 {
33651 iconv_t cd = iconv_open("","");
33652 iconv(cd,NULL,NULL,NULL,NULL);
33653 iconv_close(cd);
33654 ;
33655 return 0;
33656 }
33657 _ACEOF
33658 rm -f conftest.$ac_objext conftest$ac_exeext
33659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33660 (eval $ac_link) 2>conftest.er1
33661 ac_status=$?
33662 grep -v '^ *+' conftest.er1 >conftest.err
33663 rm -f conftest.er1
33664 cat conftest.err >&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } &&
33667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33670 ac_status=$?
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; } &&
33673 { ac_try='test -s conftest$ac_exeext'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33676 ac_status=$?
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; }; then
33679 am_cv_lib_iconv=yes
33680 am_cv_func_iconv=yes
33681 else
33682 echo "$as_me: failed program was:" >&5
33683 sed 's/^/| /' conftest.$ac_ext >&5
33684
33685 fi
33686 rm -f conftest.err conftest.$ac_objext \
33687 conftest$ac_exeext conftest.$ac_ext
33688 LIBS="$am_save_LIBS"
33689 fi
33690
33691 fi
33692 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33693 echo "${ECHO_T}$am_cv_func_iconv" >&6
33694 if test "$am_cv_func_iconv" = yes; then
33695
33696 cat >>confdefs.h <<\_ACEOF
33697 #define HAVE_ICONV 1
33698 _ACEOF
33699
33700 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33701 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33702 if test "${wx_cv_func_iconv_const+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33704 else
33705 cat >conftest.$ac_ext <<_ACEOF
33706 /* confdefs.h. */
33707 _ACEOF
33708 cat confdefs.h >>conftest.$ac_ext
33709 cat >>conftest.$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33711
33712 #include <stdlib.h>
33713 #include <iconv.h>
33714 extern
33715 #ifdef __cplusplus
33716 "C"
33717 #endif
33718 #if defined(__STDC__) || defined(__cplusplus)
33719 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33720 #else
33721 size_t iconv();
33722 #endif
33723
33724 int
33725 main ()
33726 {
33727
33728 ;
33729 return 0;
33730 }
33731 _ACEOF
33732 rm -f conftest.$ac_objext
33733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33734 (eval $ac_compile) 2>conftest.er1
33735 ac_status=$?
33736 grep -v '^ *+' conftest.er1 >conftest.err
33737 rm -f conftest.er1
33738 cat conftest.err >&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); } &&
33741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33743 (eval $ac_try) 2>&5
33744 ac_status=$?
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; } &&
33747 { ac_try='test -s conftest.$ac_objext'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33750 ac_status=$?
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; }; then
33753 wx_cv_func_iconv_const="no"
33754 else
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33757
33758 wx_cv_func_iconv_const="yes"
33759
33760 fi
33761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33762
33763 fi
33764 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33765 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33766
33767 iconv_const=
33768 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33769 iconv_const="const"
33770 fi
33771
33772
33773 cat >>confdefs.h <<_ACEOF
33774 #define ICONV_CONST $iconv_const
33775 _ACEOF
33776
33777 fi
33778 LIBICONV=
33779 if test "$am_cv_lib_iconv" = yes; then
33780 LIBICONV="-liconv"
33781 fi
33782
33783
33784 LIBS="$LIBICONV $LIBS"
33785 ac_ext=c
33786 ac_cpp='$CPP $CPPFLAGS'
33787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33790
33791
33792 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33793
33794 for ac_func in sigaction
33795 do
33796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33797 echo "$as_me:$LINENO: checking for $ac_func" >&5
33798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33799 if eval "test \"\${$as_ac_var+set}\" = set"; then
33800 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 else
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33810 #define $ac_func innocuous_$ac_func
33811
33812 /* System header to define __stub macros and hopefully few prototypes,
33813 which can conflict with char $ac_func (); below.
33814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33815 <limits.h> exists even on freestanding compilers. */
33816
33817 #ifdef __STDC__
33818 # include <limits.h>
33819 #else
33820 # include <assert.h>
33821 #endif
33822
33823 #undef $ac_func
33824
33825 /* Override any gcc2 internal prototype to avoid an error. */
33826 #ifdef __cplusplus
33827 extern "C"
33828 {
33829 #endif
33830 /* We use char because int might match the return type of a gcc2
33831 builtin and then its argument prototype would still apply. */
33832 char $ac_func ();
33833 /* The GNU C library defines this for functions which it implements
33834 to always fail with ENOSYS. Some functions are actually named
33835 something starting with __ and the normal name is an alias. */
33836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33837 choke me
33838 #else
33839 char (*f) () = $ac_func;
33840 #endif
33841 #ifdef __cplusplus
33842 }
33843 #endif
33844
33845 int
33846 main ()
33847 {
33848 return f != $ac_func;
33849 ;
33850 return 0;
33851 }
33852 _ACEOF
33853 rm -f conftest.$ac_objext conftest$ac_exeext
33854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33855 (eval $ac_link) 2>conftest.er1
33856 ac_status=$?
33857 grep -v '^ *+' conftest.er1 >conftest.err
33858 rm -f conftest.er1
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } &&
33862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864 (eval $ac_try) 2>&5
33865 ac_status=$?
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); }; } &&
33868 { ac_try='test -s conftest$ac_exeext'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33871 ac_status=$?
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; }; then
33874 eval "$as_ac_var=yes"
33875 else
33876 echo "$as_me: failed program was:" >&5
33877 sed 's/^/| /' conftest.$ac_ext >&5
33878
33879 eval "$as_ac_var=no"
33880 fi
33881 rm -f conftest.err conftest.$ac_objext \
33882 conftest$ac_exeext conftest.$ac_ext
33883 fi
33884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33886 if test `eval echo '${'$as_ac_var'}'` = yes; then
33887 cat >>confdefs.h <<_ACEOF
33888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33889 _ACEOF
33890
33891 fi
33892 done
33893
33894
33895 if test "$ac_cv_func_sigaction" = "no"; then
33896 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33897 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33898 wxUSE_ON_FATAL_EXCEPTION=no
33899 fi
33900
33901 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33902
33903
33904 ac_ext=cc
33905 ac_cpp='$CXXCPP $CPPFLAGS'
33906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33909
33910
33911 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33912 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33913 if test "${wx_cv_type_sa_handler+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 else
33916
33917 cat >conftest.$ac_ext <<_ACEOF
33918 /* confdefs.h. */
33919 _ACEOF
33920 cat confdefs.h >>conftest.$ac_ext
33921 cat >>conftest.$ac_ext <<_ACEOF
33922 /* end confdefs.h. */
33923 #include <signal.h>
33924 int
33925 main ()
33926 {
33927
33928 extern void testSigHandler(int);
33929
33930 struct sigaction sa;
33931 sa.sa_handler = testSigHandler;
33932
33933 ;
33934 return 0;
33935 }
33936 _ACEOF
33937 rm -f conftest.$ac_objext
33938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33939 (eval $ac_compile) 2>conftest.er1
33940 ac_status=$?
33941 grep -v '^ *+' conftest.er1 >conftest.err
33942 rm -f conftest.er1
33943 cat conftest.err >&5
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); } &&
33946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33949 ac_status=$?
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; } &&
33952 { ac_try='test -s conftest.$ac_objext'
33953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954 (eval $ac_try) 2>&5
33955 ac_status=$?
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); }; }; then
33958
33959 wx_cv_type_sa_handler=int
33960
33961 else
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.$ac_ext >&5
33964
33965
33966 wx_cv_type_sa_handler=void
33967
33968 fi
33969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33970
33971 fi
33972 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33973 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33974
33975 ac_ext=c
33976 ac_cpp='$CPP $CPPFLAGS'
33977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33980
33981
33982 cat >>confdefs.h <<_ACEOF
33983 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33984 _ACEOF
33985
33986 fi
33987 fi
33988
33989 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33990
33991
33992 ac_ext=cc
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997
33998
33999 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34000 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34001 if test "${wx_cv_func_backtrace+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 else
34004
34005 cat >conftest.$ac_ext <<_ACEOF
34006 /* confdefs.h. */
34007 _ACEOF
34008 cat confdefs.h >>conftest.$ac_ext
34009 cat >>conftest.$ac_ext <<_ACEOF
34010 /* end confdefs.h. */
34011 #include <execinfo.h>
34012 int
34013 main ()
34014 {
34015
34016 void *trace[1];
34017 char **messages;
34018
34019 backtrace(trace, 1);
34020 messages = backtrace_symbols(trace, 1);
34021
34022 ;
34023 return 0;
34024 }
34025 _ACEOF
34026 rm -f conftest.$ac_objext
34027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34028 (eval $ac_compile) 2>conftest.er1
34029 ac_status=$?
34030 grep -v '^ *+' conftest.er1 >conftest.err
34031 rm -f conftest.er1
34032 cat conftest.err >&5
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); } &&
34035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; } &&
34041 { ac_try='test -s conftest.$ac_objext'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34044 ac_status=$?
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; }; then
34047 wx_cv_func_backtrace=yes
34048 else
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34051
34052 wx_cv_func_backtrace=no
34053
34054 fi
34055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34056
34057
34058 fi
34059 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34060 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34061
34062
34063 if test "$wx_cv_func_backtrace" = "no"; then
34064 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34065 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34066 wxUSE_STACKWALKER=no
34067 else
34068 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34069 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34070 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 else
34073
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080 #include <cxxabi.h>
34081 int
34082 main ()
34083 {
34084
34085 int rc;
34086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34087
34088 ;
34089 return 0;
34090 }
34091 _ACEOF
34092 rm -f conftest.$ac_objext conftest$ac_exeext
34093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34094 (eval $ac_link) 2>conftest.er1
34095 ac_status=$?
34096 grep -v '^ *+' conftest.er1 >conftest.err
34097 rm -f conftest.er1
34098 cat conftest.err >&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } &&
34101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34104 ac_status=$?
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try='test -s conftest$ac_exeext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34110 ac_status=$?
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 wx_cv_func_cxa_demangle=yes
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 wx_cv_func_cxa_demangle=no
34119
34120 fi
34121 rm -f conftest.err conftest.$ac_objext \
34122 conftest$ac_exeext conftest.$ac_ext
34123
34124
34125 fi
34126 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34127 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34128
34129 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34130 cat >>confdefs.h <<\_ACEOF
34131 #define HAVE_CXA_DEMANGLE 1
34132 _ACEOF
34133
34134 fi
34135 fi
34136
34137 ac_ext=c
34138 ac_cpp='$CPP $CPPFLAGS'
34139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34142
34143 fi
34144
34145 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34146 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34147 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34148 wxUSE_STACKWALKER=no
34149 fi
34150
34151
34152
34153
34154 for ac_func in mkstemp mktemp
34155 do
34156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34157 echo "$as_me:$LINENO: checking for $ac_func" >&5
34158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34159 if eval "test \"\${$as_ac_var+set}\" = set"; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34161 else
34162 cat >conftest.$ac_ext <<_ACEOF
34163 /* confdefs.h. */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34170 #define $ac_func innocuous_$ac_func
34171
34172 /* System header to define __stub macros and hopefully few prototypes,
34173 which can conflict with char $ac_func (); below.
34174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34175 <limits.h> exists even on freestanding compilers. */
34176
34177 #ifdef __STDC__
34178 # include <limits.h>
34179 #else
34180 # include <assert.h>
34181 #endif
34182
34183 #undef $ac_func
34184
34185 /* Override any gcc2 internal prototype to avoid an error. */
34186 #ifdef __cplusplus
34187 extern "C"
34188 {
34189 #endif
34190 /* We use char because int might match the return type of a gcc2
34191 builtin and then its argument prototype would still apply. */
34192 char $ac_func ();
34193 /* The GNU C library defines this for functions which it implements
34194 to always fail with ENOSYS. Some functions are actually named
34195 something starting with __ and the normal name is an alias. */
34196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34197 choke me
34198 #else
34199 char (*f) () = $ac_func;
34200 #endif
34201 #ifdef __cplusplus
34202 }
34203 #endif
34204
34205 int
34206 main ()
34207 {
34208 return f != $ac_func;
34209 ;
34210 return 0;
34211 }
34212 _ACEOF
34213 rm -f conftest.$ac_objext conftest$ac_exeext
34214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34215 (eval $ac_link) 2>conftest.er1
34216 ac_status=$?
34217 grep -v '^ *+' conftest.er1 >conftest.err
34218 rm -f conftest.er1
34219 cat conftest.err >&5
34220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 (exit $ac_status); } &&
34222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34225 ac_status=$?
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; } &&
34228 { ac_try='test -s conftest$ac_exeext'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34231 ac_status=$?
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; }; then
34234 eval "$as_ac_var=yes"
34235 else
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.$ac_ext >&5
34238
34239 eval "$as_ac_var=no"
34240 fi
34241 rm -f conftest.err conftest.$ac_objext \
34242 conftest$ac_exeext conftest.$ac_ext
34243 fi
34244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34246 if test `eval echo '${'$as_ac_var'}'` = yes; then
34247 cat >>confdefs.h <<_ACEOF
34248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34249 _ACEOF
34250 break
34251 fi
34252 done
34253
34254
34255 echo "$as_me:$LINENO: checking for statfs" >&5
34256 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34257 if test "${wx_cv_func_statfs+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 else
34260 cat >conftest.$ac_ext <<_ACEOF
34261 /* confdefs.h. */
34262 _ACEOF
34263 cat confdefs.h >>conftest.$ac_ext
34264 cat >>conftest.$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34266
34267 #if defined(__BSD__)
34268 #include <sys/param.h>
34269 #include <sys/mount.h>
34270 #else
34271 #include <sys/vfs.h>
34272 #endif
34273
34274 int
34275 main ()
34276 {
34277
34278 long l;
34279 struct statfs fs;
34280 statfs("/", &fs);
34281 l = fs.f_bsize;
34282 l += fs.f_blocks;
34283 l += fs.f_bavail;
34284
34285 ;
34286 return 0;
34287 }
34288 _ACEOF
34289 rm -f conftest.$ac_objext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34291 (eval $ac_compile) 2>conftest.er1
34292 ac_status=$?
34293 grep -v '^ *+' conftest.er1 >conftest.err
34294 rm -f conftest.er1
34295 cat conftest.err >&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34301 ac_status=$?
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; } &&
34304 { ac_try='test -s conftest.$ac_objext'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; }; then
34310 wx_cv_func_statfs=yes
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34314
34315 wx_cv_func_statfs=no
34316
34317 fi
34318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34319
34320 fi
34321 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34322 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34323
34324 if test "$wx_cv_func_statfs" = "yes"; then
34325
34326
34327 ac_ext=cc
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332
34333 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34334 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34335 if test "${wx_cv_func_statfs_decl+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344
34345 #if defined(__BSD__)
34346 #include <sys/param.h>
34347 #include <sys/mount.h>
34348 #else
34349 #include <sys/vfs.h>
34350 #endif
34351
34352 int
34353 main ()
34354 {
34355
34356 struct statfs fs;
34357 statfs("", &fs);
34358
34359 ;
34360 return 0;
34361 }
34362 _ACEOF
34363 rm -f conftest.$ac_objext
34364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34365 (eval $ac_compile) 2>conftest.er1
34366 ac_status=$?
34367 grep -v '^ *+' conftest.er1 >conftest.err
34368 rm -f conftest.er1
34369 cat conftest.err >&5
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); } &&
34372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34375 ac_status=$?
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; } &&
34378 { ac_try='test -s conftest.$ac_objext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34381 ac_status=$?
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34384 wx_cv_func_statfs_decl=yes
34385 else
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.$ac_ext >&5
34388
34389 wx_cv_func_statfs_decl=no
34390
34391 fi
34392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34393
34394 fi
34395 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34396 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34397 ac_ext=c
34398 ac_cpp='$CPP $CPPFLAGS'
34399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402
34403
34404 if test "$wx_cv_func_statfs_decl" = "yes"; then
34405 cat >>confdefs.h <<\_ACEOF
34406 #define HAVE_STATFS_DECL 1
34407 _ACEOF
34408
34409 fi
34410
34411 wx_cv_type_statvfs_t="struct statfs"
34412 cat >>confdefs.h <<\_ACEOF
34413 #define HAVE_STATFS 1
34414 _ACEOF
34415
34416 else
34417 echo "$as_me:$LINENO: checking for statvfs" >&5
34418 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34419 if test "${wx_cv_func_statvfs+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 else
34422 cat >conftest.$ac_ext <<_ACEOF
34423 /* confdefs.h. */
34424 _ACEOF
34425 cat confdefs.h >>conftest.$ac_ext
34426 cat >>conftest.$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34428
34429 #include <stddef.h>
34430 #include <sys/statvfs.h>
34431
34432 int
34433 main ()
34434 {
34435
34436 statvfs("/", NULL);
34437
34438 ;
34439 return 0;
34440 }
34441 _ACEOF
34442 rm -f conftest.$ac_objext
34443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34444 (eval $ac_compile) 2>conftest.er1
34445 ac_status=$?
34446 grep -v '^ *+' conftest.er1 >conftest.err
34447 rm -f conftest.er1
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34454 ac_status=$?
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try='test -s conftest.$ac_objext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 wx_cv_func_statvfs=yes
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34467
34468 wx_cv_func_statvfs=no
34469
34470 fi
34471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34472
34473 fi
34474 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34475 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34476
34477 if test "$wx_cv_func_statvfs" = "yes"; then
34478
34479
34480 ac_ext=cc
34481 ac_cpp='$CXXCPP $CPPFLAGS'
34482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485
34486
34487 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34488 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34489 if test "${wx_cv_type_statvfs_t+set}" = set; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 else
34492 cat >conftest.$ac_ext <<_ACEOF
34493 /* confdefs.h. */
34494 _ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34498
34499 #include <sys/statvfs.h>
34500
34501 int
34502 main ()
34503 {
34504
34505 long l;
34506 statvfs_t fs;
34507 statvfs("/", &fs);
34508 l = fs.f_bsize;
34509 l += fs.f_blocks;
34510 l += fs.f_bavail;
34511
34512 ;
34513 return 0;
34514 }
34515 _ACEOF
34516 rm -f conftest.$ac_objext
34517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34518 (eval $ac_compile) 2>conftest.er1
34519 ac_status=$?
34520 grep -v '^ *+' conftest.er1 >conftest.err
34521 rm -f conftest.er1
34522 cat conftest.err >&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; } &&
34531 { ac_try='test -s conftest.$ac_objext'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; }; then
34537 wx_cv_type_statvfs_t=statvfs_t
34538 else
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34541
34542
34543 cat >conftest.$ac_ext <<_ACEOF
34544 /* confdefs.h. */
34545 _ACEOF
34546 cat confdefs.h >>conftest.$ac_ext
34547 cat >>conftest.$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34549
34550 #include <sys/statvfs.h>
34551
34552 int
34553 main ()
34554 {
34555
34556 long l;
34557 struct statvfs fs;
34558 statvfs("/", &fs);
34559 l = fs.f_bsize;
34560 l += fs.f_blocks;
34561 l += fs.f_bavail;
34562
34563 ;
34564 return 0;
34565 }
34566 _ACEOF
34567 rm -f conftest.$ac_objext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34569 (eval $ac_compile) 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34578 (eval $ac_try) 2>&5
34579 ac_status=$?
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try='test -s conftest.$ac_objext'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34585 ac_status=$?
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; }; then
34588 wx_cv_type_statvfs_t="struct statvfs"
34589 else
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.$ac_ext >&5
34592
34593 wx_cv_type_statvfs_t="unknown"
34594
34595 fi
34596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34597
34598
34599 fi
34600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34601
34602 fi
34603 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34604 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34605
34606 ac_ext=c
34607 ac_cpp='$CPP $CPPFLAGS'
34608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34611
34612
34613 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34614 cat >>confdefs.h <<\_ACEOF
34615 #define HAVE_STATVFS 1
34616 _ACEOF
34617
34618 fi
34619 else
34620 wx_cv_type_statvfs_t="unknown"
34621 fi
34622 fi
34623
34624 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34625 cat >>confdefs.h <<_ACEOF
34626 #define WX_STATFS_T $wx_cv_type_statvfs_t
34627 _ACEOF
34628
34629 else
34630 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34631 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34632 fi
34633
34634 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34635
34636
34637 for ac_func in fcntl flock
34638 do
34639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34640 echo "$as_me:$LINENO: checking for $ac_func" >&5
34641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34642 if eval "test \"\${$as_ac_var+set}\" = set"; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34653 #define $ac_func innocuous_$ac_func
34654
34655 /* System header to define __stub macros and hopefully few prototypes,
34656 which can conflict with char $ac_func (); below.
34657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34658 <limits.h> exists even on freestanding compilers. */
34659
34660 #ifdef __STDC__
34661 # include <limits.h>
34662 #else
34663 # include <assert.h>
34664 #endif
34665
34666 #undef $ac_func
34667
34668 /* Override any gcc2 internal prototype to avoid an error. */
34669 #ifdef __cplusplus
34670 extern "C"
34671 {
34672 #endif
34673 /* We use char because int might match the return type of a gcc2
34674 builtin and then its argument prototype would still apply. */
34675 char $ac_func ();
34676 /* The GNU C library defines this for functions which it implements
34677 to always fail with ENOSYS. Some functions are actually named
34678 something starting with __ and the normal name is an alias. */
34679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34680 choke me
34681 #else
34682 char (*f) () = $ac_func;
34683 #endif
34684 #ifdef __cplusplus
34685 }
34686 #endif
34687
34688 int
34689 main ()
34690 {
34691 return f != $ac_func;
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext conftest$ac_exeext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34698 (eval $ac_link) 2>conftest.er1
34699 ac_status=$?
34700 grep -v '^ *+' conftest.er1 >conftest.err
34701 rm -f conftest.er1
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } &&
34705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707 (eval $ac_try) 2>&5
34708 ac_status=$?
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); }; } &&
34711 { ac_try='test -s conftest$ac_exeext'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34714 ac_status=$?
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; }; then
34717 eval "$as_ac_var=yes"
34718 else
34719 echo "$as_me: failed program was:" >&5
34720 sed 's/^/| /' conftest.$ac_ext >&5
34721
34722 eval "$as_ac_var=no"
34723 fi
34724 rm -f conftest.err conftest.$ac_objext \
34725 conftest$ac_exeext conftest.$ac_ext
34726 fi
34727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34729 if test `eval echo '${'$as_ac_var'}'` = yes; then
34730 cat >>confdefs.h <<_ACEOF
34731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34732 _ACEOF
34733 break
34734 fi
34735 done
34736
34737
34738 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34739 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34740 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34741 wxUSE_SNGLINST_CHECKER=no
34742 fi
34743 fi
34744
34745
34746 for ac_func in timegm
34747 do
34748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34749 echo "$as_me:$LINENO: checking for $ac_func" >&5
34750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34751 if eval "test \"\${$as_ac_var+set}\" = set"; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34753 else
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h. */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34762 #define $ac_func innocuous_$ac_func
34763
34764 /* System header to define __stub macros and hopefully few prototypes,
34765 which can conflict with char $ac_func (); below.
34766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34767 <limits.h> exists even on freestanding compilers. */
34768
34769 #ifdef __STDC__
34770 # include <limits.h>
34771 #else
34772 # include <assert.h>
34773 #endif
34774
34775 #undef $ac_func
34776
34777 /* Override any gcc2 internal prototype to avoid an error. */
34778 #ifdef __cplusplus
34779 extern "C"
34780 {
34781 #endif
34782 /* We use char because int might match the return type of a gcc2
34783 builtin and then its argument prototype would still apply. */
34784 char $ac_func ();
34785 /* The GNU C library defines this for functions which it implements
34786 to always fail with ENOSYS. Some functions are actually named
34787 something starting with __ and the normal name is an alias. */
34788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34789 choke me
34790 #else
34791 char (*f) () = $ac_func;
34792 #endif
34793 #ifdef __cplusplus
34794 }
34795 #endif
34796
34797 int
34798 main ()
34799 {
34800 return f != $ac_func;
34801 ;
34802 return 0;
34803 }
34804 _ACEOF
34805 rm -f conftest.$ac_objext conftest$ac_exeext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34807 (eval $ac_link) 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34816 (eval $ac_try) 2>&5
34817 ac_status=$?
34818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819 (exit $ac_status); }; } &&
34820 { ac_try='test -s conftest$ac_exeext'
34821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34822 (eval $ac_try) 2>&5
34823 ac_status=$?
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); }; }; then
34826 eval "$as_ac_var=yes"
34827 else
34828 echo "$as_me: failed program was:" >&5
34829 sed 's/^/| /' conftest.$ac_ext >&5
34830
34831 eval "$as_ac_var=no"
34832 fi
34833 rm -f conftest.err conftest.$ac_objext \
34834 conftest$ac_exeext conftest.$ac_ext
34835 fi
34836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34838 if test `eval echo '${'$as_ac_var'}'` = yes; then
34839 cat >>confdefs.h <<_ACEOF
34840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34841 _ACEOF
34842
34843 fi
34844 done
34845
34846
34847
34848
34849 for ac_func in putenv setenv
34850 do
34851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34852 echo "$as_me:$LINENO: checking for $ac_func" >&5
34853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34854 if eval "test \"\${$as_ac_var+set}\" = set"; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34856 else
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h. */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34865 #define $ac_func innocuous_$ac_func
34866
34867 /* System header to define __stub macros and hopefully few prototypes,
34868 which can conflict with char $ac_func (); below.
34869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870 <limits.h> exists even on freestanding compilers. */
34871
34872 #ifdef __STDC__
34873 # include <limits.h>
34874 #else
34875 # include <assert.h>
34876 #endif
34877
34878 #undef $ac_func
34879
34880 /* Override any gcc2 internal prototype to avoid an error. */
34881 #ifdef __cplusplus
34882 extern "C"
34883 {
34884 #endif
34885 /* We use char because int might match the return type of a gcc2
34886 builtin and then its argument prototype would still apply. */
34887 char $ac_func ();
34888 /* The GNU C library defines this for functions which it implements
34889 to always fail with ENOSYS. Some functions are actually named
34890 something starting with __ and the normal name is an alias. */
34891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34892 choke me
34893 #else
34894 char (*f) () = $ac_func;
34895 #endif
34896 #ifdef __cplusplus
34897 }
34898 #endif
34899
34900 int
34901 main ()
34902 {
34903 return f != $ac_func;
34904 ;
34905 return 0;
34906 }
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34910 (eval $ac_link) 2>conftest.er1
34911 ac_status=$?
34912 grep -v '^ *+' conftest.er1 >conftest.err
34913 rm -f conftest.er1
34914 cat conftest.err >&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } &&
34917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34919 (eval $ac_try) 2>&5
34920 ac_status=$?
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); }; } &&
34923 { ac_try='test -s conftest$ac_exeext'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34926 ac_status=$?
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; }; then
34929 eval "$as_ac_var=yes"
34930 else
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34933
34934 eval "$as_ac_var=no"
34935 fi
34936 rm -f conftest.err conftest.$ac_objext \
34937 conftest$ac_exeext conftest.$ac_ext
34938 fi
34939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34941 if test `eval echo '${'$as_ac_var'}'` = yes; then
34942 cat >>confdefs.h <<_ACEOF
34943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34944 _ACEOF
34945 break
34946 fi
34947 done
34948
34949
34950 HAVE_SOME_SLEEP_FUNC=0
34951 if test "$USE_BEOS" = 1; then
34952 cat >>confdefs.h <<\_ACEOF
34953 #define HAVE_SLEEP 1
34954 _ACEOF
34955
34956 HAVE_SOME_SLEEP_FUNC=1
34957 fi
34958
34959 if test "$USE_DARWIN" = 1; then
34960 cat >>confdefs.h <<\_ACEOF
34961 #define HAVE_USLEEP 1
34962 _ACEOF
34963
34964 HAVE_SOME_SLEEP_FUNC=1
34965 fi
34966
34967 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34968 POSIX4_LINK=
34969
34970 for ac_func in nanosleep
34971 do
34972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34973 echo "$as_me:$LINENO: checking for $ac_func" >&5
34974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34975 if eval "test \"\${$as_ac_var+set}\" = set"; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 else
34978 cat >conftest.$ac_ext <<_ACEOF
34979 /* confdefs.h. */
34980 _ACEOF
34981 cat confdefs.h >>conftest.$ac_ext
34982 cat >>conftest.$ac_ext <<_ACEOF
34983 /* end confdefs.h. */
34984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34986 #define $ac_func innocuous_$ac_func
34987
34988 /* System header to define __stub macros and hopefully few prototypes,
34989 which can conflict with char $ac_func (); below.
34990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34991 <limits.h> exists even on freestanding compilers. */
34992
34993 #ifdef __STDC__
34994 # include <limits.h>
34995 #else
34996 # include <assert.h>
34997 #endif
34998
34999 #undef $ac_func
35000
35001 /* Override any gcc2 internal prototype to avoid an error. */
35002 #ifdef __cplusplus
35003 extern "C"
35004 {
35005 #endif
35006 /* We use char because int might match the return type of a gcc2
35007 builtin and then its argument prototype would still apply. */
35008 char $ac_func ();
35009 /* The GNU C library defines this for functions which it implements
35010 to always fail with ENOSYS. Some functions are actually named
35011 something starting with __ and the normal name is an alias. */
35012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35013 choke me
35014 #else
35015 char (*f) () = $ac_func;
35016 #endif
35017 #ifdef __cplusplus
35018 }
35019 #endif
35020
35021 int
35022 main ()
35023 {
35024 return f != $ac_func;
35025 ;
35026 return 0;
35027 }
35028 _ACEOF
35029 rm -f conftest.$ac_objext conftest$ac_exeext
35030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35031 (eval $ac_link) 2>conftest.er1
35032 ac_status=$?
35033 grep -v '^ *+' conftest.er1 >conftest.err
35034 rm -f conftest.er1
35035 cat conftest.err >&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); } &&
35038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35041 ac_status=$?
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; } &&
35044 { ac_try='test -s conftest$ac_exeext'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35047 ac_status=$?
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; }; then
35050 eval "$as_ac_var=yes"
35051 else
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.$ac_ext >&5
35054
35055 eval "$as_ac_var=no"
35056 fi
35057 rm -f conftest.err conftest.$ac_objext \
35058 conftest$ac_exeext conftest.$ac_ext
35059 fi
35060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35062 if test `eval echo '${'$as_ac_var'}'` = yes; then
35063 cat >>confdefs.h <<_ACEOF
35064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35065 _ACEOF
35066 cat >>confdefs.h <<\_ACEOF
35067 #define HAVE_NANOSLEEP 1
35068 _ACEOF
35069
35070 else
35071
35072 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35073 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35074 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35075 echo $ECHO_N "(cached) $ECHO_C" >&6
35076 else
35077 ac_check_lib_save_LIBS=$LIBS
35078 LIBS="-lposix4 $LIBS"
35079 cat >conftest.$ac_ext <<_ACEOF
35080 /* confdefs.h. */
35081 _ACEOF
35082 cat confdefs.h >>conftest.$ac_ext
35083 cat >>conftest.$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35085
35086 /* Override any gcc2 internal prototype to avoid an error. */
35087 #ifdef __cplusplus
35088 extern "C"
35089 #endif
35090 /* We use char because int might match the return type of a gcc2
35091 builtin and then its argument prototype would still apply. */
35092 char nanosleep ();
35093 int
35094 main ()
35095 {
35096 nanosleep ();
35097 ;
35098 return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35104 ac_status=$?
35105 grep -v '^ *+' conftest.er1 >conftest.err
35106 rm -f conftest.er1
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35113 ac_status=$?
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; } &&
35116 { ac_try='test -s conftest$ac_exeext'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35119 ac_status=$?
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; }; then
35122 ac_cv_lib_posix4_nanosleep=yes
35123 else
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35126
35127 ac_cv_lib_posix4_nanosleep=no
35128 fi
35129 rm -f conftest.err conftest.$ac_objext \
35130 conftest$ac_exeext conftest.$ac_ext
35131 LIBS=$ac_check_lib_save_LIBS
35132 fi
35133 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35134 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35135 if test $ac_cv_lib_posix4_nanosleep = yes; then
35136
35137 cat >>confdefs.h <<\_ACEOF
35138 #define HAVE_NANOSLEEP 1
35139 _ACEOF
35140
35141 POSIX4_LINK=" -lposix4"
35142
35143 else
35144
35145
35146 for ac_func in usleep
35147 do
35148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35149 echo "$as_me:$LINENO: checking for $ac_func" >&5
35150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35151 if eval "test \"\${$as_ac_var+set}\" = set"; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 else
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define $ac_func innocuous_$ac_func
35163
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char $ac_func (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35168
35169 #ifdef __STDC__
35170 # include <limits.h>
35171 #else
35172 # include <assert.h>
35173 #endif
35174
35175 #undef $ac_func
35176
35177 /* Override any gcc2 internal prototype to avoid an error. */
35178 #ifdef __cplusplus
35179 extern "C"
35180 {
35181 #endif
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char $ac_func ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35189 choke me
35190 #else
35191 char (*f) () = $ac_func;
35192 #endif
35193 #ifdef __cplusplus
35194 }
35195 #endif
35196
35197 int
35198 main ()
35199 {
35200 return f != $ac_func;
35201 ;
35202 return 0;
35203 }
35204 _ACEOF
35205 rm -f conftest.$ac_objext conftest$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35217 ac_status=$?
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35223 ac_status=$?
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 eval "$as_ac_var=yes"
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231 eval "$as_ac_var=no"
35232 fi
35233 rm -f conftest.err conftest.$ac_objext \
35234 conftest$ac_exeext conftest.$ac_ext
35235 fi
35236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35238 if test `eval echo '${'$as_ac_var'}'` = yes; then
35239 cat >>confdefs.h <<_ACEOF
35240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35241 _ACEOF
35242 cat >>confdefs.h <<\_ACEOF
35243 #define HAVE_USLEEP 1
35244 _ACEOF
35245
35246 else
35247 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35248 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35249
35250 fi
35251 done
35252
35253
35254
35255 fi
35256
35257
35258
35259 fi
35260 done
35261
35262 fi
35263
35264
35265
35266 for ac_func in uname gethostname
35267 do
35268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35269 echo "$as_me:$LINENO: checking for $ac_func" >&5
35270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35271 if eval "test \"\${$as_ac_var+set}\" = set"; then
35272 echo $ECHO_N "(cached) $ECHO_C" >&6
35273 else
35274 cat >conftest.$ac_ext <<_ACEOF
35275 /* confdefs.h. */
35276 _ACEOF
35277 cat confdefs.h >>conftest.$ac_ext
35278 cat >>conftest.$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35282 #define $ac_func innocuous_$ac_func
35283
35284 /* System header to define __stub macros and hopefully few prototypes,
35285 which can conflict with char $ac_func (); below.
35286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35287 <limits.h> exists even on freestanding compilers. */
35288
35289 #ifdef __STDC__
35290 # include <limits.h>
35291 #else
35292 # include <assert.h>
35293 #endif
35294
35295 #undef $ac_func
35296
35297 /* Override any gcc2 internal prototype to avoid an error. */
35298 #ifdef __cplusplus
35299 extern "C"
35300 {
35301 #endif
35302 /* We use char because int might match the return type of a gcc2
35303 builtin and then its argument prototype would still apply. */
35304 char $ac_func ();
35305 /* The GNU C library defines this for functions which it implements
35306 to always fail with ENOSYS. Some functions are actually named
35307 something starting with __ and the normal name is an alias. */
35308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35309 choke me
35310 #else
35311 char (*f) () = $ac_func;
35312 #endif
35313 #ifdef __cplusplus
35314 }
35315 #endif
35316
35317 int
35318 main ()
35319 {
35320 return f != $ac_func;
35321 ;
35322 return 0;
35323 }
35324 _ACEOF
35325 rm -f conftest.$ac_objext conftest$ac_exeext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35327 (eval $ac_link) 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35336 (eval $ac_try) 2>&5
35337 ac_status=$?
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); }; } &&
35340 { ac_try='test -s conftest$ac_exeext'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; }; then
35346 eval "$as_ac_var=yes"
35347 else
35348 echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.$ac_ext >&5
35350
35351 eval "$as_ac_var=no"
35352 fi
35353 rm -f conftest.err conftest.$ac_objext \
35354 conftest$ac_exeext conftest.$ac_ext
35355 fi
35356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35358 if test `eval echo '${'$as_ac_var'}'` = yes; then
35359 cat >>confdefs.h <<_ACEOF
35360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35361 _ACEOF
35362 break
35363 fi
35364 done
35365
35366
35367
35368
35369 ac_ext=cc
35370 ac_cpp='$CXXCPP $CPPFLAGS'
35371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374
35375
35376
35377 for ac_func in strtok_r
35378 do
35379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35380 echo "$as_me:$LINENO: checking for $ac_func" >&5
35381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35382 if eval "test \"\${$as_ac_var+set}\" = set"; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 else
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35393 #define $ac_func innocuous_$ac_func
35394
35395 /* System header to define __stub macros and hopefully few prototypes,
35396 which can conflict with char $ac_func (); below.
35397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35398 <limits.h> exists even on freestanding compilers. */
35399
35400 #ifdef __STDC__
35401 # include <limits.h>
35402 #else
35403 # include <assert.h>
35404 #endif
35405
35406 #undef $ac_func
35407
35408 /* Override any gcc2 internal prototype to avoid an error. */
35409 #ifdef __cplusplus
35410 extern "C"
35411 {
35412 #endif
35413 /* We use char because int might match the return type of a gcc2
35414 builtin and then its argument prototype would still apply. */
35415 char $ac_func ();
35416 /* The GNU C library defines this for functions which it implements
35417 to always fail with ENOSYS. Some functions are actually named
35418 something starting with __ and the normal name is an alias. */
35419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35420 choke me
35421 #else
35422 char (*f) () = $ac_func;
35423 #endif
35424 #ifdef __cplusplus
35425 }
35426 #endif
35427
35428 int
35429 main ()
35430 {
35431 return f != $ac_func;
35432 ;
35433 return 0;
35434 }
35435 _ACEOF
35436 rm -f conftest.$ac_objext conftest$ac_exeext
35437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35438 (eval $ac_link) 2>conftest.er1
35439 ac_status=$?
35440 grep -v '^ *+' conftest.er1 >conftest.err
35441 rm -f conftest.er1
35442 cat conftest.err >&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } &&
35445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35448 ac_status=$?
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; } &&
35451 { ac_try='test -s conftest$ac_exeext'
35452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453 (eval $ac_try) 2>&5
35454 ac_status=$?
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; }; then
35457 eval "$as_ac_var=yes"
35458 else
35459 echo "$as_me: failed program was:" >&5
35460 sed 's/^/| /' conftest.$ac_ext >&5
35461
35462 eval "$as_ac_var=no"
35463 fi
35464 rm -f conftest.err conftest.$ac_objext \
35465 conftest$ac_exeext conftest.$ac_ext
35466 fi
35467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35469 if test `eval echo '${'$as_ac_var'}'` = yes; then
35470 cat >>confdefs.h <<_ACEOF
35471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35472 _ACEOF
35473
35474 fi
35475 done
35476
35477
35478 ac_ext=c
35479 ac_cpp='$CPP $CPPFLAGS'
35480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35483
35484
35485 INET_LINK=
35486
35487 for ac_func in inet_addr
35488 do
35489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35490 echo "$as_me:$LINENO: checking for $ac_func" >&5
35491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35492 if eval "test \"\${$as_ac_var+set}\" = set"; then
35493 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 else
35495 cat >conftest.$ac_ext <<_ACEOF
35496 /* confdefs.h. */
35497 _ACEOF
35498 cat confdefs.h >>conftest.$ac_ext
35499 cat >>conftest.$ac_ext <<_ACEOF
35500 /* end confdefs.h. */
35501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35503 #define $ac_func innocuous_$ac_func
35504
35505 /* System header to define __stub macros and hopefully few prototypes,
35506 which can conflict with char $ac_func (); below.
35507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35508 <limits.h> exists even on freestanding compilers. */
35509
35510 #ifdef __STDC__
35511 # include <limits.h>
35512 #else
35513 # include <assert.h>
35514 #endif
35515
35516 #undef $ac_func
35517
35518 /* Override any gcc2 internal prototype to avoid an error. */
35519 #ifdef __cplusplus
35520 extern "C"
35521 {
35522 #endif
35523 /* We use char because int might match the return type of a gcc2
35524 builtin and then its argument prototype would still apply. */
35525 char $ac_func ();
35526 /* The GNU C library defines this for functions which it implements
35527 to always fail with ENOSYS. Some functions are actually named
35528 something starting with __ and the normal name is an alias. */
35529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35530 choke me
35531 #else
35532 char (*f) () = $ac_func;
35533 #endif
35534 #ifdef __cplusplus
35535 }
35536 #endif
35537
35538 int
35539 main ()
35540 {
35541 return f != $ac_func;
35542 ;
35543 return 0;
35544 }
35545 _ACEOF
35546 rm -f conftest.$ac_objext conftest$ac_exeext
35547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35548 (eval $ac_link) 2>conftest.er1
35549 ac_status=$?
35550 grep -v '^ *+' conftest.er1 >conftest.err
35551 rm -f conftest.er1
35552 cat conftest.err >&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); } &&
35555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35557 (eval $ac_try) 2>&5
35558 ac_status=$?
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); }; } &&
35561 { ac_try='test -s conftest$ac_exeext'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; }; then
35567 eval "$as_ac_var=yes"
35568 else
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35571
35572 eval "$as_ac_var=no"
35573 fi
35574 rm -f conftest.err conftest.$ac_objext \
35575 conftest$ac_exeext conftest.$ac_ext
35576 fi
35577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35579 if test `eval echo '${'$as_ac_var'}'` = yes; then
35580 cat >>confdefs.h <<_ACEOF
35581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35582 _ACEOF
35583 cat >>confdefs.h <<\_ACEOF
35584 #define HAVE_INET_ADDR 1
35585 _ACEOF
35586
35587 else
35588
35589 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35590 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35591 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594 ac_check_lib_save_LIBS=$LIBS
35595 LIBS="-lnsl $LIBS"
35596 cat >conftest.$ac_ext <<_ACEOF
35597 /* confdefs.h. */
35598 _ACEOF
35599 cat confdefs.h >>conftest.$ac_ext
35600 cat >>conftest.$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602
35603 /* Override any gcc2 internal prototype to avoid an error. */
35604 #ifdef __cplusplus
35605 extern "C"
35606 #endif
35607 /* We use char because int might match the return type of a gcc2
35608 builtin and then its argument prototype would still apply. */
35609 char inet_addr ();
35610 int
35611 main ()
35612 {
35613 inet_addr ();
35614 ;
35615 return 0;
35616 }
35617 _ACEOF
35618 rm -f conftest.$ac_objext conftest$ac_exeext
35619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35620 (eval $ac_link) 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } &&
35627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35630 ac_status=$?
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; } &&
35633 { ac_try='test -s conftest$ac_exeext'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; }; then
35639 ac_cv_lib_nsl_inet_addr=yes
35640 else
35641 echo "$as_me: failed program was:" >&5
35642 sed 's/^/| /' conftest.$ac_ext >&5
35643
35644 ac_cv_lib_nsl_inet_addr=no
35645 fi
35646 rm -f conftest.err conftest.$ac_objext \
35647 conftest$ac_exeext conftest.$ac_ext
35648 LIBS=$ac_check_lib_save_LIBS
35649 fi
35650 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35651 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35652 if test $ac_cv_lib_nsl_inet_addr = yes; then
35653 INET_LINK="nsl"
35654 else
35655
35656 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35657 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35658 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35659 echo $ECHO_N "(cached) $ECHO_C" >&6
35660 else
35661 ac_check_lib_save_LIBS=$LIBS
35662 LIBS="-lresolv $LIBS"
35663 cat >conftest.$ac_ext <<_ACEOF
35664 /* confdefs.h. */
35665 _ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669
35670 /* Override any gcc2 internal prototype to avoid an error. */
35671 #ifdef __cplusplus
35672 extern "C"
35673 #endif
35674 /* We use char because int might match the return type of a gcc2
35675 builtin and then its argument prototype would still apply. */
35676 char inet_addr ();
35677 int
35678 main ()
35679 {
35680 inet_addr ();
35681 ;
35682 return 0;
35683 }
35684 _ACEOF
35685 rm -f conftest.$ac_objext conftest$ac_exeext
35686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35687 (eval $ac_link) 2>conftest.er1
35688 ac_status=$?
35689 grep -v '^ *+' conftest.er1 >conftest.err
35690 rm -f conftest.er1
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } &&
35694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35696 (eval $ac_try) 2>&5
35697 ac_status=$?
35698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35699 (exit $ac_status); }; } &&
35700 { ac_try='test -s conftest$ac_exeext'
35701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35702 (eval $ac_try) 2>&5
35703 ac_status=$?
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); }; }; then
35706 ac_cv_lib_resolv_inet_addr=yes
35707 else
35708 echo "$as_me: failed program was:" >&5
35709 sed 's/^/| /' conftest.$ac_ext >&5
35710
35711 ac_cv_lib_resolv_inet_addr=no
35712 fi
35713 rm -f conftest.err conftest.$ac_objext \
35714 conftest$ac_exeext conftest.$ac_ext
35715 LIBS=$ac_check_lib_save_LIBS
35716 fi
35717 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35718 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35719 if test $ac_cv_lib_resolv_inet_addr = yes; then
35720 INET_LINK="resolv"
35721 else
35722
35723 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35724 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35725 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35726 echo $ECHO_N "(cached) $ECHO_C" >&6
35727 else
35728 ac_check_lib_save_LIBS=$LIBS
35729 LIBS="-lsocket $LIBS"
35730 cat >conftest.$ac_ext <<_ACEOF
35731 /* confdefs.h. */
35732 _ACEOF
35733 cat confdefs.h >>conftest.$ac_ext
35734 cat >>conftest.$ac_ext <<_ACEOF
35735 /* end confdefs.h. */
35736
35737 /* Override any gcc2 internal prototype to avoid an error. */
35738 #ifdef __cplusplus
35739 extern "C"
35740 #endif
35741 /* We use char because int might match the return type of a gcc2
35742 builtin and then its argument prototype would still apply. */
35743 char inet_addr ();
35744 int
35745 main ()
35746 {
35747 inet_addr ();
35748 ;
35749 return 0;
35750 }
35751 _ACEOF
35752 rm -f conftest.$ac_objext conftest$ac_exeext
35753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35754 (eval $ac_link) 2>conftest.er1
35755 ac_status=$?
35756 grep -v '^ *+' conftest.er1 >conftest.err
35757 rm -f conftest.er1
35758 cat conftest.err >&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } &&
35761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35763 (eval $ac_try) 2>&5
35764 ac_status=$?
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); }; } &&
35767 { ac_try='test -s conftest$ac_exeext'
35768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35769 (eval $ac_try) 2>&5
35770 ac_status=$?
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); }; }; then
35773 ac_cv_lib_socket_inet_addr=yes
35774 else
35775 echo "$as_me: failed program was:" >&5
35776 sed 's/^/| /' conftest.$ac_ext >&5
35777
35778 ac_cv_lib_socket_inet_addr=no
35779 fi
35780 rm -f conftest.err conftest.$ac_objext \
35781 conftest$ac_exeext conftest.$ac_ext
35782 LIBS=$ac_check_lib_save_LIBS
35783 fi
35784 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35785 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35786 if test $ac_cv_lib_socket_inet_addr = yes; then
35787 INET_LINK="socket"
35788
35789 fi
35790
35791
35792
35793 fi
35794
35795
35796
35797 fi
35798
35799
35800
35801 fi
35802 done
35803
35804
35805
35806 for ac_func in inet_aton
35807 do
35808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35809 echo "$as_me:$LINENO: checking for $ac_func" >&5
35810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35811 if eval "test \"\${$as_ac_var+set}\" = set"; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814 cat >conftest.$ac_ext <<_ACEOF
35815 /* confdefs.h. */
35816 _ACEOF
35817 cat confdefs.h >>conftest.$ac_ext
35818 cat >>conftest.$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35822 #define $ac_func innocuous_$ac_func
35823
35824 /* System header to define __stub macros and hopefully few prototypes,
35825 which can conflict with char $ac_func (); below.
35826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35827 <limits.h> exists even on freestanding compilers. */
35828
35829 #ifdef __STDC__
35830 # include <limits.h>
35831 #else
35832 # include <assert.h>
35833 #endif
35834
35835 #undef $ac_func
35836
35837 /* Override any gcc2 internal prototype to avoid an error. */
35838 #ifdef __cplusplus
35839 extern "C"
35840 {
35841 #endif
35842 /* We use char because int might match the return type of a gcc2
35843 builtin and then its argument prototype would still apply. */
35844 char $ac_func ();
35845 /* The GNU C library defines this for functions which it implements
35846 to always fail with ENOSYS. Some functions are actually named
35847 something starting with __ and the normal name is an alias. */
35848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35849 choke me
35850 #else
35851 char (*f) () = $ac_func;
35852 #endif
35853 #ifdef __cplusplus
35854 }
35855 #endif
35856
35857 int
35858 main ()
35859 {
35860 return f != $ac_func;
35861 ;
35862 return 0;
35863 }
35864 _ACEOF
35865 rm -f conftest.$ac_objext conftest$ac_exeext
35866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35867 (eval $ac_link) 2>conftest.er1
35868 ac_status=$?
35869 grep -v '^ *+' conftest.er1 >conftest.err
35870 rm -f conftest.er1
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } &&
35874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; } &&
35880 { ac_try='test -s conftest$ac_exeext'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35883 ac_status=$?
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; }; then
35886 eval "$as_ac_var=yes"
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891 eval "$as_ac_var=no"
35892 fi
35893 rm -f conftest.err conftest.$ac_objext \
35894 conftest$ac_exeext conftest.$ac_ext
35895 fi
35896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35898 if test `eval echo '${'$as_ac_var'}'` = yes; then
35899 cat >>confdefs.h <<_ACEOF
35900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35901 _ACEOF
35902 cat >>confdefs.h <<\_ACEOF
35903 #define HAVE_INET_ATON 1
35904 _ACEOF
35905
35906 else
35907
35908 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35909 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35910 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35911 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35912 echo $ECHO_N "(cached) $ECHO_C" >&6
35913 else
35914 ac_check_lib_save_LIBS=$LIBS
35915 LIBS="-l$INET_LINK $LIBS"
35916 cat >conftest.$ac_ext <<_ACEOF
35917 /* confdefs.h. */
35918 _ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35922
35923 /* Override any gcc2 internal prototype to avoid an error. */
35924 #ifdef __cplusplus
35925 extern "C"
35926 #endif
35927 /* We use char because int might match the return type of a gcc2
35928 builtin and then its argument prototype would still apply. */
35929 char inet_aton ();
35930 int
35931 main ()
35932 {
35933 inet_aton ();
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext conftest$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_Lib=yes"
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964 eval "$as_ac_Lib=no"
35965 fi
35966 rm -f conftest.err conftest.$ac_objext \
35967 conftest$ac_exeext conftest.$ac_ext
35968 LIBS=$ac_check_lib_save_LIBS
35969 fi
35970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35971 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35972 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35973 cat >>confdefs.h <<\_ACEOF
35974 #define HAVE_INET_ATON 1
35975 _ACEOF
35976
35977 fi
35978
35979
35980 fi
35981 done
35982
35983
35984 if test "x$INET_LINK" != "x"; then
35985 cat >>confdefs.h <<\_ACEOF
35986 #define HAVE_INET_ADDR 1
35987 _ACEOF
35988
35989 INET_LINK=" -l$INET_LINK"
35990 fi
35991
35992 fi
35993
35994
35995
35996 EXTRALIBS_ESD=
35997 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35998 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35999 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 else
36002 ac_check_lib_save_LIBS=$LIBS
36003 LIBS="-lesd $LIBS"
36004 cat >conftest.$ac_ext <<_ACEOF
36005 /* confdefs.h. */
36006 _ACEOF
36007 cat confdefs.h >>conftest.$ac_ext
36008 cat >>conftest.$ac_ext <<_ACEOF
36009 /* end confdefs.h. */
36010
36011 /* Override any gcc2 internal prototype to avoid an error. */
36012 #ifdef __cplusplus
36013 extern "C"
36014 #endif
36015 /* We use char because int might match the return type of a gcc2
36016 builtin and then its argument prototype would still apply. */
36017 char esd_close ();
36018 int
36019 main ()
36020 {
36021 esd_close ();
36022 ;
36023 return 0;
36024 }
36025 _ACEOF
36026 rm -f conftest.$ac_objext conftest$ac_exeext
36027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36028 (eval $ac_link) 2>conftest.er1
36029 ac_status=$?
36030 grep -v '^ *+' conftest.er1 >conftest.err
36031 rm -f conftest.er1
36032 cat conftest.err >&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } &&
36035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36038 ac_status=$?
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; } &&
36041 { ac_try='test -s conftest$ac_exeext'
36042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36043 (eval $ac_try) 2>&5
36044 ac_status=$?
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); }; }; then
36047 ac_cv_lib_esd_esd_close=yes
36048 else
36049 echo "$as_me: failed program was:" >&5
36050 sed 's/^/| /' conftest.$ac_ext >&5
36051
36052 ac_cv_lib_esd_esd_close=no
36053 fi
36054 rm -f conftest.err conftest.$ac_objext \
36055 conftest$ac_exeext conftest.$ac_ext
36056 LIBS=$ac_check_lib_save_LIBS
36057 fi
36058 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36059 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36060 if test $ac_cv_lib_esd_esd_close = yes; then
36061
36062
36063 for ac_header in esd.h
36064 do
36065 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36067 echo "$as_me:$LINENO: checking for $ac_header" >&5
36068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36070 echo $ECHO_N "(cached) $ECHO_C" >&6
36071 fi
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36074 else
36075 # Is the header compilable?
36076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36078 cat >conftest.$ac_ext <<_ACEOF
36079 /* confdefs.h. */
36080 _ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 $ac_includes_default
36085 #include <$ac_header>
36086 _ACEOF
36087 rm -f conftest.$ac_objext
36088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36089 (eval $ac_compile) 2>conftest.er1
36090 ac_status=$?
36091 grep -v '^ *+' conftest.er1 >conftest.err
36092 rm -f conftest.er1
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } &&
36096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098 (eval $ac_try) 2>&5
36099 ac_status=$?
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); }; } &&
36102 { ac_try='test -s conftest.$ac_objext'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36105 ac_status=$?
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; }; then
36108 ac_header_compiler=yes
36109 else
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.$ac_ext >&5
36112
36113 ac_header_compiler=no
36114 fi
36115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36117 echo "${ECHO_T}$ac_header_compiler" >&6
36118
36119 # Is the header present?
36120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36122 cat >conftest.$ac_ext <<_ACEOF
36123 /* confdefs.h. */
36124 _ACEOF
36125 cat confdefs.h >>conftest.$ac_ext
36126 cat >>conftest.$ac_ext <<_ACEOF
36127 /* end confdefs.h. */
36128 #include <$ac_header>
36129 _ACEOF
36130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36132 ac_status=$?
36133 grep -v '^ *+' conftest.er1 >conftest.err
36134 rm -f conftest.er1
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } >/dev/null; then
36138 if test -s conftest.err; then
36139 ac_cpp_err=$ac_c_preproc_warn_flag
36140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36141 else
36142 ac_cpp_err=
36143 fi
36144 else
36145 ac_cpp_err=yes
36146 fi
36147 if test -z "$ac_cpp_err"; then
36148 ac_header_preproc=yes
36149 else
36150 echo "$as_me: failed program was:" >&5
36151 sed 's/^/| /' conftest.$ac_ext >&5
36152
36153 ac_header_preproc=no
36154 fi
36155 rm -f conftest.err conftest.$ac_ext
36156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36157 echo "${ECHO_T}$ac_header_preproc" >&6
36158
36159 # So? What about this header?
36160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36161 yes:no: )
36162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36166 ac_header_preproc=yes
36167 ;;
36168 no:yes:* )
36169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36181 (
36182 cat <<\_ASBOX
36183 ## ----------------------------------------- ##
36184 ## Report this to wx-dev@lists.wxwidgets.org ##
36185 ## ----------------------------------------- ##
36186 _ASBOX
36187 ) |
36188 sed "s/^/$as_me: WARNING: /" >&2
36189 ;;
36190 esac
36191 echo "$as_me:$LINENO: checking for $ac_header" >&5
36192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36194 echo $ECHO_N "(cached) $ECHO_C" >&6
36195 else
36196 eval "$as_ac_Header=\$ac_header_preproc"
36197 fi
36198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36200
36201 fi
36202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36203 cat >>confdefs.h <<_ACEOF
36204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36205 _ACEOF
36206
36207 EXTRALIBS_ESD="-lesd"
36208
36209 fi
36210
36211 done
36212
36213
36214 fi
36215
36216
36217
36218 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36219 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36220 cat >conftest.$ac_ext <<_ACEOF
36221 /* confdefs.h. */
36222 _ACEOF
36223 cat confdefs.h >>conftest.$ac_ext
36224 cat >>conftest.$ac_ext <<_ACEOF
36225 /* end confdefs.h. */
36226 #ifdef __linux__
36227 #include <linux/cdrom.h>
36228 #else
36229 /* For Solaris */
36230 #include <sys/cdio.h>
36231 #endif
36232
36233 int
36234 main ()
36235 {
36236 struct cdrom_tocentry entry, old_entry;
36237 ;
36238 return 0;
36239 }
36240 _ACEOF
36241 rm -f conftest.$ac_objext
36242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36243 (eval $ac_compile) 2>conftest.er1
36244 ac_status=$?
36245 grep -v '^ *+' conftest.er1 >conftest.err
36246 rm -f conftest.er1
36247 cat conftest.err >&5
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); } &&
36250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try='test -s conftest.$ac_objext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 echo "$as_me:$LINENO: result: yes" >&5
36263 echo "${ECHO_T}yes" >&6
36264 cat >>confdefs.h <<\_ACEOF
36265 #define HAVE_KNOWN_CDROM_INTERFACE 1
36266 _ACEOF
36267
36268 else
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36271
36272 echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6
36274 fi
36275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36276
36277
36278 cat >confcache <<\_ACEOF
36279 # This file is a shell script that caches the results of configure
36280 # tests run on this system so they can be shared between configure
36281 # scripts and configure runs, see configure's option --config-cache.
36282 # It is not useful on other systems. If it contains results you don't
36283 # want to keep, you may remove or edit it.
36284 #
36285 # config.status only pays attention to the cache file if you give it
36286 # the --recheck option to rerun configure.
36287 #
36288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36290 # following values.
36291
36292 _ACEOF
36293
36294 # The following way of writing the cache mishandles newlines in values,
36295 # but we know of no workaround that is simple, portable, and efficient.
36296 # So, don't put newlines in cache variables' values.
36297 # Ultrix sh set writes to stderr and can't be redirected directly,
36298 # and sets the high bit in the cache file unless we assign to the vars.
36299 {
36300 (set) 2>&1 |
36301 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36302 *ac_space=\ *)
36303 # `set' does not quote correctly, so add quotes (double-quote
36304 # substitution turns \\\\ into \\, and sed turns \\ into \).
36305 sed -n \
36306 "s/'/'\\\\''/g;
36307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36308 ;;
36309 *)
36310 # `set' quotes correctly as required by POSIX, so do not add quotes.
36311 sed -n \
36312 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36313 ;;
36314 esac;
36315 } |
36316 sed '
36317 t clear
36318 : clear
36319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36320 t end
36321 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36322 : end' >>confcache
36323 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36324 if test -w $cache_file; then
36325 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36326 cat confcache >$cache_file
36327 else
36328 echo "not updating unwritable cache $cache_file"
36329 fi
36330 fi
36331 rm -f confcache
36332
36333
36334 CPP_MT_FLAG=
36335 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36336
36337
36338 THREADS_LINK=
36339 THREADS_CFLAGS=
36340
36341 if test "$wxUSE_THREADS" = "yes" ; then
36342 if test "$USE_BEOS" = 1; then
36343 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36344 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36345 wxUSE_THREADS="no"
36346 fi
36347 fi
36348
36349 if test "$wxUSE_THREADS" = "yes" ; then
36350
36351
36352 THREAD_OPTS="-pthread"
36353 case "${host}" in
36354 *-*-solaris2* | *-*-sunos4* )
36355 if test "x$GCC" = "xyes"; then
36356 THREAD_OPTS="-pthreads $THREAD_OPTS"
36357 else
36358 THREAD_OPTS="-mt $THREAD_OPTS"
36359 fi
36360 ;;
36361 *-*-freebsd*)
36362 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36363 ;;
36364 *-*-darwin* | *-*-cygwin* )
36365 THREAD_OPTS=""
36366 ;;
36367 *-*-aix*)
36368 THREAD_OPTS="pthreads"
36369 ;;
36370 *-hp-hpux* )
36371 if test "x$GCC" = "xyes"; then
36372 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36373 THREAD_OPTS=""
36374 else
36375 THREAD_OPTS=""
36376 fi
36377 ;;
36378
36379 *-*-irix* )
36380 if test "x$GCC" = "xyes"; then
36381 THREAD_OPTS=""
36382 fi
36383 ;;
36384
36385 *-*-*UnixWare*)
36386 if test "x$GCC" != "xyes"; then
36387 THREAD_OPTS="-Ethread"
36388 fi
36389 ;;
36390 esac
36391
36392 THREAD_OPTS="$THREAD_OPTS pthread none"
36393
36394 THREADS_OK=no
36395 for flag in $THREAD_OPTS; do
36396 case $flag in
36397 none)
36398 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36399 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36400 ;;
36401
36402 -*)
36403 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36404 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36405 THREADS_CFLAGS="$flag"
36406 ;;
36407
36408 *)
36409 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36410 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36411 THREADS_LINK="-l$flag"
36412 ;;
36413 esac
36414
36415 save_LIBS="$LIBS"
36416 save_CFLAGS="$CFLAGS"
36417 LIBS="$THREADS_LINK $LIBS"
36418 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36419
36420 cat >conftest.$ac_ext <<_ACEOF
36421 /* confdefs.h. */
36422 _ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426 #include <pthread.h>
36427 int
36428 main ()
36429 {
36430 pthread_create(0,0,0,0);
36431 ;
36432 return 0;
36433 }
36434 _ACEOF
36435 rm -f conftest.$ac_objext conftest$ac_exeext
36436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36437 (eval $ac_link) 2>conftest.er1
36438 ac_status=$?
36439 grep -v '^ *+' conftest.er1 >conftest.err
36440 rm -f conftest.er1
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } &&
36444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36446 (eval $ac_try) 2>&5
36447 ac_status=$?
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); }; } &&
36450 { ac_try='test -s conftest$ac_exeext'
36451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36452 (eval $ac_try) 2>&5
36453 ac_status=$?
36454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36455 (exit $ac_status); }; }; then
36456 THREADS_OK=yes
36457 else
36458 echo "$as_me: failed program was:" >&5
36459 sed 's/^/| /' conftest.$ac_ext >&5
36460
36461 fi
36462 rm -f conftest.err conftest.$ac_objext \
36463 conftest$ac_exeext conftest.$ac_ext
36464
36465 LIBS="$save_LIBS"
36466 CFLAGS="$save_CFLAGS"
36467
36468 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36469 echo "${ECHO_T}$THREADS_OK" >&6
36470 if test "x$THREADS_OK" = "xyes"; then
36471 break;
36472 fi
36473
36474 THREADS_LINK=""
36475 THREADS_CFLAGS=""
36476 done
36477
36478 if test "x$THREADS_OK" != "xyes"; then
36479 wxUSE_THREADS=no
36480 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36481 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36482 else
36483 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
36484 LIBS="$THREADS_LINK $LIBS"
36485
36486 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36487 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36488 flag=no
36489 case "${host}" in
36490 *-aix*)
36491 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
36492 flag="-D_THREAD_SAFE"
36493 ;;
36494 *-freebsd*)
36495 flag="-D_THREAD_SAFE"
36496 ;;
36497 *-hp-hpux* )
36498 flag="-D_REENTRANT"
36499 if test "x$GCC" != "xyes"; then
36500 flag="$flag -D_RWSTD_MULTI_THREAD"
36501 fi
36502 ;;
36503 *solaris* | alpha*-osf*)
36504 flag="-D_REENTRANT"
36505 ;;
36506 esac
36507 echo "$as_me:$LINENO: result: ${flag}" >&5
36508 echo "${ECHO_T}${flag}" >&6
36509 if test "x$flag" != xno; then
36510 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
36511 fi
36512
36513 if test "x$THREADS_CFLAGS" != "x"; then
36514 CFLAGS="$CFLAGS $THREADS_CFLAGS"
36515 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
36516 fi
36517 fi
36518 fi
36519
36520 if test "$wxUSE_THREADS" = "yes" ; then
36521
36522 for ac_func in thr_setconcurrency
36523 do
36524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36525 echo "$as_me:$LINENO: checking for $ac_func" >&5
36526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36527 if eval "test \"\${$as_ac_var+set}\" = set"; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36529 else
36530 cat >conftest.$ac_ext <<_ACEOF
36531 /* confdefs.h. */
36532 _ACEOF
36533 cat confdefs.h >>conftest.$ac_ext
36534 cat >>conftest.$ac_ext <<_ACEOF
36535 /* end confdefs.h. */
36536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36538 #define $ac_func innocuous_$ac_func
36539
36540 /* System header to define __stub macros and hopefully few prototypes,
36541 which can conflict with char $ac_func (); below.
36542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36543 <limits.h> exists even on freestanding compilers. */
36544
36545 #ifdef __STDC__
36546 # include <limits.h>
36547 #else
36548 # include <assert.h>
36549 #endif
36550
36551 #undef $ac_func
36552
36553 /* Override any gcc2 internal prototype to avoid an error. */
36554 #ifdef __cplusplus
36555 extern "C"
36556 {
36557 #endif
36558 /* We use char because int might match the return type of a gcc2
36559 builtin and then its argument prototype would still apply. */
36560 char $ac_func ();
36561 /* The GNU C library defines this for functions which it implements
36562 to always fail with ENOSYS. Some functions are actually named
36563 something starting with __ and the normal name is an alias. */
36564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36565 choke me
36566 #else
36567 char (*f) () = $ac_func;
36568 #endif
36569 #ifdef __cplusplus
36570 }
36571 #endif
36572
36573 int
36574 main ()
36575 {
36576 return f != $ac_func;
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 rm -f conftest.$ac_objext conftest$ac_exeext
36582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36583 (eval $ac_link) 2>conftest.er1
36584 ac_status=$?
36585 grep -v '^ *+' conftest.er1 >conftest.err
36586 rm -f conftest.er1
36587 cat conftest.err >&5
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); } &&
36590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36593 ac_status=$?
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; } &&
36596 { ac_try='test -s conftest$ac_exeext'
36597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36598 (eval $ac_try) 2>&5
36599 ac_status=$?
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); }; }; then
36602 eval "$as_ac_var=yes"
36603 else
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.$ac_ext >&5
36606
36607 eval "$as_ac_var=no"
36608 fi
36609 rm -f conftest.err conftest.$ac_objext \
36610 conftest$ac_exeext conftest.$ac_ext
36611 fi
36612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36614 if test `eval echo '${'$as_ac_var'}'` = yes; then
36615 cat >>confdefs.h <<_ACEOF
36616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36617 _ACEOF
36618
36619 fi
36620 done
36621
36622
36623 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36624 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36625 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628
36629 cat >conftest.$ac_ext <<_ACEOF
36630 /* confdefs.h. */
36631 _ACEOF
36632 cat confdefs.h >>conftest.$ac_ext
36633 cat >>conftest.$ac_ext <<_ACEOF
36634 /* end confdefs.h. */
36635 #include <pthread.h>
36636 void ThreadCleanupFunc(void *p);
36637
36638 int
36639 main ()
36640 {
36641
36642 void *p;
36643 pthread_cleanup_push(ThreadCleanupFunc, p);
36644 pthread_cleanup_pop(0);
36645
36646 ;
36647 return 0;
36648 }
36649 _ACEOF
36650 rm -f conftest.$ac_objext
36651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36652 (eval $ac_compile) 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } &&
36659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36661 (eval $ac_try) 2>&5
36662 ac_status=$?
36663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36664 (exit $ac_status); }; } &&
36665 { ac_try='test -s conftest.$ac_objext'
36666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36667 (eval $ac_try) 2>&5
36668 ac_status=$?
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); }; }; then
36671
36672 wx_cv_func_pthread_cleanup=yes
36673
36674 else
36675 echo "$as_me: failed program was:" >&5
36676 sed 's/^/| /' conftest.$ac_ext >&5
36677
36678
36679 wx_cv_func_pthread_cleanup=no
36680
36681
36682 fi
36683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36684
36685 fi
36686 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36687 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36688 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36689 cat >>confdefs.h <<\_ACEOF
36690 #define wxHAVE_PTHREAD_CLEANUP 1
36691 _ACEOF
36692
36693 fi
36694
36695
36696 for ac_header in sched.h
36697 do
36698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36700 echo "$as_me:$LINENO: checking for $ac_header" >&5
36701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 fi
36705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36707 else
36708 # Is the header compilable?
36709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36711 cat >conftest.$ac_ext <<_ACEOF
36712 /* confdefs.h. */
36713 _ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 $ac_includes_default
36718 #include <$ac_header>
36719 _ACEOF
36720 rm -f conftest.$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722 (eval $ac_compile) 2>conftest.er1
36723 ac_status=$?
36724 grep -v '^ *+' conftest.er1 >conftest.err
36725 rm -f conftest.er1
36726 cat conftest.err >&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36731 (eval $ac_try) 2>&5
36732 ac_status=$?
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); }; } &&
36735 { ac_try='test -s conftest.$ac_objext'
36736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36737 (eval $ac_try) 2>&5
36738 ac_status=$?
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; }; then
36741 ac_header_compiler=yes
36742 else
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36745
36746 ac_header_compiler=no
36747 fi
36748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36750 echo "${ECHO_T}$ac_header_compiler" >&6
36751
36752 # Is the header present?
36753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36755 cat >conftest.$ac_ext <<_ACEOF
36756 /* confdefs.h. */
36757 _ACEOF
36758 cat confdefs.h >>conftest.$ac_ext
36759 cat >>conftest.$ac_ext <<_ACEOF
36760 /* end confdefs.h. */
36761 #include <$ac_header>
36762 _ACEOF
36763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36765 ac_status=$?
36766 grep -v '^ *+' conftest.er1 >conftest.err
36767 rm -f conftest.er1
36768 cat conftest.err >&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } >/dev/null; then
36771 if test -s conftest.err; then
36772 ac_cpp_err=$ac_c_preproc_warn_flag
36773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36774 else
36775 ac_cpp_err=
36776 fi
36777 else
36778 ac_cpp_err=yes
36779 fi
36780 if test -z "$ac_cpp_err"; then
36781 ac_header_preproc=yes
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 ac_header_preproc=no
36787 fi
36788 rm -f conftest.err conftest.$ac_ext
36789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36790 echo "${ECHO_T}$ac_header_preproc" >&6
36791
36792 # So? What about this header?
36793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36794 yes:no: )
36795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36799 ac_header_preproc=yes
36800 ;;
36801 no:yes:* )
36802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36814 (
36815 cat <<\_ASBOX
36816 ## ----------------------------------------- ##
36817 ## Report this to wx-dev@lists.wxwidgets.org ##
36818 ## ----------------------------------------- ##
36819 _ASBOX
36820 ) |
36821 sed "s/^/$as_me: WARNING: /" >&2
36822 ;;
36823 esac
36824 echo "$as_me:$LINENO: checking for $ac_header" >&5
36825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36827 echo $ECHO_N "(cached) $ECHO_C" >&6
36828 else
36829 eval "$as_ac_Header=\$ac_header_preproc"
36830 fi
36831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36833
36834 fi
36835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36836 cat >>confdefs.h <<_ACEOF
36837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36838 _ACEOF
36839
36840 fi
36841
36842 done
36843
36844 if test "$ac_cv_header_sched_h" = "yes"; then
36845 echo "$as_me:$LINENO: checking for sched_yield" >&5
36846 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36847 if test "${ac_cv_func_sched_yield+set}" = set; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 else
36850 cat >conftest.$ac_ext <<_ACEOF
36851 /* confdefs.h. */
36852 _ACEOF
36853 cat confdefs.h >>conftest.$ac_ext
36854 cat >>conftest.$ac_ext <<_ACEOF
36855 /* end confdefs.h. */
36856 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36858 #define sched_yield innocuous_sched_yield
36859
36860 /* System header to define __stub macros and hopefully few prototypes,
36861 which can conflict with char sched_yield (); below.
36862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36863 <limits.h> exists even on freestanding compilers. */
36864
36865 #ifdef __STDC__
36866 # include <limits.h>
36867 #else
36868 # include <assert.h>
36869 #endif
36870
36871 #undef sched_yield
36872
36873 /* Override any gcc2 internal prototype to avoid an error. */
36874 #ifdef __cplusplus
36875 extern "C"
36876 {
36877 #endif
36878 /* We use char because int might match the return type of a gcc2
36879 builtin and then its argument prototype would still apply. */
36880 char sched_yield ();
36881 /* The GNU C library defines this for functions which it implements
36882 to always fail with ENOSYS. Some functions are actually named
36883 something starting with __ and the normal name is an alias. */
36884 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36885 choke me
36886 #else
36887 char (*f) () = sched_yield;
36888 #endif
36889 #ifdef __cplusplus
36890 }
36891 #endif
36892
36893 int
36894 main ()
36895 {
36896 return f != sched_yield;
36897 ;
36898 return 0;
36899 }
36900 _ACEOF
36901 rm -f conftest.$ac_objext conftest$ac_exeext
36902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36903 (eval $ac_link) 2>conftest.er1
36904 ac_status=$?
36905 grep -v '^ *+' conftest.er1 >conftest.err
36906 rm -f conftest.er1
36907 cat conftest.err >&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); } &&
36910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36913 ac_status=$?
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; } &&
36916 { ac_try='test -s conftest$ac_exeext'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; }; then
36922 ac_cv_func_sched_yield=yes
36923 else
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36926
36927 ac_cv_func_sched_yield=no
36928 fi
36929 rm -f conftest.err conftest.$ac_objext \
36930 conftest$ac_exeext conftest.$ac_ext
36931 fi
36932 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36933 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36934 if test $ac_cv_func_sched_yield = yes; then
36935 cat >>confdefs.h <<\_ACEOF
36936 #define HAVE_SCHED_YIELD 1
36937 _ACEOF
36938
36939 else
36940
36941 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36942 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36943 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36944 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 else
36946 ac_check_lib_save_LIBS=$LIBS
36947 LIBS="-lposix4 $LIBS"
36948 cat >conftest.$ac_ext <<_ACEOF
36949 /* confdefs.h. */
36950 _ACEOF
36951 cat confdefs.h >>conftest.$ac_ext
36952 cat >>conftest.$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36954
36955 /* Override any gcc2 internal prototype to avoid an error. */
36956 #ifdef __cplusplus
36957 extern "C"
36958 #endif
36959 /* We use char because int might match the return type of a gcc2
36960 builtin and then its argument prototype would still apply. */
36961 char sched_yield ();
36962 int
36963 main ()
36964 {
36965 sched_yield ();
36966 ;
36967 return 0;
36968 }
36969 _ACEOF
36970 rm -f conftest.$ac_objext conftest$ac_exeext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36972 (eval $ac_link) 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36982 ac_status=$?
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try='test -s conftest$ac_exeext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36988 ac_status=$?
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 ac_cv_lib_posix4_sched_yield=yes
36992 else
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.$ac_ext >&5
36995
36996 ac_cv_lib_posix4_sched_yield=no
36997 fi
36998 rm -f conftest.err conftest.$ac_objext \
36999 conftest$ac_exeext conftest.$ac_ext
37000 LIBS=$ac_check_lib_save_LIBS
37001 fi
37002 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37003 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37004 if test $ac_cv_lib_posix4_sched_yield = yes; then
37005 cat >>confdefs.h <<\_ACEOF
37006 #define HAVE_SCHED_YIELD 1
37007 _ACEOF
37008 POSIX4_LINK=" -lposix4"
37009 else
37010 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37011 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37012
37013 fi
37014
37015
37016
37017 fi
37018
37019 fi
37020
37021 HAVE_PRIOR_FUNCS=0
37022 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37023 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37024 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 else
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37035 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37036
37037 /* System header to define __stub macros and hopefully few prototypes,
37038 which can conflict with char pthread_attr_getschedpolicy (); below.
37039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37040 <limits.h> exists even on freestanding compilers. */
37041
37042 #ifdef __STDC__
37043 # include <limits.h>
37044 #else
37045 # include <assert.h>
37046 #endif
37047
37048 #undef pthread_attr_getschedpolicy
37049
37050 /* Override any gcc2 internal prototype to avoid an error. */
37051 #ifdef __cplusplus
37052 extern "C"
37053 {
37054 #endif
37055 /* We use char because int might match the return type of a gcc2
37056 builtin and then its argument prototype would still apply. */
37057 char pthread_attr_getschedpolicy ();
37058 /* The GNU C library defines this for functions which it implements
37059 to always fail with ENOSYS. Some functions are actually named
37060 something starting with __ and the normal name is an alias. */
37061 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37062 choke me
37063 #else
37064 char (*f) () = pthread_attr_getschedpolicy;
37065 #endif
37066 #ifdef __cplusplus
37067 }
37068 #endif
37069
37070 int
37071 main ()
37072 {
37073 return f != pthread_attr_getschedpolicy;
37074 ;
37075 return 0;
37076 }
37077 _ACEOF
37078 rm -f conftest.$ac_objext conftest$ac_exeext
37079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37080 (eval $ac_link) 2>conftest.er1
37081 ac_status=$?
37082 grep -v '^ *+' conftest.er1 >conftest.err
37083 rm -f conftest.er1
37084 cat conftest.err >&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); } &&
37087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; } &&
37093 { ac_try='test -s conftest$ac_exeext'
37094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095 (eval $ac_try) 2>&5
37096 ac_status=$?
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); }; }; then
37099 ac_cv_func_pthread_attr_getschedpolicy=yes
37100 else
37101 echo "$as_me: failed program was:" >&5
37102 sed 's/^/| /' conftest.$ac_ext >&5
37103
37104 ac_cv_func_pthread_attr_getschedpolicy=no
37105 fi
37106 rm -f conftest.err conftest.$ac_objext \
37107 conftest$ac_exeext conftest.$ac_ext
37108 fi
37109 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37110 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37111 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37112 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37113 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37114 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37115 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 else
37117 cat >conftest.$ac_ext <<_ACEOF
37118 /* confdefs.h. */
37119 _ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37125 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37126
37127 /* System header to define __stub macros and hopefully few prototypes,
37128 which can conflict with char pthread_attr_setschedparam (); below.
37129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37130 <limits.h> exists even on freestanding compilers. */
37131
37132 #ifdef __STDC__
37133 # include <limits.h>
37134 #else
37135 # include <assert.h>
37136 #endif
37137
37138 #undef pthread_attr_setschedparam
37139
37140 /* Override any gcc2 internal prototype to avoid an error. */
37141 #ifdef __cplusplus
37142 extern "C"
37143 {
37144 #endif
37145 /* We use char because int might match the return type of a gcc2
37146 builtin and then its argument prototype would still apply. */
37147 char pthread_attr_setschedparam ();
37148 /* The GNU C library defines this for functions which it implements
37149 to always fail with ENOSYS. Some functions are actually named
37150 something starting with __ and the normal name is an alias. */
37151 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37152 choke me
37153 #else
37154 char (*f) () = pthread_attr_setschedparam;
37155 #endif
37156 #ifdef __cplusplus
37157 }
37158 #endif
37159
37160 int
37161 main ()
37162 {
37163 return f != pthread_attr_setschedparam;
37164 ;
37165 return 0;
37166 }
37167 _ACEOF
37168 rm -f conftest.$ac_objext conftest$ac_exeext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37170 (eval $ac_link) 2>conftest.er1
37171 ac_status=$?
37172 grep -v '^ *+' conftest.er1 >conftest.err
37173 rm -f conftest.er1
37174 cat conftest.err >&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37179 (eval $ac_try) 2>&5
37180 ac_status=$?
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); }; } &&
37183 { ac_try='test -s conftest$ac_exeext'
37184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37185 (eval $ac_try) 2>&5
37186 ac_status=$?
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); }; }; then
37189 ac_cv_func_pthread_attr_setschedparam=yes
37190 else
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.$ac_ext >&5
37193
37194 ac_cv_func_pthread_attr_setschedparam=no
37195 fi
37196 rm -f conftest.err conftest.$ac_objext \
37197 conftest$ac_exeext conftest.$ac_ext
37198 fi
37199 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37200 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37201 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37202 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37203 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37204 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37205 echo $ECHO_N "(cached) $ECHO_C" >&6
37206 else
37207 cat >conftest.$ac_ext <<_ACEOF
37208 /* confdefs.h. */
37209 _ACEOF
37210 cat confdefs.h >>conftest.$ac_ext
37211 cat >>conftest.$ac_ext <<_ACEOF
37212 /* end confdefs.h. */
37213 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37215 #define sched_get_priority_max innocuous_sched_get_priority_max
37216
37217 /* System header to define __stub macros and hopefully few prototypes,
37218 which can conflict with char sched_get_priority_max (); below.
37219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37220 <limits.h> exists even on freestanding compilers. */
37221
37222 #ifdef __STDC__
37223 # include <limits.h>
37224 #else
37225 # include <assert.h>
37226 #endif
37227
37228 #undef sched_get_priority_max
37229
37230 /* Override any gcc2 internal prototype to avoid an error. */
37231 #ifdef __cplusplus
37232 extern "C"
37233 {
37234 #endif
37235 /* We use char because int might match the return type of a gcc2
37236 builtin and then its argument prototype would still apply. */
37237 char sched_get_priority_max ();
37238 /* The GNU C library defines this for functions which it implements
37239 to always fail with ENOSYS. Some functions are actually named
37240 something starting with __ and the normal name is an alias. */
37241 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37242 choke me
37243 #else
37244 char (*f) () = sched_get_priority_max;
37245 #endif
37246 #ifdef __cplusplus
37247 }
37248 #endif
37249
37250 int
37251 main ()
37252 {
37253 return f != sched_get_priority_max;
37254 ;
37255 return 0;
37256 }
37257 _ACEOF
37258 rm -f conftest.$ac_objext conftest$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37261 ac_status=$?
37262 grep -v '^ *+' conftest.er1 >conftest.err
37263 rm -f conftest.er1
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37270 ac_status=$?
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; } &&
37273 { ac_try='test -s conftest$ac_exeext'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37276 ac_status=$?
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; }; then
37279 ac_cv_func_sched_get_priority_max=yes
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284 ac_cv_func_sched_get_priority_max=no
37285 fi
37286 rm -f conftest.err conftest.$ac_objext \
37287 conftest$ac_exeext conftest.$ac_ext
37288 fi
37289 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37290 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37291 if test $ac_cv_func_sched_get_priority_max = yes; then
37292 HAVE_PRIOR_FUNCS=1
37293 else
37294 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37295 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37296 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37297 echo $ECHO_N "(cached) $ECHO_C" >&6
37298 else
37299 ac_check_lib_save_LIBS=$LIBS
37300 LIBS="-lposix4 $LIBS"
37301 cat >conftest.$ac_ext <<_ACEOF
37302 /* confdefs.h. */
37303 _ACEOF
37304 cat confdefs.h >>conftest.$ac_ext
37305 cat >>conftest.$ac_ext <<_ACEOF
37306 /* end confdefs.h. */
37307
37308 /* Override any gcc2 internal prototype to avoid an error. */
37309 #ifdef __cplusplus
37310 extern "C"
37311 #endif
37312 /* We use char because int might match the return type of a gcc2
37313 builtin and then its argument prototype would still apply. */
37314 char sched_get_priority_max ();
37315 int
37316 main ()
37317 {
37318 sched_get_priority_max ();
37319 ;
37320 return 0;
37321 }
37322 _ACEOF
37323 rm -f conftest.$ac_objext conftest$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>conftest.er1
37326 ac_status=$?
37327 grep -v '^ *+' conftest.er1 >conftest.err
37328 rm -f conftest.er1
37329 cat conftest.err >&5
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); } &&
37332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37335 ac_status=$?
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } &&
37338 { ac_try='test -s conftest$ac_exeext'
37339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37340 (eval $ac_try) 2>&5
37341 ac_status=$?
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); }; }; then
37344 ac_cv_lib_posix4_sched_get_priority_max=yes
37345 else
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.$ac_ext >&5
37348
37349 ac_cv_lib_posix4_sched_get_priority_max=no
37350 fi
37351 rm -f conftest.err conftest.$ac_objext \
37352 conftest$ac_exeext conftest.$ac_ext
37353 LIBS=$ac_check_lib_save_LIBS
37354 fi
37355 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37356 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37357 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37358
37359 HAVE_PRIOR_FUNCS=1
37360 POSIX4_LINK=" -lposix4"
37361
37362 fi
37363
37364
37365 fi
37366
37367
37368 fi
37369
37370
37371 fi
37372
37373
37374 if test "$HAVE_PRIOR_FUNCS" = 1; then
37375 cat >>confdefs.h <<\_ACEOF
37376 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37377 _ACEOF
37378
37379 else
37380 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37381 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37382 fi
37383
37384 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37385 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37386 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37388 else
37389 cat >conftest.$ac_ext <<_ACEOF
37390 /* confdefs.h. */
37391 _ACEOF
37392 cat confdefs.h >>conftest.$ac_ext
37393 cat >>conftest.$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define pthread_cancel innocuous_pthread_cancel
37398
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char pthread_cancel (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37403
37404 #ifdef __STDC__
37405 # include <limits.h>
37406 #else
37407 # include <assert.h>
37408 #endif
37409
37410 #undef pthread_cancel
37411
37412 /* Override any gcc2 internal prototype to avoid an error. */
37413 #ifdef __cplusplus
37414 extern "C"
37415 {
37416 #endif
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37419 char pthread_cancel ();
37420 /* The GNU C library defines this for functions which it implements
37421 to always fail with ENOSYS. Some functions are actually named
37422 something starting with __ and the normal name is an alias. */
37423 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37424 choke me
37425 #else
37426 char (*f) () = pthread_cancel;
37427 #endif
37428 #ifdef __cplusplus
37429 }
37430 #endif
37431
37432 int
37433 main ()
37434 {
37435 return f != pthread_cancel;
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext conftest$ac_exeext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37442 (eval $ac_link) 2>conftest.er1
37443 ac_status=$?
37444 grep -v '^ *+' conftest.er1 >conftest.err
37445 rm -f conftest.er1
37446 cat conftest.err >&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37452 ac_status=$?
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; } &&
37455 { ac_try='test -s conftest$ac_exeext'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37458 ac_status=$?
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; }; then
37461 ac_cv_func_pthread_cancel=yes
37462 else
37463 echo "$as_me: failed program was:" >&5
37464 sed 's/^/| /' conftest.$ac_ext >&5
37465
37466 ac_cv_func_pthread_cancel=no
37467 fi
37468 rm -f conftest.err conftest.$ac_objext \
37469 conftest$ac_exeext conftest.$ac_ext
37470 fi
37471 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37472 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37473 if test $ac_cv_func_pthread_cancel = yes; then
37474 cat >>confdefs.h <<\_ACEOF
37475 #define HAVE_PTHREAD_CANCEL 1
37476 _ACEOF
37477
37478 else
37479 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37480 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37481 fi
37482
37483
37484 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37485 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37486 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 else
37489 cat >conftest.$ac_ext <<_ACEOF
37490 /* confdefs.h. */
37491 _ACEOF
37492 cat confdefs.h >>conftest.$ac_ext
37493 cat >>conftest.$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37497 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37498
37499 /* System header to define __stub macros and hopefully few prototypes,
37500 which can conflict with char pthread_attr_setstacksize (); below.
37501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37502 <limits.h> exists even on freestanding compilers. */
37503
37504 #ifdef __STDC__
37505 # include <limits.h>
37506 #else
37507 # include <assert.h>
37508 #endif
37509
37510 #undef pthread_attr_setstacksize
37511
37512 /* Override any gcc2 internal prototype to avoid an error. */
37513 #ifdef __cplusplus
37514 extern "C"
37515 {
37516 #endif
37517 /* We use char because int might match the return type of a gcc2
37518 builtin and then its argument prototype would still apply. */
37519 char pthread_attr_setstacksize ();
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37524 choke me
37525 #else
37526 char (*f) () = pthread_attr_setstacksize;
37527 #endif
37528 #ifdef __cplusplus
37529 }
37530 #endif
37531
37532 int
37533 main ()
37534 {
37535 return f != pthread_attr_setstacksize;
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 rm -f conftest.$ac_objext conftest$ac_exeext
37541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37542 (eval $ac_link) 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } &&
37549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37552 ac_status=$?
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; } &&
37555 { ac_try='test -s conftest$ac_exeext'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37558 ac_status=$?
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; }; then
37561 ac_cv_func_pthread_attr_setstacksize=yes
37562 else
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.$ac_ext >&5
37565
37566 ac_cv_func_pthread_attr_setstacksize=no
37567 fi
37568 rm -f conftest.err conftest.$ac_objext \
37569 conftest$ac_exeext conftest.$ac_ext
37570 fi
37571 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37572 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37573 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37574 cat >>confdefs.h <<\_ACEOF
37575 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37576 _ACEOF
37577
37578 fi
37579
37580
37581
37582 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37583 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37584 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588 cat >conftest.$ac_ext <<_ACEOF
37589 /* confdefs.h. */
37590 _ACEOF
37591 cat confdefs.h >>conftest.$ac_ext
37592 cat >>conftest.$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594 #include <pthread.h>
37595 int
37596 main ()
37597 {
37598
37599 pthread_mutexattr_t attr;
37600 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37601
37602 ;
37603 return 0;
37604 }
37605 _ACEOF
37606 rm -f conftest.$ac_objext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37608 (eval $ac_compile) 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } &&
37615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37617 (eval $ac_try) 2>&5
37618 ac_status=$?
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); }; } &&
37621 { ac_try='test -s conftest.$ac_objext'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37624 ac_status=$?
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; }; then
37627 wx_cv_type_pthread_mutexattr_t=yes
37628 else
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37631
37632 wx_cv_type_pthread_mutexattr_t=no
37633
37634 fi
37635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37636
37637 fi
37638 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37639 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37640
37641 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37642 cat >>confdefs.h <<\_ACEOF
37643 #define HAVE_PTHREAD_MUTEXATTR_T 1
37644 _ACEOF
37645
37646
37647 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37648 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37649 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652
37653 cat >conftest.$ac_ext <<_ACEOF
37654 /* confdefs.h. */
37655 _ACEOF
37656 cat confdefs.h >>conftest.$ac_ext
37657 cat >>conftest.$ac_ext <<_ACEOF
37658 /* end confdefs.h. */
37659 #include <pthread.h>
37660 int
37661 main ()
37662 {
37663
37664 pthread_mutexattr_t attr;
37665 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37666
37667 ;
37668 return 0;
37669 }
37670 _ACEOF
37671 rm -f conftest.$ac_objext
37672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37673 (eval $ac_compile) 2>conftest.er1
37674 ac_status=$?
37675 grep -v '^ *+' conftest.er1 >conftest.err
37676 rm -f conftest.er1
37677 cat conftest.err >&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); } &&
37680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37683 ac_status=$?
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37689 ac_status=$?
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 wx_cv_func_pthread_mutexattr_settype_decl=yes
37693 else
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37696
37697 wx_cv_func_pthread_mutexattr_settype_decl=no
37698
37699 fi
37700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37701
37702 fi
37703 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37704 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37705 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37706 cat >>confdefs.h <<\_ACEOF
37707 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37708 _ACEOF
37709
37710 fi
37711 else
37712 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37713 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37714 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 else
37717
37718 cat >conftest.$ac_ext <<_ACEOF
37719 /* confdefs.h. */
37720 _ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 #include <pthread.h>
37725 int
37726 main ()
37727 {
37728
37729 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37730
37731 ;
37732 return 0;
37733 }
37734 _ACEOF
37735 rm -f conftest.$ac_objext
37736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37737 (eval $ac_compile) 2>conftest.er1
37738 ac_status=$?
37739 grep -v '^ *+' conftest.er1 >conftest.err
37740 rm -f conftest.er1
37741 cat conftest.err >&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); } &&
37744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37747 ac_status=$?
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; } &&
37750 { ac_try='test -s conftest.$ac_objext'
37751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37752 (eval $ac_try) 2>&5
37753 ac_status=$?
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); }; }; then
37756
37757 wx_cv_type_pthread_rec_mutex_init=yes
37758
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37762
37763
37764 wx_cv_type_pthread_rec_mutex_init=no
37765
37766
37767 fi
37768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37769
37770 fi
37771 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37772 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37773 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37774 cat >>confdefs.h <<\_ACEOF
37775 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37776 _ACEOF
37777
37778 else
37779 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37780 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37781 fi
37782 fi
37783 fi
37784
37785 else
37786 if test "$wxUSE_THREADS" = "yes" ; then
37787 case "${host}" in
37788 *-*-mingw32* )
37789 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37790 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37791 if test "${wx_cv_cflags_mthread+set}" = set; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 else
37794
37795 CFLAGS_OLD="$CFLAGS"
37796 CFLAGS="$CFLAGS -mthreads"
37797 cat >conftest.$ac_ext <<_ACEOF
37798 /* confdefs.h. */
37799 _ACEOF
37800 cat confdefs.h >>conftest.$ac_ext
37801 cat >>conftest.$ac_ext <<_ACEOF
37802 /* end confdefs.h. */
37803
37804 int
37805 main ()
37806 {
37807
37808 ;
37809 return 0;
37810 }
37811 _ACEOF
37812 rm -f conftest.$ac_objext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37814 (eval $ac_compile) 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37824 ac_status=$?
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; } &&
37827 { ac_try='test -s conftest.$ac_objext'
37828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37829 (eval $ac_try) 2>&5
37830 ac_status=$?
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); }; }; then
37833 wx_cv_cflags_mthread=yes
37834 else
37835 echo "$as_me: failed program was:" >&5
37836 sed 's/^/| /' conftest.$ac_ext >&5
37837
37838 wx_cv_cflags_mthread=no
37839
37840 fi
37841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37842
37843
37844 fi
37845 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37846 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37847
37848 if test "$wx_cv_cflags_mthread" = "yes"; then
37849 CXXFLAGS="$CXXFLAGS -mthreads"
37850 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
37851 LDFLAGS="$LDFLAGS -mthreads"
37852 else
37853 CFLAGS="$CFLAGS_OLD"
37854 fi
37855 ;;
37856 *-pc-os2*emx )
37857 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37858 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37859 LDFLAGS="$LDFLAGS -Zmt"
37860 ;;
37861 esac
37862 fi
37863 fi
37864
37865 if test "$wxUSE_THREADS" = "yes"; then
37866 cat >>confdefs.h <<\_ACEOF
37867 #define wxUSE_THREADS 1
37868 _ACEOF
37869
37870
37871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
37872 else
37873 if test "$ac_cv_func_strtok_r" = "yes"; then
37874 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37875 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37876 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37877 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
37878 echo "$as_me:$LINENO: result: yes" >&5
37879 echo "${ECHO_T}yes" >&6
37880 else
37881 echo "$as_me:$LINENO: result: no" >&5
37882 echo "${ECHO_T}no" >&6
37883 fi
37884 fi
37885 fi
37886
37887 if test "$WXGTK20" = 1 ; then
37888 cat >>confdefs.h <<_ACEOF
37889 #define __WXGTK20__ $WXGTK20
37890 _ACEOF
37891
37892 WXGTK12=1
37893 fi
37894
37895 if test "$WXGTK12" = 1 ; then
37896 cat >>confdefs.h <<_ACEOF
37897 #define __WXGTK12__ $WXGTK12
37898 _ACEOF
37899
37900 fi
37901
37902 if test "$WXGTK127" = 1 ; then
37903 cat >>confdefs.h <<_ACEOF
37904 #define __WXGTK127__ $WXGTK127
37905 _ACEOF
37906
37907 fi
37908
37909 if test "$WXGPE" = 1 ; then
37910 cat >>confdefs.h <<_ACEOF
37911 #define __WXGPE__ $WXGPE
37912 _ACEOF
37913
37914 fi
37915
37916 WXDEBUG=
37917
37918 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37919 WXDEBUG="-g"
37920 wxUSE_OPTIMISE=no
37921 fi
37922
37923 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37924 wxUSE_DEBUG_INFO=yes
37925 if test "$GCC" = yes; then
37926 WXDEBUG="-ggdb"
37927 fi
37928 fi
37929
37930 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37931 cat >>confdefs.h <<\_ACEOF
37932 #define WXDEBUG 1
37933 _ACEOF
37934
37935 WXDEBUG_DEFINE="-D__WXDEBUG__"
37936 else
37937 if test "$wxUSE_GTK" = 1 ; then
37938 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
37939 fi
37940 fi
37941
37942 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37943 cat >>confdefs.h <<\_ACEOF
37944 #define wxUSE_MEMORY_TRACING 1
37945 _ACEOF
37946
37947 cat >>confdefs.h <<\_ACEOF
37948 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37949 _ACEOF
37950
37951 cat >>confdefs.h <<\_ACEOF
37952 #define wxUSE_DEBUG_NEW_ALWAYS 1
37953 _ACEOF
37954
37955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
37956 fi
37957
37958 if test "$wxUSE_DMALLOC" = "yes" ; then
37959 DMALLOC_LIBS="-ldmallocthcxx"
37960 fi
37961
37962 PROFILE=
37963 if test "$wxUSE_PROFILE" = "yes" ; then
37964 PROFILE=" -pg"
37965 fi
37966
37967 CODE_GEN_FLAGS=
37968 CODE_GEN_FLAGS_CXX=
37969 if test "$GCC" = "yes" ; then
37970 if test "$wxUSE_NO_RTTI" = "yes" ; then
37971 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
37972 fi
37973 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37974 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37975 fi
37976 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37977 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
37978 fi
37979
37980 case "${host}" in
37981 powerpc*-*-aix* )
37982 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
37983 ;;
37984 *-hppa* )
37985 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
37986 ;;
37987 esac
37988 fi
37989
37990 OPTIMISE=
37991 if test "$wxUSE_OPTIMISE" = "no" ; then
37992 if test "$GCC" = yes ; then
37993 OPTIMISE="-O0"
37994 fi
37995 else
37996 if test "$GCC" = yes ; then
37997 OPTIMISE="-O2"
37998
37999 case "${host}" in
38000 i586-*-*|i686-*-* )
38001 OPTIMISE="${OPTIMISE} "
38002 ;;
38003 esac
38004 else
38005 OPTIMISE="-O"
38006 fi
38007 fi
38008
38009
38010 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
38011 cat >>confdefs.h <<\_ACEOF
38012 #define WXWIN_COMPATIBILITY_2_2 1
38013 _ACEOF
38014
38015
38016 WXWIN_COMPATIBILITY_2_4="yes"
38017 fi
38018
38019 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define WXWIN_COMPATIBILITY_2_4 1
38022 _ACEOF
38023
38024 fi
38025
38026
38027 if test "$wxUSE_GUI" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define wxUSE_GUI 1
38030 _ACEOF
38031
38032
38033 fi
38034
38035
38036 if test "$wxUSE_UNIX" = "yes"; then
38037 cat >>confdefs.h <<\_ACEOF
38038 #define wxUSE_UNIX 1
38039 _ACEOF
38040
38041 fi
38042
38043
38044 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38045
38046 HAVE_DL_FUNCS=0
38047 HAVE_SHL_FUNCS=0
38048 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38049 if test "$USE_DARWIN" = 1; then
38050 HAVE_DL_FUNCS=1
38051 elif test "$USE_DOS" = 1; then
38052 HAVE_DL_FUNCS=0
38053 else
38054
38055 for ac_func in dlopen
38056 do
38057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38058 echo "$as_me:$LINENO: checking for $ac_func" >&5
38059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38060 if eval "test \"\${$as_ac_var+set}\" = set"; then
38061 echo $ECHO_N "(cached) $ECHO_C" >&6
38062 else
38063 cat >conftest.$ac_ext <<_ACEOF
38064 /* confdefs.h. */
38065 _ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38071 #define $ac_func innocuous_$ac_func
38072
38073 /* System header to define __stub macros and hopefully few prototypes,
38074 which can conflict with char $ac_func (); below.
38075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38076 <limits.h> exists even on freestanding compilers. */
38077
38078 #ifdef __STDC__
38079 # include <limits.h>
38080 #else
38081 # include <assert.h>
38082 #endif
38083
38084 #undef $ac_func
38085
38086 /* Override any gcc2 internal prototype to avoid an error. */
38087 #ifdef __cplusplus
38088 extern "C"
38089 {
38090 #endif
38091 /* We use char because int might match the return type of a gcc2
38092 builtin and then its argument prototype would still apply. */
38093 char $ac_func ();
38094 /* The GNU C library defines this for functions which it implements
38095 to always fail with ENOSYS. Some functions are actually named
38096 something starting with __ and the normal name is an alias. */
38097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38098 choke me
38099 #else
38100 char (*f) () = $ac_func;
38101 #endif
38102 #ifdef __cplusplus
38103 }
38104 #endif
38105
38106 int
38107 main ()
38108 {
38109 return f != $ac_func;
38110 ;
38111 return 0;
38112 }
38113 _ACEOF
38114 rm -f conftest.$ac_objext conftest$ac_exeext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38116 (eval $ac_link) 2>conftest.er1
38117 ac_status=$?
38118 grep -v '^ *+' conftest.er1 >conftest.err
38119 rm -f conftest.er1
38120 cat conftest.err >&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } &&
38123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125 (eval $ac_try) 2>&5
38126 ac_status=$?
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); }; } &&
38129 { ac_try='test -s conftest$ac_exeext'
38130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 (eval $ac_try) 2>&5
38132 ac_status=$?
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); }; }; then
38135 eval "$as_ac_var=yes"
38136 else
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38139
38140 eval "$as_ac_var=no"
38141 fi
38142 rm -f conftest.err conftest.$ac_objext \
38143 conftest$ac_exeext conftest.$ac_ext
38144 fi
38145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38147 if test `eval echo '${'$as_ac_var'}'` = yes; then
38148 cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38150 _ACEOF
38151
38152 cat >>confdefs.h <<\_ACEOF
38153 #define HAVE_DLOPEN 1
38154 _ACEOF
38155
38156 HAVE_DL_FUNCS=1
38157
38158 else
38159
38160 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38161 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38162 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 else
38165 ac_check_lib_save_LIBS=$LIBS
38166 LIBS="-ldl $LIBS"
38167 cat >conftest.$ac_ext <<_ACEOF
38168 /* confdefs.h. */
38169 _ACEOF
38170 cat confdefs.h >>conftest.$ac_ext
38171 cat >>conftest.$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173
38174 /* Override any gcc2 internal prototype to avoid an error. */
38175 #ifdef __cplusplus
38176 extern "C"
38177 #endif
38178 /* We use char because int might match the return type of a gcc2
38179 builtin and then its argument prototype would still apply. */
38180 char dlopen ();
38181 int
38182 main ()
38183 {
38184 dlopen ();
38185 ;
38186 return 0;
38187 }
38188 _ACEOF
38189 rm -f conftest.$ac_objext conftest$ac_exeext
38190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38191 (eval $ac_link) 2>conftest.er1
38192 ac_status=$?
38193 grep -v '^ *+' conftest.er1 >conftest.err
38194 rm -f conftest.er1
38195 cat conftest.err >&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200 (eval $ac_try) 2>&5
38201 ac_status=$?
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); }; } &&
38204 { ac_try='test -s conftest$ac_exeext'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38207 ac_status=$?
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; }; then
38210 ac_cv_lib_dl_dlopen=yes
38211 else
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.$ac_ext >&5
38214
38215 ac_cv_lib_dl_dlopen=no
38216 fi
38217 rm -f conftest.err conftest.$ac_objext \
38218 conftest$ac_exeext conftest.$ac_ext
38219 LIBS=$ac_check_lib_save_LIBS
38220 fi
38221 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38222 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38223 if test $ac_cv_lib_dl_dlopen = yes; then
38224
38225 cat >>confdefs.h <<\_ACEOF
38226 #define HAVE_DLOPEN 1
38227 _ACEOF
38228
38229 HAVE_DL_FUNCS=1
38230 DL_LINK=" -ldl$DL_LINK"
38231
38232 else
38233
38234
38235 for ac_func in shl_load
38236 do
38237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38238 echo "$as_me:$LINENO: checking for $ac_func" >&5
38239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38240 if eval "test \"\${$as_ac_var+set}\" = set"; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38242 else
38243 cat >conftest.$ac_ext <<_ACEOF
38244 /* confdefs.h. */
38245 _ACEOF
38246 cat confdefs.h >>conftest.$ac_ext
38247 cat >>conftest.$ac_ext <<_ACEOF
38248 /* end confdefs.h. */
38249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38251 #define $ac_func innocuous_$ac_func
38252
38253 /* System header to define __stub macros and hopefully few prototypes,
38254 which can conflict with char $ac_func (); below.
38255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38256 <limits.h> exists even on freestanding compilers. */
38257
38258 #ifdef __STDC__
38259 # include <limits.h>
38260 #else
38261 # include <assert.h>
38262 #endif
38263
38264 #undef $ac_func
38265
38266 /* Override any gcc2 internal prototype to avoid an error. */
38267 #ifdef __cplusplus
38268 extern "C"
38269 {
38270 #endif
38271 /* We use char because int might match the return type of a gcc2
38272 builtin and then its argument prototype would still apply. */
38273 char $ac_func ();
38274 /* The GNU C library defines this for functions which it implements
38275 to always fail with ENOSYS. Some functions are actually named
38276 something starting with __ and the normal name is an alias. */
38277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38278 choke me
38279 #else
38280 char (*f) () = $ac_func;
38281 #endif
38282 #ifdef __cplusplus
38283 }
38284 #endif
38285
38286 int
38287 main ()
38288 {
38289 return f != $ac_func;
38290 ;
38291 return 0;
38292 }
38293 _ACEOF
38294 rm -f conftest.$ac_objext conftest$ac_exeext
38295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38296 (eval $ac_link) 2>conftest.er1
38297 ac_status=$?
38298 grep -v '^ *+' conftest.er1 >conftest.err
38299 rm -f conftest.er1
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } &&
38303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38305 (eval $ac_try) 2>&5
38306 ac_status=$?
38307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38308 (exit $ac_status); }; } &&
38309 { ac_try='test -s conftest$ac_exeext'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38312 ac_status=$?
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; }; then
38315 eval "$as_ac_var=yes"
38316 else
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.$ac_ext >&5
38319
38320 eval "$as_ac_var=no"
38321 fi
38322 rm -f conftest.err conftest.$ac_objext \
38323 conftest$ac_exeext conftest.$ac_ext
38324 fi
38325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38327 if test `eval echo '${'$as_ac_var'}'` = yes; then
38328 cat >>confdefs.h <<_ACEOF
38329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38330 _ACEOF
38331
38332 cat >>confdefs.h <<\_ACEOF
38333 #define HAVE_SHL_LOAD 1
38334 _ACEOF
38335
38336 HAVE_SHL_FUNCS=1
38337
38338 else
38339
38340 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38341 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38342 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 else
38345 ac_check_lib_save_LIBS=$LIBS
38346 LIBS="-lshl_load $LIBS"
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353
38354 /* Override any gcc2 internal prototype to avoid an error. */
38355 #ifdef __cplusplus
38356 extern "C"
38357 #endif
38358 /* We use char because int might match the return type of a gcc2
38359 builtin and then its argument prototype would still apply. */
38360 char dld ();
38361 int
38362 main ()
38363 {
38364 dld ();
38365 ;
38366 return 0;
38367 }
38368 _ACEOF
38369 rm -f conftest.$ac_objext conftest$ac_exeext
38370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38371 (eval $ac_link) 2>conftest.er1
38372 ac_status=$?
38373 grep -v '^ *+' conftest.er1 >conftest.err
38374 rm -f conftest.er1
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38380 (eval $ac_try) 2>&5
38381 ac_status=$?
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); }; } &&
38384 { ac_try='test -s conftest$ac_exeext'
38385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38386 (eval $ac_try) 2>&5
38387 ac_status=$?
38388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389 (exit $ac_status); }; }; then
38390 ac_cv_lib_shl_load_dld=yes
38391 else
38392 echo "$as_me: failed program was:" >&5
38393 sed 's/^/| /' conftest.$ac_ext >&5
38394
38395 ac_cv_lib_shl_load_dld=no
38396 fi
38397 rm -f conftest.err conftest.$ac_objext \
38398 conftest$ac_exeext conftest.$ac_ext
38399 LIBS=$ac_check_lib_save_LIBS
38400 fi
38401 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38402 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38403 if test $ac_cv_lib_shl_load_dld = yes; then
38404
38405 HAVE_SHL_FUNCS=1
38406 DL_LINK=" -ldld$DL_LINK"
38407
38408 fi
38409
38410
38411 fi
38412 done
38413
38414
38415 fi
38416
38417
38418 fi
38419 done
38420
38421
38422 if test "$HAVE_DL_FUNCS" = 1; then
38423
38424 for ac_func in dlerror
38425 do
38426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38427 echo "$as_me:$LINENO: checking for $ac_func" >&5
38428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38429 if eval "test \"\${$as_ac_var+set}\" = set"; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38431 else
38432 cat >conftest.$ac_ext <<_ACEOF
38433 /* confdefs.h. */
38434 _ACEOF
38435 cat confdefs.h >>conftest.$ac_ext
38436 cat >>conftest.$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38440 #define $ac_func innocuous_$ac_func
38441
38442 /* System header to define __stub macros and hopefully few prototypes,
38443 which can conflict with char $ac_func (); below.
38444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38445 <limits.h> exists even on freestanding compilers. */
38446
38447 #ifdef __STDC__
38448 # include <limits.h>
38449 #else
38450 # include <assert.h>
38451 #endif
38452
38453 #undef $ac_func
38454
38455 /* Override any gcc2 internal prototype to avoid an error. */
38456 #ifdef __cplusplus
38457 extern "C"
38458 {
38459 #endif
38460 /* We use char because int might match the return type of a gcc2
38461 builtin and then its argument prototype would still apply. */
38462 char $ac_func ();
38463 /* The GNU C library defines this for functions which it implements
38464 to always fail with ENOSYS. Some functions are actually named
38465 something starting with __ and the normal name is an alias. */
38466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38467 choke me
38468 #else
38469 char (*f) () = $ac_func;
38470 #endif
38471 #ifdef __cplusplus
38472 }
38473 #endif
38474
38475 int
38476 main ()
38477 {
38478 return f != $ac_func;
38479 ;
38480 return 0;
38481 }
38482 _ACEOF
38483 rm -f conftest.$ac_objext conftest$ac_exeext
38484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38485 (eval $ac_link) 2>conftest.er1
38486 ac_status=$?
38487 grep -v '^ *+' conftest.er1 >conftest.err
38488 rm -f conftest.er1
38489 cat conftest.err >&5
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); } &&
38492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; } &&
38498 { ac_try='test -s conftest$ac_exeext'
38499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38500 (eval $ac_try) 2>&5
38501 ac_status=$?
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); }; }; then
38504 eval "$as_ac_var=yes"
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 eval "$as_ac_var=no"
38510 fi
38511 rm -f conftest.err conftest.$ac_objext \
38512 conftest$ac_exeext conftest.$ac_ext
38513 fi
38514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38516 if test `eval echo '${'$as_ac_var'}'` = yes; then
38517 cat >>confdefs.h <<_ACEOF
38518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38519 _ACEOF
38520 cat >>confdefs.h <<\_ACEOF
38521 #define HAVE_DLERROR 1
38522 _ACEOF
38523
38524 else
38525
38526 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38527 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38528 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531 ac_check_lib_save_LIBS=$LIBS
38532 LIBS="-ldl $LIBS"
38533 cat >conftest.$ac_ext <<_ACEOF
38534 /* confdefs.h. */
38535 _ACEOF
38536 cat confdefs.h >>conftest.$ac_ext
38537 cat >>conftest.$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38539
38540 /* Override any gcc2 internal prototype to avoid an error. */
38541 #ifdef __cplusplus
38542 extern "C"
38543 #endif
38544 /* We use char because int might match the return type of a gcc2
38545 builtin and then its argument prototype would still apply. */
38546 char dlerror ();
38547 int
38548 main ()
38549 {
38550 dlerror ();
38551 ;
38552 return 0;
38553 }
38554 _ACEOF
38555 rm -f conftest.$ac_objext conftest$ac_exeext
38556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38557 (eval $ac_link) 2>conftest.er1
38558 ac_status=$?
38559 grep -v '^ *+' conftest.er1 >conftest.err
38560 rm -f conftest.er1
38561 cat conftest.err >&5
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); } &&
38564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38567 ac_status=$?
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try='test -s conftest$ac_exeext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38573 ac_status=$?
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 ac_cv_lib_dl_dlerror=yes
38577 else
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.$ac_ext >&5
38580
38581 ac_cv_lib_dl_dlerror=no
38582 fi
38583 rm -f conftest.err conftest.$ac_objext \
38584 conftest$ac_exeext conftest.$ac_ext
38585 LIBS=$ac_check_lib_save_LIBS
38586 fi
38587 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38588 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38589 if test $ac_cv_lib_dl_dlerror = yes; then
38590 cat >>confdefs.h <<\_ACEOF
38591 #define HAVE_DLERROR 1
38592 _ACEOF
38593
38594 fi
38595
38596
38597
38598 fi
38599 done
38600
38601 fi
38602 fi
38603
38604 if test "$HAVE_DL_FUNCS" = 0; then
38605 if test "$HAVE_SHL_FUNCS" = 0; then
38606 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38607 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38608 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38609 wxUSE_DYNAMIC_LOADER=no
38610 wxUSE_DYNLIB_CLASS=no
38611 else
38612 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38613 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38614 fi
38615 fi
38616 fi
38617 fi
38618 fi
38619
38620 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define wxUSE_DYNAMIC_LOADER 1
38623 _ACEOF
38624
38625 fi
38626 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38627 cat >>confdefs.h <<\_ACEOF
38628 #define wxUSE_DYNLIB_CLASS 1
38629 _ACEOF
38630
38631 fi
38632
38633
38634
38635 if test "$wxUSE_PLUGINS" = "yes" ; then
38636 if test "$wxUSE_SHARED" = "no" ; then
38637 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38638 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38639 wxUSE_PLUGINS=no
38640 fi
38641 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38642 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38643 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38644 wxUSE_PLUGINS=no
38645 fi
38646 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38647 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38648 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38649 wxUSE_PLUGINS=no
38650 fi
38651 if test "$wxUSE_PLUGINS" = "yes" ; then
38652 cat >>confdefs.h <<\_ACEOF
38653 #define wxUSE_PLUGINS 1
38654 _ACEOF
38655
38656 fi
38657 fi
38658
38659
38660 if test "$wxUSE_STL" = "yes"; then
38661 cat >>confdefs.h <<\_ACEOF
38662 #define wxUSE_STL 1
38663 _ACEOF
38664
38665 fi
38666
38667 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38668 cat >>confdefs.h <<\_ACEOF
38669 #define wxUSE_APPLE_IEEE 1
38670 _ACEOF
38671
38672 fi
38673
38674 if test "$wxUSE_TIMER" = "yes"; then
38675 cat >>confdefs.h <<\_ACEOF
38676 #define wxUSE_TIMER 1
38677 _ACEOF
38678
38679 fi
38680
38681 if test "$USE_UNIX" = "1" ; then
38682 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38683 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38684 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38685 echo $ECHO_N "(cached) $ECHO_C" >&6
38686 else
38687
38688 cat >conftest.$ac_ext <<_ACEOF
38689 /* confdefs.h. */
38690 _ACEOF
38691 cat confdefs.h >>conftest.$ac_ext
38692 cat >>conftest.$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694
38695 #include <sys/soundcard.h>
38696
38697 int
38698 main ()
38699 {
38700
38701 ioctl(0, SNDCTL_DSP_SYNC, 0);
38702
38703 ;
38704 return 0;
38705 }
38706 _ACEOF
38707 rm -f conftest.$ac_objext conftest$ac_exeext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38709 (eval $ac_link) 2>conftest.er1
38710 ac_status=$?
38711 grep -v '^ *+' conftest.er1 >conftest.err
38712 rm -f conftest.er1
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38719 ac_status=$?
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; } &&
38722 { ac_try='test -s conftest$ac_exeext'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38725 ac_status=$?
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; }; then
38728 ac_cv_header_sys_soundcard=yes
38729 else
38730 echo "$as_me: failed program was:" >&5
38731 sed 's/^/| /' conftest.$ac_ext >&5
38732
38733
38734 saveLibs="$LIBS"
38735 LIBS="$saveLibs -lossaudio"
38736 cat >conftest.$ac_ext <<_ACEOF
38737 /* confdefs.h. */
38738 _ACEOF
38739 cat confdefs.h >>conftest.$ac_ext
38740 cat >>conftest.$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38742
38743 #include <sys/soundcard.h>
38744
38745 int
38746 main ()
38747 {
38748
38749 ioctl(0, SNDCTL_DSP_SYNC, 0);
38750
38751 ;
38752 return 0;
38753 }
38754 _ACEOF
38755 rm -f conftest.$ac_objext conftest$ac_exeext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38757 (eval $ac_link) 2>conftest.er1
38758 ac_status=$?
38759 grep -v '^ *+' conftest.er1 >conftest.err
38760 rm -f conftest.er1
38761 cat conftest.err >&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); } &&
38764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38766 (eval $ac_try) 2>&5
38767 ac_status=$?
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); }; } &&
38770 { ac_try='test -s conftest$ac_exeext'
38771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38772 (eval $ac_try) 2>&5
38773 ac_status=$?
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); }; }; then
38776 ac_cv_header_sys_soundcard=yes
38777 else
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781
38782 LIBS="$saveLibs"
38783 ac_cv_header_sys_soundcard=no
38784
38785
38786 fi
38787 rm -f conftest.err conftest.$ac_objext \
38788 conftest$ac_exeext conftest.$ac_ext
38789
38790
38791 fi
38792 rm -f conftest.err conftest.$ac_objext \
38793 conftest$ac_exeext conftest.$ac_ext
38794
38795 fi
38796 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38797 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38798
38799 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38800 cat >>confdefs.h <<\_ACEOF
38801 #define HAVE_SYS_SOUNDCARD_H 1
38802 _ACEOF
38803
38804 else
38805 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
38806 fi
38807 fi
38808 WITH_PLUGIN_SDL=0
38809 if test "$wxUSE_SOUND" = "yes"; then
38810 if test "$USE_UNIX" = "1" ; then
38811 if test "$wxUSE_LIBSDL" != "no"; then
38812
38813 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38814 if test "${with_sdl_prefix+set}" = set; then
38815 withval="$with_sdl_prefix"
38816 sdl_prefix="$withval"
38817 else
38818 sdl_prefix=""
38819 fi;
38820
38821 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38822 if test "${with_sdl_exec_prefix+set}" = set; then
38823 withval="$with_sdl_exec_prefix"
38824 sdl_exec_prefix="$withval"
38825 else
38826 sdl_exec_prefix=""
38827 fi;
38828 # Check whether --enable-sdltest or --disable-sdltest was given.
38829 if test "${enable_sdltest+set}" = set; then
38830 enableval="$enable_sdltest"
38831
38832 else
38833 enable_sdltest=yes
38834 fi;
38835
38836 if test x$sdl_exec_prefix != x ; then
38837 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
38838 if test x${SDL_CONFIG+set} != xset ; then
38839 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
38840 fi
38841 fi
38842 if test x$sdl_prefix != x ; then
38843 sdl_args="$sdl_args --prefix=$sdl_prefix"
38844 if test x${SDL_CONFIG+set} != xset ; then
38845 SDL_CONFIG=$sdl_prefix/bin/sdl-config
38846 fi
38847 fi
38848
38849
38850 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
38851 # Extract the first word of "sdl-config", so it can be a program name with args.
38852 set dummy sdl-config; ac_word=$2
38853 echo "$as_me:$LINENO: checking for $ac_word" >&5
38854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38855 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38857 else
38858 case $SDL_CONFIG in
38859 [\\/]* | ?:[\\/]*)
38860 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
38861 ;;
38862 *)
38863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38864 for as_dir in $PATH
38865 do
38866 IFS=$as_save_IFS
38867 test -z "$as_dir" && as_dir=.
38868 for ac_exec_ext in '' $ac_executable_extensions; do
38869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38870 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38872 break 2
38873 fi
38874 done
38875 done
38876
38877 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
38878 ;;
38879 esac
38880 fi
38881 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
38882
38883 if test -n "$SDL_CONFIG"; then
38884 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38885 echo "${ECHO_T}$SDL_CONFIG" >&6
38886 else
38887 echo "$as_me:$LINENO: result: no" >&5
38888 echo "${ECHO_T}no" >&6
38889 fi
38890
38891 min_sdl_version=1.2.0
38892 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38893 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38894 no_sdl=""
38895 if test "$SDL_CONFIG" = "no" ; then
38896 no_sdl=yes
38897 else
38898 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
38899 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
38900
38901 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
38902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38903 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
38904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38905 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
38906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38907 if test "x$enable_sdltest" = "xyes" ; then
38908 ac_save_CFLAGS="$CFLAGS"
38909 ac_save_CXXFLAGS="$CXXFLAGS"
38910 ac_save_LIBS="$LIBS"
38911 CFLAGS="$CFLAGS $SDL_CFLAGS"
38912 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38913 LIBS="$LIBS $SDL_LIBS"
38914 rm -f conf.sdltest
38915 if test "$cross_compiling" = yes; then
38916 echo $ac_n "cross compiling; assumed OK... $ac_c"
38917 else
38918 cat >conftest.$ac_ext <<_ACEOF
38919 /* confdefs.h. */
38920 _ACEOF
38921 cat confdefs.h >>conftest.$ac_ext
38922 cat >>conftest.$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38924
38925 #include <stdio.h>
38926 #include <stdlib.h>
38927 #include <string.h>
38928 #include "SDL.h"
38929
38930 char*
38931 my_strdup (char *str)
38932 {
38933 char *new_str;
38934
38935 if (str)
38936 {
38937 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38938 strcpy (new_str, str);
38939 }
38940 else
38941 new_str = NULL;
38942
38943 return new_str;
38944 }
38945
38946 int main (int argc, char *argv[])
38947 {
38948 int major, minor, micro;
38949 char *tmp_version;
38950
38951 /* This hangs on some systems (?)
38952 system ("touch conf.sdltest");
38953 */
38954 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38955
38956 /* HP/UX 9 (%@#!) writes to sscanf strings */
38957 tmp_version = my_strdup("$min_sdl_version");
38958 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
38959 printf("%s, bad version string\n", "$min_sdl_version");
38960 exit(1);
38961 }
38962
38963 if (($sdl_major_version > major) ||
38964 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38965 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38966 {
38967 return 0;
38968 }
38969 else
38970 {
38971 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38972 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38973 printf("*** best to upgrade to the required version.\n");
38974 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38975 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38976 printf("*** config.cache before re-running configure\n");
38977 return 1;
38978 }
38979 }
38980
38981
38982 _ACEOF
38983 rm -f conftest$ac_exeext
38984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38985 (eval $ac_link) 2>&5
38986 ac_status=$?
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38990 (eval $ac_try) 2>&5
38991 ac_status=$?
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); }; }; then
38994 :
38995 else
38996 echo "$as_me: program exited with status $ac_status" >&5
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.$ac_ext >&5
38999
39000 ( exit $ac_status )
39001 no_sdl=yes
39002 fi
39003 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39004 fi
39005 CFLAGS="$ac_save_CFLAGS"
39006 CXXFLAGS="$ac_save_CXXFLAGS"
39007 LIBS="$ac_save_LIBS"
39008 fi
39009 fi
39010 if test "x$no_sdl" = x ; then
39011 echo "$as_me:$LINENO: result: yes" >&5
39012 echo "${ECHO_T}yes" >&6
39013
39014 EXTRALIBS_SDL="$SDL_LIBS"
39015 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39016 cat >>confdefs.h <<\_ACEOF
39017 #define wxUSE_LIBSDL 1
39018 _ACEOF
39019
39020
39021 else
39022 echo "$as_me:$LINENO: result: no" >&5
39023 echo "${ECHO_T}no" >&6
39024 if test "$SDL_CONFIG" = "no" ; then
39025 echo "*** The sdl-config script installed by SDL could not be found"
39026 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39027 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39028 echo "*** full path to sdl-config."
39029 else
39030 if test -f conf.sdltest ; then
39031 :
39032 else
39033 echo "*** Could not run SDL test program, checking why..."
39034 CFLAGS="$CFLAGS $SDL_CFLAGS"
39035 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39036 LIBS="$LIBS $SDL_LIBS"
39037 cat >conftest.$ac_ext <<_ACEOF
39038 /* confdefs.h. */
39039 _ACEOF
39040 cat confdefs.h >>conftest.$ac_ext
39041 cat >>conftest.$ac_ext <<_ACEOF
39042 /* end confdefs.h. */
39043
39044 #include <stdio.h>
39045 #include "SDL.h"
39046
39047 int main(int argc, char *argv[])
39048 { return 0; }
39049 #undef main
39050 #define main K_and_R_C_main
39051
39052 int
39053 main ()
39054 {
39055 return 0;
39056 ;
39057 return 0;
39058 }
39059 _ACEOF
39060 rm -f conftest.$ac_objext conftest$ac_exeext
39061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39062 (eval $ac_link) 2>conftest.er1
39063 ac_status=$?
39064 grep -v '^ *+' conftest.er1 >conftest.err
39065 rm -f conftest.er1
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } &&
39069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39072 ac_status=$?
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; } &&
39075 { ac_try='test -s conftest$ac_exeext'
39076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39077 (eval $ac_try) 2>&5
39078 ac_status=$?
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); }; }; then
39081 echo "*** The test program compiled, but did not run. This usually means"
39082 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39083 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39086 echo "*** is required on your system"
39087 echo "***"
39088 echo "*** If you have an old version installed, it is best to remove it, although"
39089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39090 else
39091 echo "$as_me: failed program was:" >&5
39092 sed 's/^/| /' conftest.$ac_ext >&5
39093
39094 echo "*** The test program failed to compile or link. See the file config.log for the"
39095 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39096 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39097 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39098 fi
39099 rm -f conftest.err conftest.$ac_objext \
39100 conftest$ac_exeext conftest.$ac_ext
39101 CFLAGS="$ac_save_CFLAGS"
39102 CXXFLAGS="$ac_save_CXXFLAGS"
39103 LIBS="$ac_save_LIBS"
39104 fi
39105 fi
39106 SDL_CFLAGS=""
39107 SDL_LIBS=""
39108 wxUSE_LIBSDL="no"
39109 fi
39110
39111
39112 rm -f conf.sdltest
39113
39114 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39115 WITH_PLUGIN_SDL=1
39116 fi
39117 fi
39118 fi
39119
39120 cat >>confdefs.h <<\_ACEOF
39121 #define wxUSE_SOUND 1
39122 _ACEOF
39123
39124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
39125 fi
39126
39127 if test "$WXGTK20" = 1; then
39128 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39129 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39130
39131
39132 succeeded=no
39133
39134 if test -z "$PKG_CONFIG"; then
39135 # Extract the first word of "pkg-config", so it can be a program name with args.
39136 set dummy pkg-config; ac_word=$2
39137 echo "$as_me:$LINENO: checking for $ac_word" >&5
39138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39139 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 else
39142 case $PKG_CONFIG in
39143 [\\/]* | ?:[\\/]*)
39144 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39145 ;;
39146 *)
39147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39148 for as_dir in $PATH
39149 do
39150 IFS=$as_save_IFS
39151 test -z "$as_dir" && as_dir=.
39152 for ac_exec_ext in '' $ac_executable_extensions; do
39153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39154 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39156 break 2
39157 fi
39158 done
39159 done
39160
39161 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39162 ;;
39163 esac
39164 fi
39165 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39166
39167 if test -n "$PKG_CONFIG"; then
39168 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39169 echo "${ECHO_T}$PKG_CONFIG" >&6
39170 else
39171 echo "$as_me:$LINENO: result: no" >&5
39172 echo "${ECHO_T}no" >&6
39173 fi
39174
39175 fi
39176
39177 if test "$PKG_CONFIG" = "no" ; then
39178 echo "*** The pkg-config script could not be found. Make sure it is"
39179 echo "*** in your path, or set the PKG_CONFIG environment variable"
39180 echo "*** to the full path to pkg-config."
39181 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39182 else
39183 PKG_CONFIG_MIN_VERSION=0.9.0
39184 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39185 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39186 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39187
39188 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39189 echo "$as_me:$LINENO: result: yes" >&5
39190 echo "${ECHO_T}yes" >&6
39191 succeeded=yes
39192
39193 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39194 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39195 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39196 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39197 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39198
39199 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39200 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39201 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39202 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39203 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39204 else
39205 LIBGNOMEPRINTUI_CFLAGS=""
39206 LIBGNOMEPRINTUI_LIBS=""
39207 ## If we have a custom action on failure, don't print errors, but
39208 ## do set a variable so people can do so.
39209 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39210
39211 fi
39212
39213
39214
39215 else
39216 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39217 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39218 fi
39219 fi
39220
39221 if test $succeeded = yes; then
39222
39223 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39224 cat >>confdefs.h <<\_ACEOF
39225 #define wxUSE_LIBGNOMEPRINT 1
39226 _ACEOF
39227
39228
39229 else
39230
39231 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39232 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39233 wxUSE_LIBGNOMEPRINT="no"
39234
39235
39236 fi
39237
39238 fi
39239 fi
39240 fi
39241
39242
39243 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39244 cat >>confdefs.h <<\_ACEOF
39245 #define wxUSE_CMDLINE_PARSER 1
39246 _ACEOF
39247
39248 fi
39249
39250 if test "$wxUSE_STOPWATCH" = "yes"; then
39251 cat >>confdefs.h <<\_ACEOF
39252 #define wxUSE_STOPWATCH 1
39253 _ACEOF
39254
39255 fi
39256
39257 if test "$wxUSE_DATETIME" = "yes"; then
39258 cat >>confdefs.h <<\_ACEOF
39259 #define wxUSE_DATETIME 1
39260 _ACEOF
39261
39262 fi
39263
39264 if test "$wxUSE_FILE" = "yes"; then
39265 cat >>confdefs.h <<\_ACEOF
39266 #define wxUSE_FILE 1
39267 _ACEOF
39268
39269 fi
39270
39271 if test "$wxUSE_FFILE" = "yes"; then
39272 cat >>confdefs.h <<\_ACEOF
39273 #define wxUSE_FFILE 1
39274 _ACEOF
39275
39276 fi
39277
39278 if test "$wxUSE_FILESYSTEM" = "yes"; then
39279 cat >>confdefs.h <<\_ACEOF
39280 #define wxUSE_FILESYSTEM 1
39281 _ACEOF
39282
39283 fi
39284
39285 if test "$wxUSE_FS_ZIP" = "yes"; then
39286 cat >>confdefs.h <<\_ACEOF
39287 #define wxUSE_FS_ZIP 1
39288 _ACEOF
39289
39290 fi
39291
39292 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39293 cat >>confdefs.h <<\_ACEOF
39294 #define wxUSE_ARCHIVE_STREAMS 1
39295 _ACEOF
39296
39297 fi
39298
39299 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39300 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39301 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39302 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39303 elif test "$wxUSE_ZLIB" = "no"; then
39304 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39305 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39306 else
39307 cat >>confdefs.h <<\_ACEOF
39308 #define wxUSE_ZIPSTREAM 1
39309 _ACEOF
39310
39311 fi
39312 fi
39313
39314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39315 if test "$USE_UNIX" != 1; then
39316 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39317 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39318 wxUSE_ON_FATAL_EXCEPTION=no
39319 else
39320 cat >>confdefs.h <<\_ACEOF
39321 #define wxUSE_ON_FATAL_EXCEPTION 1
39322 _ACEOF
39323
39324 fi
39325 fi
39326
39327 if test "$wxUSE_STACKWALKER" = "yes"; then
39328 cat >>confdefs.h <<\_ACEOF
39329 #define wxUSE_STACKWALKER 1
39330 _ACEOF
39331
39332 fi
39333
39334 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39335 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39336 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39337 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39338 wxUSE_DEBUGREPORT=no
39339 else
39340 cat >>confdefs.h <<\_ACEOF
39341 #define wxUSE_DEBUGREPORT 1
39342 _ACEOF
39343
39344 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
39346 fi
39347 fi
39348 fi
39349
39350 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39351 cat >>confdefs.h <<\_ACEOF
39352 #define wxUSE_SNGLINST_CHECKER 1
39353 _ACEOF
39354
39355 fi
39356
39357 if test "$wxUSE_BUSYINFO" = "yes"; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define wxUSE_BUSYINFO 1
39360 _ACEOF
39361
39362 fi
39363
39364 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39365 cat >>confdefs.h <<\_ACEOF
39366 #define wxUSE_STD_IOSTREAM 1
39367 _ACEOF
39368
39369 fi
39370
39371 if test "$wxUSE_STD_STRING" = "yes"; then
39372 cat >>confdefs.h <<\_ACEOF
39373 #define wxUSE_STD_STRING 1
39374 _ACEOF
39375
39376 fi
39377
39378 if test "$wxUSE_STDPATHS" = "yes"; then
39379 cat >>confdefs.h <<\_ACEOF
39380 #define wxUSE_STDPATHS 1
39381 _ACEOF
39382
39383 fi
39384
39385 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39386 cat >>confdefs.h <<\_ACEOF
39387 #define wxUSE_TEXTBUFFER 1
39388 _ACEOF
39389
39390 fi
39391
39392 if test "$wxUSE_TEXTFILE" = "yes"; then
39393 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39394 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39395 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39396 else
39397 cat >>confdefs.h <<\_ACEOF
39398 #define wxUSE_TEXTFILE 1
39399 _ACEOF
39400
39401 fi
39402 fi
39403
39404 if test "$wxUSE_CONFIG" = "yes" ; then
39405 if test "$wxUSE_TEXTFILE" != "yes"; then
39406 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39407 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39408 else
39409 cat >>confdefs.h <<\_ACEOF
39410 #define wxUSE_CONFIG 1
39411 _ACEOF
39412
39413 cat >>confdefs.h <<\_ACEOF
39414 #define wxUSE_CONFIG_NATIVE 1
39415 _ACEOF
39416
39417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
39418 fi
39419 fi
39420
39421 if test "$wxUSE_INTL" = "yes" ; then
39422 if test "$wxUSE_FILE" != "yes"; then
39423 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39424 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39425 else
39426 cat >>confdefs.h <<\_ACEOF
39427 #define wxUSE_INTL 1
39428 _ACEOF
39429
39430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
39431 GUIDIST="$GUIDIST INTL_DIST"
39432 fi
39433 fi
39434
39435 if test "$wxUSE_LOG" = "yes"; then
39436 cat >>confdefs.h <<\_ACEOF
39437 #define wxUSE_LOG 1
39438 _ACEOF
39439
39440
39441 if test "$wxUSE_LOGGUI" = "yes"; then
39442 cat >>confdefs.h <<\_ACEOF
39443 #define wxUSE_LOGGUI 1
39444 _ACEOF
39445
39446 fi
39447
39448 if test "$wxUSE_LOGWINDOW" = "yes"; then
39449 cat >>confdefs.h <<\_ACEOF
39450 #define wxUSE_LOGWINDOW 1
39451 _ACEOF
39452
39453 fi
39454
39455 if test "$wxUSE_LOGDIALOG" = "yes"; then
39456 cat >>confdefs.h <<\_ACEOF
39457 #define wxUSE_LOG_DIALOG 1
39458 _ACEOF
39459
39460 fi
39461
39462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
39463 fi
39464
39465 if test "$wxUSE_LONGLONG" = "yes"; then
39466 cat >>confdefs.h <<\_ACEOF
39467 #define wxUSE_LONGLONG 1
39468 _ACEOF
39469
39470 fi
39471
39472 if test "$wxUSE_GEOMETRY" = "yes"; then
39473 cat >>confdefs.h <<\_ACEOF
39474 #define wxUSE_GEOMETRY 1
39475 _ACEOF
39476
39477 fi
39478
39479 if test "$wxUSE_STREAMS" = "yes" ; then
39480 cat >>confdefs.h <<\_ACEOF
39481 #define wxUSE_STREAMS 1
39482 _ACEOF
39483
39484 fi
39485
39486
39487 if test "$wxUSE_DATETIME" = "yes"; then
39488
39489 for ac_func in strptime
39490 do
39491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39492 echo "$as_me:$LINENO: checking for $ac_func" >&5
39493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39494 if eval "test \"\${$as_ac_var+set}\" = set"; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39496 else
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h. */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define $ac_func innocuous_$ac_func
39506
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char $ac_func (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39511
39512 #ifdef __STDC__
39513 # include <limits.h>
39514 #else
39515 # include <assert.h>
39516 #endif
39517
39518 #undef $ac_func
39519
39520 /* Override any gcc2 internal prototype to avoid an error. */
39521 #ifdef __cplusplus
39522 extern "C"
39523 {
39524 #endif
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39527 char $ac_func ();
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 choke me
39533 #else
39534 char (*f) () = $ac_func;
39535 #endif
39536 #ifdef __cplusplus
39537 }
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 return f != $ac_func;
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>conftest.er1
39551 ac_status=$?
39552 grep -v '^ *+' conftest.er1 >conftest.err
39553 rm -f conftest.er1
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; } &&
39563 { ac_try='test -s conftest$ac_exeext'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39566 ac_status=$?
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; }; then
39569 eval "$as_ac_var=yes"
39570 else
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39573
39574 eval "$as_ac_var=no"
39575 fi
39576 rm -f conftest.err conftest.$ac_objext \
39577 conftest$ac_exeext conftest.$ac_ext
39578 fi
39579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39581 if test `eval echo '${'$as_ac_var'}'` = yes; then
39582 cat >>confdefs.h <<_ACEOF
39583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39584 _ACEOF
39585
39586 fi
39587 done
39588
39589 if test "$ac_cv_func_strptime" = "yes"; then
39590 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39591 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39592 if test "${wx_cv_func_strptime_decl+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39594 else
39595
39596
39597
39598 ac_ext=cc
39599 ac_cpp='$CXXCPP $CPPFLAGS'
39600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39603
39604 cat >conftest.$ac_ext <<_ACEOF
39605 /* confdefs.h. */
39606 _ACEOF
39607 cat confdefs.h >>conftest.$ac_ext
39608 cat >>conftest.$ac_ext <<_ACEOF
39609 /* end confdefs.h. */
39610
39611 #include <time.h>
39612
39613 int
39614 main ()
39615 {
39616
39617 struct tm t;
39618 strptime("foo", "bar", &t);
39619
39620 ;
39621 return 0;
39622 }
39623 _ACEOF
39624 rm -f conftest.$ac_objext
39625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39626 (eval $ac_compile) 2>conftest.er1
39627 ac_status=$?
39628 grep -v '^ *+' conftest.er1 >conftest.err
39629 rm -f conftest.er1
39630 cat conftest.err >&5
39631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39632 (exit $ac_status); } &&
39633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39635 (eval $ac_try) 2>&5
39636 ac_status=$?
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); }; } &&
39639 { ac_try='test -s conftest.$ac_objext'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39642 ac_status=$?
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; }; then
39645 wx_cv_func_strptime_decl=yes
39646 else
39647 echo "$as_me: failed program was:" >&5
39648 sed 's/^/| /' conftest.$ac_ext >&5
39649
39650 wx_cv_func_strptime_decl=no
39651
39652 fi
39653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39654 ac_ext=c
39655 ac_cpp='$CPP $CPPFLAGS'
39656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39659
39660
39661
39662 fi
39663 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39664 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39665 fi
39666 if test "$wx_cv_func_strptime_decl" = "yes"; then
39667 cat >>confdefs.h <<\_ACEOF
39668 #define HAVE_STRPTIME_DECL 1
39669 _ACEOF
39670
39671 fi
39672
39673 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39674 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39675 if test "${wx_cv_var_timezone+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685
39686 #include <time.h>
39687
39688 int
39689 main ()
39690 {
39691
39692 int tz;
39693 tz = timezone;
39694
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39701 (eval $ac_compile) 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39711 ac_status=$?
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; } &&
39714 { ac_try='test -s conftest.$ac_objext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39717 ac_status=$?
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39720
39721 wx_cv_var_timezone=timezone
39722
39723 else
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39726
39727
39728 cat >conftest.$ac_ext <<_ACEOF
39729 /* confdefs.h. */
39730 _ACEOF
39731 cat confdefs.h >>conftest.$ac_ext
39732 cat >>conftest.$ac_ext <<_ACEOF
39733 /* end confdefs.h. */
39734
39735 #include <time.h>
39736
39737 int
39738 main ()
39739 {
39740
39741 int tz;
39742 tz = _timezone;
39743
39744 ;
39745 return 0;
39746 }
39747 _ACEOF
39748 rm -f conftest.$ac_objext
39749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39750 (eval $ac_compile) 2>conftest.er1
39751 ac_status=$?
39752 grep -v '^ *+' conftest.er1 >conftest.err
39753 rm -f conftest.er1
39754 cat conftest.err >&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); } &&
39757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39759 (eval $ac_try) 2>&5
39760 ac_status=$?
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); }; } &&
39763 { ac_try='test -s conftest.$ac_objext'
39764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39765 (eval $ac_try) 2>&5
39766 ac_status=$?
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); }; }; then
39769
39770 wx_cv_var_timezone=_timezone
39771
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776
39777 cat >conftest.$ac_ext <<_ACEOF
39778 /* confdefs.h. */
39779 _ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783
39784 #include <time.h>
39785
39786 int
39787 main ()
39788 {
39789
39790 int tz;
39791 tz = __timezone;
39792
39793 ;
39794 return 0;
39795 }
39796 _ACEOF
39797 rm -f conftest.$ac_objext
39798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39799 (eval $ac_compile) 2>conftest.er1
39800 ac_status=$?
39801 grep -v '^ *+' conftest.er1 >conftest.err
39802 rm -f conftest.er1
39803 cat conftest.err >&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
39806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try='test -s conftest.$ac_objext'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39815 ac_status=$?
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39818
39819 wx_cv_var_timezone=__timezone
39820
39821 else
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.$ac_ext >&5
39824
39825
39826 if test "$USE_DOS" = 0 ; then
39827 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39828 echo "$as_me: WARNING: no timezone variable" >&2;}
39829 fi
39830
39831
39832 fi
39833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39834
39835
39836 fi
39837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39838
39839
39840 fi
39841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39842
39843
39844 fi
39845 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39846 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39847
39848 if test "x$wx_cv_var_timezone" != x ; then
39849 cat >>confdefs.h <<_ACEOF
39850 #define WX_TIMEZONE $wx_cv_var_timezone
39851 _ACEOF
39852
39853 fi
39854
39855
39856 for ac_func in localtime
39857 do
39858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39859 echo "$as_me:$LINENO: checking for $ac_func" >&5
39860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39861 if eval "test \"\${$as_ac_var+set}\" = set"; then
39862 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 else
39864 cat >conftest.$ac_ext <<_ACEOF
39865 /* confdefs.h. */
39866 _ACEOF
39867 cat confdefs.h >>conftest.$ac_ext
39868 cat >>conftest.$ac_ext <<_ACEOF
39869 /* end confdefs.h. */
39870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39872 #define $ac_func innocuous_$ac_func
39873
39874 /* System header to define __stub macros and hopefully few prototypes,
39875 which can conflict with char $ac_func (); below.
39876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39877 <limits.h> exists even on freestanding compilers. */
39878
39879 #ifdef __STDC__
39880 # include <limits.h>
39881 #else
39882 # include <assert.h>
39883 #endif
39884
39885 #undef $ac_func
39886
39887 /* Override any gcc2 internal prototype to avoid an error. */
39888 #ifdef __cplusplus
39889 extern "C"
39890 {
39891 #endif
39892 /* We use char because int might match the return type of a gcc2
39893 builtin and then its argument prototype would still apply. */
39894 char $ac_func ();
39895 /* The GNU C library defines this for functions which it implements
39896 to always fail with ENOSYS. Some functions are actually named
39897 something starting with __ and the normal name is an alias. */
39898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39899 choke me
39900 #else
39901 char (*f) () = $ac_func;
39902 #endif
39903 #ifdef __cplusplus
39904 }
39905 #endif
39906
39907 int
39908 main ()
39909 {
39910 return f != $ac_func;
39911 ;
39912 return 0;
39913 }
39914 _ACEOF
39915 rm -f conftest.$ac_objext conftest$ac_exeext
39916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39917 (eval $ac_link) 2>conftest.er1
39918 ac_status=$?
39919 grep -v '^ *+' conftest.er1 >conftest.err
39920 rm -f conftest.er1
39921 cat conftest.err >&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); } &&
39924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39926 (eval $ac_try) 2>&5
39927 ac_status=$?
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); }; } &&
39930 { ac_try='test -s conftest$ac_exeext'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39933 ac_status=$?
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; }; then
39936 eval "$as_ac_var=yes"
39937 else
39938 echo "$as_me: failed program was:" >&5
39939 sed 's/^/| /' conftest.$ac_ext >&5
39940
39941 eval "$as_ac_var=no"
39942 fi
39943 rm -f conftest.err conftest.$ac_objext \
39944 conftest$ac_exeext conftest.$ac_ext
39945 fi
39946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39948 if test `eval echo '${'$as_ac_var'}'` = yes; then
39949 cat >>confdefs.h <<_ACEOF
39950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39951 _ACEOF
39952
39953 fi
39954 done
39955
39956
39957 if test "$ac_cv_func_localtime" = "yes"; then
39958 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39959 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39960 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39961 echo $ECHO_N "(cached) $ECHO_C" >&6
39962 else
39963
39964 cat >conftest.$ac_ext <<_ACEOF
39965 /* confdefs.h. */
39966 _ACEOF
39967 cat confdefs.h >>conftest.$ac_ext
39968 cat >>conftest.$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970
39971 #include <time.h>
39972
39973 int
39974 main ()
39975 {
39976
39977 struct tm tm;
39978 tm.tm_gmtoff++;
39979
39980 ;
39981 return 0;
39982 }
39983 _ACEOF
39984 rm -f conftest.$ac_objext
39985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39986 (eval $ac_compile) 2>conftest.er1
39987 ac_status=$?
39988 grep -v '^ *+' conftest.er1 >conftest.err
39989 rm -f conftest.er1
39990 cat conftest.err >&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } &&
39993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39996 ac_status=$?
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; } &&
39999 { ac_try='test -s conftest.$ac_objext'
40000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40001 (eval $ac_try) 2>&5
40002 ac_status=$?
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); }; }; then
40005
40006 wx_cv_struct_tm_has_gmtoff=yes
40007
40008 else
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40011
40012 wx_cv_struct_tm_has_gmtoff=no
40013
40014 fi
40015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40016
40017 fi
40018 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40019 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40020 fi
40021
40022 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40023 cat >>confdefs.h <<\_ACEOF
40024 #define WX_GMTOFF_IN_TM 1
40025 _ACEOF
40026
40027 fi
40028
40029
40030
40031 for ac_func in gettimeofday ftime
40032 do
40033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40034 echo "$as_me:$LINENO: checking for $ac_func" >&5
40035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40036 if eval "test \"\${$as_ac_var+set}\" = set"; then
40037 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 else
40039 cat >conftest.$ac_ext <<_ACEOF
40040 /* confdefs.h. */
40041 _ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40047 #define $ac_func innocuous_$ac_func
40048
40049 /* System header to define __stub macros and hopefully few prototypes,
40050 which can conflict with char $ac_func (); below.
40051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40052 <limits.h> exists even on freestanding compilers. */
40053
40054 #ifdef __STDC__
40055 # include <limits.h>
40056 #else
40057 # include <assert.h>
40058 #endif
40059
40060 #undef $ac_func
40061
40062 /* Override any gcc2 internal prototype to avoid an error. */
40063 #ifdef __cplusplus
40064 extern "C"
40065 {
40066 #endif
40067 /* We use char because int might match the return type of a gcc2
40068 builtin and then its argument prototype would still apply. */
40069 char $ac_func ();
40070 /* The GNU C library defines this for functions which it implements
40071 to always fail with ENOSYS. Some functions are actually named
40072 something starting with __ and the normal name is an alias. */
40073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40074 choke me
40075 #else
40076 char (*f) () = $ac_func;
40077 #endif
40078 #ifdef __cplusplus
40079 }
40080 #endif
40081
40082 int
40083 main ()
40084 {
40085 return f != $ac_func;
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 rm -f conftest.$ac_objext conftest$ac_exeext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40092 (eval $ac_link) 2>conftest.er1
40093 ac_status=$?
40094 grep -v '^ *+' conftest.er1 >conftest.err
40095 rm -f conftest.er1
40096 cat conftest.err >&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40102 ac_status=$?
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; } &&
40105 { ac_try='test -s conftest$ac_exeext'
40106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40107 (eval $ac_try) 2>&5
40108 ac_status=$?
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); }; }; then
40111 eval "$as_ac_var=yes"
40112 else
40113 echo "$as_me: failed program was:" >&5
40114 sed 's/^/| /' conftest.$ac_ext >&5
40115
40116 eval "$as_ac_var=no"
40117 fi
40118 rm -f conftest.err conftest.$ac_objext \
40119 conftest$ac_exeext conftest.$ac_ext
40120 fi
40121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40123 if test `eval echo '${'$as_ac_var'}'` = yes; then
40124 cat >>confdefs.h <<_ACEOF
40125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40126 _ACEOF
40127 break
40128 fi
40129 done
40130
40131
40132 if test "$ac_cv_func_gettimeofday" = "yes"; then
40133 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40134 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40135 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138
40139
40140
40141 ac_ext=cc
40142 ac_cpp='$CXXCPP $CPPFLAGS'
40143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146
40147
40148 cat >conftest.$ac_ext <<_ACEOF
40149 /* confdefs.h. */
40150 _ACEOF
40151 cat confdefs.h >>conftest.$ac_ext
40152 cat >>conftest.$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154
40155 #include <sys/time.h>
40156 #include <unistd.h>
40157
40158 int
40159 main ()
40160 {
40161
40162 struct timeval tv;
40163 gettimeofday(&tv, NULL);
40164
40165 ;
40166 return 0;
40167 }
40168 _ACEOF
40169 rm -f conftest.$ac_objext
40170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40171 (eval $ac_compile) 2>conftest.er1
40172 ac_status=$?
40173 grep -v '^ *+' conftest.er1 >conftest.err
40174 rm -f conftest.er1
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } &&
40178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40180 (eval $ac_try) 2>&5
40181 ac_status=$?
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); }; } &&
40184 { ac_try='test -s conftest.$ac_objext'
40185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40186 (eval $ac_try) 2>&5
40187 ac_status=$?
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); }; }; then
40190 wx_cv_func_gettimeofday_has_2_args=yes
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195 cat >conftest.$ac_ext <<_ACEOF
40196 /* confdefs.h. */
40197 _ACEOF
40198 cat confdefs.h >>conftest.$ac_ext
40199 cat >>conftest.$ac_ext <<_ACEOF
40200 /* end confdefs.h. */
40201
40202 #include <sys/time.h>
40203 #include <unistd.h>
40204
40205 int
40206 main ()
40207 {
40208
40209 struct timeval tv;
40210 gettimeofday(&tv);
40211
40212 ;
40213 return 0;
40214 }
40215 _ACEOF
40216 rm -f conftest.$ac_objext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40218 (eval $ac_compile) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40228 ac_status=$?
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try='test -s conftest.$ac_objext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40234 ac_status=$?
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 wx_cv_func_gettimeofday_has_2_args=no
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242
40243 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40244 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40245 wx_cv_func_gettimeofday_has_2_args=unknown
40246
40247
40248 fi
40249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40250
40251 fi
40252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40253 ac_ext=c
40254 ac_cpp='$CPP $CPPFLAGS'
40255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40258
40259
40260 fi
40261 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40262 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40263
40264 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40265 cat >>confdefs.h <<\_ACEOF
40266 #define WX_GETTIMEOFDAY_NO_TZ 1
40267 _ACEOF
40268
40269 fi
40270 fi
40271
40272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
40273 fi
40274
40275
40276 if test "$wxUSE_SOCKETS" = "yes"; then
40277 if test "$wxUSE_MGL" = "1"; then
40278 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40279 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40280 wxUSE_SOCKETS="no"
40281 fi
40282 fi
40283
40284 if test "$wxUSE_SOCKETS" = "yes"; then
40285 if test "$TOOLKIT" != "MSW"; then
40286 echo "$as_me:$LINENO: checking for socket" >&5
40287 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40288 if test "${ac_cv_func_socket+set}" = set; then
40289 echo $ECHO_N "(cached) $ECHO_C" >&6
40290 else
40291 cat >conftest.$ac_ext <<_ACEOF
40292 /* confdefs.h. */
40293 _ACEOF
40294 cat confdefs.h >>conftest.$ac_ext
40295 cat >>conftest.$ac_ext <<_ACEOF
40296 /* end confdefs.h. */
40297 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40299 #define socket innocuous_socket
40300
40301 /* System header to define __stub macros and hopefully few prototypes,
40302 which can conflict with char socket (); below.
40303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40304 <limits.h> exists even on freestanding compilers. */
40305
40306 #ifdef __STDC__
40307 # include <limits.h>
40308 #else
40309 # include <assert.h>
40310 #endif
40311
40312 #undef socket
40313
40314 /* Override any gcc2 internal prototype to avoid an error. */
40315 #ifdef __cplusplus
40316 extern "C"
40317 {
40318 #endif
40319 /* We use char because int might match the return type of a gcc2
40320 builtin and then its argument prototype would still apply. */
40321 char socket ();
40322 /* The GNU C library defines this for functions which it implements
40323 to always fail with ENOSYS. Some functions are actually named
40324 something starting with __ and the normal name is an alias. */
40325 #if defined (__stub_socket) || defined (__stub___socket)
40326 choke me
40327 #else
40328 char (*f) () = socket;
40329 #endif
40330 #ifdef __cplusplus
40331 }
40332 #endif
40333
40334 int
40335 main ()
40336 {
40337 return f != socket;
40338 ;
40339 return 0;
40340 }
40341 _ACEOF
40342 rm -f conftest.$ac_objext conftest$ac_exeext
40343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40344 (eval $ac_link) 2>conftest.er1
40345 ac_status=$?
40346 grep -v '^ *+' conftest.er1 >conftest.err
40347 rm -f conftest.er1
40348 cat conftest.err >&5
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); } &&
40351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40353 (eval $ac_try) 2>&5
40354 ac_status=$?
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); }; } &&
40357 { ac_try='test -s conftest$ac_exeext'
40358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40359 (eval $ac_try) 2>&5
40360 ac_status=$?
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); }; }; then
40363 ac_cv_func_socket=yes
40364 else
40365 echo "$as_me: failed program was:" >&5
40366 sed 's/^/| /' conftest.$ac_ext >&5
40367
40368 ac_cv_func_socket=no
40369 fi
40370 rm -f conftest.err conftest.$ac_objext \
40371 conftest$ac_exeext conftest.$ac_ext
40372 fi
40373 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40374 echo "${ECHO_T}$ac_cv_func_socket" >&6
40375 if test $ac_cv_func_socket = yes; then
40376 :
40377 else
40378
40379 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40380 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40381 if test "${ac_cv_lib_socket_socket+set}" = set; then
40382 echo $ECHO_N "(cached) $ECHO_C" >&6
40383 else
40384 ac_check_lib_save_LIBS=$LIBS
40385 LIBS="-lsocket $LIBS"
40386 cat >conftest.$ac_ext <<_ACEOF
40387 /* confdefs.h. */
40388 _ACEOF
40389 cat confdefs.h >>conftest.$ac_ext
40390 cat >>conftest.$ac_ext <<_ACEOF
40391 /* end confdefs.h. */
40392
40393 /* Override any gcc2 internal prototype to avoid an error. */
40394 #ifdef __cplusplus
40395 extern "C"
40396 #endif
40397 /* We use char because int might match the return type of a gcc2
40398 builtin and then its argument prototype would still apply. */
40399 char socket ();
40400 int
40401 main ()
40402 {
40403 socket ();
40404 ;
40405 return 0;
40406 }
40407 _ACEOF
40408 rm -f conftest.$ac_objext conftest$ac_exeext
40409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40410 (eval $ac_link) 2>conftest.er1
40411 ac_status=$?
40412 grep -v '^ *+' conftest.er1 >conftest.err
40413 rm -f conftest.er1
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } &&
40417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419 (eval $ac_try) 2>&5
40420 ac_status=$?
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); }; } &&
40423 { ac_try='test -s conftest$ac_exeext'
40424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40425 (eval $ac_try) 2>&5
40426 ac_status=$?
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); }; }; then
40429 ac_cv_lib_socket_socket=yes
40430 else
40431 echo "$as_me: failed program was:" >&5
40432 sed 's/^/| /' conftest.$ac_ext >&5
40433
40434 ac_cv_lib_socket_socket=no
40435 fi
40436 rm -f conftest.err conftest.$ac_objext \
40437 conftest$ac_exeext conftest.$ac_ext
40438 LIBS=$ac_check_lib_save_LIBS
40439 fi
40440 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40441 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40442 if test $ac_cv_lib_socket_socket = yes; then
40443 if test "$INET_LINK" != " -lsocket"; then
40444 INET_LINK="$INET_LINK -lsocket"
40445 fi
40446 else
40447
40448 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40449 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40450 wxUSE_SOCKETS=no
40451
40452
40453 fi
40454
40455
40456
40457 fi
40458
40459 fi
40460 fi
40461
40462 if test "$wxUSE_SOCKETS" = "yes" ; then
40463 if test "$TOOLKIT" != "MSW"; then
40464 ac_ext=cc
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40469
40470 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40471 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40472 if test "${wx_cv_type_getsockname3+set}" = set; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 else
40475
40476 cat >conftest.$ac_ext <<_ACEOF
40477 /* confdefs.h. */
40478 _ACEOF
40479 cat confdefs.h >>conftest.$ac_ext
40480 cat >>conftest.$ac_ext <<_ACEOF
40481 /* end confdefs.h. */
40482
40483 #include <sys/types.h>
40484 #include <sys/socket.h>
40485
40486 int
40487 main ()
40488 {
40489
40490 socklen_t len;
40491 getsockname(0, 0, &len);
40492
40493 ;
40494 return 0;
40495 }
40496 _ACEOF
40497 rm -f conftest.$ac_objext
40498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40499 (eval $ac_compile) 2>conftest.er1
40500 ac_status=$?
40501 grep -v '^ *+' conftest.er1 >conftest.err
40502 rm -f conftest.er1
40503 cat conftest.err >&5
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); } &&
40506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508 (eval $ac_try) 2>&5
40509 ac_status=$?
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); }; } &&
40512 { ac_try='test -s conftest.$ac_objext'
40513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40514 (eval $ac_try) 2>&5
40515 ac_status=$?
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); }; }; then
40518 wx_cv_type_getsockname3=socklen_t
40519 else
40520 echo "$as_me: failed program was:" >&5
40521 sed 's/^/| /' conftest.$ac_ext >&5
40522
40523
40524 CXXFLAGS_OLD="$CXXFLAGS"
40525 if test "$GCC" = yes ; then
40526 CXXFLAGS="$CXXFLAGS -Werror"
40527 fi
40528
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535
40536 #include <sys/types.h>
40537 #include <sys/socket.h>
40538
40539 int
40540 main ()
40541 {
40542
40543 size_t len;
40544 getsockname(0, 0, &len);
40545
40546 ;
40547 return 0;
40548 }
40549 _ACEOF
40550 rm -f conftest.$ac_objext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40552 (eval $ac_compile) 2>conftest.er1
40553 ac_status=$?
40554 grep -v '^ *+' conftest.er1 >conftest.err
40555 rm -f conftest.er1
40556 cat conftest.err >&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40562 ac_status=$?
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; } &&
40565 { ac_try='test -s conftest.$ac_objext'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40568 ac_status=$?
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; }; then
40571 wx_cv_type_getsockname3=size_t
40572 else
40573 echo "$as_me: failed program was:" >&5
40574 sed 's/^/| /' conftest.$ac_ext >&5
40575
40576 cat >conftest.$ac_ext <<_ACEOF
40577 /* confdefs.h. */
40578 _ACEOF
40579 cat confdefs.h >>conftest.$ac_ext
40580 cat >>conftest.$ac_ext <<_ACEOF
40581 /* end confdefs.h. */
40582
40583 #include <sys/types.h>
40584 #include <sys/socket.h>
40585
40586 int
40587 main ()
40588 {
40589
40590 int len;
40591 getsockname(0, 0, &len);
40592
40593 ;
40594 return 0;
40595 }
40596 _ACEOF
40597 rm -f conftest.$ac_objext
40598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40599 (eval $ac_compile) 2>conftest.er1
40600 ac_status=$?
40601 grep -v '^ *+' conftest.er1 >conftest.err
40602 rm -f conftest.er1
40603 cat conftest.err >&5
40604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605 (exit $ac_status); } &&
40606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40608 (eval $ac_try) 2>&5
40609 ac_status=$?
40610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40611 (exit $ac_status); }; } &&
40612 { ac_try='test -s conftest.$ac_objext'
40613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614 (eval $ac_try) 2>&5
40615 ac_status=$?
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); }; }; then
40618 wx_cv_type_getsockname3=int
40619 else
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.$ac_ext >&5
40622
40623 wx_cv_type_getsockname3=unknown
40624
40625 fi
40626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40627
40628 fi
40629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40630
40631 CXXFLAGS="$CXXFLAGS_OLD"
40632
40633
40634 fi
40635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40636
40637 fi
40638 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40639 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40640
40641 if test "$wx_cv_type_getsockname3" = "unknown"; then
40642 wxUSE_SOCKETS=no
40643 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40644 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40645 else
40646 cat >>confdefs.h <<_ACEOF
40647 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40648 _ACEOF
40649
40650 fi
40651 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40652 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40653 if test "${wx_cv_type_getsockopt5+set}" = set; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40655 else
40656
40657 cat >conftest.$ac_ext <<_ACEOF
40658 /* confdefs.h. */
40659 _ACEOF
40660 cat confdefs.h >>conftest.$ac_ext
40661 cat >>conftest.$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663
40664 #include <sys/types.h>
40665 #include <sys/socket.h>
40666
40667 int
40668 main ()
40669 {
40670
40671 socklen_t len;
40672 getsockopt(0, 0, 0, 0, &len);
40673
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 rm -f conftest.$ac_objext
40679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40680 (eval $ac_compile) 2>conftest.er1
40681 ac_status=$?
40682 grep -v '^ *+' conftest.er1 >conftest.err
40683 rm -f conftest.er1
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } &&
40687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; } &&
40693 { ac_try='test -s conftest.$ac_objext'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40696 ac_status=$?
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; }; then
40699 wx_cv_type_getsockopt5=socklen_t
40700 else
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.$ac_ext >&5
40703
40704
40705 CXXFLAGS_OLD="$CXXFLAGS"
40706 if test "$GCC" = yes ; then
40707 CXXFLAGS="$CXXFLAGS -Werror"
40708 fi
40709
40710 cat >conftest.$ac_ext <<_ACEOF
40711 /* confdefs.h. */
40712 _ACEOF
40713 cat confdefs.h >>conftest.$ac_ext
40714 cat >>conftest.$ac_ext <<_ACEOF
40715 /* end confdefs.h. */
40716
40717 #include <sys/types.h>
40718 #include <sys/socket.h>
40719
40720 int
40721 main ()
40722 {
40723
40724 size_t len;
40725 getsockopt(0, 0, 0, 0, &len);
40726
40727 ;
40728 return 0;
40729 }
40730 _ACEOF
40731 rm -f conftest.$ac_objext
40732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40733 (eval $ac_compile) 2>conftest.er1
40734 ac_status=$?
40735 grep -v '^ *+' conftest.er1 >conftest.err
40736 rm -f conftest.er1
40737 cat conftest.err >&5
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); } &&
40740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40743 ac_status=$?
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; } &&
40746 { ac_try='test -s conftest.$ac_objext'
40747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40748 (eval $ac_try) 2>&5
40749 ac_status=$?
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); }; }; then
40752 wx_cv_type_getsockopt5=size_t
40753 else
40754 echo "$as_me: failed program was:" >&5
40755 sed 's/^/| /' conftest.$ac_ext >&5
40756
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h. */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763
40764 #include <sys/types.h>
40765 #include <sys/socket.h>
40766
40767 int
40768 main ()
40769 {
40770
40771 int len;
40772 getsockopt(0, 0, 0, 0, &len);
40773
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext
40779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40780 (eval $ac_compile) 2>conftest.er1
40781 ac_status=$?
40782 grep -v '^ *+' conftest.er1 >conftest.err
40783 rm -f conftest.er1
40784 cat conftest.err >&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } &&
40787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40789 (eval $ac_try) 2>&5
40790 ac_status=$?
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); }; } &&
40793 { ac_try='test -s conftest.$ac_objext'
40794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40795 (eval $ac_try) 2>&5
40796 ac_status=$?
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); }; }; then
40799 wx_cv_type_getsockopt5=int
40800 else
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.$ac_ext >&5
40803
40804 wx_cv_type_getsockopt5=unknown
40805
40806 fi
40807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40808
40809 fi
40810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40811
40812 CXXFLAGS="$CXXFLAGS_OLD"
40813
40814
40815 fi
40816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40817
40818 fi
40819 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40820 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40821
40822 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40823 wxUSE_SOCKETS=no
40824 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40825 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40826 else
40827 cat >>confdefs.h <<_ACEOF
40828 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40829 _ACEOF
40830
40831 fi
40832 ac_ext=c
40833 ac_cpp='$CPP $CPPFLAGS'
40834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40837
40838 fi
40839 fi
40840
40841 if test "$wxUSE_SOCKETS" = "yes" ; then
40842 cat >>confdefs.h <<\_ACEOF
40843 #define wxUSE_SOCKETS 1
40844 _ACEOF
40845
40846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
40847 fi
40848
40849 if test "$wxUSE_PROTOCOL" = "yes"; then
40850 if test "$wxUSE_SOCKETS" != "yes"; then
40851 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40852 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40853 wxUSE_PROTOCOL=no
40854 fi
40855 fi
40856
40857 if test "$wxUSE_PROTOCOL" = "yes"; then
40858 cat >>confdefs.h <<\_ACEOF
40859 #define wxUSE_PROTOCOL 1
40860 _ACEOF
40861
40862
40863 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40864 cat >>confdefs.h <<\_ACEOF
40865 #define wxUSE_PROTOCOL_HTTP 1
40866 _ACEOF
40867
40868 fi
40869 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_PROTOCOL_FTP 1
40872 _ACEOF
40873
40874 fi
40875 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define wxUSE_PROTOCOL_FILE 1
40878 _ACEOF
40879
40880 fi
40881 else
40882 if test "$wxUSE_FS_INET" = "yes"; then
40883 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40884 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40885 wxUSE_FS_INET="no"
40886 fi
40887 fi
40888
40889 if test "$wxUSE_URL" = "yes"; then
40890 if test "$wxUSE_PROTOCOL" != "yes"; then
40891 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40892 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40893 wxUSE_URL=no
40894 fi
40895 if test "$wxUSE_URL" = "yes"; then
40896 cat >>confdefs.h <<\_ACEOF
40897 #define wxUSE_URL 1
40898 _ACEOF
40899
40900 fi
40901 fi
40902
40903 if test "$wxUSE_FS_INET" = "yes"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define wxUSE_FS_INET 1
40906 _ACEOF
40907
40908 fi
40909
40910
40911 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40912 wxUSE_JOYSTICK=no
40913
40914 if test "$TOOLKIT" = "MSW"; then
40915 wxUSE_JOYSTICK=yes
40916
40917 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40918 if test "$USE_DARWIN" = 1; then
40919 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40920 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40921 ac_ext=cc
40922 ac_cpp='$CXXCPP $CPPFLAGS'
40923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40926
40927 cat >conftest.$ac_ext <<_ACEOF
40928 /* confdefs.h. */
40929 _ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40933 #include <IOKit/hid/IOHIDLib.h>
40934 int
40935 main ()
40936 {
40937 IOHIDQueueInterface *qi = NULL;
40938 IOHIDCallbackFunction cb = NULL;
40939 qi->setEventCallout(NULL, cb, NULL, NULL);
40940 ;
40941 return 0;
40942 }
40943 _ACEOF
40944 rm -f conftest.$ac_objext
40945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40946 (eval $ac_compile) 2>conftest.er1
40947 ac_status=$?
40948 grep -v '^ *+' conftest.er1 >conftest.err
40949 rm -f conftest.er1
40950 cat conftest.err >&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } &&
40953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40955 (eval $ac_try) 2>&5
40956 ac_status=$?
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); }; } &&
40959 { ac_try='test -s conftest.$ac_objext'
40960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961 (eval $ac_try) 2>&5
40962 ac_status=$?
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); }; }; then
40965 wxUSE_JOYSTICK=yes
40966
40967 else
40968 echo "$as_me: failed program was:" >&5
40969 sed 's/^/| /' conftest.$ac_ext >&5
40970
40971 fi
40972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40973 ac_ext=c
40974 ac_cpp='$CPP $CPPFLAGS'
40975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40978
40979 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40980 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40981 fi
40982
40983 else
40984
40985 for ac_header in linux/joystick.h
40986 do
40987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40989 echo "$as_me:$LINENO: checking for $ac_header" >&5
40990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40992 echo $ECHO_N "(cached) $ECHO_C" >&6
40993 fi
40994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40996 else
40997 # Is the header compilable?
40998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41000 cat >conftest.$ac_ext <<_ACEOF
41001 /* confdefs.h. */
41002 _ACEOF
41003 cat confdefs.h >>conftest.$ac_ext
41004 cat >>conftest.$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 $ac_includes_default
41007 #include <$ac_header>
41008 _ACEOF
41009 rm -f conftest.$ac_objext
41010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41011 (eval $ac_compile) 2>conftest.er1
41012 ac_status=$?
41013 grep -v '^ *+' conftest.er1 >conftest.err
41014 rm -f conftest.er1
41015 cat conftest.err >&5
41016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017 (exit $ac_status); } &&
41018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41020 (eval $ac_try) 2>&5
41021 ac_status=$?
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); }; } &&
41024 { ac_try='test -s conftest.$ac_objext'
41025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41026 (eval $ac_try) 2>&5
41027 ac_status=$?
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); }; }; then
41030 ac_header_compiler=yes
41031 else
41032 echo "$as_me: failed program was:" >&5
41033 sed 's/^/| /' conftest.$ac_ext >&5
41034
41035 ac_header_compiler=no
41036 fi
41037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41039 echo "${ECHO_T}$ac_header_compiler" >&6
41040
41041 # Is the header present?
41042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41044 cat >conftest.$ac_ext <<_ACEOF
41045 /* confdefs.h. */
41046 _ACEOF
41047 cat confdefs.h >>conftest.$ac_ext
41048 cat >>conftest.$ac_ext <<_ACEOF
41049 /* end confdefs.h. */
41050 #include <$ac_header>
41051 _ACEOF
41052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41054 ac_status=$?
41055 grep -v '^ *+' conftest.er1 >conftest.err
41056 rm -f conftest.er1
41057 cat conftest.err >&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } >/dev/null; then
41060 if test -s conftest.err; then
41061 ac_cpp_err=$ac_c_preproc_warn_flag
41062 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41063 else
41064 ac_cpp_err=
41065 fi
41066 else
41067 ac_cpp_err=yes
41068 fi
41069 if test -z "$ac_cpp_err"; then
41070 ac_header_preproc=yes
41071 else
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.$ac_ext >&5
41074
41075 ac_header_preproc=no
41076 fi
41077 rm -f conftest.err conftest.$ac_ext
41078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41079 echo "${ECHO_T}$ac_header_preproc" >&6
41080
41081 # So? What about this header?
41082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41083 yes:no: )
41084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41088 ac_header_preproc=yes
41089 ;;
41090 no:yes:* )
41091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41103 (
41104 cat <<\_ASBOX
41105 ## ----------------------------------------- ##
41106 ## Report this to wx-dev@lists.wxwidgets.org ##
41107 ## ----------------------------------------- ##
41108 _ASBOX
41109 ) |
41110 sed "s/^/$as_me: WARNING: /" >&2
41111 ;;
41112 esac
41113 echo "$as_me:$LINENO: checking for $ac_header" >&5
41114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41118 eval "$as_ac_Header=\$ac_header_preproc"
41119 fi
41120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41122
41123 fi
41124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41125 cat >>confdefs.h <<_ACEOF
41126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41127 _ACEOF
41128 wxUSE_JOYSTICK=yes
41129 fi
41130
41131 done
41132
41133 fi
41134
41135 if test "$wxUSE_JOYSTICK" = "yes"; then
41136 cat >>confdefs.h <<\_ACEOF
41137 #define wxUSE_JOYSTICK 1
41138 _ACEOF
41139
41140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
41141 else
41142 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41143 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41144 fi
41145 fi
41146
41147
41148
41149 if test "$wxUSE_FONTMAP" = "yes" ; then
41150 cat >>confdefs.h <<\_ACEOF
41151 #define wxUSE_FONTMAP 1
41152 _ACEOF
41153
41154 fi
41155
41156 if test "$wxUSE_UNICODE" = "yes" ; then
41157 cat >>confdefs.h <<\_ACEOF
41158 #define wxUSE_UNICODE 1
41159 _ACEOF
41160
41161
41162 if test "$USE_WIN32" != 1; then
41163 wxUSE_UNICODE_MSLU=no
41164 fi
41165
41166 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41167 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41168 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41169 if test "${ac_cv_lib_unicows_main+set}" = set; then
41170 echo $ECHO_N "(cached) $ECHO_C" >&6
41171 else
41172 ac_check_lib_save_LIBS=$LIBS
41173 LIBS="-lunicows $LIBS"
41174 cat >conftest.$ac_ext <<_ACEOF
41175 /* confdefs.h. */
41176 _ACEOF
41177 cat confdefs.h >>conftest.$ac_ext
41178 cat >>conftest.$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180
41181
41182 int
41183 main ()
41184 {
41185 main ();
41186 ;
41187 return 0;
41188 }
41189 _ACEOF
41190 rm -f conftest.$ac_objext conftest$ac_exeext
41191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41192 (eval $ac_link) 2>conftest.er1
41193 ac_status=$?
41194 grep -v '^ *+' conftest.er1 >conftest.err
41195 rm -f conftest.er1
41196 cat conftest.err >&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } &&
41199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201 (eval $ac_try) 2>&5
41202 ac_status=$?
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); }; } &&
41205 { ac_try='test -s conftest$ac_exeext'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; }; then
41211 ac_cv_lib_unicows_main=yes
41212 else
41213 echo "$as_me: failed program was:" >&5
41214 sed 's/^/| /' conftest.$ac_ext >&5
41215
41216 ac_cv_lib_unicows_main=no
41217 fi
41218 rm -f conftest.err conftest.$ac_objext \
41219 conftest$ac_exeext conftest.$ac_ext
41220 LIBS=$ac_check_lib_save_LIBS
41221 fi
41222 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41223 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41224 if test $ac_cv_lib_unicows_main = yes; then
41225
41226 cat >>confdefs.h <<\_ACEOF
41227 #define wxUSE_UNICODE_MSLU 1
41228 _ACEOF
41229
41230
41231 else
41232
41233 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41234 Applications will only run on Windows NT/2000/XP!" >&5
41235 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41236 Applications will only run on Windows NT/2000/XP!" >&2;}
41237 wxUSE_UNICODE_MSLU=no
41238
41239 fi
41240
41241 fi
41242 fi
41243
41244 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41245 cat >>confdefs.h <<\_ACEOF
41246 #define wxUSE_EXPERIMENTAL_PRINTF 1
41247 _ACEOF
41248
41249 fi
41250
41251
41252 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41253 cat >>confdefs.h <<\_ACEOF
41254 #define wxUSE_POSTSCRIPT 1
41255 _ACEOF
41256
41257 fi
41258
41259 cat >>confdefs.h <<\_ACEOF
41260 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41261 _ACEOF
41262
41263
41264 cat >>confdefs.h <<\_ACEOF
41265 #define wxUSE_NORMALIZED_PS_FONTS 1
41266 _ACEOF
41267
41268
41269
41270 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41271 cat >>confdefs.h <<\_ACEOF
41272 #define wxUSE_CONSTRAINTS 1
41273 _ACEOF
41274
41275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
41276 fi
41277
41278 if test "$wxUSE_MDI" = "yes"; then
41279 cat >>confdefs.h <<\_ACEOF
41280 #define wxUSE_MDI 1
41281 _ACEOF
41282
41283
41284 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41285 cat >>confdefs.h <<\_ACEOF
41286 #define wxUSE_MDI_ARCHITECTURE 1
41287 _ACEOF
41288
41289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
41290 fi
41291 fi
41292
41293 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41294 cat >>confdefs.h <<\_ACEOF
41295 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41296 _ACEOF
41297
41298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
41299 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
41301 fi
41302 fi
41303
41304 if test "$wxUSE_HELP" = "yes"; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define wxUSE_HELP 1
41307 _ACEOF
41308
41309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
41310
41311 if test "$wxUSE_MSW" = 1; then
41312 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41313 cat >>confdefs.h <<\_ACEOF
41314 #define wxUSE_MS_HTML_HELP 1
41315 _ACEOF
41316
41317 fi
41318 fi
41319
41320 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41321 if test "$wxUSE_HTML" = "yes"; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define wxUSE_WXHTML_HELP 1
41324 _ACEOF
41325
41326 else
41327 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41328 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41329 wxUSE_WXHTML_HELP=no
41330 fi
41331 fi
41332 fi
41333
41334 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41335 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41336 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41337 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41338 else
41339 cat >>confdefs.h <<\_ACEOF
41340 #define wxUSE_PRINTING_ARCHITECTURE 1
41341 _ACEOF
41342
41343 fi
41344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
41345 fi
41346
41347 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41348 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41349 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41350 { (exit 1); exit 1; }; }
41351 fi
41352
41353
41354 if test "$wxUSE_METAFILE" = "yes"; then
41355 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41356 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41357 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41358 wxUSE_METAFILE=no
41359 fi
41360 fi
41361
41362
41363 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
41364 -o "$wxUSE_CLIPBOARD" = "yes" \
41365 -o "$wxUSE_OLE" = "yes" \
41366 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
41367
41368 for ac_header in ole2.h
41369 do
41370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41372 echo "$as_me:$LINENO: checking for $ac_header" >&5
41373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41376 fi
41377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41379 else
41380 # Is the header compilable?
41381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41383 cat >conftest.$ac_ext <<_ACEOF
41384 /* confdefs.h. */
41385 _ACEOF
41386 cat confdefs.h >>conftest.$ac_ext
41387 cat >>conftest.$ac_ext <<_ACEOF
41388 /* end confdefs.h. */
41389 $ac_includes_default
41390 #include <$ac_header>
41391 _ACEOF
41392 rm -f conftest.$ac_objext
41393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41394 (eval $ac_compile) 2>conftest.er1
41395 ac_status=$?
41396 grep -v '^ *+' conftest.er1 >conftest.err
41397 rm -f conftest.er1
41398 cat conftest.err >&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } &&
41401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41403 (eval $ac_try) 2>&5
41404 ac_status=$?
41405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41406 (exit $ac_status); }; } &&
41407 { ac_try='test -s conftest.$ac_objext'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41410 ac_status=$?
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; }; then
41413 ac_header_compiler=yes
41414 else
41415 echo "$as_me: failed program was:" >&5
41416 sed 's/^/| /' conftest.$ac_ext >&5
41417
41418 ac_header_compiler=no
41419 fi
41420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41422 echo "${ECHO_T}$ac_header_compiler" >&6
41423
41424 # Is the header present?
41425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41427 cat >conftest.$ac_ext <<_ACEOF
41428 /* confdefs.h. */
41429 _ACEOF
41430 cat confdefs.h >>conftest.$ac_ext
41431 cat >>conftest.$ac_ext <<_ACEOF
41432 /* end confdefs.h. */
41433 #include <$ac_header>
41434 _ACEOF
41435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41437 ac_status=$?
41438 grep -v '^ *+' conftest.er1 >conftest.err
41439 rm -f conftest.er1
41440 cat conftest.err >&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } >/dev/null; then
41443 if test -s conftest.err; then
41444 ac_cpp_err=$ac_c_preproc_warn_flag
41445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41446 else
41447 ac_cpp_err=
41448 fi
41449 else
41450 ac_cpp_err=yes
41451 fi
41452 if test -z "$ac_cpp_err"; then
41453 ac_header_preproc=yes
41454 else
41455 echo "$as_me: failed program was:" >&5
41456 sed 's/^/| /' conftest.$ac_ext >&5
41457
41458 ac_header_preproc=no
41459 fi
41460 rm -f conftest.err conftest.$ac_ext
41461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41462 echo "${ECHO_T}$ac_header_preproc" >&6
41463
41464 # So? What about this header?
41465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41466 yes:no: )
41467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41471 ac_header_preproc=yes
41472 ;;
41473 no:yes:* )
41474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41486 (
41487 cat <<\_ASBOX
41488 ## ----------------------------------------- ##
41489 ## Report this to wx-dev@lists.wxwidgets.org ##
41490 ## ----------------------------------------- ##
41491 _ASBOX
41492 ) |
41493 sed "s/^/$as_me: WARNING: /" >&2
41494 ;;
41495 esac
41496 echo "$as_me:$LINENO: checking for $ac_header" >&5
41497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41499 echo $ECHO_N "(cached) $ECHO_C" >&6
41500 else
41501 eval "$as_ac_Header=\$ac_header_preproc"
41502 fi
41503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41505
41506 fi
41507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41508 cat >>confdefs.h <<_ACEOF
41509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41510 _ACEOF
41511
41512 fi
41513
41514 done
41515
41516
41517 if test "$ac_cv_header_ole2_h" = "yes" ; then
41518 if test "$GCC" = yes ; then
41519
41520
41521 ac_ext=cc
41522 ac_cpp='$CXXCPP $CPPFLAGS'
41523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41526
41527
41528 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41529 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41530 cat >conftest.$ac_ext <<_ACEOF
41531 /* confdefs.h. */
41532 _ACEOF
41533 cat confdefs.h >>conftest.$ac_ext
41534 cat >>conftest.$ac_ext <<_ACEOF
41535 /* end confdefs.h. */
41536 #include <windows.h>
41537 #include <ole2.h>
41538 int
41539 main ()
41540 {
41541
41542 ;
41543 return 0;
41544 }
41545 _ACEOF
41546 rm -f conftest.$ac_objext
41547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41548 (eval $ac_compile) 2>conftest.er1
41549 ac_status=$?
41550 grep -v '^ *+' conftest.er1 >conftest.err
41551 rm -f conftest.er1
41552 cat conftest.err >&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } &&
41555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41558 ac_status=$?
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; } &&
41561 { ac_try='test -s conftest.$ac_objext'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41564 ac_status=$?
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; }; then
41567 echo "$as_me:$LINENO: result: no" >&5
41568 echo "${ECHO_T}no" >&6
41569 else
41570 echo "$as_me: failed program was:" >&5
41571 sed 's/^/| /' conftest.$ac_ext >&5
41572
41573 echo "$as_me:$LINENO: result: yes" >&5
41574 echo "${ECHO_T}yes" >&6
41575 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41576 fi
41577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41578 ac_ext=c
41579 ac_cpp='$CPP $CPPFLAGS'
41580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41583
41584 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41585 if test "$wxUSE_OLE" = "yes" ; then
41586 cat >>confdefs.h <<\_ACEOF
41587 #define wxUSE_OLE 1
41588 _ACEOF
41589
41590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
41591 fi
41592 fi
41593
41594 if test "$wxUSE_DATAOBJ" = "yes" ; then
41595 cat >>confdefs.h <<\_ACEOF
41596 #define wxUSE_DATAOBJ 1
41597 _ACEOF
41598
41599 fi
41600 else
41601 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41602 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41603
41604 wxUSE_CLIPBOARD=no
41605 wxUSE_DRAG_AND_DROP=no
41606 wxUSE_DATAOBJ=no
41607 wxUSE_OLE=no
41608 fi
41609
41610 if test "$wxUSE_METAFILE" = "yes"; then
41611 cat >>confdefs.h <<\_ACEOF
41612 #define wxUSE_METAFILE 1
41613 _ACEOF
41614
41615
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxUSE_ENH_METAFILE 1
41618 _ACEOF
41619
41620 fi
41621 fi
41622
41623 if test "$wxUSE_IPC" = "yes"; then
41624 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41625 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41626 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41627 wxUSE_IPC=no
41628 fi
41629
41630 if test "$wxUSE_IPC" = "yes"; then
41631 cat >>confdefs.h <<\_ACEOF
41632 #define wxUSE_IPC 1
41633 _ACEOF
41634
41635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
41636 fi
41637 fi
41638
41639 if test "$wxUSE_DATAOBJ" = "yes"; then
41640 if test "$wxUSE_MGL" = 1; then
41641 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41642 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41643 wxUSE_DATAOBJ=no
41644 else
41645 cat >>confdefs.h <<\_ACEOF
41646 #define wxUSE_DATAOBJ 1
41647 _ACEOF
41648
41649 fi
41650 else
41651 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41652 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41653 wxUSE_CLIPBOARD=no
41654 wxUSE_DRAG_AND_DROP=no
41655 fi
41656
41657 if test "$wxUSE_CLIPBOARD" = "yes"; then
41658 if test "$wxUSE_MGL" = 1; then
41659 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41660 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41661 wxUSE_CLIPBOARD=no
41662 fi
41663
41664 if test "$wxUSE_CLIPBOARD" = "yes"; then
41665 cat >>confdefs.h <<\_ACEOF
41666 #define wxUSE_CLIPBOARD 1
41667 _ACEOF
41668
41669 fi
41670 fi
41671
41672 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41673 if test "$wxUSE_GTK" = 1; then
41674 if test "$WXGTK12" != 1; then
41675 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41676 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41677 wxUSE_DRAG_AND_DROP=no
41678 fi
41679 fi
41680
41681 if test "$wxUSE_MOTIF" = 1; then
41682 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41683 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41684 wxUSE_DRAG_AND_DROP=no
41685 fi
41686
41687 if test "$wxUSE_X11" = 1; then
41688 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41689 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41690 wxUSE_DRAG_AND_DROP=no
41691 fi
41692
41693 if test "$wxUSE_MGL" = 1; then
41694 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41695 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41696 wxUSE_DRAG_AND_DROP=no
41697 fi
41698
41699 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41700 cat >>confdefs.h <<\_ACEOF
41701 #define wxUSE_DRAG_AND_DROP 1
41702 _ACEOF
41703
41704 fi
41705
41706 fi
41707
41708 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
41710 fi
41711
41712 if test "$wxUSE_SPLINES" = "yes" ; then
41713 cat >>confdefs.h <<\_ACEOF
41714 #define wxUSE_SPLINES 1
41715 _ACEOF
41716
41717 fi
41718
41719 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41720 cat >>confdefs.h <<\_ACEOF
41721 #define wxUSE_MOUSEWHEEL 1
41722 _ACEOF
41723
41724 fi
41725
41726
41727 USES_CONTROLS=0
41728 if test "$wxUSE_CONTROLS" = "yes"; then
41729 USES_CONTROLS=1
41730 fi
41731
41732 if test "$wxUSE_ACCEL" = "yes"; then
41733 cat >>confdefs.h <<\_ACEOF
41734 #define wxUSE_ACCEL 1
41735 _ACEOF
41736
41737 USES_CONTROLS=1
41738 fi
41739
41740 if test "$wxUSE_BUTTON" = "yes"; then
41741 cat >>confdefs.h <<\_ACEOF
41742 #define wxUSE_BUTTON 1
41743 _ACEOF
41744
41745 USES_CONTROLS=1
41746 fi
41747
41748 if test "$wxUSE_BMPBUTTON" = "yes"; then
41749 cat >>confdefs.h <<\_ACEOF
41750 #define wxUSE_BMPBUTTON 1
41751 _ACEOF
41752
41753 USES_CONTROLS=1
41754 fi
41755
41756 if test "$wxUSE_CALCTRL" = "yes"; then
41757 cat >>confdefs.h <<\_ACEOF
41758 #define wxUSE_CALENDARCTRL 1
41759 _ACEOF
41760
41761 USES_CONTROLS=1
41762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
41763 fi
41764
41765 if test "$wxUSE_CARET" = "yes"; then
41766 cat >>confdefs.h <<\_ACEOF
41767 #define wxUSE_CARET 1
41768 _ACEOF
41769
41770 USES_CONTROLS=1
41771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
41772 fi
41773
41774 if test "$wxUSE_COMBOBOX" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_COMBOBOX 1
41777 _ACEOF
41778
41779 USES_CONTROLS=1
41780 fi
41781
41782 if test "$wxUSE_CHOICE" = "yes"; then
41783 cat >>confdefs.h <<\_ACEOF
41784 #define wxUSE_CHOICE 1
41785 _ACEOF
41786
41787 USES_CONTROLS=1
41788 fi
41789
41790 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41791 cat >>confdefs.h <<\_ACEOF
41792 #define wxUSE_CHOICEBOOK 1
41793 _ACEOF
41794
41795 USES_CONTROLS=1
41796 fi
41797
41798 if test "$wxUSE_CHECKBOX" = "yes"; then
41799 cat >>confdefs.h <<\_ACEOF
41800 #define wxUSE_CHECKBOX 1
41801 _ACEOF
41802
41803 USES_CONTROLS=1
41804 fi
41805
41806 if test "$wxUSE_CHECKLST" = "yes"; then
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_CHECKLISTBOX 1
41809 _ACEOF
41810
41811 USES_CONTROLS=1
41812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
41813 fi
41814
41815 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41816 cat >>confdefs.h <<\_ACEOF
41817 #define wxUSE_DATEPICKCTRL 1
41818 _ACEOF
41819
41820 USES_CONTROLS=1
41821 fi
41822
41823 if test "$wxUSE_DISPLAY" = "yes"; then
41824 cat >>confdefs.h <<\_ACEOF
41825 #define wxUSE_DISPLAY 1
41826 _ACEOF
41827
41828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
41829 fi
41830
41831 if test "$wxUSE_GAUGE" = "yes"; then
41832 cat >>confdefs.h <<\_ACEOF
41833 #define wxUSE_GAUGE 1
41834 _ACEOF
41835
41836 USES_CONTROLS=1
41837 fi
41838
41839 if test "$wxUSE_GRID" = "yes"; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxUSE_GRID 1
41842 _ACEOF
41843
41844 USES_CONTROLS=1
41845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
41846 fi
41847
41848 if test "$wxUSE_IMAGLIST" = "yes"; then
41849 cat >>confdefs.h <<\_ACEOF
41850 #define wxUSE_IMAGLIST 1
41851 _ACEOF
41852
41853 fi
41854
41855 if test "$wxUSE_LISTBOOK" = "yes"; then
41856 cat >>confdefs.h <<\_ACEOF
41857 #define wxUSE_LISTBOOK 1
41858 _ACEOF
41859
41860 USES_CONTROLS=1
41861 fi
41862
41863 if test "$wxUSE_LISTBOX" = "yes"; then
41864 cat >>confdefs.h <<\_ACEOF
41865 #define wxUSE_LISTBOX 1
41866 _ACEOF
41867
41868 USES_CONTROLS=1
41869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
41870 fi
41871
41872 if test "$wxUSE_LISTCTRL" = "yes"; then
41873 if test "$wxUSE_IMAGLIST" = "yes"; then
41874 cat >>confdefs.h <<\_ACEOF
41875 #define wxUSE_LISTCTRL 1
41876 _ACEOF
41877
41878 USES_CONTROLS=1
41879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
41880 else
41881 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41882 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41883 fi
41884 fi
41885
41886 if test "$wxUSE_NOTEBOOK" = "yes"; then
41887 cat >>confdefs.h <<\_ACEOF
41888 #define wxUSE_NOTEBOOK 1
41889 _ACEOF
41890
41891 USES_CONTROLS=1
41892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
41893 fi
41894
41895
41896 if test "$wxUSE_RADIOBOX" = "yes"; then
41897 cat >>confdefs.h <<\_ACEOF
41898 #define wxUSE_RADIOBOX 1
41899 _ACEOF
41900
41901 USES_CONTROLS=1
41902 fi
41903
41904 if test "$wxUSE_RADIOBTN" = "yes"; then
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_RADIOBTN 1
41907 _ACEOF
41908
41909 USES_CONTROLS=1
41910 fi
41911
41912 if test "$wxUSE_SASH" = "yes"; then
41913 cat >>confdefs.h <<\_ACEOF
41914 #define wxUSE_SASH 1
41915 _ACEOF
41916
41917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
41918 fi
41919
41920 if test "$wxUSE_SCROLLBAR" = "yes"; then
41921 cat >>confdefs.h <<\_ACEOF
41922 #define wxUSE_SCROLLBAR 1
41923 _ACEOF
41924
41925 USES_CONTROLS=1
41926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
41927 fi
41928
41929 if test "$wxUSE_SLIDER" = "yes"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define wxUSE_SLIDER 1
41932 _ACEOF
41933
41934 USES_CONTROLS=1
41935 fi
41936
41937 if test "$wxUSE_SPINBTN" = "yes"; then
41938 cat >>confdefs.h <<\_ACEOF
41939 #define wxUSE_SPINBTN 1
41940 _ACEOF
41941
41942 USES_CONTROLS=1
41943 fi
41944
41945 if test "$wxUSE_SPINCTRL" = "yes"; then
41946 cat >>confdefs.h <<\_ACEOF
41947 #define wxUSE_SPINCTRL 1
41948 _ACEOF
41949
41950 USES_CONTROLS=1
41951 fi
41952
41953 if test "$wxUSE_SPLITTER" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_SPLITTER 1
41956 _ACEOF
41957
41958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
41959 fi
41960
41961 if test "$wxUSE_STATBMP" = "yes"; then
41962 cat >>confdefs.h <<\_ACEOF
41963 #define wxUSE_STATBMP 1
41964 _ACEOF
41965
41966 USES_CONTROLS=1
41967 fi
41968
41969 if test "$wxUSE_STATBOX" = "yes"; then
41970 cat >>confdefs.h <<\_ACEOF
41971 #define wxUSE_STATBOX 1
41972 _ACEOF
41973
41974 USES_CONTROLS=1
41975 fi
41976
41977 if test "$wxUSE_STATTEXT" = "yes"; then
41978 cat >>confdefs.h <<\_ACEOF
41979 #define wxUSE_STATTEXT 1
41980 _ACEOF
41981
41982 USES_CONTROLS=1
41983 fi
41984
41985 if test "$wxUSE_STATLINE" = "yes"; then
41986 cat >>confdefs.h <<\_ACEOF
41987 #define wxUSE_STATLINE 1
41988 _ACEOF
41989
41990 USES_CONTROLS=1
41991 fi
41992
41993 if test "$wxUSE_STATUSBAR" = "yes"; then
41994 cat >>confdefs.h <<\_ACEOF
41995 #define wxUSE_NATIVE_STATUSBAR 1
41996 _ACEOF
41997
41998 cat >>confdefs.h <<\_ACEOF
41999 #define wxUSE_STATUSBAR 1
42000 _ACEOF
42001
42002 USES_CONTROLS=1
42003
42004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
42005 fi
42006
42007 if test "$wxUSE_TABDIALOG" = "yes"; then
42008 cat >>confdefs.h <<\_ACEOF
42009 #define wxUSE_TAB_DIALOG 1
42010 _ACEOF
42011
42012 fi
42013
42014 if test "$wxUSE_TEXTCTRL" = "yes"; then
42015 cat >>confdefs.h <<\_ACEOF
42016 #define wxUSE_TEXTCTRL 1
42017 _ACEOF
42018
42019 USES_CONTROLS=1
42020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
42021 fi
42022
42023 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42024 if test "$wxUSE_COCOA" = 1 ; then
42025 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42026 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42027 wxUSE_TOGGLEBTN=no
42028 fi
42029 if test "$wxUSE_UNIVERSAL" = "yes"; then
42030 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42031 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42032 wxUSE_TOGGLEBTN=no
42033 fi
42034
42035 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42036 cat >>confdefs.h <<\_ACEOF
42037 #define wxUSE_TOGGLEBTN 1
42038 _ACEOF
42039
42040 USES_CONTROLS=1
42041 fi
42042 fi
42043
42044 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42045 cat >>confdefs.h <<\_ACEOF
42046 #define wxUSE_TOOLBAR_SIMPLE 1
42047 _ACEOF
42048
42049 wxUSE_TOOLBAR="yes"
42050 USES_CONTROLS=1
42051 fi
42052
42053 if test "$wxUSE_TOOLBAR" = "yes"; then
42054 cat >>confdefs.h <<\_ACEOF
42055 #define wxUSE_TOOLBAR 1
42056 _ACEOF
42057
42058 USES_CONTROLS=1
42059
42060 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42061 wxUSE_TOOLBAR_NATIVE="yes"
42062 fi
42063
42064 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42065 cat >>confdefs.h <<\_ACEOF
42066 #define wxUSE_TOOLBAR_NATIVE 1
42067 _ACEOF
42068
42069 USES_CONTROLS=1
42070 fi
42071
42072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
42073 fi
42074
42075 if test "$wxUSE_TOOLTIPS" = "yes"; then
42076 if test "$wxUSE_MOTIF" = 1; then
42077 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42078 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42079 else
42080 if test "$wxUSE_UNIVERSAL" = "yes"; then
42081 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42082 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42083 else
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_TOOLTIPS 1
42086 _ACEOF
42087
42088 fi
42089 fi
42090 fi
42091
42092 if test "$wxUSE_TREECTRL" = "yes"; then
42093 if test "$wxUSE_IMAGLIST" = "yes"; then
42094 cat >>confdefs.h <<\_ACEOF
42095 #define wxUSE_TREECTRL 1
42096 _ACEOF
42097
42098 USES_CONTROLS=1
42099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
42100 else
42101 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42102 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42103 fi
42104 fi
42105
42106 if test "$wxUSE_POPUPWIN" = "yes"; then
42107 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42108 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42109 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42110 else
42111 if test "$wxUSE_PM" = 1; then
42112 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42113 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42114 else
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_POPUPWIN 1
42117 _ACEOF
42118
42119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
42120
42121 USES_CONTROLS=1
42122 fi
42123 fi
42124 fi
42125
42126 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42127 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42128 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42129 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42130 else
42131 cat >>confdefs.h <<\_ACEOF
42132 #define wxUSE_DIALUP_MANAGER 1
42133 _ACEOF
42134
42135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
42136 fi
42137 fi
42138
42139 if test "$wxUSE_TIPWINDOW" = "yes"; then
42140 if test "$wxUSE_PM" = 1; then
42141 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42142 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42143 else
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_TIPWINDOW 1
42146 _ACEOF
42147
42148 fi
42149 fi
42150
42151 if test "$USES_CONTROLS" = 1; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_CONTROLS 1
42154 _ACEOF
42155
42156 fi
42157
42158
42159 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42160 cat >>confdefs.h <<\_ACEOF
42161 #define wxUSE_ACCESSIBILITY 1
42162 _ACEOF
42163
42164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
42165 fi
42166
42167 if test "$wxUSE_DC_CACHEING" = "yes"; then
42168 cat >>confdefs.h <<\_ACEOF
42169 #define wxUSE_DC_CACHEING 1
42170 _ACEOF
42171
42172 fi
42173
42174 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define wxUSE_DRAGIMAGE 1
42177 _ACEOF
42178
42179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
42180 fi
42181
42182 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42183 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42184 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42185 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42186 else
42187 cat >>confdefs.h <<\_ACEOF
42188 #define wxUSE_EXCEPTIONS 1
42189 _ACEOF
42190
42191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
42192 fi
42193 fi
42194
42195 USE_HTML=0
42196 if test "$wxUSE_HTML" = "yes"; then
42197 cat >>confdefs.h <<\_ACEOF
42198 #define wxUSE_HTML 1
42199 _ACEOF
42200
42201 USE_HTML=1
42202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42203 if test "$wxUSE_MAC" = 1; then
42204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
42205 fi
42206 fi
42207 if test "$wxUSE_WEBKIT" = "yes"; then
42208 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42209 old_CPPFLAGS="$CPPFLAGS"
42210 CPPFLAGS="$CPPFLAGS -x objective-c++"
42211 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42212 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42213 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42214 echo $ECHO_N "(cached) $ECHO_C" >&6
42215 else
42216 cat >conftest.$ac_ext <<_ACEOF
42217 /* confdefs.h. */
42218 _ACEOF
42219 cat confdefs.h >>conftest.$ac_ext
42220 cat >>conftest.$ac_ext <<_ACEOF
42221 /* end confdefs.h. */
42222 #include <Carbon/Carbon.h>
42223
42224 #include <WebKit/HIWebView.h>
42225 _ACEOF
42226 rm -f conftest.$ac_objext
42227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42228 (eval $ac_compile) 2>conftest.er1
42229 ac_status=$?
42230 grep -v '^ *+' conftest.er1 >conftest.err
42231 rm -f conftest.er1
42232 cat conftest.err >&5
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); } &&
42235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42237 (eval $ac_try) 2>&5
42238 ac_status=$?
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); }; } &&
42241 { ac_try='test -s conftest.$ac_objext'
42242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243 (eval $ac_try) 2>&5
42244 ac_status=$?
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); }; }; then
42247 ac_cv_header_WebKit_HIWebView_h=yes
42248 else
42249 echo "$as_me: failed program was:" >&5
42250 sed 's/^/| /' conftest.$ac_ext >&5
42251
42252 ac_cv_header_WebKit_HIWebView_h=no
42253 fi
42254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42255 fi
42256 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42257 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42258 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42259
42260 cat >>confdefs.h <<\_ACEOF
42261 #define wxUSE_WEBKIT 1
42262 _ACEOF
42263
42264 WEBKIT_LINK="-framework WebKit"
42265
42266 else
42267
42268 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42269 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42270 wxUSE_WEBKIT=no
42271
42272 fi
42273
42274
42275 CPPFLAGS="$old_CPPFLAGS"
42276 elif test "$wxUSE_COCOA" = 1; then
42277 cat >>confdefs.h <<\_ACEOF
42278 #define wxUSE_WEBKIT 1
42279 _ACEOF
42280
42281 else
42282 wxUSE_WEBKIT=no
42283 fi
42284 fi
42285
42286 USE_XRC=0
42287 if test "$wxUSE_XRC" = "yes"; then
42288 if test "$wxUSE_XML" != "yes"; then
42289 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42290 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42291 wxUSE_XRC=no
42292 else
42293 cat >>confdefs.h <<\_ACEOF
42294 #define wxUSE_XRC 1
42295 _ACEOF
42296
42297 USE_XRC=1
42298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
42299 fi
42300 fi
42301
42302 if test "$wxUSE_MENUS" = "yes"; then
42303 cat >>confdefs.h <<\_ACEOF
42304 #define wxUSE_MENUS 1
42305 _ACEOF
42306
42307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
42308 fi
42309
42310 if test "$wxUSE_METAFILE" = "yes"; then
42311 cat >>confdefs.h <<\_ACEOF
42312 #define wxUSE_METAFILE 1
42313 _ACEOF
42314
42315 fi
42316
42317 if test "$wxUSE_MIMETYPE" = "yes"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define wxUSE_MIMETYPE 1
42320 _ACEOF
42321
42322 fi
42323
42324 if test "$wxUSE_MINIFRAME" = "yes"; then
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_MINIFRAME 1
42327 _ACEOF
42328
42329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
42330 fi
42331
42332 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42333 cat >>confdefs.h <<\_ACEOF
42334 #define wxUSE_SYSTEM_OPTIONS 1
42335 _ACEOF
42336
42337 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42338 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
42340 fi
42341 fi
42342
42343
42344 if test "$wxUSE_VALIDATORS" = "yes"; then
42345 cat >>confdefs.h <<\_ACEOF
42346 #define wxUSE_VALIDATORS 1
42347 _ACEOF
42348
42349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
42350 fi
42351
42352 if test "$wxUSE_PALETTE" = "yes" ; then
42353 cat >>confdefs.h <<\_ACEOF
42354 #define wxUSE_PALETTE 1
42355 _ACEOF
42356
42357 fi
42358
42359 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42360 LIBS=" -lunicows $LIBS"
42361 fi
42362
42363
42364 if test "$wxUSE_IMAGE" = "yes" ; then
42365 cat >>confdefs.h <<\_ACEOF
42366 #define wxUSE_IMAGE 1
42367 _ACEOF
42368
42369
42370 if test "$wxUSE_GIF" = "yes" ; then
42371 cat >>confdefs.h <<\_ACEOF
42372 #define wxUSE_GIF 1
42373 _ACEOF
42374
42375 fi
42376
42377 if test "$wxUSE_PCX" = "yes" ; then
42378 cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_PCX 1
42380 _ACEOF
42381
42382 fi
42383
42384 if test "$wxUSE_IFF" = "yes" ; then
42385 cat >>confdefs.h <<\_ACEOF
42386 #define wxUSE_IFF 1
42387 _ACEOF
42388
42389 fi
42390
42391 if test "$wxUSE_PNM" = "yes" ; then
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_PNM 1
42394 _ACEOF
42395
42396 fi
42397
42398 if test "$wxUSE_XPM" = "yes" ; then
42399 cat >>confdefs.h <<\_ACEOF
42400 #define wxUSE_XPM 1
42401 _ACEOF
42402
42403 fi
42404
42405 if test "$wxUSE_ICO_CUR" = "yes" ; then
42406 cat >>confdefs.h <<\_ACEOF
42407 #define wxUSE_ICO_CUR 1
42408 _ACEOF
42409
42410 fi
42411 fi
42412
42413
42414 if test "$wxUSE_CHOICEDLG" = "yes"; then
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_CHOICEDLG 1
42417 _ACEOF
42418
42419 fi
42420
42421 if test "$wxUSE_COLOURDLG" = "yes"; then
42422 cat >>confdefs.h <<\_ACEOF
42423 #define wxUSE_COLOURDLG 1
42424 _ACEOF
42425
42426 fi
42427
42428 if test "$wxUSE_FILEDLG" = "yes"; then
42429 cat >>confdefs.h <<\_ACEOF
42430 #define wxUSE_FILEDLG 1
42431 _ACEOF
42432
42433 fi
42434
42435 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42436 cat >>confdefs.h <<\_ACEOF
42437 #define wxUSE_FINDREPLDLG 1
42438 _ACEOF
42439
42440 fi
42441
42442 if test "$wxUSE_FONTDLG" = "yes"; then
42443 cat >>confdefs.h <<\_ACEOF
42444 #define wxUSE_FONTDLG 1
42445 _ACEOF
42446
42447 fi
42448
42449 if test "$wxUSE_DIRDLG" = "yes"; then
42450 if test "$wxUSE_TREECTRL" != "yes"; then
42451 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42452 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42453 else
42454 cat >>confdefs.h <<\_ACEOF
42455 #define wxUSE_DIRDLG 1
42456 _ACEOF
42457
42458 fi
42459 fi
42460
42461 if test "$wxUSE_MSGDLG" = "yes"; then
42462 cat >>confdefs.h <<\_ACEOF
42463 #define wxUSE_MSGDLG 1
42464 _ACEOF
42465
42466 fi
42467
42468 if test "$wxUSE_NUMBERDLG" = "yes"; then
42469 cat >>confdefs.h <<\_ACEOF
42470 #define wxUSE_NUMBERDLG 1
42471 _ACEOF
42472
42473 fi
42474
42475 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42476 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42477 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42478 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42479 else
42480 cat >>confdefs.h <<\_ACEOF
42481 #define wxUSE_PROGRESSDLG 1
42482 _ACEOF
42483
42484 fi
42485 fi
42486
42487 if test "$wxUSE_SPLASH" = "yes"; then
42488 cat >>confdefs.h <<\_ACEOF
42489 #define wxUSE_SPLASH 1
42490 _ACEOF
42491
42492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
42493 fi
42494
42495 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42496 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42497 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42498 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42499 else
42500 cat >>confdefs.h <<\_ACEOF
42501 #define wxUSE_STARTUP_TIPS 1
42502 _ACEOF
42503
42504 fi
42505 fi
42506
42507 if test "$wxUSE_TEXTDLG" = "yes"; then
42508 cat >>confdefs.h <<\_ACEOF
42509 #define wxUSE_TEXTDLG 1
42510 _ACEOF
42511
42512 fi
42513
42514 if test "$wxUSE_WIZARDDLG" = "yes"; then
42515 cat >>confdefs.h <<\_ACEOF
42516 #define wxUSE_WIZARDDLG 1
42517 _ACEOF
42518
42519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
42520 fi
42521
42522
42523 if test "$wxUSE_MEDIACTRL" = "yes"; then
42524 if test "$wxUSE_GTK" = 1; then
42525 wxUSE_GSTREAMER="yes"
42526
42527
42528 succeeded=no
42529
42530 if test -z "$PKG_CONFIG"; then
42531 # Extract the first word of "pkg-config", so it can be a program name with args.
42532 set dummy pkg-config; ac_word=$2
42533 echo "$as_me:$LINENO: checking for $ac_word" >&5
42534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42535 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42536 echo $ECHO_N "(cached) $ECHO_C" >&6
42537 else
42538 case $PKG_CONFIG in
42539 [\\/]* | ?:[\\/]*)
42540 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42541 ;;
42542 *)
42543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42544 for as_dir in $PATH
42545 do
42546 IFS=$as_save_IFS
42547 test -z "$as_dir" && as_dir=.
42548 for ac_exec_ext in '' $ac_executable_extensions; do
42549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42550 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42552 break 2
42553 fi
42554 done
42555 done
42556
42557 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
42558 ;;
42559 esac
42560 fi
42561 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42562
42563 if test -n "$PKG_CONFIG"; then
42564 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42565 echo "${ECHO_T}$PKG_CONFIG" >&6
42566 else
42567 echo "$as_me:$LINENO: result: no" >&5
42568 echo "${ECHO_T}no" >&6
42569 fi
42570
42571 fi
42572
42573 if test "$PKG_CONFIG" = "no" ; then
42574 echo "*** The pkg-config script could not be found. Make sure it is"
42575 echo "*** in your path, or set the PKG_CONFIG environment variable"
42576 echo "*** to the full path to pkg-config."
42577 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42578 else
42579 PKG_CONFIG_MIN_VERSION=0.9.0
42580 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42581 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42582 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42583
42584 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42585 echo "$as_me:$LINENO: result: yes" >&5
42586 echo "${ECHO_T}yes" >&6
42587 succeeded=yes
42588
42589 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42590 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42591 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42592 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42593 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42594
42595 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42596 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42597 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
42598 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42599 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42600 else
42601 GSTREAMER_CFLAGS=""
42602 GSTREAMER_LIBS=""
42603 ## If we have a custom action on failure, don't print errors, but
42604 ## do set a variable so people can do so.
42605 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42606
42607 fi
42608
42609
42610
42611 else
42612 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42613 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42614 fi
42615 fi
42616
42617 if test $succeeded = yes; then
42618
42619 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
42620 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42621
42622 else
42623
42624 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42625 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42626 wxUSE_GSTREAMER="no"
42627
42628 fi
42629
42630
42631
42632
42633
42634 if test "x$GST_INSPECT" == "x"; then
42635 # Extract the first word of "gst-inspect", so it can be a program name with args.
42636 set dummy gst-inspect; ac_word=$2
42637 echo "$as_me:$LINENO: checking for $ac_word" >&5
42638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42639 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42642 if test -n "$GST_INSPECT"; then
42643 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
42644 else
42645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42646 for as_dir in $PATH
42647 do
42648 IFS=$as_save_IFS
42649 test -z "$as_dir" && as_dir=.
42650 for ac_exec_ext in '' $ac_executable_extensions; do
42651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42652 ac_cv_prog_GST_INSPECT="gst-inspect"
42653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42654 break 2
42655 fi
42656 done
42657 done
42658
42659 fi
42660 fi
42661 GST_INSPECT=$ac_cv_prog_GST_INSPECT
42662 if test -n "$GST_INSPECT"; then
42663 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42664 echo "${ECHO_T}$GST_INSPECT" >&6
42665 else
42666 echo "$as_me:$LINENO: result: no" >&5
42667 echo "${ECHO_T}no" >&6
42668 fi
42669
42670 fi
42671
42672 if test "x$GST_INSPECT" != "x"; then
42673 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42674 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42675 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
42676 echo "$as_me:$LINENO: result: found." >&5
42677 echo "${ECHO_T}found." >&6
42678
42679 else
42680 echo "$as_me:$LINENO: result: not found." >&5
42681 echo "${ECHO_T}not found." >&6
42682
42683 wxUSE_GSTREAMER="no"
42684 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42685 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42686
42687 fi
42688 fi
42689
42690
42691 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42692 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42693 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42694 echo $ECHO_N "(cached) $ECHO_C" >&6
42695 else
42696 cat >conftest.$ac_ext <<_ACEOF
42697 /* confdefs.h. */
42698 _ACEOF
42699 cat confdefs.h >>conftest.$ac_ext
42700 cat >>conftest.$ac_ext <<_ACEOF
42701 /* end confdefs.h. */
42702 #include <gst/gst.h>
42703
42704 #include <gst/xoverlay/xoverlay.h>
42705 _ACEOF
42706 rm -f conftest.$ac_objext
42707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42708 (eval $ac_compile) 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } &&
42715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717 (eval $ac_try) 2>&5
42718 ac_status=$?
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; } &&
42721 { ac_try='test -s conftest.$ac_objext'
42722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42723 (eval $ac_try) 2>&5
42724 ac_status=$?
42725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42726 (exit $ac_status); }; }; then
42727 ac_cv_header_gst_xoverlay_xoverlay_h=yes
42728 else
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42731
42732 ac_cv_header_gst_xoverlay_xoverlay_h=no
42733 fi
42734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42735 fi
42736 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42737 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42738 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42739 :
42740 else
42741
42742 wxUSE_GSTREAMER="no"
42743 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42744 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42745
42746 fi
42747
42748
42749
42750 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42751 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42752
42753 ac_find_libraries=
42754 for ac_dir in $SEARCH_LIB;
42755 do
42756 for ac_extension in a so sl dylib dll.a; do
42757 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42758 ac_find_libraries=$ac_dir
42759 break 2
42760 fi
42761 done
42762 done
42763
42764
42765 if test "$ac_find_libraries" = "" ; then
42766 echo "$as_me:$LINENO: result: no" >&5
42767 echo "${ECHO_T}no" >&6
42768 wxUSE_GSTREAMER="no"
42769 else
42770 echo "$as_me:$LINENO: result: yes" >&5
42771 echo "${ECHO_T}yes" >&6
42772 fi
42773
42774 if test "$wxUSE_GSTREAMER" = "yes"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_GSTREAMER 1
42777 _ACEOF
42778
42779 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42780 echo "${ECHO_T}GStreamer detection successful" >&6
42781 fi
42782 fi
42783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
42784 cat >>confdefs.h <<\_ACEOF
42785 #define wxUSE_MEDIACTRL 1
42786 _ACEOF
42787
42788 fi
42789
42790
42791 if test "$cross_compiling" = "yes"; then
42792 OSINFO="\"$host\""
42793 else
42794 OSINFO=`uname -s -r -m`
42795 OSINFO="\"$OSINFO\""
42796 fi
42797
42798 cat >>confdefs.h <<_ACEOF
42799 #define WXWIN_OS_DESCRIPTION $OSINFO
42800 _ACEOF
42801
42802
42803
42804 if test "x$prefix" != "xNONE"; then
42805 wxPREFIX=$prefix
42806 else
42807 wxPREFIX=$ac_default_prefix
42808 fi
42809
42810 cat >>confdefs.h <<_ACEOF
42811 #define wxINSTALL_PREFIX "$wxPREFIX"
42812 _ACEOF
42813
42814
42815
42816
42817 CORE_BASE_LIBS="net base"
42818 CORE_GUI_LIBS="adv core"
42819
42820 if test "$wxUSE_XML" = "yes" ; then
42821 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
42822 fi
42823 if test "$wxUSE_ODBC" != "no" ; then
42824 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
42825 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
42826 fi
42827 if test "$wxUSE_HTML" = "yes" ; then
42828 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
42829 fi
42830 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42831 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
42832 fi
42833 if test "$wxUSE_XRC" = "yes" ; then
42834 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
42835 fi
42836
42837 if test "$wxUSE_GUI" != "yes"; then
42838 CORE_GUI_LIBS=""
42839 fi
42840
42841
42842
42843
42844
42845
42846
42847
42848 if test "$wxUSE_MAC" = 1 ; then
42849 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42850 if test "$USE_DARWIN" = 1; then
42851 LDFLAGS="$LDFLAGS -framework QuickTime"
42852 else
42853 LDFLAGS="$LDFLAGS -lQuickTimeLib"
42854 fi
42855 fi
42856 if test "$USE_DARWIN" = 1; then
42857 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42858 else
42859 LDFLAGS="$LDFLAGS -lCarbonLib"
42860 fi
42861 fi
42862 if test "$wxUSE_COCOA" = 1 ; then
42863 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
42864 if test "$wxUSE_MEDIACTRL" = "yes"; then
42865 LDFLAGS="$LDFLAGS -framework QuickTime"
42866 fi
42867 fi
42868 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42869 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42870 fi
42871
42872
42873 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42874
42875 have_cos=0
42876 have_floor=0
42877
42878 for ac_func in cos
42879 do
42880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42881 echo "$as_me:$LINENO: checking for $ac_func" >&5
42882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42883 if eval "test \"\${$as_ac_var+set}\" = set"; then
42884 echo $ECHO_N "(cached) $ECHO_C" >&6
42885 else
42886 cat >conftest.$ac_ext <<_ACEOF
42887 /* confdefs.h. */
42888 _ACEOF
42889 cat confdefs.h >>conftest.$ac_ext
42890 cat >>conftest.$ac_ext <<_ACEOF
42891 /* end confdefs.h. */
42892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42894 #define $ac_func innocuous_$ac_func
42895
42896 /* System header to define __stub macros and hopefully few prototypes,
42897 which can conflict with char $ac_func (); below.
42898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42899 <limits.h> exists even on freestanding compilers. */
42900
42901 #ifdef __STDC__
42902 # include <limits.h>
42903 #else
42904 # include <assert.h>
42905 #endif
42906
42907 #undef $ac_func
42908
42909 /* Override any gcc2 internal prototype to avoid an error. */
42910 #ifdef __cplusplus
42911 extern "C"
42912 {
42913 #endif
42914 /* We use char because int might match the return type of a gcc2
42915 builtin and then its argument prototype would still apply. */
42916 char $ac_func ();
42917 /* The GNU C library defines this for functions which it implements
42918 to always fail with ENOSYS. Some functions are actually named
42919 something starting with __ and the normal name is an alias. */
42920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42921 choke me
42922 #else
42923 char (*f) () = $ac_func;
42924 #endif
42925 #ifdef __cplusplus
42926 }
42927 #endif
42928
42929 int
42930 main ()
42931 {
42932 return f != $ac_func;
42933 ;
42934 return 0;
42935 }
42936 _ACEOF
42937 rm -f conftest.$ac_objext conftest$ac_exeext
42938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42939 (eval $ac_link) 2>conftest.er1
42940 ac_status=$?
42941 grep -v '^ *+' conftest.er1 >conftest.err
42942 rm -f conftest.er1
42943 cat conftest.err >&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); } &&
42946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42949 ac_status=$?
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; } &&
42952 { ac_try='test -s conftest$ac_exeext'
42953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42954 (eval $ac_try) 2>&5
42955 ac_status=$?
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; }; then
42958 eval "$as_ac_var=yes"
42959 else
42960 echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.$ac_ext >&5
42962
42963 eval "$as_ac_var=no"
42964 fi
42965 rm -f conftest.err conftest.$ac_objext \
42966 conftest$ac_exeext conftest.$ac_ext
42967 fi
42968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42970 if test `eval echo '${'$as_ac_var'}'` = yes; then
42971 cat >>confdefs.h <<_ACEOF
42972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42973 _ACEOF
42974 have_cos=1
42975 fi
42976 done
42977
42978
42979 for ac_func in floor
42980 do
42981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42982 echo "$as_me:$LINENO: checking for $ac_func" >&5
42983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42984 if eval "test \"\${$as_ac_var+set}\" = set"; then
42985 echo $ECHO_N "(cached) $ECHO_C" >&6
42986 else
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42995 #define $ac_func innocuous_$ac_func
42996
42997 /* System header to define __stub macros and hopefully few prototypes,
42998 which can conflict with char $ac_func (); below.
42999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43000 <limits.h> exists even on freestanding compilers. */
43001
43002 #ifdef __STDC__
43003 # include <limits.h>
43004 #else
43005 # include <assert.h>
43006 #endif
43007
43008 #undef $ac_func
43009
43010 /* Override any gcc2 internal prototype to avoid an error. */
43011 #ifdef __cplusplus
43012 extern "C"
43013 {
43014 #endif
43015 /* We use char because int might match the return type of a gcc2
43016 builtin and then its argument prototype would still apply. */
43017 char $ac_func ();
43018 /* The GNU C library defines this for functions which it implements
43019 to always fail with ENOSYS. Some functions are actually named
43020 something starting with __ and the normal name is an alias. */
43021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43022 choke me
43023 #else
43024 char (*f) () = $ac_func;
43025 #endif
43026 #ifdef __cplusplus
43027 }
43028 #endif
43029
43030 int
43031 main ()
43032 {
43033 return f != $ac_func;
43034 ;
43035 return 0;
43036 }
43037 _ACEOF
43038 rm -f conftest.$ac_objext conftest$ac_exeext
43039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43040 (eval $ac_link) 2>conftest.er1
43041 ac_status=$?
43042 grep -v '^ *+' conftest.er1 >conftest.err
43043 rm -f conftest.er1
43044 cat conftest.err >&5
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); } &&
43047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43049 (eval $ac_try) 2>&5
43050 ac_status=$?
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); }; } &&
43053 { ac_try='test -s conftest$ac_exeext'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43056 ac_status=$?
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; }; then
43059 eval "$as_ac_var=yes"
43060 else
43061 echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43063
43064 eval "$as_ac_var=no"
43065 fi
43066 rm -f conftest.err conftest.$ac_objext \
43067 conftest$ac_exeext conftest.$ac_ext
43068 fi
43069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43071 if test `eval echo '${'$as_ac_var'}'` = yes; then
43072 cat >>confdefs.h <<_ACEOF
43073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43074 _ACEOF
43075 have_floor=1
43076 fi
43077 done
43078
43079 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43080 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43081 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43082 echo "$as_me:$LINENO: result: yes" >&5
43083 echo "${ECHO_T}yes" >&6
43084 else
43085 echo "$as_me:$LINENO: result: no" >&5
43086 echo "${ECHO_T}no" >&6
43087 LIBS="$LIBS -lm"
43088 # use different functions to avoid configure caching
43089 have_sin=0
43090 have_ceil=0
43091
43092 for ac_func in sin
43093 do
43094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43095 echo "$as_me:$LINENO: checking for $ac_func" >&5
43096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43097 if eval "test \"\${$as_ac_var+set}\" = set"; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 else
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h. */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43108 #define $ac_func innocuous_$ac_func
43109
43110 /* System header to define __stub macros and hopefully few prototypes,
43111 which can conflict with char $ac_func (); below.
43112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43113 <limits.h> exists even on freestanding compilers. */
43114
43115 #ifdef __STDC__
43116 # include <limits.h>
43117 #else
43118 # include <assert.h>
43119 #endif
43120
43121 #undef $ac_func
43122
43123 /* Override any gcc2 internal prototype to avoid an error. */
43124 #ifdef __cplusplus
43125 extern "C"
43126 {
43127 #endif
43128 /* We use char because int might match the return type of a gcc2
43129 builtin and then its argument prototype would still apply. */
43130 char $ac_func ();
43131 /* The GNU C library defines this for functions which it implements
43132 to always fail with ENOSYS. Some functions are actually named
43133 something starting with __ and the normal name is an alias. */
43134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43135 choke me
43136 #else
43137 char (*f) () = $ac_func;
43138 #endif
43139 #ifdef __cplusplus
43140 }
43141 #endif
43142
43143 int
43144 main ()
43145 {
43146 return f != $ac_func;
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext conftest$ac_exeext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43153 (eval $ac_link) 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43163 ac_status=$?
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; } &&
43166 { ac_try='test -s conftest$ac_exeext'
43167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168 (eval $ac_try) 2>&5
43169 ac_status=$?
43170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171 (exit $ac_status); }; }; then
43172 eval "$as_ac_var=yes"
43173 else
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.$ac_ext >&5
43176
43177 eval "$as_ac_var=no"
43178 fi
43179 rm -f conftest.err conftest.$ac_objext \
43180 conftest$ac_exeext conftest.$ac_ext
43181 fi
43182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43184 if test `eval echo '${'$as_ac_var'}'` = yes; then
43185 cat >>confdefs.h <<_ACEOF
43186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43187 _ACEOF
43188 have_sin=1
43189 fi
43190 done
43191
43192
43193 for ac_func in ceil
43194 do
43195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43196 echo "$as_me:$LINENO: checking for $ac_func" >&5
43197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43198 if eval "test \"\${$as_ac_var+set}\" = set"; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43200 else
43201 cat >conftest.$ac_ext <<_ACEOF
43202 /* confdefs.h. */
43203 _ACEOF
43204 cat confdefs.h >>conftest.$ac_ext
43205 cat >>conftest.$ac_ext <<_ACEOF
43206 /* end confdefs.h. */
43207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43209 #define $ac_func innocuous_$ac_func
43210
43211 /* System header to define __stub macros and hopefully few prototypes,
43212 which can conflict with char $ac_func (); below.
43213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43214 <limits.h> exists even on freestanding compilers. */
43215
43216 #ifdef __STDC__
43217 # include <limits.h>
43218 #else
43219 # include <assert.h>
43220 #endif
43221
43222 #undef $ac_func
43223
43224 /* Override any gcc2 internal prototype to avoid an error. */
43225 #ifdef __cplusplus
43226 extern "C"
43227 {
43228 #endif
43229 /* We use char because int might match the return type of a gcc2
43230 builtin and then its argument prototype would still apply. */
43231 char $ac_func ();
43232 /* The GNU C library defines this for functions which it implements
43233 to always fail with ENOSYS. Some functions are actually named
43234 something starting with __ and the normal name is an alias. */
43235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43236 choke me
43237 #else
43238 char (*f) () = $ac_func;
43239 #endif
43240 #ifdef __cplusplus
43241 }
43242 #endif
43243
43244 int
43245 main ()
43246 {
43247 return f != $ac_func;
43248 ;
43249 return 0;
43250 }
43251 _ACEOF
43252 rm -f conftest.$ac_objext conftest$ac_exeext
43253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43254 (eval $ac_link) 2>conftest.er1
43255 ac_status=$?
43256 grep -v '^ *+' conftest.er1 >conftest.err
43257 rm -f conftest.er1
43258 cat conftest.err >&5
43259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260 (exit $ac_status); } &&
43261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43263 (eval $ac_try) 2>&5
43264 ac_status=$?
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; } &&
43267 { ac_try='test -s conftest$ac_exeext'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; }; then
43273 eval "$as_ac_var=yes"
43274 else
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.$ac_ext >&5
43277
43278 eval "$as_ac_var=no"
43279 fi
43280 rm -f conftest.err conftest.$ac_objext \
43281 conftest$ac_exeext conftest.$ac_ext
43282 fi
43283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43285 if test `eval echo '${'$as_ac_var'}'` = yes; then
43286 cat >>confdefs.h <<_ACEOF
43287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43288 _ACEOF
43289 have_ceil=1
43290 fi
43291 done
43292
43293 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43294 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43295 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43296 echo "$as_me:$LINENO: result: yes" >&5
43297 echo "${ECHO_T}yes" >&6
43298 else
43299 echo "$as_me:$LINENO: result: no" >&5
43300 echo "${ECHO_T}no" >&6
43301 # not sure we should warn the user, crash, etc.
43302 fi
43303 fi
43304
43305 if test "$wxUSE_GUI" = "yes"; then
43306
43307
43308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43309 dynamic erase event exec font image minimal mobile \
43310 mobile/wxedit mobile/styles propsize render \
43311 richedit rotate shaped vscroll widgets"
43312
43313 if test "$wxUSE_MONOLITHIC" != "yes"; then
43314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
43315 fi
43316 if test "$TOOLKIT" = "MSW"; then
43317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
43318 if test "$wxUSE_UNIVERSAL" != "yes"; then
43319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43320 fi
43321 fi
43322 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
43324 fi
43325 else
43326 SAMPLES_SUBDIRS="console"
43327 fi
43328
43329
43330 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43331 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43332
43333 if test "x$INTELCC" = "xyes" ; then
43334 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
43335 elif test "$GCC" = yes ; then
43336 CWARNINGS="-Wall -Wundef"
43337 fi
43338
43339 if test "x$INTELCXX" = "xyes" ; then
43340 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
43341 elif test "$GXX" = yes ; then
43342 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
43343 fi
43344
43345 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43346
43347 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43348 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43349 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43350
43351 if test "x$MWCC" = "xyes"; then
43352
43353 CC="$CC -cwd source -I-"
43354 CXX="$CXX -cwd source -I-"
43355 fi
43356
43357
43358 LIBS=`echo $LIBS`
43359 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43360 EXTRALIBS_XML="$EXPAT_LINK"
43361 EXTRALIBS_HTML="$MSPACK_LINK"
43362 EXTRALIBS_ODBC="$ODBC_LINK"
43363 if test "$wxUSE_GUI" = "yes"; then
43364 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43365 fi
43366 if test "$wxUSE_OPENGL" = "yes"; then
43367 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
43368 fi
43369
43370 LDFLAGS="$LDFLAGS $PROFILE"
43371
43372 if test "$wxUSE_GTK" = 1; then
43373 WXCONFIG_INCLUDE=
43374 else
43375 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
43376 fi
43377
43378 WXCONFIG_EXTRALIBS="$LIBS"
43379
43380 if test "$wxUSE_REGEX" = "builtin" ; then
43381 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43382 fi
43383 if test "$wxUSE_EXPAT" = "builtin" ; then
43384 wxconfig_3rdparty="expat $wxconfig_3rdparty"
43385 fi
43386 if test "$wxUSE_ODBC" = "builtin" ; then
43387 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
43388 fi
43389 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43390 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
43391 fi
43392 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43393 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
43394 fi
43395 if test "$wxUSE_LIBPNG" = "builtin" ; then
43396 wxconfig_3rdparty="png $wxconfig_3rdparty"
43397 fi
43398 if test "$wxUSE_ZLIB" = "builtin" ; then
43399 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
43400 fi
43401
43402 for i in $wxconfig_3rdparty ; do
43403 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43404 done
43405
43406
43407 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43408 WXUNIV=1
43409 else
43410 WXUNIV=0
43411 fi
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421 if test $wxUSE_MONOLITHIC = "yes" ; then
43422 MONOLITHIC=1
43423 else
43424 MONOLITHIC=0
43425 fi
43426
43427 if test $wxUSE_PLUGINS = "yes" ; then
43428 USE_PLUGINS=1
43429 else
43430 USE_PLUGINS=0
43431 fi
43432
43433 if test $wxUSE_ODBC != "no" ; then
43434 USE_ODBC=1
43435 else
43436 USE_ODBC=0
43437 fi
43438
43439 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43440 USE_QA=1
43441 else
43442 USE_QA=0
43443 fi
43444
43445 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43446 OFFICIAL_BUILD=1
43447 else
43448 OFFICIAL_BUILD=0
43449 fi
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43474
43475
43476
43477
43478
43479
43480
43481
43482 case "$TOOLKIT" in
43483 GTK)
43484 TOOLKIT_USER="GTK+"
43485 if test "$WXGTK20" = 1; then
43486 TOOLKIT_USER="$TOOLKIT_USER 2"
43487 fi
43488 ;;
43489
43490 *)
43491 TOOLKIT_USER=$TOOLKIT_LOWERCASE
43492 ;;
43493 esac
43494
43495 if test "$wxUSE_WINE" = "yes"; then
43496 BAKEFILE_FORCE_PLATFORM=win32
43497 fi
43498
43499
43500
43501
43502 if test "x$BAKEFILE_HOST" = "x"; then
43503 BAKEFILE_HOST="${host}"
43504 fi
43505
43506 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43507
43508 if test -n "$ac_tool_prefix"; then
43509 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43510 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
43511 echo "$as_me:$LINENO: checking for $ac_word" >&5
43512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43513 if test "${ac_cv_prog_RANLIB+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43515 else
43516 if test -n "$RANLIB"; then
43517 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
43518 else
43519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43520 for as_dir in $PATH
43521 do
43522 IFS=$as_save_IFS
43523 test -z "$as_dir" && as_dir=.
43524 for ac_exec_ext in '' $ac_executable_extensions; do
43525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43526 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
43527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43528 break 2
43529 fi
43530 done
43531 done
43532
43533 fi
43534 fi
43535 RANLIB=$ac_cv_prog_RANLIB
43536 if test -n "$RANLIB"; then
43537 echo "$as_me:$LINENO: result: $RANLIB" >&5
43538 echo "${ECHO_T}$RANLIB" >&6
43539 else
43540 echo "$as_me:$LINENO: result: no" >&5
43541 echo "${ECHO_T}no" >&6
43542 fi
43543
43544 fi
43545 if test -z "$ac_cv_prog_RANLIB"; then
43546 ac_ct_RANLIB=$RANLIB
43547 # Extract the first word of "ranlib", so it can be a program name with args.
43548 set dummy ranlib; ac_word=$2
43549 echo "$as_me:$LINENO: checking for $ac_word" >&5
43550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43551 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554 if test -n "$ac_ct_RANLIB"; then
43555 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
43556 else
43557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43558 for as_dir in $PATH
43559 do
43560 IFS=$as_save_IFS
43561 test -z "$as_dir" && as_dir=.
43562 for ac_exec_ext in '' $ac_executable_extensions; do
43563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43564 ac_cv_prog_ac_ct_RANLIB="ranlib"
43565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43566 break 2
43567 fi
43568 done
43569 done
43570
43571 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
43572 fi
43573 fi
43574 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
43575 if test -n "$ac_ct_RANLIB"; then
43576 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43577 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43578 else
43579 echo "$as_me:$LINENO: result: no" >&5
43580 echo "${ECHO_T}no" >&6
43581 fi
43582
43583 RANLIB=$ac_ct_RANLIB
43584 else
43585 RANLIB="$ac_cv_prog_RANLIB"
43586 fi
43587
43588 # Find a good install program. We prefer a C program (faster),
43589 # so one script is as good as another. But avoid the broken or
43590 # incompatible versions:
43591 # SysV /etc/install, /usr/sbin/install
43592 # SunOS /usr/etc/install
43593 # IRIX /sbin/install
43594 # AIX /bin/install
43595 # AmigaOS /C/install, which installs bootblocks on floppy discs
43596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43599 # OS/2's system install, which has a completely different semantic
43600 # ./install, which can be erroneously created by make from ./install.sh.
43601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43603 if test -z "$INSTALL"; then
43604 if test "${ac_cv_path_install+set}" = set; then
43605 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 else
43607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43608 for as_dir in $PATH
43609 do
43610 IFS=$as_save_IFS
43611 test -z "$as_dir" && as_dir=.
43612 # Account for people who put trailing slashes in PATH elements.
43613 case $as_dir/ in
43614 ./ | .// | /cC/* | \
43615 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
43616 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
43617 /usr/ucb/* ) ;;
43618 *)
43619 # OSF1 and SCO ODT 3.0 have their own names for install.
43620 # Don't use installbsd from OSF since it installs stuff as root
43621 # by default.
43622 for ac_prog in ginstall scoinst install; do
43623 for ac_exec_ext in '' $ac_executable_extensions; do
43624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43625 if test $ac_prog = install &&
43626 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43627 # AIX install. It has an incompatible calling convention.
43628 :
43629 elif test $ac_prog = install &&
43630 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43631 # program-specific install script used by HP pwplus--don't use.
43632 :
43633 else
43634 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
43635 break 3
43636 fi
43637 fi
43638 done
43639 done
43640 ;;
43641 esac
43642 done
43643
43644
43645 fi
43646 if test "${ac_cv_path_install+set}" = set; then
43647 INSTALL=$ac_cv_path_install
43648 else
43649 # As a last resort, use the slow shell script. We don't cache a
43650 # path for INSTALL within a source directory, because that will
43651 # break other packages using the cache if that directory is
43652 # removed, or if the path is relative.
43653 INSTALL=$ac_install_sh
43654 fi
43655 fi
43656 echo "$as_me:$LINENO: result: $INSTALL" >&5
43657 echo "${ECHO_T}$INSTALL" >&6
43658
43659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43660 # It thinks the first close brace ends the variable substitution.
43661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
43662
43663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
43664
43665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43666
43667 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43668 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43669 LN_S=$as_ln_s
43670 if test "$LN_S" = "ln -s"; then
43671 echo "$as_me:$LINENO: result: yes" >&5
43672 echo "${ECHO_T}yes" >&6
43673 else
43674 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43675 echo "${ECHO_T}no, using $LN_S" >&6
43676 fi
43677
43678
43679 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43680 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43681 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43682 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43683 echo $ECHO_N "(cached) $ECHO_C" >&6
43684 else
43685 cat >conftest.make <<\_ACEOF
43686 all:
43687 @echo 'ac_maketemp="$(MAKE)"'
43688 _ACEOF
43689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43690 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43691 if test -n "$ac_maketemp"; then
43692 eval ac_cv_prog_make_${ac_make}_set=yes
43693 else
43694 eval ac_cv_prog_make_${ac_make}_set=no
43695 fi
43696 rm -f conftest.make
43697 fi
43698 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43699 echo "$as_me:$LINENO: result: yes" >&5
43700 echo "${ECHO_T}yes" >&6
43701 SET_MAKE=
43702 else
43703 echo "$as_me:$LINENO: result: no" >&5
43704 echo "${ECHO_T}no" >&6
43705 SET_MAKE="MAKE=${MAKE-make}"
43706 fi
43707
43708
43709
43710 if test -n "$ac_tool_prefix"; then
43711 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43712 set dummy ${ac_tool_prefix}ar; ac_word=$2
43713 echo "$as_me:$LINENO: checking for $ac_word" >&5
43714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43715 if test "${ac_cv_prog_AR+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43717 else
43718 if test -n "$AR"; then
43719 ac_cv_prog_AR="$AR" # Let the user override the test.
43720 else
43721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43722 for as_dir in $PATH
43723 do
43724 IFS=$as_save_IFS
43725 test -z "$as_dir" && as_dir=.
43726 for ac_exec_ext in '' $ac_executable_extensions; do
43727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43728 ac_cv_prog_AR="${ac_tool_prefix}ar"
43729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43730 break 2
43731 fi
43732 done
43733 done
43734
43735 fi
43736 fi
43737 AR=$ac_cv_prog_AR
43738 if test -n "$AR"; then
43739 echo "$as_me:$LINENO: result: $AR" >&5
43740 echo "${ECHO_T}$AR" >&6
43741 else
43742 echo "$as_me:$LINENO: result: no" >&5
43743 echo "${ECHO_T}no" >&6
43744 fi
43745
43746 fi
43747 if test -z "$ac_cv_prog_AR"; then
43748 ac_ct_AR=$AR
43749 # Extract the first word of "ar", so it can be a program name with args.
43750 set dummy ar; ac_word=$2
43751 echo "$as_me:$LINENO: checking for $ac_word" >&5
43752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43753 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43756 if test -n "$ac_ct_AR"; then
43757 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
43758 else
43759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43760 for as_dir in $PATH
43761 do
43762 IFS=$as_save_IFS
43763 test -z "$as_dir" && as_dir=.
43764 for ac_exec_ext in '' $ac_executable_extensions; do
43765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43766 ac_cv_prog_ac_ct_AR="ar"
43767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43768 break 2
43769 fi
43770 done
43771 done
43772
43773 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
43774 fi
43775 fi
43776 ac_ct_AR=$ac_cv_prog_ac_ct_AR
43777 if test -n "$ac_ct_AR"; then
43778 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43779 echo "${ECHO_T}$ac_ct_AR" >&6
43780 else
43781 echo "$as_me:$LINENO: result: no" >&5
43782 echo "${ECHO_T}no" >&6
43783 fi
43784
43785 AR=$ac_ct_AR
43786 else
43787 AR="$ac_cv_prog_AR"
43788 fi
43789
43790 if test -n "$ac_tool_prefix"; then
43791 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43792 set dummy ${ac_tool_prefix}strip; ac_word=$2
43793 echo "$as_me:$LINENO: checking for $ac_word" >&5
43794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43795 if test "${ac_cv_prog_STRIP+set}" = set; then
43796 echo $ECHO_N "(cached) $ECHO_C" >&6
43797 else
43798 if test -n "$STRIP"; then
43799 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
43800 else
43801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43802 for as_dir in $PATH
43803 do
43804 IFS=$as_save_IFS
43805 test -z "$as_dir" && as_dir=.
43806 for ac_exec_ext in '' $ac_executable_extensions; do
43807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43808 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
43809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43810 break 2
43811 fi
43812 done
43813 done
43814
43815 fi
43816 fi
43817 STRIP=$ac_cv_prog_STRIP
43818 if test -n "$STRIP"; then
43819 echo "$as_me:$LINENO: result: $STRIP" >&5
43820 echo "${ECHO_T}$STRIP" >&6
43821 else
43822 echo "$as_me:$LINENO: result: no" >&5
43823 echo "${ECHO_T}no" >&6
43824 fi
43825
43826 fi
43827 if test -z "$ac_cv_prog_STRIP"; then
43828 ac_ct_STRIP=$STRIP
43829 # Extract the first word of "strip", so it can be a program name with args.
43830 set dummy strip; ac_word=$2
43831 echo "$as_me:$LINENO: checking for $ac_word" >&5
43832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43833 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43834 echo $ECHO_N "(cached) $ECHO_C" >&6
43835 else
43836 if test -n "$ac_ct_STRIP"; then
43837 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
43838 else
43839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43840 for as_dir in $PATH
43841 do
43842 IFS=$as_save_IFS
43843 test -z "$as_dir" && as_dir=.
43844 for ac_exec_ext in '' $ac_executable_extensions; do
43845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43846 ac_cv_prog_ac_ct_STRIP="strip"
43847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43848 break 2
43849 fi
43850 done
43851 done
43852
43853 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
43854 fi
43855 fi
43856 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
43857 if test -n "$ac_ct_STRIP"; then
43858 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43859 echo "${ECHO_T}$ac_ct_STRIP" >&6
43860 else
43861 echo "$as_me:$LINENO: result: no" >&5
43862 echo "${ECHO_T}no" >&6
43863 fi
43864
43865 STRIP=$ac_ct_STRIP
43866 else
43867 STRIP="$ac_cv_prog_STRIP"
43868 fi
43869
43870 if test -n "$ac_tool_prefix"; then
43871 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43872 set dummy ${ac_tool_prefix}nm; ac_word=$2
43873 echo "$as_me:$LINENO: checking for $ac_word" >&5
43874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43875 if test "${ac_cv_prog_NM+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43877 else
43878 if test -n "$NM"; then
43879 ac_cv_prog_NM="$NM" # Let the user override the test.
43880 else
43881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43882 for as_dir in $PATH
43883 do
43884 IFS=$as_save_IFS
43885 test -z "$as_dir" && as_dir=.
43886 for ac_exec_ext in '' $ac_executable_extensions; do
43887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43888 ac_cv_prog_NM="${ac_tool_prefix}nm"
43889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43890 break 2
43891 fi
43892 done
43893 done
43894
43895 fi
43896 fi
43897 NM=$ac_cv_prog_NM
43898 if test -n "$NM"; then
43899 echo "$as_me:$LINENO: result: $NM" >&5
43900 echo "${ECHO_T}$NM" >&6
43901 else
43902 echo "$as_me:$LINENO: result: no" >&5
43903 echo "${ECHO_T}no" >&6
43904 fi
43905
43906 fi
43907 if test -z "$ac_cv_prog_NM"; then
43908 ac_ct_NM=$NM
43909 # Extract the first word of "nm", so it can be a program name with args.
43910 set dummy nm; ac_word=$2
43911 echo "$as_me:$LINENO: checking for $ac_word" >&5
43912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43913 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43914 echo $ECHO_N "(cached) $ECHO_C" >&6
43915 else
43916 if test -n "$ac_ct_NM"; then
43917 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
43918 else
43919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43920 for as_dir in $PATH
43921 do
43922 IFS=$as_save_IFS
43923 test -z "$as_dir" && as_dir=.
43924 for ac_exec_ext in '' $ac_executable_extensions; do
43925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43926 ac_cv_prog_ac_ct_NM="nm"
43927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43928 break 2
43929 fi
43930 done
43931 done
43932
43933 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
43934 fi
43935 fi
43936 ac_ct_NM=$ac_cv_prog_ac_ct_NM
43937 if test -n "$ac_ct_NM"; then
43938 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43939 echo "${ECHO_T}$ac_ct_NM" >&6
43940 else
43941 echo "$as_me:$LINENO: result: no" >&5
43942 echo "${ECHO_T}no" >&6
43943 fi
43944
43945 NM=$ac_ct_NM
43946 else
43947 NM="$ac_cv_prog_NM"
43948 fi
43949
43950
43951 case ${BAKEFILE_HOST} in
43952 *-hp-hpux* )
43953 INSTALL_DIR="mkdir -p"
43954 ;;
43955 *) INSTALL_DIR="$INSTALL -d"
43956 ;;
43957 esac
43958
43959
43960 LDFLAGS_GUI=
43961 case ${BAKEFILE_HOST} in
43962 *-*-cygwin* | *-*-mingw32* )
43963 LDFLAGS_GUI="-mwindows"
43964 esac
43965
43966
43967 fi
43968
43969 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43970 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43971 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43972 echo $ECHO_N "(cached) $ECHO_C" >&6
43973 else
43974
43975 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
43976 egrep -s GNU > /dev/null); then
43977 bakefile_cv_prog_makeisgnu="yes"
43978 else
43979 bakefile_cv_prog_makeisgnu="no"
43980 fi
43981
43982 fi
43983 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43984 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43985
43986 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43987 IF_GNU_MAKE=""
43988 else
43989 IF_GNU_MAKE="#"
43990 fi
43991
43992
43993
43994 PLATFORM_UNIX=0
43995 PLATFORM_WIN32=0
43996 PLATFORM_MSDOS=0
43997 PLATFORM_MAC=0
43998 PLATFORM_MACOS=0
43999 PLATFORM_MACOSX=0
44000 PLATFORM_OS2=0
44001 PLATFORM_BEOS=0
44002
44003 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44004 case "${BAKEFILE_HOST}" in
44005 *-*-mingw32* )
44006 PLATFORM_WIN32=1
44007 ;;
44008 *-pc-msdosdjgpp )
44009 PLATFORM_MSDOS=1
44010 ;;
44011 *-pc-os2_emx | *-pc-os2-emx )
44012 PLATFORM_OS2=1
44013 ;;
44014 *-*-darwin* )
44015 PLATFORM_MAC=1
44016 PLATFORM_MACOSX=1
44017 ;;
44018 *-*-beos* )
44019 PLATFORM_BEOS=1
44020 ;;
44021 powerpc-apple-macos* )
44022 PLATFORM_MAC=1
44023 PLATFORM_MACOS=1
44024 ;;
44025 * )
44026 PLATFORM_UNIX=1
44027 ;;
44028 esac
44029 else
44030 case "$BAKEFILE_FORCE_PLATFORM" in
44031 win32 )
44032 PLATFORM_WIN32=1
44033 ;;
44034 msdos )
44035 PLATFORM_MSDOS=1
44036 ;;
44037 os2 )
44038 PLATFORM_OS2=1
44039 ;;
44040 darwin )
44041 PLATFORM_MAC=1
44042 PLATFORM_MACOSX=1
44043 ;;
44044 unix )
44045 PLATFORM_UNIX=1
44046 ;;
44047 beos )
44048 PLATFORM_BEOS=1
44049 ;;
44050 * )
44051 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44052 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44053 { (exit 1); exit 1; }; }
44054 ;;
44055 esac
44056 fi
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068 # Check whether --enable-omf or --disable-omf was given.
44069 if test "${enable_omf+set}" = set; then
44070 enableval="$enable_omf"
44071 bk_os2_use_omf="$enableval"
44072 fi;
44073
44074 case "${BAKEFILE_HOST}" in
44075 *-*-darwin* )
44076 if test "x$GCC" = "xyes"; then
44077 CFLAGS="$CFLAGS -fno-common"
44078 CXXFLAGS="$CXXFLAGS -fno-common"
44079 fi
44080 if test "x$XLCC" = "xyes"; then
44081 CFLAGS="$CFLAGS -qnocommon"
44082 CXXFLAGS="$CXXFLAGS -qnocommon"
44083 fi
44084 ;;
44085
44086 *-pc-os2_emx | *-pc-os2-emx )
44087 if test "x$bk_os2_use_omf" = "xyes" ; then
44088 AR=emxomfar
44089 RANLIB=:
44090 LDFLAGS="-Zomf $LDFLAGS"
44091 CFLAGS="-Zomf $CFLAGS"
44092 CXXFLAGS="-Zomf $CXXFLAGS"
44093 OS2_LIBEXT="lib"
44094 else
44095 OS2_LIBEXT="a"
44096 fi
44097 ;;
44098
44099 i*86-*-beos* )
44100 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
44101 ;;
44102 esac
44103
44104
44105 SO_SUFFIX="so"
44106 SO_SUFFIX_MODULE="so"
44107 EXEEXT=""
44108 LIBPREFIX="lib"
44109 LIBEXT=".a"
44110 DLLPREFIX="lib"
44111 DLLPREFIX_MODULE=""
44112 DLLIMP_SUFFIX=""
44113 dlldir="$libdir"
44114
44115 case "${BAKEFILE_HOST}" in
44116 *-hp-hpux* )
44117 SO_SUFFIX="sl"
44118 SO_SUFFIX_MODULE="sl"
44119 ;;
44120 *-*-aix* )
44121 SO_SUFFIX="a"
44122 SO_SUFFIX_MODULE="a"
44123 ;;
44124 *-*-cygwin* )
44125 SO_SUFFIX="dll"
44126 SO_SUFFIX_MODULE="dll"
44127 DLLIMP_SUFFIX="dll.a"
44128 EXEEXT=".exe"
44129 DLLPREFIX="cyg"
44130 dlldir="$bindir"
44131 ;;
44132 *-*-mingw32* )
44133 SO_SUFFIX="dll"
44134 SO_SUFFIX_MODULE="dll"
44135 DLLIMP_SUFFIX="dll.a"
44136 EXEEXT=".exe"
44137 DLLPREFIX=""
44138 dlldir="$bindir"
44139 ;;
44140 *-pc-msdosdjgpp )
44141 EXEEXT=".exe"
44142 DLLPREFIX=""
44143 dlldir="$bindir"
44144 ;;
44145 *-pc-os2_emx | *-pc-os2-emx )
44146 SO_SUFFIX="dll"
44147 SO_SUFFIX_MODULE="dll"
44148 DLLIMP_SUFFIX=$OS2_LIBEXT
44149 EXEEXT=".exe"
44150 DLLPREFIX=""
44151 LIBPREFIX=""
44152 LIBEXT=".$OS2_LIBEXT"
44153 dlldir="$bindir"
44154 ;;
44155 *-*-darwin* )
44156 SO_SUFFIX="dylib"
44157 SO_SUFFIX_MODULE="bundle"
44158 ;;
44159 esac
44160
44161 if test "x$DLLIMP_SUFFIX" = "x" ; then
44162 DLLIMP_SUFFIX="$SO_SUFFIX"
44163 fi
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176 PIC_FLAG=""
44177 if test "x$GCC" = "xyes"; then
44178 PIC_FLAG="-fPIC"
44179 fi
44180
44181 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
44182 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
44183 WINDOWS_IMPLIB=0
44184
44185 case "${BAKEFILE_HOST}" in
44186 *-hp-hpux* )
44187 if test "x$GCC" != "xyes"; then
44188 LDFLAGS="$LDFLAGS -L/usr/lib"
44189
44190 SHARED_LD_CC="${CC} -b -o"
44191 SHARED_LD_CXX="${CXX} -b -o"
44192 PIC_FLAG="+Z"
44193 fi
44194 ;;
44195
44196 *-*-linux* )
44197 if test "x$GCC" != "xyes"; then
44198 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44199 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44200 if test "${bakefile_cv_prog_icc+set}" = set; then
44201 echo $ECHO_N "(cached) $ECHO_C" >&6
44202 else
44203
44204 cat >conftest.$ac_ext <<_ACEOF
44205 /* confdefs.h. */
44206 _ACEOF
44207 cat confdefs.h >>conftest.$ac_ext
44208 cat >>conftest.$ac_ext <<_ACEOF
44209 /* end confdefs.h. */
44210
44211 int
44212 main ()
44213 {
44214
44215 #ifndef __INTEL_COMPILER
44216 #error Not icc
44217 #endif
44218
44219 ;
44220 return 0;
44221 }
44222 _ACEOF
44223 rm -f conftest.$ac_objext
44224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44225 (eval $ac_compile) 2>conftest.er1
44226 ac_status=$?
44227 grep -v '^ *+' conftest.er1 >conftest.err
44228 rm -f conftest.er1
44229 cat conftest.err >&5
44230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44231 (exit $ac_status); } &&
44232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44234 (eval $ac_try) 2>&5
44235 ac_status=$?
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); }; } &&
44238 { ac_try='test -s conftest.$ac_objext'
44239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240 (eval $ac_try) 2>&5
44241 ac_status=$?
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; }; then
44244 bakefile_cv_prog_icc=yes
44245 else
44246 echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.$ac_ext >&5
44248
44249 bakefile_cv_prog_icc=no
44250
44251 fi
44252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44253
44254 fi
44255 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44256 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44257 if test "$bakefile_cv_prog_icc" = "yes"; then
44258 PIC_FLAG="-KPIC"
44259 fi
44260 fi
44261 ;;
44262
44263 *-*-solaris2* )
44264 if test "x$GCC" != xyes ; then
44265 SHARED_LD_CC="${CC} -G -o"
44266 SHARED_LD_CXX="${CXX} -G -o"
44267 PIC_FLAG="-KPIC"
44268 fi
44269 ;;
44270
44271 *-*-darwin* )
44272
44273 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44274 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44275 if test "${bakefile_cv_gcc31+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 else
44278
44279 cat >conftest.$ac_ext <<_ACEOF
44280 /* confdefs.h. */
44281 _ACEOF
44282 cat confdefs.h >>conftest.$ac_ext
44283 cat >>conftest.$ac_ext <<_ACEOF
44284 /* end confdefs.h. */
44285
44286 int
44287 main ()
44288 {
44289
44290 #if (__GNUC__ < 3) || \
44291 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44292 #error old gcc
44293 #endif
44294
44295 ;
44296 return 0;
44297 }
44298 _ACEOF
44299 rm -f conftest.$ac_objext
44300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44301 (eval $ac_compile) 2>conftest.er1
44302 ac_status=$?
44303 grep -v '^ *+' conftest.er1 >conftest.err
44304 rm -f conftest.er1
44305 cat conftest.err >&5
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); } &&
44308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44310 (eval $ac_try) 2>&5
44311 ac_status=$?
44312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44313 (exit $ac_status); }; } &&
44314 { ac_try='test -s conftest.$ac_objext'
44315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44316 (eval $ac_try) 2>&5
44317 ac_status=$?
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); }; }; then
44320
44321 bakefile_cv_gcc31=yes
44322
44323 else
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44326
44327
44328 bakefile_cv_gcc31=no
44329
44330
44331 fi
44332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44333
44334 fi
44335 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44336 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44337 if test "$bakefile_cv_gcc31" = "no"; then
44338
44339 D='$'
44340 cat <<EOF >shared-ld-sh
44341 #!/bin/sh
44342 #-----------------------------------------------------------------------------
44343 #-- Name: distrib/mac/shared-ld-sh
44344 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44345 #-- Author: Gilles Depeyrot
44346 #-- Copyright: (c) 2002 Gilles Depeyrot
44347 #-- Licence: any use permitted
44348 #-----------------------------------------------------------------------------
44349
44350 verbose=0
44351 args=""
44352 objects=""
44353 linking_flag="-dynamiclib"
44354 ldargs="-r -keep_private_externs -nostdlib"
44355
44356 while test ${D}# -gt 0; do
44357 case ${D}1 in
44358
44359 -v)
44360 verbose=1
44361 ;;
44362
44363 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44364 # collect these options and values
44365 args="${D}{args} ${D}1 ${D}2"
44366 shift
44367 ;;
44368
44369 -s|-Wl,*)
44370 # collect these load args
44371 ldargs="${D}{ldargs} ${D}1"
44372 ;;
44373
44374 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44375 # collect these options
44376 args="${D}{args} ${D}1"
44377 ;;
44378
44379 -dynamiclib|-bundle)
44380 linking_flag="${D}1"
44381 ;;
44382
44383 -*)
44384 echo "shared-ld: unhandled option '${D}1'"
44385 exit 1
44386 ;;
44387
44388 *.o | *.a | *.dylib)
44389 # collect object files
44390 objects="${D}{objects} ${D}1"
44391 ;;
44392
44393 *)
44394 echo "shared-ld: unhandled argument '${D}1'"
44395 exit 1
44396 ;;
44397
44398 esac
44399 shift
44400 done
44401
44402 status=0
44403
44404 #
44405 # Link one module containing all the others
44406 #
44407 if test ${D}{verbose} = 1; then
44408 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44409 fi
44410 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44411 status=${D}?
44412
44413 #
44414 # Link the shared library from the single module created, but only if the
44415 # previous command didn't fail:
44416 #
44417 if test ${D}{status} = 0; then
44418 if test ${D}{verbose} = 1; then
44419 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44420 fi
44421 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44422 status=${D}?
44423 fi
44424
44425 #
44426 # Remove intermediate module
44427 #
44428 rm -f master.${D}${D}.o
44429
44430 exit ${D}status
44431 EOF
44432
44433 chmod +x shared-ld-sh
44434
44435 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44436 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44437 SHARED_LD_CXX="$SHARED_LD_CC"
44438 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
44439 else
44440 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44441 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
44442 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44443 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
44444 fi
44445
44446 if test "x$GCC" == "xyes"; then
44447 PIC_FLAG="-dynamic -fPIC"
44448 fi
44449 if test "x$XLCC" = "xyes"; then
44450 PIC_FLAG="-dynamic -DPIC"
44451 fi
44452 ;;
44453
44454 *-*-aix* )
44455 if test "x$GCC" = "xyes"; then
44456 PIC_FLAG=""
44457
44458 case "${BAKEFILE_HOST}" in
44459 *-*-aix5* )
44460 LD_EXPFULL="-Wl,-bexpfull"
44461 ;;
44462 esac
44463
44464 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
44465 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
44466 else
44467 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44468 set dummy makeC++SharedLib; ac_word=$2
44469 echo "$as_me:$LINENO: checking for $ac_word" >&5
44470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44471 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44473 else
44474 if test -n "$AIX_CXX_LD"; then
44475 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
44476 else
44477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44478 for as_dir in $PATH
44479 do
44480 IFS=$as_save_IFS
44481 test -z "$as_dir" && as_dir=.
44482 for ac_exec_ext in '' $ac_executable_extensions; do
44483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44484 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
44485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44486 break 2
44487 fi
44488 done
44489 done
44490
44491 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
44492 fi
44493 fi
44494 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
44495 if test -n "$AIX_CXX_LD"; then
44496 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44497 echo "${ECHO_T}$AIX_CXX_LD" >&6
44498 else
44499 echo "$as_me:$LINENO: result: no" >&5
44500 echo "${ECHO_T}no" >&6
44501 fi
44502
44503 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
44504 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
44505 fi
44506 ;;
44507
44508 *-*-beos* )
44509 SHARED_LD_CC="${LD} -nostart -o"
44510 SHARED_LD_CXX="${LD} -nostart -o"
44511 ;;
44512
44513 *-*-irix* )
44514 if test "x$GCC" != "xyes"; then
44515 PIC_FLAG="-KPIC"
44516 fi
44517 ;;
44518
44519 *-*-cygwin* | *-*-mingw32* )
44520 PIC_FLAG=""
44521 SHARED_LD_CC="\$(CC) -shared -o"
44522 SHARED_LD_CXX="\$(CXX) -shared -o"
44523 WINDOWS_IMPLIB=1
44524 ;;
44525
44526 *-pc-os2_emx | *-pc-os2-emx )
44527 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44528 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44529 PIC_FLAG=""
44530
44531 D='$'
44532 cat <<EOF >dllar.sh
44533 #!/bin/sh
44534 #
44535 # dllar - a tool to build both a .dll and an .a file
44536 # from a set of object (.o) files for EMX/OS2.
44537 #
44538 # Written by Andrew Zabolotny, bit@freya.etu.ru
44539 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44540 #
44541 # This script will accept a set of files on the command line.
44542 # All the public symbols from the .o files will be exported into
44543 # a .DEF file, then linker will be run (through gcc) against them to
44544 # build a shared library consisting of all given .o files. All libraries
44545 # (.a) will be first decompressed into component .o files then act as
44546 # described above. You can optionally give a description (-d "description")
44547 # which will be put into .DLL. To see the list of accepted options (as well
44548 # as command-line format) simply run this program without options. The .DLL
44549 # is built to be imported by name (there is no guarantee that new versions
44550 # of the library you build will have same ordinals for same symbols).
44551 #
44552 # dllar is free software; you can redistribute it and/or modify
44553 # it under the terms of the GNU General Public License as published by
44554 # the Free Software Foundation; either version 2, or (at your option)
44555 # any later version.
44556 #
44557 # dllar is distributed in the hope that it will be useful,
44558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44560 # GNU General Public License for more details.
44561 #
44562 # You should have received a copy of the GNU General Public License
44563 # along with dllar; see the file COPYING. If not, write to the Free
44564 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44565 # 02111-1307, USA.
44566
44567 # To successfuly run this program you will need:
44568 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44569 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44570 # - gcc
44571 # (used to build the .dll)
44572 # - emxexp
44573 # (used to create .def file from .o files)
44574 # - emximp
44575 # (used to create .a file from .def file)
44576 # - GNU text utilites (cat, sort, uniq)
44577 # used to process emxexp output
44578 # - GNU file utilities (mv, rm)
44579 # - GNU sed
44580 # - lxlite (optional, see flag below)
44581 # (used for general .dll cleanup)
44582 #
44583
44584 flag_USE_LXLITE=1;
44585
44586 #
44587 # helper functions
44588 # basnam, variant of basename, which does _not_ remove the path, _iff_
44589 # second argument (suffix to remove) is given
44590 basnam(){
44591 case ${D}# in
44592 1)
44593 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44594 ;;
44595 2)
44596 echo ${D}1 | sed 's/'${D}2'${D}//'
44597 ;;
44598 *)
44599 echo "error in basnam ${D}*"
44600 exit 8
44601 ;;
44602 esac
44603 }
44604
44605 # Cleanup temporary files and output
44606 CleanUp() {
44607 cd ${D}curDir
44608 for i in ${D}inputFiles ; do
44609 case ${D}i in
44610 *!)
44611 rm -rf \`basnam ${D}i !\`
44612 ;;
44613 *)
44614 ;;
44615 esac
44616 done
44617
44618 # Kill result in case of failure as there is just to many stupid make/nmake
44619 # things out there which doesn't do this.
44620 if [ ${D}# -eq 0 ]; then
44621 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44622 fi
44623 }
44624
44625 # Print usage and exit script with rc=1.
44626 PrintHelp() {
44627 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44628 echo ' [-name-mangler-script script.sh]'
44629 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44630 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44631 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44632 echo ' [*.o] [*.a]'
44633 echo '*> "output_file" should have no extension.'
44634 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44635 echo ' The import library name is derived from this and is set to "name".a,'
44636 echo ' unless overridden by -import'
44637 echo '*> "importlib_name" should have no extension.'
44638 echo ' If it has the .o, or .a extension, it is automatically removed.'
44639 echo ' This name is used as the import library name and may be longer and'
44640 echo ' more descriptive than the DLL name which has to follow the old '
44641 echo ' 8.3 convention of FAT.'
44642 echo '*> "script.sh may be given to override the output_file name by a'
44643 echo ' different name. It is mainly useful if the regular make process'
44644 echo ' of some package does not take into account OS/2 restriction of'
44645 echo ' DLL name lengths. It takes the importlib name as input and is'
44646 echo ' supposed to procude a shorter name as output. The script should'
44647 echo ' expect to get importlib_name without extension and should produce'
44648 echo ' a (max.) 8 letter name without extension.'
44649 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44650 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44651 echo ' These flags will be put at the start of GCC command line.'
44652 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44653 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44654 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44655 echo ' If the last character of a symbol is "*", all symbols beginning'
44656 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44657 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44658 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44659 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44660 echo ' C runtime DLLs.'
44661 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44662 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44663 echo ' unchanged to GCC at the end of command line.'
44664 echo '*> If you create a DLL from a library and you do not specify -o,'
44665 echo ' the basename for DLL and import library will be set to library name,'
44666 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44667 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44668 echo ' library will be renamed into gcc_s.a.'
44669 echo '--------'
44670 echo 'Example:'
44671 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44672 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44673 CleanUp
44674 exit 1
44675 }
44676
44677 # Execute a command.
44678 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44679 # @Uses Whatever CleanUp() uses.
44680 doCommand() {
44681 echo "${D}*"
44682 eval ${D}*
44683 rcCmd=${D}?
44684
44685 if [ ${D}rcCmd -ne 0 ]; then
44686 echo "command failed, exit code="${D}rcCmd
44687 CleanUp
44688 exit ${D}rcCmd
44689 fi
44690 }
44691
44692 # main routine
44693 # setup globals
44694 cmdLine=${D}*
44695 outFile=""
44696 outimpFile=""
44697 inputFiles=""
44698 renameScript=""
44699 description=""
44700 CC=gcc.exe
44701 CFLAGS="-s -Zcrtdll"
44702 EXTRA_CFLAGS=""
44703 EXPORT_BY_ORDINALS=0
44704 exclude_symbols=""
44705 library_flags=""
44706 curDir=\`pwd\`
44707 curDirS=curDir
44708 case ${D}curDirS in
44709 */)
44710 ;;
44711 *)
44712 curDirS=${D}{curDirS}"/"
44713 ;;
44714 esac
44715 # Parse commandline
44716 libsToLink=0
44717 omfLinking=0
44718 while [ ${D}1 ]; do
44719 case ${D}1 in
44720 -ord*)
44721 EXPORT_BY_ORDINALS=1;
44722 ;;
44723 -o*)
44724 shift
44725 outFile=${D}1
44726 ;;
44727 -i*)
44728 shift
44729 outimpFile=${D}1
44730 ;;
44731 -name-mangler-script)
44732 shift
44733 renameScript=${D}1
44734 ;;
44735 -d*)
44736 shift
44737 description=${D}1
44738 ;;
44739 -f*)
44740 shift
44741 CFLAGS=${D}1
44742 ;;
44743 -c*)
44744 shift
44745 CC=${D}1
44746 ;;
44747 -h*)
44748 PrintHelp
44749 ;;
44750 -ex*)
44751 shift
44752 exclude_symbols=${D}{exclude_symbols}${D}1" "
44753 ;;
44754 -libf*)
44755 shift
44756 library_flags=${D}{library_flags}${D}1" "
44757 ;;
44758 -nocrt*)
44759 CFLAGS="-s"
44760 ;;
44761 -nolxl*)
44762 flag_USE_LXLITE=0
44763 ;;
44764 -* | /*)
44765 case ${D}1 in
44766 -L* | -l*)
44767 libsToLink=1
44768 ;;
44769 -Zomf)
44770 omfLinking=1
44771 ;;
44772 *)
44773 ;;
44774 esac
44775 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44776 ;;
44777 *.dll)
44778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44779 if [ ${D}omfLinking -eq 1 ]; then
44780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44781 else
44782 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44783 fi
44784 ;;
44785 *)
44786 found=0;
44787 if [ ${D}libsToLink -ne 0 ]; then
44788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44789 else
44790 for file in ${D}1 ; do
44791 if [ -f ${D}file ]; then
44792 inputFiles="${D}{inputFiles} ${D}file"
44793 found=1
44794 fi
44795 done
44796 if [ ${D}found -eq 0 ]; then
44797 echo "ERROR: No file(s) found: "${D}1
44798 exit 8
44799 fi
44800 fi
44801 ;;
44802 esac
44803 shift
44804 done # iterate cmdline words
44805
44806 #
44807 if [ -z "${D}inputFiles" ]; then
44808 echo "dllar: no input files"
44809 PrintHelp
44810 fi
44811
44812 # Now extract all .o files from .a files
44813 newInputFiles=""
44814 for file in ${D}inputFiles ; do
44815 case ${D}file in
44816 *.a | *.lib)
44817 case ${D}file in
44818 *.a)
44819 suffix=".a"
44820 AR="ar"
44821 ;;
44822 *.lib)
44823 suffix=".lib"
44824 AR="emxomfar"
44825 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44826 ;;
44827 *)
44828 ;;
44829 esac
44830 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44831 mkdir ${D}dirname
44832 if [ ${D}? -ne 0 ]; then
44833 echo "Failed to create subdirectory ./${D}dirname"
44834 CleanUp
44835 exit 8;
44836 fi
44837 # Append '!' to indicate archive
44838 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44839 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44840 cd ${D}curDir
44841 found=0;
44842 for subfile in ${D}dirname/*.o* ; do
44843 if [ -f ${D}subfile ]; then
44844 found=1
44845 if [ -s ${D}subfile ]; then
44846 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44847 newInputFiles="${D}newInputFiles ${D}subfile"
44848 fi
44849 fi
44850 done
44851 if [ ${D}found -eq 0 ]; then
44852 echo "WARNING: there are no files in archive \\'${D}file\\'"
44853 fi
44854 ;;
44855 *)
44856 newInputFiles="${D}{newInputFiles} ${D}file"
44857 ;;
44858 esac
44859 done
44860 inputFiles="${D}newInputFiles"
44861
44862 # Output filename(s).
44863 do_backup=0;
44864 if [ -z ${D}outFile ]; then
44865 do_backup=1;
44866 set outFile ${D}inputFiles; outFile=${D}2
44867 fi
44868
44869 # If it is an archive, remove the '!' and the '_%' suffixes
44870 case ${D}outFile in
44871 *_%!)
44872 outFile=\`basnam ${D}outFile _%!\`
44873 ;;
44874 *)
44875 ;;
44876 esac
44877 case ${D}outFile in
44878 *.dll)
44879 outFile=\`basnam ${D}outFile .dll\`
44880 ;;
44881 *.DLL)
44882 outFile=\`basnam ${D}outFile .DLL\`
44883 ;;
44884 *.o)
44885 outFile=\`basnam ${D}outFile .o\`
44886 ;;
44887 *.obj)
44888 outFile=\`basnam ${D}outFile .obj\`
44889 ;;
44890 *.a)
44891 outFile=\`basnam ${D}outFile .a\`
44892 ;;
44893 *.lib)
44894 outFile=\`basnam ${D}outFile .lib\`
44895 ;;
44896 *)
44897 ;;
44898 esac
44899 case ${D}outimpFile in
44900 *.a)
44901 outimpFile=\`basnam ${D}outimpFile .a\`
44902 ;;
44903 *.lib)
44904 outimpFile=\`basnam ${D}outimpFile .lib\`
44905 ;;
44906 *)
44907 ;;
44908 esac
44909 if [ -z ${D}outimpFile ]; then
44910 outimpFile=${D}outFile
44911 fi
44912 defFile="${D}{outFile}.def"
44913 arcFile="${D}{outimpFile}.a"
44914 arcFile2="${D}{outimpFile}.lib"
44915
44916 #create ${D}dllFile as something matching 8.3 restrictions,
44917 if [ -z ${D}renameScript ] ; then
44918 dllFile="${D}outFile"
44919 else
44920 dllFile=\`${D}renameScript ${D}outimpFile\`
44921 fi
44922
44923 if [ ${D}do_backup -ne 0 ] ; then
44924 if [ -f ${D}arcFile ] ; then
44925 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44926 fi
44927 if [ -f ${D}arcFile2 ] ; then
44928 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44929 fi
44930 fi
44931
44932 # Extract public symbols from all the object files.
44933 tmpdefFile=${D}{defFile}_%
44934 rm -f ${D}tmpdefFile
44935 for file in ${D}inputFiles ; do
44936 case ${D}file in
44937 *!)
44938 ;;
44939 *)
44940 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44941 ;;
44942 esac
44943 done
44944
44945 # Create the def file.
44946 rm -f ${D}defFile
44947 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44948 dllFile="${D}{dllFile}.dll"
44949 if [ ! -z ${D}description ]; then
44950 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44951 fi
44952 echo "EXPORTS" >> ${D}defFile
44953
44954 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44955 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44956
44957 # Checks if the export is ok or not.
44958 for word in ${D}exclude_symbols; do
44959 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44960 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44961 done
44962
44963
44964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44965 sed "=" < ${D}tmpdefFile | \\
44966 sed '
44967 N
44968 : loop
44969 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44970 t loop
44971 ' > ${D}{tmpdefFile}%
44972 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44973 else
44974 rm -f ${D}{tmpdefFile}%
44975 fi
44976 cat ${D}tmpdefFile >> ${D}defFile
44977 rm -f ${D}tmpdefFile
44978
44979 # Do linking, create implib, and apply lxlite.
44980 gccCmdl="";
44981 for file in ${D}inputFiles ; do
44982 case ${D}file in
44983 *!)
44984 ;;
44985 *)
44986 gccCmdl="${D}gccCmdl ${D}file"
44987 ;;
44988 esac
44989 done
44990 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44991 touch "${D}{outFile}.dll"
44992
44993 doCommand "emximp -o ${D}arcFile ${D}defFile"
44994 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44995 add_flags="";
44996 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44997 add_flags="-ynd"
44998 fi
44999 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45000 fi
45001 doCommand "emxomf -s -l ${D}arcFile"
45002
45003 # Successful exit.
45004 CleanUp 1
45005 exit 0
45006 EOF
45007
45008 chmod +x dllar.sh
45009 ;;
45010
45011 powerpc-apple-macos* | \
45012 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
45013 *-*-sunos4* | \
45014 *-*-osf* | \
45015 *-*-dgux5* | \
45016 *-*-sysv5* | \
45017 *-pc-msdosdjgpp )
45018 ;;
45019
45020 *)
45021 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45022 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45023 { (exit 1); exit 1; }; }
45024 esac
45025
45026 if test "x$PIC_FLAG" != "x" ; then
45027 PIC_FLAG="$PIC_FLAG -DPIC"
45028 fi
45029
45030 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45031 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
45032 fi
45033 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45034 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
45035 fi
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045 USE_SOVERSION=0
45046 USE_SOVERLINUX=0
45047 USE_SOVERSOLARIS=0
45048 USE_SOVERCYGWIN=0
45049 USE_SOSYMLINKS=0
45050 USE_MACVERSION=0
45051 SONAME_FLAG=
45052
45053 case "${BAKEFILE_HOST}" in
45054 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
45055 SONAME_FLAG="-Wl,-soname,"
45056 USE_SOVERSION=1
45057 USE_SOVERLINUX=1
45058 USE_SOSYMLINKS=1
45059 ;;
45060
45061 *-*-solaris2* )
45062 SONAME_FLAG="-h "
45063 USE_SOVERSION=1
45064 USE_SOVERSOLARIS=1
45065 USE_SOSYMLINKS=1
45066 ;;
45067
45068 *-*-darwin* )
45069 USE_MACVERSION=1
45070 USE_SOVERSION=1
45071 USE_SOSYMLINKS=1
45072 ;;
45073
45074 *-*-cygwin* )
45075 USE_SOVERSION=1
45076 USE_SOVERCYGWIN=1
45077 ;;
45078 esac
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45090 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45091 DEPS_TRACKING=1
45092
45093 if test "x$GCC" = "xyes"; then
45094 DEPSMODE=gcc
45095 case "${BAKEFILE_HOST}" in
45096 *-*-darwin* )
45097 DEPSFLAG="-no-cpp-precomp -MMD"
45098 ;;
45099 * )
45100 DEPSFLAG="-MMD"
45101 ;;
45102 esac
45103 echo "$as_me:$LINENO: result: gcc" >&5
45104 echo "${ECHO_T}gcc" >&6
45105 elif test "x$MWCC" = "xyes"; then
45106 DEPSMODE=mwcc
45107 DEPSFLAG="-MM"
45108 echo "$as_me:$LINENO: result: mwcc" >&5
45109 echo "${ECHO_T}mwcc" >&6
45110 elif test "x$SUNCC" = "xyes"; then
45111 DEPSMODE=unixcc
45112 DEPSFLAG="-xM1"
45113 echo "$as_me:$LINENO: result: Sun cc" >&5
45114 echo "${ECHO_T}Sun cc" >&6
45115 elif test "x$SGICC" = "xyes"; then
45116 DEPSMODE=unixcc
45117 DEPSFLAG="-M"
45118 echo "$as_me:$LINENO: result: SGI cc" >&5
45119 echo "${ECHO_T}SGI cc" >&6
45120 elif test "x$HPCC" = "xyes"; then
45121 DEPSMODE=unixcc
45122 DEPSFLAG="+make"
45123 echo "$as_me:$LINENO: result: HP cc" >&5
45124 echo "${ECHO_T}HP cc" >&6
45125 elif test "x$COMPAQCC" = "xyes"; then
45126 DEPSMODE=gcc
45127 DEPSFLAG="-MD"
45128 echo "$as_me:$LINENO: result: Compaq cc" >&5
45129 echo "${ECHO_T}Compaq cc" >&6
45130 else
45131 DEPS_TRACKING=0
45132 echo "$as_me:$LINENO: result: none" >&5
45133 echo "${ECHO_T}none" >&6
45134 fi
45135
45136 if test $DEPS_TRACKING = 1 ; then
45137
45138 D='$'
45139 cat <<EOF >bk-deps
45140 #!/bin/sh
45141
45142 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45143 # script. It is used to track C/C++ files dependencies in portable way.
45144 #
45145 # Permission is given to use this file in any way.
45146
45147 DEPSMODE=${DEPSMODE}
45148 DEPSDIR=.deps
45149 DEPSFLAG="${DEPSFLAG}"
45150
45151 mkdir -p ${D}DEPSDIR
45152
45153 if test ${D}DEPSMODE = gcc ; then
45154 ${D}* ${D}{DEPSFLAG}
45155 status=${D}?
45156 if test ${D}{status} != 0 ; then
45157 exit ${D}{status}
45158 fi
45159 # move created file to the location we want it in:
45160 while test ${D}# -gt 0; do
45161 case "${D}1" in
45162 -o )
45163 shift
45164 objfile=${D}1
45165 ;;
45166 -* )
45167 ;;
45168 * )
45169 srcfile=${D}1
45170 ;;
45171 esac
45172 shift
45173 done
45174 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45175 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45176 if test -f ${D}depfile ; then
45177 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45178 rm -f ${D}depfile
45179 else
45180 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45181 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45182 if test ! -f ${D}depfile ; then
45183 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45184 depfile="${D}objfile.d"
45185 fi
45186 if test -f ${D}depfile ; then
45187 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45188 rm -f ${D}depfile
45189 fi
45190 fi
45191 exit 0
45192 elif test ${D}DEPSMODE = mwcc ; then
45193 ${D}* || exit ${D}?
45194 # Run mwcc again with -MM and redirect into the dep file we want
45195 # NOTE: We can't use shift here because we need ${D}* to be valid
45196 prevarg=
45197 for arg in ${D}* ; do
45198 if test "${D}prevarg" = "-o"; then
45199 objfile=${D}arg
45200 else
45201 case "${D}arg" in
45202 -* )
45203 ;;
45204 * )
45205 srcfile=${D}arg
45206 ;;
45207 esac
45208 fi
45209 prevarg="${D}arg"
45210 done
45211 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45212 exit 0
45213 elif test ${D}DEPSMODE = unixcc; then
45214 ${D}* || exit ${D}?
45215 # Run compiler again with deps flag and redirect into the dep file.
45216 # It doesn't work if the '-o FILE' option is used, but without it the
45217 # dependency file will contain the wrong name for the object. So it is
45218 # removed from the command line, and the dep file is fixed with sed.
45219 cmd=""
45220 while test ${D}# -gt 0; do
45221 case "${D}1" in
45222 -o )
45223 shift
45224 objfile=${D}1
45225 ;;
45226 * )
45227 eval arg${D}#=\\${D}1
45228 cmd="${D}cmd \\${D}arg${D}#"
45229 ;;
45230 esac
45231 shift
45232 done
45233 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45234 exit 0
45235 else
45236 ${D}*
45237 exit ${D}?
45238 fi
45239 EOF
45240
45241 chmod +x bk-deps
45242 fi
45243
45244
45245
45246
45247 RESCOMP=
45248 SETFILE=
45249
45250 case ${BAKEFILE_HOST} in
45251 *-*-cygwin* | *-*-mingw32* )
45252 if test "$build" != "$host" ; then
45253 RESCOMP=$host_alias-windres
45254 else
45255 # Extract the first word of "windres", so it can be a program name with args.
45256 set dummy windres; ac_word=$2
45257 echo "$as_me:$LINENO: checking for $ac_word" >&5
45258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45259 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45260 echo $ECHO_N "(cached) $ECHO_C" >&6
45261 else
45262 if test -n "$RESCOMP"; then
45263 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45264 else
45265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45266 for as_dir in $PATH
45267 do
45268 IFS=$as_save_IFS
45269 test -z "$as_dir" && as_dir=.
45270 for ac_exec_ext in '' $ac_executable_extensions; do
45271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45272 ac_cv_prog_RESCOMP="windres"
45273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45274 break 2
45275 fi
45276 done
45277 done
45278
45279 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
45280 fi
45281 fi
45282 RESCOMP=$ac_cv_prog_RESCOMP
45283 if test -n "$RESCOMP"; then
45284 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45285 echo "${ECHO_T}$RESCOMP" >&6
45286 else
45287 echo "$as_me:$LINENO: result: no" >&5
45288 echo "${ECHO_T}no" >&6
45289 fi
45290
45291 fi
45292 ;;
45293
45294 *-*-darwin* | powerpc-apple-macos* )
45295 # Extract the first word of "Rez", so it can be a program name with args.
45296 set dummy Rez; ac_word=$2
45297 echo "$as_me:$LINENO: checking for $ac_word" >&5
45298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45299 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45300 echo $ECHO_N "(cached) $ECHO_C" >&6
45301 else
45302 if test -n "$RESCOMP"; then
45303 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45304 else
45305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45306 for as_dir in $PATH
45307 do
45308 IFS=$as_save_IFS
45309 test -z "$as_dir" && as_dir=.
45310 for ac_exec_ext in '' $ac_executable_extensions; do
45311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45312 ac_cv_prog_RESCOMP="Rez"
45313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45314 break 2
45315 fi
45316 done
45317 done
45318
45319 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
45320 fi
45321 fi
45322 RESCOMP=$ac_cv_prog_RESCOMP
45323 if test -n "$RESCOMP"; then
45324 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45325 echo "${ECHO_T}$RESCOMP" >&6
45326 else
45327 echo "$as_me:$LINENO: result: no" >&5
45328 echo "${ECHO_T}no" >&6
45329 fi
45330
45331 # Extract the first word of "SetFile", so it can be a program name with args.
45332 set dummy SetFile; ac_word=$2
45333 echo "$as_me:$LINENO: checking for $ac_word" >&5
45334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45335 if test "${ac_cv_prog_SETFILE+set}" = set; then
45336 echo $ECHO_N "(cached) $ECHO_C" >&6
45337 else
45338 if test -n "$SETFILE"; then
45339 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
45340 else
45341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45342 for as_dir in $PATH
45343 do
45344 IFS=$as_save_IFS
45345 test -z "$as_dir" && as_dir=.
45346 for ac_exec_ext in '' $ac_executable_extensions; do
45347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45348 ac_cv_prog_SETFILE="SetFile"
45349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45350 break 2
45351 fi
45352 done
45353 done
45354
45355 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
45356 fi
45357 fi
45358 SETFILE=$ac_cv_prog_SETFILE
45359 if test -n "$SETFILE"; then
45360 echo "$as_me:$LINENO: result: $SETFILE" >&5
45361 echo "${ECHO_T}$SETFILE" >&6
45362 else
45363 echo "$as_me:$LINENO: result: no" >&5
45364 echo "${ECHO_T}no" >&6
45365 fi
45366
45367 ;;
45368 esac
45369
45370
45371
45372
45373
45374 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
45375
45376
45377 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
45378
45379
45380
45381 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45382 if test "${enable_precomp_headers+set}" = set; then
45383 enableval="$enable_precomp_headers"
45384 bk_use_pch="$enableval"
45385 fi;
45386
45387 GCC_PCH=0
45388
45389 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45390 if test "x$GCC" = "xyes"; then
45391 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45392 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45393 cat >conftest.$ac_ext <<_ACEOF
45394 /* confdefs.h. */
45395 _ACEOF
45396 cat confdefs.h >>conftest.$ac_ext
45397 cat >>conftest.$ac_ext <<_ACEOF
45398 /* end confdefs.h. */
45399
45400 int
45401 main ()
45402 {
45403
45404 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45405 #error "no pch support"
45406 #endif
45407 #if (__GNUC__ < 3)
45408 #error "no pch support"
45409 #endif
45410 #if (__GNUC__ == 3) && \
45411 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45412 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45413 #error "no pch support"
45414 #endif
45415
45416 ;
45417 return 0;
45418 }
45419 _ACEOF
45420 rm -f conftest.$ac_objext
45421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45422 (eval $ac_compile) 2>conftest.er1
45423 ac_status=$?
45424 grep -v '^ *+' conftest.er1 >conftest.err
45425 rm -f conftest.er1
45426 cat conftest.err >&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); } &&
45429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45431 (eval $ac_try) 2>&5
45432 ac_status=$?
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); }; } &&
45435 { ac_try='test -s conftest.$ac_objext'
45436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45437 (eval $ac_try) 2>&5
45438 ac_status=$?
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); }; }; then
45441
45442 echo "$as_me:$LINENO: result: yes" >&5
45443 echo "${ECHO_T}yes" >&6
45444 GCC_PCH=1
45445
45446 else
45447 echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.$ac_ext >&5
45449
45450
45451 echo "$as_me:$LINENO: result: no" >&5
45452 echo "${ECHO_T}no" >&6
45453
45454 fi
45455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45456 if test $GCC_PCH = 1 ; then
45457
45458 D='$'
45459 cat <<EOF >bk-make-pch
45460 #!/bin/sh
45461
45462 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45463 # script. It is used to generated precompiled headers.
45464 #
45465 # Permission is given to use this file in any way.
45466
45467 outfile="${D}{1}"
45468 header="${D}{2}"
45469 shift
45470 shift
45471
45472 compiler=
45473 headerfile=
45474 while test ${D}{#} -gt 0; do
45475 case "${D}{1}" in
45476 -I* )
45477 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45478 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45479 headerfile="${D}{incdir}/${D}{header}"
45480 fi
45481 ;;
45482 esac
45483 compiler="${D}{compiler} ${D}{1}"
45484 shift
45485 done
45486
45487 if test "x${D}{headerfile}" = "x" ; then
45488 echo "error: can't find header ${D}{header} in include paths" >2
45489 else
45490 if test -f ${D}{outfile} ; then
45491 rm -f ${D}{outfile}
45492 else
45493 mkdir -p \`dirname ${D}{outfile}\`
45494 fi
45495 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45496 mkdir -p .deps
45497 # can do this because gcc is >= 3.4:
45498 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45499 exit ${D}{?}
45500 fi
45501 EOF
45502
45503 chmod +x bk-make-pch
45504 fi
45505 fi
45506 fi
45507
45508
45509
45510 COND_BUILD_DEBUG="#"
45511 if test "x$BUILD" = "xdebug" ; then
45512 COND_BUILD_DEBUG=""
45513 fi
45514
45515 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
45516 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45517 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
45518 fi
45519
45520 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
45521 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45522 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
45523 fi
45524
45525 COND_BUILD_DEBUG_UNICODE_0="#"
45526 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45527 COND_BUILD_DEBUG_UNICODE_0=""
45528 fi
45529
45530 COND_BUILD_DEBUG_UNICODE_1="#"
45531 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45532 COND_BUILD_DEBUG_UNICODE_1=""
45533 fi
45534
45535 COND_BUILD_RELEASE="#"
45536 if test "x$BUILD" = "xrelease" ; then
45537 COND_BUILD_RELEASE=""
45538 fi
45539
45540 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
45541 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45542 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
45543 fi
45544
45545 COND_BUILD_RELEASE_UNICODE_0="#"
45546 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45547 COND_BUILD_RELEASE_UNICODE_0=""
45548 fi
45549
45550 COND_BUILD_RELEASE_UNICODE_1="#"
45551 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45552 COND_BUILD_RELEASE_UNICODE_1=""
45553 fi
45554
45555 COND_DEBUG_FLAG_1="#"
45556 if test "x$DEBUG_FLAG" = "x1" ; then
45557 COND_DEBUG_FLAG_1=""
45558 fi
45559
45560 COND_DEBUG_INFO_0="#"
45561 if test "x$DEBUG_INFO" = "x0" ; then
45562 COND_DEBUG_INFO_0=""
45563 fi
45564
45565 COND_DEBUG_INFO_1="#"
45566 if test "x$DEBUG_INFO" = "x1" ; then
45567 COND_DEBUG_INFO_1=""
45568 fi
45569
45570 COND_DEPS_TRACKING_0="#"
45571 if test "x$DEPS_TRACKING" = "x0" ; then
45572 COND_DEPS_TRACKING_0=""
45573 fi
45574
45575 COND_DEPS_TRACKING_1="#"
45576 if test "x$DEPS_TRACKING" = "x1" ; then
45577 COND_DEPS_TRACKING_1=""
45578 fi
45579
45580 COND_GCC_PCH_1="#"
45581 if test "x$GCC_PCH" = "x1" ; then
45582 COND_GCC_PCH_1=""
45583 fi
45584
45585 COND_MONOLITHIC_0="#"
45586 if test "x$MONOLITHIC" = "x0" ; then
45587 COND_MONOLITHIC_0=""
45588 fi
45589
45590 COND_MONOLITHIC_0_SHARED_0="#"
45591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45592 COND_MONOLITHIC_0_SHARED_0=""
45593 fi
45594
45595 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
45596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45597 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
45598 fi
45599
45600 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
45601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45602 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
45603 fi
45604
45605 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
45606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45607 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
45608 fi
45609
45610 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
45611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45612 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
45613 fi
45614
45615 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
45616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45617 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
45618 fi
45619
45620 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
45621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45622 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
45623 fi
45624
45625 COND_MONOLITHIC_0_SHARED_1="#"
45626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45627 COND_MONOLITHIC_0_SHARED_1=""
45628 fi
45629
45630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
45631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
45633 fi
45634
45635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
45636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45637 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
45638 fi
45639
45640 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
45641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45642 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
45643 fi
45644
45645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
45646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45647 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
45648 fi
45649
45650 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
45651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45652 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
45653 fi
45654
45655 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
45656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45657 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
45658 fi
45659
45660 COND_MONOLITHIC_0_USE_ODBC_1="#"
45661 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45662 COND_MONOLITHIC_0_USE_ODBC_1=""
45663 fi
45664
45665 COND_MONOLITHIC_1="#"
45666 if test "x$MONOLITHIC" = "x1" ; then
45667 COND_MONOLITHIC_1=""
45668 fi
45669
45670 COND_MONOLITHIC_1_SHARED_0="#"
45671 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45672 COND_MONOLITHIC_1_SHARED_0=""
45673 fi
45674
45675 COND_MONOLITHIC_1_SHARED_1="#"
45676 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45677 COND_MONOLITHIC_1_SHARED_1=""
45678 fi
45679
45680 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
45681 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45682 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
45683 fi
45684
45685 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
45686 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45687 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
45688 fi
45689
45690 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
45691 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45692 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
45693 fi
45694
45695 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
45696 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45697 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
45698 fi
45699
45700 COND_PLATFORM_MACOSX_1="#"
45701 if test "x$PLATFORM_MACOSX" = "x1" ; then
45702 COND_PLATFORM_MACOSX_1=""
45703 fi
45704
45705 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
45706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45707 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
45708 fi
45709
45710 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
45711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45712 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
45713 fi
45714
45715 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
45716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45717 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
45718 fi
45719
45720 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
45721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45722 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
45723 fi
45724
45725 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
45726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45727 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
45728 fi
45729
45730 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45732 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45733 fi
45734
45735 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
45736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45737 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
45738 fi
45739
45740 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
45741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45742 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
45743 fi
45744
45745 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
45746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45747 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
45748 fi
45749
45750 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
45751 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45752 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
45753 fi
45754
45755 COND_PLATFORM_MACOS_1="#"
45756 if test "x$PLATFORM_MACOS" = "x1" ; then
45757 COND_PLATFORM_MACOS_1=""
45758 fi
45759
45760 COND_PLATFORM_MAC_1="#"
45761 if test "x$PLATFORM_MAC" = "x1" ; then
45762 COND_PLATFORM_MAC_1=""
45763 fi
45764
45765 COND_PLATFORM_MSDOS_1="#"
45766 if test "x$PLATFORM_MSDOS" = "x1" ; then
45767 COND_PLATFORM_MSDOS_1=""
45768 fi
45769
45770 COND_PLATFORM_OS2_1="#"
45771 if test "x$PLATFORM_OS2" = "x1" ; then
45772 COND_PLATFORM_OS2_1=""
45773 fi
45774
45775 COND_PLATFORM_UNIX_0="#"
45776 if test "x$PLATFORM_UNIX" = "x0" ; then
45777 COND_PLATFORM_UNIX_0=""
45778 fi
45779
45780 COND_PLATFORM_UNIX_1="#"
45781 if test "x$PLATFORM_UNIX" = "x1" ; then
45782 COND_PLATFORM_UNIX_1=""
45783 fi
45784
45785 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
45786 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45787 COND_PLATFORM_UNIX_1_USE_GUI_1=""
45788 fi
45789
45790 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
45791 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45792 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
45793 fi
45794
45795 COND_PLATFORM_WIN32_0="#"
45796 if test "x$PLATFORM_WIN32" = "x0" ; then
45797 COND_PLATFORM_WIN32_0=""
45798 fi
45799
45800 COND_PLATFORM_WIN32_1="#"
45801 if test "x$PLATFORM_WIN32" = "x1" ; then
45802 COND_PLATFORM_WIN32_1=""
45803 fi
45804
45805 COND_SHARED_0="#"
45806 if test "x$SHARED" = "x0" ; then
45807 COND_SHARED_0=""
45808 fi
45809
45810 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
45811 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45812 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
45813 fi
45814
45815 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
45816 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45817 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
45818 fi
45819
45820 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
45821 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45822 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
45823 fi
45824
45825 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
45826 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45827 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
45828 fi
45829
45830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45831 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45833 fi
45834
45835 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45836 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45838 fi
45839
45840 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45843 fi
45844
45845 COND_SHARED_0_USE_XRC_1="#"
45846 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45847 COND_SHARED_0_USE_XRC_1=""
45848 fi
45849
45850 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
45851 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45852 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
45853 fi
45854
45855 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
45856 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45857 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
45858 fi
45859
45860 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
45861 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45862 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
45863 fi
45864
45865 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
45866 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45867 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
45868 fi
45869
45870 COND_SHARED_1="#"
45871 if test "x$SHARED" = "x1" ; then
45872 COND_SHARED_1=""
45873 fi
45874
45875 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
45876 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45877 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
45878 fi
45879
45880 COND_SHARED_1_USE_XRC_1="#"
45881 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45882 COND_SHARED_1_USE_XRC_1=""
45883 fi
45884
45885 COND_TOOLKIT_="#"
45886 if test "x$TOOLKIT" = "x" ; then
45887 COND_TOOLKIT_=""
45888 fi
45889
45890 COND_TOOLKIT_COCOA="#"
45891 if test "x$TOOLKIT" = "xCOCOA" ; then
45892 COND_TOOLKIT_COCOA=""
45893 fi
45894
45895 COND_TOOLKIT_COCOA_USE_GUI_1="#"
45896 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45897 COND_TOOLKIT_COCOA_USE_GUI_1=""
45898 fi
45899
45900 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
45901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
45903 fi
45904
45905 COND_TOOLKIT_GTK="#"
45906 if test "x$TOOLKIT" = "xGTK" ; then
45907 COND_TOOLKIT_GTK=""
45908 fi
45909
45910 COND_TOOLKIT_GTK_USE_GUI_1="#"
45911 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45912 COND_TOOLKIT_GTK_USE_GUI_1=""
45913 fi
45914
45915 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
45916 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45917 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
45918 fi
45919
45920 COND_TOOLKIT_MAC="#"
45921 if test "x$TOOLKIT" = "xMAC" ; then
45922 COND_TOOLKIT_MAC=""
45923 fi
45924
45925 COND_TOOLKIT_MAC_USE_GUI_1="#"
45926 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45927 COND_TOOLKIT_MAC_USE_GUI_1=""
45928 fi
45929
45930 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45931 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45932 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45933 fi
45934
45935 COND_TOOLKIT_MGL="#"
45936 if test "x$TOOLKIT" = "xMGL" ; then
45937 COND_TOOLKIT_MGL=""
45938 fi
45939
45940 COND_TOOLKIT_MGL_USE_GUI_1="#"
45941 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45942 COND_TOOLKIT_MGL_USE_GUI_1=""
45943 fi
45944
45945 COND_TOOLKIT_MOTIF="#"
45946 if test "x$TOOLKIT" = "xMOTIF" ; then
45947 COND_TOOLKIT_MOTIF=""
45948 fi
45949
45950 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
45951 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45952 COND_TOOLKIT_MOTIF_USE_GUI_1=""
45953 fi
45954
45955 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
45956 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45957 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
45958 fi
45959
45960 COND_TOOLKIT_MSW="#"
45961 if test "x$TOOLKIT" = "xMSW" ; then
45962 COND_TOOLKIT_MSW=""
45963 fi
45964
45965 COND_TOOLKIT_MSW_USE_GUI_1="#"
45966 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45967 COND_TOOLKIT_MSW_USE_GUI_1=""
45968 fi
45969
45970 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
45971 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45972 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
45973 fi
45974
45975 COND_TOOLKIT_MSW_WXUNIV_0="#"
45976 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45977 COND_TOOLKIT_MSW_WXUNIV_0=""
45978 fi
45979
45980 COND_TOOLKIT_PM="#"
45981 if test "x$TOOLKIT" = "xPM" ; then
45982 COND_TOOLKIT_PM=""
45983 fi
45984
45985 COND_TOOLKIT_PM_USE_GUI_1="#"
45986 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45987 COND_TOOLKIT_PM_USE_GUI_1=""
45988 fi
45989
45990 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
45991 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45992 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
45993 fi
45994
45995 COND_TOOLKIT_WINCE="#"
45996 if test "x$TOOLKIT" = "xWINCE" ; then
45997 COND_TOOLKIT_WINCE=""
45998 fi
45999
46000 COND_TOOLKIT_WINCE_USE_GUI_1="#"
46001 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46002 COND_TOOLKIT_WINCE_USE_GUI_1=""
46003 fi
46004
46005 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
46006 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46007 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
46008 fi
46009
46010 COND_TOOLKIT_WINCE_WXUNIV_0="#"
46011 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46012 COND_TOOLKIT_WINCE_WXUNIV_0=""
46013 fi
46014
46015 COND_TOOLKIT_X11="#"
46016 if test "x$TOOLKIT" = "xX11" ; then
46017 COND_TOOLKIT_X11=""
46018 fi
46019
46020 COND_TOOLKIT_X11_USE_GUI_1="#"
46021 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46022 COND_TOOLKIT_X11_USE_GUI_1=""
46023 fi
46024
46025 COND_UNICODE_1="#"
46026 if test "x$UNICODE" = "x1" ; then
46027 COND_UNICODE_1=""
46028 fi
46029
46030 COND_USE_EXCEPTIONS_0="#"
46031 if test "x$USE_EXCEPTIONS" = "x0" ; then
46032 COND_USE_EXCEPTIONS_0=""
46033 fi
46034
46035 COND_USE_EXCEPTIONS_1="#"
46036 if test "x$USE_EXCEPTIONS" = "x1" ; then
46037 COND_USE_EXCEPTIONS_1=""
46038 fi
46039
46040 COND_USE_GUI_0="#"
46041 if test "x$USE_GUI" = "x0" ; then
46042 COND_USE_GUI_0=""
46043 fi
46044
46045 COND_USE_GUI_1="#"
46046 if test "x$USE_GUI" = "x1" ; then
46047 COND_USE_GUI_1=""
46048 fi
46049
46050 COND_USE_GUI_1_WXUNIV_0="#"
46051 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46052 COND_USE_GUI_1_WXUNIV_0=""
46053 fi
46054
46055 COND_USE_GUI_1_WXUNIV_1="#"
46056 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46057 COND_USE_GUI_1_WXUNIV_1=""
46058 fi
46059
46060 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
46061 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46062 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
46063 fi
46064
46065 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
46066 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46067 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
46068 fi
46069
46070 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
46071 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46072 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
46073 fi
46074
46075 COND_USE_ODBC_1="#"
46076 if test "x$USE_ODBC" = "x1" ; then
46077 COND_USE_ODBC_1=""
46078 fi
46079
46080 COND_USE_OPENGL_1="#"
46081 if test "x$USE_OPENGL" = "x1" ; then
46082 COND_USE_OPENGL_1=""
46083 fi
46084
46085 COND_USE_PLUGINS_0="#"
46086 if test "x$USE_PLUGINS" = "x0" ; then
46087 COND_USE_PLUGINS_0=""
46088 fi
46089
46090 COND_USE_RTTI_0="#"
46091 if test "x$USE_RTTI" = "x0" ; then
46092 COND_USE_RTTI_0=""
46093 fi
46094
46095 COND_USE_RTTI_1="#"
46096 if test "x$USE_RTTI" = "x1" ; then
46097 COND_USE_RTTI_1=""
46098 fi
46099
46100 COND_USE_SOSYMLINKS_1="#"
46101 if test "x$USE_SOSYMLINKS" = "x1" ; then
46102 COND_USE_SOSYMLINKS_1=""
46103 fi
46104
46105 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
46106 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46107 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
46108 fi
46109
46110 COND_USE_SOVERLINUX_1="#"
46111 if test "x$USE_SOVERLINUX" = "x1" ; then
46112 COND_USE_SOVERLINUX_1=""
46113 fi
46114
46115 COND_USE_SOVERSION_0="#"
46116 if test "x$USE_SOVERSION" = "x0" ; then
46117 COND_USE_SOVERSION_0=""
46118 fi
46119
46120 COND_USE_SOVERSOLARIS_1="#"
46121 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46122 COND_USE_SOVERSOLARIS_1=""
46123 fi
46124
46125 COND_USE_THREADS_0="#"
46126 if test "x$USE_THREADS" = "x0" ; then
46127 COND_USE_THREADS_0=""
46128 fi
46129
46130 COND_USE_THREADS_1="#"
46131 if test "x$USE_THREADS" = "x1" ; then
46132 COND_USE_THREADS_1=""
46133 fi
46134
46135 COND_USE_XRC_1="#"
46136 if test "x$USE_XRC" = "x1" ; then
46137 COND_USE_XRC_1=""
46138 fi
46139
46140 COND_WINDOWS_IMPLIB_1="#"
46141 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46142 COND_WINDOWS_IMPLIB_1=""
46143 fi
46144
46145 COND_WITH_PLUGIN_SDL_1="#"
46146 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46147 COND_WITH_PLUGIN_SDL_1=""
46148 fi
46149
46150 COND_WXUNIV_0="#"
46151 if test "x$WXUNIV" = "x0" ; then
46152 COND_WXUNIV_0=""
46153 fi
46154
46155 COND_WXUNIV_1="#"
46156 if test "x$WXUNIV" = "x1" ; then
46157 COND_WXUNIV_1=""
46158 fi
46159
46160 COND_WXUSE_EXPAT_BUILTIN="#"
46161 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46162 COND_WXUSE_EXPAT_BUILTIN=""
46163 fi
46164
46165 COND_WXUSE_LIBJPEG_BUILTIN="#"
46166 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46167 COND_WXUSE_LIBJPEG_BUILTIN=""
46168 fi
46169
46170 COND_WXUSE_LIBPNG_BUILTIN="#"
46171 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46172 COND_WXUSE_LIBPNG_BUILTIN=""
46173 fi
46174
46175 COND_WXUSE_LIBTIFF_BUILTIN="#"
46176 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46177 COND_WXUSE_LIBTIFF_BUILTIN=""
46178 fi
46179
46180 COND_WXUSE_ODBC_BUILTIN="#"
46181 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46182 COND_WXUSE_ODBC_BUILTIN=""
46183 fi
46184
46185 COND_WXUSE_REGEX_BUILTIN="#"
46186 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46187 COND_WXUSE_REGEX_BUILTIN=""
46188 fi
46189
46190 COND_WXUSE_ZLIB_BUILTIN="#"
46191 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46192 COND_WXUSE_ZLIB_BUILTIN=""
46193 fi
46194
46195
46196
46197 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46198 { { 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
46199 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;}
46200 { (exit 1); exit 1; }; }
46201 fi
46202
46203 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46204 { { 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
46205 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;}
46206 { (exit 1); exit 1; }; }
46207 fi
46208
46209
46210 if test "$wxUSE_SHARED" = "yes"; then
46211
46212 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
46213 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
46214
46215 case "${host}" in
46216 *-pc-os2_emx | *-pc-os2-emx )
46217 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46218 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46219 cp -p ${srcdir}/src/os2/dllnames.sh .
46220 cp -p ${srcdir}/src/os2/dllar.sh .
46221 ;;
46222 esac
46223 else
46224
46225 EXE_LINKER="$CXX -o"
46226
46227 fi
46228 if test "$wxUSE_OMF" = "yes"; then
46229 case "${host}" in
46230 *-pc-os2_emx | *-pc-os2-emx )
46231 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
46232 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46233 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46234 ;;
46235 esac
46236 fi
46237
46238 if test $GCC_PCH = 1 ; then
46239 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
46240 fi
46241
46242
46243 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
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 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46308 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46309 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46310 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46311 echo $ECHO_N "(cached) $ECHO_C" >&6
46312 else
46313 cat >conftest.make <<\_ACEOF
46314 all:
46315 @echo 'ac_maketemp="$(MAKE)"'
46316 _ACEOF
46317 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46318 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46319 if test -n "$ac_maketemp"; then
46320 eval ac_cv_prog_make_${ac_make}_set=yes
46321 else
46322 eval ac_cv_prog_make_${ac_make}_set=no
46323 fi
46324 rm -f conftest.make
46325 fi
46326 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46327 echo "$as_me:$LINENO: result: yes" >&5
46328 echo "${ECHO_T}yes" >&6
46329 SET_MAKE=
46330 else
46331 echo "$as_me:$LINENO: result: no" >&5
46332 echo "${ECHO_T}no" >&6
46333 SET_MAKE="MAKE=${MAKE-make}"
46334 fi
46335
46336
46337
46338 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46339
46340
46341 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46342
46343
46344 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46345
46346
46347 ac_config_files="$ac_config_files version-script Makefile"
46348
46349
46350 ac_config_commands="$ac_config_commands wx-config
46351 "
46352
46353
46354
46355 if test "$wxWITH_SUBDIRS" != "no"; then
46356 if test "$wxUSE_GUI" = "yes"; then
46357 SUBDIRS="samples demos utils contrib"
46358 else SUBDIRS="samples utils"
46359 fi
46360
46361
46362
46363 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46364 if test "${with_cppunit_prefix+set}" = set; then
46365 withval="$with_cppunit_prefix"
46366 cppunit_config_prefix="$withval"
46367 else
46368 cppunit_config_prefix=""
46369 fi;
46370
46371 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46372 if test "${with_cppunit_exec_prefix+set}" = set; then
46373 withval="$with_cppunit_exec_prefix"
46374 cppunit_config_exec_prefix="$withval"
46375 else
46376 cppunit_config_exec_prefix=""
46377 fi;
46378
46379 if test x$cppunit_config_exec_prefix != x ; then
46380 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46381 if test x${CPPUNIT_CONFIG+set} != xset ; then
46382 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
46383 fi
46384 fi
46385 if test x$cppunit_config_prefix != x ; then
46386 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
46387 if test x${CPPUNIT_CONFIG+set} != xset ; then
46388 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
46389 fi
46390 fi
46391
46392 # Extract the first word of "cppunit-config", so it can be a program name with args.
46393 set dummy cppunit-config; ac_word=$2
46394 echo "$as_me:$LINENO: checking for $ac_word" >&5
46395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46396 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46397 echo $ECHO_N "(cached) $ECHO_C" >&6
46398 else
46399 case $CPPUNIT_CONFIG in
46400 [\\/]* | ?:[\\/]*)
46401 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46402 ;;
46403 *)
46404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46405 for as_dir in $PATH
46406 do
46407 IFS=$as_save_IFS
46408 test -z "$as_dir" && as_dir=.
46409 for ac_exec_ext in '' $ac_executable_extensions; do
46410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46411 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46413 break 2
46414 fi
46415 done
46416 done
46417
46418 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
46419 ;;
46420 esac
46421 fi
46422 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
46423
46424 if test -n "$CPPUNIT_CONFIG"; then
46425 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46426 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46427 else
46428 echo "$as_me:$LINENO: result: no" >&5
46429 echo "${ECHO_T}no" >&6
46430 fi
46431
46432 cppunit_version_min=1.8.0
46433
46434 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46435 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46436 no_cppunit=""
46437 if test "$CPPUNIT_CONFIG" = "no" ; then
46438 no_cppunit=yes
46439 else
46440 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
46441 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
46442 cppunit_version=`$CPPUNIT_CONFIG --version`
46443
46444 cppunit_major_version=`echo $cppunit_version | \
46445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46446 cppunit_minor_version=`echo $cppunit_version | \
46447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46448 cppunit_micro_version=`echo $cppunit_version | \
46449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46450
46451 cppunit_major_min=`echo $cppunit_version_min | \
46452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46453 cppunit_minor_min=`echo $cppunit_version_min | \
46454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46455 cppunit_micro_min=`echo $cppunit_version_min | \
46456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46457
46458 cppunit_version_proper=`expr \
46459 $cppunit_major_version \> $cppunit_major_min \| \
46460 $cppunit_major_version \= $cppunit_major_min \& \
46461 $cppunit_minor_version \> $cppunit_minor_min \| \
46462 $cppunit_major_version \= $cppunit_major_min \& \
46463 $cppunit_minor_version \= $cppunit_minor_min \& \
46464 $cppunit_micro_version \>= $cppunit_micro_min `
46465
46466 if test "$cppunit_version_proper" = "1" ; then
46467 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46468 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46469 else
46470 echo "$as_me:$LINENO: result: no" >&5
46471 echo "${ECHO_T}no" >&6
46472 no_cppunit=yes
46473 fi
46474 fi
46475
46476 if test "x$no_cppunit" = x ; then
46477 SUBDIRS="$SUBDIRS tests"
46478 else
46479 CPPUNIT_CFLAGS=""
46480 CPPUNIT_LIBS=""
46481 :
46482 fi
46483
46484
46485
46486
46487
46488 for subdir in `echo $SUBDIRS`; do
46489 if test -d ${srcdir}/${subdir} ; then
46490 if test "$wxUSE_GUI" = "yes"; then
46491 if test ${subdir} = "samples"; then
46492 makefiles="samples/Makefile.in $makefiles"
46493 for sample in `echo $SAMPLES_SUBDIRS`; do
46494 if test -d $srcdir/samples/$sample; then
46495 makefiles="samples/$sample/Makefile.in $makefiles"
46496 fi
46497 done
46498 else
46499 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
46500 eval "disabled=\$$disabled_var"
46501 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
46502 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46503 fi
46504 else if test ${subdir} = "samples"; then
46505 makefiles="samples/Makefile.in samples/console/Makefile.in"
46506 elif test ${subdir} = "utils"; then
46507 makefiles=""
46508 for util in HelpGen tex2rtf ; do
46509 if test -d $srcdir/utils/$util ; then
46510 makefiles="utils/$util/Makefile.in \
46511 utils/$util/src/Makefile.in \
46512 $makefiles"
46513 fi
46514 done
46515 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
46516 fi
46517 fi
46518
46519 for mkin in $makefiles ; do
46520 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46521 ac_config_files="$ac_config_files $mk"
46522
46523 done
46524 fi
46525 done
46526 fi
46527 cat >confcache <<\_ACEOF
46528 # This file is a shell script that caches the results of configure
46529 # tests run on this system so they can be shared between configure
46530 # scripts and configure runs, see configure's option --config-cache.
46531 # It is not useful on other systems. If it contains results you don't
46532 # want to keep, you may remove or edit it.
46533 #
46534 # config.status only pays attention to the cache file if you give it
46535 # the --recheck option to rerun configure.
46536 #
46537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46539 # following values.
46540
46541 _ACEOF
46542
46543 # The following way of writing the cache mishandles newlines in values,
46544 # but we know of no workaround that is simple, portable, and efficient.
46545 # So, don't put newlines in cache variables' values.
46546 # Ultrix sh set writes to stderr and can't be redirected directly,
46547 # and sets the high bit in the cache file unless we assign to the vars.
46548 {
46549 (set) 2>&1 |
46550 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46551 *ac_space=\ *)
46552 # `set' does not quote correctly, so add quotes (double-quote
46553 # substitution turns \\\\ into \\, and sed turns \\ into \).
46554 sed -n \
46555 "s/'/'\\\\''/g;
46556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46557 ;;
46558 *)
46559 # `set' quotes correctly as required by POSIX, so do not add quotes.
46560 sed -n \
46561 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46562 ;;
46563 esac;
46564 } |
46565 sed '
46566 t clear
46567 : clear
46568 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46569 t end
46570 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46571 : end' >>confcache
46572 if diff $cache_file confcache >/dev/null 2>&1; then :; else
46573 if test -w $cache_file; then
46574 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46575 cat confcache >$cache_file
46576 else
46577 echo "not updating unwritable cache $cache_file"
46578 fi
46579 fi
46580 rm -f confcache
46581
46582 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46583 # Let make expand exec_prefix.
46584 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46585
46586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46588 # trailing colons and then remove the whole line if VPATH becomes empty
46589 # (actually we leave an empty line to preserve line numbers).
46590 if test "x$srcdir" = x.; then
46591 ac_vpsub='/^[ ]*VPATH[ ]*=/{
46592 s/:*\$(srcdir):*/:/;
46593 s/:*\${srcdir}:*/:/;
46594 s/:*@srcdir@:*/:/;
46595 s/^\([^=]*=[ ]*\):*/\1/;
46596 s/:*$//;
46597 s/^[^=]*=[ ]*$//;
46598 }'
46599 fi
46600
46601 DEFS=-DHAVE_CONFIG_H
46602
46603 ac_libobjs=
46604 ac_ltlibobjs=
46605 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46606 # 1. Remove the extension, and $U if already installed.
46607 ac_i=`echo "$ac_i" |
46608 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46609 # 2. Add them.
46610 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
46611 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
46612 done
46613 LIBOBJS=$ac_libobjs
46614
46615 LTLIBOBJS=$ac_ltlibobjs
46616
46617
46618
46619 : ${CONFIG_STATUS=./config.status}
46620 ac_clean_files_save=$ac_clean_files
46621 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
46622 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46623 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46624 cat >$CONFIG_STATUS <<_ACEOF
46625 #! $SHELL
46626 # Generated by $as_me.
46627 # Run this file to recreate the current configuration.
46628 # Compiler output produced by configure, useful for debugging
46629 # configure, is in config.log if it exists.
46630
46631 debug=false
46632 ac_cs_recheck=false
46633 ac_cs_silent=false
46634 SHELL=\${CONFIG_SHELL-$SHELL}
46635 _ACEOF
46636
46637 cat >>$CONFIG_STATUS <<\_ACEOF
46638 ## --------------------- ##
46639 ## M4sh Initialization. ##
46640 ## --------------------- ##
46641
46642 # Be Bourne compatible
46643 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
46644 emulate sh
46645 NULLCMD=:
46646 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46647 # is contrary to our usage. Disable this feature.
46648 alias -g '${1+"$@"}'='"$@"'
46649 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
46650 set -o posix
46651 fi
46652 DUALCASE=1; export DUALCASE # for MKS sh
46653
46654 # Support unset when possible.
46655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
46656 as_unset=unset
46657 else
46658 as_unset=false
46659 fi
46660
46661
46662 # Work around bugs in pre-3.0 UWIN ksh.
46663 $as_unset ENV MAIL MAILPATH
46664 PS1='$ '
46665 PS2='> '
46666 PS4='+ '
46667
46668 # NLS nuisances.
46669 for as_var in \
46670 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46671 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46672 LC_TELEPHONE LC_TIME
46673 do
46674 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46675 eval $as_var=C; export $as_var
46676 else
46677 $as_unset $as_var
46678 fi
46679 done
46680
46681 # Required to use basename.
46682 if expr a : '\(a\)' >/dev/null 2>&1; then
46683 as_expr=expr
46684 else
46685 as_expr=false
46686 fi
46687
46688 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
46689 as_basename=basename
46690 else
46691 as_basename=false
46692 fi
46693
46694
46695 # Name of the executable.
46696 as_me=`$as_basename "$0" ||
46697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46698 X"$0" : 'X\(//\)$' \| \
46699 X"$0" : 'X\(/\)$' \| \
46700 . : '\(.\)' 2>/dev/null ||
46701 echo X/"$0" |
46702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46703 /^X\/\(\/\/\)$/{ s//\1/; q; }
46704 /^X\/\(\/\).*/{ s//\1/; q; }
46705 s/.*/./; q'`
46706
46707
46708 # PATH needs CR, and LINENO needs CR and PATH.
46709 # Avoid depending upon Character Ranges.
46710 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
46711 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46712 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
46713 as_cr_digits='0123456789'
46714 as_cr_alnum=$as_cr_Letters$as_cr_digits
46715
46716 # The user is always right.
46717 if test "${PATH_SEPARATOR+set}" != set; then
46718 echo "#! /bin/sh" >conf$$.sh
46719 echo "exit 0" >>conf$$.sh
46720 chmod +x conf$$.sh
46721 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46722 PATH_SEPARATOR=';'
46723 else
46724 PATH_SEPARATOR=:
46725 fi
46726 rm -f conf$$.sh
46727 fi
46728
46729
46730 as_lineno_1=$LINENO
46731 as_lineno_2=$LINENO
46732 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46733 test "x$as_lineno_1" != "x$as_lineno_2" &&
46734 test "x$as_lineno_3" = "x$as_lineno_2" || {
46735 # Find who we are. Look in the path if we contain no path at all
46736 # relative or not.
46737 case $0 in
46738 *[\\/]* ) as_myself=$0 ;;
46739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46740 for as_dir in $PATH
46741 do
46742 IFS=$as_save_IFS
46743 test -z "$as_dir" && as_dir=.
46744 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46745 done
46746
46747 ;;
46748 esac
46749 # We did not find ourselves, most probably we were run as `sh COMMAND'
46750 # in which case we are not to be found in the path.
46751 if test "x$as_myself" = x; then
46752 as_myself=$0
46753 fi
46754 if test ! -f "$as_myself"; then
46755 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46756 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46757 { (exit 1); exit 1; }; }
46758 fi
46759 case $CONFIG_SHELL in
46760 '')
46761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46762 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
46763 do
46764 IFS=$as_save_IFS
46765 test -z "$as_dir" && as_dir=.
46766 for as_base in sh bash ksh sh5; do
46767 case $as_dir in
46768 /*)
46769 if ("$as_dir/$as_base" -c '
46770 as_lineno_1=$LINENO
46771 as_lineno_2=$LINENO
46772 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46773 test "x$as_lineno_1" != "x$as_lineno_2" &&
46774 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
46775 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
46776 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
46777 CONFIG_SHELL=$as_dir/$as_base
46778 export CONFIG_SHELL
46779 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46780 fi;;
46781 esac
46782 done
46783 done
46784 ;;
46785 esac
46786
46787 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46788 # uniformly replaced by the line number. The first 'sed' inserts a
46789 # line-number line before each line; the second 'sed' does the real
46790 # work. The second script uses 'N' to pair each line-number line
46791 # with the numbered line, and appends trailing '-' during
46792 # substitution so that $LINENO is not a special case at line end.
46793 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46794 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46795 sed '=' <$as_myself |
46796 sed '
46797 N
46798 s,$,-,
46799 : loop
46800 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46801 t loop
46802 s,-$,,
46803 s,^['$as_cr_digits']*\n,,
46804 ' >$as_me.lineno &&
46805 chmod +x $as_me.lineno ||
46806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46808 { (exit 1); exit 1; }; }
46809
46810 # Don't try to exec as it changes $[0], causing all sort of problems
46811 # (the dirname of $[0] is not the place where we might find the
46812 # original and so on. Autoconf is especially sensible to this).
46813 . ./$as_me.lineno
46814 # Exit status is that of the last command.
46815 exit
46816 }
46817
46818
46819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46820 *c*,-n*) ECHO_N= ECHO_C='
46821 ' ECHO_T=' ' ;;
46822 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
46823 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
46824 esac
46825
46826 if expr a : '\(a\)' >/dev/null 2>&1; then
46827 as_expr=expr
46828 else
46829 as_expr=false
46830 fi
46831
46832 rm -f conf$$ conf$$.exe conf$$.file
46833 echo >conf$$.file
46834 if ln -s conf$$.file conf$$ 2>/dev/null; then
46835 # We could just check for DJGPP; but this test a) works b) is more generic
46836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46837 if test -f conf$$.exe; then
46838 # Don't use ln at all; we don't have any links
46839 as_ln_s='cp -p'
46840 else
46841 as_ln_s='ln -s'
46842 fi
46843 elif ln conf$$.file conf$$ 2>/dev/null; then
46844 as_ln_s=ln
46845 else
46846 as_ln_s='cp -p'
46847 fi
46848 rm -f conf$$ conf$$.exe conf$$.file
46849
46850 if mkdir -p . 2>/dev/null; then
46851 as_mkdir_p=:
46852 else
46853 test -d ./-p && rmdir ./-p
46854 as_mkdir_p=false
46855 fi
46856
46857 as_executable_p="test -f"
46858
46859 # Sed expression to map a string onto a valid CPP name.
46860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46861
46862 # Sed expression to map a string onto a valid variable name.
46863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46864
46865
46866 # IFS
46867 # We need space, tab and new line, in precisely that order.
46868 as_nl='
46869 '
46870 IFS=" $as_nl"
46871
46872 # CDPATH.
46873 $as_unset CDPATH
46874
46875 exec 6>&1
46876
46877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46878 # report actual input values of CONFIG_FILES etc. instead of their
46879 # values after options handling. Logging --version etc. is OK.
46880 exec 5>>config.log
46881 {
46882 echo
46883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46884 ## Running $as_me. ##
46885 _ASBOX
46886 } >&5
46887 cat >&5 <<_CSEOF
46888
46889 This file was extended by wxWidgets $as_me 2.7.0, which was
46890 generated by GNU Autoconf 2.59. Invocation command line was
46891
46892 CONFIG_FILES = $CONFIG_FILES
46893 CONFIG_HEADERS = $CONFIG_HEADERS
46894 CONFIG_LINKS = $CONFIG_LINKS
46895 CONFIG_COMMANDS = $CONFIG_COMMANDS
46896 $ $0 $@
46897
46898 _CSEOF
46899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46900 echo >&5
46901 _ACEOF
46902
46903 # Files that config.status was made for.
46904 if test -n "$ac_config_files"; then
46905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46906 fi
46907
46908 if test -n "$ac_config_headers"; then
46909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46910 fi
46911
46912 if test -n "$ac_config_links"; then
46913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46914 fi
46915
46916 if test -n "$ac_config_commands"; then
46917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46918 fi
46919
46920 cat >>$CONFIG_STATUS <<\_ACEOF
46921
46922 ac_cs_usage="\
46923 \`$as_me' instantiates files from templates according to the
46924 current configuration.
46925
46926 Usage: $0 [OPTIONS] [FILE]...
46927
46928 -h, --help print this help, then exit
46929 -V, --version print version number, then exit
46930 -q, --quiet do not print progress messages
46931 -d, --debug don't remove temporary files
46932 --recheck update $as_me by reconfiguring in the same conditions
46933 --file=FILE[:TEMPLATE]
46934 instantiate the configuration file FILE
46935 --header=FILE[:TEMPLATE]
46936 instantiate the configuration header FILE
46937
46938 Configuration files:
46939 $config_files
46940
46941 Configuration headers:
46942 $config_headers
46943
46944 Configuration commands:
46945 $config_commands
46946
46947 Report bugs to <bug-autoconf@gnu.org>."
46948 _ACEOF
46949
46950 cat >>$CONFIG_STATUS <<_ACEOF
46951 ac_cs_version="\\
46952 wxWidgets config.status 2.7.0
46953 configured by $0, generated by GNU Autoconf 2.59,
46954 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46955
46956 Copyright (C) 2003 Free Software Foundation, Inc.
46957 This config.status script is free software; the Free Software Foundation
46958 gives unlimited permission to copy, distribute and modify it."
46959 srcdir=$srcdir
46960 INSTALL="$INSTALL"
46961 _ACEOF
46962
46963 cat >>$CONFIG_STATUS <<\_ACEOF
46964 # If no file are specified by the user, then we need to provide default
46965 # value. By we need to know if files were specified by the user.
46966 ac_need_defaults=:
46967 while test $# != 0
46968 do
46969 case $1 in
46970 --*=*)
46971 ac_option=`expr "x$1" : 'x\([^=]*\)='`
46972 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
46973 ac_shift=:
46974 ;;
46975 -*)
46976 ac_option=$1
46977 ac_optarg=$2
46978 ac_shift=shift
46979 ;;
46980 *) # This is not an option, so the user has probably given explicit
46981 # arguments.
46982 ac_option=$1
46983 ac_need_defaults=false;;
46984 esac
46985
46986 case $ac_option in
46987 # Handling of the options.
46988 _ACEOF
46989 cat >>$CONFIG_STATUS <<\_ACEOF
46990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46991 ac_cs_recheck=: ;;
46992 --version | --vers* | -V )
46993 echo "$ac_cs_version"; exit 0 ;;
46994 --he | --h)
46995 # Conflict between --help and --header
46996 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46997 Try \`$0 --help' for more information." >&5
46998 echo "$as_me: error: ambiguous option: $1
46999 Try \`$0 --help' for more information." >&2;}
47000 { (exit 1); exit 1; }; };;
47001 --help | --hel | -h )
47002 echo "$ac_cs_usage"; exit 0 ;;
47003 --debug | --d* | -d )
47004 debug=: ;;
47005 --file | --fil | --fi | --f )
47006 $ac_shift
47007 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
47008 ac_need_defaults=false;;
47009 --header | --heade | --head | --hea )
47010 $ac_shift
47011 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
47012 ac_need_defaults=false;;
47013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47014 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47015 ac_cs_silent=: ;;
47016
47017 # This is an error.
47018 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47019 Try \`$0 --help' for more information." >&5
47020 echo "$as_me: error: unrecognized option: $1
47021 Try \`$0 --help' for more information." >&2;}
47022 { (exit 1); exit 1; }; } ;;
47023
47024 *) ac_config_targets="$ac_config_targets $1" ;;
47025
47026 esac
47027 shift
47028 done
47029
47030 ac_configure_extra_args=
47031
47032 if $ac_cs_silent; then
47033 exec 6>/dev/null
47034 ac_configure_extra_args="$ac_configure_extra_args --silent"
47035 fi
47036
47037 _ACEOF
47038 cat >>$CONFIG_STATUS <<_ACEOF
47039 if \$ac_cs_recheck; then
47040 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47041 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47042 fi
47043
47044 _ACEOF
47045
47046 cat >>$CONFIG_STATUS <<_ACEOF
47047 #
47048 # INIT-COMMANDS section.
47049 #
47050
47051 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47052 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47053 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47054 LN_S="${LN_S}"
47055
47056
47057 _ACEOF
47058
47059
47060
47061 cat >>$CONFIG_STATUS <<\_ACEOF
47062 for ac_config_target in $ac_config_targets
47063 do
47064 case "$ac_config_target" in
47065 # Handling of arguments.
47066 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47067 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47068 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
47069 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
47070 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
47071 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
47072 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47075 { (exit 1); exit 1; }; };;
47076 esac
47077 done
47078
47079 # If the user did not use the arguments to specify the items to instantiate,
47080 # then the envvar interface is used. Set only those that are not.
47081 # We use the long form for the default assignment because of an extremely
47082 # bizarre bug on SunOS 4.1.3.
47083 if $ac_need_defaults; then
47084 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
47085 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
47086 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
47087 fi
47088
47089 # Have a temporary directory for convenience. Make it in the build tree
47090 # simply because there is no reason to put it here, and in addition,
47091 # creating and moving files from /tmp can sometimes cause problems.
47092 # Create a temporary directory, and hook for its removal unless debugging.
47093 $debug ||
47094 {
47095 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47096 trap '{ (exit 1); exit 1; }' 1 2 13 15
47097 }
47098
47099 # Create a (secure) tmp directory for tmp files.
47100
47101 {
47102 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47103 test -n "$tmp" && test -d "$tmp"
47104 } ||
47105 {
47106 tmp=./confstat$$-$RANDOM
47107 (umask 077 && mkdir $tmp)
47108 } ||
47109 {
47110 echo "$me: cannot create a temporary directory in ." >&2
47111 { (exit 1); exit 1; }
47112 }
47113
47114 _ACEOF
47115
47116 cat >>$CONFIG_STATUS <<_ACEOF
47117
47118 #
47119 # CONFIG_FILES section.
47120 #
47121
47122 # No need to generate the scripts if there are no CONFIG_FILES.
47123 # This happens for instance when ./config.status config.h
47124 if test -n "\$CONFIG_FILES"; then
47125 # Protect against being on the right side of a sed subst in config.status.
47126 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47127 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47128 s,@SHELL@,$SHELL,;t t
47129 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47130 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47131 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47132 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47133 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47134 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47135 s,@exec_prefix@,$exec_prefix,;t t
47136 s,@prefix@,$prefix,;t t
47137 s,@program_transform_name@,$program_transform_name,;t t
47138 s,@bindir@,$bindir,;t t
47139 s,@sbindir@,$sbindir,;t t
47140 s,@libexecdir@,$libexecdir,;t t
47141 s,@datadir@,$datadir,;t t
47142 s,@sysconfdir@,$sysconfdir,;t t
47143 s,@sharedstatedir@,$sharedstatedir,;t t
47144 s,@localstatedir@,$localstatedir,;t t
47145 s,@libdir@,$libdir,;t t
47146 s,@includedir@,$includedir,;t t
47147 s,@oldincludedir@,$oldincludedir,;t t
47148 s,@infodir@,$infodir,;t t
47149 s,@mandir@,$mandir,;t t
47150 s,@build_alias@,$build_alias,;t t
47151 s,@host_alias@,$host_alias,;t t
47152 s,@target_alias@,$target_alias,;t t
47153 s,@DEFS@,$DEFS,;t t
47154 s,@ECHO_C@,$ECHO_C,;t t
47155 s,@ECHO_N@,$ECHO_N,;t t
47156 s,@ECHO_T@,$ECHO_T,;t t
47157 s,@LIBS@,$LIBS,;t t
47158 s,@build@,$build,;t t
47159 s,@build_cpu@,$build_cpu,;t t
47160 s,@build_vendor@,$build_vendor,;t t
47161 s,@build_os@,$build_os,;t t
47162 s,@host@,$host,;t t
47163 s,@host_cpu@,$host_cpu,;t t
47164 s,@host_vendor@,$host_vendor,;t t
47165 s,@host_os@,$host_os,;t t
47166 s,@target@,$target,;t t
47167 s,@target_cpu@,$target_cpu,;t t
47168 s,@target_vendor@,$target_vendor,;t t
47169 s,@target_os@,$target_os,;t t
47170 s,@CC@,$CC,;t t
47171 s,@CFLAGS@,$CFLAGS,;t t
47172 s,@LDFLAGS@,$LDFLAGS,;t t
47173 s,@CPPFLAGS@,$CPPFLAGS,;t t
47174 s,@ac_ct_CC@,$ac_ct_CC,;t t
47175 s,@EXEEXT@,$EXEEXT,;t t
47176 s,@OBJEXT@,$OBJEXT,;t t
47177 s,@CPP@,$CPP,;t t
47178 s,@EGREP@,$EGREP,;t t
47179 s,@CXX@,$CXX,;t t
47180 s,@CXXFLAGS@,$CXXFLAGS,;t t
47181 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47182 s,@RANLIB@,$RANLIB,;t t
47183 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47184 s,@AR@,$AR,;t t
47185 s,@ac_ct_AR@,$ac_ct_AR,;t t
47186 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47187 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47188 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47189 s,@STRIP@,$STRIP,;t t
47190 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47191 s,@RESCOMP@,$RESCOMP,;t t
47192 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47193 s,@DLLTOOL@,$DLLTOOL,;t t
47194 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47195 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47196 s,@LN_S@,$LN_S,;t t
47197 s,@CXXCPP@,$CXXCPP,;t t
47198 s,@subdirs@,$subdirs,;t t
47199 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47200 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47201 s,@GTK_LIBS@,$GTK_LIBS,;t t
47202 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47203 s,@X_CFLAGS@,$X_CFLAGS,;t t
47204 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47205 s,@X_LIBS@,$X_LIBS,;t t
47206 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47207 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47208 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47209 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47210 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47211 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47212 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47213 s,@DEREZ@,$DEREZ,;t t
47214 s,@SETFILE@,$SETFILE,;t t
47215 s,@LIBICONV@,$LIBICONV,;t t
47216 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47217 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47218 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47219 s,@SDL_LIBS@,$SDL_LIBS,;t t
47220 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47221 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47222 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47223 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47224 s,@GST_INSPECT@,$GST_INSPECT,;t t
47225 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47226 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47227 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47228 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47229 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47230 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47231 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47232 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47233 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47234 s,@VENDOR@,$VENDOR,;t t
47235 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47236 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47237 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47238 s,@WXUNIV@,$WXUNIV,;t t
47239 s,@MONOLITHIC@,$MONOLITHIC,;t t
47240 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47241 s,@EXTRALIBS@,$EXTRALIBS,;t t
47242 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47243 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47244 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47245 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47246 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47247 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47248 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47249 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47250 s,@UNICODE@,$UNICODE,;t t
47251 s,@BUILD@,$BUILD,;t t
47252 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47253 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47254 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47255 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47256 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47257 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47258 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47259 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47260 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47261 s,@SET_MAKE@,$SET_MAKE,;t t
47262 s,@MAKE_SET@,$MAKE_SET,;t t
47263 s,@NM@,$NM,;t t
47264 s,@ac_ct_NM@,$ac_ct_NM,;t t
47265 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47266 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47267 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47268 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47269 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47270 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47271 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47272 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47273 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47274 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47275 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47276 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47277 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47278 s,@LIBPREFIX@,$LIBPREFIX,;t t
47279 s,@LIBEXT@,$LIBEXT,;t t
47280 s,@DLLPREFIX@,$DLLPREFIX,;t t
47281 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47282 s,@dlldir@,$dlldir,;t t
47283 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47284 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47285 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47286 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47287 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47288 s,@PIC_FLAG@,$PIC_FLAG,;t t
47289 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47290 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47291 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47292 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47293 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47294 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47295 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47296 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47297 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47298 s,@GCC_PCH@,$GCC_PCH,;t t
47299 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47300 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47301 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47302 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47303 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47304 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47305 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47306 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47307 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47308 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47309 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47310 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47311 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47312 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47313 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47314 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47315 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47316 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47317 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
47318 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
47319 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
47320 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47321 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47322 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47323 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47324 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
47325 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
47326 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
47327 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47328 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47329 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47330 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47331 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47332 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47333 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47334 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47335 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47336 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47337 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47338 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47339 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47340 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47341 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47342 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47343 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
47344 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47345 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47346 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47347 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47348 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47349 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47350 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47351 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47352 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47353 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47354 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47355 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47356 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47357 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47358 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47359 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47360 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47361 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47362 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47363 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47364 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47365 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47366 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47367 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47368 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47369 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47370 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47371 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47372 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47373 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47374 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47375 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47376 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47377 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47378 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47379 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47380 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47381 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47382 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47383 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47384 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47385 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47386 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47387 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47388 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47389 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47390 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47391 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47392 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47393 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47394 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47395 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47396 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47397 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47398 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47399 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47400 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47401 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47402 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47403 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47404 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47405 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47406 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47407 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47408 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47409 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47410 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47411 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47412 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47413 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47414 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47415 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47416 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47417 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47418 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47419 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47420 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47421 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47422 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47423 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47424 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47425 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47426 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47427 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47428 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47429 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47430 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47431 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47432 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47433 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47434 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47435 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47436 s,@SHARED@,$SHARED,;t t
47437 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47438 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47439 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47440 s,@USE_GUI@,$USE_GUI,;t t
47441 s,@AFMINSTALL@,$AFMINSTALL,;t t
47442 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47443 s,@TOOLKIT@,$TOOLKIT,;t t
47444 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47445 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47446 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47447 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47448 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47449 s,@cross_compiling@,$cross_compiling,;t t
47450 s,@WIDGET_SET@,$WIDGET_SET,;t t
47451 s,@WX_RELEASE@,$WX_RELEASE,;t t
47452 s,@WX_VERSION@,$WX_VERSION,;t t
47453 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47454 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47455 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47456 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47457 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47458 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47459 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47460 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47461 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47462 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47463 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47464 s,@EXE_LINKER@,$EXE_LINKER,;t t
47465 s,@GUIDIST@,$GUIDIST,;t t
47466 s,@DISTDIR@,$DISTDIR,;t t
47467 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47468 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47469 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47470 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47471 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47472 s,@RESFLAGS@,$RESFLAGS,;t t
47473 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47474 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47475 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47476 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47477 s,@MACRESCOMP@,$MACRESCOMP,;t t
47478 s,@MACSETFILE@,$MACSETFILE,;t t
47479 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47480 s,@GCC@,$GCC,;t t
47481 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47482 s,@LIBOBJS@,$LIBOBJS,;t t
47483 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47484 CEOF
47485
47486 _ACEOF
47487
47488 cat >>$CONFIG_STATUS <<\_ACEOF
47489 # Split the substitutions into bite-sized pieces for seds with
47490 # small command number limits, like on Digital OSF/1 and HP-UX.
47491 ac_max_sed_lines=48
47492 ac_sed_frag=1 # Number of current file.
47493 ac_beg=1 # First line for current file.
47494 ac_end=$ac_max_sed_lines # Line after last line for current file.
47495 ac_more_lines=:
47496 ac_sed_cmds=
47497 while $ac_more_lines; do
47498 if test $ac_beg -gt 1; then
47499 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47500 else
47501 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47502 fi
47503 if test ! -s $tmp/subs.frag; then
47504 ac_more_lines=false
47505 else
47506 # The purpose of the label and of the branching condition is to
47507 # speed up the sed processing (if there are no `@' at all, there
47508 # is no need to browse any of the substitutions).
47509 # These are the two extra sed commands mentioned above.
47510 (echo ':t
47511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
47512 if test -z "$ac_sed_cmds"; then
47513 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
47514 else
47515 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47516 fi
47517 ac_sed_frag=`expr $ac_sed_frag + 1`
47518 ac_beg=$ac_end
47519 ac_end=`expr $ac_end + $ac_max_sed_lines`
47520 fi
47521 done
47522 if test -z "$ac_sed_cmds"; then
47523 ac_sed_cmds=cat
47524 fi
47525 fi # test -n "$CONFIG_FILES"
47526
47527 _ACEOF
47528 cat >>$CONFIG_STATUS <<\_ACEOF
47529 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
47530 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47531 case $ac_file in
47532 - | *:- | *:-:* ) # input from stdin
47533 cat >$tmp/stdin
47534 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47535 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47536 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47537 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47538 * ) ac_file_in=$ac_file.in ;;
47539 esac
47540
47541 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47542 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47543 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47544 X"$ac_file" : 'X\(//\)[^/]' \| \
47545 X"$ac_file" : 'X\(//\)$' \| \
47546 X"$ac_file" : 'X\(/\)' \| \
47547 . : '\(.\)' 2>/dev/null ||
47548 echo X"$ac_file" |
47549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47550 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47551 /^X\(\/\/\)$/{ s//\1/; q; }
47552 /^X\(\/\).*/{ s//\1/; q; }
47553 s/.*/./; q'`
47554 { if $as_mkdir_p; then
47555 mkdir -p "$ac_dir"
47556 else
47557 as_dir="$ac_dir"
47558 as_dirs=
47559 while test ! -d "$as_dir"; do
47560 as_dirs="$as_dir $as_dirs"
47561 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47563 X"$as_dir" : 'X\(//\)[^/]' \| \
47564 X"$as_dir" : 'X\(//\)$' \| \
47565 X"$as_dir" : 'X\(/\)' \| \
47566 . : '\(.\)' 2>/dev/null ||
47567 echo X"$as_dir" |
47568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47570 /^X\(\/\/\)$/{ s//\1/; q; }
47571 /^X\(\/\).*/{ s//\1/; q; }
47572 s/.*/./; q'`
47573 done
47574 test ! -n "$as_dirs" || mkdir $as_dirs
47575 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47576 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47577 { (exit 1); exit 1; }; }; }
47578
47579 ac_builddir=.
47580
47581 if test "$ac_dir" != .; then
47582 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47583 # A "../" for each directory in $ac_dir_suffix.
47584 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47585 else
47586 ac_dir_suffix= ac_top_builddir=
47587 fi
47588
47589 case $srcdir in
47590 .) # No --srcdir option. We are building in place.
47591 ac_srcdir=.
47592 if test -z "$ac_top_builddir"; then
47593 ac_top_srcdir=.
47594 else
47595 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47596 fi ;;
47597 [\\/]* | ?:[\\/]* ) # Absolute path.
47598 ac_srcdir=$srcdir$ac_dir_suffix;
47599 ac_top_srcdir=$srcdir ;;
47600 *) # Relative path.
47601 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47602 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47603 esac
47604
47605 # Do not use `cd foo && pwd` to compute absolute paths, because
47606 # the directories may not exist.
47607 case `pwd` in
47608 .) ac_abs_builddir="$ac_dir";;
47609 *)
47610 case "$ac_dir" in
47611 .) ac_abs_builddir=`pwd`;;
47612 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47613 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47614 esac;;
47615 esac
47616 case $ac_abs_builddir in
47617 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47618 *)
47619 case ${ac_top_builddir}. in
47620 .) ac_abs_top_builddir=$ac_abs_builddir;;
47621 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47622 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47623 esac;;
47624 esac
47625 case $ac_abs_builddir in
47626 .) ac_abs_srcdir=$ac_srcdir;;
47627 *)
47628 case $ac_srcdir in
47629 .) ac_abs_srcdir=$ac_abs_builddir;;
47630 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47631 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47632 esac;;
47633 esac
47634 case $ac_abs_builddir in
47635 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47636 *)
47637 case $ac_top_srcdir in
47638 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47639 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47640 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47641 esac;;
47642 esac
47643
47644
47645 case $INSTALL in
47646 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
47647 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
47648 esac
47649
47650 # Let's still pretend it is `configure' which instantiates (i.e., don't
47651 # use $as_me), people would be surprised to read:
47652 # /* config.h. Generated by config.status. */
47653 if test x"$ac_file" = x-; then
47654 configure_input=
47655 else
47656 configure_input="$ac_file. "
47657 fi
47658 configure_input=$configure_input"Generated from `echo $ac_file_in |
47659 sed 's,.*/,,'` by configure."
47660
47661 # First look for the input files in the build tree, otherwise in the
47662 # src tree.
47663 ac_file_inputs=`IFS=:
47664 for f in $ac_file_in; do
47665 case $f in
47666 -) echo $tmp/stdin ;;
47667 [\\/$]*)
47668 # Absolute (can't be DOS-style, as IFS=:)
47669 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47670 echo "$as_me: error: cannot find input file: $f" >&2;}
47671 { (exit 1); exit 1; }; }
47672 echo "$f";;
47673 *) # Relative
47674 if test -f "$f"; then
47675 # Build tree
47676 echo "$f"
47677 elif test -f "$srcdir/$f"; then
47678 # Source tree
47679 echo "$srcdir/$f"
47680 else
47681 # /dev/null tree
47682 { { 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 fi;;
47686 esac
47687 done` || { (exit 1); exit 1; }
47688
47689 if test x"$ac_file" != x-; then
47690 { echo "$as_me:$LINENO: creating $ac_file" >&5
47691 echo "$as_me: creating $ac_file" >&6;}
47692 rm -f "$ac_file"
47693 fi
47694 _ACEOF
47695 cat >>$CONFIG_STATUS <<_ACEOF
47696 sed "$ac_vpsub
47697 $extrasub
47698 _ACEOF
47699 cat >>$CONFIG_STATUS <<\_ACEOF
47700 :t
47701 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47702 s,@configure_input@,$configure_input,;t t
47703 s,@srcdir@,$ac_srcdir,;t t
47704 s,@abs_srcdir@,$ac_abs_srcdir,;t t
47705 s,@top_srcdir@,$ac_top_srcdir,;t t
47706 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
47707 s,@builddir@,$ac_builddir,;t t
47708 s,@abs_builddir@,$ac_abs_builddir,;t t
47709 s,@top_builddir@,$ac_top_builddir,;t t
47710 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
47711 s,@INSTALL@,$ac_INSTALL,;t t
47712 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47713 rm -f $tmp/stdin
47714 if test x"$ac_file" != x-; then
47715 mv $tmp/out $ac_file
47716 else
47717 cat $tmp/out
47718 rm -f $tmp/out
47719 fi
47720
47721 # Run the commands associated with the file.
47722 case $ac_file in
47723 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47724 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47725 esac
47726 done
47727 _ACEOF
47728 cat >>$CONFIG_STATUS <<\_ACEOF
47729
47730 #
47731 # CONFIG_HEADER section.
47732 #
47733
47734 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
47735 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47736 #
47737 # ac_d sets the value in "#define NAME VALUE" lines.
47738 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47739 ac_dB='[ ].*$,\1#\2'
47740 ac_dC=' '
47741 ac_dD=',;t'
47742 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47743 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47744 ac_uB='$,\1#\2define\3'
47745 ac_uC=' '
47746 ac_uD=',;t'
47747
47748 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
47749 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47750 case $ac_file in
47751 - | *:- | *:-:* ) # input from stdin
47752 cat >$tmp/stdin
47753 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47754 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47755 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47757 * ) ac_file_in=$ac_file.in ;;
47758 esac
47759
47760 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47761 echo "$as_me: creating $ac_file" >&6;}
47762
47763 # First look for the input files in the build tree, otherwise in the
47764 # src tree.
47765 ac_file_inputs=`IFS=:
47766 for f in $ac_file_in; do
47767 case $f in
47768 -) echo $tmp/stdin ;;
47769 [\\/$]*)
47770 # Absolute (can't be DOS-style, as IFS=:)
47771 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47772 echo "$as_me: error: cannot find input file: $f" >&2;}
47773 { (exit 1); exit 1; }; }
47774 # Do quote $f, to prevent DOS paths from being IFS'd.
47775 echo "$f";;
47776 *) # Relative
47777 if test -f "$f"; then
47778 # Build tree
47779 echo "$f"
47780 elif test -f "$srcdir/$f"; then
47781 # Source tree
47782 echo "$srcdir/$f"
47783 else
47784 # /dev/null tree
47785 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47786 echo "$as_me: error: cannot find input file: $f" >&2;}
47787 { (exit 1); exit 1; }; }
47788 fi;;
47789 esac
47790 done` || { (exit 1); exit 1; }
47791 # Remove the trailing spaces.
47792 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47793
47794 _ACEOF
47795
47796 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47797 # `conftest.undefs', that substitutes the proper values into
47798 # config.h.in to produce config.h. The first handles `#define'
47799 # templates, and the second `#undef' templates.
47800 # And first: Protect against being on the right side of a sed subst in
47801 # config.status. Protect against being in an unquoted here document
47802 # in config.status.
47803 rm -f conftest.defines conftest.undefs
47804 # Using a here document instead of a string reduces the quoting nightmare.
47805 # Putting comments in sed scripts is not portable.
47806 #
47807 # `end' is used to avoid that the second main sed command (meant for
47808 # 0-ary CPP macros) applies to n-ary macro definitions.
47809 # See the Autoconf documentation for `clear'.
47810 cat >confdef2sed.sed <<\_ACEOF
47811 s/[\\&,]/\\&/g
47812 s,[\\$`],\\&,g
47813 t clear
47814 : clear
47815 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47816 t end
47817 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47818 : end
47819 _ACEOF
47820 # If some macros were called several times there might be several times
47821 # the same #defines, which is useless. Nevertheless, we may not want to
47822 # sort them, since we want the *last* AC-DEFINE to be honored.
47823 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47824 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47825 rm -f confdef2sed.sed
47826
47827 # This sed command replaces #undef with comments. This is necessary, for
47828 # example, in the case of _POSIX_SOURCE, which is predefined and required
47829 # on some systems where configure will not decide to define it.
47830 cat >>conftest.undefs <<\_ACEOF
47831 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47832 _ACEOF
47833
47834 # Break up conftest.defines because some shells have a limit on the size
47835 # of here documents, and old seds have small limits too (100 cmds).
47836 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47837 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47838 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47839 echo ' :' >>$CONFIG_STATUS
47840 rm -f conftest.tail
47841 while grep . conftest.defines >/dev/null
47842 do
47843 # Write a limited-size here document to $tmp/defines.sed.
47844 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47845 # Speed up: don't consider the non `#define' lines.
47846 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47847 # Work around the forget-to-reset-the-flag bug.
47848 echo 't clr' >>$CONFIG_STATUS
47849 echo ': clr' >>$CONFIG_STATUS
47850 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
47851 echo 'CEOF
47852 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47853 rm -f $tmp/in
47854 mv $tmp/out $tmp/in
47855 ' >>$CONFIG_STATUS
47856 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
47857 rm -f conftest.defines
47858 mv conftest.tail conftest.defines
47859 done
47860 rm -f conftest.defines
47861 echo ' fi # grep' >>$CONFIG_STATUS
47862 echo >>$CONFIG_STATUS
47863
47864 # Break up conftest.undefs because some shells have a limit on the size
47865 # of here documents, and old seds have small limits too (100 cmds).
47866 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47867 rm -f conftest.tail
47868 while grep . conftest.undefs >/dev/null
47869 do
47870 # Write a limited-size here document to $tmp/undefs.sed.
47871 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47872 # Speed up: don't consider the non `#undef'
47873 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47874 # Work around the forget-to-reset-the-flag bug.
47875 echo 't clr' >>$CONFIG_STATUS
47876 echo ': clr' >>$CONFIG_STATUS
47877 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47878 echo 'CEOF
47879 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47880 rm -f $tmp/in
47881 mv $tmp/out $tmp/in
47882 ' >>$CONFIG_STATUS
47883 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47884 rm -f conftest.undefs
47885 mv conftest.tail conftest.undefs
47886 done
47887 rm -f conftest.undefs
47888
47889 cat >>$CONFIG_STATUS <<\_ACEOF
47890 # Let's still pretend it is `configure' which instantiates (i.e., don't
47891 # use $as_me), people would be surprised to read:
47892 # /* config.h. Generated by config.status. */
47893 if test x"$ac_file" = x-; then
47894 echo "/* Generated by configure. */" >$tmp/config.h
47895 else
47896 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47897 fi
47898 cat $tmp/in >>$tmp/config.h
47899 rm -f $tmp/in
47900 if test x"$ac_file" != x-; then
47901 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
47902 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47903 echo "$as_me: $ac_file is unchanged" >&6;}
47904 else
47905 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47907 X"$ac_file" : 'X\(//\)[^/]' \| \
47908 X"$ac_file" : 'X\(//\)$' \| \
47909 X"$ac_file" : 'X\(/\)' \| \
47910 . : '\(.\)' 2>/dev/null ||
47911 echo X"$ac_file" |
47912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47914 /^X\(\/\/\)$/{ s//\1/; q; }
47915 /^X\(\/\).*/{ s//\1/; q; }
47916 s/.*/./; q'`
47917 { if $as_mkdir_p; then
47918 mkdir -p "$ac_dir"
47919 else
47920 as_dir="$ac_dir"
47921 as_dirs=
47922 while test ! -d "$as_dir"; do
47923 as_dirs="$as_dir $as_dirs"
47924 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47926 X"$as_dir" : 'X\(//\)[^/]' \| \
47927 X"$as_dir" : 'X\(//\)$' \| \
47928 X"$as_dir" : 'X\(/\)' \| \
47929 . : '\(.\)' 2>/dev/null ||
47930 echo X"$as_dir" |
47931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47932 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47933 /^X\(\/\/\)$/{ s//\1/; q; }
47934 /^X\(\/\).*/{ s//\1/; q; }
47935 s/.*/./; q'`
47936 done
47937 test ! -n "$as_dirs" || mkdir $as_dirs
47938 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47939 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47940 { (exit 1); exit 1; }; }; }
47941
47942 rm -f $ac_file
47943 mv $tmp/config.h $ac_file
47944 fi
47945 else
47946 cat $tmp/config.h
47947 rm -f $tmp/config.h
47948 fi
47949 done
47950 _ACEOF
47951 cat >>$CONFIG_STATUS <<\_ACEOF
47952
47953 #
47954 # CONFIG_COMMANDS section.
47955 #
47956 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
47957 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
47958 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
47959 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
47960 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47961 X"$ac_dest" : 'X\(//\)[^/]' \| \
47962 X"$ac_dest" : 'X\(//\)$' \| \
47963 X"$ac_dest" : 'X\(/\)' \| \
47964 . : '\(.\)' 2>/dev/null ||
47965 echo X"$ac_dest" |
47966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47968 /^X\(\/\/\)$/{ s//\1/; q; }
47969 /^X\(\/\).*/{ s//\1/; q; }
47970 s/.*/./; q'`
47971 { if $as_mkdir_p; then
47972 mkdir -p "$ac_dir"
47973 else
47974 as_dir="$ac_dir"
47975 as_dirs=
47976 while test ! -d "$as_dir"; do
47977 as_dirs="$as_dir $as_dirs"
47978 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47980 X"$as_dir" : 'X\(//\)[^/]' \| \
47981 X"$as_dir" : 'X\(//\)$' \| \
47982 X"$as_dir" : 'X\(/\)' \| \
47983 . : '\(.\)' 2>/dev/null ||
47984 echo X"$as_dir" |
47985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47987 /^X\(\/\/\)$/{ s//\1/; q; }
47988 /^X\(\/\).*/{ s//\1/; q; }
47989 s/.*/./; q'`
47990 done
47991 test ! -n "$as_dirs" || mkdir $as_dirs
47992 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47993 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47994 { (exit 1); exit 1; }; }; }
47995
47996 ac_builddir=.
47997
47998 if test "$ac_dir" != .; then
47999 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48000 # A "../" for each directory in $ac_dir_suffix.
48001 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48002 else
48003 ac_dir_suffix= ac_top_builddir=
48004 fi
48005
48006 case $srcdir in
48007 .) # No --srcdir option. We are building in place.
48008 ac_srcdir=.
48009 if test -z "$ac_top_builddir"; then
48010 ac_top_srcdir=.
48011 else
48012 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48013 fi ;;
48014 [\\/]* | ?:[\\/]* ) # Absolute path.
48015 ac_srcdir=$srcdir$ac_dir_suffix;
48016 ac_top_srcdir=$srcdir ;;
48017 *) # Relative path.
48018 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48019 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48020 esac
48021
48022 # Do not use `cd foo && pwd` to compute absolute paths, because
48023 # the directories may not exist.
48024 case `pwd` in
48025 .) ac_abs_builddir="$ac_dir";;
48026 *)
48027 case "$ac_dir" in
48028 .) ac_abs_builddir=`pwd`;;
48029 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48030 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48031 esac;;
48032 esac
48033 case $ac_abs_builddir in
48034 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48035 *)
48036 case ${ac_top_builddir}. in
48037 .) ac_abs_top_builddir=$ac_abs_builddir;;
48038 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48039 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48040 esac;;
48041 esac
48042 case $ac_abs_builddir in
48043 .) ac_abs_srcdir=$ac_srcdir;;
48044 *)
48045 case $ac_srcdir in
48046 .) ac_abs_srcdir=$ac_abs_builddir;;
48047 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48048 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48049 esac;;
48050 esac
48051 case $ac_abs_builddir in
48052 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48053 *)
48054 case $ac_top_srcdir in
48055 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48056 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48057 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48058 esac;;
48059 esac
48060
48061
48062 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48063 echo "$as_me: executing $ac_dest commands" >&6;}
48064 case $ac_dest in
48065 wx-config ) rm -f wx-config
48066 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
48067 ;;
48068 esac
48069 done
48070 _ACEOF
48071
48072 cat >>$CONFIG_STATUS <<\_ACEOF
48073
48074 { (exit 0); exit 0; }
48075 _ACEOF
48076 chmod +x $CONFIG_STATUS
48077 ac_clean_files=$ac_clean_files_save
48078
48079
48080 # configure is writing to config.log, and then calls config.status.
48081 # config.status does its own redirection, appending to config.log.
48082 # Unfortunately, on DOS this fails, as config.log is still kept open
48083 # by configure, so config.status won't be able to write to it; its
48084 # output is simply discarded. So we exec the FD to /dev/null,
48085 # effectively closing config.log, so it can be properly (re)opened and
48086 # appended to by config.status. When coming back to configure, we
48087 # need to make the FD available again.
48088 if test "$no_create" != yes; then
48089 ac_cs_success=:
48090 ac_config_status_args=
48091 test "$silent" = yes &&
48092 ac_config_status_args="$ac_config_status_args --quiet"
48093 exec 5>/dev/null
48094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
48095 exec 5>>config.log
48096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48097 # would make configure fail if this is the last instruction.
48098 $ac_cs_success || { (exit 1); exit 1; }
48099 fi
48100
48101 #
48102 # CONFIG_SUBDIRS section.
48103 #
48104 if test "$no_recursion" != yes; then
48105
48106 # Remove --cache-file and --srcdir arguments so they do not pile up.
48107 ac_sub_configure_args=
48108 ac_prev=
48109 for ac_arg in $ac_configure_args; do
48110 if test -n "$ac_prev"; then
48111 ac_prev=
48112 continue
48113 fi
48114 case $ac_arg in
48115 -cache-file | --cache-file | --cache-fil | --cache-fi \
48116 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48117 ac_prev=cache_file ;;
48118 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48119 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48120 | --c=*)
48121 ;;
48122 --config-cache | -C)
48123 ;;
48124 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48125 ac_prev=srcdir ;;
48126 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48127 ;;
48128 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48129 ac_prev=prefix ;;
48130 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48131 ;;
48132 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
48133 esac
48134 done
48135
48136 # Always prepend --prefix to ensure using the same prefix
48137 # in subdir configurations.
48138 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
48139
48140 ac_popdir=`pwd`
48141 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
48142
48143 # Do not complain, so a configure script can configure whichever
48144 # parts of a large source tree are present.
48145 test -d $srcdir/$ac_dir || continue
48146
48147 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48148 echo "$as_me: configuring in $ac_dir" >&6;}
48149 { if $as_mkdir_p; then
48150 mkdir -p "$ac_dir"
48151 else
48152 as_dir="$ac_dir"
48153 as_dirs=
48154 while test ! -d "$as_dir"; do
48155 as_dirs="$as_dir $as_dirs"
48156 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48158 X"$as_dir" : 'X\(//\)[^/]' \| \
48159 X"$as_dir" : 'X\(//\)$' \| \
48160 X"$as_dir" : 'X\(/\)' \| \
48161 . : '\(.\)' 2>/dev/null ||
48162 echo X"$as_dir" |
48163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48165 /^X\(\/\/\)$/{ s//\1/; q; }
48166 /^X\(\/\).*/{ s//\1/; q; }
48167 s/.*/./; q'`
48168 done
48169 test ! -n "$as_dirs" || mkdir $as_dirs
48170 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48172 { (exit 1); exit 1; }; }; }
48173
48174 ac_builddir=.
48175
48176 if test "$ac_dir" != .; then
48177 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48178 # A "../" for each directory in $ac_dir_suffix.
48179 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48180 else
48181 ac_dir_suffix= ac_top_builddir=
48182 fi
48183
48184 case $srcdir in
48185 .) # No --srcdir option. We are building in place.
48186 ac_srcdir=.
48187 if test -z "$ac_top_builddir"; then
48188 ac_top_srcdir=.
48189 else
48190 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48191 fi ;;
48192 [\\/]* | ?:[\\/]* ) # Absolute path.
48193 ac_srcdir=$srcdir$ac_dir_suffix;
48194 ac_top_srcdir=$srcdir ;;
48195 *) # Relative path.
48196 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48197 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48198 esac
48199
48200 # Do not use `cd foo && pwd` to compute absolute paths, because
48201 # the directories may not exist.
48202 case `pwd` in
48203 .) ac_abs_builddir="$ac_dir";;
48204 *)
48205 case "$ac_dir" in
48206 .) ac_abs_builddir=`pwd`;;
48207 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48208 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48209 esac;;
48210 esac
48211 case $ac_abs_builddir in
48212 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48213 *)
48214 case ${ac_top_builddir}. in
48215 .) ac_abs_top_builddir=$ac_abs_builddir;;
48216 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48217 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48218 esac;;
48219 esac
48220 case $ac_abs_builddir in
48221 .) ac_abs_srcdir=$ac_srcdir;;
48222 *)
48223 case $ac_srcdir in
48224 .) ac_abs_srcdir=$ac_abs_builddir;;
48225 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48226 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48227 esac;;
48228 esac
48229 case $ac_abs_builddir in
48230 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48231 *)
48232 case $ac_top_srcdir in
48233 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48234 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48235 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48236 esac;;
48237 esac
48238
48239
48240 cd $ac_dir
48241
48242 # Check for guested configure; otherwise get Cygnus style configure.
48243 if test -f $ac_srcdir/configure.gnu; then
48244 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
48245 elif test -f $ac_srcdir/configure; then
48246 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
48247 elif test -f $ac_srcdir/configure.in; then
48248 ac_sub_configure=$ac_configure
48249 else
48250 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48251 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48252 ac_sub_configure=
48253 fi
48254
48255 # The recursion is here.
48256 if test -n "$ac_sub_configure"; then
48257 # Make the cache file name correct relative to the subdirectory.
48258 case $cache_file in
48259 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
48260 *) # Relative path.
48261 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
48262 esac
48263
48264 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48265 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48266 # The eval makes quoting arguments work.
48267 eval $ac_sub_configure $ac_sub_configure_args \
48268 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48269 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48270 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48271 { (exit 1); exit 1; }; }
48272 fi
48273
48274 cd "$ac_popdir"
48275 done
48276 fi
48277
48278
48279 echo
48280 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48281 echo ""
48282 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48283 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48284
48285 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48286 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48287 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48288
48289 echo " What level of wxWidgets compatibility should be enabled?"
48290 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
48291 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
48292
48293 echo " Which libraries should wxWidgets use?"
48294 echo " jpeg ${wxUSE_LIBJPEG-none}"
48295 echo " png ${wxUSE_LIBPNG-none}"
48296 echo " regex ${wxUSE_REGEX}"
48297 echo " tiff ${wxUSE_LIBTIFF-none}"
48298 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48299 echo " xpm ${wxUSE_LIBXPM-none}"
48300 fi
48301 echo " zlib ${wxUSE_ZLIB}"
48302 echo " odbc ${wxUSE_ODBC}"
48303 echo " expat ${wxUSE_EXPAT}"
48304 echo " libmspack ${wxUSE_LIBMSPACK}"
48305 echo " sdl ${wxUSE_LIBSDL}"
48306 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
48307
48308 echo ""
48309